sass.dart.js 4.7 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852638536385463855638566385763858638596386063861638626386363864638656386663867638686386963870638716387263873638746387563876638776387863879638806388163882638836388463885638866388763888638896389063891638926389363894638956389663897638986389963900639016390263903639046390563906639076390863909639106391163912639136391463915639166391763918639196392063921639226392363924639256392663927639286392963930639316393263933639346393563936639376393863939639406394163942639436394463945639466394763948639496395063951639526395363954639556395663957639586395963960639616396263963639646396563966639676396863969639706397163972639736397463975639766397763978639796398063981639826398363984639856398663987639886398963990639916399263993639946399563996639976399863999640006400164002640036400464005640066400764008640096401064011640126401364014640156401664017640186401964020640216402264023640246402564026640276402864029640306403164032640336403464035640366403764038640396404064041640426404364044640456404664047640486404964050640516405264053640546405564056640576405864059640606406164062640636406464065640666406764068640696407064071640726407364074640756407664077640786407964080640816408264083640846408564086640876408864089640906409164092640936409464095640966409764098640996410064101641026410364104641056410664107641086410964110641116411264113641146411564116641176411864119641206412164122641236412464125641266412764128641296413064131641326413364134641356413664137641386413964140641416414264143641446414564146641476414864149641506415164152641536415464155641566415764158641596416064161641626416364164641656416664167641686416964170641716417264173641746417564176641776417864179641806418164182641836418464185641866418764188641896419064191641926419364194641956419664197641986419964200642016420264203642046420564206642076420864209642106421164212642136421464215642166421764218642196422064221642226422364224642256422664227642286422964230642316423264233642346423564236642376423864239642406424164242642436424464245642466424764248642496425064251642526425364254642556425664257642586425964260642616426264263642646426564266642676426864269642706427164272642736427464275642766427764278642796428064281642826428364284642856428664287642886428964290642916429264293642946429564296642976429864299643006430164302643036430464305643066430764308643096431064311643126431364314643156431664317643186431964320643216432264323643246432564326643276432864329643306433164332643336433464335643366433764338643396434064341643426434364344643456434664347643486434964350643516435264353643546435564356643576435864359643606436164362643636436464365643666436764368643696437064371643726437364374643756437664377643786437964380643816438264383643846438564386643876438864389643906439164392643936439464395643966439764398643996440064401644026440364404644056440664407644086440964410644116441264413644146441564416644176441864419644206442164422644236442464425644266442764428644296443064431644326443364434644356443664437644386443964440644416444264443644446444564446644476444864449644506445164452644536445464455644566445764458644596446064461644626446364464644656446664467644686446964470644716447264473644746447564476644776447864479644806448164482644836448464485644866448764488644896449064491644926449364494644956449664497644986449964500645016450264503645046450564506645076450864509645106451164512645136451464515645166451764518645196452064521645226452364524645256452664527645286452964530645316453264533645346453564536645376453864539645406454164542645436454464545645466454764548645496455064551645526455364554645556455664557645586455964560645616456264563645646456564566645676456864569645706457164572645736457464575645766457764578645796458064581645826458364584645856458664587645886458964590645916459264593645946459564596645976459864599646006460164602646036460464605646066460764608646096461064611646126461364614646156461664617646186461964620646216462264623646246462564626646276462864629646306463164632646336463464635646366463764638646396464064641646426464364644646456464664647646486464964650646516465264653646546465564656646576465864659646606466164662646636466464665646666466764668646696467064671646726467364674646756467664677646786467964680646816468264683646846468564686646876468864689646906469164692646936469464695646966469764698646996470064701647026470364704647056470664707647086470964710647116471264713647146471564716647176471864719647206472164722647236472464725647266472764728647296473064731647326473364734647356473664737647386473964740647416474264743647446474564746647476474864749647506475164752647536475464755647566475764758647596476064761647626476364764647656476664767647686476964770647716477264773647746477564776647776477864779647806478164782647836478464785647866478764788647896479064791647926479364794647956479664797647986479964800648016480264803648046480564806648076480864809648106481164812648136481464815648166481764818648196482064821648226482364824648256482664827648286482964830648316483264833648346483564836648376483864839648406484164842648436484464845648466484764848648496485064851648526485364854648556485664857648586485964860648616486264863648646486564866648676486864869648706487164872648736487464875648766487764878648796488064881648826488364884648856488664887648886488964890648916489264893648946489564896648976489864899649006490164902649036490464905649066490764908649096491064911649126491364914649156491664917649186491964920649216492264923649246492564926649276492864929649306493164932649336493464935649366493764938649396494064941649426494364944649456494664947649486494964950649516495264953649546495564956649576495864959649606496164962649636496464965649666496764968649696497064971649726497364974649756497664977649786497964980649816498264983649846498564986649876498864989649906499164992649936499464995649966499764998649996500065001650026500365004650056500665007650086500965010650116501265013650146501565016650176501865019650206502165022650236502465025650266502765028650296503065031650326503365034650356503665037650386503965040650416504265043650446504565046650476504865049650506505165052650536505465055650566505765058650596506065061650626506365064650656506665067650686506965070650716507265073650746507565076650776507865079650806508165082650836508465085650866508765088650896509065091650926509365094650956509665097650986509965100651016510265103651046510565106651076510865109651106511165112651136511465115651166511765118651196512065121651226512365124651256512665127651286512965130651316513265133651346513565136651376513865139651406514165142651436514465145651466514765148651496515065151651526515365154651556515665157651586515965160651616516265163651646516565166651676516865169651706517165172651736517465175651766517765178651796518065181651826518365184651856518665187651886518965190651916519265193651946519565196651976519865199652006520165202652036520465205652066520765208652096521065211652126521365214652156521665217652186521965220652216522265223652246522565226652276522865229652306523165232652336523465235652366523765238652396524065241652426524365244652456524665247652486524965250652516525265253652546525565256652576525865259652606526165262652636526465265652666526765268652696527065271652726527365274652756527665277652786527965280652816528265283652846528565286652876528865289652906529165292652936529465295652966529765298652996530065301653026530365304653056530665307653086530965310653116531265313653146531565316653176531865319653206532165322653236532465325653266532765328653296533065331653326533365334653356533665337653386533965340653416534265343653446534565346653476534865349653506535165352653536535465355653566535765358653596536065361653626536365364653656536665367653686536965370653716537265373653746537565376653776537865379653806538165382653836538465385653866538765388653896539065391653926539365394653956539665397653986539965400654016540265403654046540565406654076540865409654106541165412654136541465415654166541765418654196542065421654226542365424654256542665427654286542965430654316543265433654346543565436654376543865439654406544165442654436544465445654466544765448654496545065451654526545365454654556545665457654586545965460654616546265463654646546565466654676546865469654706547165472654736547465475654766547765478654796548065481654826548365484654856548665487654886548965490654916549265493654946549565496654976549865499655006550165502655036550465505655066550765508655096551065511655126551365514655156551665517655186551965520655216552265523655246552565526655276552865529655306553165532655336553465535655366553765538655396554065541655426554365544655456554665547655486554965550655516555265553655546555565556655576555865559655606556165562655636556465565655666556765568655696557065571655726557365574655756557665577655786557965580655816558265583655846558565586655876558865589655906559165592655936559465595655966559765598655996560065601656026560365604656056560665607656086560965610656116561265613656146561565616656176561865619656206562165622656236562465625656266562765628656296563065631656326563365634656356563665637656386563965640656416564265643656446564565646656476564865649656506565165652656536565465655656566565765658656596566065661656626566365664656656566665667656686566965670656716567265673656746567565676656776567865679656806568165682656836568465685656866568765688656896569065691656926569365694656956569665697656986569965700657016570265703657046570565706657076570865709657106571165712657136571465715657166571765718657196572065721657226572365724657256572665727657286572965730657316573265733657346573565736657376573865739657406574165742657436574465745657466574765748657496575065751657526575365754657556575665757657586575965760657616576265763657646576565766657676576865769657706577165772657736577465775657766577765778657796578065781657826578365784657856578665787657886578965790657916579265793657946579565796657976579865799658006580165802658036580465805658066580765808658096581065811658126581365814658156581665817658186581965820658216582265823658246582565826658276582865829658306583165832658336583465835658366583765838658396584065841658426584365844658456584665847658486584965850658516585265853658546585565856658576585865859658606586165862658636586465865658666586765868658696587065871658726587365874658756587665877658786587965880658816588265883658846588565886658876588865889658906589165892658936589465895658966589765898658996590065901659026590365904659056590665907659086590965910659116591265913659146591565916659176591865919659206592165922659236592465925659266592765928659296593065931659326593365934659356593665937659386593965940659416594265943659446594565946659476594865949659506595165952659536595465955659566595765958659596596065961659626596365964659656596665967659686596965970659716597265973659746597565976659776597865979659806598165982659836598465985659866598765988659896599065991659926599365994659956599665997659986599966000660016600266003660046600566006660076600866009660106601166012660136601466015660166601766018660196602066021660226602366024660256602666027660286602966030660316603266033660346603566036660376603866039660406604166042660436604466045660466604766048660496605066051660526605366054660556605666057660586605966060660616606266063660646606566066660676606866069660706607166072660736607466075660766607766078660796608066081660826608366084660856608666087660886608966090660916609266093660946609566096660976609866099661006610166102661036610466105661066610766108661096611066111661126611366114661156611666117661186611966120661216612266123661246612566126661276612866129661306613166132661336613466135661366613766138661396614066141661426614366144661456614666147661486614966150661516615266153661546615566156661576615866159661606616166162661636616466165661666616766168661696617066171661726617366174661756617666177661786617966180661816618266183661846618566186661876618866189661906619166192661936619466195661966619766198661996620066201662026620366204662056620666207662086620966210662116621266213662146621566216662176621866219662206622166222662236622466225662266622766228662296623066231662326623366234662356623666237662386623966240662416624266243662446624566246662476624866249662506625166252662536625466255662566625766258662596626066261662626626366264662656626666267662686626966270662716627266273662746627566276662776627866279662806628166282662836628466285662866628766288662896629066291662926629366294662956629666297662986629966300663016630266303663046630566306663076630866309663106631166312663136631466315663166631766318663196632066321663226632366324663256632666327663286632966330663316633266333663346633566336663376633866339663406634166342663436634466345663466634766348663496635066351663526635366354663556635666357663586635966360663616636266363663646636566366663676636866369663706637166372663736637466375663766637766378663796638066381663826638366384663856638666387663886638966390663916639266393663946639566396663976639866399664006640166402664036640466405664066640766408664096641066411664126641366414664156641666417664186641966420664216642266423664246642566426664276642866429664306643166432664336643466435664366643766438664396644066441664426644366444664456644666447664486644966450664516645266453664546645566456664576645866459664606646166462664636646466465664666646766468664696647066471664726647366474664756647666477664786647966480664816648266483664846648566486664876648866489664906649166492664936649466495664966649766498664996650066501665026650366504665056650666507665086650966510665116651266513665146651566516665176651866519665206652166522665236652466525665266652766528665296653066531665326653366534665356653666537665386653966540665416654266543665446654566546665476654866549665506655166552665536655466555665566655766558665596656066561665626656366564665656656666567665686656966570665716657266573665746657566576665776657866579665806658166582665836658466585665866658766588665896659066591665926659366594665956659666597665986659966600666016660266603666046660566606666076660866609666106661166612666136661466615666166661766618666196662066621666226662366624666256662666627666286662966630666316663266633666346663566636666376663866639666406664166642666436664466645666466664766648666496665066651666526665366654666556665666657666586665966660666616666266663666646666566666666676666866669666706667166672666736667466675666766667766678666796668066681666826668366684666856668666687666886668966690666916669266693666946669566696666976669866699667006670166702667036670466705667066670766708667096671066711667126671366714667156671666717667186671966720667216672266723667246672566726667276672866729667306673166732667336673466735667366673766738667396674066741667426674366744667456674666747667486674966750667516675266753667546675566756667576675866759667606676166762667636676466765667666676766768667696677066771667726677366774667756677666777667786677966780667816678266783667846678566786667876678866789667906679166792667936679466795667966679766798667996680066801668026680366804668056680666807668086680966810668116681266813668146681566816668176681866819668206682166822668236682466825668266682766828668296683066831668326683366834668356683666837668386683966840668416684266843668446684566846668476684866849668506685166852668536685466855668566685766858668596686066861668626686366864668656686666867668686686966870668716687266873668746687566876668776687866879668806688166882668836688466885668866688766888668896689066891668926689366894668956689666897668986689966900669016690266903669046690566906669076690866909669106691166912669136691466915669166691766918669196692066921669226692366924669256692666927669286692966930669316693266933669346693566936669376693866939669406694166942669436694466945669466694766948669496695066951669526695366954669556695666957669586695966960669616696266963669646696566966669676696866969669706697166972669736697466975669766697766978669796698066981669826698366984669856698666987669886698966990669916699266993669946699566996669976699866999670006700167002670036700467005670066700767008670096701067011670126701367014670156701667017670186701967020670216702267023670246702567026670276702867029670306703167032670336703467035670366703767038670396704067041670426704367044670456704667047670486704967050670516705267053670546705567056670576705867059670606706167062670636706467065670666706767068670696707067071670726707367074670756707667077670786707967080670816708267083670846708567086670876708867089670906709167092670936709467095670966709767098670996710067101671026710367104671056710667107671086710967110671116711267113671146711567116671176711867119671206712167122671236712467125671266712767128671296713067131671326713367134671356713667137671386713967140671416714267143671446714567146671476714867149671506715167152671536715467155671566715767158671596716067161671626716367164671656716667167671686716967170671716717267173671746717567176671776717867179671806718167182671836718467185671866718767188671896719067191671926719367194671956719667197671986719967200672016720267203672046720567206672076720867209672106721167212672136721467215672166721767218672196722067221672226722367224672256722667227672286722967230672316723267233672346723567236672376723867239672406724167242672436724467245672466724767248672496725067251672526725367254672556725667257672586725967260672616726267263672646726567266672676726867269672706727167272672736727467275672766727767278672796728067281672826728367284672856728667287672886728967290672916729267293672946729567296672976729867299673006730167302673036730467305673066730767308673096731067311673126731367314673156731667317673186731967320673216732267323673246732567326673276732867329673306733167332673336733467335673366733767338673396734067341673426734367344673456734667347673486734967350673516735267353673546735567356673576735867359673606736167362673636736467365673666736767368673696737067371673726737367374673756737667377673786737967380673816738267383673846738567386673876738867389673906739167392673936739467395673966739767398673996740067401674026740367404674056740667407674086740967410674116741267413674146741567416674176741867419674206742167422674236742467425674266742767428674296743067431674326743367434674356743667437674386743967440674416744267443674446744567446674476744867449674506745167452674536745467455674566745767458674596746067461674626746367464674656746667467674686746967470674716747267473674746747567476674776747867479674806748167482674836748467485674866748767488674896749067491674926749367494674956749667497674986749967500675016750267503675046750567506675076750867509675106751167512675136751467515675166751767518675196752067521675226752367524675256752667527675286752967530675316753267533675346753567536675376753867539675406754167542675436754467545675466754767548675496755067551675526755367554675556755667557675586755967560675616756267563675646756567566675676756867569675706757167572675736757467575675766757767578675796758067581675826758367584675856758667587675886758967590675916759267593675946759567596675976759867599676006760167602676036760467605676066760767608676096761067611676126761367614676156761667617676186761967620676216762267623676246762567626676276762867629676306763167632676336763467635676366763767638676396764067641676426764367644676456764667647676486764967650676516765267653676546765567656676576765867659676606766167662676636766467665676666766767668676696767067671676726767367674676756767667677676786767967680676816768267683676846768567686676876768867689676906769167692676936769467695676966769767698676996770067701677026770367704677056770667707677086770967710677116771267713677146771567716677176771867719677206772167722677236772467725677266772767728677296773067731677326773367734677356773667737677386773967740677416774267743677446774567746677476774867749677506775167752677536775467755677566775767758677596776067761677626776367764677656776667767677686776967770677716777267773677746777567776677776777867779677806778167782677836778467785677866778767788677896779067791677926779367794677956779667797677986779967800678016780267803678046780567806678076780867809678106781167812678136781467815678166781767818678196782067821678226782367824678256782667827678286782967830678316783267833678346783567836678376783867839678406784167842678436784467845678466784767848678496785067851678526785367854678556785667857678586785967860678616786267863678646786567866678676786867869678706787167872678736787467875678766787767878678796788067881678826788367884678856788667887678886788967890678916789267893678946789567896678976789867899679006790167902679036790467905679066790767908679096791067911679126791367914679156791667917679186791967920679216792267923679246792567926679276792867929679306793167932679336793467935679366793767938679396794067941679426794367944679456794667947679486794967950679516795267953679546795567956679576795867959679606796167962679636796467965679666796767968679696797067971679726797367974679756797667977679786797967980679816798267983679846798567986679876798867989679906799167992679936799467995679966799767998679996800068001680026800368004680056800668007680086800968010680116801268013680146801568016680176801868019680206802168022680236802468025680266802768028680296803068031680326803368034680356803668037680386803968040680416804268043680446804568046680476804868049680506805168052680536805468055680566805768058680596806068061680626806368064680656806668067680686806968070680716807268073680746807568076680776807868079680806808168082680836808468085680866808768088680896809068091680926809368094680956809668097680986809968100681016810268103681046810568106681076810868109681106811168112681136811468115681166811768118681196812068121681226812368124681256812668127681286812968130681316813268133681346813568136681376813868139681406814168142681436814468145681466814768148681496815068151681526815368154681556815668157681586815968160681616816268163681646816568166681676816868169681706817168172681736817468175681766817768178681796818068181681826818368184681856818668187681886818968190681916819268193681946819568196681976819868199682006820168202682036820468205682066820768208682096821068211682126821368214682156821668217682186821968220682216822268223682246822568226682276822868229682306823168232682336823468235682366823768238682396824068241682426824368244682456824668247682486824968250682516825268253682546825568256682576825868259682606826168262682636826468265682666826768268682696827068271682726827368274682756827668277682786827968280682816828268283682846828568286682876828868289682906829168292682936829468295682966829768298682996830068301683026830368304683056830668307683086830968310683116831268313683146831568316683176831868319683206832168322683236832468325683266832768328683296833068331683326833368334683356833668337683386833968340683416834268343683446834568346683476834868349683506835168352683536835468355683566835768358683596836068361683626836368364683656836668367683686836968370683716837268373683746837568376683776837868379683806838168382683836838468385683866838768388683896839068391683926839368394683956839668397683986839968400684016840268403684046840568406684076840868409684106841168412684136841468415684166841768418684196842068421684226842368424684256842668427684286842968430684316843268433684346843568436684376843868439684406844168442684436844468445684466844768448684496845068451684526845368454684556845668457684586845968460684616846268463684646846568466684676846868469684706847168472684736847468475684766847768478684796848068481684826848368484684856848668487684886848968490684916849268493684946849568496684976849868499685006850168502685036850468505685066850768508685096851068511685126851368514685156851668517685186851968520685216852268523685246852568526685276852868529685306853168532685336853468535685366853768538685396854068541685426854368544685456854668547685486854968550685516855268553685546855568556685576855868559685606856168562685636856468565685666856768568685696857068571685726857368574685756857668577685786857968580685816858268583685846858568586685876858868589685906859168592685936859468595685966859768598685996860068601686026860368604686056860668607686086860968610686116861268613686146861568616686176861868619686206862168622686236862468625686266862768628686296863068631686326863368634686356863668637686386863968640686416864268643686446864568646686476864868649686506865168652686536865468655686566865768658686596866068661686626866368664686656866668667686686866968670686716867268673686746867568676686776867868679686806868168682686836868468685686866868768688686896869068691686926869368694686956869668697686986869968700687016870268703687046870568706687076870868709687106871168712687136871468715687166871768718687196872068721687226872368724687256872668727687286872968730687316873268733687346873568736687376873868739687406874168742687436874468745687466874768748687496875068751687526875368754687556875668757687586875968760687616876268763687646876568766687676876868769687706877168772687736877468775687766877768778687796878068781687826878368784687856878668787687886878968790687916879268793687946879568796687976879868799688006880168802688036880468805688066880768808688096881068811688126881368814688156881668817688186881968820688216882268823688246882568826688276882868829688306883168832688336883468835688366883768838688396884068841688426884368844688456884668847688486884968850688516885268853688546885568856688576885868859688606886168862688636886468865688666886768868688696887068871688726887368874688756887668877688786887968880688816888268883688846888568886688876888868889688906889168892688936889468895688966889768898688996890068901689026890368904689056890668907689086890968910689116891268913689146891568916689176891868919689206892168922689236892468925689266892768928689296893068931689326893368934689356893668937689386893968940689416894268943689446894568946689476894868949689506895168952689536895468955689566895768958689596896068961689626896368964689656896668967689686896968970689716897268973689746897568976689776897868979689806898168982689836898468985689866898768988689896899068991689926899368994689956899668997689986899969000690016900269003690046900569006690076900869009690106901169012690136901469015690166901769018690196902069021690226902369024690256902669027690286902969030690316903269033690346903569036690376903869039690406904169042690436904469045690466904769048690496905069051690526905369054690556905669057690586905969060690616906269063690646906569066690676906869069690706907169072690736907469075690766907769078690796908069081690826908369084690856908669087690886908969090690916909269093690946909569096690976909869099691006910169102691036910469105691066910769108691096911069111691126911369114691156911669117691186911969120691216912269123691246912569126691276912869129691306913169132691336913469135691366913769138691396914069141691426914369144691456914669147691486914969150691516915269153691546915569156691576915869159691606916169162691636916469165691666916769168691696917069171691726917369174691756917669177691786917969180691816918269183691846918569186691876918869189691906919169192691936919469195691966919769198691996920069201692026920369204692056920669207692086920969210692116921269213692146921569216692176921869219692206922169222692236922469225692266922769228692296923069231692326923369234692356923669237692386923969240692416924269243692446924569246692476924869249692506925169252692536925469255692566925769258692596926069261692626926369264692656926669267692686926969270692716927269273692746927569276692776927869279692806928169282692836928469285692866928769288692896929069291692926929369294692956929669297692986929969300693016930269303693046930569306693076930869309693106931169312693136931469315693166931769318693196932069321693226932369324693256932669327693286932969330693316933269333693346933569336693376933869339693406934169342693436934469345693466934769348693496935069351693526935369354693556935669357693586935969360693616936269363693646936569366693676936869369693706937169372693736937469375693766937769378693796938069381693826938369384693856938669387693886938969390693916939269393693946939569396693976939869399694006940169402694036940469405694066940769408694096941069411694126941369414694156941669417694186941969420694216942269423694246942569426694276942869429694306943169432694336943469435694366943769438694396944069441694426944369444694456944669447694486944969450694516945269453694546945569456694576945869459694606946169462694636946469465694666946769468694696947069471694726947369474694756947669477694786947969480694816948269483694846948569486694876948869489694906949169492694936949469495694966949769498694996950069501695026950369504695056950669507695086950969510695116951269513695146951569516695176951869519695206952169522695236952469525695266952769528695296953069531695326953369534695356953669537695386953969540695416954269543695446954569546695476954869549695506955169552695536955469555695566955769558695596956069561695626956369564695656956669567695686956969570695716957269573695746957569576695776957869579695806958169582695836958469585695866958769588695896959069591695926959369594695956959669597695986959969600696016960269603696046960569606696076960869609696106961169612696136961469615696166961769618696196962069621696226962369624696256962669627696286962969630696316963269633696346963569636696376963869639696406964169642696436964469645696466964769648696496965069651696526965369654696556965669657696586965969660696616966269663696646966569666696676966869669696706967169672696736967469675696766967769678696796968069681696826968369684696856968669687696886968969690696916969269693696946969569696696976969869699697006970169702697036970469705697066970769708697096971069711697126971369714697156971669717697186971969720697216972269723697246972569726697276972869729697306973169732697336973469735697366973769738697396974069741697426974369744697456974669747697486974969750697516975269753697546975569756697576975869759697606976169762697636976469765697666976769768697696977069771697726977369774697756977669777697786977969780697816978269783697846978569786697876978869789697906979169792697936979469795697966979769798697996980069801698026980369804698056980669807698086980969810698116981269813698146981569816698176981869819698206982169822698236982469825698266982769828698296983069831698326983369834698356983669837698386983969840698416984269843698446984569846698476984869849698506985169852698536985469855698566985769858698596986069861698626986369864698656986669867698686986969870698716987269873698746987569876698776987869879698806988169882698836988469885698866988769888698896989069891698926989369894698956989669897698986989969900699016990269903699046990569906699076990869909699106991169912699136991469915699166991769918699196992069921699226992369924699256992669927699286992969930699316993269933699346993569936699376993869939699406994169942699436994469945699466994769948699496995069951699526995369954699556995669957699586995969960699616996269963699646996569966699676996869969699706997169972699736997469975699766997769978699796998069981699826998369984699856998669987699886998969990699916999269993699946999569996699976999869999700007000170002700037000470005700067000770008700097001070011700127001370014700157001670017700187001970020700217002270023700247002570026700277002870029700307003170032700337003470035700367003770038700397004070041700427004370044700457004670047700487004970050700517005270053700547005570056700577005870059700607006170062700637006470065700667006770068700697007070071700727007370074700757007670077700787007970080700817008270083700847008570086700877008870089700907009170092700937009470095700967009770098700997010070101701027010370104701057010670107701087010970110701117011270113701147011570116701177011870119701207012170122701237012470125701267012770128701297013070131701327013370134701357013670137701387013970140701417014270143701447014570146701477014870149701507015170152701537015470155701567015770158701597016070161701627016370164701657016670167701687016970170701717017270173701747017570176701777017870179701807018170182701837018470185701867018770188701897019070191701927019370194701957019670197701987019970200702017020270203702047020570206702077020870209702107021170212702137021470215702167021770218702197022070221702227022370224702257022670227702287022970230702317023270233702347023570236702377023870239702407024170242702437024470245702467024770248702497025070251702527025370254702557025670257702587025970260702617026270263702647026570266702677026870269702707027170272702737027470275702767027770278702797028070281702827028370284702857028670287702887028970290702917029270293702947029570296702977029870299703007030170302703037030470305703067030770308703097031070311703127031370314703157031670317703187031970320703217032270323703247032570326703277032870329703307033170332703337033470335703367033770338703397034070341703427034370344703457034670347703487034970350703517035270353703547035570356703577035870359703607036170362703637036470365703667036770368703697037070371703727037370374703757037670377703787037970380703817038270383703847038570386703877038870389703907039170392703937039470395703967039770398703997040070401704027040370404704057040670407704087040970410704117041270413704147041570416704177041870419704207042170422704237042470425704267042770428704297043070431704327043370434704357043670437704387043970440704417044270443704447044570446704477044870449704507045170452704537045470455704567045770458704597046070461704627046370464704657046670467704687046970470704717047270473704747047570476704777047870479704807048170482704837048470485704867048770488704897049070491704927049370494704957049670497704987049970500705017050270503705047050570506705077050870509705107051170512705137051470515705167051770518705197052070521705227052370524705257052670527705287052970530705317053270533705347053570536705377053870539705407054170542705437054470545705467054770548705497055070551705527055370554705557055670557705587055970560705617056270563705647056570566705677056870569705707057170572705737057470575705767057770578705797058070581705827058370584705857058670587705887058970590705917059270593705947059570596705977059870599706007060170602706037060470605706067060770608706097061070611706127061370614706157061670617706187061970620706217062270623706247062570626706277062870629706307063170632706337063470635706367063770638706397064070641706427064370644706457064670647706487064970650706517065270653706547065570656706577065870659706607066170662706637066470665706667066770668706697067070671706727067370674706757067670677706787067970680706817068270683706847068570686706877068870689706907069170692706937069470695706967069770698706997070070701707027070370704707057070670707707087070970710707117071270713707147071570716707177071870719707207072170722707237072470725707267072770728707297073070731707327073370734707357073670737707387073970740707417074270743707447074570746707477074870749707507075170752707537075470755707567075770758707597076070761707627076370764707657076670767707687076970770707717077270773707747077570776707777077870779707807078170782707837078470785707867078770788707897079070791707927079370794707957079670797707987079970800708017080270803708047080570806708077080870809708107081170812708137081470815708167081770818708197082070821708227082370824708257082670827708287082970830708317083270833708347083570836708377083870839708407084170842708437084470845708467084770848708497085070851708527085370854708557085670857708587085970860708617086270863708647086570866708677086870869708707087170872708737087470875708767087770878708797088070881708827088370884708857088670887708887088970890708917089270893708947089570896708977089870899709007090170902709037090470905709067090770908709097091070911709127091370914709157091670917709187091970920709217092270923709247092570926709277092870929709307093170932709337093470935709367093770938709397094070941709427094370944709457094670947709487094970950709517095270953709547095570956709577095870959709607096170962709637096470965709667096770968709697097070971709727097370974709757097670977709787097970980709817098270983709847098570986709877098870989709907099170992709937099470995709967099770998709997100071001710027100371004710057100671007710087100971010710117101271013710147101571016710177101871019710207102171022710237102471025710267102771028710297103071031710327103371034710357103671037710387103971040710417104271043710447104571046710477104871049710507105171052710537105471055710567105771058710597106071061710627106371064710657106671067710687106971070710717107271073710747107571076710777107871079710807108171082710837108471085710867108771088710897109071091710927109371094710957109671097710987109971100711017110271103711047110571106711077110871109711107111171112711137111471115711167111771118711197112071121711227112371124711257112671127711287112971130711317113271133711347113571136711377113871139711407114171142711437114471145711467114771148711497115071151711527115371154711557115671157711587115971160711617116271163711647116571166711677116871169711707117171172711737117471175711767117771178711797118071181711827118371184711857118671187711887118971190711917119271193711947119571196711977119871199712007120171202712037120471205712067120771208712097121071211712127121371214712157121671217712187121971220712217122271223712247122571226712277122871229712307123171232712337123471235712367123771238712397124071241712427124371244712457124671247712487124971250712517125271253712547125571256712577125871259712607126171262712637126471265712667126771268712697127071271712727127371274712757127671277712787127971280712817128271283712847128571286712877128871289712907129171292712937129471295712967129771298712997130071301713027130371304713057130671307713087130971310713117131271313713147131571316713177131871319713207132171322713237132471325713267132771328713297133071331713327133371334713357133671337713387133971340713417134271343713447134571346713477134871349713507135171352713537135471355713567135771358713597136071361713627136371364713657136671367713687136971370713717137271373713747137571376713777137871379713807138171382713837138471385713867138771388713897139071391713927139371394713957139671397713987139971400714017140271403714047140571406714077140871409714107141171412714137141471415714167141771418714197142071421714227142371424714257142671427714287142971430714317143271433714347143571436714377143871439714407144171442714437144471445714467144771448714497145071451714527145371454714557145671457714587145971460714617146271463714647146571466714677146871469714707147171472714737147471475714767147771478714797148071481714827148371484714857148671487714887148971490714917149271493714947149571496714977149871499715007150171502715037150471505715067150771508715097151071511715127151371514715157151671517715187151971520715217152271523715247152571526715277152871529715307153171532715337153471535715367153771538715397154071541715427154371544715457154671547715487154971550715517155271553715547155571556715577155871559715607156171562715637156471565715667156771568715697157071571715727157371574715757157671577715787157971580715817158271583715847158571586715877158871589715907159171592715937159471595715967159771598715997160071601716027160371604716057160671607716087160971610716117161271613716147161571616716177161871619716207162171622716237162471625716267162771628716297163071631716327163371634716357163671637716387163971640716417164271643716447164571646716477164871649716507165171652716537165471655716567165771658716597166071661716627166371664716657166671667716687166971670716717167271673716747167571676716777167871679716807168171682716837168471685716867168771688716897169071691716927169371694716957169671697716987169971700717017170271703717047170571706717077170871709717107171171712717137171471715717167171771718717197172071721717227172371724717257172671727717287172971730717317173271733717347173571736717377173871739717407174171742717437174471745717467174771748717497175071751717527175371754717557175671757717587175971760717617176271763717647176571766717677176871769717707177171772717737177471775717767177771778717797178071781717827178371784717857178671787717887178971790717917179271793717947179571796717977179871799718007180171802718037180471805718067180771808718097181071811718127181371814718157181671817718187181971820718217182271823718247182571826718277182871829718307183171832718337183471835718367183771838718397184071841718427184371844718457184671847718487184971850718517185271853718547185571856718577185871859718607186171862718637186471865718667186771868718697187071871718727187371874718757187671877718787187971880718817188271883718847188571886718877188871889718907189171892718937189471895718967189771898718997190071901719027190371904719057190671907719087190971910719117191271913719147191571916719177191871919719207192171922719237192471925719267192771928719297193071931719327193371934719357193671937719387193971940719417194271943719447194571946719477194871949719507195171952719537195471955719567195771958719597196071961719627196371964719657196671967719687196971970719717197271973719747197571976719777197871979719807198171982719837198471985719867198771988719897199071991719927199371994719957199671997719987199972000720017200272003720047200572006720077200872009720107201172012720137201472015720167201772018720197202072021720227202372024720257202672027720287202972030720317203272033720347203572036720377203872039720407204172042720437204472045720467204772048720497205072051720527205372054720557205672057720587205972060720617206272063720647206572066720677206872069720707207172072720737207472075720767207772078720797208072081720827208372084720857208672087720887208972090720917209272093720947209572096720977209872099721007210172102721037210472105721067210772108721097211072111721127211372114721157211672117721187211972120721217212272123721247212572126721277212872129721307213172132721337213472135721367213772138721397214072141721427214372144721457214672147721487214972150721517215272153721547215572156721577215872159721607216172162721637216472165721667216772168721697217072171721727217372174721757217672177721787217972180721817218272183721847218572186721877218872189721907219172192721937219472195721967219772198721997220072201722027220372204722057220672207722087220972210722117221272213722147221572216722177221872219722207222172222722237222472225722267222772228722297223072231722327223372234722357223672237722387223972240722417224272243722447224572246722477224872249722507225172252722537225472255722567225772258722597226072261722627226372264722657226672267722687226972270722717227272273722747227572276722777227872279722807228172282722837228472285722867228772288722897229072291722927229372294722957229672297722987229972300723017230272303723047230572306723077230872309723107231172312723137231472315723167231772318723197232072321723227232372324723257232672327723287232972330723317233272333723347233572336723377233872339723407234172342723437234472345723467234772348723497235072351723527235372354723557235672357723587235972360723617236272363723647236572366723677236872369723707237172372723737237472375723767237772378723797238072381723827238372384723857238672387723887238972390723917239272393723947239572396723977239872399724007240172402724037240472405724067240772408724097241072411724127241372414724157241672417724187241972420724217242272423724247242572426724277242872429724307243172432724337243472435724367243772438724397244072441724427244372444724457244672447724487244972450724517245272453724547245572456724577245872459724607246172462724637246472465724667246772468724697247072471724727247372474724757247672477724787247972480724817248272483724847248572486724877248872489724907249172492724937249472495724967249772498724997250072501725027250372504725057250672507725087250972510725117251272513725147251572516725177251872519725207252172522725237252472525725267252772528725297253072531725327253372534725357253672537725387253972540725417254272543725447254572546725477254872549725507255172552725537255472555725567255772558725597256072561725627256372564725657256672567725687256972570725717257272573725747257572576725777257872579725807258172582725837258472585725867258772588725897259072591725927259372594725957259672597725987259972600726017260272603726047260572606726077260872609726107261172612726137261472615726167261772618726197262072621726227262372624726257262672627726287262972630726317263272633726347263572636726377263872639726407264172642726437264472645726467264772648726497265072651726527265372654726557265672657726587265972660726617266272663726647266572666726677266872669726707267172672726737267472675726767267772678726797268072681726827268372684726857268672687726887268972690726917269272693726947269572696726977269872699727007270172702727037270472705727067270772708727097271072711727127271372714727157271672717727187271972720727217272272723727247272572726727277272872729727307273172732727337273472735727367273772738727397274072741727427274372744727457274672747727487274972750727517275272753727547275572756727577275872759727607276172762727637276472765727667276772768727697277072771727727277372774727757277672777727787277972780727817278272783727847278572786727877278872789727907279172792727937279472795727967279772798727997280072801728027280372804728057280672807728087280972810728117281272813728147281572816728177281872819728207282172822728237282472825728267282772828728297283072831728327283372834728357283672837728387283972840728417284272843728447284572846728477284872849728507285172852728537285472855728567285772858728597286072861728627286372864728657286672867728687286972870728717287272873728747287572876728777287872879728807288172882728837288472885728867288772888728897289072891728927289372894728957289672897728987289972900729017290272903729047290572906729077290872909729107291172912729137291472915729167291772918729197292072921729227292372924729257292672927729287292972930729317293272933729347293572936729377293872939729407294172942729437294472945729467294772948729497295072951729527295372954729557295672957729587295972960729617296272963729647296572966729677296872969729707297172972729737297472975729767297772978729797298072981729827298372984729857298672987729887298972990729917299272993729947299572996729977299872999730007300173002730037300473005730067300773008730097301073011730127301373014730157301673017730187301973020730217302273023730247302573026730277302873029730307303173032730337303473035730367303773038730397304073041730427304373044730457304673047730487304973050730517305273053730547305573056730577305873059730607306173062730637306473065730667306773068730697307073071730727307373074730757307673077730787307973080730817308273083730847308573086730877308873089730907309173092730937309473095730967309773098730997310073101731027310373104731057310673107731087310973110731117311273113731147311573116731177311873119731207312173122731237312473125731267312773128731297313073131731327313373134731357313673137731387313973140731417314273143731447314573146731477314873149731507315173152731537315473155731567315773158731597316073161731627316373164731657316673167731687316973170731717317273173731747317573176731777317873179731807318173182731837318473185731867318773188731897319073191731927319373194731957319673197731987319973200732017320273203732047320573206732077320873209732107321173212732137321473215732167321773218732197322073221732227322373224732257322673227732287322973230732317323273233732347323573236732377323873239732407324173242732437324473245732467324773248732497325073251732527325373254732557325673257732587325973260732617326273263732647326573266732677326873269732707327173272732737327473275732767327773278732797328073281732827328373284732857328673287732887328973290732917329273293732947329573296732977329873299733007330173302733037330473305733067330773308733097331073311733127331373314733157331673317733187331973320733217332273323733247332573326733277332873329733307333173332733337333473335733367333773338733397334073341733427334373344733457334673347733487334973350733517335273353733547335573356733577335873359733607336173362733637336473365733667336773368733697337073371733727337373374733757337673377733787337973380733817338273383733847338573386733877338873389733907339173392733937339473395733967339773398733997340073401734027340373404734057340673407734087340973410734117341273413734147341573416734177341873419734207342173422734237342473425734267342773428734297343073431734327343373434734357343673437734387343973440734417344273443734447344573446734477344873449734507345173452734537345473455734567345773458734597346073461734627346373464734657346673467734687346973470734717347273473734747347573476734777347873479734807348173482734837348473485734867348773488734897349073491734927349373494734957349673497734987349973500735017350273503735047350573506735077350873509735107351173512735137351473515735167351773518735197352073521735227352373524735257352673527735287352973530735317353273533735347353573536735377353873539735407354173542735437354473545735467354773548735497355073551735527355373554735557355673557735587355973560735617356273563735647356573566735677356873569735707357173572735737357473575735767357773578735797358073581735827358373584735857358673587735887358973590735917359273593735947359573596735977359873599736007360173602736037360473605736067360773608736097361073611736127361373614736157361673617736187361973620736217362273623736247362573626736277362873629736307363173632736337363473635736367363773638736397364073641736427364373644736457364673647736487364973650736517365273653736547365573656736577365873659736607366173662736637366473665736667366773668736697367073671736727367373674736757367673677736787367973680736817368273683736847368573686736877368873689736907369173692736937369473695736967369773698736997370073701737027370373704737057370673707737087370973710737117371273713737147371573716737177371873719737207372173722737237372473725737267372773728737297373073731737327373373734737357373673737737387373973740737417374273743737447374573746737477374873749737507375173752737537375473755737567375773758737597376073761737627376373764737657376673767737687376973770737717377273773737747377573776737777377873779737807378173782737837378473785737867378773788737897379073791737927379373794737957379673797737987379973800738017380273803738047380573806738077380873809738107381173812738137381473815738167381773818738197382073821738227382373824738257382673827738287382973830738317383273833738347383573836738377383873839738407384173842738437384473845738467384773848738497385073851738527385373854738557385673857738587385973860738617386273863738647386573866738677386873869738707387173872738737387473875738767387773878738797388073881738827388373884738857388673887738887388973890738917389273893738947389573896738977389873899739007390173902739037390473905739067390773908739097391073911739127391373914739157391673917739187391973920739217392273923739247392573926739277392873929739307393173932739337393473935739367393773938739397394073941739427394373944739457394673947739487394973950739517395273953739547395573956739577395873959739607396173962739637396473965739667396773968739697397073971739727397373974739757397673977739787397973980739817398273983739847398573986739877398873989739907399173992739937399473995739967399773998739997400074001740027400374004740057400674007740087400974010740117401274013740147401574016740177401874019740207402174022740237402474025740267402774028740297403074031740327403374034740357403674037740387403974040740417404274043740447404574046740477404874049740507405174052740537405474055740567405774058740597406074061740627406374064740657406674067740687406974070740717407274073740747407574076740777407874079740807408174082740837408474085740867408774088740897409074091740927409374094740957409674097740987409974100741017410274103741047410574106741077410874109741107411174112741137411474115741167411774118741197412074121741227412374124741257412674127741287412974130741317413274133741347413574136741377413874139741407414174142741437414474145741467414774148741497415074151741527415374154741557415674157741587415974160741617416274163741647416574166741677416874169741707417174172741737417474175741767417774178741797418074181741827418374184741857418674187741887418974190741917419274193741947419574196741977419874199742007420174202742037420474205742067420774208742097421074211742127421374214742157421674217742187421974220742217422274223742247422574226742277422874229742307423174232742337423474235742367423774238742397424074241742427424374244742457424674247742487424974250742517425274253742547425574256742577425874259742607426174262742637426474265742667426774268742697427074271742727427374274742757427674277742787427974280742817428274283742847428574286742877428874289742907429174292742937429474295742967429774298742997430074301743027430374304743057430674307743087430974310743117431274313743147431574316743177431874319743207432174322743237432474325743267432774328743297433074331743327433374334743357433674337743387433974340743417434274343743447434574346743477434874349743507435174352743537435474355743567435774358743597436074361743627436374364743657436674367743687436974370743717437274373743747437574376743777437874379743807438174382743837438474385743867438774388743897439074391743927439374394743957439674397743987439974400744017440274403744047440574406744077440874409744107441174412744137441474415744167441774418744197442074421744227442374424744257442674427744287442974430744317443274433744347443574436744377443874439744407444174442744437444474445744467444774448744497445074451744527445374454744557445674457744587445974460744617446274463744647446574466744677446874469744707447174472744737447474475744767447774478744797448074481744827448374484744857448674487744887448974490744917449274493744947449574496744977449874499745007450174502745037450474505745067450774508745097451074511745127451374514745157451674517745187451974520745217452274523745247452574526745277452874529745307453174532745337453474535745367453774538745397454074541745427454374544745457454674547745487454974550745517455274553745547455574556745577455874559745607456174562745637456474565745667456774568745697457074571745727457374574745757457674577745787457974580745817458274583745847458574586745877458874589745907459174592745937459474595745967459774598745997460074601746027460374604746057460674607746087460974610746117461274613746147461574616746177461874619746207462174622746237462474625746267462774628746297463074631746327463374634746357463674637746387463974640746417464274643746447464574646746477464874649746507465174652746537465474655746567465774658746597466074661746627466374664746657466674667746687466974670746717467274673746747467574676746777467874679746807468174682746837468474685746867468774688746897469074691746927469374694746957469674697746987469974700747017470274703747047470574706747077470874709747107471174712747137471474715747167471774718747197472074721747227472374724747257472674727747287472974730747317473274733747347473574736747377473874739747407474174742747437474474745747467474774748747497475074751747527475374754747557475674757747587475974760747617476274763747647476574766747677476874769747707477174772747737477474775747767477774778747797478074781747827478374784747857478674787747887478974790747917479274793747947479574796747977479874799748007480174802748037480474805748067480774808748097481074811748127481374814748157481674817748187481974820748217482274823748247482574826748277482874829748307483174832748337483474835748367483774838748397484074841748427484374844748457484674847748487484974850748517485274853748547485574856748577485874859748607486174862748637486474865748667486774868748697487074871748727487374874748757487674877748787487974880748817488274883748847488574886748877488874889748907489174892748937489474895748967489774898748997490074901749027490374904749057490674907749087490974910749117491274913749147491574916749177491874919749207492174922749237492474925749267492774928749297493074931749327493374934749357493674937749387493974940749417494274943749447494574946749477494874949749507495174952749537495474955749567495774958749597496074961749627496374964749657496674967749687496974970749717497274973749747497574976749777497874979749807498174982749837498474985749867498774988749897499074991749927499374994749957499674997749987499975000750017500275003750047500575006750077500875009750107501175012750137501475015750167501775018750197502075021750227502375024750257502675027750287502975030750317503275033750347503575036750377503875039750407504175042750437504475045750467504775048750497505075051750527505375054750557505675057750587505975060750617506275063750647506575066750677506875069750707507175072750737507475075750767507775078750797508075081750827508375084750857508675087750887508975090750917509275093750947509575096750977509875099751007510175102751037510475105751067510775108751097511075111751127511375114751157511675117751187511975120751217512275123751247512575126751277512875129751307513175132751337513475135751367513775138751397514075141751427514375144751457514675147751487514975150751517515275153751547515575156751577515875159751607516175162751637516475165751667516775168751697517075171751727517375174751757517675177751787517975180751817518275183751847518575186751877518875189751907519175192751937519475195751967519775198751997520075201752027520375204752057520675207752087520975210752117521275213752147521575216752177521875219752207522175222752237522475225752267522775228752297523075231752327523375234752357523675237752387523975240752417524275243752447524575246752477524875249752507525175252752537525475255752567525775258752597526075261752627526375264752657526675267752687526975270752717527275273752747527575276752777527875279752807528175282752837528475285752867528775288752897529075291752927529375294752957529675297752987529975300753017530275303753047530575306753077530875309753107531175312753137531475315753167531775318753197532075321753227532375324753257532675327753287532975330753317533275333753347533575336753377533875339753407534175342753437534475345753467534775348753497535075351753527535375354753557535675357753587535975360753617536275363753647536575366753677536875369753707537175372753737537475375753767537775378753797538075381753827538375384753857538675387753887538975390753917539275393753947539575396753977539875399754007540175402754037540475405754067540775408754097541075411754127541375414754157541675417754187541975420754217542275423754247542575426754277542875429754307543175432754337543475435754367543775438754397544075441754427544375444754457544675447754487544975450754517545275453754547545575456754577545875459754607546175462754637546475465754667546775468754697547075471754727547375474754757547675477754787547975480754817548275483754847548575486754877548875489754907549175492754937549475495754967549775498754997550075501755027550375504755057550675507755087550975510755117551275513755147551575516755177551875519755207552175522755237552475525755267552775528755297553075531755327553375534755357553675537755387553975540755417554275543755447554575546755477554875549755507555175552755537555475555755567555775558755597556075561755627556375564755657556675567755687556975570755717557275573755747557575576755777557875579755807558175582755837558475585755867558775588755897559075591755927559375594755957559675597755987559975600756017560275603756047560575606756077560875609756107561175612756137561475615756167561775618756197562075621756227562375624756257562675627756287562975630756317563275633756347563575636756377563875639756407564175642756437564475645756467564775648756497565075651756527565375654756557565675657756587565975660756617566275663756647566575666756677566875669756707567175672756737567475675756767567775678756797568075681756827568375684756857568675687756887568975690756917569275693756947569575696756977569875699757007570175702757037570475705757067570775708757097571075711757127571375714757157571675717757187571975720757217572275723757247572575726757277572875729757307573175732757337573475735757367573775738757397574075741757427574375744757457574675747757487574975750757517575275753757547575575756757577575875759757607576175762757637576475765757667576775768757697577075771757727577375774757757577675777757787577975780757817578275783757847578575786757877578875789757907579175792757937579475795757967579775798757997580075801758027580375804758057580675807758087580975810758117581275813758147581575816758177581875819758207582175822758237582475825758267582775828758297583075831758327583375834758357583675837758387583975840758417584275843758447584575846758477584875849758507585175852758537585475855758567585775858758597586075861758627586375864758657586675867758687586975870758717587275873758747587575876758777587875879758807588175882758837588475885758867588775888758897589075891758927589375894758957589675897758987589975900759017590275903759047590575906759077590875909759107591175912759137591475915759167591775918759197592075921759227592375924759257592675927759287592975930759317593275933759347593575936759377593875939759407594175942759437594475945759467594775948759497595075951759527595375954759557595675957759587595975960759617596275963759647596575966759677596875969759707597175972759737597475975759767597775978759797598075981759827598375984759857598675987759887598975990759917599275993759947599575996759977599875999760007600176002760037600476005760067600776008760097601076011760127601376014760157601676017760187601976020760217602276023760247602576026760277602876029760307603176032760337603476035760367603776038760397604076041760427604376044760457604676047760487604976050760517605276053760547605576056760577605876059760607606176062760637606476065760667606776068760697607076071760727607376074760757607676077760787607976080760817608276083760847608576086760877608876089760907609176092760937609476095760967609776098760997610076101761027610376104761057610676107761087610976110761117611276113761147611576116761177611876119761207612176122761237612476125761267612776128761297613076131761327613376134761357613676137761387613976140761417614276143761447614576146761477614876149761507615176152761537615476155761567615776158761597616076161761627616376164761657616676167761687616976170761717617276173761747617576176761777617876179761807618176182761837618476185761867618776188761897619076191761927619376194761957619676197761987619976200762017620276203762047620576206762077620876209762107621176212762137621476215762167621776218762197622076221762227622376224762257622676227762287622976230762317623276233762347623576236762377623876239762407624176242762437624476245762467624776248762497625076251762527625376254762557625676257762587625976260762617626276263762647626576266762677626876269762707627176272762737627476275762767627776278762797628076281762827628376284762857628676287762887628976290762917629276293762947629576296762977629876299763007630176302763037630476305763067630776308763097631076311763127631376314763157631676317763187631976320763217632276323763247632576326763277632876329763307633176332763337633476335763367633776338763397634076341763427634376344763457634676347763487634976350763517635276353763547635576356763577635876359763607636176362763637636476365763667636776368763697637076371763727637376374763757637676377763787637976380763817638276383763847638576386763877638876389763907639176392763937639476395763967639776398763997640076401764027640376404764057640676407764087640976410764117641276413764147641576416764177641876419764207642176422764237642476425764267642776428764297643076431764327643376434764357643676437764387643976440764417644276443764447644576446764477644876449764507645176452764537645476455764567645776458764597646076461764627646376464764657646676467764687646976470764717647276473764747647576476764777647876479764807648176482764837648476485764867648776488764897649076491764927649376494764957649676497764987649976500765017650276503765047650576506765077650876509765107651176512765137651476515765167651776518765197652076521765227652376524765257652676527765287652976530765317653276533765347653576536765377653876539765407654176542765437654476545765467654776548765497655076551765527655376554765557655676557765587655976560765617656276563765647656576566765677656876569765707657176572765737657476575765767657776578765797658076581765827658376584765857658676587765887658976590765917659276593765947659576596765977659876599766007660176602766037660476605766067660776608766097661076611766127661376614766157661676617766187661976620766217662276623766247662576626766277662876629766307663176632766337663476635766367663776638766397664076641766427664376644766457664676647766487664976650766517665276653766547665576656766577665876659766607666176662766637666476665766667666776668766697667076671766727667376674766757667676677766787667976680766817668276683766847668576686766877668876689766907669176692766937669476695766967669776698766997670076701767027670376704767057670676707767087670976710767117671276713767147671576716767177671876719767207672176722767237672476725767267672776728767297673076731767327673376734767357673676737767387673976740767417674276743767447674576746767477674876749767507675176752767537675476755767567675776758767597676076761767627676376764767657676676767767687676976770767717677276773767747677576776767777677876779767807678176782767837678476785767867678776788767897679076791767927679376794767957679676797767987679976800768017680276803768047680576806768077680876809768107681176812768137681476815768167681776818768197682076821768227682376824768257682676827768287682976830768317683276833768347683576836768377683876839768407684176842768437684476845768467684776848768497685076851768527685376854768557685676857768587685976860768617686276863768647686576866768677686876869768707687176872768737687476875768767687776878768797688076881768827688376884768857688676887768887688976890768917689276893768947689576896768977689876899769007690176902769037690476905769067690776908769097691076911769127691376914769157691676917769187691976920769217692276923769247692576926769277692876929769307693176932769337693476935769367693776938769397694076941769427694376944769457694676947769487694976950769517695276953769547695576956769577695876959769607696176962769637696476965769667696776968769697697076971769727697376974769757697676977769787697976980769817698276983769847698576986769877698876989769907699176992769937699476995769967699776998769997700077001770027700377004770057700677007770087700977010770117701277013770147701577016770177701877019770207702177022770237702477025770267702777028770297703077031770327703377034770357703677037770387703977040770417704277043770447704577046770477704877049770507705177052770537705477055770567705777058770597706077061770627706377064770657706677067770687706977070770717707277073770747707577076770777707877079770807708177082770837708477085770867708777088770897709077091770927709377094770957709677097770987709977100771017710277103771047710577106771077710877109771107711177112771137711477115771167711777118771197712077121771227712377124771257712677127771287712977130771317713277133771347713577136771377713877139771407714177142771437714477145771467714777148771497715077151771527715377154771557715677157771587715977160771617716277163771647716577166771677716877169771707717177172771737717477175771767717777178771797718077181771827718377184771857718677187771887718977190771917719277193771947719577196771977719877199772007720177202772037720477205772067720777208772097721077211772127721377214772157721677217772187721977220772217722277223772247722577226772277722877229772307723177232772337723477235772367723777238772397724077241772427724377244772457724677247772487724977250772517725277253772547725577256772577725877259772607726177262772637726477265772667726777268772697727077271772727727377274772757727677277772787727977280772817728277283772847728577286772877728877289772907729177292772937729477295772967729777298772997730077301773027730377304773057730677307773087730977310773117731277313773147731577316773177731877319773207732177322773237732477325773267732777328773297733077331773327733377334773357733677337773387733977340773417734277343773447734577346773477734877349773507735177352773537735477355773567735777358773597736077361773627736377364773657736677367773687736977370773717737277373773747737577376773777737877379773807738177382773837738477385773867738777388773897739077391773927739377394773957739677397773987739977400774017740277403774047740577406774077740877409774107741177412774137741477415774167741777418774197742077421774227742377424774257742677427774287742977430774317743277433774347743577436774377743877439774407744177442774437744477445774467744777448774497745077451774527745377454774557745677457774587745977460774617746277463774647746577466774677746877469774707747177472774737747477475774767747777478774797748077481774827748377484774857748677487774887748977490774917749277493774947749577496774977749877499775007750177502775037750477505775067750777508775097751077511775127751377514775157751677517775187751977520775217752277523775247752577526775277752877529775307753177532775337753477535775367753777538775397754077541775427754377544775457754677547775487754977550775517755277553775547755577556775577755877559775607756177562775637756477565775667756777568775697757077571775727757377574775757757677577775787757977580775817758277583775847758577586775877758877589775907759177592775937759477595775967759777598775997760077601776027760377604776057760677607776087760977610776117761277613776147761577616776177761877619776207762177622776237762477625776267762777628776297763077631776327763377634776357763677637776387763977640776417764277643776447764577646776477764877649776507765177652776537765477655776567765777658776597766077661776627766377664776657766677667776687766977670776717767277673776747767577676776777767877679776807768177682776837768477685776867768777688776897769077691776927769377694776957769677697776987769977700777017770277703777047770577706777077770877709777107771177712777137771477715777167771777718777197772077721777227772377724777257772677727777287772977730777317773277733777347773577736777377773877739777407774177742777437774477745777467774777748777497775077751777527775377754777557775677757777587775977760777617776277763777647776577766777677776877769777707777177772777737777477775777767777777778777797778077781777827778377784777857778677787777887778977790777917779277793777947779577796777977779877799778007780177802778037780477805778067780777808778097781077811778127781377814778157781677817778187781977820778217782277823778247782577826778277782877829778307783177832778337783477835778367783777838778397784077841778427784377844778457784677847778487784977850778517785277853778547785577856778577785877859778607786177862778637786477865778667786777868778697787077871778727787377874778757787677877778787787977880778817788277883778847788577886778877788877889778907789177892778937789477895778967789777898778997790077901779027790377904779057790677907779087790977910779117791277913779147791577916779177791877919779207792177922779237792477925779267792777928779297793077931779327793377934779357793677937779387793977940779417794277943779447794577946779477794877949779507795177952779537795477955779567795777958779597796077961779627796377964779657796677967779687796977970779717797277973779747797577976779777797877979779807798177982779837798477985779867798777988779897799077991779927799377994779957799677997779987799978000780017800278003780047800578006780077800878009780107801178012780137801478015780167801778018780197802078021780227802378024780257802678027780287802978030780317803278033780347803578036780377803878039780407804178042780437804478045780467804778048780497805078051780527805378054780557805678057780587805978060780617806278063780647806578066780677806878069780707807178072780737807478075780767807778078780797808078081780827808378084780857808678087780887808978090780917809278093780947809578096780977809878099781007810178102781037810478105781067810778108781097811078111781127811378114781157811678117781187811978120781217812278123781247812578126781277812878129781307813178132781337813478135781367813778138781397814078141781427814378144781457814678147781487814978150781517815278153781547815578156781577815878159781607816178162781637816478165781667816778168781697817078171781727817378174781757817678177781787817978180781817818278183781847818578186781877818878189781907819178192781937819478195781967819778198781997820078201782027820378204782057820678207782087820978210782117821278213782147821578216782177821878219782207822178222782237822478225782267822778228782297823078231782327823378234782357823678237782387823978240782417824278243782447824578246782477824878249782507825178252782537825478255782567825778258782597826078261782627826378264782657826678267782687826978270782717827278273782747827578276782777827878279782807828178282782837828478285782867828778288782897829078291782927829378294782957829678297782987829978300783017830278303783047830578306783077830878309783107831178312783137831478315783167831778318783197832078321783227832378324783257832678327783287832978330783317833278333783347833578336783377833878339783407834178342783437834478345783467834778348783497835078351783527835378354783557835678357783587835978360783617836278363783647836578366783677836878369783707837178372783737837478375783767837778378783797838078381783827838378384783857838678387783887838978390783917839278393783947839578396783977839878399784007840178402784037840478405784067840778408784097841078411784127841378414784157841678417784187841978420784217842278423784247842578426784277842878429784307843178432784337843478435784367843778438784397844078441784427844378444784457844678447784487844978450784517845278453784547845578456784577845878459784607846178462784637846478465784667846778468784697847078471784727847378474784757847678477784787847978480784817848278483784847848578486784877848878489784907849178492784937849478495784967849778498784997850078501785027850378504785057850678507785087850978510785117851278513785147851578516785177851878519785207852178522785237852478525785267852778528785297853078531785327853378534785357853678537785387853978540785417854278543785447854578546785477854878549785507855178552785537855478555785567855778558785597856078561785627856378564785657856678567785687856978570785717857278573785747857578576785777857878579785807858178582785837858478585785867858778588785897859078591785927859378594785957859678597785987859978600786017860278603786047860578606786077860878609786107861178612786137861478615786167861778618786197862078621786227862378624786257862678627786287862978630786317863278633786347863578636786377863878639786407864178642786437864478645786467864778648786497865078651786527865378654786557865678657786587865978660786617866278663786647866578666786677866878669786707867178672786737867478675786767867778678786797868078681786827868378684786857868678687786887868978690786917869278693786947869578696786977869878699787007870178702787037870478705787067870778708787097871078711787127871378714787157871678717787187871978720787217872278723787247872578726787277872878729787307873178732787337873478735787367873778738787397874078741787427874378744787457874678747787487874978750787517875278753787547875578756787577875878759787607876178762787637876478765787667876778768787697877078771787727877378774787757877678777787787877978780787817878278783787847878578786787877878878789787907879178792787937879478795787967879778798787997880078801788027880378804788057880678807788087880978810788117881278813788147881578816788177881878819788207882178822788237882478825788267882778828788297883078831788327883378834788357883678837788387883978840788417884278843788447884578846788477884878849788507885178852788537885478855788567885778858788597886078861788627886378864788657886678867788687886978870788717887278873788747887578876788777887878879788807888178882788837888478885788867888778888788897889078891788927889378894788957889678897788987889978900789017890278903789047890578906789077890878909789107891178912789137891478915789167891778918789197892078921789227892378924789257892678927789287892978930789317893278933789347893578936789377893878939789407894178942789437894478945789467894778948789497895078951789527895378954789557895678957789587895978960789617896278963789647896578966789677896878969789707897178972789737897478975789767897778978789797898078981789827898378984789857898678987789887898978990789917899278993789947899578996789977899878999790007900179002790037900479005790067900779008790097901079011790127901379014790157901679017790187901979020790217902279023790247902579026790277902879029790307903179032790337903479035790367903779038790397904079041790427904379044790457904679047790487904979050790517905279053790547905579056790577905879059790607906179062790637906479065790667906779068790697907079071790727907379074790757907679077790787907979080790817908279083790847908579086790877908879089790907909179092790937909479095790967909779098790997910079101791027910379104791057910679107791087910979110791117911279113791147911579116791177911879119791207912179122791237912479125791267912779128791297913079131791327913379134791357913679137791387913979140791417914279143791447914579146791477914879149791507915179152791537915479155791567915779158791597916079161791627916379164791657916679167791687916979170791717917279173791747917579176791777917879179791807918179182791837918479185791867918779188791897919079191791927919379194791957919679197791987919979200792017920279203792047920579206792077920879209792107921179212792137921479215792167921779218792197922079221792227922379224792257922679227792287922979230792317923279233792347923579236792377923879239792407924179242792437924479245792467924779248792497925079251792527925379254792557925679257792587925979260792617926279263792647926579266792677926879269792707927179272792737927479275792767927779278792797928079281792827928379284792857928679287792887928979290792917929279293792947929579296792977929879299793007930179302793037930479305793067930779308793097931079311793127931379314793157931679317793187931979320793217932279323793247932579326793277932879329793307933179332793337933479335793367933779338793397934079341793427934379344793457934679347793487934979350793517935279353793547935579356793577935879359793607936179362793637936479365793667936779368793697937079371793727937379374793757937679377793787937979380793817938279383793847938579386793877938879389793907939179392793937939479395793967939779398793997940079401794027940379404794057940679407794087940979410794117941279413794147941579416794177941879419794207942179422794237942479425794267942779428794297943079431794327943379434794357943679437794387943979440794417944279443794447944579446794477944879449794507945179452794537945479455794567945779458794597946079461794627946379464794657946679467794687946979470794717947279473794747947579476794777947879479794807948179482794837948479485794867948779488794897949079491794927949379494794957949679497794987949979500795017950279503795047950579506795077950879509795107951179512795137951479515795167951779518795197952079521795227952379524795257952679527795287952979530795317953279533795347953579536795377953879539795407954179542795437954479545795467954779548795497955079551795527955379554795557955679557795587955979560795617956279563795647956579566795677956879569795707957179572795737957479575795767957779578795797958079581795827958379584795857958679587795887958979590795917959279593795947959579596795977959879599796007960179602796037960479605796067960779608796097961079611796127961379614796157961679617796187961979620796217962279623796247962579626796277962879629796307963179632796337963479635796367963779638796397964079641796427964379644796457964679647796487964979650796517965279653796547965579656796577965879659796607966179662796637966479665796667966779668796697967079671796727967379674796757967679677796787967979680796817968279683796847968579686796877968879689796907969179692796937969479695796967969779698796997970079701797027970379704797057970679707797087970979710797117971279713797147971579716797177971879719797207972179722797237972479725797267972779728797297973079731797327973379734797357973679737797387973979740797417974279743797447974579746797477974879749797507975179752797537975479755797567975779758797597976079761797627976379764797657976679767797687976979770797717977279773797747977579776797777977879779797807978179782797837978479785797867978779788797897979079791797927979379794797957979679797797987979979800798017980279803798047980579806798077980879809798107981179812798137981479815798167981779818798197982079821798227982379824798257982679827798287982979830798317983279833798347983579836798377983879839798407984179842798437984479845798467984779848798497985079851798527985379854798557985679857798587985979860798617986279863798647986579866798677986879869798707987179872798737987479875798767987779878798797988079881798827988379884798857988679887798887988979890798917989279893798947989579896798977989879899799007990179902799037990479905799067990779908799097991079911799127991379914799157991679917799187991979920799217992279923799247992579926799277992879929799307993179932799337993479935799367993779938799397994079941799427994379944799457994679947799487994979950799517995279953799547995579956799577995879959799607996179962799637996479965799667996779968799697997079971799727997379974799757997679977799787997979980799817998279983799847998579986799877998879989799907999179992799937999479995799967999779998799998000080001800028000380004800058000680007800088000980010800118001280013800148001580016800178001880019800208002180022800238002480025800268002780028800298003080031800328003380034800358003680037800388003980040800418004280043800448004580046800478004880049800508005180052800538005480055800568005780058800598006080061800628006380064800658006680067800688006980070800718007280073800748007580076800778007880079800808008180082800838008480085800868008780088800898009080091800928009380094800958009680097800988009980100801018010280103801048010580106801078010880109801108011180112801138011480115801168011780118801198012080121801228012380124801258012680127801288012980130801318013280133801348013580136801378013880139801408014180142801438014480145801468014780148801498015080151801528015380154801558015680157801588015980160801618016280163801648016580166801678016880169801708017180172801738017480175801768017780178801798018080181801828018380184801858018680187801888018980190801918019280193801948019580196801978019880199802008020180202802038020480205802068020780208802098021080211802128021380214802158021680217802188021980220802218022280223802248022580226802278022880229802308023180232802338023480235802368023780238802398024080241802428024380244802458024680247802488024980250802518025280253802548025580256802578025880259802608026180262802638026480265802668026780268802698027080271802728027380274802758027680277802788027980280802818028280283802848028580286802878028880289802908029180292802938029480295802968029780298802998030080301803028030380304803058030680307803088030980310803118031280313803148031580316803178031880319803208032180322803238032480325803268032780328803298033080331803328033380334803358033680337803388033980340803418034280343803448034580346803478034880349803508035180352803538035480355803568035780358803598036080361803628036380364803658036680367803688036980370803718037280373803748037580376803778037880379803808038180382803838038480385803868038780388803898039080391803928039380394803958039680397803988039980400804018040280403804048040580406804078040880409804108041180412804138041480415804168041780418804198042080421804228042380424804258042680427804288042980430804318043280433804348043580436804378043880439804408044180442804438044480445804468044780448804498045080451804528045380454804558045680457804588045980460804618046280463804648046580466804678046880469804708047180472804738047480475804768047780478804798048080481804828048380484804858048680487804888048980490804918049280493804948049580496804978049880499805008050180502805038050480505805068050780508805098051080511805128051380514805158051680517805188051980520805218052280523805248052580526805278052880529805308053180532805338053480535805368053780538805398054080541805428054380544805458054680547805488054980550805518055280553805548055580556805578055880559805608056180562805638056480565805668056780568805698057080571805728057380574805758057680577805788057980580805818058280583805848058580586805878058880589805908059180592805938059480595805968059780598805998060080601806028060380604806058060680607806088060980610806118061280613806148061580616806178061880619806208062180622806238062480625806268062780628806298063080631806328063380634806358063680637806388063980640806418064280643806448064580646806478064880649806508065180652806538065480655806568065780658806598066080661806628066380664806658066680667806688066980670806718067280673806748067580676806778067880679806808068180682806838068480685806868068780688806898069080691806928069380694806958069680697806988069980700807018070280703807048070580706807078070880709807108071180712807138071480715807168071780718807198072080721807228072380724807258072680727807288072980730807318073280733807348073580736807378073880739807408074180742807438074480745807468074780748807498075080751807528075380754807558075680757807588075980760807618076280763807648076580766807678076880769807708077180772807738077480775807768077780778807798078080781807828078380784807858078680787807888078980790807918079280793807948079580796807978079880799808008080180802808038080480805808068080780808808098081080811808128081380814808158081680817808188081980820808218082280823808248082580826808278082880829808308083180832808338083480835808368083780838808398084080841808428084380844808458084680847808488084980850808518085280853808548085580856808578085880859808608086180862808638086480865808668086780868808698087080871808728087380874808758087680877808788087980880808818088280883808848088580886808878088880889808908089180892808938089480895808968089780898808998090080901809028090380904809058090680907809088090980910809118091280913809148091580916809178091880919809208092180922809238092480925809268092780928809298093080931809328093380934809358093680937809388093980940809418094280943809448094580946809478094880949809508095180952809538095480955809568095780958809598096080961809628096380964809658096680967809688096980970809718097280973809748097580976809778097880979809808098180982809838098480985809868098780988809898099080991809928099380994809958099680997809988099981000810018100281003810048100581006810078100881009810108101181012810138101481015810168101781018810198102081021810228102381024810258102681027810288102981030810318103281033810348103581036810378103881039810408104181042810438104481045810468104781048810498105081051810528105381054810558105681057810588105981060810618106281063810648106581066810678106881069810708107181072810738107481075810768107781078810798108081081810828108381084810858108681087810888108981090810918109281093810948109581096810978109881099811008110181102811038110481105811068110781108811098111081111811128111381114811158111681117811188111981120811218112281123811248112581126811278112881129811308113181132811338113481135811368113781138811398114081141811428114381144811458114681147811488114981150811518115281153811548115581156811578115881159811608116181162811638116481165811668116781168811698117081171811728117381174811758117681177811788117981180811818118281183811848118581186811878118881189811908119181192811938119481195811968119781198811998120081201812028120381204812058120681207812088120981210812118121281213812148121581216812178121881219812208122181222812238122481225812268122781228812298123081231812328123381234812358123681237812388123981240812418124281243812448124581246812478124881249812508125181252812538125481255812568125781258812598126081261812628126381264812658126681267812688126981270812718127281273812748127581276812778127881279812808128181282812838128481285812868128781288812898129081291812928129381294812958129681297812988129981300813018130281303813048130581306813078130881309813108131181312813138131481315813168131781318813198132081321813228132381324813258132681327813288132981330813318133281333813348133581336813378133881339813408134181342813438134481345813468134781348813498135081351813528135381354813558135681357813588135981360813618136281363813648136581366813678136881369813708137181372813738137481375813768137781378813798138081381813828138381384813858138681387813888138981390813918139281393813948139581396813978139881399814008140181402814038140481405814068140781408814098141081411814128141381414814158141681417814188141981420814218142281423814248142581426814278142881429814308143181432814338143481435814368143781438814398144081441814428144381444814458144681447814488144981450814518145281453814548145581456814578145881459814608146181462814638146481465814668146781468814698147081471814728147381474814758147681477814788147981480814818148281483814848148581486814878148881489814908149181492814938149481495814968149781498814998150081501815028150381504815058150681507815088150981510815118151281513815148151581516815178151881519815208152181522815238152481525815268152781528815298153081531815328153381534815358153681537815388153981540815418154281543815448154581546815478154881549815508155181552815538155481555815568155781558815598156081561815628156381564815658156681567815688156981570815718157281573815748157581576815778157881579815808158181582815838158481585815868158781588815898159081591815928159381594815958159681597815988159981600816018160281603816048160581606816078160881609816108161181612816138161481615816168161781618816198162081621816228162381624816258162681627816288162981630816318163281633816348163581636816378163881639816408164181642816438164481645816468164781648816498165081651816528165381654816558165681657816588165981660816618166281663816648166581666816678166881669816708167181672816738167481675816768167781678816798168081681816828168381684816858168681687816888168981690816918169281693816948169581696816978169881699817008170181702817038170481705817068170781708817098171081711817128171381714817158171681717817188171981720817218172281723817248172581726817278172881729817308173181732817338173481735817368173781738817398174081741817428174381744817458174681747817488174981750817518175281753817548175581756817578175881759817608176181762817638176481765817668176781768817698177081771817728177381774817758177681777817788177981780817818178281783817848178581786817878178881789817908179181792817938179481795817968179781798817998180081801818028180381804818058180681807818088180981810818118181281813818148181581816818178181881819818208182181822818238182481825818268182781828818298183081831818328183381834818358183681837818388183981840818418184281843818448184581846818478184881849818508185181852818538185481855818568185781858818598186081861818628186381864818658186681867818688186981870818718187281873818748187581876818778187881879818808188181882818838188481885818868188781888818898189081891818928189381894818958189681897818988189981900819018190281903819048190581906819078190881909819108191181912819138191481915819168191781918819198192081921819228192381924819258192681927819288192981930819318193281933819348193581936819378193881939819408194181942819438194481945819468194781948819498195081951819528195381954819558195681957819588195981960819618196281963819648196581966819678196881969819708197181972819738197481975819768197781978819798198081981819828198381984819858198681987819888198981990819918199281993819948199581996819978199881999820008200182002820038200482005820068200782008820098201082011820128201382014820158201682017820188201982020820218202282023820248202582026820278202882029820308203182032820338203482035820368203782038820398204082041820428204382044820458204682047820488204982050820518205282053820548205582056820578205882059820608206182062820638206482065820668206782068820698207082071820728207382074820758207682077820788207982080820818208282083820848208582086820878208882089820908209182092820938209482095820968209782098820998210082101821028210382104821058210682107821088210982110821118211282113821148211582116821178211882119821208212182122821238212482125821268212782128821298213082131821328213382134821358213682137821388213982140821418214282143821448214582146821478214882149821508215182152821538215482155821568215782158821598216082161821628216382164821658216682167821688216982170821718217282173821748217582176821778217882179821808218182182821838218482185821868218782188821898219082191821928219382194821958219682197821988219982200822018220282203822048220582206822078220882209822108221182212822138221482215822168221782218822198222082221822228222382224822258222682227822288222982230822318223282233822348223582236822378223882239822408224182242822438224482245822468224782248822498225082251822528225382254822558225682257822588225982260822618226282263822648226582266822678226882269822708227182272822738227482275822768227782278822798228082281822828228382284822858228682287822888228982290822918229282293822948229582296822978229882299823008230182302823038230482305823068230782308823098231082311823128231382314823158231682317823188231982320823218232282323823248232582326823278232882329823308233182332823338233482335823368233782338823398234082341823428234382344823458234682347823488234982350823518235282353823548235582356823578235882359823608236182362823638236482365823668236782368823698237082371823728237382374823758237682377823788237982380823818238282383823848238582386823878238882389823908239182392823938239482395823968239782398823998240082401824028240382404824058240682407824088240982410824118241282413824148241582416824178241882419824208242182422824238242482425824268242782428824298243082431824328243382434824358243682437824388243982440824418244282443824448244582446824478244882449824508245182452824538245482455824568245782458824598246082461824628246382464824658246682467824688246982470824718247282473824748247582476824778247882479824808248182482824838248482485824868248782488824898249082491824928249382494824958249682497824988249982500825018250282503825048250582506825078250882509825108251182512825138251482515825168251782518825198252082521825228252382524825258252682527825288252982530825318253282533825348253582536825378253882539825408254182542825438254482545825468254782548825498255082551825528255382554825558255682557825588255982560825618256282563825648256582566825678256882569825708257182572825738257482575825768257782578825798258082581825828258382584825858258682587825888258982590825918259282593825948259582596825978259882599826008260182602826038260482605826068260782608826098261082611826128261382614826158261682617826188261982620826218262282623826248262582626826278262882629826308263182632826338263482635826368263782638826398264082641826428264382644826458264682647826488264982650826518265282653826548265582656826578265882659826608266182662826638266482665826668266782668826698267082671826728267382674826758267682677826788267982680826818268282683826848268582686826878268882689826908269182692826938269482695826968269782698826998270082701827028270382704827058270682707827088270982710827118271282713827148271582716827178271882719827208272182722827238272482725827268272782728827298273082731827328273382734827358273682737827388273982740827418274282743827448274582746827478274882749827508275182752827538275482755827568275782758827598276082761827628276382764827658276682767827688276982770827718277282773827748277582776827778277882779827808278182782827838278482785827868278782788827898279082791827928279382794827958279682797827988279982800828018280282803828048280582806828078280882809828108281182812828138281482815828168281782818828198282082821828228282382824828258282682827828288282982830828318283282833828348283582836828378283882839828408284182842828438284482845828468284782848828498285082851828528285382854828558285682857828588285982860828618286282863828648286582866828678286882869828708287182872828738287482875828768287782878828798288082881828828288382884828858288682887828888288982890828918289282893828948289582896828978289882899829008290182902829038290482905829068290782908829098291082911829128291382914829158291682917829188291982920829218292282923829248292582926829278292882929829308293182932829338293482935829368293782938829398294082941829428294382944829458294682947829488294982950829518295282953829548295582956829578295882959829608296182962829638296482965829668296782968829698297082971829728297382974829758297682977829788297982980829818298282983829848298582986829878298882989829908299182992829938299482995829968299782998829998300083001830028300383004830058300683007830088300983010830118301283013830148301583016830178301883019830208302183022830238302483025830268302783028830298303083031830328303383034830358303683037830388303983040830418304283043830448304583046830478304883049830508305183052830538305483055830568305783058830598306083061830628306383064830658306683067830688306983070830718307283073830748307583076830778307883079830808308183082830838308483085830868308783088830898309083091830928309383094830958309683097830988309983100831018310283103831048310583106831078310883109831108311183112831138311483115831168311783118831198312083121831228312383124831258312683127831288312983130831318313283133831348313583136831378313883139831408314183142831438314483145831468314783148831498315083151831528315383154831558315683157831588315983160831618316283163831648316583166831678316883169831708317183172831738317483175831768317783178831798318083181831828318383184831858318683187831888318983190831918319283193831948319583196831978319883199832008320183202832038320483205832068320783208832098321083211832128321383214832158321683217832188321983220832218322283223832248322583226832278322883229832308323183232832338323483235832368323783238832398324083241832428324383244832458324683247832488324983250832518325283253832548325583256832578325883259832608326183262832638326483265832668326783268832698327083271832728327383274832758327683277832788327983280832818328283283832848328583286832878328883289832908329183292832938329483295832968329783298832998330083301833028330383304833058330683307833088330983310833118331283313833148331583316833178331883319833208332183322833238332483325833268332783328833298333083331833328333383334833358333683337833388333983340833418334283343833448334583346833478334883349833508335183352833538335483355833568335783358833598336083361833628336383364833658336683367833688336983370833718337283373833748337583376833778337883379833808338183382833838338483385833868338783388833898339083391833928339383394833958339683397833988339983400834018340283403834048340583406834078340883409834108341183412834138341483415834168341783418834198342083421834228342383424834258342683427834288342983430834318343283433834348343583436834378343883439834408344183442834438344483445834468344783448834498345083451834528345383454834558345683457834588345983460834618346283463834648346583466834678346883469834708347183472834738347483475834768347783478834798348083481834828348383484834858348683487834888348983490834918349283493834948349583496834978349883499835008350183502835038350483505835068350783508835098351083511835128351383514835158351683517835188351983520835218352283523835248352583526835278352883529835308353183532835338353483535835368353783538835398354083541835428354383544835458354683547835488354983550835518355283553835548355583556835578355883559835608356183562835638356483565835668356783568835698357083571835728357383574835758357683577835788357983580835818358283583835848358583586835878358883589835908359183592835938359483595835968359783598835998360083601836028360383604836058360683607836088360983610836118361283613836148361583616836178361883619836208362183622836238362483625836268362783628836298363083631836328363383634836358363683637836388363983640836418364283643836448364583646836478364883649836508365183652836538365483655836568365783658836598366083661836628366383664836658366683667836688366983670836718367283673836748367583676836778367883679836808368183682836838368483685836868368783688836898369083691836928369383694836958369683697836988369983700837018370283703837048370583706837078370883709837108371183712837138371483715837168371783718837198372083721837228372383724837258372683727837288372983730837318373283733837348373583736837378373883739837408374183742837438374483745837468374783748837498375083751837528375383754837558375683757837588375983760837618376283763837648376583766837678376883769837708377183772837738377483775837768377783778837798378083781837828378383784837858378683787837888378983790837918379283793837948379583796837978379883799838008380183802838038380483805838068380783808838098381083811838128381383814838158381683817838188381983820838218382283823838248382583826838278382883829838308383183832838338383483835838368383783838838398384083841838428384383844838458384683847838488384983850838518385283853838548385583856838578385883859838608386183862838638386483865838668386783868838698387083871838728387383874838758387683877838788387983880838818388283883838848388583886838878388883889838908389183892838938389483895838968389783898838998390083901839028390383904839058390683907839088390983910839118391283913839148391583916839178391883919839208392183922839238392483925839268392783928839298393083931839328393383934839358393683937839388393983940839418394283943839448394583946839478394883949839508395183952839538395483955839568395783958839598396083961839628396383964839658396683967839688396983970839718397283973839748397583976839778397883979839808398183982839838398483985839868398783988839898399083991839928399383994839958399683997839988399984000840018400284003840048400584006840078400884009840108401184012840138401484015840168401784018840198402084021840228402384024840258402684027840288402984030840318403284033840348403584036840378403884039840408404184042840438404484045840468404784048840498405084051840528405384054840558405684057840588405984060840618406284063840648406584066840678406884069840708407184072840738407484075840768407784078840798408084081840828408384084840858408684087840888408984090840918409284093840948409584096840978409884099841008410184102841038410484105841068410784108841098411084111841128411384114841158411684117841188411984120841218412284123841248412584126841278412884129841308413184132841338413484135841368413784138841398414084141841428414384144841458414684147841488414984150841518415284153841548415584156841578415884159841608416184162841638416484165841668416784168841698417084171841728417384174841758417684177841788417984180841818418284183841848418584186841878418884189841908419184192841938419484195841968419784198841998420084201842028420384204842058420684207842088420984210842118421284213842148421584216842178421884219842208422184222842238422484225842268422784228842298423084231842328423384234842358423684237842388423984240842418424284243842448424584246842478424884249842508425184252842538425484255842568425784258842598426084261842628426384264842658426684267842688426984270842718427284273842748427584276842778427884279842808428184282842838428484285842868428784288842898429084291842928429384294842958429684297842988429984300843018430284303843048430584306843078430884309843108431184312843138431484315843168431784318843198432084321843228432384324843258432684327843288432984330843318433284333843348433584336843378433884339843408434184342843438434484345843468434784348843498435084351843528435384354843558435684357843588435984360843618436284363843648436584366843678436884369843708437184372843738437484375843768437784378843798438084381843828438384384843858438684387843888438984390843918439284393843948439584396843978439884399844008440184402844038440484405844068440784408844098441084411844128441384414844158441684417844188441984420844218442284423844248442584426844278442884429844308443184432844338443484435844368443784438844398444084441844428444384444844458444684447844488444984450844518445284453844548445584456844578445884459844608446184462844638446484465844668446784468844698447084471844728447384474844758447684477844788447984480844818448284483844848448584486844878448884489844908449184492844938449484495844968449784498844998450084501845028450384504845058450684507845088450984510845118451284513845148451584516845178451884519845208452184522845238452484525845268452784528845298453084531845328453384534845358453684537845388453984540845418454284543845448454584546845478454884549845508455184552845538455484555845568455784558845598456084561845628456384564845658456684567845688456984570845718457284573845748457584576845778457884579845808458184582845838458484585845868458784588845898459084591845928459384594845958459684597845988459984600846018460284603846048460584606846078460884609846108461184612846138461484615846168461784618846198462084621846228462384624846258462684627846288462984630846318463284633846348463584636846378463884639846408464184642846438464484645846468464784648846498465084651846528465384654846558465684657846588465984660846618466284663846648466584666846678466884669846708467184672846738467484675846768467784678846798468084681846828468384684846858468684687846888468984690846918469284693846948469584696846978469884699847008470184702847038470484705847068470784708847098471084711847128471384714847158471684717847188471984720847218472284723847248472584726847278472884729847308473184732847338473484735847368473784738847398474084741847428474384744847458474684747847488474984750847518475284753847548475584756847578475884759847608476184762847638476484765847668476784768847698477084771847728477384774847758477684777847788477984780847818478284783847848478584786847878478884789847908479184792847938479484795847968479784798847998480084801848028480384804848058480684807848088480984810848118481284813848148481584816848178481884819848208482184822848238482484825848268482784828848298483084831848328483384834848358483684837848388483984840848418484284843848448484584846848478484884849848508485184852848538485484855848568485784858848598486084861848628486384864848658486684867848688486984870848718487284873848748487584876848778487884879848808488184882848838488484885848868488784888848898489084891848928489384894848958489684897848988489984900849018490284903849048490584906849078490884909849108491184912849138491484915849168491784918849198492084921849228492384924849258492684927849288492984930849318493284933849348493584936849378493884939849408494184942849438494484945849468494784948849498495084951849528495384954849558495684957849588495984960849618496284963849648496584966849678496884969849708497184972849738497484975849768497784978849798498084981849828498384984849858498684987849888498984990849918499284993849948499584996849978499884999850008500185002850038500485005850068500785008850098501085011850128501385014850158501685017850188501985020850218502285023850248502585026850278502885029850308503185032850338503485035850368503785038850398504085041850428504385044850458504685047850488504985050850518505285053850548505585056850578505885059850608506185062850638506485065850668506785068850698507085071850728507385074850758507685077850788507985080850818508285083850848508585086850878508885089850908509185092850938509485095850968509785098850998510085101851028510385104851058510685107851088510985110851118511285113851148511585116851178511885119851208512185122851238512485125851268512785128851298513085131851328513385134851358513685137851388513985140851418514285143851448514585146851478514885149851508515185152851538515485155851568515785158851598516085161851628516385164851658516685167851688516985170851718517285173851748517585176851778517885179851808518185182851838518485185851868518785188851898519085191851928519385194851958519685197851988519985200852018520285203852048520585206852078520885209852108521185212852138521485215852168521785218852198522085221852228522385224852258522685227852288522985230852318523285233852348523585236852378523885239852408524185242852438524485245852468524785248852498525085251852528525385254852558525685257852588525985260852618526285263852648526585266852678526885269852708527185272852738527485275852768527785278852798528085281852828528385284852858528685287852888528985290852918529285293852948529585296852978529885299853008530185302853038530485305853068530785308853098531085311853128531385314853158531685317853188531985320853218532285323853248532585326853278532885329853308533185332853338533485335853368533785338853398534085341853428534385344853458534685347853488534985350853518535285353853548535585356853578535885359853608536185362853638536485365853668536785368853698537085371853728537385374853758537685377853788537985380853818538285383853848538585386853878538885389853908539185392853938539485395853968539785398853998540085401854028540385404854058540685407854088540985410854118541285413854148541585416854178541885419854208542185422854238542485425854268542785428854298543085431854328543385434854358543685437854388543985440854418544285443854448544585446854478544885449854508545185452854538545485455854568545785458854598546085461854628546385464854658546685467854688546985470854718547285473854748547585476854778547885479854808548185482854838548485485854868548785488854898549085491854928549385494854958549685497854988549985500855018550285503855048550585506855078550885509855108551185512855138551485515855168551785518855198552085521855228552385524855258552685527855288552985530855318553285533855348553585536855378553885539855408554185542855438554485545855468554785548855498555085551855528555385554855558555685557855588555985560855618556285563855648556585566855678556885569855708557185572855738557485575855768557785578855798558085581855828558385584855858558685587855888558985590855918559285593855948559585596855978559885599856008560185602856038560485605856068560785608856098561085611856128561385614856158561685617856188561985620856218562285623856248562585626856278562885629856308563185632856338563485635856368563785638856398564085641856428564385644856458564685647856488564985650856518565285653856548565585656856578565885659856608566185662856638566485665856668566785668856698567085671856728567385674856758567685677856788567985680856818568285683856848568585686856878568885689856908569185692856938569485695856968569785698856998570085701857028570385704857058570685707857088570985710857118571285713857148571585716857178571885719857208572185722857238572485725857268572785728857298573085731857328573385734857358573685737857388573985740857418574285743857448574585746857478574885749857508575185752857538575485755857568575785758857598576085761857628576385764857658576685767857688576985770857718577285773857748577585776857778577885779857808578185782857838578485785857868578785788857898579085791857928579385794857958579685797857988579985800858018580285803858048580585806858078580885809858108581185812858138581485815858168581785818858198582085821858228582385824858258582685827858288582985830858318583285833858348583585836858378583885839858408584185842858438584485845858468584785848858498585085851858528585385854858558585685857858588585985860858618586285863858648586585866858678586885869858708587185872858738587485875858768587785878858798588085881858828588385884858858588685887858888588985890858918589285893858948589585896858978589885899859008590185902859038590485905859068590785908859098591085911859128591385914859158591685917859188591985920859218592285923859248592585926859278592885929859308593185932859338593485935859368593785938859398594085941859428594385944859458594685947859488594985950859518595285953859548595585956859578595885959859608596185962859638596485965859668596785968859698597085971859728597385974859758597685977859788597985980859818598285983859848598585986859878598885989859908599185992859938599485995859968599785998859998600086001860028600386004860058600686007860088600986010860118601286013860148601586016860178601886019860208602186022860238602486025860268602786028860298603086031860328603386034860358603686037860388603986040860418604286043860448604586046860478604886049860508605186052860538605486055860568605786058860598606086061860628606386064860658606686067860688606986070860718607286073860748607586076860778607886079860808608186082860838608486085860868608786088860898609086091860928609386094860958609686097860988609986100861018610286103861048610586106861078610886109861108611186112861138611486115861168611786118861198612086121861228612386124861258612686127861288612986130861318613286133861348613586136861378613886139861408614186142861438614486145861468614786148861498615086151861528615386154861558615686157861588615986160861618616286163861648616586166861678616886169861708617186172861738617486175861768617786178861798618086181861828618386184861858618686187861888618986190861918619286193861948619586196861978619886199862008620186202862038620486205862068620786208862098621086211862128621386214862158621686217862188621986220862218622286223862248622586226862278622886229862308623186232862338623486235862368623786238862398624086241862428624386244862458624686247862488624986250862518625286253862548625586256862578625886259862608626186262862638626486265862668626786268862698627086271862728627386274862758627686277862788627986280862818628286283862848628586286862878628886289862908629186292862938629486295862968629786298862998630086301863028630386304863058630686307863088630986310863118631286313863148631586316863178631886319863208632186322863238632486325863268632786328863298633086331863328633386334863358633686337863388633986340863418634286343863448634586346863478634886349863508635186352863538635486355863568635786358863598636086361863628636386364863658636686367863688636986370863718637286373863748637586376863778637886379863808638186382863838638486385863868638786388863898639086391863928639386394863958639686397863988639986400864018640286403864048640586406864078640886409864108641186412864138641486415864168641786418864198642086421864228642386424864258642686427864288642986430864318643286433864348643586436864378643886439864408644186442864438644486445864468644786448864498645086451864528645386454864558645686457864588645986460864618646286463864648646586466864678646886469864708647186472864738647486475864768647786478864798648086481864828648386484864858648686487864888648986490864918649286493864948649586496864978649886499865008650186502865038650486505865068650786508865098651086511865128651386514865158651686517865188651986520865218652286523865248652586526865278652886529865308653186532865338653486535865368653786538865398654086541865428654386544865458654686547865488654986550865518655286553865548655586556865578655886559865608656186562865638656486565865668656786568865698657086571865728657386574865758657686577865788657986580865818658286583865848658586586865878658886589865908659186592865938659486595865968659786598865998660086601866028660386604866058660686607866088660986610866118661286613866148661586616866178661886619866208662186622866238662486625866268662786628866298663086631866328663386634866358663686637866388663986640866418664286643866448664586646866478664886649866508665186652866538665486655866568665786658866598666086661866628666386664866658666686667866688666986670866718667286673866748667586676866778667886679866808668186682866838668486685866868668786688866898669086691866928669386694866958669686697866988669986700867018670286703867048670586706867078670886709867108671186712867138671486715867168671786718867198672086721867228672386724867258672686727867288672986730867318673286733867348673586736867378673886739867408674186742867438674486745867468674786748867498675086751867528675386754867558675686757867588675986760867618676286763867648676586766867678676886769867708677186772867738677486775867768677786778867798678086781867828678386784867858678686787867888678986790867918679286793867948679586796867978679886799868008680186802868038680486805868068680786808868098681086811868128681386814868158681686817868188681986820868218682286823868248682586826868278682886829868308683186832868338683486835868368683786838868398684086841868428684386844868458684686847868488684986850868518685286853868548685586856868578685886859868608686186862868638686486865868668686786868868698687086871868728687386874868758687686877868788687986880868818688286883868848688586886868878688886889868908689186892868938689486895868968689786898868998690086901869028690386904869058690686907869088690986910869118691286913869148691586916869178691886919869208692186922869238692486925869268692786928869298693086931869328693386934869358693686937869388693986940869418694286943869448694586946869478694886949869508695186952869538695486955869568695786958869598696086961869628696386964869658696686967869688696986970869718697286973869748697586976869778697886979869808698186982869838698486985869868698786988869898699086991869928699386994869958699686997869988699987000870018700287003870048700587006870078700887009870108701187012870138701487015870168701787018870198702087021870228702387024870258702687027870288702987030870318703287033870348703587036870378703887039870408704187042870438704487045870468704787048870498705087051870528705387054870558705687057870588705987060870618706287063870648706587066870678706887069870708707187072870738707487075870768707787078870798708087081870828708387084870858708687087870888708987090870918709287093870948709587096870978709887099871008710187102871038710487105871068710787108871098711087111871128711387114871158711687117871188711987120871218712287123871248712587126871278712887129871308713187132871338713487135871368713787138871398714087141871428714387144871458714687147871488714987150871518715287153871548715587156871578715887159871608716187162871638716487165871668716787168871698717087171871728717387174871758717687177871788717987180871818718287183871848718587186871878718887189871908719187192871938719487195871968719787198871998720087201872028720387204872058720687207872088720987210872118721287213872148721587216872178721887219872208722187222872238722487225872268722787228872298723087231872328723387234872358723687237872388723987240872418724287243872448724587246872478724887249872508725187252872538725487255872568725787258872598726087261872628726387264872658726687267872688726987270872718727287273872748727587276872778727887279872808728187282872838728487285872868728787288872898729087291872928729387294872958729687297872988729987300873018730287303873048730587306873078730887309873108731187312873138731487315873168731787318873198732087321873228732387324873258732687327873288732987330873318733287333873348733587336873378733887339873408734187342873438734487345873468734787348873498735087351873528735387354873558735687357873588735987360873618736287363873648736587366873678736887369873708737187372873738737487375873768737787378873798738087381873828738387384873858738687387873888738987390873918739287393873948739587396873978739887399874008740187402874038740487405874068740787408874098741087411874128741387414874158741687417874188741987420874218742287423874248742587426874278742887429874308743187432874338743487435874368743787438874398744087441874428744387444874458744687447874488744987450874518745287453874548745587456874578745887459874608746187462874638746487465874668746787468874698747087471874728747387474874758747687477874788747987480874818748287483874848748587486874878748887489874908749187492874938749487495874968749787498874998750087501875028750387504875058750687507875088750987510875118751287513875148751587516875178751887519875208752187522875238752487525875268752787528875298753087531875328753387534875358753687537875388753987540875418754287543875448754587546875478754887549875508755187552875538755487555875568755787558875598756087561875628756387564875658756687567875688756987570875718757287573875748757587576875778757887579875808758187582875838758487585875868758787588875898759087591875928759387594875958759687597875988759987600876018760287603876048760587606876078760887609876108761187612876138761487615876168761787618876198762087621876228762387624876258762687627876288762987630876318763287633876348763587636876378763887639876408764187642876438764487645876468764787648876498765087651876528765387654876558765687657876588765987660876618766287663876648766587666876678766887669876708767187672876738767487675876768767787678876798768087681876828768387684876858768687687876888768987690876918769287693876948769587696876978769887699877008770187702877038770487705877068770787708877098771087711877128771387714877158771687717877188771987720877218772287723877248772587726877278772887729877308773187732877338773487735877368773787738877398774087741877428774387744877458774687747877488774987750877518775287753877548775587756877578775887759877608776187762877638776487765877668776787768877698777087771877728777387774877758777687777877788777987780877818778287783877848778587786877878778887789877908779187792877938779487795877968779787798877998780087801878028780387804878058780687807878088780987810878118781287813878148781587816878178781887819878208782187822878238782487825878268782787828878298783087831878328783387834878358783687837878388783987840878418784287843878448784587846878478784887849878508785187852878538785487855878568785787858878598786087861878628786387864878658786687867878688786987870878718787287873878748787587876878778787887879878808788187882878838788487885878868788787888878898789087891878928789387894878958789687897878988789987900879018790287903879048790587906879078790887909879108791187912879138791487915879168791787918879198792087921879228792387924879258792687927879288792987930879318793287933879348793587936879378793887939879408794187942879438794487945879468794787948879498795087951879528795387954879558795687957879588795987960879618796287963879648796587966879678796887969879708797187972879738797487975879768797787978879798798087981879828798387984879858798687987879888798987990879918799287993879948799587996879978799887999880008800188002880038800488005880068800788008880098801088011880128801388014880158801688017880188801988020880218802288023880248802588026880278802888029880308803188032880338803488035880368803788038880398804088041880428804388044880458804688047880488804988050880518805288053880548805588056880578805888059880608806188062880638806488065880668806788068880698807088071880728807388074880758807688077880788807988080880818808288083880848808588086880878808888089880908809188092880938809488095880968809788098880998810088101881028810388104881058810688107881088810988110881118811288113881148811588116881178811888119881208812188122881238812488125881268812788128881298813088131881328813388134881358813688137881388813988140881418814288143881448814588146881478814888149881508815188152881538815488155881568815788158881598816088161881628816388164881658816688167881688816988170881718817288173881748817588176881778817888179881808818188182881838818488185881868818788188881898819088191881928819388194881958819688197881988819988200882018820288203882048820588206882078820888209882108821188212882138821488215882168821788218882198822088221882228822388224882258822688227882288822988230882318823288233882348823588236882378823888239882408824188242882438824488245882468824788248882498825088251882528825388254882558825688257882588825988260882618826288263882648826588266882678826888269882708827188272882738827488275882768827788278882798828088281882828828388284882858828688287882888828988290882918829288293882948829588296882978829888299883008830188302883038830488305883068830788308883098831088311883128831388314883158831688317883188831988320883218832288323883248832588326883278832888329883308833188332883338833488335883368833788338883398834088341883428834388344883458834688347883488834988350883518835288353883548835588356883578835888359883608836188362883638836488365883668836788368883698837088371883728837388374883758837688377883788837988380883818838288383883848838588386883878838888389883908839188392883938839488395883968839788398883998840088401884028840388404884058840688407884088840988410884118841288413884148841588416884178841888419884208842188422884238842488425884268842788428884298843088431884328843388434884358843688437884388843988440884418844288443884448844588446884478844888449884508845188452884538845488455884568845788458884598846088461884628846388464884658846688467884688846988470884718847288473884748847588476884778847888479884808848188482884838848488485884868848788488884898849088491884928849388494884958849688497884988849988500885018850288503885048850588506885078850888509885108851188512885138851488515885168851788518885198852088521885228852388524885258852688527885288852988530885318853288533885348853588536885378853888539885408854188542885438854488545885468854788548885498855088551885528855388554885558855688557885588855988560885618856288563885648856588566885678856888569885708857188572885738857488575885768857788578885798858088581885828858388584885858858688587885888858988590885918859288593885948859588596885978859888599886008860188602886038860488605886068860788608886098861088611886128861388614886158861688617886188861988620886218862288623886248862588626886278862888629886308863188632886338863488635886368863788638886398864088641886428864388644886458864688647886488864988650886518865288653886548865588656886578865888659886608866188662886638866488665886668866788668886698867088671886728867388674886758867688677886788867988680886818868288683886848868588686886878868888689886908869188692886938869488695886968869788698886998870088701887028870388704887058870688707887088870988710887118871288713887148871588716887178871888719887208872188722887238872488725887268872788728887298873088731887328873388734887358873688737887388873988740887418874288743887448874588746887478874888749887508875188752887538875488755887568875788758887598876088761887628876388764887658876688767887688876988770887718877288773887748877588776887778877888779887808878188782887838878488785887868878788788887898879088791887928879388794887958879688797887988879988800888018880288803888048880588806888078880888809888108881188812888138881488815888168881788818888198882088821888228882388824888258882688827888288882988830888318883288833888348883588836888378883888839888408884188842888438884488845888468884788848888498885088851888528885388854888558885688857888588885988860888618886288863888648886588866888678886888869888708887188872888738887488875888768887788878888798888088881888828888388884888858888688887888888888988890888918889288893888948889588896888978889888899889008890188902889038890488905889068890788908889098891088911889128891388914889158891688917889188891988920889218892288923889248892588926889278892888929889308893188932889338893488935889368893788938889398894088941889428894388944889458894688947889488894988950889518895288953889548895588956889578895888959889608896188962889638896488965889668896788968889698897088971889728897388974889758897688977889788897988980889818898288983889848898588986889878898888989889908899188992889938899488995889968899788998889998900089001890028900389004890058900689007890088900989010890118901289013890148901589016890178901889019890208902189022890238902489025890268902789028890298903089031890328903389034890358903689037890388903989040890418904289043890448904589046890478904889049890508905189052890538905489055890568905789058890598906089061890628906389064890658906689067890688906989070890718907289073890748907589076890778907889079890808908189082890838908489085890868908789088890898909089091890928909389094890958909689097890988909989100891018910289103891048910589106891078910889109891108911189112891138911489115891168911789118891198912089121891228912389124891258912689127891288912989130891318913289133891348913589136891378913889139891408914189142891438914489145891468914789148891498915089151891528915389154891558915689157891588915989160891618916289163891648916589166891678916889169891708917189172891738917489175891768917789178891798918089181891828918389184891858918689187891888918989190891918919289193891948919589196891978919889199892008920189202892038920489205892068920789208892098921089211892128921389214892158921689217892188921989220892218922289223892248922589226892278922889229892308923189232892338923489235892368923789238892398924089241892428924389244892458924689247892488924989250892518925289253892548925589256892578925889259892608926189262892638926489265892668926789268892698927089271892728927389274892758927689277892788927989280892818928289283892848928589286892878928889289892908929189292892938929489295892968929789298892998930089301893028930389304893058930689307893088930989310893118931289313893148931589316893178931889319893208932189322893238932489325893268932789328893298933089331893328933389334893358933689337893388933989340893418934289343893448934589346893478934889349893508935189352893538935489355893568935789358893598936089361893628936389364893658936689367893688936989370893718937289373893748937589376893778937889379893808938189382893838938489385893868938789388893898939089391893928939389394893958939689397893988939989400894018940289403894048940589406894078940889409894108941189412894138941489415894168941789418894198942089421894228942389424894258942689427894288942989430894318943289433894348943589436894378943889439894408944189442894438944489445894468944789448894498945089451894528945389454894558945689457894588945989460894618946289463894648946589466894678946889469894708947189472894738947489475894768947789478894798948089481894828948389484894858948689487894888948989490894918949289493894948949589496894978949889499895008950189502895038950489505895068950789508895098951089511895128951389514895158951689517895188951989520895218952289523895248952589526895278952889529895308953189532895338953489535895368953789538895398954089541895428954389544895458954689547895488954989550895518955289553895548955589556895578955889559895608956189562895638956489565895668956789568895698957089571895728957389574895758957689577895788957989580895818958289583895848958589586895878958889589895908959189592895938959489595895968959789598895998960089601896028960389604896058960689607896088960989610896118961289613896148961589616896178961889619896208962189622896238962489625896268962789628896298963089631896328963389634896358963689637896388963989640896418964289643896448964589646896478964889649896508965189652896538965489655896568965789658896598966089661896628966389664896658966689667896688966989670896718967289673896748967589676896778967889679896808968189682896838968489685896868968789688896898969089691896928969389694896958969689697896988969989700897018970289703897048970589706897078970889709897108971189712897138971489715897168971789718897198972089721897228972389724897258972689727897288972989730897318973289733897348973589736897378973889739897408974189742897438974489745897468974789748897498975089751897528975389754897558975689757897588975989760897618976289763897648976589766897678976889769897708977189772897738977489775897768977789778897798978089781897828978389784897858978689787897888978989790897918979289793897948979589796897978979889799898008980189802898038980489805898068980789808898098981089811898128981389814898158981689817898188981989820898218982289823898248982589826898278982889829898308983189832898338983489835898368983789838898398984089841898428984389844898458984689847898488984989850898518985289853898548985589856898578985889859898608986189862898638986489865898668986789868898698987089871898728987389874898758987689877898788987989880898818988289883898848988589886898878988889889898908989189892898938989489895898968989789898898998990089901899028990389904899058990689907899088990989910899118991289913899148991589916899178991889919899208992189922899238992489925899268992789928899298993089931899328993389934899358993689937899388993989940899418994289943899448994589946899478994889949899508995189952899538995489955899568995789958899598996089961899628996389964899658996689967899688996989970899718997289973899748997589976899778997889979899808998189982899838998489985899868998789988899898999089991899928999389994899958999689997899988999990000900019000290003900049000590006900079000890009900109001190012900139001490015900169001790018900199002090021900229002390024900259002690027900289002990030900319003290033900349003590036900379003890039900409004190042900439004490045900469004790048900499005090051900529005390054900559005690057900589005990060900619006290063900649006590066900679006890069900709007190072900739007490075900769007790078900799008090081900829008390084900859008690087900889008990090900919009290093900949009590096900979009890099901009010190102901039010490105901069010790108901099011090111901129011390114901159011690117901189011990120901219012290123901249012590126901279012890129901309013190132901339013490135901369013790138901399014090141901429014390144901459014690147901489014990150901519015290153901549015590156901579015890159901609016190162901639016490165901669016790168901699017090171901729017390174901759017690177901789017990180901819018290183901849018590186901879018890189901909019190192901939019490195901969019790198901999020090201902029020390204902059020690207902089020990210902119021290213902149021590216902179021890219902209022190222902239022490225902269022790228902299023090231902329023390234902359023690237902389023990240902419024290243902449024590246902479024890249902509025190252902539025490255902569025790258902599026090261902629026390264902659026690267902689026990270902719027290273902749027590276902779027890279902809028190282902839028490285902869028790288902899029090291902929029390294902959029690297902989029990300903019030290303903049030590306903079030890309903109031190312903139031490315903169031790318903199032090321903229032390324903259032690327903289032990330903319033290333903349033590336903379033890339903409034190342903439034490345903469034790348903499035090351903529035390354903559035690357903589035990360903619036290363903649036590366903679036890369903709037190372903739037490375903769037790378903799038090381903829038390384903859038690387903889038990390903919039290393903949039590396903979039890399904009040190402904039040490405904069040790408904099041090411904129041390414904159041690417904189041990420904219042290423904249042590426904279042890429904309043190432904339043490435904369043790438904399044090441904429044390444904459044690447904489044990450904519045290453904549045590456904579045890459904609046190462904639046490465904669046790468904699047090471904729047390474904759047690477904789047990480904819048290483904849048590486904879048890489904909049190492904939049490495904969049790498904999050090501905029050390504905059050690507905089050990510905119051290513905149051590516905179051890519905209052190522905239052490525905269052790528905299053090531905329053390534905359053690537905389053990540905419054290543905449054590546905479054890549905509055190552905539055490555905569055790558905599056090561905629056390564905659056690567905689056990570905719057290573905749057590576905779057890579905809058190582905839058490585905869058790588905899059090591905929059390594905959059690597905989059990600906019060290603906049060590606906079060890609906109061190612906139061490615906169061790618906199062090621906229062390624906259062690627906289062990630906319063290633906349063590636906379063890639906409064190642906439064490645906469064790648906499065090651906529065390654906559065690657906589065990660906619066290663906649066590666906679066890669906709067190672906739067490675906769067790678906799068090681906829068390684906859068690687906889068990690906919069290693906949069590696906979069890699907009070190702907039070490705907069070790708907099071090711907129071390714907159071690717907189071990720907219072290723907249072590726907279072890729907309073190732907339073490735907369073790738907399074090741907429074390744907459074690747907489074990750907519075290753907549075590756907579075890759907609076190762907639076490765907669076790768907699077090771907729077390774907759077690777907789077990780907819078290783907849078590786907879078890789907909079190792907939079490795907969079790798907999080090801908029080390804908059080690807908089080990810908119081290813908149081590816908179081890819908209082190822908239082490825908269082790828908299083090831908329083390834908359083690837908389083990840908419084290843908449084590846908479084890849908509085190852908539085490855908569085790858908599086090861908629086390864908659086690867908689086990870908719087290873908749087590876908779087890879908809088190882908839088490885908869088790888908899089090891908929089390894908959089690897908989089990900909019090290903909049090590906909079090890909909109091190912909139091490915909169091790918909199092090921909229092390924909259092690927909289092990930909319093290933909349093590936909379093890939909409094190942909439094490945909469094790948909499095090951909529095390954909559095690957909589095990960909619096290963909649096590966909679096890969909709097190972909739097490975909769097790978909799098090981909829098390984909859098690987909889098990990909919099290993909949099590996909979099890999910009100191002910039100491005910069100791008910099101091011910129101391014910159101691017910189101991020910219102291023910249102591026910279102891029910309103191032910339103491035910369103791038910399104091041910429104391044910459104691047910489104991050910519105291053910549105591056910579105891059910609106191062910639106491065910669106791068910699107091071910729107391074910759107691077910789107991080910819108291083910849108591086910879108891089910909109191092910939109491095910969109791098910999110091101911029110391104911059110691107911089110991110911119111291113911149111591116911179111891119911209112191122911239112491125911269112791128911299113091131911329113391134911359113691137911389113991140911419114291143911449114591146911479114891149911509115191152911539115491155911569115791158911599116091161911629116391164911659116691167911689116991170911719117291173911749117591176911779117891179911809118191182911839118491185911869118791188911899119091191911929119391194911959119691197911989119991200912019120291203912049120591206912079120891209912109121191212912139121491215912169121791218912199122091221912229122391224912259122691227912289122991230912319123291233912349123591236912379123891239912409124191242912439124491245912469124791248912499125091251912529125391254912559125691257912589125991260912619126291263912649126591266912679126891269912709127191272912739127491275912769127791278912799128091281912829128391284912859128691287912889128991290912919129291293912949129591296912979129891299913009130191302913039130491305913069130791308913099131091311913129131391314913159131691317913189131991320913219132291323913249132591326913279132891329913309133191332913339133491335913369133791338913399134091341913429134391344913459134691347913489134991350913519135291353913549135591356913579135891359913609136191362913639136491365913669136791368913699137091371913729137391374913759137691377913789137991380913819138291383913849138591386913879138891389913909139191392913939139491395913969139791398913999140091401914029140391404914059140691407914089140991410914119141291413914149141591416914179141891419914209142191422914239142491425914269142791428914299143091431914329143391434914359143691437914389143991440914419144291443914449144591446914479144891449914509145191452914539145491455914569145791458914599146091461914629146391464914659146691467914689146991470914719147291473914749147591476914779147891479914809148191482914839148491485914869148791488914899149091491914929149391494914959149691497914989149991500915019150291503915049150591506915079150891509915109151191512915139151491515915169151791518915199152091521915229152391524915259152691527915289152991530915319153291533915349153591536915379153891539915409154191542915439154491545915469154791548915499155091551915529155391554915559155691557915589155991560915619156291563915649156591566915679156891569915709157191572915739157491575915769157791578915799158091581915829158391584915859158691587915889158991590915919159291593915949159591596915979159891599916009160191602916039160491605916069160791608916099161091611916129161391614916159161691617916189161991620916219162291623916249162591626916279162891629916309163191632916339163491635916369163791638916399164091641916429164391644916459164691647916489164991650916519165291653916549165591656916579165891659916609166191662916639166491665916669166791668916699167091671916729167391674916759167691677916789167991680916819168291683916849168591686916879168891689916909169191692916939169491695916969169791698916999170091701917029170391704917059170691707917089170991710917119171291713917149171591716917179171891719917209172191722917239172491725917269172791728917299173091731917329173391734917359173691737917389173991740917419174291743917449174591746917479174891749917509175191752917539175491755917569175791758917599176091761917629176391764917659176691767917689176991770917719177291773917749177591776917779177891779917809178191782917839178491785917869178791788917899179091791917929179391794917959179691797917989179991800918019180291803918049180591806918079180891809918109181191812918139181491815918169181791818918199182091821918229182391824918259182691827918289182991830918319183291833918349183591836918379183891839918409184191842918439184491845918469184791848918499185091851918529185391854918559185691857918589185991860918619186291863918649186591866918679186891869918709187191872918739187491875918769187791878918799188091881918829188391884918859188691887918889188991890918919189291893918949189591896918979189891899919009190191902919039190491905919069190791908919099191091911919129191391914919159191691917919189191991920919219192291923919249192591926919279192891929919309193191932919339193491935919369193791938919399194091941919429194391944919459194691947919489194991950919519195291953919549195591956919579195891959919609196191962919639196491965919669196791968919699197091971919729197391974919759197691977919789197991980919819198291983919849198591986919879198891989919909199191992919939199491995919969199791998919999200092001920029200392004920059200692007920089200992010920119201292013920149201592016920179201892019920209202192022920239202492025920269202792028920299203092031920329203392034920359203692037920389203992040920419204292043920449204592046920479204892049920509205192052920539205492055920569205792058920599206092061920629206392064920659206692067920689206992070920719207292073920749207592076920779207892079920809208192082920839208492085920869208792088920899209092091920929209392094920959209692097920989209992100921019210292103921049210592106921079210892109921109211192112921139211492115921169211792118921199212092121921229212392124921259212692127921289212992130921319213292133921349213592136921379213892139921409214192142921439214492145921469214792148921499215092151921529215392154921559215692157921589215992160921619216292163921649216592166921679216892169921709217192172921739217492175921769217792178921799218092181921829218392184921859218692187921889218992190921919219292193921949219592196921979219892199922009220192202922039220492205922069220792208922099221092211922129221392214922159221692217922189221992220922219222292223922249222592226922279222892229922309223192232922339223492235922369223792238922399224092241922429224392244922459224692247922489224992250922519225292253922549225592256922579225892259922609226192262922639226492265922669226792268922699227092271922729227392274922759227692277922789227992280922819228292283922849228592286922879228892289922909229192292922939229492295922969229792298922999230092301923029230392304923059230692307923089230992310923119231292313923149231592316923179231892319923209232192322923239232492325923269232792328923299233092331923329233392334923359233692337923389233992340923419234292343923449234592346923479234892349923509235192352923539235492355923569235792358923599236092361923629236392364923659236692367923689236992370923719237292373923749237592376923779237892379923809238192382923839238492385923869238792388923899239092391923929239392394923959239692397923989239992400924019240292403924049240592406924079240892409924109241192412924139241492415924169241792418924199242092421924229242392424924259242692427924289242992430924319243292433924349243592436924379243892439924409244192442924439244492445924469244792448924499245092451924529245392454924559245692457924589245992460924619246292463924649246592466924679246892469924709247192472924739247492475924769247792478924799248092481924829248392484924859248692487924889248992490924919249292493924949249592496924979249892499925009250192502925039250492505925069250792508925099251092511925129251392514925159251692517925189251992520925219252292523925249252592526925279252892529925309253192532925339253492535925369253792538925399254092541925429254392544925459254692547925489254992550925519255292553925549255592556925579255892559925609256192562925639256492565925669256792568925699257092571925729257392574925759257692577925789257992580925819258292583925849258592586925879258892589925909259192592925939259492595925969259792598925999260092601926029260392604926059260692607926089260992610926119261292613926149261592616926179261892619926209262192622926239262492625926269262792628926299263092631926329263392634926359263692637926389263992640926419264292643926449264592646926479264892649926509265192652926539265492655926569265792658926599266092661926629266392664926659266692667926689266992670926719267292673926749267592676926779267892679926809268192682926839268492685926869268792688926899269092691926929269392694926959269692697926989269992700927019270292703927049270592706927079270892709927109271192712927139271492715927169271792718927199272092721927229272392724927259272692727927289272992730927319273292733927349273592736927379273892739927409274192742927439274492745927469274792748927499275092751927529275392754927559275692757927589275992760927619276292763927649276592766927679276892769927709277192772927739277492775927769277792778927799278092781927829278392784927859278692787927889278992790927919279292793927949279592796927979279892799928009280192802928039280492805928069280792808928099281092811928129281392814928159281692817928189281992820928219282292823928249282592826928279282892829928309283192832928339283492835928369283792838928399284092841928429284392844928459284692847928489284992850928519285292853928549285592856928579285892859928609286192862928639286492865928669286792868928699287092871928729287392874928759287692877928789287992880928819288292883928849288592886928879288892889928909289192892928939289492895928969289792898928999290092901929029290392904929059290692907929089290992910929119291292913929149291592916929179291892919929209292192922929239292492925929269292792928929299293092931929329293392934929359293692937929389293992940929419294292943929449294592946929479294892949929509295192952929539295492955929569295792958929599296092961929629296392964929659296692967929689296992970929719297292973929749297592976929779297892979929809298192982929839298492985929869298792988929899299092991929929299392994929959299692997929989299993000930019300293003930049300593006930079300893009930109301193012930139301493015930169301793018930199302093021930229302393024930259302693027930289302993030930319303293033930349303593036930379303893039930409304193042930439304493045930469304793048930499305093051930529305393054930559305693057930589305993060930619306293063930649306593066930679306893069930709307193072930739307493075930769307793078930799308093081930829308393084930859308693087930889308993090930919309293093930949309593096930979309893099931009310193102931039310493105931069310793108931099311093111931129311393114931159311693117931189311993120931219312293123931249312593126931279312893129931309313193132931339313493135931369313793138931399314093141931429314393144931459314693147931489314993150931519315293153931549315593156931579315893159931609316193162931639316493165931669316793168931699317093171931729317393174931759317693177931789317993180931819318293183931849318593186931879318893189931909319193192931939319493195931969319793198931999320093201932029320393204932059320693207932089320993210932119321293213932149321593216932179321893219932209322193222932239322493225932269322793228932299323093231932329323393234932359323693237932389323993240932419324293243932449324593246932479324893249932509325193252932539325493255932569325793258932599326093261932629326393264932659326693267932689326993270932719327293273932749327593276932779327893279932809328193282932839328493285932869328793288932899329093291932929329393294932959329693297932989329993300933019330293303933049330593306933079330893309933109331193312933139331493315933169331793318933199332093321933229332393324933259332693327933289332993330933319333293333933349333593336933379333893339933409334193342933439334493345933469334793348933499335093351933529335393354933559335693357933589335993360933619336293363933649336593366933679336893369933709337193372933739337493375933769337793378933799338093381933829338393384933859338693387933889338993390933919339293393933949339593396933979339893399934009340193402934039340493405934069340793408934099341093411934129341393414934159341693417934189341993420934219342293423934249342593426934279342893429934309343193432934339343493435934369343793438934399344093441934429344393444934459344693447934489344993450934519345293453934549345593456934579345893459934609346193462934639346493465934669346793468934699347093471934729347393474934759347693477934789347993480934819348293483934849348593486934879348893489934909349193492934939349493495934969349793498934999350093501935029350393504935059350693507935089350993510935119351293513935149351593516935179351893519935209352193522935239352493525935269352793528935299353093531935329353393534935359353693537935389353993540935419354293543935449354593546935479354893549935509355193552935539355493555935569355793558935599356093561935629356393564935659356693567935689356993570935719357293573935749357593576935779357893579935809358193582935839358493585935869358793588935899359093591935929359393594935959359693597935989359993600936019360293603936049360593606936079360893609936109361193612936139361493615936169361793618936199362093621936229362393624936259362693627936289362993630936319363293633936349363593636936379363893639936409364193642936439364493645936469364793648936499365093651936529365393654936559365693657936589365993660936619366293663936649366593666936679366893669936709367193672936739367493675936769367793678936799368093681936829368393684936859368693687936889368993690936919369293693936949369593696936979369893699937009370193702937039370493705937069370793708937099371093711937129371393714937159371693717937189371993720937219372293723937249372593726937279372893729937309373193732937339373493735937369373793738937399374093741937429374393744937459374693747937489374993750937519375293753937549375593756937579375893759937609376193762937639376493765937669376793768937699377093771937729377393774937759377693777937789377993780937819378293783937849378593786937879378893789937909379193792937939379493795937969379793798937999380093801938029380393804938059380693807938089380993810938119381293813938149381593816938179381893819938209382193822938239382493825938269382793828938299383093831938329383393834938359383693837938389383993840938419384293843938449384593846938479384893849938509385193852938539385493855938569385793858938599386093861938629386393864938659386693867938689386993870938719387293873938749387593876938779387893879938809388193882938839388493885938869388793888938899389093891938929389393894938959389693897938989389993900939019390293903939049390593906939079390893909939109391193912939139391493915939169391793918939199392093921939229392393924939259392693927939289392993930939319393293933939349393593936939379393893939939409394193942939439394493945939469394793948939499395093951939529395393954939559395693957939589395993960939619396293963939649396593966939679396893969939709397193972939739397493975939769397793978939799398093981939829398393984939859398693987939889398993990939919399293993939949399593996939979399893999940009400194002940039400494005940069400794008940099401094011940129401394014940159401694017940189401994020940219402294023940249402594026940279402894029940309403194032940339403494035940369403794038940399404094041940429404394044940459404694047940489404994050940519405294053940549405594056940579405894059940609406194062940639406494065940669406794068940699407094071940729407394074940759407694077940789407994080940819408294083940849408594086940879408894089940909409194092940939409494095940969409794098940999410094101941029410394104941059410694107941089410994110941119411294113941149411594116941179411894119941209412194122941239412494125941269412794128941299413094131941329413394134941359413694137941389413994140941419414294143941449414594146941479414894149941509415194152941539415494155941569415794158941599416094161941629416394164941659416694167941689416994170941719417294173941749417594176941779417894179941809418194182941839418494185941869418794188941899419094191941929419394194941959419694197941989419994200942019420294203942049420594206942079420894209942109421194212942139421494215942169421794218942199422094221942229422394224942259422694227942289422994230942319423294233942349423594236942379423894239942409424194242942439424494245942469424794248942499425094251942529425394254942559425694257942589425994260942619426294263942649426594266942679426894269942709427194272942739427494275942769427794278942799428094281942829428394284942859428694287942889428994290942919429294293942949429594296942979429894299943009430194302943039430494305943069430794308943099431094311943129431394314943159431694317943189431994320943219432294323943249432594326943279432894329943309433194332943339433494335943369433794338943399434094341943429434394344943459434694347943489434994350943519435294353943549435594356943579435894359943609436194362943639436494365943669436794368943699437094371943729437394374943759437694377943789437994380943819438294383943849438594386943879438894389943909439194392943939439494395943969439794398943999440094401944029440394404944059440694407944089440994410944119441294413944149441594416944179441894419944209442194422944239442494425944269442794428944299443094431944329443394434944359443694437944389443994440944419444294443944449444594446944479444894449944509445194452944539445494455944569445794458944599446094461944629446394464944659446694467944689446994470944719447294473944749447594476944779447894479944809448194482944839448494485944869448794488944899449094491944929449394494944959449694497944989449994500945019450294503945049450594506945079450894509945109451194512945139451494515945169451794518945199452094521945229452394524945259452694527945289452994530945319453294533945349453594536945379453894539945409454194542945439454494545945469454794548945499455094551945529455394554945559455694557945589455994560945619456294563945649456594566945679456894569945709457194572945739457494575945769457794578945799458094581945829458394584945859458694587945889458994590945919459294593945949459594596945979459894599946009460194602946039460494605946069460794608946099461094611946129461394614946159461694617946189461994620946219462294623946249462594626946279462894629946309463194632946339463494635946369463794638946399464094641946429464394644946459464694647946489464994650946519465294653946549465594656946579465894659946609466194662946639466494665946669466794668946699467094671946729467394674946759467694677946789467994680946819468294683946849468594686946879468894689946909469194692946939469494695946969469794698946999470094701947029470394704947059470694707947089470994710947119471294713947149471594716947179471894719947209472194722947239472494725947269472794728947299473094731947329473394734947359473694737947389473994740947419474294743947449474594746947479474894749947509475194752947539475494755947569475794758947599476094761947629476394764947659476694767947689476994770947719477294773947749477594776947779477894779947809478194782947839478494785947869478794788947899479094791947929479394794947959479694797947989479994800948019480294803948049480594806948079480894809948109481194812948139481494815948169481794818948199482094821948229482394824948259482694827948289482994830948319483294833948349483594836948379483894839948409484194842948439484494845948469484794848948499485094851948529485394854948559485694857948589485994860948619486294863948649486594866948679486894869948709487194872948739487494875948769487794878948799488094881948829488394884948859488694887948889488994890948919489294893948949489594896948979489894899949009490194902949039490494905949069490794908949099491094911949129491394914949159491694917949189491994920949219492294923949249492594926949279492894929949309493194932949339493494935949369493794938949399494094941949429494394944949459494694947949489494994950949519495294953949549495594956949579495894959949609496194962949639496494965949669496794968949699497094971949729497394974949759497694977949789497994980949819498294983949849498594986949879498894989949909499194992949939499494995949969499794998949999500095001950029500395004950059500695007950089500995010950119501295013950149501595016950179501895019950209502195022950239502495025950269502795028950299503095031950329503395034950359503695037950389503995040950419504295043950449504595046950479504895049950509505195052950539505495055950569505795058950599506095061950629506395064950659506695067950689506995070950719507295073950749507595076950779507895079950809508195082950839508495085950869508795088950899509095091950929509395094950959509695097950989509995100951019510295103951049510595106951079510895109951109511195112951139511495115951169511795118951199512095121951229512395124951259512695127951289512995130951319513295133951349513595136951379513895139951409514195142951439514495145951469514795148951499515095151951529515395154951559515695157951589515995160951619516295163951649516595166951679516895169951709517195172951739517495175951769517795178951799518095181951829518395184951859518695187951889518995190951919519295193951949519595196951979519895199952009520195202952039520495205952069520795208952099521095211952129521395214952159521695217952189521995220952219522295223952249522595226952279522895229952309523195232952339523495235952369523795238952399524095241952429524395244952459524695247952489524995250952519525295253952549525595256952579525895259952609526195262952639526495265952669526795268952699527095271952729527395274952759527695277952789527995280952819528295283952849528595286952879528895289952909529195292952939529495295952969529795298952999530095301953029530395304953059530695307953089530995310953119531295313953149531595316953179531895319953209532195322953239532495325953269532795328953299533095331953329533395334953359533695337953389533995340953419534295343953449534595346953479534895349953509535195352953539535495355953569535795358953599536095361953629536395364953659536695367953689536995370953719537295373953749537595376953779537895379953809538195382953839538495385953869538795388953899539095391953929539395394953959539695397953989539995400954019540295403954049540595406954079540895409954109541195412954139541495415954169541795418954199542095421954229542395424954259542695427954289542995430954319543295433954349543595436954379543895439954409544195442954439544495445954469544795448954499545095451954529545395454954559545695457954589545995460954619546295463954649546595466954679546895469954709547195472954739547495475954769547795478954799548095481954829548395484954859548695487954889548995490954919549295493954949549595496954979549895499955009550195502955039550495505955069550795508955099551095511955129551395514955159551695517955189551995520955219552295523955249552595526955279552895529955309553195532955339553495535955369553795538955399554095541955429554395544955459554695547955489554995550955519555295553955549555595556955579555895559955609556195562955639556495565955669556795568955699557095571955729557395574955759557695577955789557995580955819558295583955849558595586955879558895589955909559195592955939559495595955969559795598955999560095601956029560395604956059560695607956089560995610956119561295613956149561595616956179561895619956209562195622956239562495625956269562795628956299563095631956329563395634956359563695637956389563995640956419564295643956449564595646956479564895649956509565195652956539565495655956569565795658956599566095661956629566395664956659566695667956689566995670956719567295673956749567595676956779567895679956809568195682956839568495685956869568795688956899569095691956929569395694956959569695697956989569995700957019570295703957049570595706957079570895709957109571195712957139571495715957169571795718957199572095721957229572395724957259572695727957289572995730957319573295733957349573595736957379573895739957409574195742957439574495745957469574795748957499575095751957529575395754957559575695757957589575995760957619576295763957649576595766957679576895769957709577195772957739577495775957769577795778957799578095781957829578395784957859578695787957889578995790957919579295793957949579595796957979579895799958009580195802958039580495805958069580795808958099581095811958129581395814958159581695817958189581995820958219582295823958249582595826958279582895829958309583195832958339583495835958369583795838958399584095841958429584395844958459584695847958489584995850958519585295853958549585595856958579585895859958609586195862958639586495865958669586795868958699587095871958729587395874958759587695877958789587995880958819588295883958849588595886958879588895889958909589195892958939589495895958969589795898958999590095901959029590395904959059590695907959089590995910959119591295913959149591595916959179591895919959209592195922959239592495925959269592795928959299593095931959329593395934959359593695937959389593995940959419594295943959449594595946959479594895949959509595195952959539595495955959569595795958959599596095961959629596395964959659596695967959689596995970959719597295973959749597595976959779597895979959809598195982959839598495985959869598795988959899599095991959929599395994959959599695997959989599996000960019600296003960049600596006960079600896009960109601196012960139601496015960169601796018960199602096021960229602396024960259602696027960289602996030960319603296033960349603596036960379603896039960409604196042960439604496045960469604796048960499605096051960529605396054960559605696057960589605996060960619606296063960649606596066960679606896069960709607196072960739607496075960769607796078960799608096081960829608396084960859608696087960889608996090960919609296093960949609596096960979609896099961009610196102961039610496105961069610796108961099611096111961129611396114961159611696117961189611996120961219612296123961249612596126961279612896129961309613196132961339613496135961369613796138961399614096141961429614396144961459614696147961489614996150961519615296153961549615596156961579615896159961609616196162961639616496165961669616796168961699617096171961729617396174961759617696177961789617996180961819618296183961849618596186961879618896189961909619196192961939619496195961969619796198961999620096201962029620396204962059620696207962089620996210962119621296213962149621596216962179621896219962209622196222962239622496225962269622796228962299623096231962329623396234962359623696237962389623996240962419624296243962449624596246962479624896249962509625196252962539625496255962569625796258962599626096261962629626396264962659626696267962689626996270962719627296273962749627596276962779627896279962809628196282962839628496285962869628796288962899629096291962929629396294962959629696297962989629996300963019630296303963049630596306963079630896309963109631196312963139631496315963169631796318963199632096321963229632396324963259632696327963289632996330963319633296333963349633596336963379633896339963409634196342963439634496345963469634796348963499635096351963529635396354963559635696357963589635996360963619636296363963649636596366963679636896369963709637196372963739637496375963769637796378963799638096381963829638396384963859638696387963889638996390963919639296393963949639596396963979639896399964009640196402964039640496405964069640796408964099641096411964129641396414964159641696417964189641996420964219642296423964249642596426964279642896429964309643196432964339643496435964369643796438964399644096441964429644396444964459644696447964489644996450964519645296453964549645596456964579645896459964609646196462964639646496465964669646796468964699647096471964729647396474964759647696477964789647996480964819648296483964849648596486964879648896489964909649196492964939649496495964969649796498964999650096501965029650396504965059650696507965089650996510965119651296513965149651596516965179651896519965209652196522965239652496525965269652796528965299653096531965329653396534965359653696537965389653996540965419654296543965449654596546965479654896549965509655196552965539655496555965569655796558965599656096561965629656396564965659656696567965689656996570965719657296573965749657596576965779657896579965809658196582965839658496585965869658796588965899659096591965929659396594965959659696597965989659996600966019660296603966049660596606966079660896609966109661196612966139661496615966169661796618966199662096621966229662396624966259662696627966289662996630966319663296633966349663596636966379663896639966409664196642966439664496645966469664796648966499665096651966529665396654966559665696657966589665996660966619666296663966649666596666966679666896669966709667196672966739667496675966769667796678966799668096681966829668396684966859668696687966889668996690966919669296693966949669596696966979669896699967009670196702967039670496705967069670796708967099671096711967129671396714967159671696717967189671996720967219672296723967249672596726967279672896729967309673196732967339673496735967369673796738967399674096741967429674396744967459674696747967489674996750967519675296753967549675596756967579675896759967609676196762967639676496765967669676796768967699677096771967729677396774967759677696777967789677996780967819678296783967849678596786967879678896789967909679196792967939679496795967969679796798967999680096801968029680396804968059680696807968089680996810968119681296813968149681596816968179681896819968209682196822968239682496825968269682796828968299683096831968329683396834968359683696837968389683996840968419684296843968449684596846968479684896849968509685196852968539685496855968569685796858968599686096861968629686396864968659686696867968689686996870968719687296873968749687596876968779687896879968809688196882968839688496885968869688796888968899689096891968929689396894968959689696897968989689996900969019690296903969049690596906969079690896909969109691196912969139691496915969169691796918969199692096921969229692396924969259692696927969289692996930969319693296933969349693596936969379693896939969409694196942969439694496945969469694796948969499695096951969529695396954969559695696957969589695996960969619696296963969649696596966969679696896969969709697196972969739697496975969769697796978969799698096981969829698396984969859698696987969889698996990969919699296993969949699596996969979699896999970009700197002970039700497005970069700797008970099701097011970129701397014970159701697017970189701997020970219702297023970249702597026970279702897029970309703197032970339703497035970369703797038970399704097041970429704397044970459704697047970489704997050970519705297053970549705597056970579705897059970609706197062970639706497065970669706797068970699707097071970729707397074970759707697077970789707997080970819708297083970849708597086970879708897089970909709197092970939709497095970969709797098970999710097101971029710397104971059710697107971089710997110971119711297113971149711597116971179711897119971209712197122971239712497125971269712797128971299713097131971329713397134971359713697137971389713997140971419714297143971449714597146971479714897149971509715197152971539715497155971569715797158971599716097161971629716397164971659716697167971689716997170971719717297173971749717597176971779717897179971809718197182971839718497185971869718797188971899719097191971929719397194971959719697197971989719997200972019720297203972049720597206972079720897209972109721197212972139721497215972169721797218972199722097221972229722397224972259722697227972289722997230972319723297233972349723597236972379723897239972409724197242972439724497245972469724797248972499725097251972529725397254972559725697257972589725997260972619726297263972649726597266972679726897269972709727197272972739727497275972769727797278972799728097281972829728397284972859728697287972889728997290972919729297293972949729597296972979729897299973009730197302973039730497305973069730797308973099731097311973129731397314973159731697317973189731997320973219732297323973249732597326973279732897329973309733197332973339733497335973369733797338973399734097341973429734397344973459734697347973489734997350973519735297353973549735597356973579735897359973609736197362973639736497365973669736797368973699737097371973729737397374973759737697377973789737997380973819738297383973849738597386973879738897389973909739197392973939739497395973969739797398973999740097401974029740397404974059740697407974089740997410974119741297413974149741597416974179741897419974209742197422974239742497425974269742797428974299743097431974329743397434974359743697437974389743997440974419744297443974449744597446974479744897449974509745197452974539745497455974569745797458974599746097461974629746397464974659746697467974689746997470974719747297473974749747597476974779747897479974809748197482974839748497485974869748797488974899749097491974929749397494974959749697497974989749997500975019750297503975049750597506975079750897509975109751197512975139751497515975169751797518975199752097521975229752397524975259752697527975289752997530975319753297533975349753597536975379753897539975409754197542975439754497545975469754797548975499755097551975529755397554975559755697557975589755997560975619756297563975649756597566975679756897569975709757197572975739757497575975769757797578975799758097581975829758397584975859758697587975889758997590975919759297593975949759597596975979759897599976009760197602976039760497605976069760797608976099761097611976129761397614976159761697617976189761997620976219762297623976249762597626976279762897629976309763197632976339763497635976369763797638976399764097641976429764397644976459764697647976489764997650976519765297653976549765597656976579765897659976609766197662976639766497665976669766797668976699767097671976729767397674976759767697677976789767997680976819768297683976849768597686976879768897689976909769197692976939769497695976969769797698976999770097701977029770397704977059770697707977089770997710977119771297713977149771597716977179771897719977209772197722977239772497725977269772797728977299773097731977329773397734977359773697737977389773997740977419774297743977449774597746977479774897749977509775197752977539775497755977569775797758977599776097761977629776397764977659776697767977689776997770977719777297773977749777597776977779777897779977809778197782977839778497785977869778797788977899779097791977929779397794977959779697797977989779997800978019780297803978049780597806978079780897809978109781197812978139781497815978169781797818978199782097821978229782397824978259782697827978289782997830978319783297833978349783597836978379783897839978409784197842978439784497845978469784797848978499785097851978529785397854978559785697857978589785997860978619786297863978649786597866978679786897869978709787197872978739787497875978769787797878978799788097881978829788397884978859788697887978889788997890978919789297893978949789597896978979789897899979009790197902979039790497905979069790797908979099791097911979129791397914979159791697917979189791997920979219792297923979249792597926979279792897929979309793197932979339793497935979369793797938979399794097941979429794397944979459794697947979489794997950979519795297953979549795597956979579795897959979609796197962979639796497965979669796797968979699797097971979729797397974979759797697977979789797997980979819798297983979849798597986979879798897989979909799197992979939799497995979969799797998979999800098001980029800398004980059800698007980089800998010980119801298013980149801598016980179801898019980209802198022980239802498025980269802798028980299803098031980329803398034980359803698037980389803998040980419804298043980449804598046980479804898049980509805198052980539805498055980569805798058980599806098061980629806398064980659806698067980689806998070980719807298073980749807598076980779807898079980809808198082980839808498085980869808798088980899809098091980929809398094980959809698097980989809998100981019810298103981049810598106981079810898109981109811198112981139811498115981169811798118981199812098121981229812398124981259812698127981289812998130981319813298133981349813598136981379813898139981409814198142981439814498145981469814798148981499815098151981529815398154981559815698157981589815998160981619816298163981649816598166981679816898169981709817198172981739817498175981769817798178981799818098181981829818398184981859818698187981889818998190981919819298193981949819598196981979819898199982009820198202982039820498205982069820798208982099821098211982129821398214982159821698217982189821998220982219822298223982249822598226982279822898229982309823198232982339823498235982369823798238982399824098241982429824398244982459824698247982489824998250982519825298253982549825598256982579825898259982609826198262982639826498265982669826798268982699827098271982729827398274982759827698277982789827998280982819828298283982849828598286982879828898289982909829198292982939829498295982969829798298982999830098301983029830398304983059830698307983089830998310983119831298313983149831598316983179831898319983209832198322983239832498325983269832798328983299833098331983329833398334983359833698337983389833998340983419834298343983449834598346983479834898349983509835198352983539835498355983569835798358983599836098361983629836398364983659836698367983689836998370983719837298373983749837598376983779837898379983809838198382983839838498385983869838798388983899839098391983929839398394983959839698397983989839998400984019840298403984049840598406984079840898409984109841198412984139841498415984169841798418984199842098421984229842398424984259842698427984289842998430984319843298433984349843598436984379843898439984409844198442984439844498445984469844798448984499845098451984529845398454984559845698457984589845998460984619846298463984649846598466984679846898469984709847198472984739847498475984769847798478984799848098481984829848398484984859848698487984889848998490984919849298493984949849598496984979849898499985009850198502985039850498505985069850798508985099851098511985129851398514985159851698517985189851998520985219852298523985249852598526985279852898529985309853198532985339853498535985369853798538985399854098541985429854398544985459854698547985489854998550985519855298553985549855598556985579855898559985609856198562985639856498565985669856798568985699857098571985729857398574985759857698577985789857998580985819858298583985849858598586985879858898589985909859198592985939859498595985969859798598985999860098601986029860398604986059860698607986089860998610986119861298613986149861598616986179861898619986209862198622986239862498625986269862798628986299863098631986329863398634986359863698637986389863998640986419864298643986449864598646986479864898649986509865198652986539865498655986569865798658986599866098661986629866398664986659866698667986689866998670986719867298673986749867598676986779867898679986809868198682986839868498685986869868798688986899869098691986929869398694986959869698697986989869998700987019870298703987049870598706987079870898709987109871198712987139871498715987169871798718987199872098721987229872398724987259872698727987289872998730987319873298733987349873598736987379873898739987409874198742987439874498745987469874798748987499875098751987529875398754987559875698757987589875998760987619876298763987649876598766987679876898769987709877198772987739877498775987769877798778987799878098781987829878398784987859878698787987889878998790987919879298793987949879598796987979879898799988009880198802988039880498805988069880798808988099881098811988129881398814988159881698817988189881998820988219882298823988249882598826988279882898829988309883198832988339883498835988369883798838988399884098841988429884398844988459884698847988489884998850988519885298853988549885598856988579885898859988609886198862988639886498865988669886798868988699887098871988729887398874988759887698877988789887998880988819888298883988849888598886988879888898889988909889198892988939889498895988969889798898988999890098901989029890398904989059890698907989089890998910989119891298913989149891598916989179891898919989209892198922989239892498925989269892798928989299893098931989329893398934989359893698937989389893998940989419894298943989449894598946989479894898949989509895198952989539895498955989569895798958989599896098961989629896398964989659896698967989689896998970989719897298973989749897598976989779897898979989809898198982989839898498985989869898798988989899899098991989929899398994989959899698997989989899999000990019900299003990049900599006990079900899009990109901199012990139901499015990169901799018990199902099021990229902399024990259902699027990289902999030990319903299033990349903599036990379903899039990409904199042990439904499045990469904799048990499905099051990529905399054990559905699057990589905999060990619906299063990649906599066990679906899069990709907199072990739907499075990769907799078990799908099081990829908399084990859908699087990889908999090990919909299093990949909599096990979909899099991009910199102991039910499105991069910799108991099911099111991129911399114991159911699117991189911999120991219912299123991249912599126991279912899129991309913199132991339913499135991369913799138991399914099141991429914399144991459914699147991489914999150991519915299153991549915599156991579915899159991609916199162991639916499165991669916799168991699917099171991729917399174991759917699177991789917999180991819918299183991849918599186991879918899189991909919199192991939919499195991969919799198991999920099201992029920399204992059920699207992089920999210992119921299213992149921599216992179921899219992209922199222992239922499225992269922799228992299923099231992329923399234992359923699237992389923999240992419924299243992449924599246992479924899249992509925199252992539925499255992569925799258992599926099261992629926399264992659926699267992689926999270992719927299273992749927599276992779927899279992809928199282992839928499285992869928799288992899929099291992929929399294992959929699297992989929999300993019930299303993049930599306993079930899309993109931199312993139931499315993169931799318993199932099321993229932399324993259932699327993289932999330993319933299333993349933599336993379933899339993409934199342993439934499345993469934799348993499935099351993529935399354993559935699357993589935999360993619936299363993649936599366993679936899369993709937199372993739937499375993769937799378993799938099381993829938399384993859938699387993889938999390993919939299393993949939599396993979939899399994009940199402994039940499405994069940799408994099941099411994129941399414994159941699417994189941999420994219942299423994249942599426994279942899429994309943199432994339943499435994369943799438994399944099441994429944399444994459944699447994489944999450994519945299453994549945599456994579945899459994609946199462994639946499465994669946799468994699947099471994729947399474994759947699477994789947999480994819948299483994849948599486994879948899489994909949199492994939949499495994969949799498994999950099501995029950399504995059950699507995089950999510995119951299513995149951599516995179951899519995209952199522995239952499525995269952799528995299953099531995329953399534995359953699537995389953999540995419954299543995449954599546995479954899549995509955199552995539955499555995569955799558995599956099561995629956399564995659956699567995689956999570995719957299573995749957599576995779957899579995809958199582995839958499585995869958799588995899959099591995929959399594995959959699597995989959999600996019960299603996049960599606996079960899609996109961199612996139961499615996169961799618996199962099621996229962399624996259962699627996289962999630996319963299633996349963599636996379963899639996409964199642996439964499645996469964799648996499965099651996529965399654996559965699657996589965999660996619966299663996649966599666996679966899669996709967199672996739967499675996769967799678996799968099681996829968399684996859968699687996889968999690996919969299693996949969599696996979969899699997009970199702997039970499705997069970799708997099971099711997129971399714997159971699717997189971999720997219972299723997249972599726997279972899729997309973199732997339973499735997369973799738997399974099741997429974399744997459974699747997489974999750997519975299753997549975599756997579975899759997609976199762997639976499765997669976799768997699977099771997729977399774997759977699777997789977999780997819978299783997849978599786997879978899789997909979199792997939979499795997969979799798997999980099801998029980399804998059980699807998089980999810998119981299813998149981599816998179981899819998209982199822998239982499825998269982799828998299983099831998329983399834998359983699837998389983999840998419984299843998449984599846998479984899849998509985199852998539985499855998569985799858998599986099861998629986399864998659986699867998689986999870998719987299873998749987599876998779987899879998809988199882998839988499885998869988799888998899989099891998929989399894998959989699897998989989999900999019990299903999049990599906999079990899909999109991199912999139991499915999169991799918999199992099921999229992399924999259992699927999289992999930999319993299933999349993599936999379993899939999409994199942999439994499945999469994799948999499995099951999529995399954999559995699957999589995999960999619996299963999649996599966999679996899969999709997199972999739997499975999769997799978999799998099981999829998399984999859998699987999889998999990999919999299993999949999599996999979999899999100000100001100002100003100004100005100006100007100008100009100010100011100012100013100014100015100016100017100018100019100020100021100022100023100024100025100026100027100028100029100030100031100032100033100034100035100036100037100038100039100040100041100042100043100044100045100046100047100048100049100050100051100052100053100054100055100056100057100058100059100060100061100062100063100064100065100066100067100068100069100070100071100072100073100074100075100076100077100078100079100080100081100082100083100084100085100086100087100088100089100090100091100092100093100094100095100096100097100098100099100100100101100102100103100104100105100106100107100108100109100110100111100112100113100114100115100116100117100118100119100120100121100122100123100124100125100126100127100128100129100130100131100132100133100134100135100136100137100138100139100140100141100142100143100144100145100146100147100148100149100150100151100152100153100154100155100156100157100158100159100160100161100162100163100164100165100166100167100168100169100170100171100172100173100174100175100176100177100178100179100180100181100182100183100184100185100186100187100188100189100190100191100192100193100194100195100196100197100198100199100200100201100202100203100204100205100206100207100208100209100210100211100212100213100214100215100216100217100218100219100220100221100222100223100224100225100226100227100228100229100230100231100232100233100234100235100236100237100238100239100240100241100242100243100244100245100246100247100248100249100250100251100252100253100254100255100256100257100258100259100260100261100262100263100264100265100266100267100268100269100270100271100272100273100274100275100276100277100278100279100280100281100282100283100284100285100286100287100288100289100290100291100292100293100294100295100296100297100298100299100300100301100302100303100304100305100306100307100308100309100310100311100312100313100314100315100316100317100318100319100320100321100322100323100324100325100326100327100328100329100330100331100332100333100334100335100336100337100338100339100340100341100342100343100344100345100346100347100348100349100350100351100352100353100354100355100356100357100358100359100360100361100362100363100364100365100366100367100368100369100370100371100372100373100374100375100376100377100378100379100380100381100382100383100384100385100386100387100388100389100390100391100392100393100394100395100396100397100398100399100400100401100402100403100404100405100406100407100408100409100410100411100412100413100414100415100416100417100418100419100420100421100422100423100424100425100426100427100428100429100430100431100432100433100434100435100436100437100438100439100440100441100442100443100444100445100446100447100448100449100450100451100452100453100454100455100456100457100458100459100460100461100462100463100464100465100466100467100468100469100470100471100472100473100474100475100476100477100478100479100480100481100482100483100484100485100486100487100488100489100490100491100492100493100494100495100496100497100498100499100500100501100502100503100504100505100506100507100508100509100510100511100512100513100514100515100516100517100518100519100520100521100522100523100524100525100526100527100528100529100530100531100532100533100534100535100536100537100538100539100540100541100542100543100544100545100546100547100548100549100550100551100552100553100554100555100556100557100558100559100560100561100562100563100564100565100566100567100568100569100570100571100572100573100574100575100576100577100578100579100580100581100582100583100584100585100586100587100588100589100590100591100592100593100594100595100596100597100598100599100600100601100602100603100604100605100606100607100608100609100610100611100612100613100614100615100616100617100618100619100620100621100622100623100624100625100626100627100628100629100630100631100632100633100634100635100636100637100638100639100640100641100642100643100644100645100646100647100648100649100650100651100652100653100654100655100656100657100658100659100660100661100662100663100664100665100666100667100668100669100670100671100672100673100674100675100676100677100678100679100680100681100682100683100684100685100686100687100688100689100690100691100692100693100694100695100696100697100698100699100700100701100702100703100704100705100706100707100708100709100710100711100712100713100714100715100716100717100718100719100720100721100722100723100724100725100726100727100728100729100730100731100732100733100734100735100736100737100738100739100740100741100742100743100744100745100746100747100748100749100750100751100752100753100754100755100756100757100758100759100760100761100762100763100764100765100766100767100768100769100770100771100772100773100774100775100776100777100778100779100780100781100782100783100784100785100786100787100788100789100790100791100792100793100794100795100796100797100798100799100800100801100802100803100804100805100806100807100808100809100810100811100812100813100814100815100816100817100818100819100820100821100822100823100824100825100826100827100828100829100830100831100832100833100834100835100836100837100838100839100840100841100842100843100844100845100846100847100848100849100850100851100852100853100854100855100856100857100858100859100860100861100862100863100864100865100866100867100868100869100870100871100872100873100874100875100876100877100878100879100880100881100882100883100884100885100886100887100888100889100890100891100892100893100894100895100896100897100898100899100900100901100902100903100904100905100906100907100908100909100910100911100912100913100914100915100916100917100918100919100920100921100922100923100924100925100926100927100928100929100930100931100932100933100934100935100936100937100938100939100940100941100942100943100944100945100946100947100948100949100950100951100952100953100954100955100956100957100958100959100960100961100962100963100964100965100966100967100968100969100970100971100972100973100974100975100976100977100978100979100980100981100982100983100984100985100986100987100988100989100990100991100992100993100994100995100996100997100998100999101000101001101002101003101004101005101006101007101008101009101010101011101012101013101014101015101016101017101018101019101020101021101022101023101024101025101026101027101028101029101030101031101032101033101034101035101036101037101038101039101040101041101042101043101044101045101046101047101048101049101050101051101052101053101054101055101056101057101058101059101060101061101062101063101064101065101066101067101068101069101070101071101072101073101074101075101076101077101078101079101080101081101082101083101084101085101086101087101088101089101090101091101092101093101094101095101096101097101098101099101100101101101102101103101104101105101106101107101108101109101110101111101112101113101114101115101116101117101118101119101120101121101122101123101124101125101126101127101128101129101130101131101132101133101134101135101136101137101138101139101140101141101142101143101144101145101146101147101148101149101150101151101152101153101154101155101156101157101158101159101160101161101162101163101164101165101166101167101168101169101170101171101172101173101174101175101176101177101178101179101180101181101182101183101184101185101186101187101188101189101190101191101192101193101194101195101196101197101198101199101200101201101202101203101204101205101206101207101208101209101210101211101212101213101214101215101216101217101218101219101220101221101222101223101224101225101226101227101228101229101230101231101232101233101234101235101236101237101238101239101240101241101242101243101244101245101246101247101248101249101250101251101252101253101254101255101256101257101258101259101260101261101262101263101264101265101266101267101268101269101270101271101272101273101274101275101276101277101278101279101280101281101282101283101284101285101286101287101288101289101290101291101292101293101294101295101296101297101298101299101300101301101302101303101304101305101306101307101308101309101310101311101312101313101314101315101316101317101318101319101320101321101322101323101324101325101326101327101328101329101330101331101332101333101334101335101336101337101338101339101340101341101342101343101344101345101346101347101348101349101350101351101352101353101354101355101356101357101358101359101360101361101362101363101364101365101366101367101368101369101370101371101372101373101374101375101376101377101378101379101380101381101382101383101384101385101386101387101388101389101390101391101392101393101394101395101396101397101398101399101400101401101402101403101404101405101406101407101408101409101410101411101412101413101414101415101416101417101418101419101420101421101422101423101424101425101426101427101428101429101430101431101432101433101434101435101436101437101438101439101440101441101442101443101444101445101446101447101448101449101450101451101452101453101454101455101456101457101458101459101460101461101462101463101464101465101466101467101468101469101470101471101472101473101474101475101476101477101478101479101480101481101482101483101484101485101486101487101488101489101490101491101492101493101494101495101496101497101498101499101500101501101502101503101504101505101506101507101508101509101510101511101512101513101514101515101516101517101518101519101520101521101522101523101524101525101526101527101528101529101530101531101532101533101534101535101536101537101538101539101540101541101542101543101544101545101546101547101548101549101550101551101552101553101554101555101556101557101558101559101560101561101562101563101564101565101566101567101568101569101570101571101572101573101574101575101576101577101578101579101580101581101582101583101584101585101586101587101588101589101590101591101592101593101594101595101596101597101598101599101600101601101602101603101604101605101606101607101608101609101610101611101612101613101614101615101616101617101618101619101620101621101622101623101624101625101626101627101628101629101630101631101632101633101634101635101636101637101638101639101640101641101642101643101644101645101646101647101648101649101650101651101652101653101654101655101656101657101658101659101660101661101662101663101664101665101666101667101668101669101670101671101672101673101674101675101676101677101678101679101680101681101682101683101684101685101686101687101688101689101690101691101692101693101694101695101696101697101698101699101700101701101702101703101704101705101706101707101708101709101710101711101712101713101714101715101716101717101718101719101720101721101722101723101724101725101726101727101728101729101730101731101732101733101734101735101736101737101738101739101740101741101742101743101744101745101746101747101748101749101750101751101752101753101754101755101756101757101758101759101760101761101762101763101764101765101766101767101768101769101770101771101772101773101774101775101776101777101778101779101780101781101782101783101784101785101786101787101788101789101790101791101792101793101794101795101796101797101798101799101800101801101802101803101804101805101806101807101808101809101810101811101812101813101814101815101816101817101818101819101820101821101822101823101824101825101826101827101828101829101830101831101832101833101834101835101836101837101838101839101840101841101842101843101844101845101846101847101848101849101850101851101852101853101854101855101856101857101858101859101860101861101862101863101864101865101866101867101868101869101870101871101872101873101874101875101876101877101878101879101880101881101882101883101884101885101886101887101888101889101890101891101892101893101894101895101896101897101898101899101900101901101902101903101904101905101906101907101908101909101910101911101912101913101914101915101916101917101918101919101920101921101922101923101924101925101926101927101928101929101930101931101932101933101934101935101936101937101938101939101940101941101942101943101944101945101946101947101948101949101950101951101952101953101954101955101956101957101958101959101960101961101962101963101964101965101966101967101968101969101970101971101972101973101974101975101976101977101978101979101980101981101982101983101984101985101986101987101988101989101990101991101992101993101994101995101996101997101998101999102000102001102002102003102004102005102006102007102008102009102010102011102012102013102014102015102016102017102018102019102020102021102022102023102024102025102026102027102028102029102030102031102032102033102034102035102036102037102038102039102040102041102042102043102044102045102046102047102048102049102050102051102052102053102054102055102056102057102058102059102060102061102062102063102064102065102066102067102068102069102070102071102072102073102074102075102076102077102078102079102080102081102082102083102084102085102086102087102088102089102090102091102092102093102094102095102096102097102098102099102100102101102102102103102104102105102106102107102108102109102110102111102112102113102114102115102116102117102118102119102120102121102122102123102124102125102126102127102128102129102130102131102132102133102134102135102136102137102138102139102140102141102142102143102144102145102146102147102148102149102150102151102152102153102154102155102156102157102158102159102160102161102162102163102164102165102166102167102168102169102170102171102172102173102174102175102176102177102178102179102180102181102182102183102184102185102186102187102188102189102190102191102192102193102194102195102196102197102198102199102200102201102202102203102204102205102206102207102208102209102210102211102212102213102214102215102216102217102218102219102220102221102222102223102224102225102226102227102228102229102230102231102232102233102234102235102236102237102238102239102240102241102242102243102244102245102246102247102248102249102250102251102252102253102254102255102256102257102258102259102260102261102262102263102264102265102266102267102268102269102270102271102272102273102274102275102276102277102278102279102280102281102282102283102284102285102286102287102288102289102290102291102292102293102294102295102296102297102298102299102300102301102302102303102304102305102306102307102308102309102310102311102312102313102314102315102316102317102318102319102320102321102322102323102324102325102326102327102328102329102330102331102332102333102334102335102336102337102338102339102340102341102342102343102344102345102346102347102348102349102350102351102352102353102354102355102356102357102358102359102360102361102362102363102364102365102366102367102368102369102370102371102372102373102374102375102376102377102378102379102380102381102382102383102384102385102386102387102388102389102390102391102392102393102394102395102396102397102398102399102400102401102402102403102404102405102406102407102408102409102410102411102412102413102414102415102416102417102418102419102420102421102422102423102424102425102426102427102428102429102430102431102432102433102434102435102436102437102438102439102440102441102442102443102444102445102446102447102448102449102450102451102452102453102454102455102456102457102458102459102460102461102462102463102464102465102466102467102468102469102470102471102472102473102474102475102476102477102478102479102480102481102482102483102484102485102486102487102488102489102490102491102492102493102494102495102496102497102498102499102500102501102502102503102504102505102506102507102508102509102510102511102512102513102514102515102516102517102518102519102520102521102522102523102524102525102526102527102528102529102530102531102532102533102534102535102536102537102538102539102540102541102542102543102544102545102546102547102548102549102550102551102552102553102554102555102556102557102558102559102560102561102562102563102564102565102566102567102568102569102570102571102572102573102574102575102576102577102578102579102580102581102582102583102584102585102586102587102588102589102590102591102592102593102594102595102596102597102598102599102600102601102602102603102604102605102606102607102608102609102610102611102612102613102614102615102616102617102618102619102620102621102622102623102624102625102626102627102628102629102630102631102632102633102634102635102636102637102638102639102640102641102642102643102644102645102646102647102648102649102650102651102652102653102654102655102656102657102658102659102660102661102662102663102664102665102666102667102668102669102670102671102672102673102674102675102676102677102678102679102680102681102682102683102684102685102686102687102688102689102690102691102692102693102694102695102696102697102698102699102700102701102702102703102704102705102706102707102708102709102710102711102712102713102714102715102716102717102718102719102720102721102722102723102724102725102726102727102728102729102730102731102732102733102734102735102736102737102738102739102740102741102742102743102744102745102746102747102748102749102750102751102752102753102754102755102756102757102758102759102760102761102762102763102764102765102766102767102768102769102770102771102772102773102774102775102776102777102778102779102780102781102782102783102784102785102786102787102788102789102790102791102792102793102794102795102796102797102798102799102800102801102802102803102804102805102806102807102808102809102810102811102812102813102814102815102816102817102818102819102820102821102822102823102824102825102826102827102828102829102830102831102832102833102834102835102836102837102838102839102840102841102842102843102844102845102846102847102848102849102850102851102852102853102854102855102856102857102858102859102860102861102862102863102864102865102866102867102868102869102870102871102872102873102874102875102876102877102878102879102880102881102882102883102884102885102886102887102888102889102890102891102892102893102894102895102896102897102898102899102900102901102902102903102904102905102906102907102908102909102910102911102912102913102914102915102916102917102918102919102920102921102922102923102924102925102926102927102928102929102930102931102932102933102934102935102936102937102938102939102940102941102942102943102944102945102946102947102948102949102950102951102952102953102954102955102956102957102958102959102960102961102962102963102964102965102966102967102968102969102970102971102972102973102974102975102976102977102978102979102980102981102982102983102984102985102986102987102988102989102990102991102992102993102994102995102996102997102998102999103000103001103002103003103004103005103006103007103008103009103010103011103012103013103014103015103016103017103018103019103020103021103022103023103024103025103026103027103028103029103030103031103032103033103034103035103036103037103038103039103040103041103042103043103044103045103046103047103048103049103050103051103052103053103054103055103056103057103058103059103060103061103062103063103064103065103066103067103068103069103070103071103072103073103074103075103076103077103078103079103080103081103082103083103084103085103086103087103088103089103090103091103092103093103094103095103096103097103098103099103100103101103102103103103104103105103106103107103108103109103110103111103112103113103114103115103116103117103118103119103120103121103122103123103124103125103126103127103128103129103130103131103132103133103134103135103136103137103138103139103140103141103142103143103144103145103146103147103148103149103150103151103152103153103154103155103156103157103158103159103160103161103162103163103164103165103166103167103168103169103170103171103172103173103174103175103176103177103178103179103180103181103182103183103184103185103186103187103188103189103190103191103192103193103194103195103196103197103198103199103200103201103202103203103204103205103206103207103208103209103210103211103212103213103214103215103216103217103218103219103220103221103222103223103224103225103226103227103228103229103230103231103232103233103234103235103236103237103238103239103240103241103242103243103244103245103246103247103248103249103250103251103252103253103254103255103256103257103258103259103260103261103262103263103264103265103266103267103268103269103270103271103272103273103274103275103276103277103278103279103280103281103282103283103284103285103286103287103288103289103290103291103292103293103294103295103296103297103298103299103300103301103302103303103304103305103306103307103308103309103310103311103312103313103314103315103316103317103318103319103320103321103322103323103324103325103326103327103328103329103330103331103332103333103334103335103336103337103338103339103340103341103342103343103344103345103346103347103348103349103350103351103352103353103354103355103356103357103358103359103360103361103362103363103364103365103366103367103368103369103370103371103372103373103374103375103376103377103378103379103380103381103382103383103384103385103386103387103388103389103390103391103392103393103394103395103396103397103398103399103400103401103402103403103404103405103406103407103408103409103410103411103412103413103414103415103416103417103418103419103420103421103422103423103424103425103426103427103428103429103430103431103432103433103434103435103436103437103438103439103440103441103442103443103444103445103446103447103448103449103450103451103452103453103454103455103456103457103458103459103460103461103462103463103464103465103466103467103468103469103470103471103472103473103474103475103476103477103478103479103480103481103482103483103484103485103486103487103488103489103490103491103492103493103494103495103496103497103498103499103500103501103502103503103504103505103506103507103508103509103510103511103512103513103514103515103516103517103518103519103520103521103522103523103524103525103526103527103528103529103530103531103532103533103534103535103536103537103538103539103540103541103542103543103544103545103546103547103548103549103550103551103552103553103554103555103556103557103558103559103560103561103562103563103564103565103566103567103568103569103570103571103572103573103574103575103576103577103578103579103580103581103582103583103584103585103586103587103588103589103590103591103592103593103594103595103596103597103598103599103600103601103602103603103604103605103606103607103608103609103610103611103612103613103614103615103616103617103618103619103620103621103622103623103624103625103626103627103628103629103630103631103632103633103634103635103636103637103638103639103640103641103642103643103644103645103646103647103648103649103650103651103652103653103654103655103656103657103658103659103660103661103662103663103664103665103666103667103668103669103670103671103672103673103674103675103676103677103678103679103680103681103682103683103684103685103686103687103688103689103690103691103692103693103694103695103696103697103698103699103700103701103702103703103704103705103706103707103708103709103710103711103712103713103714103715103716103717103718103719103720103721103722103723103724103725103726103727103728103729103730103731103732103733103734103735103736103737103738103739103740103741103742103743103744103745103746103747103748103749103750103751103752103753103754103755103756103757103758103759103760103761103762103763103764103765103766103767103768103769103770103771103772103773103774103775103776103777103778103779103780103781103782103783103784103785103786103787103788103789103790103791103792103793103794103795103796103797103798103799103800103801103802103803103804103805103806103807103808103809103810103811103812103813103814103815103816103817103818103819103820103821103822103823103824103825103826103827103828103829103830103831103832103833103834103835103836103837103838103839103840103841103842103843103844103845103846103847103848103849103850103851103852103853103854103855103856103857103858103859103860103861103862103863103864103865103866103867103868103869103870103871103872103873103874103875103876103877103878103879103880103881103882103883103884103885103886103887103888103889103890103891103892103893103894103895103896103897103898103899103900103901103902103903103904103905103906103907103908103909103910103911103912103913103914103915103916103917103918103919103920103921103922103923103924103925103926103927103928103929103930103931103932103933103934103935103936103937103938103939103940103941103942103943103944103945103946103947103948103949103950103951103952103953103954103955103956103957103958103959103960103961103962103963103964103965103966103967103968103969103970103971103972103973103974103975103976103977103978103979103980103981103982103983103984103985103986103987103988103989103990103991103992103993103994103995103996103997103998103999104000104001104002104003104004104005104006104007104008104009104010104011104012104013104014104015104016104017104018104019104020104021104022104023104024104025104026104027104028104029104030104031104032104033104034104035104036104037104038104039104040104041104042104043104044104045104046104047104048104049104050104051104052104053104054104055104056104057104058104059104060104061104062104063104064104065104066104067104068104069104070104071104072104073104074104075104076104077104078104079104080104081104082104083104084104085104086104087104088104089104090104091104092104093104094104095104096104097104098104099104100104101104102104103104104104105104106104107104108104109104110104111104112104113104114104115104116104117104118104119104120104121104122104123104124104125104126104127104128104129104130104131104132104133104134104135104136104137104138104139104140104141104142104143104144104145104146104147104148104149104150104151104152104153104154104155104156104157104158104159104160104161104162104163104164104165104166104167104168104169104170104171104172104173104174104175104176104177104178104179104180104181104182104183104184104185104186104187104188104189104190104191104192104193104194104195104196104197104198104199104200104201104202104203104204104205104206104207104208104209104210104211104212104213104214104215104216104217104218104219104220104221104222104223104224104225104226104227104228104229104230104231104232104233104234104235104236104237104238104239104240104241104242104243104244104245104246104247104248104249104250104251104252104253104254104255104256104257104258104259104260104261104262104263104264104265104266104267104268104269104270104271104272104273104274104275104276104277104278104279104280104281104282104283104284104285104286104287104288104289104290104291104292104293104294104295104296104297104298104299104300104301104302104303104304104305104306104307104308104309104310104311104312104313104314104315104316104317104318104319104320104321104322104323104324104325104326104327104328104329104330104331104332104333104334104335104336104337104338104339104340104341104342104343104344104345104346104347104348104349104350104351104352104353104354104355104356104357104358104359104360104361104362104363104364104365104366104367104368104369104370104371104372104373104374104375104376104377104378104379104380104381104382104383104384104385104386104387104388104389104390104391104392104393104394104395104396104397104398104399104400104401104402104403104404104405104406104407104408104409104410104411104412104413104414104415104416104417104418104419104420104421104422104423104424104425104426104427104428104429104430104431104432104433104434104435104436104437104438104439104440104441104442104443104444104445104446104447104448104449104450104451104452104453104454104455104456104457104458104459104460104461104462104463104464104465104466104467104468104469104470104471104472104473104474104475104476104477104478104479104480104481104482104483104484104485104486104487104488104489104490104491104492104493104494104495104496104497104498104499104500104501104502104503104504104505104506104507104508104509104510104511104512104513104514104515104516104517104518104519104520104521104522104523104524104525104526104527104528104529104530104531104532104533104534104535104536104537104538104539104540104541104542104543104544104545104546104547104548104549104550104551104552104553104554104555104556104557104558104559104560104561104562104563104564104565104566104567104568104569104570104571104572104573104574104575104576104577104578104579104580104581104582104583104584104585104586104587104588104589104590104591104592104593104594104595104596104597104598104599104600104601104602104603104604104605104606104607104608104609104610104611104612104613104614104615104616104617104618104619104620104621104622104623104624104625104626104627104628104629104630104631104632104633104634104635104636104637104638104639104640104641104642104643104644104645104646104647104648104649104650104651104652104653104654104655104656104657104658104659104660104661104662104663104664104665104666104667104668104669104670104671104672104673104674104675104676104677104678104679104680104681104682104683104684104685104686104687104688104689104690104691104692104693104694104695104696104697104698104699104700104701104702104703104704104705104706104707104708104709104710104711104712104713104714104715104716104717104718104719104720104721104722104723104724104725104726104727104728104729104730104731104732104733104734104735104736104737104738104739104740104741104742104743104744104745104746104747104748104749104750104751104752104753104754104755104756104757104758104759104760104761104762104763104764104765104766104767104768104769104770104771104772104773104774104775104776104777104778104779104780104781104782104783104784104785104786104787104788104789104790104791104792104793104794104795104796104797104798104799104800104801104802104803104804104805104806104807104808104809104810104811104812104813104814104815104816104817104818104819104820104821104822104823104824104825104826104827104828104829104830104831104832104833104834104835104836104837104838104839104840104841104842104843104844104845104846104847104848104849104850104851104852104853104854104855104856104857104858104859104860104861104862104863104864104865104866104867104868104869104870104871104872104873104874104875104876104877104878104879104880104881104882104883104884104885104886104887104888104889104890104891104892104893104894104895104896104897104898104899104900104901104902104903104904104905104906104907104908104909104910104911104912104913104914104915104916104917104918104919104920104921104922104923104924104925104926104927104928104929104930104931104932104933104934104935104936104937104938104939104940104941104942104943104944104945104946104947104948104949104950104951104952104953104954104955104956104957104958104959104960104961104962104963104964104965104966104967104968104969104970104971104972104973104974104975104976104977104978104979104980104981104982104983104984104985104986104987104988104989104990104991104992104993104994104995104996104997104998104999105000105001105002105003105004105005105006105007105008105009105010105011105012105013105014105015105016105017105018105019105020105021105022105023105024105025105026105027105028105029105030105031105032105033105034105035105036105037105038105039105040105041105042105043105044105045105046105047105048105049105050105051105052105053105054105055105056105057105058105059105060105061105062105063105064105065105066105067105068105069105070105071105072105073105074105075105076105077105078105079105080105081105082105083105084105085105086105087105088105089105090105091105092105093105094105095105096105097105098105099105100105101105102105103105104105105105106105107105108105109105110105111105112105113105114105115105116105117105118105119105120105121105122105123105124105125105126105127105128105129105130105131105132105133105134105135105136105137105138105139105140105141105142105143105144105145105146105147105148105149105150105151105152105153105154105155105156105157105158105159105160105161105162105163105164105165105166105167105168105169105170105171105172105173105174105175105176105177105178105179105180105181105182105183105184105185105186105187105188105189105190105191105192105193105194105195105196105197105198105199105200105201105202105203105204105205105206105207105208105209105210105211105212105213105214105215105216105217105218105219105220105221105222105223105224105225105226105227105228105229105230105231105232105233105234105235105236105237105238105239105240105241105242105243105244105245105246105247105248105249105250105251105252105253105254105255105256105257105258105259105260105261105262105263105264105265105266105267105268105269105270105271105272105273105274105275105276105277105278105279105280105281105282105283105284105285105286105287105288105289105290105291105292105293105294105295105296105297105298105299105300105301105302105303105304105305105306105307105308105309105310105311105312105313105314105315105316105317105318105319105320105321105322105323105324105325105326105327105328105329105330105331105332105333105334105335105336105337105338105339105340105341105342105343105344105345105346105347105348105349105350105351105352105353105354105355105356105357105358105359105360105361105362105363105364105365105366105367105368105369105370105371105372105373105374105375105376105377105378105379105380105381105382105383105384105385105386105387105388105389105390105391105392105393105394105395105396105397105398105399105400105401105402105403105404105405105406105407105408105409105410105411105412105413105414105415105416105417105418105419105420105421105422105423105424105425105426105427105428105429105430105431105432105433105434105435105436105437105438105439105440105441105442105443105444105445105446105447105448105449105450105451105452105453105454105455105456105457105458105459105460105461105462105463105464105465105466105467105468105469105470105471105472105473105474105475105476105477105478105479105480105481105482105483105484105485105486105487105488105489105490105491105492105493105494105495105496105497105498105499105500105501105502105503105504105505105506105507105508105509105510105511105512105513105514105515105516105517105518105519105520105521105522105523105524105525105526105527105528105529105530105531105532105533105534105535105536105537105538105539105540105541105542105543105544105545105546105547105548105549105550105551105552105553105554105555105556105557105558105559105560105561105562105563105564105565105566105567105568105569105570105571105572105573105574105575105576105577105578105579105580105581105582105583105584105585105586105587105588105589105590105591105592105593105594105595105596105597105598105599105600105601105602105603105604105605105606105607105608105609105610105611105612105613105614105615105616105617105618105619105620105621105622105623105624105625105626105627105628105629105630105631105632105633105634105635105636105637105638105639105640105641105642105643105644105645105646105647105648105649105650105651105652105653105654105655105656105657105658105659105660105661105662105663105664105665105666105667105668105669105670105671105672105673105674105675105676105677105678105679105680105681105682105683105684105685105686105687105688105689105690105691105692105693105694105695105696105697105698105699105700105701105702105703105704105705105706105707105708105709105710105711105712105713105714105715105716105717105718105719105720105721105722105723105724105725105726105727105728105729105730105731105732105733105734105735105736105737105738105739105740105741105742105743105744105745105746105747105748105749105750105751105752105753105754105755105756105757105758105759105760105761105762105763105764105765105766105767105768105769105770105771105772105773105774105775105776105777105778105779105780105781105782105783105784105785105786105787105788105789105790105791105792105793105794105795105796105797105798105799105800105801105802105803105804105805105806105807105808105809105810105811105812105813105814105815105816105817105818105819105820105821105822105823105824105825105826105827105828105829105830105831105832105833105834105835105836105837105838105839105840105841105842105843105844105845105846105847105848105849105850105851105852105853105854105855105856105857105858105859105860105861105862105863105864105865105866105867105868105869105870105871105872105873105874105875105876105877105878105879105880105881105882105883105884105885105886105887105888105889105890105891105892105893105894105895105896105897105898105899105900105901105902105903105904105905105906105907105908105909105910105911105912105913105914105915105916105917105918105919105920105921105922105923105924105925105926105927105928105929105930105931105932105933105934105935105936105937105938105939105940105941105942105943105944105945105946105947105948105949105950105951105952105953105954105955105956105957105958105959105960105961105962105963105964105965105966105967105968105969105970105971105972105973105974105975105976105977105978105979105980105981105982105983105984105985105986105987105988105989105990105991105992105993105994105995105996105997105998105999106000106001106002106003106004106005106006106007106008106009106010106011106012106013106014106015106016106017106018106019106020106021106022106023106024106025106026106027106028106029106030106031106032106033106034106035106036106037106038106039106040106041106042106043106044106045106046106047106048106049106050106051106052106053106054106055106056106057106058106059106060106061106062106063106064106065106066106067106068106069106070106071106072106073106074106075106076106077106078106079106080106081106082106083106084106085106086106087106088106089106090106091106092106093106094106095106096106097106098106099106100106101106102106103106104106105106106106107106108106109106110106111106112106113106114106115106116106117106118106119106120106121106122106123106124106125106126106127106128106129106130106131106132106133106134106135106136106137106138106139106140106141106142106143106144106145106146106147106148106149106150106151106152106153106154106155106156106157106158106159106160106161106162106163106164106165106166106167106168106169106170106171106172106173106174106175106176106177106178106179106180106181106182106183106184106185106186106187106188106189106190106191106192106193106194106195106196106197106198106199106200106201106202106203106204106205106206106207106208106209106210106211106212106213106214106215106216106217106218106219106220106221106222106223106224106225106226106227106228106229106230106231106232106233106234106235106236106237106238106239106240106241106242106243106244106245106246106247106248106249106250106251106252106253106254106255106256106257106258106259106260106261106262106263106264106265106266106267106268106269106270106271106272106273106274106275106276106277106278106279106280106281106282106283106284106285106286106287106288106289106290106291106292106293106294106295106296106297106298106299106300106301106302106303106304106305106306106307106308106309106310106311106312106313106314106315106316106317106318106319106320106321106322106323106324106325106326106327106328106329106330106331106332106333106334106335106336106337106338106339106340106341106342106343106344106345106346106347106348106349106350106351106352106353106354106355106356106357106358106359106360106361106362106363106364106365106366106367106368106369106370106371106372106373106374106375106376106377106378106379106380106381106382106383106384106385106386106387106388106389106390106391106392106393106394106395106396106397106398106399106400106401106402106403106404106405106406106407106408106409106410106411106412106413106414106415106416106417106418106419106420106421106422106423106424106425106426106427106428106429106430106431106432106433106434106435106436106437106438106439106440106441106442106443106444106445106446106447106448106449106450106451106452106453106454106455106456106457106458106459106460106461106462106463106464106465106466106467106468106469106470106471106472106473106474106475106476106477106478106479106480106481106482106483106484106485106486106487106488106489106490106491106492106493106494106495106496106497106498106499106500106501106502106503106504106505106506106507106508106509106510106511106512106513106514106515106516106517106518106519106520106521106522106523106524106525106526106527106528106529106530106531106532106533106534106535106536106537106538106539106540106541106542106543106544106545106546106547106548106549106550106551106552106553106554106555106556106557106558106559106560106561106562106563106564106565106566106567106568106569106570106571106572106573106574106575106576106577106578106579106580106581106582106583106584106585106586106587106588106589106590106591106592106593106594106595106596106597106598106599106600106601106602106603106604106605106606106607106608106609106610106611106612106613106614106615106616106617106618106619106620106621106622106623106624106625106626106627106628106629106630106631106632106633106634106635106636106637106638106639106640106641106642106643106644106645106646106647106648106649106650106651106652106653106654106655106656106657106658106659106660106661106662106663106664106665106666106667106668106669106670106671106672106673106674106675106676106677106678106679106680106681106682106683106684106685106686106687106688106689106690106691106692106693106694106695106696106697106698106699106700106701106702106703106704106705106706106707106708106709106710106711106712106713106714106715106716106717106718106719106720106721106722106723106724106725106726106727106728106729106730106731106732106733106734106735106736106737106738106739106740106741106742106743106744106745106746106747106748106749106750106751106752106753106754106755106756106757106758106759106760106761106762106763106764106765106766106767106768106769106770106771106772106773106774106775106776106777106778106779106780106781106782106783106784106785106786106787106788106789106790106791106792106793106794106795106796106797106798106799106800106801106802106803106804106805106806106807106808106809106810106811106812106813106814106815106816106817106818106819106820106821106822106823106824106825106826106827106828106829106830106831106832106833106834106835106836106837106838106839106840106841106842106843106844106845106846106847106848106849106850106851106852106853106854106855106856106857106858106859106860106861106862106863106864106865106866106867106868106869106870106871106872106873106874106875106876106877106878106879106880106881106882106883106884106885106886106887106888106889106890106891106892106893106894106895106896106897106898106899106900106901106902106903106904106905106906106907106908106909106910106911106912106913106914106915106916106917106918106919106920106921106922106923106924106925106926106927106928106929106930106931106932106933106934106935106936106937106938106939106940106941106942106943106944106945106946106947106948106949106950106951106952106953106954106955106956106957106958106959106960106961106962106963106964106965106966106967106968106969106970106971106972106973106974106975106976106977106978106979106980106981106982106983106984106985106986106987106988106989106990106991106992106993106994106995106996106997106998106999107000107001107002107003107004107005107006107007107008107009107010107011107012107013107014107015107016107017107018107019107020107021107022107023107024107025107026107027107028107029107030107031107032107033107034107035107036107037107038107039107040107041107042107043107044107045107046107047107048107049107050107051107052107053107054107055107056107057107058107059107060107061107062107063107064107065107066107067107068107069107070107071107072107073107074107075107076107077107078107079107080107081107082107083107084107085107086107087107088107089107090107091107092107093107094107095107096107097107098107099107100107101107102107103107104107105107106107107107108107109107110107111107112107113107114107115107116107117107118107119107120107121107122107123107124107125107126107127107128107129107130107131107132107133107134107135107136107137107138107139107140107141107142107143107144107145107146107147107148107149107150107151107152107153107154107155107156107157107158107159107160107161107162107163107164107165107166107167107168107169107170107171107172107173107174107175107176107177107178107179107180107181107182107183107184107185107186107187107188107189107190107191107192107193107194107195107196107197107198107199107200107201107202107203107204107205107206107207107208107209107210107211107212107213107214107215107216107217107218107219107220107221107222107223107224107225107226107227107228107229107230107231107232107233107234107235107236107237107238107239107240107241107242107243107244107245107246107247107248107249107250107251107252107253107254107255107256107257107258107259107260107261107262107263107264107265107266107267107268107269107270107271107272107273107274107275107276107277107278107279107280107281107282107283107284107285107286107287107288107289107290107291107292107293107294107295107296107297107298107299107300107301107302107303107304107305107306107307107308107309107310107311107312107313107314107315107316107317107318107319107320107321107322107323107324107325107326107327107328107329107330107331107332107333107334107335107336107337107338107339107340107341107342107343107344107345107346107347107348107349107350107351107352107353107354107355107356107357107358107359107360107361107362107363107364107365107366107367107368107369107370107371107372107373107374107375107376107377107378107379107380107381107382107383107384107385107386107387107388107389107390107391107392107393107394107395107396107397107398107399107400107401107402107403107404107405107406107407107408107409107410107411107412107413107414107415107416107417107418107419107420107421107422107423107424107425107426107427107428107429107430107431107432107433107434107435107436107437107438107439107440107441107442107443107444107445107446107447107448107449107450107451107452107453107454107455107456107457107458107459107460107461107462107463107464107465107466107467107468107469107470107471107472107473107474107475107476107477107478107479107480107481107482107483107484107485107486107487107488107489107490107491107492107493107494107495107496107497107498107499107500107501107502107503107504107505107506107507107508107509107510107511107512107513107514107515107516107517107518107519107520107521107522107523107524107525107526107527107528107529107530107531107532107533107534107535107536107537107538107539107540107541107542107543107544107545107546107547107548107549107550107551107552107553107554107555107556107557107558107559107560107561107562107563107564107565107566107567107568107569107570107571107572107573107574107575107576107577107578107579107580107581107582107583107584107585107586107587107588107589107590107591107592107593107594107595107596107597107598107599107600107601107602107603107604107605107606107607107608107609107610107611107612107613107614107615107616107617107618107619107620107621107622107623107624107625107626107627107628107629107630107631107632107633107634107635107636107637107638107639107640107641107642107643107644107645107646107647107648107649107650107651107652107653107654107655107656107657107658107659107660107661107662107663107664107665107666107667107668107669107670107671107672107673107674107675107676107677107678107679107680107681107682107683107684107685107686107687107688107689107690107691107692107693107694107695107696107697107698107699107700107701107702107703107704107705107706107707107708107709107710107711107712107713107714107715107716107717107718107719107720107721107722107723107724107725107726107727107728107729107730107731107732107733107734107735107736107737107738107739107740107741107742107743107744107745107746107747107748107749107750107751107752107753107754107755107756107757107758107759107760107761107762107763107764107765107766107767107768107769107770107771107772107773107774107775107776107777107778107779107780107781107782107783107784107785107786107787107788107789107790107791107792107793107794107795107796107797107798107799107800107801107802107803107804107805107806107807107808107809107810107811107812107813107814107815107816107817107818107819107820107821107822107823107824107825107826107827107828107829107830107831107832107833107834107835107836107837107838107839107840107841107842107843107844107845107846107847107848107849107850107851107852107853107854107855107856107857107858107859107860107861107862107863107864107865107866107867107868107869107870107871107872107873107874107875107876107877107878107879107880107881107882107883107884107885107886107887107888107889107890107891107892107893107894107895107896107897107898107899107900107901107902107903107904107905107906107907107908107909107910107911107912107913107914107915107916107917107918107919107920107921107922107923107924107925107926107927107928107929107930107931107932107933107934107935107936107937107938107939107940107941107942107943107944107945107946107947107948107949107950107951107952107953107954107955107956107957107958107959107960107961107962107963107964107965107966107967107968107969107970107971107972107973107974107975107976107977107978107979107980107981107982107983107984107985107986107987107988107989107990107991107992107993107994107995107996107997107998107999108000108001108002108003108004108005108006108007108008108009108010108011108012108013108014108015108016108017108018108019108020108021108022108023108024108025108026108027108028108029108030108031108032108033108034108035108036108037108038108039108040108041108042108043108044108045108046108047108048108049108050108051108052108053108054108055108056108057108058108059108060108061108062108063108064108065108066108067108068108069108070108071108072108073108074108075108076108077108078108079108080108081108082108083108084108085108086108087108088108089108090108091108092108093108094108095108096108097108098108099108100108101108102108103108104108105108106108107108108108109108110108111108112108113108114108115108116108117108118108119108120108121108122108123108124108125108126108127108128108129108130108131108132108133108134108135108136108137108138108139108140108141108142108143108144108145108146108147108148108149108150108151108152108153108154108155108156108157108158108159108160108161108162108163108164108165108166108167108168108169108170108171108172108173108174108175108176108177108178108179108180108181108182108183108184108185108186108187108188108189108190108191108192108193108194108195108196108197108198108199108200108201108202108203108204108205108206108207108208108209108210108211108212108213108214108215108216108217108218108219108220108221108222108223108224108225108226108227108228108229108230108231108232108233108234108235108236108237108238108239108240108241108242108243108244108245108246108247108248108249108250108251108252108253108254108255108256108257108258108259108260108261108262108263108264108265108266108267108268108269108270108271108272108273108274108275108276108277108278108279108280108281108282108283108284108285108286108287108288108289108290108291108292108293108294108295108296108297108298108299108300108301108302108303108304108305108306108307108308108309108310108311108312108313108314108315108316108317108318108319108320108321108322108323108324108325108326108327108328108329108330108331108332108333108334108335108336108337108338108339108340108341108342108343108344108345108346108347108348108349108350108351108352108353108354108355108356108357108358108359108360108361108362108363108364108365108366108367108368108369108370108371108372108373108374108375108376108377108378108379108380108381108382108383108384108385108386108387108388108389108390108391108392108393108394108395108396108397108398108399108400108401108402108403108404108405108406108407108408108409108410108411108412108413108414108415108416108417108418108419108420108421108422108423108424108425108426108427108428108429108430108431108432108433108434108435108436108437108438108439108440108441108442108443108444108445108446108447108448108449108450108451108452108453108454108455108456108457108458108459108460108461108462108463108464108465108466108467108468108469108470108471108472108473108474108475108476108477108478108479108480108481108482108483108484108485108486108487108488108489108490108491108492108493108494108495108496108497108498108499108500108501108502108503108504108505108506108507108508108509108510108511108512108513108514108515108516108517108518108519108520108521108522108523108524108525108526108527108528108529108530108531108532108533108534108535108536108537108538108539108540108541108542108543108544108545108546108547108548108549108550108551108552108553108554108555108556108557108558108559108560108561108562108563108564108565108566108567108568108569108570108571108572108573108574108575108576108577108578108579108580108581108582108583108584108585108586108587108588108589108590108591108592108593108594108595108596108597108598108599108600108601108602108603108604108605108606108607108608108609108610108611108612108613108614108615108616108617108618108619108620108621108622108623108624108625108626108627108628108629108630108631108632108633108634108635108636108637108638108639108640108641108642108643108644108645108646108647108648108649108650108651108652108653108654108655108656108657108658108659108660108661108662108663108664108665108666108667108668108669108670108671108672108673108674108675108676108677108678108679108680108681108682108683108684108685108686108687108688108689108690108691108692108693108694108695108696108697108698108699108700108701108702108703108704108705108706108707108708108709108710108711108712108713108714108715108716108717108718108719108720108721108722108723108724108725108726108727108728108729108730108731108732108733108734108735108736108737108738108739108740108741108742108743108744108745108746108747108748108749108750108751108752108753108754108755108756108757108758108759108760108761108762108763108764108765108766108767108768108769108770108771108772108773108774108775108776108777108778108779108780108781108782108783108784108785108786108787108788108789108790108791108792108793108794108795108796108797108798108799108800108801108802108803108804108805108806108807108808108809108810108811108812108813108814108815108816108817108818108819108820108821108822108823108824108825108826108827108828108829108830108831108832108833108834108835108836108837108838108839108840108841108842108843108844108845108846108847108848108849108850108851108852108853108854108855108856108857108858108859108860108861108862108863108864108865108866108867108868108869108870108871108872108873108874108875108876108877108878108879108880108881108882108883108884108885108886108887108888108889108890108891108892108893108894108895108896108897108898108899108900108901108902108903108904108905108906108907108908108909108910108911108912108913108914108915108916108917108918108919108920108921108922108923108924108925108926108927108928108929108930108931108932108933108934108935108936108937108938108939108940108941108942108943108944108945108946108947108948108949108950108951108952108953108954108955108956108957108958108959108960108961108962108963108964108965108966108967108968108969108970108971108972108973108974108975108976108977108978108979108980108981108982108983108984108985108986108987108988108989108990108991108992108993108994108995108996108997108998108999109000109001109002109003109004109005109006109007109008109009109010109011109012109013109014109015109016109017109018109019109020109021109022109023109024109025109026109027109028109029109030109031109032109033109034109035109036109037109038109039109040109041109042109043109044109045109046109047109048109049109050109051109052109053109054109055109056109057109058109059109060109061109062109063109064109065109066109067109068109069109070109071109072109073109074109075109076109077109078109079109080109081109082109083109084109085109086109087109088109089109090109091109092109093109094109095109096109097109098109099109100109101109102109103109104109105109106109107109108109109109110109111109112109113109114109115109116109117109118109119109120109121109122109123109124109125109126109127109128109129109130109131109132109133109134109135109136109137109138109139109140109141109142109143109144109145109146109147109148109149109150109151109152109153109154109155109156109157109158109159109160109161109162109163109164109165109166109167109168109169109170109171109172109173109174109175109176109177109178109179109180109181109182109183109184109185109186109187109188109189109190109191109192109193109194109195109196109197109198109199109200109201109202109203109204109205109206109207109208109209109210109211109212109213109214109215109216109217109218109219109220109221109222109223109224109225109226109227109228109229109230109231109232109233109234109235109236109237109238109239109240109241109242109243109244109245109246109247109248109249109250109251109252109253109254109255109256109257109258109259109260109261109262109263109264109265109266109267109268109269109270109271109272109273109274109275109276109277109278109279109280109281109282109283109284109285109286109287109288109289109290109291109292109293109294109295109296109297109298109299109300109301109302109303109304109305109306109307109308109309109310109311109312109313109314109315109316109317109318109319109320109321109322109323109324109325109326109327109328109329109330109331109332109333109334109335109336109337109338109339109340109341109342109343109344109345109346109347109348109349109350109351109352109353109354109355109356109357109358109359109360109361109362109363109364109365109366109367109368109369109370109371109372109373109374109375109376109377109378109379109380109381109382109383109384109385109386109387109388109389109390109391109392109393109394109395109396109397109398109399109400109401109402109403109404109405109406109407109408109409109410109411109412109413109414109415109416109417109418109419109420109421109422109423109424109425109426109427109428109429109430109431109432109433109434109435109436109437109438109439109440109441109442109443109444109445109446109447109448109449109450109451109452109453109454109455109456109457109458109459109460109461109462109463109464109465109466109467109468109469109470109471109472109473109474109475109476109477109478109479109480109481109482109483109484109485109486109487109488109489109490109491109492109493109494109495109496109497109498109499109500109501109502109503109504109505109506109507109508109509109510109511109512109513109514109515109516109517109518109519109520109521109522109523109524109525109526109527109528109529109530109531109532109533109534109535109536109537109538109539109540109541109542109543109544109545109546109547109548109549109550109551109552109553109554109555109556109557109558109559109560109561109562109563109564109565109566109567109568109569109570109571109572109573109574109575109576109577109578109579109580109581109582109583109584109585109586109587109588109589109590109591109592109593109594109595109596109597109598109599109600109601109602109603109604109605109606109607109608109609109610109611109612109613109614109615109616109617109618109619109620109621109622109623109624109625109626109627109628109629109630109631109632109633109634109635109636109637109638109639109640109641109642109643109644109645109646109647109648109649109650109651109652109653109654109655109656109657109658109659109660109661109662109663109664109665109666109667109668109669109670109671109672109673109674109675109676109677109678109679109680109681109682109683109684109685109686109687109688109689109690109691109692109693109694109695109696109697109698109699109700109701109702109703109704109705109706109707109708109709109710109711109712109713109714109715109716109717109718109719109720109721109722109723109724109725109726109727109728109729109730109731109732109733109734109735109736109737109738109739109740109741109742109743109744109745109746109747109748109749109750109751109752109753109754109755109756109757109758109759109760109761109762109763109764109765109766109767109768109769109770109771109772109773109774109775109776109777109778109779109780109781109782109783109784109785109786109787109788109789109790109791109792109793109794109795109796109797109798109799109800109801109802109803109804109805109806109807109808109809109810109811109812109813109814109815109816109817109818109819109820109821109822109823109824109825109826109827109828109829109830109831109832109833109834109835109836109837109838109839109840109841109842109843109844109845109846109847109848109849109850109851109852109853109854109855109856109857109858109859109860109861109862109863109864109865109866109867109868109869109870109871109872109873109874109875109876109877109878109879109880109881109882109883109884109885109886109887109888109889109890109891109892109893109894109895109896109897109898109899109900109901109902109903109904109905109906109907109908109909109910109911109912109913109914109915109916109917109918109919109920109921109922109923109924109925109926109927109928109929109930109931109932109933109934109935109936109937109938109939109940109941109942109943109944109945109946109947109948109949109950109951109952109953109954109955109956109957109958109959109960109961109962109963109964109965109966109967109968109969109970109971109972109973109974109975109976109977109978109979109980109981109982109983109984109985109986109987109988109989109990109991109992109993109994109995109996109997109998109999110000110001110002110003110004110005110006110007110008110009110010110011110012110013110014110015110016110017110018110019110020110021110022110023110024110025110026110027110028110029110030110031110032110033110034110035110036110037110038110039110040110041110042110043110044110045110046110047110048110049110050110051110052110053110054110055110056110057110058110059110060110061110062110063110064110065110066110067110068110069110070110071110072110073110074110075110076110077110078110079110080110081110082110083110084110085110086110087110088110089110090110091110092110093110094110095110096110097110098110099110100110101110102110103110104110105110106110107110108110109110110110111110112110113110114110115110116110117110118110119110120110121110122110123110124110125110126110127110128110129110130110131110132110133110134110135110136110137110138110139110140110141110142110143110144110145110146110147110148110149110150110151110152110153110154110155110156110157110158110159110160110161110162110163110164110165110166110167110168110169110170110171110172110173110174110175110176110177110178110179110180110181110182110183110184110185110186110187110188110189110190110191110192110193110194110195110196110197110198110199110200110201110202110203110204110205110206110207110208110209110210110211110212110213110214110215110216110217110218110219110220110221110222110223110224110225110226110227110228110229110230110231110232110233110234110235110236110237110238110239110240110241110242110243110244110245110246110247110248110249110250110251110252110253110254110255110256110257110258110259110260110261110262110263110264110265110266110267110268110269110270110271110272110273110274110275110276110277110278110279110280110281110282110283110284110285110286110287110288110289110290110291110292110293110294110295110296110297110298110299110300110301110302110303110304110305110306110307110308110309110310110311110312110313110314110315110316110317110318110319110320110321110322110323110324110325110326110327110328110329110330110331110332110333110334110335110336110337110338110339110340110341110342110343110344110345110346110347110348110349110350110351110352110353110354110355110356110357110358110359110360110361110362110363110364110365110366110367110368110369110370110371110372110373110374110375110376110377110378110379110380110381110382110383110384110385110386110387110388110389110390110391110392110393110394110395110396110397110398110399110400110401110402110403110404110405110406110407110408110409110410110411110412110413110414110415110416110417110418110419110420110421110422110423110424110425110426110427110428110429110430110431110432110433110434110435110436110437110438110439110440110441110442110443110444110445110446110447110448110449110450110451110452110453110454110455110456110457110458110459110460110461110462110463110464110465110466110467110468110469110470110471110472110473110474110475110476110477110478110479110480110481110482110483110484110485110486110487110488110489110490110491110492110493110494110495110496110497110498110499110500110501110502110503110504110505110506110507110508110509110510110511110512110513110514110515110516110517110518110519110520110521110522110523110524110525110526110527110528110529110530110531110532110533110534110535110536110537110538110539110540110541110542110543110544110545110546110547110548110549110550110551110552110553110554110555110556110557110558110559110560110561110562110563110564110565110566110567110568110569110570110571110572110573110574110575110576110577110578110579110580110581110582110583110584110585110586110587110588110589110590110591110592110593110594110595110596110597110598110599110600110601110602110603110604110605110606110607110608110609110610110611110612110613110614110615110616110617110618110619110620110621110622110623110624110625110626110627110628110629110630110631110632110633110634110635110636110637110638110639110640110641110642110643110644110645110646110647110648110649110650110651110652110653110654110655110656110657110658110659110660110661110662110663110664110665110666110667110668110669110670110671110672110673110674110675110676110677110678110679110680110681110682110683110684110685110686110687110688110689110690110691110692110693110694110695110696110697110698110699110700110701110702110703110704110705110706110707110708110709110710110711110712110713110714110715110716110717110718110719110720110721110722110723110724110725110726110727110728110729110730110731110732110733110734110735110736110737110738110739110740110741110742110743110744110745110746110747110748110749110750110751110752110753110754110755110756110757110758110759110760110761110762110763110764110765110766110767110768110769110770110771110772110773110774110775110776110777110778110779110780110781110782110783110784110785110786110787110788110789110790110791110792110793110794110795110796110797110798110799110800110801110802110803110804110805110806110807110808110809110810110811110812110813110814110815110816110817110818110819110820110821110822110823110824110825110826110827110828110829110830110831110832110833110834110835110836110837110838110839110840110841110842110843110844110845110846110847110848110849110850110851110852110853110854110855110856110857110858110859110860110861110862110863110864110865110866110867110868110869110870110871110872110873110874110875110876110877110878110879110880110881110882110883110884110885110886110887110888110889110890110891110892110893110894110895110896110897110898110899110900110901110902110903110904110905110906110907110908110909110910110911110912110913110914110915110916110917110918110919110920110921110922110923110924110925110926110927110928110929110930110931110932110933110934110935110936110937110938110939110940110941110942110943110944110945110946110947110948110949110950110951110952110953110954110955110956110957110958110959110960110961110962110963110964110965110966110967110968110969110970110971110972110973110974110975110976110977110978110979110980110981110982110983110984110985110986110987110988110989110990110991110992110993110994110995110996110997110998110999111000111001111002111003111004111005111006111007111008111009111010111011111012111013111014111015111016111017111018111019111020111021111022111023111024111025111026111027111028111029111030111031111032111033111034111035111036111037111038111039111040111041111042111043111044111045111046111047111048111049111050111051111052111053111054111055111056111057111058111059111060111061111062111063111064111065111066111067111068111069111070111071111072111073111074111075111076111077111078111079111080111081111082111083111084111085111086111087111088111089111090111091111092111093111094111095111096111097111098111099111100111101111102111103111104111105111106111107111108111109111110111111111112111113111114111115111116111117111118111119111120111121111122111123111124111125111126111127111128111129111130111131111132111133111134111135111136111137111138111139111140111141111142111143111144111145111146111147111148111149111150111151111152111153111154111155111156111157111158111159111160111161111162111163111164111165111166111167111168111169111170111171111172111173111174111175111176111177111178111179111180111181111182111183111184111185111186111187111188111189111190111191111192111193111194111195111196111197111198111199111200111201111202111203111204111205111206111207111208111209111210111211111212111213111214111215111216111217111218111219111220111221111222111223111224111225111226111227111228111229111230111231111232111233111234111235111236111237111238111239111240111241111242111243111244111245111246111247111248111249111250111251111252111253111254111255111256111257111258111259111260111261111262111263111264111265111266111267111268111269111270111271111272111273111274111275111276111277111278111279111280111281111282111283111284111285111286111287111288111289111290111291111292111293111294111295111296111297111298111299111300111301111302111303111304111305111306111307111308111309111310111311111312111313111314111315111316111317111318111319111320111321111322111323111324111325111326111327111328111329111330111331111332111333111334111335111336111337111338111339111340111341111342111343111344111345111346111347111348111349111350111351111352111353111354111355111356111357111358111359111360111361111362111363111364111365111366111367111368111369111370111371111372111373111374111375111376111377111378111379111380111381111382111383111384111385111386111387111388111389111390111391111392111393111394111395111396111397111398111399111400111401111402111403111404111405111406111407111408111409111410111411111412111413111414111415111416111417111418111419111420111421111422111423111424111425111426111427111428111429111430111431111432111433111434111435111436111437111438111439111440111441111442111443111444111445111446111447111448111449111450111451111452111453111454111455111456111457111458111459111460111461111462111463111464111465111466111467111468111469111470111471111472111473111474111475111476111477111478111479111480111481111482111483111484111485111486111487111488111489111490111491111492111493111494111495111496111497111498111499111500111501111502111503111504111505111506111507111508111509111510111511111512111513111514111515111516111517111518111519111520111521111522111523111524111525111526111527111528111529111530111531111532111533111534111535111536111537111538111539111540111541111542111543111544111545111546111547111548111549111550111551111552111553111554111555111556111557111558111559111560111561111562111563111564111565111566111567111568111569111570111571111572111573111574111575111576111577111578111579111580111581111582111583111584111585111586111587111588111589111590111591111592111593111594111595111596111597111598111599111600111601111602111603111604111605111606111607111608111609111610111611111612111613111614111615111616111617111618111619111620111621111622111623111624111625111626111627111628111629111630111631111632111633111634111635111636111637111638111639111640111641111642111643111644111645111646111647111648111649111650111651111652111653111654111655111656111657111658111659111660111661111662111663111664111665111666111667111668111669111670111671111672111673111674111675111676111677111678111679111680111681111682111683111684111685111686111687111688111689111690111691111692111693111694111695111696111697111698111699111700111701111702111703111704111705111706111707111708111709111710111711111712111713111714111715111716111717111718111719111720111721111722111723111724111725111726111727111728111729111730111731111732111733111734111735111736111737111738111739111740111741111742111743111744111745111746111747111748111749111750111751111752111753111754111755111756111757111758111759111760111761111762111763111764111765111766111767111768111769111770111771111772111773111774111775111776111777111778111779111780111781111782111783111784111785111786111787111788111789111790111791111792111793111794111795111796111797111798111799111800111801111802111803111804111805111806111807111808111809111810111811111812111813111814111815111816111817111818111819111820111821111822111823111824111825111826111827111828111829111830111831111832111833111834111835111836111837111838111839111840111841111842111843111844111845111846111847111848111849111850111851111852111853111854111855111856111857111858111859111860111861111862111863111864111865111866111867111868111869111870111871111872111873111874111875111876111877111878111879111880111881111882111883111884111885111886111887111888111889111890111891111892111893111894111895111896111897111898111899111900111901111902111903111904111905111906111907111908111909111910111911111912111913111914111915111916111917111918111919111920111921111922111923111924111925111926111927111928111929111930111931111932111933111934111935111936111937111938111939111940111941111942111943111944111945111946111947111948111949111950111951111952111953111954111955111956111957111958111959111960111961111962111963111964111965111966111967111968111969111970111971111972111973111974111975111976111977111978111979111980111981111982111983111984111985111986111987111988111989111990111991111992111993111994111995111996111997111998111999112000112001112002112003112004112005112006112007112008112009112010112011112012112013112014112015112016112017112018112019112020112021112022112023112024112025112026112027112028112029112030112031112032112033112034112035112036112037112038112039112040112041112042112043112044112045112046112047112048112049112050112051112052112053112054112055112056112057112058112059112060112061112062112063112064112065112066112067112068112069112070112071112072112073112074112075112076112077112078112079112080112081112082112083112084112085112086112087112088112089112090112091112092112093112094112095112096112097112098112099112100112101112102112103112104112105112106112107112108112109112110112111112112112113112114112115112116112117112118112119112120112121112122112123112124112125112126112127112128112129112130112131112132112133112134112135112136112137112138112139112140112141112142112143112144112145112146112147112148112149112150112151112152112153112154112155112156112157112158112159112160112161112162112163112164112165112166112167112168112169112170112171112172112173112174112175112176112177112178112179112180112181112182112183112184112185112186112187112188112189112190112191112192112193112194112195112196112197112198112199112200112201112202112203112204112205112206112207112208112209112210112211112212112213112214112215112216112217112218112219112220112221112222112223112224112225112226112227112228112229112230112231112232112233112234112235112236112237112238112239112240112241112242112243112244112245112246112247112248112249112250112251112252112253112254112255112256112257112258112259112260112261112262112263112264112265112266112267112268112269112270112271112272112273112274112275112276112277112278112279112280112281112282112283112284112285112286112287112288112289112290112291112292112293112294112295112296112297112298112299112300112301112302112303112304112305112306112307112308112309112310112311112312112313112314112315112316112317112318112319112320112321112322112323112324112325112326112327112328112329112330112331112332112333112334112335112336112337112338112339112340112341112342112343112344112345112346112347112348112349112350112351112352112353112354112355112356112357112358112359112360112361112362112363112364112365112366112367112368112369112370112371112372112373112374112375112376112377112378112379112380112381112382112383112384112385112386112387112388112389112390112391112392112393112394112395112396112397112398112399112400112401112402112403112404112405112406112407112408112409112410112411112412112413112414112415112416112417112418112419112420112421112422112423112424112425112426112427112428112429112430112431112432112433112434112435112436112437112438112439112440112441112442112443112444112445112446112447112448112449112450112451112452112453112454112455112456112457112458112459112460112461112462112463112464112465112466112467112468112469112470112471112472112473112474112475112476112477112478112479112480112481112482112483112484112485112486112487112488112489112490112491112492112493112494112495112496112497112498112499112500112501112502112503112504112505112506112507112508112509112510112511112512112513112514112515112516112517112518112519112520112521112522112523112524112525112526112527112528112529112530112531112532112533112534112535112536112537112538112539112540112541112542112543112544112545112546112547112548112549112550112551112552112553112554112555112556112557112558112559112560112561112562112563112564112565112566112567112568112569112570112571112572112573112574112575112576112577112578112579112580112581112582112583112584112585112586112587112588112589112590112591112592112593112594112595112596112597112598112599112600112601112602112603112604112605112606112607112608112609112610112611112612112613112614112615112616112617112618112619112620112621112622112623112624112625112626112627112628112629112630112631112632112633112634112635112636112637112638112639112640112641112642112643112644112645112646112647112648112649112650112651112652112653112654112655112656112657112658112659112660112661112662112663112664112665112666112667112668112669112670112671112672112673112674112675112676112677112678112679112680112681112682112683112684112685112686112687112688112689112690112691112692112693112694112695112696112697112698112699112700112701112702112703112704112705112706112707112708112709112710112711112712112713112714112715112716112717112718112719112720112721112722112723112724112725112726112727112728112729112730112731112732112733112734112735112736112737112738112739112740112741112742112743112744112745112746112747112748112749112750112751112752112753112754112755112756112757112758112759112760112761112762112763112764112765112766112767112768112769112770112771112772112773112774112775112776112777112778112779112780112781112782112783112784112785112786112787112788112789112790112791112792112793112794112795112796112797112798112799112800112801112802112803112804112805112806112807112808112809112810112811112812112813112814112815112816112817112818112819112820112821112822112823112824112825112826112827112828112829112830112831112832112833112834112835112836112837112838112839112840112841112842112843112844112845112846112847112848112849112850112851112852112853112854112855112856112857112858112859112860112861112862112863112864112865112866112867112868112869112870112871112872112873112874112875112876112877112878112879112880112881112882112883112884112885112886112887112888112889112890112891112892112893112894112895112896112897112898112899112900112901112902112903112904112905112906112907112908112909112910112911112912112913112914112915112916112917112918112919112920112921112922112923112924112925112926112927112928112929112930112931112932112933112934112935112936112937112938112939112940112941112942112943112944112945112946112947112948112949112950112951112952112953112954112955112956112957112958112959112960112961112962112963112964112965112966112967112968112969112970112971112972112973112974112975112976112977112978112979112980112981112982112983112984112985112986112987112988112989112990112991112992112993112994112995112996112997112998112999113000113001113002113003113004113005113006113007113008113009113010113011113012113013113014113015113016113017113018113019113020113021113022113023113024113025113026113027113028113029113030113031113032113033113034113035113036113037113038113039113040113041113042113043113044113045113046113047113048113049113050113051113052113053113054113055113056113057113058113059113060113061113062113063113064113065113066113067113068113069113070113071113072113073113074113075113076113077113078113079113080113081113082113083113084113085113086113087113088113089113090113091113092113093113094113095113096113097113098113099113100113101113102113103113104113105113106113107113108113109113110113111113112113113113114113115113116113117113118113119113120113121113122113123113124113125113126113127113128113129113130113131113132113133113134113135113136113137113138113139113140113141113142113143113144113145113146113147113148113149113150113151113152113153113154113155113156113157113158113159113160113161113162113163113164113165113166113167113168113169113170113171113172113173113174113175113176113177113178113179113180113181113182113183113184113185113186113187113188113189113190113191113192113193113194113195113196113197113198113199113200113201113202113203113204113205113206113207113208113209113210113211113212113213113214113215113216113217113218113219113220113221113222113223113224113225113226113227113228113229113230113231113232113233113234113235113236113237113238113239113240113241113242113243113244113245113246113247113248113249113250113251113252113253113254113255113256113257113258113259113260113261113262113263113264113265113266113267113268113269113270113271113272113273113274113275113276113277113278113279113280113281113282113283113284113285113286113287113288113289113290113291113292113293113294113295113296113297113298113299113300113301113302113303113304113305113306113307113308113309113310113311113312113313113314113315113316113317113318113319113320113321113322113323113324113325113326113327113328113329113330113331113332113333113334113335113336113337113338113339113340113341113342113343113344113345113346113347113348113349113350113351113352113353113354113355113356113357113358113359113360113361113362113363113364113365113366113367113368113369113370113371113372113373113374113375113376113377113378113379113380113381113382113383113384113385113386113387113388113389113390113391113392113393113394113395113396113397113398113399113400113401113402113403113404113405113406113407113408113409113410113411113412113413113414113415113416113417113418113419113420113421113422113423113424113425113426113427113428113429113430113431113432113433113434113435113436113437113438113439113440113441113442113443113444113445113446113447113448113449113450113451113452113453113454113455113456113457113458113459113460113461113462113463113464113465113466113467113468113469113470113471113472113473113474113475113476113477113478113479113480113481113482113483113484113485113486113487113488113489113490113491113492113493113494113495113496113497113498113499113500113501113502113503113504113505113506113507113508113509113510113511113512113513113514113515113516113517113518113519113520113521113522113523113524113525113526113527113528113529113530113531113532113533113534113535113536113537113538113539113540113541113542113543113544113545113546113547113548113549113550113551113552113553113554113555113556113557113558113559113560113561113562113563113564113565113566113567113568113569113570113571113572113573113574113575113576113577113578113579113580113581113582113583113584113585113586113587113588113589113590113591113592113593113594113595113596113597113598113599113600113601113602113603113604113605113606113607113608113609113610113611113612113613113614113615113616113617113618113619113620113621113622113623113624113625113626113627113628113629113630113631113632113633113634113635113636113637113638113639113640113641113642113643113644113645113646113647113648113649113650113651113652113653113654113655113656113657113658113659113660113661113662113663113664113665113666113667113668113669113670113671113672113673113674113675113676113677113678113679113680113681113682113683113684113685113686113687113688113689113690113691113692113693113694113695113696113697113698113699113700113701113702113703113704113705113706113707113708113709113710113711113712113713113714113715113716113717113718113719113720113721113722113723113724113725113726113727113728113729113730113731113732113733113734113735113736113737113738113739113740113741113742113743113744113745113746113747113748113749113750113751113752113753113754113755113756113757113758113759113760113761113762113763113764113765113766113767113768113769113770113771113772113773113774113775113776113777113778113779113780113781113782113783113784113785113786113787113788113789113790113791113792113793113794113795113796113797113798113799113800113801113802113803113804113805113806113807113808113809113810113811113812113813113814113815113816113817113818113819113820113821113822113823113824113825113826113827113828113829113830113831113832113833113834113835113836113837113838113839113840113841113842113843113844113845113846113847113848113849113850113851113852113853113854113855113856113857113858113859113860113861113862113863113864113865113866113867113868113869113870113871113872113873113874113875113876113877113878113879113880113881113882113883113884113885113886113887113888113889113890113891113892113893113894113895113896113897113898113899113900113901113902113903113904113905113906113907113908113909113910113911113912113913113914113915113916113917113918113919113920113921113922113923113924113925113926113927113928113929113930113931113932113933113934113935113936113937113938113939113940113941113942113943113944113945113946113947113948113949113950113951113952113953113954113955113956113957113958113959113960113961113962113963113964113965113966113967113968113969113970113971113972113973113974113975113976113977113978113979113980113981113982113983113984113985113986113987113988113989113990113991113992113993113994113995113996113997113998113999114000114001114002114003114004114005114006114007114008114009114010114011114012114013114014114015114016114017114018114019114020114021114022114023114024114025114026114027114028114029114030114031114032114033114034114035114036114037114038114039114040114041114042114043114044114045114046114047114048114049114050114051114052114053114054114055114056114057114058114059114060114061114062114063114064114065114066114067114068114069114070114071114072114073114074114075114076114077114078114079114080114081114082114083114084114085114086114087114088114089114090114091114092114093114094114095114096114097114098114099114100114101114102114103114104114105114106114107114108114109114110114111114112114113114114114115114116114117114118114119114120114121114122114123114124114125114126114127114128114129114130114131114132114133114134114135114136114137114138114139114140114141114142114143114144114145114146114147114148114149114150114151114152114153114154114155114156114157114158114159114160114161114162114163114164114165114166114167114168114169114170114171114172114173114174114175114176114177114178114179114180114181114182114183114184114185114186114187114188114189114190114191114192114193114194114195114196114197114198114199114200114201114202114203114204114205114206114207114208114209114210114211114212114213114214114215114216114217114218114219114220114221114222114223114224114225114226114227114228114229114230114231114232114233114234114235114236114237114238114239114240114241114242114243114244114245114246114247114248114249114250114251114252114253114254114255114256114257114258114259114260114261114262114263114264114265114266114267114268114269114270114271114272114273114274114275114276114277114278114279114280114281114282114283114284114285114286114287114288114289114290114291114292114293114294114295114296114297114298114299114300114301114302114303114304114305114306114307114308114309114310114311114312114313114314114315114316114317114318114319114320114321114322114323114324114325114326114327114328114329114330114331114332114333114334114335114336114337114338114339114340114341114342114343114344114345114346114347114348114349114350114351114352114353114354114355114356114357114358114359114360114361114362114363114364114365114366114367114368114369114370114371114372114373114374114375114376114377114378114379114380114381114382114383114384114385114386114387114388114389114390114391114392114393114394114395114396114397114398114399114400114401114402114403114404114405114406114407114408114409114410114411114412114413114414114415114416114417114418114419114420114421114422114423114424114425114426114427114428114429114430114431114432114433114434114435114436114437114438114439114440114441114442114443114444114445114446114447114448114449114450114451114452114453114454114455114456114457114458114459114460114461114462114463114464114465114466114467114468114469114470114471114472114473114474114475114476114477114478114479114480114481114482114483114484114485114486114487114488114489114490114491114492114493114494114495114496114497114498114499114500114501114502114503114504114505114506114507114508114509114510114511114512114513114514114515114516114517114518114519114520114521114522114523114524114525114526114527114528114529114530114531114532114533114534114535114536114537114538114539114540114541114542114543114544114545114546114547114548114549114550114551114552114553114554114555114556114557114558114559114560114561114562114563114564114565114566114567114568114569114570114571114572114573114574114575114576114577114578114579114580114581114582114583114584114585114586114587114588114589114590114591114592114593114594114595114596114597114598114599114600114601114602114603114604114605114606114607114608114609114610114611114612114613114614114615114616114617114618114619114620114621114622114623114624114625114626114627114628114629114630114631114632114633114634114635114636114637114638114639114640114641114642114643114644114645114646114647114648114649114650114651114652114653114654114655114656114657114658114659114660114661114662114663114664114665114666114667114668114669114670114671114672114673114674114675114676114677114678114679114680114681114682114683114684114685114686114687114688114689114690114691114692114693114694114695114696114697114698114699114700114701114702114703114704114705114706114707114708114709114710114711114712114713114714114715114716114717114718114719114720114721114722114723114724114725114726114727114728114729114730114731114732114733114734114735114736114737114738114739114740114741114742114743114744114745114746114747114748114749114750114751114752114753114754114755114756114757114758114759114760114761114762114763114764114765114766114767114768114769114770114771114772114773114774114775114776114777114778114779114780114781114782114783114784114785114786114787114788114789114790114791114792114793114794114795114796114797114798114799114800114801114802114803114804114805114806114807114808114809114810114811114812114813114814114815114816114817114818114819114820114821114822114823114824114825114826114827114828114829114830114831114832114833114834114835114836114837114838114839114840114841114842114843114844114845114846114847114848114849114850114851114852114853114854114855114856114857114858114859114860114861114862114863114864114865114866114867114868114869114870114871114872114873114874114875114876114877114878114879114880114881114882114883114884114885114886114887114888114889114890114891114892114893114894114895114896114897114898114899114900114901114902114903114904114905114906114907114908114909114910114911114912114913114914114915114916114917114918114919114920114921114922114923114924114925114926114927114928114929114930114931114932114933114934114935114936114937114938114939114940114941114942114943114944114945114946114947114948114949114950114951114952114953114954114955114956114957114958114959114960114961114962114963114964114965114966114967114968114969114970114971114972114973114974114975114976114977114978114979114980114981114982114983114984114985114986114987114988114989114990114991114992114993114994114995114996114997114998114999115000115001115002115003115004115005115006115007115008115009115010115011115012115013115014115015115016115017115018115019115020115021115022115023115024115025115026115027115028115029115030115031115032115033115034115035115036115037115038115039115040115041115042115043115044115045115046115047115048115049115050115051115052115053115054115055115056115057115058115059115060115061115062115063115064115065115066115067115068115069115070115071115072115073115074115075115076115077115078115079115080115081115082115083115084115085115086115087115088115089115090115091115092115093115094115095115096115097115098115099115100115101115102115103115104115105115106115107115108115109115110115111115112115113115114115115115116115117115118115119115120115121115122115123115124115125115126115127115128115129115130115131115132115133115134115135115136115137115138115139115140115141115142115143115144115145115146115147115148115149115150115151115152115153115154115155115156115157115158115159115160115161115162115163115164115165115166115167115168115169115170115171115172115173115174115175115176115177115178115179115180115181115182115183115184115185115186115187115188115189115190115191115192115193115194115195115196115197115198115199115200115201115202115203115204115205115206115207115208115209115210115211115212115213115214115215115216115217115218115219115220115221115222115223115224115225115226115227115228115229115230115231115232115233115234115235115236115237115238115239115240115241115242115243115244115245115246115247115248115249115250115251115252115253115254115255115256115257115258115259115260115261115262115263115264115265115266115267115268115269115270115271115272115273115274115275115276115277115278115279115280115281115282115283115284115285115286115287115288115289115290115291115292115293115294115295115296115297115298115299115300115301115302115303115304115305115306115307115308115309115310115311115312115313115314115315115316115317115318115319115320115321115322115323115324115325115326115327115328115329115330115331115332115333115334115335115336115337115338115339115340115341115342115343115344115345115346115347115348115349115350115351115352115353115354115355115356115357115358115359115360115361115362115363115364115365115366115367115368115369115370115371115372115373115374115375115376115377115378115379115380115381115382115383115384115385115386115387115388115389115390115391115392115393115394115395115396115397115398115399115400115401115402115403115404115405115406115407115408115409115410115411115412115413115414115415115416115417115418115419115420115421115422115423115424115425115426115427115428115429115430115431115432115433115434115435115436115437115438115439115440115441115442115443115444115445115446115447115448115449115450115451115452115453115454115455115456115457115458115459115460115461115462115463115464115465115466115467115468115469115470115471115472115473115474115475115476115477115478115479115480115481115482115483115484115485115486115487115488115489115490115491115492115493115494115495115496115497115498115499115500115501115502115503115504115505115506115507115508115509115510115511115512115513115514115515115516115517115518115519115520115521115522115523115524115525115526115527115528115529115530115531115532115533115534115535115536115537115538115539115540115541115542115543115544115545115546115547115548115549115550115551115552115553115554115555115556115557115558115559115560115561115562115563115564115565115566115567115568115569115570115571115572115573115574115575115576115577115578115579115580115581115582115583115584115585115586115587115588115589115590115591115592115593115594115595115596115597115598115599115600115601115602115603115604115605115606115607115608115609115610115611115612115613115614115615115616115617115618115619115620115621115622115623115624115625115626115627115628115629115630115631115632115633115634115635115636115637115638115639115640115641115642115643115644115645115646115647115648115649115650115651115652115653115654115655115656115657115658115659115660115661115662115663115664115665115666115667115668115669115670115671115672115673115674115675115676115677115678115679115680115681115682115683115684115685115686115687115688115689115690115691115692115693115694115695115696115697115698115699115700115701115702115703115704115705115706115707115708115709115710115711115712115713115714115715115716115717115718115719115720115721115722115723115724115725115726115727115728115729115730115731115732115733115734115735115736115737115738115739115740115741115742115743115744115745115746115747115748115749115750115751115752115753115754115755115756115757115758115759115760115761115762115763115764115765115766115767115768115769115770115771115772115773115774115775115776115777115778115779115780115781115782115783115784115785115786115787115788115789115790115791115792115793115794115795115796115797115798115799115800115801115802115803115804115805115806115807115808115809115810115811115812115813115814115815115816115817115818115819115820115821115822115823115824115825115826115827115828115829115830115831115832115833115834115835115836115837115838115839115840115841115842115843115844115845115846115847115848115849115850115851115852115853115854115855115856115857115858115859115860115861115862115863115864115865115866115867115868115869115870115871115872115873115874115875115876115877115878115879115880115881115882115883115884115885115886115887115888115889115890115891115892115893115894115895115896115897115898115899115900115901115902115903115904115905115906115907115908115909115910115911115912115913115914115915115916115917115918115919115920115921115922115923115924115925115926115927115928115929115930115931115932115933115934115935115936115937115938115939115940115941115942115943115944115945115946115947115948115949115950115951115952115953115954115955115956115957115958115959115960115961115962115963115964115965115966115967115968115969115970115971115972115973115974115975115976115977115978115979115980115981115982115983115984115985115986115987115988115989115990115991115992115993115994115995115996115997115998115999116000116001116002116003116004116005116006116007116008116009116010116011116012116013116014116015116016116017116018116019116020116021116022116023116024116025116026116027116028116029116030116031116032116033116034116035116036116037116038116039116040116041116042116043116044116045116046116047116048116049116050116051116052116053116054116055116056116057116058116059116060116061116062116063116064116065116066116067116068116069116070116071116072116073116074116075116076116077116078116079116080116081116082116083116084116085116086116087116088116089116090116091116092116093116094116095116096116097116098116099116100116101116102116103116104116105116106116107116108116109116110116111116112116113116114116115116116116117116118116119116120116121116122116123116124116125116126116127116128116129116130116131116132116133116134116135116136116137116138116139116140116141116142116143116144116145116146116147116148116149116150116151116152116153116154116155116156116157116158116159116160116161116162116163116164116165116166116167116168116169116170116171116172116173116174116175116176116177116178116179116180116181116182116183116184116185116186116187116188116189116190116191116192116193116194116195116196116197116198116199116200116201116202116203116204116205116206116207116208116209116210116211116212116213116214116215116216116217116218116219116220116221116222116223116224116225116226116227116228116229116230116231116232116233116234116235116236116237116238116239116240116241116242116243116244116245116246116247116248116249116250116251116252116253116254116255116256116257116258116259116260116261116262116263116264116265116266116267116268116269116270116271116272116273116274116275116276116277116278116279116280116281116282116283116284116285116286116287116288116289116290116291116292116293116294116295116296116297116298116299116300116301116302116303116304116305116306116307116308116309116310116311116312116313116314116315116316116317116318116319116320116321116322116323116324116325116326116327116328116329116330116331116332116333116334116335116336116337116338116339116340116341116342116343116344116345116346116347116348116349116350116351116352116353116354116355116356116357116358116359116360116361116362116363116364116365116366116367116368116369116370116371116372116373116374116375116376116377116378116379116380116381116382116383116384116385116386116387116388116389116390116391116392116393116394116395116396116397116398116399116400116401116402116403116404116405116406116407116408116409116410116411116412116413116414116415116416116417116418116419116420116421116422116423116424116425116426116427116428116429116430116431116432116433116434116435116436116437116438116439116440116441116442116443116444116445116446116447116448116449116450116451116452116453116454116455116456116457116458116459116460116461116462116463116464116465116466116467116468116469116470116471116472116473116474116475116476116477116478116479116480116481116482116483116484116485116486116487116488116489116490116491116492116493116494116495116496116497116498116499116500116501116502116503116504116505116506116507116508116509116510116511116512116513116514116515116516116517116518116519116520116521116522116523116524116525116526116527116528116529116530116531116532116533116534116535116536116537116538116539116540116541116542116543116544116545116546116547116548116549116550116551116552116553116554116555116556116557116558116559116560116561116562116563116564116565116566116567116568116569116570116571116572116573116574116575116576116577116578116579116580116581116582116583116584116585116586116587116588116589116590116591116592116593116594116595116596116597116598116599116600116601116602116603116604116605116606116607116608116609116610116611116612116613116614116615116616116617116618116619116620116621116622116623116624116625116626116627116628116629116630116631116632116633116634116635116636116637116638116639116640116641116642116643116644116645116646116647116648116649116650116651116652116653116654116655116656116657116658116659116660116661116662116663116664116665116666116667116668116669116670116671116672116673116674116675116676116677116678116679116680116681116682116683116684116685116686116687116688116689116690116691116692116693116694116695116696116697116698116699116700116701116702116703116704116705116706116707116708116709116710116711116712116713116714116715116716116717116718116719116720116721116722116723116724116725116726116727116728116729116730116731116732116733116734116735116736116737116738116739116740116741116742116743116744116745116746116747116748116749116750116751116752116753116754116755116756116757116758116759116760116761116762116763116764116765116766116767116768116769116770116771116772116773116774116775116776116777116778116779116780116781116782116783116784116785116786116787116788116789116790116791116792116793116794116795116796116797116798116799116800116801116802116803116804116805116806116807116808116809116810116811116812116813116814116815116816116817116818116819116820116821116822116823116824116825116826116827116828116829116830116831116832116833116834116835116836116837116838116839116840116841116842116843116844116845116846116847116848116849116850116851116852116853116854116855116856116857116858116859116860116861116862116863116864116865116866116867116868116869116870116871116872116873116874116875116876116877116878116879116880116881116882116883116884116885116886116887116888116889116890116891116892116893116894116895116896116897116898116899116900116901116902116903116904116905116906116907116908116909116910116911116912116913116914116915116916116917116918116919116920116921116922116923116924116925116926116927116928116929116930116931116932116933116934116935116936116937116938116939116940116941116942116943116944116945116946116947116948116949116950116951116952116953116954116955116956116957116958116959116960116961116962116963116964116965116966116967116968116969116970116971116972116973116974116975116976116977116978116979116980116981116982116983116984116985116986116987116988116989116990116991116992116993116994116995116996116997116998116999117000117001117002117003117004117005117006117007117008117009117010117011117012117013117014117015117016117017117018117019117020117021117022117023117024117025117026117027117028117029117030117031117032117033117034117035117036117037117038117039117040117041117042117043117044117045117046117047117048117049117050117051117052117053117054117055117056117057117058117059117060117061117062117063117064117065117066117067117068117069117070117071117072117073117074117075117076117077117078117079117080117081117082117083117084117085117086117087117088117089117090117091117092117093117094117095117096117097117098117099117100117101117102117103117104117105117106117107117108117109117110117111117112117113117114117115117116117117117118117119117120117121117122117123117124117125117126117127117128117129117130117131117132117133117134117135117136117137117138117139117140117141117142117143117144117145117146117147117148117149117150117151117152117153117154117155117156117157117158117159117160117161117162117163117164117165117166117167117168117169117170117171117172117173117174117175117176117177117178117179117180117181117182117183117184117185117186117187117188117189117190117191117192117193117194117195117196117197117198117199117200117201117202117203117204117205117206117207117208117209117210117211117212117213117214117215117216117217117218117219117220117221117222117223117224117225117226117227117228117229117230117231117232117233117234117235117236117237117238117239117240117241117242117243117244117245117246117247117248117249117250117251117252117253117254117255117256117257117258117259117260117261117262117263117264117265117266117267117268117269117270117271117272117273117274117275117276117277117278117279117280117281117282117283117284117285117286117287117288117289117290117291117292117293117294117295117296117297117298117299117300117301117302117303117304117305117306117307117308117309117310117311117312117313117314117315117316117317117318117319117320117321117322117323117324117325117326117327117328117329117330117331117332117333117334117335117336117337117338117339117340117341117342117343117344117345117346117347117348117349117350117351117352117353117354117355117356117357117358117359117360117361117362117363117364117365117366117367117368117369117370117371117372117373117374117375117376117377117378117379117380117381117382117383117384117385117386117387117388117389117390117391117392117393117394117395117396117397117398117399117400117401117402117403117404117405117406117407117408117409117410117411117412117413117414117415117416117417117418117419117420117421117422117423117424117425117426117427117428117429117430117431117432117433117434117435117436117437117438117439117440117441117442117443117444117445117446117447117448117449117450117451117452117453117454117455117456117457117458117459117460117461117462117463117464117465117466117467117468117469117470117471117472117473117474117475117476117477117478117479117480117481117482117483117484117485117486117487117488117489117490117491117492117493117494117495117496117497117498117499117500117501117502117503117504117505117506117507117508117509117510117511117512117513117514117515117516117517117518117519117520117521117522117523117524117525117526117527117528117529117530117531117532117533117534117535117536117537117538117539117540117541117542117543117544117545117546117547117548117549117550117551117552117553117554117555117556117557117558117559117560117561117562117563117564117565117566117567117568117569117570117571117572117573117574117575117576117577117578117579117580117581117582117583117584117585117586117587117588117589117590117591117592117593117594117595117596117597117598117599117600117601117602117603117604117605117606117607117608117609117610117611117612117613117614117615117616117617117618117619117620117621117622117623117624117625117626117627117628117629117630117631117632117633117634117635117636117637117638117639117640117641117642117643117644117645117646117647117648117649117650117651117652117653117654117655117656117657117658117659117660117661117662117663117664117665117666117667117668117669117670117671117672117673117674117675117676117677117678117679117680117681117682117683117684117685117686117687117688117689117690117691117692117693117694117695117696117697117698117699117700117701117702117703117704117705117706117707117708117709117710117711117712117713117714117715117716117717117718117719117720117721117722117723117724117725117726117727117728117729117730117731117732117733117734117735117736117737117738117739117740117741117742117743117744117745117746117747117748117749117750117751117752117753117754117755117756117757117758117759117760117761117762117763117764117765117766117767117768117769117770117771117772117773117774117775117776117777117778117779117780117781117782117783117784117785117786117787117788117789117790117791117792117793117794117795117796117797117798117799117800117801117802117803117804117805117806117807117808117809117810117811117812117813117814117815117816117817117818117819117820117821117822117823117824117825117826117827117828117829117830117831117832117833117834117835117836117837117838117839117840117841117842117843117844117845117846117847117848117849117850117851117852117853117854117855117856117857117858117859117860117861117862117863117864117865117866117867117868117869117870117871117872117873117874117875117876117877117878117879117880117881117882117883117884117885117886117887117888117889117890117891117892117893117894117895117896117897117898117899117900117901117902117903117904117905117906117907117908117909117910117911117912117913117914117915117916117917117918117919117920117921117922117923117924117925117926117927117928117929117930117931117932117933117934117935117936117937117938117939117940117941117942117943117944117945117946117947117948117949117950117951117952117953117954117955117956117957117958117959117960117961117962117963117964117965117966117967117968117969117970117971117972117973117974117975117976117977117978117979117980117981117982117983117984117985117986117987117988117989117990117991117992117993117994117995117996117997117998117999118000118001118002118003118004118005118006118007118008118009118010118011118012118013118014118015118016118017118018118019118020118021118022118023118024118025118026118027118028118029118030118031118032118033118034118035118036118037118038118039118040118041118042118043118044118045118046118047118048118049118050118051118052118053118054118055118056118057118058118059118060118061118062118063118064118065118066118067118068118069118070118071118072118073118074118075118076118077118078118079118080118081118082118083118084118085118086118087118088118089118090118091118092118093118094118095118096118097118098118099118100118101118102118103118104
  1. // Because of vitejs/vite#12340, there's no way to reliably detect whether we're
  2. // running as a (possibly bundled/polyfilled) ESM module or as a CommonJS
  3. // module. In order to work everywhere, we have to provide the load function via
  4. // a side channel on the global object. We write it as a stack so that multiple
  5. // cli_pkg packages can depend on one another without clobbering their exports.
  6. if (!globalThis._cliPkgExports) {
  7. globalThis._cliPkgExports = [];
  8. }
  9. let _cliPkgExports = {};
  10. globalThis._cliPkgExports.push(_cliPkgExports);
  11. _cliPkgExports.load = function(_cliPkgRequires, _cliPkgExportParam) {
  12. var dartNodeIsActuallyNode = typeof process !== "undefined" && (process.versions || {}).hasOwnProperty('node');
  13. // make sure to keep this as 'var'
  14. // we don't want block scoping
  15. var self = dartNodeIsActuallyNode ? Object.create(globalThis) : globalThis;
  16. self.scheduleImmediate = typeof setImmediate !== "undefined"
  17. ? function (cb) {
  18. setImmediate(cb);
  19. }
  20. : function(cb) {
  21. setTimeout(cb, 0);
  22. };
  23. // CommonJS globals.
  24. if (typeof require !== "undefined") {
  25. self.require = require;
  26. }
  27. self.exports = _cliPkgExportParam || _cliPkgExports;
  28. // Node.js specific exports, check to see if they exist & or polyfilled
  29. if (typeof process !== "undefined") {
  30. self.process = process;
  31. }
  32. if (typeof __dirname !== "undefined") {
  33. self.__dirname = __dirname;
  34. }
  35. if (typeof __filename !== "undefined") {
  36. self.__filename = __filename;
  37. }
  38. if (typeof Buffer !== "undefined") {
  39. self.Buffer = Buffer;
  40. }
  41. // if we're running in a browser, Dart supports most of this out of box
  42. // make sure we only run these in Node.js environment
  43. if (dartNodeIsActuallyNode) {
  44. // This line is to:
  45. // 1) Prevent Webpack from bundling.
  46. // 2) In Webpack on Node.js, make sure we're using the native Node.js require, which is available via __non_webpack_require__
  47. // https://github.com/mbullington/node_preamble.dart/issues/18#issuecomment-527305561
  48. var url = ("undefined" !== typeof __webpack_require__ ? __non_webpack_require__ : require)("url");
  49. // Setting `self.location=` in Electron throws a `TypeError`, so we define it
  50. // as a property instead to be safe.
  51. Object.defineProperty(self, "location", {
  52. value: {
  53. get href() {
  54. if (url.pathToFileURL) {
  55. return url.pathToFileURL(process.cwd()).href + "/";
  56. } else {
  57. // This isn't really a correct transformation, but it's the best we have
  58. // for versions of Node <10.12.0 which introduced `url.pathToFileURL()`.
  59. // For example, it will fail for paths that contain characters that need
  60. // to be escaped in URLs.
  61. return "file://" + (function() {
  62. var cwd = process.cwd();
  63. if (process.platform != "win32") return cwd;
  64. return "/" + cwd.replace(/\\/g, "/");
  65. })() + "/"
  66. }
  67. }
  68. }
  69. });
  70. (function() {
  71. function computeCurrentScript() {
  72. try {
  73. throw new Error();
  74. } catch(e) {
  75. var stack = e.stack;
  76. var re = new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "mg");
  77. var lastMatch = null;
  78. do {
  79. var match = re.exec(stack);
  80. if (match != null) lastMatch = match;
  81. } while (match != null);
  82. return lastMatch[1];
  83. }
  84. }
  85. // Setting `self.document=` isn't known to throw an error anywhere like
  86. // `self.location=` does on Electron, but it's better to be future-proof
  87. // just in case..
  88. var cachedCurrentScript = null;
  89. Object.defineProperty(self, "document", {
  90. value: {
  91. get currentScript() {
  92. if (cachedCurrentScript == null) {
  93. cachedCurrentScript = {src: computeCurrentScript()};
  94. }
  95. return cachedCurrentScript;
  96. }
  97. }
  98. });
  99. })();
  100. self.dartDeferredLibraryLoader = function(uri, successCallback, errorCallback) {
  101. try {
  102. load(uri);
  103. successCallback();
  104. } catch (error) {
  105. errorCallback(error);
  106. }
  107. };
  108. }
  109. self.immutable = _cliPkgRequires.immutable;
  110. self.chokidar = _cliPkgRequires.chokidar;
  111. self.readline = _cliPkgRequires.readline;
  112. self.fs = _cliPkgRequires.fs;
  113. self.stream = _cliPkgRequires.stream;
  114. self.util = _cliPkgRequires.util;
  115. // Generated by dart2js (NullSafetyMode.sound, trust primitives, omit checks, lax runtime type, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.2.4.
  116. // The code supports the following hooks:
  117. // dartPrint(message):
  118. // if this function is defined it is called instead of the Dart [print]
  119. // method.
  120. //
  121. // dartMainRunner(main, args):
  122. // if this function is defined, the Dart [main] method will not be invoked
  123. // directly. Instead, a closure that will invoke [main], and its arguments
  124. // [args] is passed to [dartMainRunner].
  125. //
  126. // dartDeferredLibraryLoader(uri, successCallback, errorCallback, loadId, loadPriority):
  127. // if this function is defined, it will be called when a deferred library
  128. // is loaded. It should load and eval the javascript of `uri`, and call
  129. // successCallback. If it fails to do so, it should call errorCallback with
  130. // an error. The loadId argument is the deferred import that resulted in
  131. // this uri being loaded. The loadPriority argument is the priority the
  132. // library should be loaded with as specified in the code via the
  133. // load-priority annotation (0: normal, 1: high).
  134. //
  135. // dartCallInstrumentation(id, qualifiedName):
  136. // if this function is defined, it will be called at each entry of a
  137. // method or constructor. Used only when compiling programs with
  138. // --experiment-call-instrumentation.
  139. (function dartProgram() {
  140. function copyProperties(from, to) {
  141. var keys = Object.keys(from);
  142. for (var i = 0; i < keys.length; i++) {
  143. var key = keys[i];
  144. to[key] = from[key];
  145. }
  146. }
  147. function mixinPropertiesHard(from, to) {
  148. var keys = Object.keys(from);
  149. for (var i = 0; i < keys.length; i++) {
  150. var key = keys[i];
  151. if (!to.hasOwnProperty(key))
  152. to[key] = from[key];
  153. }
  154. }
  155. function mixinPropertiesEasy(from, to) {
  156. Object.assign(to, from);
  157. }
  158. var supportsDirectProtoAccess = function() {
  159. var cls = function() {
  160. };
  161. cls.prototype = {p: {}};
  162. var object = new cls();
  163. if (!(Object.getPrototypeOf(object) && Object.getPrototypeOf(object).p === cls.prototype.p))
  164. return false;
  165. try {
  166. if (typeof navigator != "undefined" && typeof navigator.userAgent == "string" && navigator.userAgent.indexOf("Chrome/") >= 0)
  167. return true;
  168. if (typeof version == "function" && version.length == 0) {
  169. var v = version();
  170. if (/^\d+\.\d+\.\d+\.\d+$/.test(v))
  171. return true;
  172. }
  173. } catch (_) {
  174. }
  175. return false;
  176. }();
  177. function inherit(cls, sup) {
  178. cls.prototype.constructor = cls;
  179. cls.prototype["$is" + cls.name] = cls;
  180. if (sup != null) {
  181. if (supportsDirectProtoAccess) {
  182. Object.setPrototypeOf(cls.prototype, sup.prototype);
  183. return;
  184. }
  185. var clsPrototype = Object.create(sup.prototype);
  186. copyProperties(cls.prototype, clsPrototype);
  187. cls.prototype = clsPrototype;
  188. }
  189. }
  190. function inheritMany(sup, classes) {
  191. for (var i = 0; i < classes.length; i++)
  192. inherit(classes[i], sup);
  193. }
  194. function mixinEasy(cls, mixin) {
  195. mixinPropertiesEasy(mixin.prototype, cls.prototype);
  196. cls.prototype.constructor = cls;
  197. }
  198. function mixinHard(cls, mixin) {
  199. mixinPropertiesHard(mixin.prototype, cls.prototype);
  200. cls.prototype.constructor = cls;
  201. }
  202. function lazyOld(holder, name, getterName, initializer) {
  203. var uninitializedSentinel = holder;
  204. holder[name] = uninitializedSentinel;
  205. holder[getterName] = function() {
  206. holder[getterName] = function() {
  207. A.throwCyclicInit(name);
  208. };
  209. var result;
  210. var sentinelInProgress = initializer;
  211. try {
  212. if (holder[name] === uninitializedSentinel) {
  213. result = holder[name] = sentinelInProgress;
  214. result = holder[name] = initializer();
  215. } else
  216. result = holder[name];
  217. } finally {
  218. if (result === sentinelInProgress)
  219. holder[name] = null;
  220. holder[getterName] = function() {
  221. return this[name];
  222. };
  223. }
  224. return result;
  225. };
  226. }
  227. function lazy(holder, name, getterName, initializer) {
  228. var uninitializedSentinel = holder;
  229. holder[name] = uninitializedSentinel;
  230. holder[getterName] = function() {
  231. if (holder[name] === uninitializedSentinel)
  232. holder[name] = initializer();
  233. holder[getterName] = function() {
  234. return this[name];
  235. };
  236. return holder[name];
  237. };
  238. }
  239. function lazyFinal(holder, name, getterName, initializer) {
  240. var uninitializedSentinel = holder;
  241. holder[name] = uninitializedSentinel;
  242. holder[getterName] = function() {
  243. if (holder[name] === uninitializedSentinel) {
  244. var value = initializer();
  245. if (holder[name] !== uninitializedSentinel)
  246. A.throwLateFieldADI(name);
  247. holder[name] = value;
  248. }
  249. var finalValue = holder[name];
  250. holder[getterName] = function() {
  251. return finalValue;
  252. };
  253. return finalValue;
  254. };
  255. }
  256. function makeConstList(list) {
  257. list.immutable$list = Array;
  258. list.fixed$length = Array;
  259. return list;
  260. }
  261. function convertToFastObject(properties) {
  262. function t() {
  263. }
  264. t.prototype = properties;
  265. new t();
  266. return properties;
  267. }
  268. function convertAllToFastObject(arrayOfObjects) {
  269. for (var i = 0; i < arrayOfObjects.length; ++i)
  270. convertToFastObject(arrayOfObjects[i]);
  271. }
  272. var functionCounter = 0;
  273. function instanceTearOffGetter(isIntercepted, parameters) {
  274. var cache = null;
  275. return isIntercepted ? function(receiver) {
  276. if (cache === null)
  277. cache = A.closureFromTearOff(parameters);
  278. return new cache(receiver, this);
  279. } : function() {
  280. if (cache === null)
  281. cache = A.closureFromTearOff(parameters);
  282. return new cache(this, null);
  283. };
  284. }
  285. function staticTearOffGetter(parameters) {
  286. var cache = null;
  287. return function() {
  288. if (cache === null)
  289. cache = A.closureFromTearOff(parameters).prototype;
  290. return cache;
  291. };
  292. }
  293. var typesOffset = 0;
  294. function tearOffParameters(container, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
  295. if (typeof funType == "number")
  296. funType += typesOffset;
  297. return {co: container, iS: isStatic, iI: isIntercepted, rC: requiredParameterCount, dV: optionalParameterDefaultValues, cs: callNames, fs: funsOrNames, fT: funType, aI: applyIndex || 0, nDA: needsDirectAccess};
  298. }
  299. function installStaticTearOff(holder, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) {
  300. var parameters = tearOffParameters(holder, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, false);
  301. var getterFunction = staticTearOffGetter(parameters);
  302. holder[getterName] = getterFunction;
  303. }
  304. function installInstanceTearOff(prototype, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {
  305. isIntercepted = !!isIntercepted;
  306. var parameters = tearOffParameters(prototype, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, !!needsDirectAccess);
  307. var getterFunction = instanceTearOffGetter(isIntercepted, parameters);
  308. prototype[getterName] = getterFunction;
  309. }
  310. function setOrUpdateInterceptorsByTag(newTags) {
  311. var tags = init.interceptorsByTag;
  312. if (!tags) {
  313. init.interceptorsByTag = newTags;
  314. return;
  315. }
  316. copyProperties(newTags, tags);
  317. }
  318. function setOrUpdateLeafTags(newTags) {
  319. var tags = init.leafTags;
  320. if (!tags) {
  321. init.leafTags = newTags;
  322. return;
  323. }
  324. copyProperties(newTags, tags);
  325. }
  326. function updateTypes(newTypes) {
  327. var types = init.types;
  328. var length = types.length;
  329. types.push.apply(types, newTypes);
  330. return length;
  331. }
  332. function updateHolder(holder, newHolder) {
  333. copyProperties(newHolder, holder);
  334. return holder;
  335. }
  336. var hunkHelpers = function() {
  337. var mkInstance = function(isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
  338. return function(container, getterName, name, funType) {
  339. return installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex, false);
  340. };
  341. },
  342. mkStatic = function(requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {
  343. return function(container, getterName, name, funType) {
  344. return installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex);
  345. };
  346. };
  347. 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};
  348. }();
  349. function initializeDeferredHunk(hunk) {
  350. typesOffset = init.types.length;
  351. hunk(hunkHelpers, init, holders, $);
  352. }
  353. var J = {
  354. makeDispatchRecord(interceptor, proto, extension, indexability) {
  355. return {i: interceptor, p: proto, e: extension, x: indexability};
  356. },
  357. getNativeInterceptor(object) {
  358. var proto, objectProto, $constructor, interceptor, t1,
  359. record = object[init.dispatchPropertyName];
  360. if (record == null)
  361. if ($.initNativeDispatchFlag == null) {
  362. A.initNativeDispatch();
  363. record = object[init.dispatchPropertyName];
  364. }
  365. if (record != null) {
  366. proto = record.p;
  367. if (false === proto)
  368. return record.i;
  369. if (true === proto)
  370. return object;
  371. objectProto = Object.getPrototypeOf(object);
  372. if (proto === objectProto)
  373. return record.i;
  374. if (record.e === objectProto)
  375. throw A.wrapException(A.UnimplementedError$("Return interceptor for " + A.S(proto(object, record))));
  376. }
  377. $constructor = object.constructor;
  378. if ($constructor == null)
  379. interceptor = null;
  380. else {
  381. t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
  382. if (t1 == null)
  383. t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
  384. interceptor = $constructor[t1];
  385. }
  386. if (interceptor != null)
  387. return interceptor;
  388. interceptor = A.lookupAndCacheInterceptor(object);
  389. if (interceptor != null)
  390. return interceptor;
  391. if (typeof object == "function")
  392. return B.JavaScriptFunction_methods;
  393. proto = Object.getPrototypeOf(object);
  394. if (proto == null)
  395. return B.PlainJavaScriptObject_methods;
  396. if (proto === Object.prototype)
  397. return B.PlainJavaScriptObject_methods;
  398. if (typeof $constructor == "function") {
  399. t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
  400. if (t1 == null)
  401. t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
  402. Object.defineProperty($constructor, t1, {value: B.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true});
  403. return B.UnknownJavaScriptObject_methods;
  404. }
  405. return B.UnknownJavaScriptObject_methods;
  406. },
  407. JSArray_JSArray$fixed($length, $E) {
  408. if ($length < 0 || $length > 4294967295)
  409. throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
  410. return J.JSArray_JSArray$markFixed(new Array($length), $E);
  411. },
  412. JSArray_JSArray$allocateFixed($length, $E) {
  413. if ($length > 4294967295)
  414. throw A.wrapException(A.RangeError$range($length, 0, 4294967295, "length", null));
  415. return J.JSArray_JSArray$markFixed(new Array($length), $E);
  416. },
  417. JSArray_JSArray$growable($length, $E) {
  418. if ($length < 0)
  419. throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
  420. return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
  421. },
  422. JSArray_JSArray$allocateGrowable($length, $E) {
  423. if ($length < 0)
  424. throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: " + $length, null));
  425. return A._setArrayType(new Array($length), $E._eval$1("JSArray<0>"));
  426. },
  427. JSArray_JSArray$markFixed(allocation, $E) {
  428. return J.JSArray_markFixedList(A._setArrayType(allocation, $E._eval$1("JSArray<0>")));
  429. },
  430. JSArray_markFixedList(list) {
  431. list.fixed$length = Array;
  432. return list;
  433. },
  434. JSArray_markUnmodifiableList(list) {
  435. list.fixed$length = Array;
  436. list.immutable$list = Array;
  437. return list;
  438. },
  439. JSArray__compareAny(a, b) {
  440. return J.compareTo$1$ns(a, b);
  441. },
  442. JSString__isWhitespace(codeUnit) {
  443. if (codeUnit < 256)
  444. switch (codeUnit) {
  445. case 9:
  446. case 10:
  447. case 11:
  448. case 12:
  449. case 13:
  450. case 32:
  451. case 133:
  452. case 160:
  453. return true;
  454. default:
  455. return false;
  456. }
  457. switch (codeUnit) {
  458. case 5760:
  459. case 8192:
  460. case 8193:
  461. case 8194:
  462. case 8195:
  463. case 8196:
  464. case 8197:
  465. case 8198:
  466. case 8199:
  467. case 8200:
  468. case 8201:
  469. case 8202:
  470. case 8232:
  471. case 8233:
  472. case 8239:
  473. case 8287:
  474. case 12288:
  475. case 65279:
  476. return true;
  477. default:
  478. return false;
  479. }
  480. },
  481. JSString__skipLeadingWhitespace(string, index) {
  482. var t1, codeUnit;
  483. for (t1 = string.length; index < t1;) {
  484. codeUnit = string.charCodeAt(index);
  485. if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
  486. break;
  487. ++index;
  488. }
  489. return index;
  490. },
  491. JSString__skipTrailingWhitespace(string, index) {
  492. var index0, codeUnit;
  493. for (; index > 0; index = index0) {
  494. index0 = index - 1;
  495. codeUnit = string.charCodeAt(index0);
  496. if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit))
  497. break;
  498. }
  499. return index;
  500. },
  501. getInterceptor$(receiver) {
  502. if (typeof receiver == "number") {
  503. if (Math.floor(receiver) == receiver)
  504. return J.JSInt.prototype;
  505. return J.JSNumNotInt.prototype;
  506. }
  507. if (typeof receiver == "string")
  508. return J.JSString.prototype;
  509. if (receiver == null)
  510. return J.JSNull.prototype;
  511. if (typeof receiver == "boolean")
  512. return J.JSBool.prototype;
  513. if (Array.isArray(receiver))
  514. return J.JSArray.prototype;
  515. if (typeof receiver != "object") {
  516. if (typeof receiver == "function")
  517. return J.JavaScriptFunction.prototype;
  518. if (typeof receiver == "symbol")
  519. return J.JavaScriptSymbol.prototype;
  520. if (typeof receiver == "bigint")
  521. return J.JavaScriptBigInt.prototype;
  522. return receiver;
  523. }
  524. if (receiver instanceof A.Object)
  525. return receiver;
  526. return J.getNativeInterceptor(receiver);
  527. },
  528. getInterceptor$ansx(receiver) {
  529. if (typeof receiver == "number")
  530. return J.JSNumber.prototype;
  531. if (typeof receiver == "string")
  532. return J.JSString.prototype;
  533. if (receiver == null)
  534. return receiver;
  535. if (Array.isArray(receiver))
  536. return J.JSArray.prototype;
  537. if (typeof receiver != "object") {
  538. if (typeof receiver == "function")
  539. return J.JavaScriptFunction.prototype;
  540. if (typeof receiver == "symbol")
  541. return J.JavaScriptSymbol.prototype;
  542. if (typeof receiver == "bigint")
  543. return J.JavaScriptBigInt.prototype;
  544. return receiver;
  545. }
  546. if (receiver instanceof A.Object)
  547. return receiver;
  548. return J.getNativeInterceptor(receiver);
  549. },
  550. getInterceptor$asx(receiver) {
  551. if (typeof receiver == "string")
  552. return J.JSString.prototype;
  553. if (receiver == null)
  554. return receiver;
  555. if (Array.isArray(receiver))
  556. return J.JSArray.prototype;
  557. if (typeof receiver != "object") {
  558. if (typeof receiver == "function")
  559. return J.JavaScriptFunction.prototype;
  560. if (typeof receiver == "symbol")
  561. return J.JavaScriptSymbol.prototype;
  562. if (typeof receiver == "bigint")
  563. return J.JavaScriptBigInt.prototype;
  564. return receiver;
  565. }
  566. if (receiver instanceof A.Object)
  567. return receiver;
  568. return J.getNativeInterceptor(receiver);
  569. },
  570. getInterceptor$ax(receiver) {
  571. if (receiver == null)
  572. return receiver;
  573. if (Array.isArray(receiver))
  574. return J.JSArray.prototype;
  575. if (typeof receiver != "object") {
  576. if (typeof receiver == "function")
  577. return J.JavaScriptFunction.prototype;
  578. if (typeof receiver == "symbol")
  579. return J.JavaScriptSymbol.prototype;
  580. if (typeof receiver == "bigint")
  581. return J.JavaScriptBigInt.prototype;
  582. return receiver;
  583. }
  584. if (receiver instanceof A.Object)
  585. return receiver;
  586. return J.getNativeInterceptor(receiver);
  587. },
  588. getInterceptor$in(receiver) {
  589. if (typeof receiver == "number") {
  590. if (Math.floor(receiver) == receiver)
  591. return J.JSInt.prototype;
  592. return J.JSNumNotInt.prototype;
  593. }
  594. if (receiver == null)
  595. return receiver;
  596. if (!(receiver instanceof A.Object))
  597. return J.UnknownJavaScriptObject.prototype;
  598. return receiver;
  599. },
  600. getInterceptor$n(receiver) {
  601. if (typeof receiver == "number")
  602. return J.JSNumber.prototype;
  603. if (receiver == null)
  604. return receiver;
  605. if (!(receiver instanceof A.Object))
  606. return J.UnknownJavaScriptObject.prototype;
  607. return receiver;
  608. },
  609. getInterceptor$ns(receiver) {
  610. if (typeof receiver == "number")
  611. return J.JSNumber.prototype;
  612. if (typeof receiver == "string")
  613. return J.JSString.prototype;
  614. if (receiver == null)
  615. return receiver;
  616. if (!(receiver instanceof A.Object))
  617. return J.UnknownJavaScriptObject.prototype;
  618. return receiver;
  619. },
  620. getInterceptor$s(receiver) {
  621. if (typeof receiver == "string")
  622. return J.JSString.prototype;
  623. if (receiver == null)
  624. return receiver;
  625. if (!(receiver instanceof A.Object))
  626. return J.UnknownJavaScriptObject.prototype;
  627. return receiver;
  628. },
  629. getInterceptor$x(receiver) {
  630. if (receiver == null)
  631. return receiver;
  632. if (typeof receiver != "object") {
  633. if (typeof receiver == "function")
  634. return J.JavaScriptFunction.prototype;
  635. if (typeof receiver == "symbol")
  636. return J.JavaScriptSymbol.prototype;
  637. if (typeof receiver == "bigint")
  638. return J.JavaScriptBigInt.prototype;
  639. return receiver;
  640. }
  641. if (receiver instanceof A.Object)
  642. return receiver;
  643. return J.getNativeInterceptor(receiver);
  644. },
  645. getInterceptor$z(receiver) {
  646. if (receiver == null)
  647. return receiver;
  648. if (!(receiver instanceof A.Object))
  649. return J.UnknownJavaScriptObject.prototype;
  650. return receiver;
  651. },
  652. set$CalculationInterpolation$x(receiver, value) {
  653. return J.getInterceptor$x(receiver).set$CalculationInterpolation(receiver, value);
  654. },
  655. set$CalculationOperation$x(receiver, value) {
  656. return J.getInterceptor$x(receiver).set$CalculationOperation(receiver, value);
  657. },
  658. set$Exception$x(receiver, value) {
  659. return J.getInterceptor$x(receiver).set$Exception(receiver, value);
  660. },
  661. set$FALSE$x(receiver, value) {
  662. return J.getInterceptor$x(receiver).set$FALSE(receiver, value);
  663. },
  664. set$Logger$x(receiver, value) {
  665. return J.getInterceptor$x(receiver).set$Logger(receiver, value);
  666. },
  667. set$NULL$x(receiver, value) {
  668. return J.getInterceptor$x(receiver).set$NULL(receiver, value);
  669. },
  670. set$SassArgumentList$x(receiver, value) {
  671. return J.getInterceptor$x(receiver).set$SassArgumentList(receiver, value);
  672. },
  673. set$SassBoolean$x(receiver, value) {
  674. return J.getInterceptor$x(receiver).set$SassBoolean(receiver, value);
  675. },
  676. set$SassCalculation$x(receiver, value) {
  677. return J.getInterceptor$x(receiver).set$SassCalculation(receiver, value);
  678. },
  679. set$SassColor$x(receiver, value) {
  680. return J.getInterceptor$x(receiver).set$SassColor(receiver, value);
  681. },
  682. set$SassFunction$x(receiver, value) {
  683. return J.getInterceptor$x(receiver).set$SassFunction(receiver, value);
  684. },
  685. set$SassList$x(receiver, value) {
  686. return J.getInterceptor$x(receiver).set$SassList(receiver, value);
  687. },
  688. set$SassMap$x(receiver, value) {
  689. return J.getInterceptor$x(receiver).set$SassMap(receiver, value);
  690. },
  691. set$SassMixin$x(receiver, value) {
  692. return J.getInterceptor$x(receiver).set$SassMixin(receiver, value);
  693. },
  694. set$SassNumber$x(receiver, value) {
  695. return J.getInterceptor$x(receiver).set$SassNumber(receiver, value);
  696. },
  697. set$SassString$x(receiver, value) {
  698. return J.getInterceptor$x(receiver).set$SassString(receiver, value);
  699. },
  700. set$TRUE$x(receiver, value) {
  701. return J.getInterceptor$x(receiver).set$TRUE(receiver, value);
  702. },
  703. set$Value$x(receiver, value) {
  704. return J.getInterceptor$x(receiver).set$Value(receiver, value);
  705. },
  706. set$cli_pkg_main_0_$x(receiver, value) {
  707. return J.getInterceptor$x(receiver).set$cli_pkg_main_0_(receiver, value);
  708. },
  709. set$compile$x(receiver, value) {
  710. return J.getInterceptor$x(receiver).set$compile(receiver, value);
  711. },
  712. set$compileAsync$x(receiver, value) {
  713. return J.getInterceptor$x(receiver).set$compileAsync(receiver, value);
  714. },
  715. set$compileString$x(receiver, value) {
  716. return J.getInterceptor$x(receiver).set$compileString(receiver, value);
  717. },
  718. set$compileStringAsync$x(receiver, value) {
  719. return J.getInterceptor$x(receiver).set$compileStringAsync(receiver, value);
  720. },
  721. set$context$x(receiver, value) {
  722. return J.getInterceptor$x(receiver).set$context(receiver, value);
  723. },
  724. set$dartValue$x(receiver, value) {
  725. return J.getInterceptor$x(receiver).set$dartValue(receiver, value);
  726. },
  727. set$exitCode$x(receiver, value) {
  728. return J.getInterceptor$x(receiver).set$exitCode(receiver, value);
  729. },
  730. set$info$x(receiver, value) {
  731. return J.getInterceptor$x(receiver).set$info(receiver, value);
  732. },
  733. set$length$asx(receiver, value) {
  734. return J.getInterceptor$asx(receiver).set$length(receiver, value);
  735. },
  736. set$render$x(receiver, value) {
  737. return J.getInterceptor$x(receiver).set$render(receiver, value);
  738. },
  739. set$renderSync$x(receiver, value) {
  740. return J.getInterceptor$x(receiver).set$renderSync(receiver, value);
  741. },
  742. set$sassFalse$x(receiver, value) {
  743. return J.getInterceptor$x(receiver).set$sassFalse(receiver, value);
  744. },
  745. set$sassNull$x(receiver, value) {
  746. return J.getInterceptor$x(receiver).set$sassNull(receiver, value);
  747. },
  748. set$sassTrue$x(receiver, value) {
  749. return J.getInterceptor$x(receiver).set$sassTrue(receiver, value);
  750. },
  751. set$types$x(receiver, value) {
  752. return J.getInterceptor$x(receiver).set$types(receiver, value);
  753. },
  754. get$$prototype$x(receiver) {
  755. return J.getInterceptor$x(receiver).get$$prototype(receiver);
  756. },
  757. get$_dartException$x(receiver) {
  758. return J.getInterceptor$x(receiver).get$_dartException(receiver);
  759. },
  760. get$alertAscii$x(receiver) {
  761. return J.getInterceptor$x(receiver).get$alertAscii(receiver);
  762. },
  763. get$alertColor$x(receiver) {
  764. return J.getInterceptor$x(receiver).get$alertColor(receiver);
  765. },
  766. get$blue$x(receiver) {
  767. return J.getInterceptor$x(receiver).get$blue(receiver);
  768. },
  769. get$brackets$x(receiver) {
  770. return J.getInterceptor$x(receiver).get$brackets(receiver);
  771. },
  772. get$charset$x(receiver) {
  773. return J.getInterceptor$x(receiver).get$charset(receiver);
  774. },
  775. get$code$x(receiver) {
  776. return J.getInterceptor$x(receiver).get$code(receiver);
  777. },
  778. get$current$x(receiver) {
  779. return J.getInterceptor$x(receiver).get$current(receiver);
  780. },
  781. get$dartValue$x(receiver) {
  782. return J.getInterceptor$x(receiver).get$dartValue(receiver);
  783. },
  784. get$debug$x(receiver) {
  785. return J.getInterceptor$x(receiver).get$debug(receiver);
  786. },
  787. get$denominatorUnits$x(receiver) {
  788. return J.getInterceptor$x(receiver).get$denominatorUnits(receiver);
  789. },
  790. get$end$z(receiver) {
  791. return J.getInterceptor$z(receiver).get$end(receiver);
  792. },
  793. get$env$x(receiver) {
  794. return J.getInterceptor$x(receiver).get$env(receiver);
  795. },
  796. get$exitCode$x(receiver) {
  797. return J.getInterceptor$x(receiver).get$exitCode(receiver);
  798. },
  799. get$fiber$x(receiver) {
  800. return J.getInterceptor$x(receiver).get$fiber(receiver);
  801. },
  802. get$file$x(receiver) {
  803. return J.getInterceptor$x(receiver).get$file(receiver);
  804. },
  805. get$first$ax(receiver) {
  806. return J.getInterceptor$ax(receiver).get$first(receiver);
  807. },
  808. get$functions$x(receiver) {
  809. return J.getInterceptor$x(receiver).get$functions(receiver);
  810. },
  811. get$green$x(receiver) {
  812. return J.getInterceptor$x(receiver).get$green(receiver);
  813. },
  814. get$hashCode$(receiver) {
  815. return J.getInterceptor$(receiver).get$hashCode(receiver);
  816. },
  817. get$importer$x(receiver) {
  818. return J.getInterceptor$x(receiver).get$importer(receiver);
  819. },
  820. get$importers$x(receiver) {
  821. return J.getInterceptor$x(receiver).get$importers(receiver);
  822. },
  823. get$isEmpty$asx(receiver) {
  824. return J.getInterceptor$asx(receiver).get$isEmpty(receiver);
  825. },
  826. get$isNotEmpty$asx(receiver) {
  827. return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver);
  828. },
  829. get$isTTY$x(receiver) {
  830. return J.getInterceptor$x(receiver).get$isTTY(receiver);
  831. },
  832. get$iterator$ax(receiver) {
  833. return J.getInterceptor$ax(receiver).get$iterator(receiver);
  834. },
  835. get$keys$z(receiver) {
  836. return J.getInterceptor$z(receiver).get$keys(receiver);
  837. },
  838. get$last$ax(receiver) {
  839. return J.getInterceptor$ax(receiver).get$last(receiver);
  840. },
  841. get$length$asx(receiver) {
  842. return J.getInterceptor$asx(receiver).get$length(receiver);
  843. },
  844. get$loadPaths$x(receiver) {
  845. return J.getInterceptor$x(receiver).get$loadPaths(receiver);
  846. },
  847. get$logger$x(receiver) {
  848. return J.getInterceptor$x(receiver).get$logger(receiver);
  849. },
  850. get$message$x(receiver) {
  851. return J.getInterceptor$x(receiver).get$message(receiver);
  852. },
  853. get$mtime$x(receiver) {
  854. return J.getInterceptor$x(receiver).get$mtime(receiver);
  855. },
  856. get$name$x(receiver) {
  857. return J.getInterceptor$x(receiver).get$name(receiver);
  858. },
  859. get$numeratorUnits$x(receiver) {
  860. return J.getInterceptor$x(receiver).get$numeratorUnits(receiver);
  861. },
  862. get$options$x(receiver) {
  863. return J.getInterceptor$x(receiver).get$options(receiver);
  864. },
  865. get$parent$z(receiver) {
  866. return J.getInterceptor$z(receiver).get$parent(receiver);
  867. },
  868. get$path$x(receiver) {
  869. return J.getInterceptor$x(receiver).get$path(receiver);
  870. },
  871. get$platform$x(receiver) {
  872. return J.getInterceptor$x(receiver).get$platform(receiver);
  873. },
  874. get$quietDeps$x(receiver) {
  875. return J.getInterceptor$x(receiver).get$quietDeps(receiver);
  876. },
  877. get$quotes$x(receiver) {
  878. return J.getInterceptor$x(receiver).get$quotes(receiver);
  879. },
  880. get$red$x(receiver) {
  881. return J.getInterceptor$x(receiver).get$red(receiver);
  882. },
  883. get$release$x(receiver) {
  884. return J.getInterceptor$x(receiver).get$release(receiver);
  885. },
  886. get$reversed$ax(receiver) {
  887. return J.getInterceptor$ax(receiver).get$reversed(receiver);
  888. },
  889. get$runtimeType$(receiver) {
  890. return J.getInterceptor$(receiver).get$runtimeType(receiver);
  891. },
  892. get$separator$x(receiver) {
  893. return J.getInterceptor$x(receiver).get$separator(receiver);
  894. },
  895. get$sign$in(receiver) {
  896. if (typeof receiver === "number")
  897. return receiver > 0 ? 1 : receiver < 0 ? -1 : receiver;
  898. return J.getInterceptor$in(receiver).get$sign(receiver);
  899. },
  900. get$single$ax(receiver) {
  901. return J.getInterceptor$ax(receiver).get$single(receiver);
  902. },
  903. get$sourceMap$x(receiver) {
  904. return J.getInterceptor$x(receiver).get$sourceMap(receiver);
  905. },
  906. get$sourceMapIncludeSources$x(receiver) {
  907. return J.getInterceptor$x(receiver).get$sourceMapIncludeSources(receiver);
  908. },
  909. get$span$z(receiver) {
  910. return J.getInterceptor$z(receiver).get$span(receiver);
  911. },
  912. get$stderr$x(receiver) {
  913. return J.getInterceptor$x(receiver).get$stderr(receiver);
  914. },
  915. get$stdout$x(receiver) {
  916. return J.getInterceptor$x(receiver).get$stdout(receiver);
  917. },
  918. get$style$x(receiver) {
  919. return J.getInterceptor$x(receiver).get$style(receiver);
  920. },
  921. get$syntax$x(receiver) {
  922. return J.getInterceptor$x(receiver).get$syntax(receiver);
  923. },
  924. get$trace$z(receiver) {
  925. return J.getInterceptor$z(receiver).get$trace(receiver);
  926. },
  927. get$url$x(receiver) {
  928. return J.getInterceptor$x(receiver).get$url(receiver);
  929. },
  930. get$verbose$x(receiver) {
  931. return J.getInterceptor$x(receiver).get$verbose(receiver);
  932. },
  933. get$warn$x(receiver) {
  934. return J.getInterceptor$x(receiver).get$warn(receiver);
  935. },
  936. $add$ansx(receiver, a0) {
  937. if (typeof receiver == "number" && typeof a0 == "number")
  938. return receiver + a0;
  939. return J.getInterceptor$ansx(receiver).$add(receiver, a0);
  940. },
  941. $eq$(receiver, a0) {
  942. if (receiver == null)
  943. return a0 == null;
  944. if (typeof receiver != "object")
  945. return a0 != null && receiver === a0;
  946. return J.getInterceptor$(receiver).$eq(receiver, a0);
  947. },
  948. $index$asx(receiver, a0) {
  949. if (typeof a0 === "number")
  950. if (Array.isArray(receiver) || typeof receiver == "string" || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName]))
  951. if (a0 >>> 0 === a0 && a0 < receiver.length)
  952. return receiver[a0];
  953. return J.getInterceptor$asx(receiver).$index(receiver, a0);
  954. },
  955. $indexSet$ax(receiver, a0, a1) {
  956. if (typeof a0 === "number")
  957. if ((Array.isArray(receiver) || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0 < receiver.length)
  958. return receiver[a0] = a1;
  959. return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1);
  960. },
  961. $set$2$x(receiver, a0, a1) {
  962. return J.getInterceptor$x(receiver).$set$2(receiver, a0, a1);
  963. },
  964. add$1$ax(receiver, a0) {
  965. return J.getInterceptor$ax(receiver).add$1(receiver, a0);
  966. },
  967. addAll$1$ax(receiver, a0) {
  968. return J.getInterceptor$ax(receiver).addAll$1(receiver, a0);
  969. },
  970. allMatches$1$s(receiver, a0) {
  971. return J.getInterceptor$s(receiver).allMatches$1(receiver, a0);
  972. },
  973. allMatches$2$s(receiver, a0, a1) {
  974. return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1);
  975. },
  976. any$1$ax(receiver, a0) {
  977. return J.getInterceptor$ax(receiver).any$1(receiver, a0);
  978. },
  979. apply$2$x(receiver, a0, a1) {
  980. return J.getInterceptor$x(receiver).apply$2(receiver, a0, a1);
  981. },
  982. asImmutable$0$x(receiver) {
  983. return J.getInterceptor$x(receiver).asImmutable$0(receiver);
  984. },
  985. asMutable$0$x(receiver) {
  986. return J.getInterceptor$x(receiver).asMutable$0(receiver);
  987. },
  988. canonicalize$4$baseImporter$baseUrl$forImport$x(receiver, a0, a1, a2, a3) {
  989. return J.getInterceptor$x(receiver).canonicalize$4$baseImporter$baseUrl$forImport(receiver, a0, a1, a2, a3);
  990. },
  991. cast$1$0$ax(receiver, $T1) {
  992. return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1);
  993. },
  994. close$0$x(receiver) {
  995. return J.getInterceptor$x(receiver).close$0(receiver);
  996. },
  997. codeUnitAt$1$s(receiver, a0) {
  998. return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0);
  999. },
  1000. compareTo$1$ns(receiver, a0) {
  1001. return J.getInterceptor$ns(receiver).compareTo$1(receiver, a0);
  1002. },
  1003. contains$1$asx(receiver, a0) {
  1004. return J.getInterceptor$asx(receiver).contains$1(receiver, a0);
  1005. },
  1006. createInterface$1$x(receiver, a0) {
  1007. return J.getInterceptor$x(receiver).createInterface$1(receiver, a0);
  1008. },
  1009. elementAt$1$ax(receiver, a0) {
  1010. return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0);
  1011. },
  1012. endsWith$1$s(receiver, a0) {
  1013. return J.getInterceptor$s(receiver).endsWith$1(receiver, a0);
  1014. },
  1015. error$1$x(receiver, a0) {
  1016. return J.getInterceptor$x(receiver).error$1(receiver, a0);
  1017. },
  1018. every$1$ax(receiver, a0) {
  1019. return J.getInterceptor$ax(receiver).every$1(receiver, a0);
  1020. },
  1021. existsSync$1$x(receiver, a0) {
  1022. return J.getInterceptor$x(receiver).existsSync$1(receiver, a0);
  1023. },
  1024. expand$1$1$ax(receiver, a0, $T1) {
  1025. return J.getInterceptor$ax(receiver).expand$1$1(receiver, a0, $T1);
  1026. },
  1027. fillRange$3$ax(receiver, a0, a1, a2) {
  1028. return J.getInterceptor$ax(receiver).fillRange$3(receiver, a0, a1, a2);
  1029. },
  1030. fold$2$ax(receiver, a0, a1) {
  1031. return J.getInterceptor$ax(receiver).fold$2(receiver, a0, a1);
  1032. },
  1033. forEach$1$ax(receiver, a0) {
  1034. return J.getInterceptor$ax(receiver).forEach$1(receiver, a0);
  1035. },
  1036. getRange$2$ax(receiver, a0, a1) {
  1037. return J.getInterceptor$ax(receiver).getRange$2(receiver, a0, a1);
  1038. },
  1039. getTime$0$x(receiver) {
  1040. return J.getInterceptor$x(receiver).getTime$0(receiver);
  1041. },
  1042. isDirectory$0$x(receiver) {
  1043. return J.getInterceptor$x(receiver).isDirectory$0(receiver);
  1044. },
  1045. isFile$0$x(receiver) {
  1046. return J.getInterceptor$x(receiver).isFile$0(receiver);
  1047. },
  1048. join$1$ax(receiver, a0) {
  1049. return J.getInterceptor$ax(receiver).join$1(receiver, a0);
  1050. },
  1051. listen$1$z(receiver, a0) {
  1052. return J.getInterceptor$z(receiver).listen$1(receiver, a0);
  1053. },
  1054. log$1$x(receiver, a0) {
  1055. return J.getInterceptor$x(receiver).log$1(receiver, a0);
  1056. },
  1057. map$1$1$ax(receiver, a0, $T1) {
  1058. return J.getInterceptor$ax(receiver).map$1$1(receiver, a0, $T1);
  1059. },
  1060. matchAsPrefix$2$s(receiver, a0, a1) {
  1061. return J.getInterceptor$s(receiver).matchAsPrefix$2(receiver, a0, a1);
  1062. },
  1063. mkdirSync$1$x(receiver, a0) {
  1064. return J.getInterceptor$x(receiver).mkdirSync$1(receiver, a0);
  1065. },
  1066. noSuchMethod$1$(receiver, a0) {
  1067. return J.getInterceptor$(receiver).noSuchMethod$1(receiver, a0);
  1068. },
  1069. on$2$x(receiver, a0, a1) {
  1070. return J.getInterceptor$x(receiver).on$2(receiver, a0, a1);
  1071. },
  1072. readFileSync$2$x(receiver, a0, a1) {
  1073. return J.getInterceptor$x(receiver).readFileSync$2(receiver, a0, a1);
  1074. },
  1075. readdirSync$1$x(receiver, a0) {
  1076. return J.getInterceptor$x(receiver).readdirSync$1(receiver, a0);
  1077. },
  1078. remove$1$z(receiver, a0) {
  1079. return J.getInterceptor$z(receiver).remove$1(receiver, a0);
  1080. },
  1081. removeRange$2$ax(receiver, a0, a1) {
  1082. return J.getInterceptor$ax(receiver).removeRange$2(receiver, a0, a1);
  1083. },
  1084. run$0$x(receiver) {
  1085. return J.getInterceptor$x(receiver).run$0(receiver);
  1086. },
  1087. run$1$x(receiver, a0) {
  1088. return J.getInterceptor$x(receiver).run$1(receiver, a0);
  1089. },
  1090. setRange$4$ax(receiver, a0, a1, a2, a3) {
  1091. return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3);
  1092. },
  1093. skip$1$ax(receiver, a0) {
  1094. return J.getInterceptor$ax(receiver).skip$1(receiver, a0);
  1095. },
  1096. sort$1$ax(receiver, a0) {
  1097. return J.getInterceptor$ax(receiver).sort$1(receiver, a0);
  1098. },
  1099. startsWith$1$s(receiver, a0) {
  1100. return J.getInterceptor$s(receiver).startsWith$1(receiver, a0);
  1101. },
  1102. statSync$1$x(receiver, a0) {
  1103. return J.getInterceptor$x(receiver).statSync$1(receiver, a0);
  1104. },
  1105. sublist$1$ax(receiver, a0) {
  1106. return J.getInterceptor$ax(receiver).sublist$1(receiver, a0);
  1107. },
  1108. substring$1$s(receiver, a0) {
  1109. return J.getInterceptor$s(receiver).substring$1(receiver, a0);
  1110. },
  1111. substring$2$s(receiver, a0, a1) {
  1112. return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1);
  1113. },
  1114. take$1$ax(receiver, a0) {
  1115. return J.getInterceptor$ax(receiver).take$1(receiver, a0);
  1116. },
  1117. then$1$1$x(receiver, a0, $T1) {
  1118. return J.getInterceptor$x(receiver).then$1$1(receiver, a0, $T1);
  1119. },
  1120. then$1$2$onError$x(receiver, a0, a1, $T1) {
  1121. return J.getInterceptor$x(receiver).then$1$2$onError(receiver, a0, a1, $T1);
  1122. },
  1123. then$2$x(receiver, a0, a1) {
  1124. return J.getInterceptor$x(receiver).then$2(receiver, a0, a1);
  1125. },
  1126. toArray$0$x(receiver) {
  1127. return J.getInterceptor$x(receiver).toArray$0(receiver);
  1128. },
  1129. toList$0$ax(receiver) {
  1130. return J.getInterceptor$ax(receiver).toList$0(receiver);
  1131. },
  1132. toList$1$growable$ax(receiver, a0) {
  1133. return J.getInterceptor$ax(receiver).toList$1$growable(receiver, a0);
  1134. },
  1135. toRadixString$1$n(receiver, a0) {
  1136. return J.getInterceptor$n(receiver).toRadixString$1(receiver, a0);
  1137. },
  1138. toSet$0$ax(receiver) {
  1139. return J.getInterceptor$ax(receiver).toSet$0(receiver);
  1140. },
  1141. toString$0$(receiver) {
  1142. return J.getInterceptor$(receiver).toString$0(receiver);
  1143. },
  1144. toString$1$color$(receiver, a0) {
  1145. return J.getInterceptor$(receiver).toString$1$color(receiver, a0);
  1146. },
  1147. trim$0$s(receiver) {
  1148. return J.getInterceptor$s(receiver).trim$0(receiver);
  1149. },
  1150. unlinkSync$1$x(receiver, a0) {
  1151. return J.getInterceptor$x(receiver).unlinkSync$1(receiver, a0);
  1152. },
  1153. watch$2$x(receiver, a0, a1) {
  1154. return J.getInterceptor$x(receiver).watch$2(receiver, a0, a1);
  1155. },
  1156. where$1$ax(receiver, a0) {
  1157. return J.getInterceptor$ax(receiver).where$1(receiver, a0);
  1158. },
  1159. write$1$x(receiver, a0) {
  1160. return J.getInterceptor$x(receiver).write$1(receiver, a0);
  1161. },
  1162. writeFileSync$2$x(receiver, a0, a1) {
  1163. return J.getInterceptor$x(receiver).writeFileSync$2(receiver, a0, a1);
  1164. },
  1165. yield$0$x(receiver) {
  1166. return J.getInterceptor$x(receiver).yield$0(receiver);
  1167. },
  1168. Interceptor: function Interceptor() {
  1169. },
  1170. JSBool: function JSBool() {
  1171. },
  1172. JSNull: function JSNull() {
  1173. },
  1174. JavaScriptObject: function JavaScriptObject() {
  1175. },
  1176. LegacyJavaScriptObject: function LegacyJavaScriptObject() {
  1177. },
  1178. PlainJavaScriptObject: function PlainJavaScriptObject() {
  1179. },
  1180. UnknownJavaScriptObject: function UnknownJavaScriptObject() {
  1181. },
  1182. JavaScriptFunction: function JavaScriptFunction() {
  1183. },
  1184. JavaScriptBigInt: function JavaScriptBigInt() {
  1185. },
  1186. JavaScriptSymbol: function JavaScriptSymbol() {
  1187. },
  1188. JSArray: function JSArray(t0) {
  1189. this.$ti = t0;
  1190. },
  1191. JSUnmodifiableArray: function JSUnmodifiableArray(t0) {
  1192. this.$ti = t0;
  1193. },
  1194. ArrayIterator: function ArrayIterator(t0, t1) {
  1195. var _ = this;
  1196. _._iterable = t0;
  1197. _._length = t1;
  1198. _._index = 0;
  1199. _._current = null;
  1200. },
  1201. JSNumber: function JSNumber() {
  1202. },
  1203. JSInt: function JSInt() {
  1204. },
  1205. JSNumNotInt: function JSNumNotInt() {
  1206. },
  1207. JSString: function JSString() {
  1208. }
  1209. },
  1210. A = {JS_CONST: function JS_CONST() {
  1211. },
  1212. CastIterable_CastIterable(source, $S, $T) {
  1213. if ($S._eval$1("EfficientLengthIterable<0>")._is(source))
  1214. return new A._EfficientLengthCastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("_EfficientLengthCastIterable<1,2>"));
  1215. return new A.CastIterable(source, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastIterable<1,2>"));
  1216. },
  1217. LateError$localNI(localName) {
  1218. return new A.LateError("Local '" + localName + "' has not been initialized.");
  1219. },
  1220. hexDigitValue(char) {
  1221. var letter,
  1222. digit = char ^ 48;
  1223. if (digit <= 9)
  1224. return digit;
  1225. letter = char | 32;
  1226. if (97 <= letter && letter <= 102)
  1227. return letter - 87;
  1228. return -1;
  1229. },
  1230. SystemHash_combine(hash, value) {
  1231. hash = hash + value & 536870911;
  1232. hash = hash + ((hash & 524287) << 10) & 536870911;
  1233. return hash ^ hash >>> 6;
  1234. },
  1235. SystemHash_finish(hash) {
  1236. hash = hash + ((hash & 67108863) << 3) & 536870911;
  1237. hash ^= hash >>> 11;
  1238. return hash + ((hash & 16383) << 15) & 536870911;
  1239. },
  1240. checkNotNullable(value, $name, $T) {
  1241. return value;
  1242. },
  1243. isToStringVisiting(object) {
  1244. var t1, i;
  1245. for (t1 = $.toStringVisiting.length, i = 0; i < t1; ++i)
  1246. if (object === $.toStringVisiting[i])
  1247. return true;
  1248. return false;
  1249. },
  1250. SubListIterable$(_iterable, _start, _endOrLength, $E) {
  1251. A.RangeError_checkNotNegative(_start, "start");
  1252. if (_endOrLength != null) {
  1253. A.RangeError_checkNotNegative(_endOrLength, "end");
  1254. if (_start > _endOrLength)
  1255. A.throwExpression(A.RangeError$range(_start, 0, _endOrLength, "start", null));
  1256. }
  1257. return new A.SubListIterable(_iterable, _start, _endOrLength, $E._eval$1("SubListIterable<0>"));
  1258. },
  1259. MappedIterable_MappedIterable(iterable, $function, $S, $T) {
  1260. if (type$.EfficientLengthIterable_dynamic._is(iterable))
  1261. return new A.EfficientLengthMappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
  1262. return new A.MappedIterable(iterable, $function, $S._eval$1("@<0>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
  1263. },
  1264. TakeIterable_TakeIterable(iterable, takeCount, $E) {
  1265. var _s9_ = "takeCount";
  1266. A.ArgumentError_checkNotNull(takeCount, _s9_);
  1267. A.RangeError_checkNotNegative(takeCount, _s9_);
  1268. if (type$.EfficientLengthIterable_dynamic._is(iterable))
  1269. return new A.EfficientLengthTakeIterable(iterable, takeCount, $E._eval$1("EfficientLengthTakeIterable<0>"));
  1270. return new A.TakeIterable(iterable, takeCount, $E._eval$1("TakeIterable<0>"));
  1271. },
  1272. SkipIterable_SkipIterable(iterable, count, $E) {
  1273. var _s5_ = "count";
  1274. if (type$.EfficientLengthIterable_dynamic._is(iterable)) {
  1275. A.ArgumentError_checkNotNull(count, _s5_);
  1276. A.RangeError_checkNotNegative(count, _s5_);
  1277. return new A.EfficientLengthSkipIterable(iterable, count, $E._eval$1("EfficientLengthSkipIterable<0>"));
  1278. }
  1279. A.ArgumentError_checkNotNull(count, _s5_);
  1280. A.RangeError_checkNotNegative(count, _s5_);
  1281. return new A.SkipIterable(iterable, count, $E._eval$1("SkipIterable<0>"));
  1282. },
  1283. FollowedByIterable_FollowedByIterable$firstEfficient(first, second, $E) {
  1284. if ($E._eval$1("EfficientLengthIterable<0>")._is(second))
  1285. return new A.EfficientLengthFollowedByIterable(first, second, $E._eval$1("EfficientLengthFollowedByIterable<0>"));
  1286. return new A.FollowedByIterable(first, second, $E._eval$1("FollowedByIterable<0>"));
  1287. },
  1288. IterableElementError_noElement() {
  1289. return new A.StateError("No element");
  1290. },
  1291. IterableElementError_tooMany() {
  1292. return new A.StateError("Too many elements");
  1293. },
  1294. IterableElementError_tooFew() {
  1295. return new A.StateError("Too few elements");
  1296. },
  1297. Sort__doSort(a, left, right, compare) {
  1298. if (right - left <= 32)
  1299. A.Sort__insertionSort(a, left, right, compare);
  1300. else
  1301. A.Sort__dualPivotQuicksort(a, left, right, compare);
  1302. },
  1303. Sort__insertionSort(a, left, right, compare) {
  1304. var i, t1, el, j, j0;
  1305. for (i = left + 1, t1 = J.getInterceptor$asx(a); i <= right; ++i) {
  1306. el = t1.$index(a, i);
  1307. j = i;
  1308. while (true) {
  1309. if (!(j > left && compare.call$2(t1.$index(a, j - 1), el) > 0))
  1310. break;
  1311. j0 = j - 1;
  1312. t1.$indexSet(a, j, t1.$index(a, j0));
  1313. j = j0;
  1314. }
  1315. t1.$indexSet(a, j, el);
  1316. }
  1317. },
  1318. Sort__dualPivotQuicksort(a, left, right, compare) {
  1319. var t0, less, great, k, ak, comp, great0, less0, pivots_are_equal, t2,
  1320. sixth = B.JSInt_methods._tdivFast$1(right - left + 1, 6),
  1321. index1 = left + sixth,
  1322. index5 = right - sixth,
  1323. index3 = B.JSInt_methods._tdivFast$1(left + right, 2),
  1324. index2 = index3 - sixth,
  1325. index4 = index3 + sixth,
  1326. t1 = J.getInterceptor$asx(a),
  1327. el1 = t1.$index(a, index1),
  1328. el2 = t1.$index(a, index2),
  1329. el3 = t1.$index(a, index3),
  1330. el4 = t1.$index(a, index4),
  1331. el5 = t1.$index(a, index5);
  1332. if (compare.call$2(el1, el2) > 0) {
  1333. t0 = el2;
  1334. el2 = el1;
  1335. el1 = t0;
  1336. }
  1337. if (compare.call$2(el4, el5) > 0) {
  1338. t0 = el5;
  1339. el5 = el4;
  1340. el4 = t0;
  1341. }
  1342. if (compare.call$2(el1, el3) > 0) {
  1343. t0 = el3;
  1344. el3 = el1;
  1345. el1 = t0;
  1346. }
  1347. if (compare.call$2(el2, el3) > 0) {
  1348. t0 = el3;
  1349. el3 = el2;
  1350. el2 = t0;
  1351. }
  1352. if (compare.call$2(el1, el4) > 0) {
  1353. t0 = el4;
  1354. el4 = el1;
  1355. el1 = t0;
  1356. }
  1357. if (compare.call$2(el3, el4) > 0) {
  1358. t0 = el4;
  1359. el4 = el3;
  1360. el3 = t0;
  1361. }
  1362. if (compare.call$2(el2, el5) > 0) {
  1363. t0 = el5;
  1364. el5 = el2;
  1365. el2 = t0;
  1366. }
  1367. if (compare.call$2(el2, el3) > 0) {
  1368. t0 = el3;
  1369. el3 = el2;
  1370. el2 = t0;
  1371. }
  1372. if (compare.call$2(el4, el5) > 0) {
  1373. t0 = el5;
  1374. el5 = el4;
  1375. el4 = t0;
  1376. }
  1377. t1.$indexSet(a, index1, el1);
  1378. t1.$indexSet(a, index3, el3);
  1379. t1.$indexSet(a, index5, el5);
  1380. t1.$indexSet(a, index2, t1.$index(a, left));
  1381. t1.$indexSet(a, index4, t1.$index(a, right));
  1382. less = left + 1;
  1383. great = right - 1;
  1384. if (J.$eq$(compare.call$2(el2, el4), 0)) {
  1385. for (k = less; k <= great; ++k) {
  1386. ak = t1.$index(a, k);
  1387. comp = compare.call$2(ak, el2);
  1388. if (comp === 0)
  1389. continue;
  1390. if (comp < 0) {
  1391. if (k !== less) {
  1392. t1.$indexSet(a, k, t1.$index(a, less));
  1393. t1.$indexSet(a, less, ak);
  1394. }
  1395. ++less;
  1396. } else
  1397. for (; true;) {
  1398. comp = compare.call$2(t1.$index(a, great), el2);
  1399. if (comp > 0) {
  1400. --great;
  1401. continue;
  1402. } else {
  1403. great0 = great - 1;
  1404. if (comp < 0) {
  1405. t1.$indexSet(a, k, t1.$index(a, less));
  1406. less0 = less + 1;
  1407. t1.$indexSet(a, less, t1.$index(a, great));
  1408. t1.$indexSet(a, great, ak);
  1409. great = great0;
  1410. less = less0;
  1411. break;
  1412. } else {
  1413. t1.$indexSet(a, k, t1.$index(a, great));
  1414. t1.$indexSet(a, great, ak);
  1415. great = great0;
  1416. break;
  1417. }
  1418. }
  1419. }
  1420. }
  1421. pivots_are_equal = true;
  1422. } else {
  1423. for (k = less; k <= great; ++k) {
  1424. ak = t1.$index(a, k);
  1425. if (compare.call$2(ak, el2) < 0) {
  1426. if (k !== less) {
  1427. t1.$indexSet(a, k, t1.$index(a, less));
  1428. t1.$indexSet(a, less, ak);
  1429. }
  1430. ++less;
  1431. } else if (compare.call$2(ak, el4) > 0)
  1432. for (; true;)
  1433. if (compare.call$2(t1.$index(a, great), el4) > 0) {
  1434. --great;
  1435. if (great < k)
  1436. break;
  1437. continue;
  1438. } else {
  1439. great0 = great - 1;
  1440. if (compare.call$2(t1.$index(a, great), el2) < 0) {
  1441. t1.$indexSet(a, k, t1.$index(a, less));
  1442. less0 = less + 1;
  1443. t1.$indexSet(a, less, t1.$index(a, great));
  1444. t1.$indexSet(a, great, ak);
  1445. less = less0;
  1446. } else {
  1447. t1.$indexSet(a, k, t1.$index(a, great));
  1448. t1.$indexSet(a, great, ak);
  1449. }
  1450. great = great0;
  1451. break;
  1452. }
  1453. }
  1454. pivots_are_equal = false;
  1455. }
  1456. t2 = less - 1;
  1457. t1.$indexSet(a, left, t1.$index(a, t2));
  1458. t1.$indexSet(a, t2, el2);
  1459. t2 = great + 1;
  1460. t1.$indexSet(a, right, t1.$index(a, t2));
  1461. t1.$indexSet(a, t2, el4);
  1462. A.Sort__doSort(a, left, less - 2, compare);
  1463. A.Sort__doSort(a, great + 2, right, compare);
  1464. if (pivots_are_equal)
  1465. return;
  1466. if (less < index1 && great > index5) {
  1467. for (; J.$eq$(compare.call$2(t1.$index(a, less), el2), 0);)
  1468. ++less;
  1469. for (; J.$eq$(compare.call$2(t1.$index(a, great), el4), 0);)
  1470. --great;
  1471. for (k = less; k <= great; ++k) {
  1472. ak = t1.$index(a, k);
  1473. if (compare.call$2(ak, el2) === 0) {
  1474. if (k !== less) {
  1475. t1.$indexSet(a, k, t1.$index(a, less));
  1476. t1.$indexSet(a, less, ak);
  1477. }
  1478. ++less;
  1479. } else if (compare.call$2(ak, el4) === 0)
  1480. for (; true;)
  1481. if (compare.call$2(t1.$index(a, great), el4) === 0) {
  1482. --great;
  1483. if (great < k)
  1484. break;
  1485. continue;
  1486. } else {
  1487. great0 = great - 1;
  1488. if (compare.call$2(t1.$index(a, great), el2) < 0) {
  1489. t1.$indexSet(a, k, t1.$index(a, less));
  1490. less0 = less + 1;
  1491. t1.$indexSet(a, less, t1.$index(a, great));
  1492. t1.$indexSet(a, great, ak);
  1493. less = less0;
  1494. } else {
  1495. t1.$indexSet(a, k, t1.$index(a, great));
  1496. t1.$indexSet(a, great, ak);
  1497. }
  1498. great = great0;
  1499. break;
  1500. }
  1501. }
  1502. A.Sort__doSort(a, less, great, compare);
  1503. } else
  1504. A.Sort__doSort(a, less, great, compare);
  1505. },
  1506. _CastIterableBase: function _CastIterableBase() {
  1507. },
  1508. CastIterator: function CastIterator(t0, t1) {
  1509. this._source = t0;
  1510. this.$ti = t1;
  1511. },
  1512. CastIterable: function CastIterable(t0, t1) {
  1513. this._source = t0;
  1514. this.$ti = t1;
  1515. },
  1516. _EfficientLengthCastIterable: function _EfficientLengthCastIterable(t0, t1) {
  1517. this._source = t0;
  1518. this.$ti = t1;
  1519. },
  1520. _CastListBase: function _CastListBase() {
  1521. },
  1522. _CastListBase_sort_closure: function _CastListBase_sort_closure(t0, t1) {
  1523. this.$this = t0;
  1524. this.compare = t1;
  1525. },
  1526. CastList: function CastList(t0, t1) {
  1527. this._source = t0;
  1528. this.$ti = t1;
  1529. },
  1530. CastSet: function CastSet(t0, t1, t2) {
  1531. this._source = t0;
  1532. this._emptySet = t1;
  1533. this.$ti = t2;
  1534. },
  1535. CastMap: function CastMap(t0, t1) {
  1536. this._source = t0;
  1537. this.$ti = t1;
  1538. },
  1539. CastMap_forEach_closure: function CastMap_forEach_closure(t0, t1) {
  1540. this.$this = t0;
  1541. this.f = t1;
  1542. },
  1543. CastMap_entries_closure: function CastMap_entries_closure(t0) {
  1544. this.$this = t0;
  1545. },
  1546. LateError: function LateError(t0) {
  1547. this._message = t0;
  1548. },
  1549. CodeUnits: function CodeUnits(t0) {
  1550. this._string = t0;
  1551. },
  1552. nullFuture_closure: function nullFuture_closure() {
  1553. },
  1554. SentinelValue: function SentinelValue() {
  1555. },
  1556. EfficientLengthIterable: function EfficientLengthIterable() {
  1557. },
  1558. ListIterable: function ListIterable() {
  1559. },
  1560. SubListIterable: function SubListIterable(t0, t1, t2, t3) {
  1561. var _ = this;
  1562. _.__internal$_iterable = t0;
  1563. _.__internal$_start = t1;
  1564. _._endOrLength = t2;
  1565. _.$ti = t3;
  1566. },
  1567. ListIterator: function ListIterator(t0, t1) {
  1568. var _ = this;
  1569. _.__internal$_iterable = t0;
  1570. _.__internal$_length = t1;
  1571. _.__internal$_index = 0;
  1572. _.__internal$_current = null;
  1573. },
  1574. MappedIterable: function MappedIterable(t0, t1, t2) {
  1575. this.__internal$_iterable = t0;
  1576. this._f = t1;
  1577. this.$ti = t2;
  1578. },
  1579. EfficientLengthMappedIterable: function EfficientLengthMappedIterable(t0, t1, t2) {
  1580. this.__internal$_iterable = t0;
  1581. this._f = t1;
  1582. this.$ti = t2;
  1583. },
  1584. MappedIterator: function MappedIterator(t0, t1) {
  1585. this.__internal$_current = null;
  1586. this._iterator = t0;
  1587. this._f = t1;
  1588. },
  1589. MappedListIterable: function MappedListIterable(t0, t1, t2) {
  1590. this._source = t0;
  1591. this._f = t1;
  1592. this.$ti = t2;
  1593. },
  1594. WhereIterable: function WhereIterable(t0, t1, t2) {
  1595. this.__internal$_iterable = t0;
  1596. this._f = t1;
  1597. this.$ti = t2;
  1598. },
  1599. WhereIterator: function WhereIterator(t0, t1) {
  1600. this._iterator = t0;
  1601. this._f = t1;
  1602. },
  1603. ExpandIterable: function ExpandIterable(t0, t1, t2) {
  1604. this.__internal$_iterable = t0;
  1605. this._f = t1;
  1606. this.$ti = t2;
  1607. },
  1608. ExpandIterator: function ExpandIterator(t0, t1, t2) {
  1609. var _ = this;
  1610. _._iterator = t0;
  1611. _._f = t1;
  1612. _._currentExpansion = t2;
  1613. _.__internal$_current = null;
  1614. },
  1615. TakeIterable: function TakeIterable(t0, t1, t2) {
  1616. this.__internal$_iterable = t0;
  1617. this._takeCount = t1;
  1618. this.$ti = t2;
  1619. },
  1620. EfficientLengthTakeIterable: function EfficientLengthTakeIterable(t0, t1, t2) {
  1621. this.__internal$_iterable = t0;
  1622. this._takeCount = t1;
  1623. this.$ti = t2;
  1624. },
  1625. TakeIterator: function TakeIterator(t0, t1) {
  1626. this._iterator = t0;
  1627. this._remaining = t1;
  1628. },
  1629. SkipIterable: function SkipIterable(t0, t1, t2) {
  1630. this.__internal$_iterable = t0;
  1631. this._skipCount = t1;
  1632. this.$ti = t2;
  1633. },
  1634. EfficientLengthSkipIterable: function EfficientLengthSkipIterable(t0, t1, t2) {
  1635. this.__internal$_iterable = t0;
  1636. this._skipCount = t1;
  1637. this.$ti = t2;
  1638. },
  1639. SkipIterator: function SkipIterator(t0, t1) {
  1640. this._iterator = t0;
  1641. this._skipCount = t1;
  1642. },
  1643. SkipWhileIterable: function SkipWhileIterable(t0, t1, t2) {
  1644. this.__internal$_iterable = t0;
  1645. this._f = t1;
  1646. this.$ti = t2;
  1647. },
  1648. SkipWhileIterator: function SkipWhileIterator(t0, t1) {
  1649. this._iterator = t0;
  1650. this._f = t1;
  1651. this._hasSkipped = false;
  1652. },
  1653. EmptyIterable: function EmptyIterable(t0) {
  1654. this.$ti = t0;
  1655. },
  1656. EmptyIterator: function EmptyIterator() {
  1657. },
  1658. FollowedByIterable: function FollowedByIterable(t0, t1, t2) {
  1659. this.__internal$_first = t0;
  1660. this._second = t1;
  1661. this.$ti = t2;
  1662. },
  1663. EfficientLengthFollowedByIterable: function EfficientLengthFollowedByIterable(t0, t1, t2) {
  1664. this.__internal$_first = t0;
  1665. this._second = t1;
  1666. this.$ti = t2;
  1667. },
  1668. FollowedByIterator: function FollowedByIterator(t0, t1) {
  1669. this._currentIterator = t0;
  1670. this._nextIterable = t1;
  1671. },
  1672. WhereTypeIterable: function WhereTypeIterable(t0, t1) {
  1673. this._source = t0;
  1674. this.$ti = t1;
  1675. },
  1676. WhereTypeIterator: function WhereTypeIterator(t0, t1) {
  1677. this._source = t0;
  1678. this.$ti = t1;
  1679. },
  1680. FixedLengthListMixin: function FixedLengthListMixin() {
  1681. },
  1682. UnmodifiableListMixin: function UnmodifiableListMixin() {
  1683. },
  1684. UnmodifiableListBase: function UnmodifiableListBase() {
  1685. },
  1686. ReversedListIterable: function ReversedListIterable(t0, t1) {
  1687. this._source = t0;
  1688. this.$ti = t1;
  1689. },
  1690. Symbol: function Symbol(t0) {
  1691. this.__internal$_name = t0;
  1692. },
  1693. __CastListBase__CastIterableBase_ListMixin: function __CastListBase__CastIterableBase_ListMixin() {
  1694. },
  1695. ConstantMap_ConstantMap$from(other, $K, $V) {
  1696. var allStrings, k, object, index, index0, map,
  1697. keys = A.List_List$from(other.get$keys(other), true, $K),
  1698. t1 = keys.length,
  1699. _i = 0;
  1700. while (true) {
  1701. if (!(_i < t1)) {
  1702. allStrings = true;
  1703. break;
  1704. }
  1705. k = keys[_i];
  1706. if (typeof k != "string" || "__proto__" === k) {
  1707. allStrings = false;
  1708. break;
  1709. }
  1710. ++_i;
  1711. }
  1712. if (allStrings) {
  1713. object = {};
  1714. for (index = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i, index = index0) {
  1715. k = keys[_i];
  1716. other.$index(0, k);
  1717. index0 = index + 1;
  1718. object[k] = index;
  1719. }
  1720. map = new A.ConstantStringMap(object, A.List_List$from(other.get$values(other), true, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantStringMap<1,2>"));
  1721. map.$keys = keys;
  1722. return map;
  1723. }
  1724. return new A.ConstantMapView(A.LinkedHashMap_LinkedHashMap$from(other, $K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("ConstantMapView<1,2>"));
  1725. },
  1726. ConstantMap__throwUnmodifiable() {
  1727. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable Map"));
  1728. },
  1729. ConstantSet__throwUnmodifiable() {
  1730. throw A.wrapException(A.UnsupportedError$("Cannot modify constant Set"));
  1731. },
  1732. instantiate1(f, T1) {
  1733. var t1 = new A.Instantiation1(f, T1._eval$1("Instantiation1<0>"));
  1734. t1.Instantiation$1(f);
  1735. return t1;
  1736. },
  1737. unminifyOrTag(rawClassName) {
  1738. var preserved = init.mangledGlobalNames[rawClassName];
  1739. if (preserved != null)
  1740. return preserved;
  1741. return rawClassName;
  1742. },
  1743. isJsIndexable(object, record) {
  1744. var result;
  1745. if (record != null) {
  1746. result = record.x;
  1747. if (result != null)
  1748. return result;
  1749. }
  1750. return type$.JavaScriptIndexingBehavior_dynamic._is(object);
  1751. },
  1752. S(value) {
  1753. var result;
  1754. if (typeof value == "string")
  1755. return value;
  1756. if (typeof value == "number") {
  1757. if (value !== 0)
  1758. return "" + value;
  1759. } else if (true === value)
  1760. return "true";
  1761. else if (false === value)
  1762. return "false";
  1763. else if (value == null)
  1764. return "null";
  1765. result = J.toString$0$(value);
  1766. return result;
  1767. },
  1768. JSInvocationMirror$(_memberName, _internalName, _kind, _arguments, _namedArgumentNames, _typeArgumentCount) {
  1769. return new A.JSInvocationMirror(_memberName, _kind, _arguments, _namedArgumentNames, _typeArgumentCount);
  1770. },
  1771. Primitives_objectHashCode(object) {
  1772. var hash,
  1773. property = $.Primitives__identityHashCodeProperty;
  1774. if (property == null)
  1775. property = $.Primitives__identityHashCodeProperty = Symbol("identityHashCode");
  1776. hash = object[property];
  1777. if (hash == null) {
  1778. hash = Math.random() * 0x3fffffff | 0;
  1779. object[property] = hash;
  1780. }
  1781. return hash;
  1782. },
  1783. Primitives_parseInt(source, radix) {
  1784. var decimalMatch, maxCharCode, digitsPart, t1, i, _null = null,
  1785. match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source);
  1786. if (match == null)
  1787. return _null;
  1788. decimalMatch = match[3];
  1789. if (radix == null) {
  1790. if (decimalMatch != null)
  1791. return parseInt(source, 10);
  1792. if (match[2] != null)
  1793. return parseInt(source, 16);
  1794. return _null;
  1795. }
  1796. if (radix < 2 || radix > 36)
  1797. throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", _null));
  1798. if (radix === 10 && decimalMatch != null)
  1799. return parseInt(source, 10);
  1800. if (radix < 10 || decimalMatch == null) {
  1801. maxCharCode = radix <= 10 ? 47 + radix : 86 + radix;
  1802. digitsPart = match[1];
  1803. for (t1 = digitsPart.length, i = 0; i < t1; ++i)
  1804. if ((digitsPart.charCodeAt(i) | 32) > maxCharCode)
  1805. return _null;
  1806. }
  1807. return parseInt(source, radix);
  1808. },
  1809. Primitives_parseDouble(source) {
  1810. var result, trimmed;
  1811. if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source))
  1812. return null;
  1813. result = parseFloat(source);
  1814. if (isNaN(result)) {
  1815. trimmed = B.JSString_methods.trim$0(source);
  1816. if (trimmed === "NaN" || trimmed === "+NaN" || trimmed === "-NaN")
  1817. return result;
  1818. return null;
  1819. }
  1820. return result;
  1821. },
  1822. Primitives_objectTypeName(object) {
  1823. return A.Primitives__objectTypeNameNewRti(object);
  1824. },
  1825. Primitives__objectTypeNameNewRti(object) {
  1826. var interceptor, dispatchName, $constructor, constructorName;
  1827. if (object instanceof A.Object)
  1828. return A._rtiToString(A.instanceType(object), null);
  1829. interceptor = J.getInterceptor$(object);
  1830. if (interceptor === B.Interceptor_methods || interceptor === B.JavaScriptObject_methods || type$.UnknownJavaScriptObject._is(object)) {
  1831. dispatchName = B.C_JS_CONST(object);
  1832. if (dispatchName !== "Object" && dispatchName !== "")
  1833. return dispatchName;
  1834. $constructor = object.constructor;
  1835. if (typeof $constructor == "function") {
  1836. constructorName = $constructor.name;
  1837. if (typeof constructorName == "string" && constructorName !== "Object" && constructorName !== "")
  1838. return constructorName;
  1839. }
  1840. }
  1841. return A._rtiToString(A.instanceType(object), null);
  1842. },
  1843. Primitives_safeToString(object) {
  1844. if (object == null || typeof object == "number" || A._isBool(object))
  1845. return J.toString$0$(object);
  1846. if (typeof object == "string")
  1847. return JSON.stringify(object);
  1848. if (object instanceof A.Closure)
  1849. return object.toString$0(0);
  1850. if (object instanceof A._Record)
  1851. return object._toString$1(true);
  1852. return "Instance of '" + A.Primitives_objectTypeName(object) + "'";
  1853. },
  1854. Primitives_currentUri() {
  1855. if (!!self.location)
  1856. return self.location.href;
  1857. return null;
  1858. },
  1859. Primitives__fromCharCodeApply(array) {
  1860. var result, i, i0, chunkEnd,
  1861. end = array.length;
  1862. if (end <= 500)
  1863. return String.fromCharCode.apply(null, array);
  1864. for (result = "", i = 0; i < end; i = i0) {
  1865. i0 = i + 500;
  1866. chunkEnd = i0 < end ? i0 : end;
  1867. result += String.fromCharCode.apply(null, array.slice(i, chunkEnd));
  1868. }
  1869. return result;
  1870. },
  1871. Primitives_stringFromCodePoints(codePoints) {
  1872. var t1, _i, i,
  1873. a = A._setArrayType([], type$.JSArray_int);
  1874. for (t1 = codePoints.length, _i = 0; _i < codePoints.length; codePoints.length === t1 || (0, A.throwConcurrentModificationError)(codePoints), ++_i) {
  1875. i = codePoints[_i];
  1876. if (!A._isInt(i))
  1877. throw A.wrapException(A.argumentErrorValue(i));
  1878. if (i <= 65535)
  1879. a.push(i);
  1880. else if (i <= 1114111) {
  1881. a.push(55296 + (B.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 1023));
  1882. a.push(56320 + (i & 1023));
  1883. } else
  1884. throw A.wrapException(A.argumentErrorValue(i));
  1885. }
  1886. return A.Primitives__fromCharCodeApply(a);
  1887. },
  1888. Primitives_stringFromCharCodes(charCodes) {
  1889. var t1, _i, i;
  1890. for (t1 = charCodes.length, _i = 0; _i < t1; ++_i) {
  1891. i = charCodes[_i];
  1892. if (!A._isInt(i))
  1893. throw A.wrapException(A.argumentErrorValue(i));
  1894. if (i < 0)
  1895. throw A.wrapException(A.argumentErrorValue(i));
  1896. if (i > 65535)
  1897. return A.Primitives_stringFromCodePoints(charCodes);
  1898. }
  1899. return A.Primitives__fromCharCodeApply(charCodes);
  1900. },
  1901. Primitives_stringFromNativeUint8List(charCodes, start, end) {
  1902. var i, result, i0, chunkEnd;
  1903. if (end <= 500 && start === 0 && end === charCodes.length)
  1904. return String.fromCharCode.apply(null, charCodes);
  1905. for (i = start, result = ""; i < end; i = i0) {
  1906. i0 = i + 500;
  1907. chunkEnd = i0 < end ? i0 : end;
  1908. result += String.fromCharCode.apply(null, charCodes.subarray(i, chunkEnd));
  1909. }
  1910. return result;
  1911. },
  1912. Primitives_stringFromCharCode(charCode) {
  1913. var bits;
  1914. if (0 <= charCode) {
  1915. if (charCode <= 65535)
  1916. return String.fromCharCode(charCode);
  1917. if (charCode <= 1114111) {
  1918. bits = charCode - 65536;
  1919. return String.fromCharCode((B.JSInt_methods._shrOtherPositive$1(bits, 10) | 55296) >>> 0, bits & 1023 | 56320);
  1920. }
  1921. }
  1922. throw A.wrapException(A.RangeError$range(charCode, 0, 1114111, null, null));
  1923. },
  1924. Primitives_lazyAsJsDate(receiver) {
  1925. if (receiver.date === void 0)
  1926. receiver.date = new Date(receiver._core$_value);
  1927. return receiver.date;
  1928. },
  1929. Primitives_getYear(receiver) {
  1930. var t1 = A.Primitives_lazyAsJsDate(receiver).getFullYear() + 0;
  1931. return t1;
  1932. },
  1933. Primitives_getMonth(receiver) {
  1934. var t1 = A.Primitives_lazyAsJsDate(receiver).getMonth() + 1;
  1935. return t1;
  1936. },
  1937. Primitives_getDay(receiver) {
  1938. var t1 = A.Primitives_lazyAsJsDate(receiver).getDate() + 0;
  1939. return t1;
  1940. },
  1941. Primitives_getHours(receiver) {
  1942. var t1 = A.Primitives_lazyAsJsDate(receiver).getHours() + 0;
  1943. return t1;
  1944. },
  1945. Primitives_getMinutes(receiver) {
  1946. var t1 = A.Primitives_lazyAsJsDate(receiver).getMinutes() + 0;
  1947. return t1;
  1948. },
  1949. Primitives_getSeconds(receiver) {
  1950. var t1 = A.Primitives_lazyAsJsDate(receiver).getSeconds() + 0;
  1951. return t1;
  1952. },
  1953. Primitives_getMilliseconds(receiver) {
  1954. var t1 = A.Primitives_lazyAsJsDate(receiver).getMilliseconds() + 0;
  1955. return t1;
  1956. },
  1957. Primitives_functionNoSuchMethod($function, positionalArguments, namedArguments) {
  1958. var $arguments, namedArgumentList, t1 = {};
  1959. t1.argumentCount = 0;
  1960. $arguments = [];
  1961. namedArgumentList = [];
  1962. t1.argumentCount = positionalArguments.length;
  1963. B.JSArray_methods.addAll$1($arguments, positionalArguments);
  1964. t1.names = "";
  1965. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  1966. namedArguments.forEach$1(0, new A.Primitives_functionNoSuchMethod_closure(t1, namedArgumentList, $arguments));
  1967. return J.noSuchMethod$1$($function, new A.JSInvocationMirror(B.Symbol_call, 0, $arguments, namedArgumentList, 0));
  1968. },
  1969. Primitives_applyFunction($function, positionalArguments, namedArguments) {
  1970. var t1, argumentCount, jsStub;
  1971. if (Array.isArray(positionalArguments))
  1972. t1 = namedArguments == null || namedArguments.__js_helper$_length === 0;
  1973. else
  1974. t1 = false;
  1975. if (t1) {
  1976. argumentCount = positionalArguments.length;
  1977. if (argumentCount === 0) {
  1978. if (!!$function.call$0)
  1979. return $function.call$0();
  1980. } else if (argumentCount === 1) {
  1981. if (!!$function.call$1)
  1982. return $function.call$1(positionalArguments[0]);
  1983. } else if (argumentCount === 2) {
  1984. if (!!$function.call$2)
  1985. return $function.call$2(positionalArguments[0], positionalArguments[1]);
  1986. } else if (argumentCount === 3) {
  1987. if (!!$function.call$3)
  1988. return $function.call$3(positionalArguments[0], positionalArguments[1], positionalArguments[2]);
  1989. } else if (argumentCount === 4) {
  1990. if (!!$function.call$4)
  1991. return $function.call$4(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3]);
  1992. } else if (argumentCount === 5)
  1993. if (!!$function.call$5)
  1994. return $function.call$5(positionalArguments[0], positionalArguments[1], positionalArguments[2], positionalArguments[3], positionalArguments[4]);
  1995. jsStub = $function["call" + "$" + argumentCount];
  1996. if (jsStub != null)
  1997. return jsStub.apply($function, positionalArguments);
  1998. }
  1999. return A.Primitives__generalApplyFunction($function, positionalArguments, namedArguments);
  2000. },
  2001. Primitives__generalApplyFunction($function, positionalArguments, namedArguments) {
  2002. var defaultValuesClosure, t1, defaultValues, interceptor, jsFunction, maxArguments, missingDefaults, keys, _i, defaultValue, used, t2,
  2003. $arguments = Array.isArray(positionalArguments) ? positionalArguments : A.List_List$of(positionalArguments, true, type$.dynamic),
  2004. argumentCount = $arguments.length,
  2005. requiredParameterCount = $function.$requiredArgCount;
  2006. if (argumentCount < requiredParameterCount)
  2007. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2008. defaultValuesClosure = $function.$defaultValues;
  2009. t1 = defaultValuesClosure == null;
  2010. defaultValues = !t1 ? defaultValuesClosure() : null;
  2011. interceptor = J.getInterceptor$($function);
  2012. jsFunction = interceptor["call*"];
  2013. if (typeof jsFunction == "string")
  2014. jsFunction = interceptor[jsFunction];
  2015. if (t1) {
  2016. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  2017. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2018. if (argumentCount === requiredParameterCount)
  2019. return jsFunction.apply($function, $arguments);
  2020. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2021. }
  2022. if (Array.isArray(defaultValues)) {
  2023. if (namedArguments != null && namedArguments.__js_helper$_length !== 0)
  2024. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2025. maxArguments = requiredParameterCount + defaultValues.length;
  2026. if (argumentCount > maxArguments)
  2027. return A.Primitives_functionNoSuchMethod($function, $arguments, null);
  2028. if (argumentCount < maxArguments) {
  2029. missingDefaults = defaultValues.slice(argumentCount - requiredParameterCount);
  2030. if ($arguments === positionalArguments)
  2031. $arguments = A.List_List$of($arguments, true, type$.dynamic);
  2032. B.JSArray_methods.addAll$1($arguments, missingDefaults);
  2033. }
  2034. return jsFunction.apply($function, $arguments);
  2035. } else {
  2036. if (argumentCount > requiredParameterCount)
  2037. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2038. if ($arguments === positionalArguments)
  2039. $arguments = A.List_List$of($arguments, true, type$.dynamic);
  2040. keys = Object.keys(defaultValues);
  2041. if (namedArguments == null)
  2042. for (t1 = keys.length, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  2043. defaultValue = defaultValues[keys[_i]];
  2044. if (B.C__Required === defaultValue)
  2045. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2046. B.JSArray_methods.add$1($arguments, defaultValue);
  2047. }
  2048. else {
  2049. for (t1 = keys.length, used = 0, _i = 0; _i < keys.length; keys.length === t1 || (0, A.throwConcurrentModificationError)(keys), ++_i) {
  2050. t2 = keys[_i];
  2051. if (namedArguments.containsKey$1(t2)) {
  2052. ++used;
  2053. B.JSArray_methods.add$1($arguments, namedArguments.$index(0, t2));
  2054. } else {
  2055. defaultValue = defaultValues[t2];
  2056. if (B.C__Required === defaultValue)
  2057. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2058. B.JSArray_methods.add$1($arguments, defaultValue);
  2059. }
  2060. }
  2061. if (used !== namedArguments.__js_helper$_length)
  2062. return A.Primitives_functionNoSuchMethod($function, $arguments, namedArguments);
  2063. }
  2064. return jsFunction.apply($function, $arguments);
  2065. }
  2066. },
  2067. diagnoseIndexError(indexable, index) {
  2068. var $length, _s5_ = "index";
  2069. if (!A._isInt(index))
  2070. return new A.ArgumentError(true, index, _s5_, null);
  2071. $length = J.get$length$asx(indexable);
  2072. if (index < 0 || index >= $length)
  2073. return A.IndexError$withLength(index, $length, indexable, null, _s5_);
  2074. return A.RangeError$value(index, _s5_, null);
  2075. },
  2076. diagnoseRangeError(start, end, $length) {
  2077. if (start < 0 || start > $length)
  2078. return A.RangeError$range(start, 0, $length, "start", null);
  2079. if (end != null)
  2080. if (end < start || end > $length)
  2081. return A.RangeError$range(end, start, $length, "end", null);
  2082. return new A.ArgumentError(true, end, "end", null);
  2083. },
  2084. argumentErrorValue(object) {
  2085. return new A.ArgumentError(true, object, null, null);
  2086. },
  2087. checkNum(value) {
  2088. return value;
  2089. },
  2090. wrapException(ex) {
  2091. return A.initializeExceptionWrapper(new Error(), ex);
  2092. },
  2093. initializeExceptionWrapper(wrapper, ex) {
  2094. var t1;
  2095. if (ex == null)
  2096. ex = new A.TypeError();
  2097. wrapper.dartException = ex;
  2098. t1 = A.toStringWrapper;
  2099. if ("defineProperty" in Object) {
  2100. Object.defineProperty(wrapper, "message", {get: t1});
  2101. wrapper.name = "";
  2102. } else
  2103. wrapper.toString = t1;
  2104. return wrapper;
  2105. },
  2106. toStringWrapper() {
  2107. return J.toString$0$(this.dartException);
  2108. },
  2109. throwExpression(ex) {
  2110. throw A.wrapException(ex);
  2111. },
  2112. throwExpressionWithWrapper(ex, wrapper) {
  2113. throw A.initializeExceptionWrapper(wrapper, ex);
  2114. },
  2115. throwConcurrentModificationError(collection) {
  2116. throw A.wrapException(A.ConcurrentModificationError$(collection));
  2117. },
  2118. TypeErrorDecoder_extractPattern(message) {
  2119. var match, $arguments, argumentsExpr, expr, method, receiver;
  2120. message = A.quoteStringForRegExp(message.replace(String({}), "$receiver$"));
  2121. match = message.match(/\\\$[a-zA-Z]+\\\$/g);
  2122. if (match == null)
  2123. match = A._setArrayType([], type$.JSArray_String);
  2124. $arguments = match.indexOf("\\$arguments\\$");
  2125. argumentsExpr = match.indexOf("\\$argumentsExpr\\$");
  2126. expr = match.indexOf("\\$expr\\$");
  2127. method = match.indexOf("\\$method\\$");
  2128. receiver = match.indexOf("\\$receiver\\$");
  2129. 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);
  2130. },
  2131. TypeErrorDecoder_provokeCallErrorOn(expression) {
  2132. return function($expr$) {
  2133. var $argumentsExpr$ = "$arguments$";
  2134. try {
  2135. $expr$.$method$($argumentsExpr$);
  2136. } catch (e) {
  2137. return e.message;
  2138. }
  2139. }(expression);
  2140. },
  2141. TypeErrorDecoder_provokePropertyErrorOn(expression) {
  2142. return function($expr$) {
  2143. try {
  2144. $expr$.$method$;
  2145. } catch (e) {
  2146. return e.message;
  2147. }
  2148. }(expression);
  2149. },
  2150. JsNoSuchMethodError$(_message, match) {
  2151. var t1 = match == null,
  2152. t2 = t1 ? null : match.method;
  2153. return new A.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver);
  2154. },
  2155. unwrapException(ex) {
  2156. if (ex == null)
  2157. return new A.NullThrownFromJavaScriptException(ex);
  2158. if (ex instanceof A.ExceptionAndStackTrace)
  2159. return A.saveStackTrace(ex, ex.dartException);
  2160. if (typeof ex !== "object")
  2161. return ex;
  2162. if ("dartException" in ex)
  2163. return A.saveStackTrace(ex, ex.dartException);
  2164. return A._unwrapNonDartException(ex);
  2165. },
  2166. saveStackTrace(ex, error) {
  2167. if (type$.Error._is(error))
  2168. if (error.$thrownJsError == null)
  2169. error.$thrownJsError = ex;
  2170. return error;
  2171. },
  2172. _unwrapNonDartException(ex) {
  2173. var message, number, ieErrorCode, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match;
  2174. if (!("message" in ex))
  2175. return ex;
  2176. message = ex.message;
  2177. if ("number" in ex && typeof ex.number == "number") {
  2178. number = ex.number;
  2179. ieErrorCode = number & 65535;
  2180. if ((B.JSInt_methods._shrOtherPositive$1(number, 16) & 8191) === 10)
  2181. switch (ieErrorCode) {
  2182. case 438:
  2183. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(A.S(message) + " (Error " + ieErrorCode + ")", null));
  2184. case 445:
  2185. case 5007:
  2186. A.S(message);
  2187. return A.saveStackTrace(ex, new A.NullError());
  2188. }
  2189. }
  2190. if (ex instanceof TypeError) {
  2191. nsme = $.$get$TypeErrorDecoder_noSuchMethodPattern();
  2192. notClosure = $.$get$TypeErrorDecoder_notClosurePattern();
  2193. nullCall = $.$get$TypeErrorDecoder_nullCallPattern();
  2194. nullLiteralCall = $.$get$TypeErrorDecoder_nullLiteralCallPattern();
  2195. undefCall = $.$get$TypeErrorDecoder_undefinedCallPattern();
  2196. undefLiteralCall = $.$get$TypeErrorDecoder_undefinedLiteralCallPattern();
  2197. nullProperty = $.$get$TypeErrorDecoder_nullPropertyPattern();
  2198. $.$get$TypeErrorDecoder_nullLiteralPropertyPattern();
  2199. undefProperty = $.$get$TypeErrorDecoder_undefinedPropertyPattern();
  2200. undefLiteralProperty = $.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern();
  2201. match = nsme.matchTypeError$1(message);
  2202. if (match != null)
  2203. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
  2204. else {
  2205. match = notClosure.matchTypeError$1(message);
  2206. if (match != null) {
  2207. match.method = "call";
  2208. return A.saveStackTrace(ex, A.JsNoSuchMethodError$(message, match));
  2209. } else if (nullCall.matchTypeError$1(message) != null || nullLiteralCall.matchTypeError$1(message) != null || undefCall.matchTypeError$1(message) != null || undefLiteralCall.matchTypeError$1(message) != null || nullProperty.matchTypeError$1(message) != null || nullLiteralCall.matchTypeError$1(message) != null || undefProperty.matchTypeError$1(message) != null || undefLiteralProperty.matchTypeError$1(message) != null)
  2210. return A.saveStackTrace(ex, new A.NullError());
  2211. }
  2212. return A.saveStackTrace(ex, new A.UnknownJsTypeError(typeof message == "string" ? message : ""));
  2213. }
  2214. if (ex instanceof RangeError) {
  2215. if (typeof message == "string" && message.indexOf("call stack") !== -1)
  2216. return new A.StackOverflowError();
  2217. message = function(ex) {
  2218. try {
  2219. return String(ex);
  2220. } catch (e) {
  2221. }
  2222. return null;
  2223. }(ex);
  2224. return A.saveStackTrace(ex, new A.ArgumentError(false, null, null, typeof message == "string" ? message.replace(/^RangeError:\s*/, "") : message));
  2225. }
  2226. if (typeof InternalError == "function" && ex instanceof InternalError)
  2227. if (typeof message == "string" && message === "too much recursion")
  2228. return new A.StackOverflowError();
  2229. return ex;
  2230. },
  2231. getTraceFromException(exception) {
  2232. var trace;
  2233. if (exception instanceof A.ExceptionAndStackTrace)
  2234. return exception.stackTrace;
  2235. if (exception == null)
  2236. return new A._StackTrace(exception);
  2237. trace = exception.$cachedTrace;
  2238. if (trace != null)
  2239. return trace;
  2240. trace = new A._StackTrace(exception);
  2241. if (typeof exception === "object")
  2242. exception.$cachedTrace = trace;
  2243. return trace;
  2244. },
  2245. objectHashCode(object) {
  2246. if (object == null)
  2247. return J.get$hashCode$(object);
  2248. if (typeof object == "object")
  2249. return A.Primitives_objectHashCode(object);
  2250. return J.get$hashCode$(object);
  2251. },
  2252. constantHashCode(key) {
  2253. if (typeof key == "number")
  2254. return B.JSNumber_methods.get$hashCode(key);
  2255. if (key instanceof A._Type)
  2256. return A.Primitives_objectHashCode(key);
  2257. if (key instanceof A._Record)
  2258. return key.get$hashCode(key);
  2259. if (key instanceof A.Symbol)
  2260. return key.get$hashCode(key);
  2261. return A.objectHashCode(key);
  2262. },
  2263. fillLiteralMap(keyValuePairs, result) {
  2264. var index, index0, index1,
  2265. $length = keyValuePairs.length;
  2266. for (index = 0; index < $length; index = index1) {
  2267. index0 = index + 1;
  2268. index1 = index0 + 1;
  2269. result.$indexSet(0, keyValuePairs[index], keyValuePairs[index0]);
  2270. }
  2271. return result;
  2272. },
  2273. fillLiteralSet(values, result) {
  2274. var index,
  2275. $length = values.length;
  2276. for (index = 0; index < $length; ++index)
  2277. result.add$1(0, values[index]);
  2278. return result;
  2279. },
  2280. _invokeClosure(closure, numberOfArguments, arg1, arg2, arg3, arg4) {
  2281. switch (numberOfArguments) {
  2282. case 0:
  2283. return closure.call$0();
  2284. case 1:
  2285. return closure.call$1(arg1);
  2286. case 2:
  2287. return closure.call$2(arg1, arg2);
  2288. case 3:
  2289. return closure.call$3(arg1, arg2, arg3);
  2290. case 4:
  2291. return closure.call$4(arg1, arg2, arg3, arg4);
  2292. }
  2293. throw A.wrapException(new A._Exception("Unsupported number of arguments for wrapped closure"));
  2294. },
  2295. convertDartClosureToJS(closure, arity) {
  2296. var $function;
  2297. if (closure == null)
  2298. return null;
  2299. $function = closure.$identity;
  2300. if (!!$function)
  2301. return $function;
  2302. $function = A.convertDartClosureToJSUncached(closure, arity);
  2303. closure.$identity = $function;
  2304. return $function;
  2305. },
  2306. convertDartClosureToJSUncached(closure, arity) {
  2307. var entry;
  2308. switch (arity) {
  2309. case 0:
  2310. entry = closure.call$0;
  2311. break;
  2312. case 1:
  2313. entry = closure.call$1;
  2314. break;
  2315. case 2:
  2316. entry = closure.call$2;
  2317. break;
  2318. case 3:
  2319. entry = closure.call$3;
  2320. break;
  2321. case 4:
  2322. entry = closure.call$4;
  2323. break;
  2324. default:
  2325. entry = null;
  2326. }
  2327. if (entry != null)
  2328. return entry.bind(closure);
  2329. return function(closure, arity, invoke) {
  2330. return function(a1, a2, a3, a4) {
  2331. return invoke(closure, arity, a1, a2, a3, a4);
  2332. };
  2333. }(closure, arity, A._invokeClosure);
  2334. },
  2335. Closure_fromTearOff(parameters) {
  2336. var $prototype, $constructor, t2, trampoline, applyTrampoline, i, stub, stub0, stubName, stubCallName,
  2337. container = parameters.co,
  2338. isStatic = parameters.iS,
  2339. isIntercepted = parameters.iI,
  2340. needsDirectAccess = parameters.nDA,
  2341. applyTrampolineIndex = parameters.aI,
  2342. funsOrNames = parameters.fs,
  2343. callNames = parameters.cs,
  2344. $name = funsOrNames[0],
  2345. callName = callNames[0],
  2346. $function = container[$name],
  2347. t1 = parameters.fT;
  2348. t1.toString;
  2349. $prototype = isStatic ? Object.create(new A.StaticClosure().constructor.prototype) : Object.create(new A.BoundClosure(null, null).constructor.prototype);
  2350. $prototype.$initialize = $prototype.constructor;
  2351. if (isStatic)
  2352. $constructor = function static_tear_off() {
  2353. this.$initialize();
  2354. };
  2355. else
  2356. $constructor = function tear_off(a, b) {
  2357. this.$initialize(a, b);
  2358. };
  2359. $prototype.constructor = $constructor;
  2360. $constructor.prototype = $prototype;
  2361. $prototype.$_name = $name;
  2362. $prototype.$_target = $function;
  2363. t2 = !isStatic;
  2364. if (t2)
  2365. trampoline = A.Closure_forwardCallTo($name, $function, isIntercepted, needsDirectAccess);
  2366. else {
  2367. $prototype.$static_name = $name;
  2368. trampoline = $function;
  2369. }
  2370. $prototype.$signature = A.Closure__computeSignatureFunctionNewRti(t1, isStatic, isIntercepted);
  2371. $prototype[callName] = trampoline;
  2372. for (applyTrampoline = trampoline, i = 1; i < funsOrNames.length; ++i) {
  2373. stub = funsOrNames[i];
  2374. if (typeof stub == "string") {
  2375. stub0 = container[stub];
  2376. stubName = stub;
  2377. stub = stub0;
  2378. } else
  2379. stubName = "";
  2380. stubCallName = callNames[i];
  2381. if (stubCallName != null) {
  2382. if (t2)
  2383. stub = A.Closure_forwardCallTo(stubName, stub, isIntercepted, needsDirectAccess);
  2384. $prototype[stubCallName] = stub;
  2385. }
  2386. if (i === applyTrampolineIndex)
  2387. applyTrampoline = stub;
  2388. }
  2389. $prototype["call*"] = applyTrampoline;
  2390. $prototype.$requiredArgCount = parameters.rC;
  2391. $prototype.$defaultValues = parameters.dV;
  2392. return $constructor;
  2393. },
  2394. Closure__computeSignatureFunctionNewRti(functionType, isStatic, isIntercepted) {
  2395. if (typeof functionType == "number")
  2396. return functionType;
  2397. if (typeof functionType == "string") {
  2398. if (isStatic)
  2399. throw A.wrapException("Cannot compute signature for static tearoff.");
  2400. return function(recipe, evalOnReceiver) {
  2401. return function() {
  2402. return evalOnReceiver(this, recipe);
  2403. };
  2404. }(functionType, A.BoundClosure_evalRecipe);
  2405. }
  2406. throw A.wrapException("Error in functionType of tearoff");
  2407. },
  2408. Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function) {
  2409. var getReceiver = A.BoundClosure_receiverOf;
  2410. switch (needsDirectAccess ? -1 : arity) {
  2411. case 0:
  2412. return function(entry, receiverOf) {
  2413. return function() {
  2414. return receiverOf(this)[entry]();
  2415. };
  2416. }(stubName, getReceiver);
  2417. case 1:
  2418. return function(entry, receiverOf) {
  2419. return function(a) {
  2420. return receiverOf(this)[entry](a);
  2421. };
  2422. }(stubName, getReceiver);
  2423. case 2:
  2424. return function(entry, receiverOf) {
  2425. return function(a, b) {
  2426. return receiverOf(this)[entry](a, b);
  2427. };
  2428. }(stubName, getReceiver);
  2429. case 3:
  2430. return function(entry, receiverOf) {
  2431. return function(a, b, c) {
  2432. return receiverOf(this)[entry](a, b, c);
  2433. };
  2434. }(stubName, getReceiver);
  2435. case 4:
  2436. return function(entry, receiverOf) {
  2437. return function(a, b, c, d) {
  2438. return receiverOf(this)[entry](a, b, c, d);
  2439. };
  2440. }(stubName, getReceiver);
  2441. case 5:
  2442. return function(entry, receiverOf) {
  2443. return function(a, b, c, d, e) {
  2444. return receiverOf(this)[entry](a, b, c, d, e);
  2445. };
  2446. }(stubName, getReceiver);
  2447. default:
  2448. return function(f, receiverOf) {
  2449. return function() {
  2450. return f.apply(receiverOf(this), arguments);
  2451. };
  2452. }($function, getReceiver);
  2453. }
  2454. },
  2455. Closure_forwardCallTo(stubName, $function, isIntercepted, needsDirectAccess) {
  2456. var arity, t1;
  2457. if (isIntercepted)
  2458. return A.Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess);
  2459. arity = $function.length;
  2460. t1 = A.Closure_cspForwardCall(arity, needsDirectAccess, stubName, $function);
  2461. return t1;
  2462. },
  2463. Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function) {
  2464. var getReceiver = A.BoundClosure_receiverOf,
  2465. getInterceptor = A.BoundClosure_interceptorOf;
  2466. switch (needsDirectAccess ? -1 : arity) {
  2467. case 0:
  2468. throw A.wrapException(new A.RuntimeError("Intercepted function with no arguments."));
  2469. case 1:
  2470. return function(entry, interceptorOf, receiverOf) {
  2471. return function() {
  2472. return interceptorOf(this)[entry](receiverOf(this));
  2473. };
  2474. }(stubName, getInterceptor, getReceiver);
  2475. case 2:
  2476. return function(entry, interceptorOf, receiverOf) {
  2477. return function(a) {
  2478. return interceptorOf(this)[entry](receiverOf(this), a);
  2479. };
  2480. }(stubName, getInterceptor, getReceiver);
  2481. case 3:
  2482. return function(entry, interceptorOf, receiverOf) {
  2483. return function(a, b) {
  2484. return interceptorOf(this)[entry](receiverOf(this), a, b);
  2485. };
  2486. }(stubName, getInterceptor, getReceiver);
  2487. case 4:
  2488. return function(entry, interceptorOf, receiverOf) {
  2489. return function(a, b, c) {
  2490. return interceptorOf(this)[entry](receiverOf(this), a, b, c);
  2491. };
  2492. }(stubName, getInterceptor, getReceiver);
  2493. case 5:
  2494. return function(entry, interceptorOf, receiverOf) {
  2495. return function(a, b, c, d) {
  2496. return interceptorOf(this)[entry](receiverOf(this), a, b, c, d);
  2497. };
  2498. }(stubName, getInterceptor, getReceiver);
  2499. case 6:
  2500. return function(entry, interceptorOf, receiverOf) {
  2501. return function(a, b, c, d, e) {
  2502. return interceptorOf(this)[entry](receiverOf(this), a, b, c, d, e);
  2503. };
  2504. }(stubName, getInterceptor, getReceiver);
  2505. default:
  2506. return function(f, interceptorOf, receiverOf) {
  2507. return function() {
  2508. var a = [receiverOf(this)];
  2509. Array.prototype.push.apply(a, arguments);
  2510. return f.apply(interceptorOf(this), a);
  2511. };
  2512. }($function, getInterceptor, getReceiver);
  2513. }
  2514. },
  2515. Closure_forwardInterceptedCallTo(stubName, $function, needsDirectAccess) {
  2516. var arity, t1;
  2517. if ($.BoundClosure__interceptorFieldNameCache == null)
  2518. $.BoundClosure__interceptorFieldNameCache = A.BoundClosure__computeFieldNamed("interceptor");
  2519. if ($.BoundClosure__receiverFieldNameCache == null)
  2520. $.BoundClosure__receiverFieldNameCache = A.BoundClosure__computeFieldNamed("receiver");
  2521. arity = $function.length;
  2522. t1 = A.Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, $function);
  2523. return t1;
  2524. },
  2525. closureFromTearOff(parameters) {
  2526. return A.Closure_fromTearOff(parameters);
  2527. },
  2528. BoundClosure_evalRecipe(closure, recipe) {
  2529. return A._Universe_evalInEnvironment(init.typeUniverse, A.instanceType(closure._receiver), recipe);
  2530. },
  2531. BoundClosure_receiverOf(closure) {
  2532. return closure._receiver;
  2533. },
  2534. BoundClosure_interceptorOf(closure) {
  2535. return closure._interceptor;
  2536. },
  2537. BoundClosure__computeFieldNamed(fieldName) {
  2538. var t1, i, $name,
  2539. template = new A.BoundClosure("receiver", "interceptor"),
  2540. names = J.JSArray_markFixedList(Object.getOwnPropertyNames(template));
  2541. for (t1 = names.length, i = 0; i < t1; ++i) {
  2542. $name = names[i];
  2543. if (template[$name] === fieldName)
  2544. return $name;
  2545. }
  2546. throw A.wrapException(A.ArgumentError$("Field name " + fieldName + " not found.", null));
  2547. },
  2548. throwCyclicInit(staticName) {
  2549. throw A.wrapException(new A._CyclicInitializationError(staticName));
  2550. },
  2551. getIsolateAffinityTag($name) {
  2552. return init.getIsolateTag($name);
  2553. },
  2554. LinkedHashMapKeyIterator$(_map, _modifications) {
  2555. var t1 = new A.LinkedHashMapKeyIterator(_map, _modifications);
  2556. t1._cell = _map._first;
  2557. return t1;
  2558. },
  2559. defineProperty(obj, property, value) {
  2560. Object.defineProperty(obj, property, {value: value, enumerable: false, writable: true, configurable: true});
  2561. },
  2562. lookupAndCacheInterceptor(obj) {
  2563. var interceptor, interceptorClass, altTag, mark, t1,
  2564. tag = $.getTagFunction.call$1(obj),
  2565. record = $.dispatchRecordsForInstanceTags[tag];
  2566. if (record != null) {
  2567. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2568. return record.i;
  2569. }
  2570. interceptor = $.interceptorsForUncacheableTags[tag];
  2571. if (interceptor != null)
  2572. return interceptor;
  2573. interceptorClass = init.interceptorsByTag[tag];
  2574. if (interceptorClass == null) {
  2575. altTag = $.alternateTagFunction.call$2(obj, tag);
  2576. if (altTag != null) {
  2577. record = $.dispatchRecordsForInstanceTags[altTag];
  2578. if (record != null) {
  2579. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2580. return record.i;
  2581. }
  2582. interceptor = $.interceptorsForUncacheableTags[altTag];
  2583. if (interceptor != null)
  2584. return interceptor;
  2585. interceptorClass = init.interceptorsByTag[altTag];
  2586. tag = altTag;
  2587. }
  2588. }
  2589. if (interceptorClass == null)
  2590. return null;
  2591. interceptor = interceptorClass.prototype;
  2592. mark = tag[0];
  2593. if (mark === "!") {
  2594. record = A.makeLeafDispatchRecord(interceptor);
  2595. $.dispatchRecordsForInstanceTags[tag] = record;
  2596. Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2597. return record.i;
  2598. }
  2599. if (mark === "~") {
  2600. $.interceptorsForUncacheableTags[tag] = interceptor;
  2601. return interceptor;
  2602. }
  2603. if (mark === "-") {
  2604. t1 = A.makeLeafDispatchRecord(interceptor);
  2605. Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
  2606. return t1.i;
  2607. }
  2608. if (mark === "+")
  2609. return A.patchInteriorProto(obj, interceptor);
  2610. if (mark === "*")
  2611. throw A.wrapException(A.UnimplementedError$(tag));
  2612. if (init.leafTags[tag] === true) {
  2613. t1 = A.makeLeafDispatchRecord(interceptor);
  2614. Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
  2615. return t1.i;
  2616. } else
  2617. return A.patchInteriorProto(obj, interceptor);
  2618. },
  2619. patchInteriorProto(obj, interceptor) {
  2620. var proto = Object.getPrototypeOf(obj);
  2621. Object.defineProperty(proto, init.dispatchPropertyName, {value: J.makeDispatchRecord(interceptor, proto, null, null), enumerable: false, writable: true, configurable: true});
  2622. return interceptor;
  2623. },
  2624. makeLeafDispatchRecord(interceptor) {
  2625. return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior);
  2626. },
  2627. makeDefaultDispatchRecord(tag, interceptorClass, proto) {
  2628. var interceptor = interceptorClass.prototype;
  2629. if (init.leafTags[tag] === true)
  2630. return A.makeLeafDispatchRecord(interceptor);
  2631. else
  2632. return J.makeDispatchRecord(interceptor, proto, null, null);
  2633. },
  2634. initNativeDispatch() {
  2635. if (true === $.initNativeDispatchFlag)
  2636. return;
  2637. $.initNativeDispatchFlag = true;
  2638. A.initNativeDispatchContinue();
  2639. },
  2640. initNativeDispatchContinue() {
  2641. var map, tags, fun, i, tag, proto, record, interceptorClass;
  2642. $.dispatchRecordsForInstanceTags = Object.create(null);
  2643. $.interceptorsForUncacheableTags = Object.create(null);
  2644. A.initHooks();
  2645. map = init.interceptorsByTag;
  2646. tags = Object.getOwnPropertyNames(map);
  2647. if (typeof window != "undefined") {
  2648. window;
  2649. fun = function() {
  2650. };
  2651. for (i = 0; i < tags.length; ++i) {
  2652. tag = tags[i];
  2653. proto = $.prototypeForTagFunction.call$1(tag);
  2654. if (proto != null) {
  2655. record = A.makeDefaultDispatchRecord(tag, map[tag], proto);
  2656. if (record != null) {
  2657. Object.defineProperty(proto, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
  2658. fun.prototype = proto;
  2659. }
  2660. }
  2661. }
  2662. }
  2663. for (i = 0; i < tags.length; ++i) {
  2664. tag = tags[i];
  2665. if (/^[A-Za-z_]/.test(tag)) {
  2666. interceptorClass = map[tag];
  2667. map["!" + tag] = interceptorClass;
  2668. map["~" + tag] = interceptorClass;
  2669. map["-" + tag] = interceptorClass;
  2670. map["+" + tag] = interceptorClass;
  2671. map["*" + tag] = interceptorClass;
  2672. }
  2673. }
  2674. },
  2675. initHooks() {
  2676. var transformers, i, transformer, getTag, getUnknownTag, prototypeForTag,
  2677. hooks = B.C_JS_CONST0();
  2678. 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)))))));
  2679. if (typeof dartNativeDispatchHooksTransformer != "undefined") {
  2680. transformers = dartNativeDispatchHooksTransformer;
  2681. if (typeof transformers == "function")
  2682. transformers = [transformers];
  2683. if (Array.isArray(transformers))
  2684. for (i = 0; i < transformers.length; ++i) {
  2685. transformer = transformers[i];
  2686. if (typeof transformer == "function")
  2687. hooks = transformer(hooks) || hooks;
  2688. }
  2689. }
  2690. getTag = hooks.getTag;
  2691. getUnknownTag = hooks.getUnknownTag;
  2692. prototypeForTag = hooks.prototypeForTag;
  2693. $.getTagFunction = new A.initHooks_closure(getTag);
  2694. $.alternateTagFunction = new A.initHooks_closure0(getUnknownTag);
  2695. $.prototypeForTagFunction = new A.initHooks_closure1(prototypeForTag);
  2696. },
  2697. applyHooksTransformer(transformer, hooks) {
  2698. return transformer(hooks) || hooks;
  2699. },
  2700. _RecordN__equalValues(a, b) {
  2701. var i;
  2702. for (i = 0; i < a.length; ++i)
  2703. if (!J.$eq$(a[i], b[i]))
  2704. return false;
  2705. return true;
  2706. },
  2707. createRecordTypePredicate(shape, fieldRtis) {
  2708. var $length = fieldRtis.length,
  2709. $function = init.rttc["" + $length + ";" + shape];
  2710. if ($function == null)
  2711. return null;
  2712. if ($length === 0)
  2713. return $function;
  2714. if ($length === $function.length)
  2715. return $function.apply(null, fieldRtis);
  2716. return $function(fieldRtis);
  2717. },
  2718. JSSyntaxRegExp_makeNative(source, multiLine, caseSensitive, unicode, dotAll, global) {
  2719. var m = multiLine ? "m" : "",
  2720. i = caseSensitive ? "" : "i",
  2721. u = unicode ? "u" : "",
  2722. s = dotAll ? "s" : "",
  2723. g = global ? "g" : "",
  2724. regexp = function(source, modifiers) {
  2725. try {
  2726. return new RegExp(source, modifiers);
  2727. } catch (e) {
  2728. return e;
  2729. }
  2730. }(source, m + i + u + s + g);
  2731. if (regexp instanceof RegExp)
  2732. return regexp;
  2733. throw A.wrapException(A.FormatException$("Illegal RegExp pattern (" + String(regexp) + ")", source, null));
  2734. },
  2735. stringContainsUnchecked(receiver, other, startIndex) {
  2736. var t1;
  2737. if (typeof other == "string")
  2738. return receiver.indexOf(other, startIndex) >= 0;
  2739. else if (other instanceof A.JSSyntaxRegExp) {
  2740. t1 = B.JSString_methods.substring$1(receiver, startIndex);
  2741. return other._nativeRegExp.test(t1);
  2742. } else {
  2743. t1 = J.allMatches$1$s(other, B.JSString_methods.substring$1(receiver, startIndex));
  2744. return !t1.get$isEmpty(t1);
  2745. }
  2746. },
  2747. escapeReplacement(replacement) {
  2748. if (replacement.indexOf("$", 0) >= 0)
  2749. return replacement.replace(/\$/g, "$$$$");
  2750. return replacement;
  2751. },
  2752. stringReplaceFirstRE(receiver, regexp, replacement, startIndex) {
  2753. var match = regexp._execGlobal$2(receiver, startIndex);
  2754. if (match == null)
  2755. return receiver;
  2756. return A.stringReplaceRangeUnchecked(receiver, match._match.index, match.get$end(match), replacement);
  2757. },
  2758. quoteStringForRegExp(string) {
  2759. if (/[[\]{}()*+?.\\^$|]/.test(string))
  2760. return string.replace(/[[\]{}()*+?.\\^$|]/g, "\\$&");
  2761. return string;
  2762. },
  2763. stringReplaceAllUnchecked(receiver, pattern, replacement) {
  2764. var nativeRegexp;
  2765. if (typeof pattern == "string")
  2766. return A.stringReplaceAllUncheckedString(receiver, pattern, replacement);
  2767. if (pattern instanceof A.JSSyntaxRegExp) {
  2768. nativeRegexp = pattern.get$_nativeGlobalVersion();
  2769. nativeRegexp.lastIndex = 0;
  2770. return receiver.replace(nativeRegexp, A.escapeReplacement(replacement));
  2771. }
  2772. return A.stringReplaceAllGeneral(receiver, pattern, replacement);
  2773. },
  2774. stringReplaceAllGeneral(receiver, pattern, replacement) {
  2775. var t1, startIndex, t2, match;
  2776. for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), startIndex = 0, t2 = ""; t1.moveNext$0();) {
  2777. match = t1.get$current(t1);
  2778. t2 = t2 + receiver.substring(startIndex, match.get$start(match)) + replacement;
  2779. startIndex = match.get$end(match);
  2780. }
  2781. t1 = t2 + receiver.substring(startIndex);
  2782. return t1.charCodeAt(0) == 0 ? t1 : t1;
  2783. },
  2784. stringReplaceAllUncheckedString(receiver, pattern, replacement) {
  2785. var $length, t1, i;
  2786. if (pattern === "") {
  2787. if (receiver === "")
  2788. return replacement;
  2789. $length = receiver.length;
  2790. t1 = "" + replacement;
  2791. for (i = 0; i < $length; ++i)
  2792. t1 = t1 + receiver[i] + replacement;
  2793. return t1.charCodeAt(0) == 0 ? t1 : t1;
  2794. }
  2795. if (receiver.indexOf(pattern, 0) < 0)
  2796. return receiver;
  2797. if (receiver.length < 500 || replacement.indexOf("$", 0) >= 0)
  2798. return receiver.split(pattern).join(replacement);
  2799. return receiver.replace(new RegExp(A.quoteStringForRegExp(pattern), "g"), A.escapeReplacement(replacement));
  2800. },
  2801. stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) {
  2802. var index, t1, matches, match;
  2803. if (typeof pattern == "string") {
  2804. index = receiver.indexOf(pattern, startIndex);
  2805. if (index < 0)
  2806. return receiver;
  2807. return A.stringReplaceRangeUnchecked(receiver, index, index + pattern.length, replacement);
  2808. }
  2809. if (pattern instanceof A.JSSyntaxRegExp)
  2810. return startIndex === 0 ? receiver.replace(pattern._nativeRegExp, A.escapeReplacement(replacement)) : A.stringReplaceFirstRE(receiver, pattern, replacement, startIndex);
  2811. t1 = J.allMatches$2$s(pattern, receiver, startIndex);
  2812. matches = t1.get$iterator(t1);
  2813. if (!matches.moveNext$0())
  2814. return receiver;
  2815. match = matches.get$current(matches);
  2816. return B.JSString_methods.replaceRange$3(receiver, match.get$start(match), match.get$end(match), replacement);
  2817. },
  2818. stringReplaceRangeUnchecked(receiver, start, end, replacement) {
  2819. return receiver.substring(0, start) + replacement + receiver.substring(end);
  2820. },
  2821. _Record_2: function _Record_2(t0, t1) {
  2822. this._0 = t0;
  2823. this._1 = t1;
  2824. },
  2825. _Record_2_forImport: function _Record_2_forImport(t0, t1) {
  2826. this._0 = t0;
  2827. this._1 = t1;
  2828. },
  2829. _Record_2_imports_modules: function _Record_2_imports_modules(t0, t1) {
  2830. this._0 = t0;
  2831. this._1 = t1;
  2832. },
  2833. _Record_2_loadedUrls_stylesheet: function _Record_2_loadedUrls_stylesheet(t0, t1) {
  2834. this._0 = t0;
  2835. this._1 = t1;
  2836. },
  2837. _Record_2_sourceMap: function _Record_2_sourceMap(t0, t1) {
  2838. this._0 = t0;
  2839. this._1 = t1;
  2840. },
  2841. _Record_3: function _Record_3(t0, t1, t2) {
  2842. this._0 = t0;
  2843. this._1 = t1;
  2844. this._2 = t2;
  2845. },
  2846. _Record_3_importer_isDependency: function _Record_3_importer_isDependency(t0, t1, t2) {
  2847. this._0 = t0;
  2848. this._1 = t1;
  2849. this._2 = t2;
  2850. },
  2851. _Record_3_originalUrl: function _Record_3_originalUrl(t0, t1, t2) {
  2852. this._0 = t0;
  2853. this._1 = t1;
  2854. this._2 = t2;
  2855. },
  2856. _Record_4: function _Record_4(t0) {
  2857. this._values = t0;
  2858. },
  2859. _Record_4_baseImporter_baseUrl_forImport: function _Record_4_baseImporter_baseUrl_forImport(t0) {
  2860. this._values = t0;
  2861. },
  2862. _Record_5_named_namedNodes_positional_positionalNodes_separator: function _Record_5_named_namedNodes_positional_positionalNodes_separator(t0) {
  2863. this._values = t0;
  2864. },
  2865. ConstantMapView: function ConstantMapView(t0, t1) {
  2866. this._map = t0;
  2867. this.$ti = t1;
  2868. },
  2869. ConstantMap: function ConstantMap() {
  2870. },
  2871. ConstantStringMap: function ConstantStringMap(t0, t1, t2) {
  2872. this._jsIndex = t0;
  2873. this._values = t1;
  2874. this.$ti = t2;
  2875. },
  2876. _KeysOrValues: function _KeysOrValues(t0, t1) {
  2877. this._elements = t0;
  2878. this.$ti = t1;
  2879. },
  2880. _KeysOrValuesOrElementsIterator: function _KeysOrValuesOrElementsIterator(t0, t1) {
  2881. var _ = this;
  2882. _._elements = t0;
  2883. _.__js_helper$_length = t1;
  2884. _.__js_helper$_index = 0;
  2885. _.__js_helper$_current = null;
  2886. },
  2887. ConstantSet: function ConstantSet() {
  2888. },
  2889. ConstantStringSet: function ConstantStringSet(t0, t1, t2) {
  2890. this._jsIndex = t0;
  2891. this.__js_helper$_length = t1;
  2892. this.$ti = t2;
  2893. },
  2894. GeneralConstantSet: function GeneralConstantSet(t0, t1) {
  2895. this._elements = t0;
  2896. this.$ti = t1;
  2897. },
  2898. Instantiation: function Instantiation() {
  2899. },
  2900. Instantiation1: function Instantiation1(t0, t1) {
  2901. this._genericClosure = t0;
  2902. this.$ti = t1;
  2903. },
  2904. JSInvocationMirror: function JSInvocationMirror(t0, t1, t2, t3, t4) {
  2905. var _ = this;
  2906. _.__js_helper$_memberName = t0;
  2907. _.__js_helper$_kind = t1;
  2908. _._arguments = t2;
  2909. _._namedArgumentNames = t3;
  2910. _._typeArgumentCount = t4;
  2911. },
  2912. Primitives_functionNoSuchMethod_closure: function Primitives_functionNoSuchMethod_closure(t0, t1, t2) {
  2913. this._box_0 = t0;
  2914. this.namedArgumentList = t1;
  2915. this.$arguments = t2;
  2916. },
  2917. TypeErrorDecoder: function TypeErrorDecoder(t0, t1, t2, t3, t4, t5) {
  2918. var _ = this;
  2919. _._pattern = t0;
  2920. _._arguments = t1;
  2921. _._argumentsExpr = t2;
  2922. _._expr = t3;
  2923. _._method = t4;
  2924. _._receiver = t5;
  2925. },
  2926. NullError: function NullError() {
  2927. },
  2928. JsNoSuchMethodError: function JsNoSuchMethodError(t0, t1, t2) {
  2929. this.__js_helper$_message = t0;
  2930. this._method = t1;
  2931. this._receiver = t2;
  2932. },
  2933. UnknownJsTypeError: function UnknownJsTypeError(t0) {
  2934. this.__js_helper$_message = t0;
  2935. },
  2936. NullThrownFromJavaScriptException: function NullThrownFromJavaScriptException(t0) {
  2937. this._irritant = t0;
  2938. },
  2939. ExceptionAndStackTrace: function ExceptionAndStackTrace(t0, t1) {
  2940. this.dartException = t0;
  2941. this.stackTrace = t1;
  2942. },
  2943. _StackTrace: function _StackTrace(t0) {
  2944. this._exception = t0;
  2945. this._trace = null;
  2946. },
  2947. Closure: function Closure() {
  2948. },
  2949. Closure0Args: function Closure0Args() {
  2950. },
  2951. Closure2Args: function Closure2Args() {
  2952. },
  2953. TearOffClosure: function TearOffClosure() {
  2954. },
  2955. StaticClosure: function StaticClosure() {
  2956. },
  2957. BoundClosure: function BoundClosure(t0, t1) {
  2958. this._receiver = t0;
  2959. this._interceptor = t1;
  2960. },
  2961. _CyclicInitializationError: function _CyclicInitializationError(t0) {
  2962. this.variableName = t0;
  2963. },
  2964. RuntimeError: function RuntimeError(t0) {
  2965. this.message = t0;
  2966. },
  2967. _Required: function _Required() {
  2968. },
  2969. JsLinkedHashMap: function JsLinkedHashMap(t0) {
  2970. var _ = this;
  2971. _.__js_helper$_length = 0;
  2972. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  2973. _._modifications = 0;
  2974. _.$ti = t0;
  2975. },
  2976. JsLinkedHashMap_values_closure: function JsLinkedHashMap_values_closure(t0) {
  2977. this.$this = t0;
  2978. },
  2979. JsLinkedHashMap_addAll_closure: function JsLinkedHashMap_addAll_closure(t0) {
  2980. this.$this = t0;
  2981. },
  2982. LinkedHashMapCell: function LinkedHashMapCell(t0, t1) {
  2983. var _ = this;
  2984. _.hashMapCellKey = t0;
  2985. _.hashMapCellValue = t1;
  2986. _._previous = _._next = null;
  2987. },
  2988. LinkedHashMapKeyIterable: function LinkedHashMapKeyIterable(t0, t1) {
  2989. this.__js_helper$_map = t0;
  2990. this.$ti = t1;
  2991. },
  2992. LinkedHashMapKeyIterator: function LinkedHashMapKeyIterator(t0, t1) {
  2993. var _ = this;
  2994. _.__js_helper$_map = t0;
  2995. _._modifications = t1;
  2996. _.__js_helper$_current = _._cell = null;
  2997. },
  2998. JsIdentityLinkedHashMap: function JsIdentityLinkedHashMap(t0) {
  2999. var _ = this;
  3000. _.__js_helper$_length = 0;
  3001. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  3002. _._modifications = 0;
  3003. _.$ti = t0;
  3004. },
  3005. JsConstantLinkedHashMap: function JsConstantLinkedHashMap(t0) {
  3006. var _ = this;
  3007. _.__js_helper$_length = 0;
  3008. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  3009. _._modifications = 0;
  3010. _.$ti = t0;
  3011. },
  3012. initHooks_closure: function initHooks_closure(t0) {
  3013. this.getTag = t0;
  3014. },
  3015. initHooks_closure0: function initHooks_closure0(t0) {
  3016. this.getUnknownTag = t0;
  3017. },
  3018. initHooks_closure1: function initHooks_closure1(t0) {
  3019. this.prototypeForTag = t0;
  3020. },
  3021. _Record: function _Record() {
  3022. },
  3023. _Record2: function _Record2() {
  3024. },
  3025. _Record3: function _Record3() {
  3026. },
  3027. _RecordN: function _RecordN() {
  3028. },
  3029. JSSyntaxRegExp: function JSSyntaxRegExp(t0, t1) {
  3030. var _ = this;
  3031. _.pattern = t0;
  3032. _._nativeRegExp = t1;
  3033. _._nativeAnchoredRegExp = _._nativeGlobalRegExp = null;
  3034. },
  3035. _MatchImplementation: function _MatchImplementation(t0) {
  3036. this._match = t0;
  3037. },
  3038. _AllMatchesIterable: function _AllMatchesIterable(t0, t1, t2) {
  3039. this._re = t0;
  3040. this.__js_helper$_string = t1;
  3041. this._start = t2;
  3042. },
  3043. _AllMatchesIterator: function _AllMatchesIterator(t0, t1, t2) {
  3044. var _ = this;
  3045. _._regExp = t0;
  3046. _.__js_helper$_string = t1;
  3047. _._nextIndex = t2;
  3048. _.__js_helper$_current = null;
  3049. },
  3050. StringMatch: function StringMatch(t0, t1) {
  3051. this.start = t0;
  3052. this.pattern = t1;
  3053. },
  3054. _StringAllMatchesIterable: function _StringAllMatchesIterable(t0, t1, t2) {
  3055. this._input = t0;
  3056. this._pattern = t1;
  3057. this.__js_helper$_index = t2;
  3058. },
  3059. _StringAllMatchesIterator: function _StringAllMatchesIterator(t0, t1, t2) {
  3060. var _ = this;
  3061. _._input = t0;
  3062. _._pattern = t1;
  3063. _.__js_helper$_index = t2;
  3064. _.__js_helper$_current = null;
  3065. },
  3066. throwLateFieldADI(fieldName) {
  3067. A.throwExpressionWithWrapper(new A.LateError("Field '" + fieldName + "' has been assigned during initialization."), new Error());
  3068. },
  3069. throwUnnamedLateFieldNI() {
  3070. A.throwExpressionWithWrapper(new A.LateError("Field '' has not been initialized."), new Error());
  3071. },
  3072. throwUnnamedLateFieldAI() {
  3073. A.throwExpressionWithWrapper(new A.LateError("Field '' has already been initialized."), new Error());
  3074. },
  3075. throwUnnamedLateFieldADI() {
  3076. A.throwExpressionWithWrapper(new A.LateError("Field '' has been assigned during initialization."), new Error());
  3077. },
  3078. _Cell$() {
  3079. var t1 = new A._Cell("");
  3080. return t1._value = t1;
  3081. },
  3082. _Cell$named(_name) {
  3083. var t1 = new A._Cell(_name);
  3084. return t1._value = t1;
  3085. },
  3086. _InitializedCell$(_initializer) {
  3087. var t1 = new A._InitializedCell(_initializer);
  3088. return t1._value = t1;
  3089. },
  3090. _Cell: function _Cell(t0) {
  3091. this.__late_helper$_name = t0;
  3092. this._value = null;
  3093. },
  3094. _InitializedCell: function _InitializedCell(t0) {
  3095. this._value = null;
  3096. this._initializer = t0;
  3097. },
  3098. _ensureNativeList(list) {
  3099. return list;
  3100. },
  3101. NativeInt8List__create1(arg) {
  3102. return new Int8Array(arg);
  3103. },
  3104. _checkValidIndex(index, list, $length) {
  3105. if (index >>> 0 !== index || index >= $length)
  3106. throw A.wrapException(A.diagnoseIndexError(list, index));
  3107. },
  3108. _checkValidRange(start, end, $length) {
  3109. var t1;
  3110. if (!(start >>> 0 !== start))
  3111. if (end == null)
  3112. t1 = start > $length;
  3113. else
  3114. t1 = end >>> 0 !== end || start > end || end > $length;
  3115. else
  3116. t1 = true;
  3117. if (t1)
  3118. throw A.wrapException(A.diagnoseRangeError(start, end, $length));
  3119. if (end == null)
  3120. return $length;
  3121. return end;
  3122. },
  3123. NativeByteBuffer: function NativeByteBuffer() {
  3124. },
  3125. NativeTypedData: function NativeTypedData() {
  3126. },
  3127. NativeByteData: function NativeByteData() {
  3128. },
  3129. NativeTypedArray: function NativeTypedArray() {
  3130. },
  3131. NativeTypedArrayOfDouble: function NativeTypedArrayOfDouble() {
  3132. },
  3133. NativeTypedArrayOfInt: function NativeTypedArrayOfInt() {
  3134. },
  3135. NativeFloat32List: function NativeFloat32List() {
  3136. },
  3137. NativeFloat64List: function NativeFloat64List() {
  3138. },
  3139. NativeInt16List: function NativeInt16List() {
  3140. },
  3141. NativeInt32List: function NativeInt32List() {
  3142. },
  3143. NativeInt8List: function NativeInt8List() {
  3144. },
  3145. NativeUint16List: function NativeUint16List() {
  3146. },
  3147. NativeUint32List: function NativeUint32List() {
  3148. },
  3149. NativeUint8ClampedList: function NativeUint8ClampedList() {
  3150. },
  3151. NativeUint8List: function NativeUint8List() {
  3152. },
  3153. _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin() {
  3154. },
  3155. _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin() {
  3156. },
  3157. _NativeTypedArrayOfInt_NativeTypedArray_ListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin() {
  3158. },
  3159. _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin() {
  3160. },
  3161. Rti__getQuestionFromStar(universe, rti) {
  3162. var question = rti._precomputed1;
  3163. return question == null ? rti._precomputed1 = A._Universe__lookupQuestionRti(universe, rti._primary, true) : question;
  3164. },
  3165. Rti__getFutureFromFutureOr(universe, rti) {
  3166. var future = rti._precomputed1;
  3167. return future == null ? rti._precomputed1 = A._Universe__lookupInterfaceRti(universe, "Future", [rti._primary]) : future;
  3168. },
  3169. Rti__getIsSubtypeCache(rti) {
  3170. var probe = rti._isSubtypeCache;
  3171. if (probe != null)
  3172. return probe;
  3173. return rti._isSubtypeCache = new Map();
  3174. },
  3175. Rti__isUnionOfFunctionType(rti) {
  3176. var kind = rti._kind;
  3177. if (kind === 6 || kind === 7 || kind === 8)
  3178. return A.Rti__isUnionOfFunctionType(rti._primary);
  3179. return kind === 12 || kind === 13;
  3180. },
  3181. Rti__getCanonicalRecipe(rti) {
  3182. return rti._canonicalRecipe;
  3183. },
  3184. pairwiseIsTest(fieldRtis, values) {
  3185. var i,
  3186. $length = values.length;
  3187. for (i = 0; i < $length; ++i)
  3188. if (!fieldRtis[i]._is(values[i]))
  3189. return false;
  3190. return true;
  3191. },
  3192. findType(recipe) {
  3193. return A._Universe_eval(init.typeUniverse, recipe, false);
  3194. },
  3195. instantiatedGenericFunctionType(genericFunctionRti, instantiationRti) {
  3196. var t1, cache, key, probe, rti;
  3197. if (genericFunctionRti == null)
  3198. return null;
  3199. t1 = instantiationRti._rest;
  3200. cache = genericFunctionRti._bindCache;
  3201. if (cache == null)
  3202. cache = genericFunctionRti._bindCache = new Map();
  3203. key = instantiationRti._canonicalRecipe;
  3204. probe = cache.get(key);
  3205. if (probe != null)
  3206. return probe;
  3207. rti = A._substitute(init.typeUniverse, genericFunctionRti._primary, t1, 0);
  3208. cache.set(key, rti);
  3209. return rti;
  3210. },
  3211. _substitute(universe, rti, typeArguments, depth) {
  3212. var baseType, substitutedBaseType, interfaceTypeArguments, substitutedInterfaceTypeArguments, base, substitutedBase, $arguments, substitutedArguments, returnType, substitutedReturnType, functionParameters, substitutedFunctionParameters, bounds, substitutedBounds, index, argument,
  3213. kind = rti._kind;
  3214. switch (kind) {
  3215. case 5:
  3216. case 1:
  3217. case 2:
  3218. case 3:
  3219. case 4:
  3220. return rti;
  3221. case 6:
  3222. baseType = rti._primary;
  3223. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  3224. if (substitutedBaseType === baseType)
  3225. return rti;
  3226. return A._Universe__lookupStarRti(universe, substitutedBaseType, true);
  3227. case 7:
  3228. baseType = rti._primary;
  3229. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  3230. if (substitutedBaseType === baseType)
  3231. return rti;
  3232. return A._Universe__lookupQuestionRti(universe, substitutedBaseType, true);
  3233. case 8:
  3234. baseType = rti._primary;
  3235. substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);
  3236. if (substitutedBaseType === baseType)
  3237. return rti;
  3238. return A._Universe__lookupFutureOrRti(universe, substitutedBaseType, true);
  3239. case 9:
  3240. interfaceTypeArguments = rti._rest;
  3241. substitutedInterfaceTypeArguments = A._substituteArray(universe, interfaceTypeArguments, typeArguments, depth);
  3242. if (substitutedInterfaceTypeArguments === interfaceTypeArguments)
  3243. return rti;
  3244. return A._Universe__lookupInterfaceRti(universe, rti._primary, substitutedInterfaceTypeArguments);
  3245. case 10:
  3246. base = rti._primary;
  3247. substitutedBase = A._substitute(universe, base, typeArguments, depth);
  3248. $arguments = rti._rest;
  3249. substitutedArguments = A._substituteArray(universe, $arguments, typeArguments, depth);
  3250. if (substitutedBase === base && substitutedArguments === $arguments)
  3251. return rti;
  3252. return A._Universe__lookupBindingRti(universe, substitutedBase, substitutedArguments);
  3253. case 12:
  3254. returnType = rti._primary;
  3255. substitutedReturnType = A._substitute(universe, returnType, typeArguments, depth);
  3256. functionParameters = rti._rest;
  3257. substitutedFunctionParameters = A._substituteFunctionParameters(universe, functionParameters, typeArguments, depth);
  3258. if (substitutedReturnType === returnType && substitutedFunctionParameters === functionParameters)
  3259. return rti;
  3260. return A._Universe__lookupFunctionRti(universe, substitutedReturnType, substitutedFunctionParameters);
  3261. case 13:
  3262. bounds = rti._rest;
  3263. depth += bounds.length;
  3264. substitutedBounds = A._substituteArray(universe, bounds, typeArguments, depth);
  3265. base = rti._primary;
  3266. substitutedBase = A._substitute(universe, base, typeArguments, depth);
  3267. if (substitutedBounds === bounds && substitutedBase === base)
  3268. return rti;
  3269. return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, true);
  3270. case 14:
  3271. index = rti._primary;
  3272. if (index < depth)
  3273. return rti;
  3274. argument = typeArguments[index - depth];
  3275. if (argument == null)
  3276. return rti;
  3277. return argument;
  3278. default:
  3279. throw A.wrapException(A.AssertionError$("Attempted to substitute unexpected RTI kind " + kind));
  3280. }
  3281. },
  3282. _substituteArray(universe, rtiArray, typeArguments, depth) {
  3283. var changed, i, rti, substitutedRti,
  3284. $length = rtiArray.length,
  3285. result = A._Utils_newArrayOrEmpty($length);
  3286. for (changed = false, i = 0; i < $length; ++i) {
  3287. rti = rtiArray[i];
  3288. substitutedRti = A._substitute(universe, rti, typeArguments, depth);
  3289. if (substitutedRti !== rti)
  3290. changed = true;
  3291. result[i] = substitutedRti;
  3292. }
  3293. return changed ? result : rtiArray;
  3294. },
  3295. _substituteNamed(universe, namedArray, typeArguments, depth) {
  3296. var changed, i, t1, t2, rti, substitutedRti,
  3297. $length = namedArray.length,
  3298. result = A._Utils_newArrayOrEmpty($length);
  3299. for (changed = false, i = 0; i < $length; i += 3) {
  3300. t1 = namedArray[i];
  3301. t2 = namedArray[i + 1];
  3302. rti = namedArray[i + 2];
  3303. substitutedRti = A._substitute(universe, rti, typeArguments, depth);
  3304. if (substitutedRti !== rti)
  3305. changed = true;
  3306. result.splice(i, 3, t1, t2, substitutedRti);
  3307. }
  3308. return changed ? result : namedArray;
  3309. },
  3310. _substituteFunctionParameters(universe, functionParameters, typeArguments, depth) {
  3311. var result,
  3312. requiredPositional = functionParameters._requiredPositional,
  3313. substitutedRequiredPositional = A._substituteArray(universe, requiredPositional, typeArguments, depth),
  3314. optionalPositional = functionParameters._optionalPositional,
  3315. substitutedOptionalPositional = A._substituteArray(universe, optionalPositional, typeArguments, depth),
  3316. named = functionParameters._named,
  3317. substitutedNamed = A._substituteNamed(universe, named, typeArguments, depth);
  3318. if (substitutedRequiredPositional === requiredPositional && substitutedOptionalPositional === optionalPositional && substitutedNamed === named)
  3319. return functionParameters;
  3320. result = new A._FunctionParameters();
  3321. result._requiredPositional = substitutedRequiredPositional;
  3322. result._optionalPositional = substitutedOptionalPositional;
  3323. result._named = substitutedNamed;
  3324. return result;
  3325. },
  3326. _setArrayType(target, rti) {
  3327. target[init.arrayRti] = rti;
  3328. return target;
  3329. },
  3330. closureFunctionType(closure) {
  3331. var t1,
  3332. signature = closure.$signature;
  3333. if (signature != null) {
  3334. if (typeof signature == "number")
  3335. return A.getTypeFromTypesTable(signature);
  3336. t1 = closure.$signature();
  3337. return t1;
  3338. }
  3339. return null;
  3340. },
  3341. instanceOrFunctionType(object, testRti) {
  3342. var rti;
  3343. if (A.Rti__isUnionOfFunctionType(testRti))
  3344. if (object instanceof A.Closure) {
  3345. rti = A.closureFunctionType(object);
  3346. if (rti != null)
  3347. return rti;
  3348. }
  3349. return A.instanceType(object);
  3350. },
  3351. instanceType(object) {
  3352. if (object instanceof A.Object)
  3353. return A._instanceType(object);
  3354. if (Array.isArray(object))
  3355. return A._arrayInstanceType(object);
  3356. return A._instanceTypeFromConstructor(J.getInterceptor$(object));
  3357. },
  3358. _arrayInstanceType(object) {
  3359. var rti = object[init.arrayRti],
  3360. defaultRti = type$.JSArray_dynamic;
  3361. if (rti == null)
  3362. return defaultRti;
  3363. if (rti.constructor !== defaultRti.constructor)
  3364. return defaultRti;
  3365. return rti;
  3366. },
  3367. _instanceType(object) {
  3368. var rti = object.$ti;
  3369. return rti != null ? rti : A._instanceTypeFromConstructor(object);
  3370. },
  3371. _instanceTypeFromConstructor(instance) {
  3372. var $constructor = instance.constructor,
  3373. probe = $constructor.$ccache;
  3374. if (probe != null)
  3375. return probe;
  3376. return A._instanceTypeFromConstructorMiss(instance, $constructor);
  3377. },
  3378. _instanceTypeFromConstructorMiss(instance, $constructor) {
  3379. var effectiveConstructor = instance instanceof A.Closure ? Object.getPrototypeOf(Object.getPrototypeOf(instance)).constructor : $constructor,
  3380. rti = A._Universe_findErasedType(init.typeUniverse, effectiveConstructor.name);
  3381. $constructor.$ccache = rti;
  3382. return rti;
  3383. },
  3384. getTypeFromTypesTable(index) {
  3385. var rti,
  3386. table = init.types,
  3387. type = table[index];
  3388. if (typeof type == "string") {
  3389. rti = A._Universe_eval(init.typeUniverse, type, false);
  3390. table[index] = rti;
  3391. return rti;
  3392. }
  3393. return type;
  3394. },
  3395. getRuntimeTypeOfDartObject(object) {
  3396. return A.createRuntimeType(A._instanceType(object));
  3397. },
  3398. getRuntimeTypeOfClosure(closure) {
  3399. var rti = A.closureFunctionType(closure);
  3400. return A.createRuntimeType(rti == null ? A.instanceType(closure) : rti);
  3401. },
  3402. _structuralTypeOf(object) {
  3403. var functionRti;
  3404. if (object instanceof A._Record)
  3405. return A.evaluateRtiForRecord(object.$recipe, object._getFieldValues$0());
  3406. functionRti = object instanceof A.Closure ? A.closureFunctionType(object) : null;
  3407. if (functionRti != null)
  3408. return functionRti;
  3409. if (type$.TrustedGetRuntimeType._is(object))
  3410. return J.get$runtimeType$(object)._rti;
  3411. if (Array.isArray(object))
  3412. return A._arrayInstanceType(object);
  3413. return A.instanceType(object);
  3414. },
  3415. createRuntimeType(rti) {
  3416. var t1 = rti._cachedRuntimeType;
  3417. return t1 == null ? rti._cachedRuntimeType = A._createRuntimeType(rti) : t1;
  3418. },
  3419. _createRuntimeType(rti) {
  3420. var starErasedRti, t1,
  3421. s = rti._canonicalRecipe,
  3422. starErasedRecipe = s.replace(/\*/g, "");
  3423. if (starErasedRecipe === s)
  3424. return rti._cachedRuntimeType = new A._Type(rti);
  3425. starErasedRti = A._Universe_eval(init.typeUniverse, starErasedRecipe, true);
  3426. t1 = starErasedRti._cachedRuntimeType;
  3427. return t1 == null ? starErasedRti._cachedRuntimeType = A._createRuntimeType(starErasedRti) : t1;
  3428. },
  3429. evaluateRtiForRecord(recordRecipe, valuesList) {
  3430. var bindings, i,
  3431. values = valuesList,
  3432. $length = values.length;
  3433. if ($length === 0)
  3434. return type$.Record_0;
  3435. bindings = A._Universe_evalInEnvironment(init.typeUniverse, A._structuralTypeOf(values[0]), "@<0>");
  3436. for (i = 1; i < $length; ++i)
  3437. bindings = A._Universe_bind(init.typeUniverse, bindings, A._structuralTypeOf(values[i]));
  3438. return A._Universe_evalInEnvironment(init.typeUniverse, bindings, recordRecipe);
  3439. },
  3440. typeLiteral(recipe) {
  3441. return A.createRuntimeType(A._Universe_eval(init.typeUniverse, recipe, false));
  3442. },
  3443. _installSpecializedIsTest(object) {
  3444. var t1, unstarred, unstarredKind, isFn, $name, predicate, testRti = this;
  3445. if (testRti === type$.Object)
  3446. return A._finishIsFn(testRti, object, A._isObject);
  3447. if (!A.isStrongTopType(testRti))
  3448. if (!(testRti === type$.legacy_Object))
  3449. t1 = false;
  3450. else
  3451. t1 = true;
  3452. else
  3453. t1 = true;
  3454. if (t1)
  3455. return A._finishIsFn(testRti, object, A._isTop);
  3456. t1 = testRti._kind;
  3457. if (t1 === 7)
  3458. return A._finishIsFn(testRti, object, A._generalNullableIsTestImplementation);
  3459. if (t1 === 1)
  3460. return A._finishIsFn(testRti, object, A._isNever);
  3461. unstarred = t1 === 6 ? testRti._primary : testRti;
  3462. unstarredKind = unstarred._kind;
  3463. if (unstarredKind === 8)
  3464. return A._finishIsFn(testRti, object, A._isFutureOr);
  3465. if (unstarred === type$.int)
  3466. isFn = A._isInt;
  3467. else if (unstarred === type$.double || unstarred === type$.num)
  3468. isFn = A._isNum;
  3469. else if (unstarred === type$.String)
  3470. isFn = A._isString;
  3471. else
  3472. isFn = unstarred === type$.bool ? A._isBool : null;
  3473. if (isFn != null)
  3474. return A._finishIsFn(testRti, object, isFn);
  3475. if (unstarredKind === 9) {
  3476. $name = unstarred._primary;
  3477. if (unstarred._rest.every(A.isTopType)) {
  3478. testRti._specializedTestResource = "$is" + $name;
  3479. if ($name === "List")
  3480. return A._finishIsFn(testRti, object, A._isListTestViaProperty);
  3481. return A._finishIsFn(testRti, object, A._isTestViaProperty);
  3482. }
  3483. } else if (unstarredKind === 11) {
  3484. predicate = A.createRecordTypePredicate(unstarred._primary, unstarred._rest);
  3485. return A._finishIsFn(testRti, object, predicate == null ? A._isNever : predicate);
  3486. }
  3487. return A._finishIsFn(testRti, object, A._generalIsTestImplementation);
  3488. },
  3489. _finishIsFn(testRti, object, isFn) {
  3490. testRti._is = isFn;
  3491. return testRti._is(object);
  3492. },
  3493. _installSpecializedAsCheck(object) {
  3494. var t1, testRti = this,
  3495. asFn = A._generalAsCheckImplementation;
  3496. if (!A.isStrongTopType(testRti))
  3497. if (!(testRti === type$.legacy_Object))
  3498. t1 = false;
  3499. else
  3500. t1 = true;
  3501. else
  3502. t1 = true;
  3503. if (t1)
  3504. asFn = A._asTop;
  3505. else if (testRti === type$.Object)
  3506. asFn = A._asObject;
  3507. else {
  3508. t1 = A.isNullable(testRti);
  3509. if (t1)
  3510. asFn = A._generalNullableAsCheckImplementation;
  3511. }
  3512. testRti._as = asFn;
  3513. return testRti._as(object);
  3514. },
  3515. _nullIs(testRti) {
  3516. var t1,
  3517. kind = testRti._kind;
  3518. if (!A.isStrongTopType(testRti))
  3519. if (!(testRti === type$.legacy_Object))
  3520. if (!(testRti === type$.legacy_Never))
  3521. if (kind !== 7)
  3522. if (!(kind === 6 && A._nullIs(testRti._primary)))
  3523. t1 = kind === 8 && A._nullIs(testRti._primary) || testRti === type$.Null || testRti === type$.JSNull;
  3524. else
  3525. t1 = true;
  3526. else
  3527. t1 = true;
  3528. else
  3529. t1 = true;
  3530. else
  3531. t1 = true;
  3532. else
  3533. t1 = true;
  3534. return t1;
  3535. },
  3536. _generalIsTestImplementation(object) {
  3537. var testRti = this;
  3538. if (object == null)
  3539. return A._nullIs(testRti);
  3540. return A.isSubtype(init.typeUniverse, A.instanceOrFunctionType(object, testRti), testRti);
  3541. },
  3542. _generalNullableIsTestImplementation(object) {
  3543. if (object == null)
  3544. return true;
  3545. return this._primary._is(object);
  3546. },
  3547. _isTestViaProperty(object) {
  3548. var tag, testRti = this;
  3549. if (object == null)
  3550. return A._nullIs(testRti);
  3551. tag = testRti._specializedTestResource;
  3552. if (object instanceof A.Object)
  3553. return !!object[tag];
  3554. return !!J.getInterceptor$(object)[tag];
  3555. },
  3556. _isListTestViaProperty(object) {
  3557. var tag, testRti = this;
  3558. if (object == null)
  3559. return A._nullIs(testRti);
  3560. if (typeof object != "object")
  3561. return false;
  3562. if (Array.isArray(object))
  3563. return true;
  3564. tag = testRti._specializedTestResource;
  3565. if (object instanceof A.Object)
  3566. return !!object[tag];
  3567. return !!J.getInterceptor$(object)[tag];
  3568. },
  3569. _generalAsCheckImplementation(object) {
  3570. var t1, testRti = this;
  3571. if (object == null) {
  3572. t1 = A.isNullable(testRti);
  3573. if (t1)
  3574. return object;
  3575. } else if (testRti._is(object))
  3576. return object;
  3577. A._failedAsCheck(object, testRti);
  3578. },
  3579. _generalNullableAsCheckImplementation(object) {
  3580. var testRti = this;
  3581. if (object == null)
  3582. return object;
  3583. else if (testRti._is(object))
  3584. return object;
  3585. A._failedAsCheck(object, testRti);
  3586. },
  3587. _failedAsCheck(object, testRti) {
  3588. throw A.wrapException(A._TypeError$fromMessage(A._Error_compose(object, A._rtiToString(testRti, null))));
  3589. },
  3590. _Error_compose(object, checkedTypeDescription) {
  3591. return A.Error_safeToString(object) + ": type '" + A._rtiToString(A._structuralTypeOf(object), null) + "' is not a subtype of type '" + checkedTypeDescription + "'";
  3592. },
  3593. _TypeError$fromMessage(message) {
  3594. return new A._TypeError("TypeError: " + message);
  3595. },
  3596. _TypeError__TypeError$forType(object, type) {
  3597. return new A._TypeError("TypeError: " + A._Error_compose(object, type));
  3598. },
  3599. _isFutureOr(object) {
  3600. var testRti = this,
  3601. unstarred = testRti._kind === 6 ? testRti._primary : testRti;
  3602. return unstarred._primary._is(object) || A.Rti__getFutureFromFutureOr(init.typeUniverse, unstarred)._is(object);
  3603. },
  3604. _isObject(object) {
  3605. return object != null;
  3606. },
  3607. _asObject(object) {
  3608. if (object != null)
  3609. return object;
  3610. throw A.wrapException(A._TypeError__TypeError$forType(object, "Object"));
  3611. },
  3612. _isTop(object) {
  3613. return true;
  3614. },
  3615. _asTop(object) {
  3616. return object;
  3617. },
  3618. _isNever(object) {
  3619. return false;
  3620. },
  3621. _isBool(object) {
  3622. return true === object || false === object;
  3623. },
  3624. _asBool(object) {
  3625. if (true === object)
  3626. return true;
  3627. if (false === object)
  3628. return false;
  3629. throw A.wrapException(A._TypeError__TypeError$forType(object, "bool"));
  3630. },
  3631. _asBoolS(object) {
  3632. if (true === object)
  3633. return true;
  3634. if (false === object)
  3635. return false;
  3636. if (object == null)
  3637. return object;
  3638. throw A.wrapException(A._TypeError__TypeError$forType(object, "bool"));
  3639. },
  3640. _asBoolQ(object) {
  3641. if (true === object)
  3642. return true;
  3643. if (false === object)
  3644. return false;
  3645. if (object == null)
  3646. return object;
  3647. throw A.wrapException(A._TypeError__TypeError$forType(object, "bool?"));
  3648. },
  3649. _asDouble(object) {
  3650. if (typeof object == "number")
  3651. return object;
  3652. throw A.wrapException(A._TypeError__TypeError$forType(object, "double"));
  3653. },
  3654. _asDoubleS(object) {
  3655. if (typeof object == "number")
  3656. return object;
  3657. if (object == null)
  3658. return object;
  3659. throw A.wrapException(A._TypeError__TypeError$forType(object, "double"));
  3660. },
  3661. _asDoubleQ(object) {
  3662. if (typeof object == "number")
  3663. return object;
  3664. if (object == null)
  3665. return object;
  3666. throw A.wrapException(A._TypeError__TypeError$forType(object, "double?"));
  3667. },
  3668. _isInt(object) {
  3669. return typeof object == "number" && Math.floor(object) === object;
  3670. },
  3671. _asInt(object) {
  3672. if (typeof object == "number" && Math.floor(object) === object)
  3673. return object;
  3674. throw A.wrapException(A._TypeError__TypeError$forType(object, "int"));
  3675. },
  3676. _asIntS(object) {
  3677. if (typeof object == "number" && Math.floor(object) === object)
  3678. return object;
  3679. if (object == null)
  3680. return object;
  3681. throw A.wrapException(A._TypeError__TypeError$forType(object, "int"));
  3682. },
  3683. _asIntQ(object) {
  3684. if (typeof object == "number" && Math.floor(object) === object)
  3685. return object;
  3686. if (object == null)
  3687. return object;
  3688. throw A.wrapException(A._TypeError__TypeError$forType(object, "int?"));
  3689. },
  3690. _isNum(object) {
  3691. return typeof object == "number";
  3692. },
  3693. _asNum(object) {
  3694. if (typeof object == "number")
  3695. return object;
  3696. throw A.wrapException(A._TypeError__TypeError$forType(object, "num"));
  3697. },
  3698. _asNumS(object) {
  3699. if (typeof object == "number")
  3700. return object;
  3701. if (object == null)
  3702. return object;
  3703. throw A.wrapException(A._TypeError__TypeError$forType(object, "num"));
  3704. },
  3705. _asNumQ(object) {
  3706. if (typeof object == "number")
  3707. return object;
  3708. if (object == null)
  3709. return object;
  3710. throw A.wrapException(A._TypeError__TypeError$forType(object, "num?"));
  3711. },
  3712. _isString(object) {
  3713. return typeof object == "string";
  3714. },
  3715. _asString(object) {
  3716. if (typeof object == "string")
  3717. return object;
  3718. throw A.wrapException(A._TypeError__TypeError$forType(object, "String"));
  3719. },
  3720. _asStringS(object) {
  3721. if (typeof object == "string")
  3722. return object;
  3723. if (object == null)
  3724. return object;
  3725. throw A.wrapException(A._TypeError__TypeError$forType(object, "String"));
  3726. },
  3727. _asStringQ(object) {
  3728. if (typeof object == "string")
  3729. return object;
  3730. if (object == null)
  3731. return object;
  3732. throw A.wrapException(A._TypeError__TypeError$forType(object, "String?"));
  3733. },
  3734. _rtiArrayToString(array, genericContext) {
  3735. var s, sep, i;
  3736. for (s = "", sep = "", i = 0; i < array.length; ++i, sep = ", ")
  3737. s += sep + A._rtiToString(array[i], genericContext);
  3738. return s;
  3739. },
  3740. _recordRtiToString(recordType, genericContext) {
  3741. var fieldCount, names, namesIndex, s, comma, i,
  3742. partialShape = recordType._primary,
  3743. fields = recordType._rest;
  3744. if ("" === partialShape)
  3745. return "(" + A._rtiArrayToString(fields, genericContext) + ")";
  3746. fieldCount = fields.length;
  3747. names = partialShape.split(",");
  3748. namesIndex = names.length - fieldCount;
  3749. for (s = "(", comma = "", i = 0; i < fieldCount; ++i, comma = ", ") {
  3750. s += comma;
  3751. if (namesIndex === 0)
  3752. s += "{";
  3753. s += A._rtiToString(fields[i], genericContext);
  3754. if (namesIndex >= 0)
  3755. s += " " + names[namesIndex];
  3756. ++namesIndex;
  3757. }
  3758. return s + "})";
  3759. },
  3760. _functionRtiToString(functionType, genericContext, bounds) {
  3761. var boundsLength, outerContextLength, offset, i, t1, t2, typeParametersText, typeSep, boundRti, kind, t3, parameters, requiredPositional, requiredPositionalLength, optionalPositional, optionalPositionalLength, named, namedLength, returnTypeText, argumentsText, sep, _s2_ = ", ";
  3762. if (bounds != null) {
  3763. boundsLength = bounds.length;
  3764. if (genericContext == null) {
  3765. genericContext = A._setArrayType([], type$.JSArray_String);
  3766. outerContextLength = null;
  3767. } else
  3768. outerContextLength = genericContext.length;
  3769. offset = genericContext.length;
  3770. for (i = boundsLength; i > 0; --i)
  3771. genericContext.push("T" + (offset + i));
  3772. for (t1 = type$.nullable_Object, t2 = type$.legacy_Object, typeParametersText = "<", typeSep = "", i = 0; i < boundsLength; ++i, typeSep = _s2_) {
  3773. typeParametersText = B.JSString_methods.$add(typeParametersText + typeSep, genericContext[genericContext.length - 1 - i]);
  3774. boundRti = bounds[i];
  3775. kind = boundRti._kind;
  3776. if (!(kind === 2 || kind === 3 || kind === 4 || kind === 5 || boundRti === t1))
  3777. if (!(boundRti === t2))
  3778. t3 = false;
  3779. else
  3780. t3 = true;
  3781. else
  3782. t3 = true;
  3783. if (!t3)
  3784. typeParametersText += " extends " + A._rtiToString(boundRti, genericContext);
  3785. }
  3786. typeParametersText += ">";
  3787. } else {
  3788. typeParametersText = "";
  3789. outerContextLength = null;
  3790. }
  3791. t1 = functionType._primary;
  3792. parameters = functionType._rest;
  3793. requiredPositional = parameters._requiredPositional;
  3794. requiredPositionalLength = requiredPositional.length;
  3795. optionalPositional = parameters._optionalPositional;
  3796. optionalPositionalLength = optionalPositional.length;
  3797. named = parameters._named;
  3798. namedLength = named.length;
  3799. returnTypeText = A._rtiToString(t1, genericContext);
  3800. for (argumentsText = "", sep = "", i = 0; i < requiredPositionalLength; ++i, sep = _s2_)
  3801. argumentsText += sep + A._rtiToString(requiredPositional[i], genericContext);
  3802. if (optionalPositionalLength > 0) {
  3803. argumentsText += sep + "[";
  3804. for (sep = "", i = 0; i < optionalPositionalLength; ++i, sep = _s2_)
  3805. argumentsText += sep + A._rtiToString(optionalPositional[i], genericContext);
  3806. argumentsText += "]";
  3807. }
  3808. if (namedLength > 0) {
  3809. argumentsText += sep + "{";
  3810. for (sep = "", i = 0; i < namedLength; i += 3, sep = _s2_) {
  3811. argumentsText += sep;
  3812. if (named[i + 1])
  3813. argumentsText += "required ";
  3814. argumentsText += A._rtiToString(named[i + 2], genericContext) + " " + named[i];
  3815. }
  3816. argumentsText += "}";
  3817. }
  3818. if (outerContextLength != null) {
  3819. genericContext.toString;
  3820. genericContext.length = outerContextLength;
  3821. }
  3822. return typeParametersText + "(" + argumentsText + ") => " + returnTypeText;
  3823. },
  3824. _rtiToString(rti, genericContext) {
  3825. var s, questionArgument, argumentKind, $name, $arguments, t1,
  3826. kind = rti._kind;
  3827. if (kind === 5)
  3828. return "erased";
  3829. if (kind === 2)
  3830. return "dynamic";
  3831. if (kind === 3)
  3832. return "void";
  3833. if (kind === 1)
  3834. return "Never";
  3835. if (kind === 4)
  3836. return "any";
  3837. if (kind === 6) {
  3838. s = A._rtiToString(rti._primary, genericContext);
  3839. return s;
  3840. }
  3841. if (kind === 7) {
  3842. questionArgument = rti._primary;
  3843. s = A._rtiToString(questionArgument, genericContext);
  3844. argumentKind = questionArgument._kind;
  3845. return (argumentKind === 12 || argumentKind === 13 ? "(" + s + ")" : s) + "?";
  3846. }
  3847. if (kind === 8)
  3848. return "FutureOr<" + A._rtiToString(rti._primary, genericContext) + ">";
  3849. if (kind === 9) {
  3850. $name = A._unminifyOrTag(rti._primary);
  3851. $arguments = rti._rest;
  3852. return $arguments.length > 0 ? $name + ("<" + A._rtiArrayToString($arguments, genericContext) + ">") : $name;
  3853. }
  3854. if (kind === 11)
  3855. return A._recordRtiToString(rti, genericContext);
  3856. if (kind === 12)
  3857. return A._functionRtiToString(rti, genericContext, null);
  3858. if (kind === 13)
  3859. return A._functionRtiToString(rti._primary, genericContext, rti._rest);
  3860. if (kind === 14) {
  3861. t1 = rti._primary;
  3862. return genericContext[genericContext.length - 1 - t1];
  3863. }
  3864. return "?";
  3865. },
  3866. _unminifyOrTag(rawClassName) {
  3867. var preserved = init.mangledGlobalNames[rawClassName];
  3868. if (preserved != null)
  3869. return preserved;
  3870. return rawClassName;
  3871. },
  3872. _Universe_findRule(universe, targetType) {
  3873. var rule = universe.tR[targetType];
  3874. for (; typeof rule == "string";)
  3875. rule = universe.tR[rule];
  3876. return rule;
  3877. },
  3878. _Universe_findErasedType(universe, cls) {
  3879. var $length, erased, $arguments, i, $interface,
  3880. t1 = universe.eT,
  3881. probe = t1[cls];
  3882. if (probe == null)
  3883. return A._Universe_eval(universe, cls, false);
  3884. else if (typeof probe == "number") {
  3885. $length = probe;
  3886. erased = A._Universe__lookupTerminalRti(universe, 5, "#");
  3887. $arguments = A._Utils_newArrayOrEmpty($length);
  3888. for (i = 0; i < $length; ++i)
  3889. $arguments[i] = erased;
  3890. $interface = A._Universe__lookupInterfaceRti(universe, cls, $arguments);
  3891. t1[cls] = $interface;
  3892. return $interface;
  3893. } else
  3894. return probe;
  3895. },
  3896. _Universe_addRules(universe, rules) {
  3897. return A._Utils_objectAssign(universe.tR, rules);
  3898. },
  3899. _Universe_addErasedTypes(universe, types) {
  3900. return A._Utils_objectAssign(universe.eT, types);
  3901. },
  3902. _Universe_eval(universe, recipe, normalize) {
  3903. var rti,
  3904. t1 = universe.eC,
  3905. probe = t1.get(recipe);
  3906. if (probe != null)
  3907. return probe;
  3908. rti = A._Parser_parse(A._Parser_create(universe, null, recipe, normalize));
  3909. t1.set(recipe, rti);
  3910. return rti;
  3911. },
  3912. _Universe_evalInEnvironment(universe, environment, recipe) {
  3913. var probe, rti,
  3914. cache = environment._evalCache;
  3915. if (cache == null)
  3916. cache = environment._evalCache = new Map();
  3917. probe = cache.get(recipe);
  3918. if (probe != null)
  3919. return probe;
  3920. rti = A._Parser_parse(A._Parser_create(universe, environment, recipe, true));
  3921. cache.set(recipe, rti);
  3922. return rti;
  3923. },
  3924. _Universe_bind(universe, environment, argumentsRti) {
  3925. var argumentsRecipe, probe, rti,
  3926. cache = environment._bindCache;
  3927. if (cache == null)
  3928. cache = environment._bindCache = new Map();
  3929. argumentsRecipe = argumentsRti._canonicalRecipe;
  3930. probe = cache.get(argumentsRecipe);
  3931. if (probe != null)
  3932. return probe;
  3933. rti = A._Universe__lookupBindingRti(universe, environment, argumentsRti._kind === 10 ? argumentsRti._rest : [argumentsRti]);
  3934. cache.set(argumentsRecipe, rti);
  3935. return rti;
  3936. },
  3937. _Universe__installTypeTests(universe, rti) {
  3938. rti._as = A._installSpecializedAsCheck;
  3939. rti._is = A._installSpecializedIsTest;
  3940. return rti;
  3941. },
  3942. _Universe__lookupTerminalRti(universe, kind, key) {
  3943. var rti, t1,
  3944. probe = universe.eC.get(key);
  3945. if (probe != null)
  3946. return probe;
  3947. rti = new A.Rti(null, null);
  3948. rti._kind = kind;
  3949. rti._canonicalRecipe = key;
  3950. t1 = A._Universe__installTypeTests(universe, rti);
  3951. universe.eC.set(key, t1);
  3952. return t1;
  3953. },
  3954. _Universe__lookupStarRti(universe, baseType, normalize) {
  3955. var t1,
  3956. key = baseType._canonicalRecipe + "*",
  3957. probe = universe.eC.get(key);
  3958. if (probe != null)
  3959. return probe;
  3960. t1 = A._Universe__createStarRti(universe, baseType, key, normalize);
  3961. universe.eC.set(key, t1);
  3962. return t1;
  3963. },
  3964. _Universe__createStarRti(universe, baseType, key, normalize) {
  3965. var baseKind, t1, rti;
  3966. if (normalize) {
  3967. baseKind = baseType._kind;
  3968. if (!A.isStrongTopType(baseType))
  3969. t1 = baseType === type$.Null || baseType === type$.JSNull || baseKind === 7 || baseKind === 6;
  3970. else
  3971. t1 = true;
  3972. if (t1)
  3973. return baseType;
  3974. }
  3975. rti = new A.Rti(null, null);
  3976. rti._kind = 6;
  3977. rti._primary = baseType;
  3978. rti._canonicalRecipe = key;
  3979. return A._Universe__installTypeTests(universe, rti);
  3980. },
  3981. _Universe__lookupQuestionRti(universe, baseType, normalize) {
  3982. var t1,
  3983. key = baseType._canonicalRecipe + "?",
  3984. probe = universe.eC.get(key);
  3985. if (probe != null)
  3986. return probe;
  3987. t1 = A._Universe__createQuestionRti(universe, baseType, key, normalize);
  3988. universe.eC.set(key, t1);
  3989. return t1;
  3990. },
  3991. _Universe__createQuestionRti(universe, baseType, key, normalize) {
  3992. var baseKind, t1, starArgument, rti;
  3993. if (normalize) {
  3994. baseKind = baseType._kind;
  3995. if (!A.isStrongTopType(baseType))
  3996. if (!(baseType === type$.Null || baseType === type$.JSNull))
  3997. if (baseKind !== 7)
  3998. t1 = baseKind === 8 && A.isNullable(baseType._primary);
  3999. else
  4000. t1 = true;
  4001. else
  4002. t1 = true;
  4003. else
  4004. t1 = true;
  4005. if (t1)
  4006. return baseType;
  4007. else if (baseKind === 1 || baseType === type$.legacy_Never)
  4008. return type$.Null;
  4009. else if (baseKind === 6) {
  4010. starArgument = baseType._primary;
  4011. if (starArgument._kind === 8 && A.isNullable(starArgument._primary))
  4012. return starArgument;
  4013. else
  4014. return A.Rti__getQuestionFromStar(universe, baseType);
  4015. }
  4016. }
  4017. rti = new A.Rti(null, null);
  4018. rti._kind = 7;
  4019. rti._primary = baseType;
  4020. rti._canonicalRecipe = key;
  4021. return A._Universe__installTypeTests(universe, rti);
  4022. },
  4023. _Universe__lookupFutureOrRti(universe, baseType, normalize) {
  4024. var t1,
  4025. key = baseType._canonicalRecipe + "/",
  4026. probe = universe.eC.get(key);
  4027. if (probe != null)
  4028. return probe;
  4029. t1 = A._Universe__createFutureOrRti(universe, baseType, key, normalize);
  4030. universe.eC.set(key, t1);
  4031. return t1;
  4032. },
  4033. _Universe__createFutureOrRti(universe, baseType, key, normalize) {
  4034. var t1, t2, rti;
  4035. if (normalize) {
  4036. t1 = baseType._kind;
  4037. if (!A.isStrongTopType(baseType))
  4038. if (!(baseType === type$.legacy_Object))
  4039. t2 = false;
  4040. else
  4041. t2 = true;
  4042. else
  4043. t2 = true;
  4044. if (t2 || baseType === type$.Object)
  4045. return baseType;
  4046. else if (t1 === 1)
  4047. return A._Universe__lookupInterfaceRti(universe, "Future", [baseType]);
  4048. else if (baseType === type$.Null || baseType === type$.JSNull)
  4049. return type$.nullable_Future_Null;
  4050. }
  4051. rti = new A.Rti(null, null);
  4052. rti._kind = 8;
  4053. rti._primary = baseType;
  4054. rti._canonicalRecipe = key;
  4055. return A._Universe__installTypeTests(universe, rti);
  4056. },
  4057. _Universe__lookupGenericFunctionParameterRti(universe, index) {
  4058. var rti, t1,
  4059. key = "" + index + "^",
  4060. probe = universe.eC.get(key);
  4061. if (probe != null)
  4062. return probe;
  4063. rti = new A.Rti(null, null);
  4064. rti._kind = 14;
  4065. rti._primary = index;
  4066. rti._canonicalRecipe = key;
  4067. t1 = A._Universe__installTypeTests(universe, rti);
  4068. universe.eC.set(key, t1);
  4069. return t1;
  4070. },
  4071. _Universe__canonicalRecipeJoin($arguments) {
  4072. var s, sep, i,
  4073. $length = $arguments.length;
  4074. for (s = "", sep = "", i = 0; i < $length; ++i, sep = ",")
  4075. s += sep + $arguments[i]._canonicalRecipe;
  4076. return s;
  4077. },
  4078. _Universe__canonicalRecipeJoinNamed($arguments) {
  4079. var s, sep, i, t1, nameSep,
  4080. $length = $arguments.length;
  4081. for (s = "", sep = "", i = 0; i < $length; i += 3, sep = ",") {
  4082. t1 = $arguments[i];
  4083. nameSep = $arguments[i + 1] ? "!" : ":";
  4084. s += sep + t1 + nameSep + $arguments[i + 2]._canonicalRecipe;
  4085. }
  4086. return s;
  4087. },
  4088. _Universe__lookupInterfaceRti(universe, $name, $arguments) {
  4089. var probe, rti, t1,
  4090. s = $name;
  4091. if ($arguments.length > 0)
  4092. s += "<" + A._Universe__canonicalRecipeJoin($arguments) + ">";
  4093. probe = universe.eC.get(s);
  4094. if (probe != null)
  4095. return probe;
  4096. rti = new A.Rti(null, null);
  4097. rti._kind = 9;
  4098. rti._primary = $name;
  4099. rti._rest = $arguments;
  4100. if ($arguments.length > 0)
  4101. rti._precomputed1 = $arguments[0];
  4102. rti._canonicalRecipe = s;
  4103. t1 = A._Universe__installTypeTests(universe, rti);
  4104. universe.eC.set(s, t1);
  4105. return t1;
  4106. },
  4107. _Universe__lookupBindingRti(universe, base, $arguments) {
  4108. var newBase, newArguments, key, probe, rti, t1;
  4109. if (base._kind === 10) {
  4110. newBase = base._primary;
  4111. newArguments = base._rest.concat($arguments);
  4112. } else {
  4113. newArguments = $arguments;
  4114. newBase = base;
  4115. }
  4116. key = newBase._canonicalRecipe + (";<" + A._Universe__canonicalRecipeJoin(newArguments) + ">");
  4117. probe = universe.eC.get(key);
  4118. if (probe != null)
  4119. return probe;
  4120. rti = new A.Rti(null, null);
  4121. rti._kind = 10;
  4122. rti._primary = newBase;
  4123. rti._rest = newArguments;
  4124. rti._canonicalRecipe = key;
  4125. t1 = A._Universe__installTypeTests(universe, rti);
  4126. universe.eC.set(key, t1);
  4127. return t1;
  4128. },
  4129. _Universe__lookupRecordRti(universe, partialShapeTag, fields) {
  4130. var rti, t1,
  4131. key = "+" + (partialShapeTag + "(" + A._Universe__canonicalRecipeJoin(fields) + ")"),
  4132. probe = universe.eC.get(key);
  4133. if (probe != null)
  4134. return probe;
  4135. rti = new A.Rti(null, null);
  4136. rti._kind = 11;
  4137. rti._primary = partialShapeTag;
  4138. rti._rest = fields;
  4139. rti._canonicalRecipe = key;
  4140. t1 = A._Universe__installTypeTests(universe, rti);
  4141. universe.eC.set(key, t1);
  4142. return t1;
  4143. },
  4144. _Universe__lookupFunctionRti(universe, returnType, parameters) {
  4145. var sep, key, probe, rti, t1,
  4146. s = returnType._canonicalRecipe,
  4147. requiredPositional = parameters._requiredPositional,
  4148. requiredPositionalLength = requiredPositional.length,
  4149. optionalPositional = parameters._optionalPositional,
  4150. optionalPositionalLength = optionalPositional.length,
  4151. named = parameters._named,
  4152. namedLength = named.length,
  4153. recipe = "(" + A._Universe__canonicalRecipeJoin(requiredPositional);
  4154. if (optionalPositionalLength > 0) {
  4155. sep = requiredPositionalLength > 0 ? "," : "";
  4156. recipe += sep + "[" + A._Universe__canonicalRecipeJoin(optionalPositional) + "]";
  4157. }
  4158. if (namedLength > 0) {
  4159. sep = requiredPositionalLength > 0 ? "," : "";
  4160. recipe += sep + "{" + A._Universe__canonicalRecipeJoinNamed(named) + "}";
  4161. }
  4162. key = s + (recipe + ")");
  4163. probe = universe.eC.get(key);
  4164. if (probe != null)
  4165. return probe;
  4166. rti = new A.Rti(null, null);
  4167. rti._kind = 12;
  4168. rti._primary = returnType;
  4169. rti._rest = parameters;
  4170. rti._canonicalRecipe = key;
  4171. t1 = A._Universe__installTypeTests(universe, rti);
  4172. universe.eC.set(key, t1);
  4173. return t1;
  4174. },
  4175. _Universe__lookupGenericFunctionRti(universe, baseFunctionType, bounds, normalize) {
  4176. var t1,
  4177. key = baseFunctionType._canonicalRecipe + ("<" + A._Universe__canonicalRecipeJoin(bounds) + ">"),
  4178. probe = universe.eC.get(key);
  4179. if (probe != null)
  4180. return probe;
  4181. t1 = A._Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize);
  4182. universe.eC.set(key, t1);
  4183. return t1;
  4184. },
  4185. _Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize) {
  4186. var $length, typeArguments, count, i, bound, substitutedBase, substitutedBounds, rti;
  4187. if (normalize) {
  4188. $length = bounds.length;
  4189. typeArguments = A._Utils_newArrayOrEmpty($length);
  4190. for (count = 0, i = 0; i < $length; ++i) {
  4191. bound = bounds[i];
  4192. if (bound._kind === 1) {
  4193. typeArguments[i] = bound;
  4194. ++count;
  4195. }
  4196. }
  4197. if (count > 0) {
  4198. substitutedBase = A._substitute(universe, baseFunctionType, typeArguments, 0);
  4199. substitutedBounds = A._substituteArray(universe, bounds, typeArguments, 0);
  4200. return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, bounds !== substitutedBounds);
  4201. }
  4202. }
  4203. rti = new A.Rti(null, null);
  4204. rti._kind = 13;
  4205. rti._primary = baseFunctionType;
  4206. rti._rest = bounds;
  4207. rti._canonicalRecipe = key;
  4208. return A._Universe__installTypeTests(universe, rti);
  4209. },
  4210. _Parser_create(universe, environment, recipe, normalize) {
  4211. return {u: universe, e: environment, r: recipe, s: [], p: 0, n: normalize};
  4212. },
  4213. _Parser_parse(parser) {
  4214. var t2, i, ch, t3, array, end, item,
  4215. source = parser.r,
  4216. t1 = parser.s;
  4217. for (t2 = source.length, i = 0; i < t2;) {
  4218. ch = source.charCodeAt(i);
  4219. if (ch >= 48 && ch <= 57)
  4220. i = A._Parser_handleDigit(i + 1, ch, source, t1);
  4221. else if ((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124)
  4222. i = A._Parser_handleIdentifier(parser, i, source, t1, false);
  4223. else if (ch === 46)
  4224. i = A._Parser_handleIdentifier(parser, i, source, t1, true);
  4225. else {
  4226. ++i;
  4227. switch (ch) {
  4228. case 44:
  4229. break;
  4230. case 58:
  4231. t1.push(false);
  4232. break;
  4233. case 33:
  4234. t1.push(true);
  4235. break;
  4236. case 59:
  4237. t1.push(A._Parser_toType(parser.u, parser.e, t1.pop()));
  4238. break;
  4239. case 94:
  4240. t1.push(A._Universe__lookupGenericFunctionParameterRti(parser.u, t1.pop()));
  4241. break;
  4242. case 35:
  4243. t1.push(A._Universe__lookupTerminalRti(parser.u, 5, "#"));
  4244. break;
  4245. case 64:
  4246. t1.push(A._Universe__lookupTerminalRti(parser.u, 2, "@"));
  4247. break;
  4248. case 126:
  4249. t1.push(A._Universe__lookupTerminalRti(parser.u, 3, "~"));
  4250. break;
  4251. case 60:
  4252. t1.push(parser.p);
  4253. parser.p = t1.length;
  4254. break;
  4255. case 62:
  4256. A._Parser_handleTypeArguments(parser, t1);
  4257. break;
  4258. case 38:
  4259. A._Parser_handleExtendedOperations(parser, t1);
  4260. break;
  4261. case 42:
  4262. t3 = parser.u;
  4263. t1.push(A._Universe__lookupStarRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  4264. break;
  4265. case 63:
  4266. t3 = parser.u;
  4267. t1.push(A._Universe__lookupQuestionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  4268. break;
  4269. case 47:
  4270. t3 = parser.u;
  4271. t1.push(A._Universe__lookupFutureOrRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
  4272. break;
  4273. case 40:
  4274. t1.push(-3);
  4275. t1.push(parser.p);
  4276. parser.p = t1.length;
  4277. break;
  4278. case 41:
  4279. A._Parser_handleArguments(parser, t1);
  4280. break;
  4281. case 91:
  4282. t1.push(parser.p);
  4283. parser.p = t1.length;
  4284. break;
  4285. case 93:
  4286. array = t1.splice(parser.p);
  4287. A._Parser_toTypes(parser.u, parser.e, array);
  4288. parser.p = t1.pop();
  4289. t1.push(array);
  4290. t1.push(-1);
  4291. break;
  4292. case 123:
  4293. t1.push(parser.p);
  4294. parser.p = t1.length;
  4295. break;
  4296. case 125:
  4297. array = t1.splice(parser.p);
  4298. A._Parser_toTypesNamed(parser.u, parser.e, array);
  4299. parser.p = t1.pop();
  4300. t1.push(array);
  4301. t1.push(-2);
  4302. break;
  4303. case 43:
  4304. end = source.indexOf("(", i);
  4305. t1.push(source.substring(i, end));
  4306. t1.push(-4);
  4307. t1.push(parser.p);
  4308. parser.p = t1.length;
  4309. i = end + 1;
  4310. break;
  4311. default:
  4312. throw "Bad character " + ch;
  4313. }
  4314. }
  4315. }
  4316. item = t1.pop();
  4317. return A._Parser_toType(parser.u, parser.e, item);
  4318. },
  4319. _Parser_handleDigit(i, digit, source, stack) {
  4320. var t1, ch,
  4321. value = digit - 48;
  4322. for (t1 = source.length; i < t1; ++i) {
  4323. ch = source.charCodeAt(i);
  4324. if (!(ch >= 48 && ch <= 57))
  4325. break;
  4326. value = value * 10 + (ch - 48);
  4327. }
  4328. stack.push(value);
  4329. return i;
  4330. },
  4331. _Parser_handleIdentifier(parser, start, source, stack, hasPeriod) {
  4332. var t1, ch, t2, string, environment, recipe,
  4333. i = start + 1;
  4334. for (t1 = source.length; i < t1; ++i) {
  4335. ch = source.charCodeAt(i);
  4336. if (ch === 46) {
  4337. if (hasPeriod)
  4338. break;
  4339. hasPeriod = true;
  4340. } else {
  4341. if (!((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124))
  4342. t2 = ch >= 48 && ch <= 57;
  4343. else
  4344. t2 = true;
  4345. if (!t2)
  4346. break;
  4347. }
  4348. }
  4349. string = source.substring(start, i);
  4350. if (hasPeriod) {
  4351. t1 = parser.u;
  4352. environment = parser.e;
  4353. if (environment._kind === 10)
  4354. environment = environment._primary;
  4355. recipe = A._Universe_findRule(t1, environment._primary)[string];
  4356. if (recipe == null)
  4357. A.throwExpression('No "' + string + '" in "' + A.Rti__getCanonicalRecipe(environment) + '"');
  4358. stack.push(A._Universe_evalInEnvironment(t1, environment, recipe));
  4359. } else
  4360. stack.push(string);
  4361. return i;
  4362. },
  4363. _Parser_handleTypeArguments(parser, stack) {
  4364. var base,
  4365. t1 = parser.u,
  4366. $arguments = A._Parser_collectArray(parser, stack),
  4367. head = stack.pop();
  4368. if (typeof head == "string")
  4369. stack.push(A._Universe__lookupInterfaceRti(t1, head, $arguments));
  4370. else {
  4371. base = A._Parser_toType(t1, parser.e, head);
  4372. switch (base._kind) {
  4373. case 12:
  4374. stack.push(A._Universe__lookupGenericFunctionRti(t1, base, $arguments, parser.n));
  4375. break;
  4376. default:
  4377. stack.push(A._Universe__lookupBindingRti(t1, base, $arguments));
  4378. break;
  4379. }
  4380. }
  4381. },
  4382. _Parser_handleArguments(parser, stack) {
  4383. var optionalPositional, named, requiredPositional, returnType, parameters, _null = null,
  4384. t1 = parser.u,
  4385. head = stack.pop();
  4386. if (typeof head == "number")
  4387. switch (head) {
  4388. case -1:
  4389. optionalPositional = stack.pop();
  4390. named = _null;
  4391. break;
  4392. case -2:
  4393. named = stack.pop();
  4394. optionalPositional = _null;
  4395. break;
  4396. default:
  4397. stack.push(head);
  4398. named = _null;
  4399. optionalPositional = named;
  4400. break;
  4401. }
  4402. else {
  4403. stack.push(head);
  4404. named = _null;
  4405. optionalPositional = named;
  4406. }
  4407. requiredPositional = A._Parser_collectArray(parser, stack);
  4408. head = stack.pop();
  4409. switch (head) {
  4410. case -3:
  4411. head = stack.pop();
  4412. if (optionalPositional == null)
  4413. optionalPositional = t1.sEA;
  4414. if (named == null)
  4415. named = t1.sEA;
  4416. returnType = A._Parser_toType(t1, parser.e, head);
  4417. parameters = new A._FunctionParameters();
  4418. parameters._requiredPositional = requiredPositional;
  4419. parameters._optionalPositional = optionalPositional;
  4420. parameters._named = named;
  4421. stack.push(A._Universe__lookupFunctionRti(t1, returnType, parameters));
  4422. return;
  4423. case -4:
  4424. stack.push(A._Universe__lookupRecordRti(t1, stack.pop(), requiredPositional));
  4425. return;
  4426. default:
  4427. throw A.wrapException(A.AssertionError$("Unexpected state under `()`: " + A.S(head)));
  4428. }
  4429. },
  4430. _Parser_handleExtendedOperations(parser, stack) {
  4431. var $top = stack.pop();
  4432. if (0 === $top) {
  4433. stack.push(A._Universe__lookupTerminalRti(parser.u, 1, "0&"));
  4434. return;
  4435. }
  4436. if (1 === $top) {
  4437. stack.push(A._Universe__lookupTerminalRti(parser.u, 4, "1&"));
  4438. return;
  4439. }
  4440. throw A.wrapException(A.AssertionError$("Unexpected extended operation " + A.S($top)));
  4441. },
  4442. _Parser_collectArray(parser, stack) {
  4443. var array = stack.splice(parser.p);
  4444. A._Parser_toTypes(parser.u, parser.e, array);
  4445. parser.p = stack.pop();
  4446. return array;
  4447. },
  4448. _Parser_toType(universe, environment, item) {
  4449. if (typeof item == "string")
  4450. return A._Universe__lookupInterfaceRti(universe, item, universe.sEA);
  4451. else if (typeof item == "number") {
  4452. environment.toString;
  4453. return A._Parser_indexToType(universe, environment, item);
  4454. } else
  4455. return item;
  4456. },
  4457. _Parser_toTypes(universe, environment, items) {
  4458. var i,
  4459. $length = items.length;
  4460. for (i = 0; i < $length; ++i)
  4461. items[i] = A._Parser_toType(universe, environment, items[i]);
  4462. },
  4463. _Parser_toTypesNamed(universe, environment, items) {
  4464. var i,
  4465. $length = items.length;
  4466. for (i = 2; i < $length; i += 3)
  4467. items[i] = A._Parser_toType(universe, environment, items[i]);
  4468. },
  4469. _Parser_indexToType(universe, environment, index) {
  4470. var typeArguments, len,
  4471. kind = environment._kind;
  4472. if (kind === 10) {
  4473. if (index === 0)
  4474. return environment._primary;
  4475. typeArguments = environment._rest;
  4476. len = typeArguments.length;
  4477. if (index <= len)
  4478. return typeArguments[index - 1];
  4479. index -= len;
  4480. environment = environment._primary;
  4481. kind = environment._kind;
  4482. } else if (index === 0)
  4483. return environment;
  4484. if (kind !== 9)
  4485. throw A.wrapException(A.AssertionError$("Indexed base must be an interface type"));
  4486. typeArguments = environment._rest;
  4487. if (index <= typeArguments.length)
  4488. return typeArguments[index - 1];
  4489. throw A.wrapException(A.AssertionError$("Bad index " + index + " for " + environment.toString$0(0)));
  4490. },
  4491. isSubtype(universe, s, t) {
  4492. var result,
  4493. sCache = A.Rti__getIsSubtypeCache(s),
  4494. probe = sCache.get(t);
  4495. if (probe != null)
  4496. return probe;
  4497. result = A._isSubtype(universe, s, null, t, null);
  4498. sCache.set(t, result);
  4499. return result;
  4500. },
  4501. _isSubtype(universe, s, sEnv, t, tEnv) {
  4502. var t1, sKind, leftTypeVariable, tKind, t2, sBounds, tBounds, sLength, i, sBound, tBound;
  4503. if (s === t)
  4504. return true;
  4505. if (!A.isStrongTopType(t))
  4506. if (!(t === type$.legacy_Object))
  4507. t1 = false;
  4508. else
  4509. t1 = true;
  4510. else
  4511. t1 = true;
  4512. if (t1)
  4513. return true;
  4514. sKind = s._kind;
  4515. if (sKind === 4)
  4516. return true;
  4517. if (A.isStrongTopType(s))
  4518. return false;
  4519. if (s._kind !== 1)
  4520. t1 = false;
  4521. else
  4522. t1 = true;
  4523. if (t1)
  4524. return true;
  4525. leftTypeVariable = sKind === 14;
  4526. if (leftTypeVariable)
  4527. if (A._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv))
  4528. return true;
  4529. tKind = t._kind;
  4530. t1 = s === type$.Null || s === type$.JSNull;
  4531. if (t1) {
  4532. if (tKind === 8)
  4533. return A._isSubtype(universe, s, sEnv, t._primary, tEnv);
  4534. return t === type$.Null || t === type$.JSNull || tKind === 7 || tKind === 6;
  4535. }
  4536. if (t === type$.Object) {
  4537. if (sKind === 8)
  4538. return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
  4539. if (sKind === 6)
  4540. return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
  4541. return sKind !== 7;
  4542. }
  4543. if (sKind === 6)
  4544. return A._isSubtype(universe, s._primary, sEnv, t, tEnv);
  4545. if (tKind === 6) {
  4546. t1 = A.Rti__getQuestionFromStar(universe, t);
  4547. return A._isSubtype(universe, s, sEnv, t1, tEnv);
  4548. }
  4549. if (sKind === 8) {
  4550. if (!A._isSubtype(universe, s._primary, sEnv, t, tEnv))
  4551. return false;
  4552. return A._isSubtype(universe, A.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv);
  4553. }
  4554. if (sKind === 7) {
  4555. t1 = A._isSubtype(universe, type$.Null, sEnv, t, tEnv);
  4556. return t1 && A._isSubtype(universe, s._primary, sEnv, t, tEnv);
  4557. }
  4558. if (tKind === 8) {
  4559. if (A._isSubtype(universe, s, sEnv, t._primary, tEnv))
  4560. return true;
  4561. return A._isSubtype(universe, s, sEnv, A.Rti__getFutureFromFutureOr(universe, t), tEnv);
  4562. }
  4563. if (tKind === 7) {
  4564. t1 = A._isSubtype(universe, s, sEnv, type$.Null, tEnv);
  4565. return t1 || A._isSubtype(universe, s, sEnv, t._primary, tEnv);
  4566. }
  4567. if (leftTypeVariable)
  4568. return false;
  4569. t1 = sKind !== 12;
  4570. if ((!t1 || sKind === 13) && t === type$.Function)
  4571. return true;
  4572. t2 = sKind === 11;
  4573. if (t2 && t === type$.Record)
  4574. return true;
  4575. if (tKind === 13) {
  4576. if (s === type$.JavaScriptFunction)
  4577. return true;
  4578. if (sKind !== 13)
  4579. return false;
  4580. sBounds = s._rest;
  4581. tBounds = t._rest;
  4582. sLength = sBounds.length;
  4583. if (sLength !== tBounds.length)
  4584. return false;
  4585. sEnv = sEnv == null ? sBounds : sBounds.concat(sEnv);
  4586. tEnv = tEnv == null ? tBounds : tBounds.concat(tEnv);
  4587. for (i = 0; i < sLength; ++i) {
  4588. sBound = sBounds[i];
  4589. tBound = tBounds[i];
  4590. if (!A._isSubtype(universe, sBound, sEnv, tBound, tEnv) || !A._isSubtype(universe, tBound, tEnv, sBound, sEnv))
  4591. return false;
  4592. }
  4593. return A._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv);
  4594. }
  4595. if (tKind === 12) {
  4596. if (s === type$.JavaScriptFunction)
  4597. return true;
  4598. if (t1)
  4599. return false;
  4600. return A._isFunctionSubtype(universe, s, sEnv, t, tEnv);
  4601. }
  4602. if (sKind === 9) {
  4603. if (tKind !== 9)
  4604. return false;
  4605. return A._isInterfaceSubtype(universe, s, sEnv, t, tEnv);
  4606. }
  4607. if (t2 && tKind === 11)
  4608. return A._isRecordSubtype(universe, s, sEnv, t, tEnv);
  4609. return false;
  4610. },
  4611. _isFunctionSubtype(universe, s, sEnv, t, tEnv) {
  4612. var sParameters, tParameters, sRequiredPositional, tRequiredPositional, sRequiredPositionalLength, tRequiredPositionalLength, requiredPositionalDelta, sOptionalPositional, tOptionalPositional, sOptionalPositionalLength, tOptionalPositionalLength, i, t1, sNamed, tNamed, sNamedLength, tNamedLength, sIndex, tIndex, tName, sName, sIsRequired;
  4613. if (!A._isSubtype(universe, s._primary, sEnv, t._primary, tEnv))
  4614. return false;
  4615. sParameters = s._rest;
  4616. tParameters = t._rest;
  4617. sRequiredPositional = sParameters._requiredPositional;
  4618. tRequiredPositional = tParameters._requiredPositional;
  4619. sRequiredPositionalLength = sRequiredPositional.length;
  4620. tRequiredPositionalLength = tRequiredPositional.length;
  4621. if (sRequiredPositionalLength > tRequiredPositionalLength)
  4622. return false;
  4623. requiredPositionalDelta = tRequiredPositionalLength - sRequiredPositionalLength;
  4624. sOptionalPositional = sParameters._optionalPositional;
  4625. tOptionalPositional = tParameters._optionalPositional;
  4626. sOptionalPositionalLength = sOptionalPositional.length;
  4627. tOptionalPositionalLength = tOptionalPositional.length;
  4628. if (sRequiredPositionalLength + sOptionalPositionalLength < tRequiredPositionalLength + tOptionalPositionalLength)
  4629. return false;
  4630. for (i = 0; i < sRequiredPositionalLength; ++i) {
  4631. t1 = sRequiredPositional[i];
  4632. if (!A._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv))
  4633. return false;
  4634. }
  4635. for (i = 0; i < requiredPositionalDelta; ++i) {
  4636. t1 = sOptionalPositional[i];
  4637. if (!A._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv))
  4638. return false;
  4639. }
  4640. for (i = 0; i < tOptionalPositionalLength; ++i) {
  4641. t1 = sOptionalPositional[requiredPositionalDelta + i];
  4642. if (!A._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv))
  4643. return false;
  4644. }
  4645. sNamed = sParameters._named;
  4646. tNamed = tParameters._named;
  4647. sNamedLength = sNamed.length;
  4648. tNamedLength = tNamed.length;
  4649. for (sIndex = 0, tIndex = 0; tIndex < tNamedLength; tIndex += 3) {
  4650. tName = tNamed[tIndex];
  4651. for (; true;) {
  4652. if (sIndex >= sNamedLength)
  4653. return false;
  4654. sName = sNamed[sIndex];
  4655. sIndex += 3;
  4656. if (tName < sName)
  4657. return false;
  4658. sIsRequired = sNamed[sIndex - 2];
  4659. if (sName < tName) {
  4660. if (sIsRequired)
  4661. return false;
  4662. continue;
  4663. }
  4664. t1 = tNamed[tIndex + 1];
  4665. if (sIsRequired && !t1)
  4666. return false;
  4667. t1 = sNamed[sIndex - 1];
  4668. if (!A._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv))
  4669. return false;
  4670. break;
  4671. }
  4672. }
  4673. for (; sIndex < sNamedLength;) {
  4674. if (sNamed[sIndex + 1])
  4675. return false;
  4676. sIndex += 3;
  4677. }
  4678. return true;
  4679. },
  4680. _isInterfaceSubtype(universe, s, sEnv, t, tEnv) {
  4681. var rule, recipes, $length, supertypeArgs, i, t1, t2,
  4682. sName = s._primary,
  4683. tName = t._primary;
  4684. for (; sName !== tName;) {
  4685. rule = universe.tR[sName];
  4686. if (rule == null)
  4687. return false;
  4688. if (typeof rule == "string") {
  4689. sName = rule;
  4690. continue;
  4691. }
  4692. recipes = rule[tName];
  4693. if (recipes == null)
  4694. return false;
  4695. $length = recipes.length;
  4696. supertypeArgs = $length > 0 ? new Array($length) : init.typeUniverse.sEA;
  4697. for (i = 0; i < $length; ++i)
  4698. supertypeArgs[i] = A._Universe_evalInEnvironment(universe, s, recipes[i]);
  4699. return A._areArgumentsSubtypes(universe, supertypeArgs, null, sEnv, t._rest, tEnv);
  4700. }
  4701. t1 = s._rest;
  4702. t2 = t._rest;
  4703. return A._areArgumentsSubtypes(universe, t1, null, sEnv, t2, tEnv);
  4704. },
  4705. _areArgumentsSubtypes(universe, sArgs, sVariances, sEnv, tArgs, tEnv) {
  4706. var i, t1, t2,
  4707. $length = sArgs.length;
  4708. for (i = 0; i < $length; ++i) {
  4709. t1 = sArgs[i];
  4710. t2 = tArgs[i];
  4711. if (!A._isSubtype(universe, t1, sEnv, t2, tEnv))
  4712. return false;
  4713. }
  4714. return true;
  4715. },
  4716. _isRecordSubtype(universe, s, sEnv, t, tEnv) {
  4717. var i,
  4718. sFields = s._rest,
  4719. tFields = t._rest,
  4720. sCount = sFields.length;
  4721. if (sCount !== tFields.length)
  4722. return false;
  4723. if (s._primary !== t._primary)
  4724. return false;
  4725. for (i = 0; i < sCount; ++i)
  4726. if (!A._isSubtype(universe, sFields[i], sEnv, tFields[i], tEnv))
  4727. return false;
  4728. return true;
  4729. },
  4730. isNullable(t) {
  4731. var t1,
  4732. kind = t._kind;
  4733. if (!(t === type$.Null || t === type$.JSNull))
  4734. if (!A.isStrongTopType(t))
  4735. if (kind !== 7)
  4736. if (!(kind === 6 && A.isNullable(t._primary)))
  4737. t1 = kind === 8 && A.isNullable(t._primary);
  4738. else
  4739. t1 = true;
  4740. else
  4741. t1 = true;
  4742. else
  4743. t1 = true;
  4744. else
  4745. t1 = true;
  4746. return t1;
  4747. },
  4748. isTopType(t) {
  4749. var t1;
  4750. if (!A.isStrongTopType(t))
  4751. if (!(t === type$.legacy_Object))
  4752. t1 = false;
  4753. else
  4754. t1 = true;
  4755. else
  4756. t1 = true;
  4757. return t1;
  4758. },
  4759. isStrongTopType(t) {
  4760. var kind = t._kind;
  4761. return kind === 2 || kind === 3 || kind === 4 || kind === 5 || t === type$.nullable_Object;
  4762. },
  4763. _Utils_objectAssign(o, other) {
  4764. var i, key,
  4765. keys = Object.keys(other),
  4766. $length = keys.length;
  4767. for (i = 0; i < $length; ++i) {
  4768. key = keys[i];
  4769. o[key] = other[key];
  4770. }
  4771. },
  4772. _Utils_newArrayOrEmpty($length) {
  4773. return $length > 0 ? new Array($length) : init.typeUniverse.sEA;
  4774. },
  4775. Rti: function Rti(t0, t1) {
  4776. var _ = this;
  4777. _._as = t0;
  4778. _._is = t1;
  4779. _._cachedRuntimeType = _._specializedTestResource = _._unsoundIsSubtypeCache = _._isSubtypeCache = _._precomputed1 = null;
  4780. _._kind = 0;
  4781. _._canonicalRecipe = _._bindCache = _._evalCache = _._rest = _._primary = null;
  4782. },
  4783. _FunctionParameters: function _FunctionParameters() {
  4784. this._named = this._optionalPositional = this._requiredPositional = null;
  4785. },
  4786. _Type: function _Type(t0) {
  4787. this._rti = t0;
  4788. },
  4789. _Error: function _Error() {
  4790. },
  4791. _TypeError: function _TypeError(t0) {
  4792. this.__rti$_message = t0;
  4793. },
  4794. _AsyncRun__initializeScheduleImmediate() {
  4795. var div, span, t1 = {};
  4796. if (self.scheduleImmediate != null)
  4797. return A.async__AsyncRun__scheduleImmediateJsOverride$closure();
  4798. if (self.MutationObserver != null && self.document != null) {
  4799. div = self.document.createElement("div");
  4800. span = self.document.createElement("span");
  4801. t1.storedCallback = null;
  4802. new self.MutationObserver(A.convertDartClosureToJS(new A._AsyncRun__initializeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true});
  4803. return new A._AsyncRun__initializeScheduleImmediate_closure(t1, div, span);
  4804. } else if (self.setImmediate != null)
  4805. return A.async__AsyncRun__scheduleImmediateWithSetImmediate$closure();
  4806. return A.async__AsyncRun__scheduleImmediateWithTimer$closure();
  4807. },
  4808. _AsyncRun__scheduleImmediateJsOverride(callback) {
  4809. self.scheduleImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateJsOverride_internalCallback(callback), 0));
  4810. },
  4811. _AsyncRun__scheduleImmediateWithSetImmediate(callback) {
  4812. self.setImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(callback), 0));
  4813. },
  4814. _AsyncRun__scheduleImmediateWithTimer(callback) {
  4815. A.Timer__createTimer(B.Duration_0, callback);
  4816. },
  4817. Timer__createTimer(duration, callback) {
  4818. var milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
  4819. return A._TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback);
  4820. },
  4821. _TimerImpl$(milliseconds, callback) {
  4822. var t1 = new A._TimerImpl(true);
  4823. t1._TimerImpl$2(milliseconds, callback);
  4824. return t1;
  4825. },
  4826. _TimerImpl$periodic(milliseconds, callback) {
  4827. var t1 = new A._TimerImpl(false);
  4828. t1._TimerImpl$periodic$2(milliseconds, callback);
  4829. return t1;
  4830. },
  4831. _makeAsyncAwaitCompleter($T) {
  4832. return new A._AsyncAwaitCompleter(new A._Future($.Zone__current, $T._eval$1("_Future<0>")), $T._eval$1("_AsyncAwaitCompleter<0>"));
  4833. },
  4834. _asyncStartSync(bodyFunction, completer) {
  4835. bodyFunction.call$2(0, null);
  4836. completer.isSync = true;
  4837. return completer._future;
  4838. },
  4839. _asyncAwait(object, bodyFunction) {
  4840. A._awaitOnObject(object, bodyFunction);
  4841. },
  4842. _asyncReturn(object, completer) {
  4843. completer.complete$1(object);
  4844. },
  4845. _asyncRethrow(object, completer) {
  4846. completer.completeError$2(A.unwrapException(object), A.getTraceFromException(object));
  4847. },
  4848. _awaitOnObject(object, bodyFunction) {
  4849. var t1, future,
  4850. thenCallback = new A._awaitOnObject_closure(bodyFunction),
  4851. errorCallback = new A._awaitOnObject_closure0(bodyFunction);
  4852. if (object instanceof A._Future)
  4853. object._thenAwait$1$2(thenCallback, errorCallback, type$.dynamic);
  4854. else {
  4855. t1 = type$.dynamic;
  4856. if (object instanceof A._Future)
  4857. object.then$1$2$onError(0, thenCallback, errorCallback, t1);
  4858. else {
  4859. future = new A._Future($.Zone__current, type$._Future_dynamic);
  4860. future._state = 8;
  4861. future._resultOrListeners = object;
  4862. future._thenAwait$1$2(thenCallback, errorCallback, t1);
  4863. }
  4864. }
  4865. },
  4866. _wrapJsFunctionForAsync($function) {
  4867. var $protected = function(fn, ERROR) {
  4868. return function(errorCode, result) {
  4869. while (true)
  4870. try {
  4871. fn(errorCode, result);
  4872. break;
  4873. } catch (error) {
  4874. result = error;
  4875. errorCode = ERROR;
  4876. }
  4877. };
  4878. }($function, 1);
  4879. return $.Zone__current.registerBinaryCallback$3$1(new A._wrapJsFunctionForAsync_closure($protected), type$.void, type$.int, type$.dynamic);
  4880. },
  4881. _SyncStarIterator__terminatedBody(_1, _2, _3) {
  4882. return 0;
  4883. },
  4884. AsyncError$(error, stackTrace) {
  4885. var t1 = A.checkNotNullable(error, "error", type$.Object);
  4886. return new A.AsyncError(t1, stackTrace == null ? A.AsyncError_defaultStackTrace(error) : stackTrace);
  4887. },
  4888. AsyncError_defaultStackTrace(error) {
  4889. var stackTrace;
  4890. if (type$.Error._is(error)) {
  4891. stackTrace = error.get$stackTrace();
  4892. if (stackTrace != null)
  4893. return stackTrace;
  4894. }
  4895. return B._StringStackTrace_3uE;
  4896. },
  4897. Future_Future$value(value, $T) {
  4898. var t1;
  4899. $T._as(value);
  4900. t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  4901. t1._asyncComplete$1(value);
  4902. return t1;
  4903. },
  4904. Future_Future$error(error, stackTrace, $T) {
  4905. var t1, replacement;
  4906. A.checkNotNullable(error, "error", type$.Object);
  4907. t1 = $.Zone__current;
  4908. if (t1 !== B.C__RootZone) {
  4909. replacement = t1.errorCallback$2(error, stackTrace);
  4910. if (replacement != null) {
  4911. error = replacement.error;
  4912. stackTrace = replacement.stackTrace;
  4913. }
  4914. }
  4915. if (stackTrace == null)
  4916. stackTrace = A.AsyncError_defaultStackTrace(error);
  4917. t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  4918. t1._asyncCompleteError$2(error, stackTrace);
  4919. return t1;
  4920. },
  4921. Future_wait(futures, eagerError, $T) {
  4922. var error, stackTrace, handleError, future, pos, e, st, t1, t2, exception, _box_0 = {}, cleanUp = null,
  4923. _future = new A._Future($.Zone__current, $T._eval$1("_Future<List<0>>"));
  4924. _box_0.values = null;
  4925. _box_0.remaining = 0;
  4926. error = A._Cell$named("error");
  4927. stackTrace = A._Cell$named("stackTrace");
  4928. handleError = new A.Future_wait_handleError(_box_0, cleanUp, eagerError, _future, error, stackTrace);
  4929. try {
  4930. for (t1 = J.get$iterator$ax(futures), t2 = type$.Null; t1.moveNext$0();) {
  4931. future = t1.get$current(t1);
  4932. pos = _box_0.remaining;
  4933. J.then$1$2$onError$x(future, new A.Future_wait_closure(_box_0, pos, _future, cleanUp, eagerError, error, stackTrace, $T), handleError, t2);
  4934. ++_box_0.remaining;
  4935. }
  4936. t1 = _box_0.remaining;
  4937. if (t1 === 0) {
  4938. t1 = _future;
  4939. t1._completeWithValue$1(A._setArrayType([], $T._eval$1("JSArray<0>")));
  4940. return t1;
  4941. }
  4942. _box_0.values = A.List_List$filled(t1, null, false, $T._eval$1("0?"));
  4943. } catch (exception) {
  4944. e = A.unwrapException(exception);
  4945. st = A.getTraceFromException(exception);
  4946. if (_box_0.remaining === 0 || eagerError)
  4947. return A.Future_Future$error(e, st, $T._eval$1("List<0>"));
  4948. else {
  4949. error._value = e;
  4950. stackTrace._value = st;
  4951. }
  4952. }
  4953. return _future;
  4954. },
  4955. _Future$zoneValue(value, _zone, $T) {
  4956. var t1 = new A._Future(_zone, $T._eval$1("_Future<0>"));
  4957. t1._state = 8;
  4958. t1._resultOrListeners = value;
  4959. return t1;
  4960. },
  4961. _Future$value(value, $T) {
  4962. var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>"));
  4963. t1._state = 8;
  4964. t1._resultOrListeners = value;
  4965. return t1;
  4966. },
  4967. _Future__chainCoreFutureSync(source, target) {
  4968. var t1, listeners;
  4969. for (; t1 = source._state, (t1 & 4) !== 0;)
  4970. source = source._resultOrListeners;
  4971. if ((t1 & 24) !== 0) {
  4972. listeners = target._removeListeners$0();
  4973. target._cloneResult$1(source);
  4974. A._Future__propagateToListeners(target, listeners);
  4975. } else {
  4976. listeners = target._resultOrListeners;
  4977. target._setChained$1(source);
  4978. source._prependListeners$1(listeners);
  4979. }
  4980. },
  4981. _Future__chainCoreFutureAsync(source, target) {
  4982. var t2, listeners, _box_0 = {},
  4983. t1 = _box_0.source = source;
  4984. for (; t2 = t1._state, (t2 & 4) !== 0;) {
  4985. t1 = t1._resultOrListeners;
  4986. _box_0.source = t1;
  4987. }
  4988. if ((t2 & 24) === 0) {
  4989. listeners = target._resultOrListeners;
  4990. target._setChained$1(t1);
  4991. _box_0.source._prependListeners$1(listeners);
  4992. return;
  4993. }
  4994. if ((t2 & 16) === 0 && target._resultOrListeners == null) {
  4995. target._cloneResult$1(t1);
  4996. return;
  4997. }
  4998. target._state ^= 2;
  4999. target._zone.scheduleMicrotask$1(new A._Future__chainCoreFutureAsync_closure(_box_0, target));
  5000. },
  5001. _Future__propagateToListeners(source, listeners) {
  5002. var _box_0, t2, t3, hasError, nextListener, nextListener0, sourceResult, t4, zone, oldZone, result, current, _box_1 = {},
  5003. t1 = _box_1.source = source;
  5004. for (; true;) {
  5005. _box_0 = {};
  5006. t2 = t1._state;
  5007. t3 = (t2 & 16) === 0;
  5008. hasError = !t3;
  5009. if (listeners == null) {
  5010. if (hasError && (t2 & 1) === 0) {
  5011. t2 = t1._resultOrListeners;
  5012. t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
  5013. }
  5014. return;
  5015. }
  5016. _box_0.listener = listeners;
  5017. nextListener = listeners._nextListener;
  5018. for (t1 = listeners; nextListener != null; t1 = nextListener, nextListener = nextListener0) {
  5019. t1._nextListener = null;
  5020. A._Future__propagateToListeners(_box_1.source, t1);
  5021. _box_0.listener = nextListener;
  5022. nextListener0 = nextListener._nextListener;
  5023. }
  5024. t2 = _box_1.source;
  5025. sourceResult = t2._resultOrListeners;
  5026. _box_0.listenerHasError = hasError;
  5027. _box_0.listenerValueOrError = sourceResult;
  5028. if (t3) {
  5029. t4 = t1.state;
  5030. t4 = (t4 & 1) !== 0 || (t4 & 15) === 8;
  5031. } else
  5032. t4 = true;
  5033. if (t4) {
  5034. zone = t1.result._zone;
  5035. if (hasError) {
  5036. t1 = t2._zone;
  5037. t1 = !(t1 === zone || t1.get$errorZone() === zone.get$errorZone());
  5038. } else
  5039. t1 = false;
  5040. if (t1) {
  5041. t1 = _box_1.source;
  5042. t2 = t1._resultOrListeners;
  5043. t1._zone.handleUncaughtError$2(t2.error, t2.stackTrace);
  5044. return;
  5045. }
  5046. oldZone = $.Zone__current;
  5047. if (oldZone !== zone)
  5048. $.Zone__current = zone;
  5049. else
  5050. oldZone = null;
  5051. t1 = _box_0.listener.state;
  5052. if ((t1 & 15) === 8)
  5053. new A._Future__propagateToListeners_handleWhenCompleteCallback(_box_0, _box_1, hasError).call$0();
  5054. else if (t3) {
  5055. if ((t1 & 1) !== 0)
  5056. new A._Future__propagateToListeners_handleValueCallback(_box_0, sourceResult).call$0();
  5057. } else if ((t1 & 2) !== 0)
  5058. new A._Future__propagateToListeners_handleError(_box_1, _box_0).call$0();
  5059. if (oldZone != null)
  5060. $.Zone__current = oldZone;
  5061. t1 = _box_0.listenerValueOrError;
  5062. if (t1 instanceof A._Future) {
  5063. t2 = _box_0.listener.$ti;
  5064. t2 = t2._eval$1("Future<2>")._is(t1) || !t2._rest[1]._is(t1);
  5065. } else
  5066. t2 = false;
  5067. if (t2) {
  5068. result = _box_0.listener.result;
  5069. if ((t1._state & 24) !== 0) {
  5070. current = result._resultOrListeners;
  5071. result._resultOrListeners = null;
  5072. listeners = result._reverseListeners$1(current);
  5073. result._state = t1._state & 30 | result._state & 1;
  5074. result._resultOrListeners = t1._resultOrListeners;
  5075. _box_1.source = t1;
  5076. continue;
  5077. } else
  5078. A._Future__chainCoreFutureSync(t1, result);
  5079. return;
  5080. }
  5081. }
  5082. result = _box_0.listener.result;
  5083. current = result._resultOrListeners;
  5084. result._resultOrListeners = null;
  5085. listeners = result._reverseListeners$1(current);
  5086. t1 = _box_0.listenerHasError;
  5087. t2 = _box_0.listenerValueOrError;
  5088. if (!t1) {
  5089. result._state = 8;
  5090. result._resultOrListeners = t2;
  5091. } else {
  5092. result._state = result._state & 1 | 16;
  5093. result._resultOrListeners = t2;
  5094. }
  5095. _box_1.source = result;
  5096. t1 = result;
  5097. }
  5098. },
  5099. _registerErrorHandler(errorHandler, zone) {
  5100. if (type$.dynamic_Function_Object_StackTrace._is(errorHandler))
  5101. return zone.registerBinaryCallback$3$1(errorHandler, type$.dynamic, type$.Object, type$.StackTrace);
  5102. if (type$.dynamic_Function_Object._is(errorHandler))
  5103. return zone.registerUnaryCallback$2$1(errorHandler, type$.dynamic, type$.Object);
  5104. throw A.wrapException(A.ArgumentError$value(errorHandler, "onError", string$.Error_));
  5105. },
  5106. _microtaskLoop() {
  5107. var entry, next;
  5108. for (entry = $._nextCallback; entry != null; entry = $._nextCallback) {
  5109. $._lastPriorityCallback = null;
  5110. next = entry.next;
  5111. $._nextCallback = next;
  5112. if (next == null)
  5113. $._lastCallback = null;
  5114. entry.callback.call$0();
  5115. }
  5116. },
  5117. _startMicrotaskLoop() {
  5118. $._isInCallbackLoop = true;
  5119. try {
  5120. A._microtaskLoop();
  5121. } finally {
  5122. $._lastPriorityCallback = null;
  5123. $._isInCallbackLoop = false;
  5124. if ($._nextCallback != null)
  5125. $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
  5126. }
  5127. },
  5128. _scheduleAsyncCallback(callback) {
  5129. var newEntry = new A._AsyncCallbackEntry(callback),
  5130. lastCallback = $._lastCallback;
  5131. if (lastCallback == null) {
  5132. $._nextCallback = $._lastCallback = newEntry;
  5133. if (!$._isInCallbackLoop)
  5134. $.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure());
  5135. } else
  5136. $._lastCallback = lastCallback.next = newEntry;
  5137. },
  5138. _schedulePriorityAsyncCallback(callback) {
  5139. var entry, lastPriorityCallback, next,
  5140. t1 = $._nextCallback;
  5141. if (t1 == null) {
  5142. A._scheduleAsyncCallback(callback);
  5143. $._lastPriorityCallback = $._lastCallback;
  5144. return;
  5145. }
  5146. entry = new A._AsyncCallbackEntry(callback);
  5147. lastPriorityCallback = $._lastPriorityCallback;
  5148. if (lastPriorityCallback == null) {
  5149. entry.next = t1;
  5150. $._nextCallback = $._lastPriorityCallback = entry;
  5151. } else {
  5152. next = lastPriorityCallback.next;
  5153. entry.next = next;
  5154. $._lastPriorityCallback = lastPriorityCallback.next = entry;
  5155. if (next == null)
  5156. $._lastCallback = entry;
  5157. }
  5158. },
  5159. scheduleMicrotask(callback) {
  5160. var t1, _null = null,
  5161. currentZone = $.Zone__current;
  5162. if (B.C__RootZone === currentZone) {
  5163. A._rootScheduleMicrotask(_null, _null, B.C__RootZone, callback);
  5164. return;
  5165. }
  5166. if (B.C__RootZone === currentZone.get$_scheduleMicrotask().zone)
  5167. t1 = B.C__RootZone.get$errorZone() === currentZone.get$errorZone();
  5168. else
  5169. t1 = false;
  5170. if (t1) {
  5171. A._rootScheduleMicrotask(_null, _null, currentZone, currentZone.registerCallback$1$1(callback, type$.void));
  5172. return;
  5173. }
  5174. t1 = $.Zone__current;
  5175. t1.scheduleMicrotask$1(t1.bindCallbackGuarded$1(callback));
  5176. },
  5177. Stream_Stream$fromFuture(future, $T) {
  5178. var _null = null,
  5179. t1 = $T._eval$1("_SyncStreamController<0>"),
  5180. controller = new A._SyncStreamController(_null, _null, _null, _null, t1);
  5181. future.then$1$2$onError(0, new A.Stream_Stream$fromFuture_closure(controller, $T), new A.Stream_Stream$fromFuture_closure0(controller), type$.Null);
  5182. return new A._ControllerStream(controller, t1._eval$1("_ControllerStream<1>"));
  5183. },
  5184. StreamIterator_StreamIterator(stream) {
  5185. return new A._StreamIterator(A.checkNotNullable(stream, "stream", type$.Object));
  5186. },
  5187. StreamController_StreamController(onCancel, onListen, onPause, onResume, sync, $T) {
  5188. 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>"));
  5189. },
  5190. _runGuarded(notificationHandler) {
  5191. var e, s, exception;
  5192. if (notificationHandler == null)
  5193. return;
  5194. try {
  5195. notificationHandler.call$0();
  5196. } catch (exception) {
  5197. e = A.unwrapException(exception);
  5198. s = A.getTraceFromException(exception);
  5199. $.Zone__current.handleUncaughtError$2(e, s);
  5200. }
  5201. },
  5202. _ControllerSubscription$(_controller, onData, onError, onDone, cancelOnError, $T) {
  5203. var t1 = $.Zone__current,
  5204. t2 = cancelOnError ? 1 : 0,
  5205. t3 = A._BufferingStreamSubscription__registerDataHandler(t1, onData, $T),
  5206. t4 = A._BufferingStreamSubscription__registerErrorHandler(t1, onError),
  5207. t5 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
  5208. return new A._ControllerSubscription(_controller, t3, t4, t1.registerCallback$1$1(t5, type$.void), t1, t2, $T._eval$1("_ControllerSubscription<0>"));
  5209. },
  5210. _AddStreamState_makeErrorHandler(controller) {
  5211. return new A._AddStreamState_makeErrorHandler_closure(controller);
  5212. },
  5213. _BufferingStreamSubscription__registerDataHandler(zone, handleData, $T) {
  5214. var t1 = handleData == null ? A.async___nullDataHandler$closure() : handleData;
  5215. return zone.registerUnaryCallback$2$1(t1, type$.void, $T);
  5216. },
  5217. _BufferingStreamSubscription__registerErrorHandler(zone, handleError) {
  5218. if (handleError == null)
  5219. handleError = A.async___nullErrorHandler$closure();
  5220. if (type$.void_Function_Object_StackTrace._is(handleError))
  5221. return zone.registerBinaryCallback$3$1(handleError, type$.dynamic, type$.Object, type$.StackTrace);
  5222. if (type$.void_Function_Object._is(handleError))
  5223. return zone.registerUnaryCallback$2$1(handleError, type$.dynamic, type$.Object);
  5224. throw A.wrapException(A.ArgumentError$("handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.", null));
  5225. },
  5226. _nullDataHandler(value) {
  5227. },
  5228. _nullErrorHandler(error, stackTrace) {
  5229. $.Zone__current.handleUncaughtError$2(error, stackTrace);
  5230. },
  5231. _nullDoneHandler() {
  5232. },
  5233. Timer_Timer(duration, callback) {
  5234. var t1 = $.Zone__current;
  5235. if (t1 === B.C__RootZone)
  5236. return t1.createTimer$2(duration, callback);
  5237. return t1.createTimer$2(duration, t1.bindCallbackGuarded$1(callback));
  5238. },
  5239. _rootHandleUncaughtError($self, $parent, zone, error, stackTrace) {
  5240. A._rootHandleError(error, stackTrace);
  5241. },
  5242. _rootHandleError(error, stackTrace) {
  5243. A._schedulePriorityAsyncCallback(new A._rootHandleError_closure(error, stackTrace));
  5244. },
  5245. _rootRun($self, $parent, zone, f) {
  5246. var old,
  5247. t1 = $.Zone__current;
  5248. if (t1 === zone)
  5249. return f.call$0();
  5250. $.Zone__current = zone;
  5251. old = t1;
  5252. try {
  5253. t1 = f.call$0();
  5254. return t1;
  5255. } finally {
  5256. $.Zone__current = old;
  5257. }
  5258. },
  5259. _rootRunUnary($self, $parent, zone, f, arg) {
  5260. var old,
  5261. t1 = $.Zone__current;
  5262. if (t1 === zone)
  5263. return f.call$1(arg);
  5264. $.Zone__current = zone;
  5265. old = t1;
  5266. try {
  5267. t1 = f.call$1(arg);
  5268. return t1;
  5269. } finally {
  5270. $.Zone__current = old;
  5271. }
  5272. },
  5273. _rootRunBinary($self, $parent, zone, f, arg1, arg2) {
  5274. var old,
  5275. t1 = $.Zone__current;
  5276. if (t1 === zone)
  5277. return f.call$2(arg1, arg2);
  5278. $.Zone__current = zone;
  5279. old = t1;
  5280. try {
  5281. t1 = f.call$2(arg1, arg2);
  5282. return t1;
  5283. } finally {
  5284. $.Zone__current = old;
  5285. }
  5286. },
  5287. _rootRegisterCallback($self, $parent, zone, f) {
  5288. return f;
  5289. },
  5290. _rootRegisterUnaryCallback($self, $parent, zone, f) {
  5291. return f;
  5292. },
  5293. _rootRegisterBinaryCallback($self, $parent, zone, f) {
  5294. return f;
  5295. },
  5296. _rootErrorCallback($self, $parent, zone, error, stackTrace) {
  5297. return null;
  5298. },
  5299. _rootScheduleMicrotask($self, $parent, zone, f) {
  5300. var t1, t2;
  5301. if (B.C__RootZone !== zone) {
  5302. t1 = B.C__RootZone.get$errorZone();
  5303. t2 = zone.get$errorZone();
  5304. f = t1 !== t2 ? zone.bindCallbackGuarded$1(f) : zone.bindCallback$1$1(f, type$.void);
  5305. }
  5306. A._scheduleAsyncCallback(f);
  5307. },
  5308. _rootCreateTimer($self, $parent, zone, duration, callback) {
  5309. return A.Timer__createTimer(duration, B.C__RootZone !== zone ? zone.bindCallback$1$1(callback, type$.void) : callback);
  5310. },
  5311. _rootCreatePeriodicTimer($self, $parent, zone, duration, callback) {
  5312. var milliseconds;
  5313. if (B.C__RootZone !== zone)
  5314. callback = zone.bindUnaryCallback$2$1(callback, type$.void, type$.Timer);
  5315. milliseconds = B.JSInt_methods._tdivFast$1(duration._duration, 1000);
  5316. return A._TimerImpl$periodic(milliseconds < 0 ? 0 : milliseconds, callback);
  5317. },
  5318. _rootPrint($self, $parent, zone, line) {
  5319. A.printString(line);
  5320. },
  5321. _printToZone(line) {
  5322. $.Zone__current.print$1(line);
  5323. },
  5324. _rootFork($self, $parent, zone, specification, zoneValues) {
  5325. var valueMap, t1, handleUncaughtError;
  5326. $.printToZone = A.async___printToZone$closure();
  5327. if (specification == null)
  5328. specification = B._ZoneSpecification_ALf;
  5329. if (zoneValues == null)
  5330. valueMap = zone.get$_async$_map();
  5331. else {
  5332. t1 = type$.nullable_Object;
  5333. valueMap = A.HashMap_HashMap$from(zoneValues, t1, t1);
  5334. }
  5335. 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);
  5336. handleUncaughtError = specification.handleUncaughtError;
  5337. if (handleUncaughtError != null)
  5338. t1._handleUncaughtError = new A._ZoneFunction(t1, handleUncaughtError);
  5339. return t1;
  5340. },
  5341. runZoned(body, zoneValues, $R) {
  5342. A.checkNotNullable(body, "body", $R._eval$1("0()"));
  5343. return A._runZoned(body, zoneValues, null, $R);
  5344. },
  5345. _runZoned(body, zoneValues, specification, $R) {
  5346. return $.Zone__current.fork$2$specification$zoneValues(specification, zoneValues).run$1$1(0, body, $R);
  5347. },
  5348. _AsyncRun__initializeScheduleImmediate_internalCallback: function _AsyncRun__initializeScheduleImmediate_internalCallback(t0) {
  5349. this._box_0 = t0;
  5350. },
  5351. _AsyncRun__initializeScheduleImmediate_closure: function _AsyncRun__initializeScheduleImmediate_closure(t0, t1, t2) {
  5352. this._box_0 = t0;
  5353. this.div = t1;
  5354. this.span = t2;
  5355. },
  5356. _AsyncRun__scheduleImmediateJsOverride_internalCallback: function _AsyncRun__scheduleImmediateJsOverride_internalCallback(t0) {
  5357. this.callback = t0;
  5358. },
  5359. _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: function _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(t0) {
  5360. this.callback = t0;
  5361. },
  5362. _TimerImpl: function _TimerImpl(t0) {
  5363. this._once = t0;
  5364. this._handle = null;
  5365. this._tick = 0;
  5366. },
  5367. _TimerImpl_internalCallback: function _TimerImpl_internalCallback(t0, t1) {
  5368. this.$this = t0;
  5369. this.callback = t1;
  5370. },
  5371. _TimerImpl$periodic_closure: function _TimerImpl$periodic_closure(t0, t1, t2, t3) {
  5372. var _ = this;
  5373. _.$this = t0;
  5374. _.milliseconds = t1;
  5375. _.start = t2;
  5376. _.callback = t3;
  5377. },
  5378. _AsyncAwaitCompleter: function _AsyncAwaitCompleter(t0, t1) {
  5379. this._future = t0;
  5380. this.isSync = false;
  5381. this.$ti = t1;
  5382. },
  5383. _awaitOnObject_closure: function _awaitOnObject_closure(t0) {
  5384. this.bodyFunction = t0;
  5385. },
  5386. _awaitOnObject_closure0: function _awaitOnObject_closure0(t0) {
  5387. this.bodyFunction = t0;
  5388. },
  5389. _wrapJsFunctionForAsync_closure: function _wrapJsFunctionForAsync_closure(t0) {
  5390. this.$protected = t0;
  5391. },
  5392. _SyncStarIterator: function _SyncStarIterator(t0) {
  5393. var _ = this;
  5394. _._body = t0;
  5395. _._suspendedBodies = _._nestedIterator = _._datum = _._async$_current = null;
  5396. },
  5397. _SyncStarIterable: function _SyncStarIterable(t0, t1) {
  5398. this._outerHelper = t0;
  5399. this.$ti = t1;
  5400. },
  5401. AsyncError: function AsyncError(t0, t1) {
  5402. this.error = t0;
  5403. this.stackTrace = t1;
  5404. },
  5405. Future_wait_handleError: function Future_wait_handleError(t0, t1, t2, t3, t4, t5) {
  5406. var _ = this;
  5407. _._box_0 = t0;
  5408. _.cleanUp = t1;
  5409. _.eagerError = t2;
  5410. _._future = t3;
  5411. _.error = t4;
  5412. _.stackTrace = t5;
  5413. },
  5414. Future_wait_closure: function Future_wait_closure(t0, t1, t2, t3, t4, t5, t6, t7) {
  5415. var _ = this;
  5416. _._box_0 = t0;
  5417. _.pos = t1;
  5418. _._future = t2;
  5419. _.cleanUp = t3;
  5420. _.eagerError = t4;
  5421. _.error = t5;
  5422. _.stackTrace = t6;
  5423. _.T = t7;
  5424. },
  5425. _Completer: function _Completer() {
  5426. },
  5427. _AsyncCompleter: function _AsyncCompleter(t0, t1) {
  5428. this.future = t0;
  5429. this.$ti = t1;
  5430. },
  5431. _SyncCompleter: function _SyncCompleter(t0, t1) {
  5432. this.future = t0;
  5433. this.$ti = t1;
  5434. },
  5435. _FutureListener: function _FutureListener(t0, t1, t2, t3, t4) {
  5436. var _ = this;
  5437. _._nextListener = null;
  5438. _.result = t0;
  5439. _.state = t1;
  5440. _.callback = t2;
  5441. _.errorCallback = t3;
  5442. _.$ti = t4;
  5443. },
  5444. _Future: function _Future(t0, t1) {
  5445. var _ = this;
  5446. _._state = 0;
  5447. _._zone = t0;
  5448. _._resultOrListeners = null;
  5449. _.$ti = t1;
  5450. },
  5451. _Future__addListener_closure: function _Future__addListener_closure(t0, t1) {
  5452. this.$this = t0;
  5453. this.listener = t1;
  5454. },
  5455. _Future__prependListeners_closure: function _Future__prependListeners_closure(t0, t1) {
  5456. this._box_0 = t0;
  5457. this.$this = t1;
  5458. },
  5459. _Future__chainForeignFuture_closure: function _Future__chainForeignFuture_closure(t0) {
  5460. this.$this = t0;
  5461. },
  5462. _Future__chainForeignFuture_closure0: function _Future__chainForeignFuture_closure0(t0) {
  5463. this.$this = t0;
  5464. },
  5465. _Future__chainForeignFuture_closure1: function _Future__chainForeignFuture_closure1(t0, t1, t2) {
  5466. this.$this = t0;
  5467. this.e = t1;
  5468. this.s = t2;
  5469. },
  5470. _Future__chainCoreFutureAsync_closure: function _Future__chainCoreFutureAsync_closure(t0, t1) {
  5471. this._box_0 = t0;
  5472. this.target = t1;
  5473. },
  5474. _Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) {
  5475. this.$this = t0;
  5476. this.value = t1;
  5477. },
  5478. _Future__asyncCompleteError_closure: function _Future__asyncCompleteError_closure(t0, t1, t2) {
  5479. this.$this = t0;
  5480. this.error = t1;
  5481. this.stackTrace = t2;
  5482. },
  5483. _Future__propagateToListeners_handleWhenCompleteCallback: function _Future__propagateToListeners_handleWhenCompleteCallback(t0, t1, t2) {
  5484. this._box_0 = t0;
  5485. this._box_1 = t1;
  5486. this.hasError = t2;
  5487. },
  5488. _Future__propagateToListeners_handleWhenCompleteCallback_closure: function _Future__propagateToListeners_handleWhenCompleteCallback_closure(t0) {
  5489. this.originalSource = t0;
  5490. },
  5491. _Future__propagateToListeners_handleValueCallback: function _Future__propagateToListeners_handleValueCallback(t0, t1) {
  5492. this._box_0 = t0;
  5493. this.sourceResult = t1;
  5494. },
  5495. _Future__propagateToListeners_handleError: function _Future__propagateToListeners_handleError(t0, t1) {
  5496. this._box_1 = t0;
  5497. this._box_0 = t1;
  5498. },
  5499. _AsyncCallbackEntry: function _AsyncCallbackEntry(t0) {
  5500. this.callback = t0;
  5501. this.next = null;
  5502. },
  5503. Stream: function Stream() {
  5504. },
  5505. Stream_Stream$fromFuture_closure: function Stream_Stream$fromFuture_closure(t0, t1) {
  5506. this.controller = t0;
  5507. this.T = t1;
  5508. },
  5509. Stream_Stream$fromFuture_closure0: function Stream_Stream$fromFuture_closure0(t0) {
  5510. this.controller = t0;
  5511. },
  5512. Stream_length_closure: function Stream_length_closure(t0, t1) {
  5513. this._box_0 = t0;
  5514. this.$this = t1;
  5515. },
  5516. Stream_length_closure0: function Stream_length_closure0(t0, t1) {
  5517. this._box_0 = t0;
  5518. this.future = t1;
  5519. },
  5520. _StreamController: function _StreamController() {
  5521. },
  5522. _StreamController__subscribe_closure: function _StreamController__subscribe_closure(t0) {
  5523. this.$this = t0;
  5524. },
  5525. _StreamController__recordCancel_complete: function _StreamController__recordCancel_complete(t0) {
  5526. this.$this = t0;
  5527. },
  5528. _SyncStreamControllerDispatch: function _SyncStreamControllerDispatch() {
  5529. },
  5530. _AsyncStreamControllerDispatch: function _AsyncStreamControllerDispatch() {
  5531. },
  5532. _AsyncStreamController: function _AsyncStreamController(t0, t1, t2, t3, t4) {
  5533. var _ = this;
  5534. _._varData = null;
  5535. _._state = 0;
  5536. _._doneFuture = null;
  5537. _.onListen = t0;
  5538. _.onPause = t1;
  5539. _.onResume = t2;
  5540. _.onCancel = t3;
  5541. _.$ti = t4;
  5542. },
  5543. _SyncStreamController: function _SyncStreamController(t0, t1, t2, t3, t4) {
  5544. var _ = this;
  5545. _._varData = null;
  5546. _._state = 0;
  5547. _._doneFuture = null;
  5548. _.onListen = t0;
  5549. _.onPause = t1;
  5550. _.onResume = t2;
  5551. _.onCancel = t3;
  5552. _.$ti = t4;
  5553. },
  5554. _ControllerStream: function _ControllerStream(t0, t1) {
  5555. this._controller = t0;
  5556. this.$ti = t1;
  5557. },
  5558. _ControllerSubscription: function _ControllerSubscription(t0, t1, t2, t3, t4, t5, t6) {
  5559. var _ = this;
  5560. _._controller = t0;
  5561. _._onData = t1;
  5562. _._onError = t2;
  5563. _._onDone = t3;
  5564. _._zone = t4;
  5565. _._state = t5;
  5566. _._pending = _._cancelFuture = null;
  5567. _.$ti = t6;
  5568. },
  5569. _AddStreamState: function _AddStreamState() {
  5570. },
  5571. _AddStreamState_makeErrorHandler_closure: function _AddStreamState_makeErrorHandler_closure(t0) {
  5572. this.controller = t0;
  5573. },
  5574. _AddStreamState_cancel_closure: function _AddStreamState_cancel_closure(t0) {
  5575. this.$this = t0;
  5576. },
  5577. _StreamControllerAddStreamState: function _StreamControllerAddStreamState(t0, t1, t2) {
  5578. this.varData = t0;
  5579. this.addStreamFuture = t1;
  5580. this.addSubscription = t2;
  5581. },
  5582. _BufferingStreamSubscription: function _BufferingStreamSubscription() {
  5583. },
  5584. _BufferingStreamSubscription__sendError_sendError: function _BufferingStreamSubscription__sendError_sendError(t0, t1, t2) {
  5585. this.$this = t0;
  5586. this.error = t1;
  5587. this.stackTrace = t2;
  5588. },
  5589. _BufferingStreamSubscription__sendDone_sendDone: function _BufferingStreamSubscription__sendDone_sendDone(t0) {
  5590. this.$this = t0;
  5591. },
  5592. _StreamImpl: function _StreamImpl() {
  5593. },
  5594. _DelayedEvent: function _DelayedEvent() {
  5595. },
  5596. _DelayedData: function _DelayedData(t0) {
  5597. this.value = t0;
  5598. this.next = null;
  5599. },
  5600. _DelayedError: function _DelayedError(t0, t1) {
  5601. this.error = t0;
  5602. this.stackTrace = t1;
  5603. this.next = null;
  5604. },
  5605. _DelayedDone: function _DelayedDone() {
  5606. },
  5607. _PendingEvents: function _PendingEvents() {
  5608. this._state = 0;
  5609. this.lastPendingEvent = this.firstPendingEvent = null;
  5610. },
  5611. _PendingEvents_schedule_closure: function _PendingEvents_schedule_closure(t0, t1) {
  5612. this.$this = t0;
  5613. this.dispatch = t1;
  5614. },
  5615. _StreamIterator: function _StreamIterator(t0) {
  5616. this._subscription = null;
  5617. this._stateData = t0;
  5618. this._async$_hasValue = false;
  5619. },
  5620. _ForwardingStream: function _ForwardingStream() {
  5621. },
  5622. _ForwardingStreamSubscription: function _ForwardingStreamSubscription(t0, t1, t2, t3, t4, t5, t6) {
  5623. var _ = this;
  5624. _._stream = t0;
  5625. _._subscription = null;
  5626. _._onData = t1;
  5627. _._onError = t2;
  5628. _._onDone = t3;
  5629. _._zone = t4;
  5630. _._state = t5;
  5631. _._pending = _._cancelFuture = null;
  5632. _.$ti = t6;
  5633. },
  5634. _ExpandStream: function _ExpandStream(t0, t1, t2) {
  5635. this._expand = t0;
  5636. this._async$_source = t1;
  5637. this.$ti = t2;
  5638. },
  5639. _ZoneFunction: function _ZoneFunction(t0, t1) {
  5640. this.zone = t0;
  5641. this.$function = t1;
  5642. },
  5643. _ZoneSpecification: function _ZoneSpecification(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
  5644. var _ = this;
  5645. _.handleUncaughtError = t0;
  5646. _.run = t1;
  5647. _.runUnary = t2;
  5648. _.runBinary = t3;
  5649. _.registerCallback = t4;
  5650. _.registerUnaryCallback = t5;
  5651. _.registerBinaryCallback = t6;
  5652. _.errorCallback = t7;
  5653. _.scheduleMicrotask = t8;
  5654. _.createTimer = t9;
  5655. _.createPeriodicTimer = t10;
  5656. _.print = t11;
  5657. _.fork = t12;
  5658. },
  5659. _ZoneDelegate: function _ZoneDelegate(t0) {
  5660. this._delegationTarget = t0;
  5661. },
  5662. _Zone: function _Zone() {
  5663. },
  5664. _CustomZone: function _CustomZone(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  5665. var _ = this;
  5666. _._run = t0;
  5667. _._runUnary = t1;
  5668. _._runBinary = t2;
  5669. _._registerCallback = t3;
  5670. _._registerUnaryCallback = t4;
  5671. _._registerBinaryCallback = t5;
  5672. _._errorCallback = t6;
  5673. _._scheduleMicrotask = t7;
  5674. _._createTimer = t8;
  5675. _._createPeriodicTimer = t9;
  5676. _._print = t10;
  5677. _._fork = t11;
  5678. _._handleUncaughtError = t12;
  5679. _._delegateCache = null;
  5680. _.parent = t13;
  5681. _._async$_map = t14;
  5682. },
  5683. _CustomZone_bindCallback_closure: function _CustomZone_bindCallback_closure(t0, t1, t2) {
  5684. this.$this = t0;
  5685. this.registered = t1;
  5686. this.R = t2;
  5687. },
  5688. _CustomZone_bindUnaryCallback_closure: function _CustomZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
  5689. var _ = this;
  5690. _.$this = t0;
  5691. _.registered = t1;
  5692. _.T = t2;
  5693. _.R = t3;
  5694. },
  5695. _CustomZone_bindCallbackGuarded_closure: function _CustomZone_bindCallbackGuarded_closure(t0, t1) {
  5696. this.$this = t0;
  5697. this.registered = t1;
  5698. },
  5699. _rootHandleError_closure: function _rootHandleError_closure(t0, t1) {
  5700. this.error = t0;
  5701. this.stackTrace = t1;
  5702. },
  5703. _RootZone: function _RootZone() {
  5704. },
  5705. _RootZone_bindCallback_closure: function _RootZone_bindCallback_closure(t0, t1, t2) {
  5706. this.$this = t0;
  5707. this.f = t1;
  5708. this.R = t2;
  5709. },
  5710. _RootZone_bindUnaryCallback_closure: function _RootZone_bindUnaryCallback_closure(t0, t1, t2, t3) {
  5711. var _ = this;
  5712. _.$this = t0;
  5713. _.f = t1;
  5714. _.T = t2;
  5715. _.R = t3;
  5716. },
  5717. _RootZone_bindCallbackGuarded_closure: function _RootZone_bindCallbackGuarded_closure(t0, t1) {
  5718. this.$this = t0;
  5719. this.f = t1;
  5720. },
  5721. HashMap_HashMap($K, $V) {
  5722. return new A._HashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("_HashMap<1,2>"));
  5723. },
  5724. _HashMap__getTableEntry(table, key) {
  5725. var entry = table[key];
  5726. return entry === table ? null : entry;
  5727. },
  5728. _HashMap__setTableEntry(table, key, value) {
  5729. if (value == null)
  5730. table[key] = table;
  5731. else
  5732. table[key] = value;
  5733. },
  5734. _HashMap__newHashTable() {
  5735. var table = Object.create(null);
  5736. A._HashMap__setTableEntry(table, "<non-identifier-key>", table);
  5737. delete table["<non-identifier-key>"];
  5738. return table;
  5739. },
  5740. LinkedHashMap_LinkedHashMap(equals, hashCode, isValidKey, $K, $V) {
  5741. if (isValidKey == null)
  5742. if (hashCode == null) {
  5743. if (equals == null)
  5744. return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
  5745. hashCode = A.collection___defaultHashCode$closure();
  5746. } else {
  5747. if (A.core__identityHashCode$closure() === hashCode && A.core__identical$closure() === equals)
  5748. return new A.JsIdentityLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsIdentityLinkedHashMap<1,2>"));
  5749. if (equals == null)
  5750. equals = A.collection___defaultEquals$closure();
  5751. }
  5752. else {
  5753. if (hashCode == null)
  5754. hashCode = A.collection___defaultHashCode$closure();
  5755. if (equals == null)
  5756. equals = A.collection___defaultEquals$closure();
  5757. }
  5758. return A._LinkedCustomHashMap$(equals, hashCode, isValidKey, $K, $V);
  5759. },
  5760. LinkedHashMap_LinkedHashMap$_literal(keyValuePairs, $K, $V) {
  5761. return A.fillLiteralMap(keyValuePairs, new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>")));
  5762. },
  5763. LinkedHashMap_LinkedHashMap$_empty($K, $V) {
  5764. return new A.JsLinkedHashMap($K._eval$1("@<0>")._bind$1($V)._eval$1("JsLinkedHashMap<1,2>"));
  5765. },
  5766. _LinkedCustomHashMap$(_equals, _hashCode, validKey, $K, $V) {
  5767. var t1 = validKey != null ? validKey : new A._LinkedCustomHashMap_closure($K);
  5768. return new A._LinkedCustomHashMap(_equals, _hashCode, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("_LinkedCustomHashMap<1,2>"));
  5769. },
  5770. LinkedHashSet_LinkedHashSet($E) {
  5771. return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
  5772. },
  5773. LinkedHashSet_LinkedHashSet$_empty($E) {
  5774. return new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>"));
  5775. },
  5776. LinkedHashSet_LinkedHashSet$_literal(values, $E) {
  5777. return A.fillLiteralSet(values, new A._LinkedHashSet($E._eval$1("_LinkedHashSet<0>")));
  5778. },
  5779. _LinkedHashSet__newHashTable() {
  5780. var table = Object.create(null);
  5781. table["<non-identifier-key>"] = table;
  5782. delete table["<non-identifier-key>"];
  5783. return table;
  5784. },
  5785. _LinkedHashSetIterator$(_set, _modifications) {
  5786. var t1 = new A._LinkedHashSetIterator(_set, _modifications);
  5787. t1._collection$_cell = _set._collection$_first;
  5788. return t1;
  5789. },
  5790. UnmodifiableListView$(source, $E) {
  5791. return new A.UnmodifiableListView(source, $E._eval$1("UnmodifiableListView<0>"));
  5792. },
  5793. _defaultEquals(a, b) {
  5794. return J.$eq$(a, b);
  5795. },
  5796. _defaultHashCode(a) {
  5797. return J.get$hashCode$(a);
  5798. },
  5799. HashMap_HashMap$from(other, $K, $V) {
  5800. var result = A.HashMap_HashMap($K, $V);
  5801. other.forEach$1(0, new A.HashMap_HashMap$from_closure(result, $K, $V));
  5802. return result;
  5803. },
  5804. LinkedHashMap_LinkedHashMap$from(other, $K, $V) {
  5805. var result = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
  5806. other.forEach$1(0, new A.LinkedHashMap_LinkedHashMap$from_closure(result, $K, $V));
  5807. return result;
  5808. },
  5809. LinkedHashMap_LinkedHashMap$of(other, $K, $V) {
  5810. var t1 = A.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V);
  5811. t1.addAll$1(0, other);
  5812. return t1;
  5813. },
  5814. LinkedHashSet_LinkedHashSet$from(elements, $E) {
  5815. var t1, _i,
  5816. result = A.LinkedHashSet_LinkedHashSet($E);
  5817. for (t1 = elements.length, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i)
  5818. result.add$1(0, $E._as(elements[_i]));
  5819. return result;
  5820. },
  5821. LinkedHashSet_LinkedHashSet$of(elements, $E) {
  5822. var t1 = A.LinkedHashSet_LinkedHashSet($E);
  5823. t1.addAll$1(0, elements);
  5824. return t1;
  5825. },
  5826. ListBase__compareAny(a, b) {
  5827. var t1 = type$.Comparable_dynamic;
  5828. return J.compareTo$1$ns(t1._as(a), t1._as(b));
  5829. },
  5830. MapBase_mapToString(m) {
  5831. var result, t1 = {};
  5832. if (A.isToStringVisiting(m))
  5833. return "{...}";
  5834. result = new A.StringBuffer("");
  5835. try {
  5836. $.toStringVisiting.push(m);
  5837. result._contents += "{";
  5838. t1.first = true;
  5839. m.forEach$1(0, new A.MapBase_mapToString_closure(t1, result));
  5840. result._contents += "}";
  5841. } finally {
  5842. $.toStringVisiting.pop();
  5843. }
  5844. t1 = result._contents;
  5845. return t1.charCodeAt(0) == 0 ? t1 : t1;
  5846. },
  5847. MapBase__fillMapWithIterables(map, keys, values) {
  5848. var keyIterator = keys.get$iterator(keys),
  5849. valueIterator = values.get$iterator(values),
  5850. hasNextKey = keyIterator.moveNext$0(),
  5851. hasNextValue = valueIterator.moveNext$0();
  5852. while (true) {
  5853. if (!(hasNextKey && hasNextValue))
  5854. break;
  5855. map.$indexSet(0, keyIterator.get$current(keyIterator), valueIterator.get$current(valueIterator));
  5856. hasNextKey = keyIterator.moveNext$0();
  5857. hasNextValue = valueIterator.moveNext$0();
  5858. }
  5859. if (hasNextKey || hasNextValue)
  5860. throw A.wrapException(A.ArgumentError$("Iterables do not have same length.", null));
  5861. },
  5862. ListQueue$($E) {
  5863. return new A.ListQueue(A.List_List$filled(A.ListQueue__calculateCapacity(null), null, false, $E._eval$1("0?")), $E._eval$1("ListQueue<0>"));
  5864. },
  5865. ListQueue__calculateCapacity(initialCapacity) {
  5866. return 8;
  5867. },
  5868. ListQueue__nextPowerOf2(number) {
  5869. var nextNumber;
  5870. number = (number << 1 >>> 0) - 1;
  5871. for (; true; number = nextNumber) {
  5872. nextNumber = (number & number - 1) >>> 0;
  5873. if (nextNumber === 0)
  5874. return number;
  5875. }
  5876. },
  5877. _ListQueueIterator$(queue) {
  5878. return new A._ListQueueIterator(queue, queue._tail, queue._modificationCount, queue._head);
  5879. },
  5880. _UnmodifiableSetMixin__throwUnmodifiable() {
  5881. throw A.wrapException(A.UnsupportedError$("Cannot change an unmodifiable set"));
  5882. },
  5883. _HashMap: function _HashMap(t0) {
  5884. var _ = this;
  5885. _._collection$_length = 0;
  5886. _._collection$_keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  5887. _.$ti = t0;
  5888. },
  5889. _HashMap_values_closure: function _HashMap_values_closure(t0) {
  5890. this.$this = t0;
  5891. },
  5892. _HashMap_addAll_closure: function _HashMap_addAll_closure(t0) {
  5893. this.$this = t0;
  5894. },
  5895. _IdentityHashMap: function _IdentityHashMap(t0) {
  5896. var _ = this;
  5897. _._collection$_length = 0;
  5898. _._collection$_keys = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  5899. _.$ti = t0;
  5900. },
  5901. _HashMapKeyIterable: function _HashMapKeyIterable(t0, t1) {
  5902. this._map = t0;
  5903. this.$ti = t1;
  5904. },
  5905. _HashMapKeyIterator: function _HashMapKeyIterator(t0, t1) {
  5906. var _ = this;
  5907. _._map = t0;
  5908. _._collection$_keys = t1;
  5909. _._offset = 0;
  5910. _._collection$_current = null;
  5911. },
  5912. _LinkedCustomHashMap: function _LinkedCustomHashMap(t0, t1, t2, t3) {
  5913. var _ = this;
  5914. _._equals = t0;
  5915. _._hashCode = t1;
  5916. _._validKey = t2;
  5917. _.__js_helper$_length = 0;
  5918. _._last = _._first = _.__js_helper$_rest = _._nums = _._strings = null;
  5919. _._modifications = 0;
  5920. _.$ti = t3;
  5921. },
  5922. _LinkedCustomHashMap_closure: function _LinkedCustomHashMap_closure(t0) {
  5923. this.K = t0;
  5924. },
  5925. _LinkedHashSet: function _LinkedHashSet(t0) {
  5926. var _ = this;
  5927. _._collection$_length = 0;
  5928. _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  5929. _._collection$_modifications = 0;
  5930. _.$ti = t0;
  5931. },
  5932. _LinkedIdentityHashSet: function _LinkedIdentityHashSet(t0) {
  5933. var _ = this;
  5934. _._collection$_length = 0;
  5935. _._collection$_last = _._collection$_first = _._collection$_rest = _._collection$_nums = _._collection$_strings = null;
  5936. _._collection$_modifications = 0;
  5937. _.$ti = t0;
  5938. },
  5939. _LinkedHashSetCell: function _LinkedHashSetCell(t0) {
  5940. this._element = t0;
  5941. this._collection$_previous = this._collection$_next = null;
  5942. },
  5943. _LinkedHashSetIterator: function _LinkedHashSetIterator(t0, t1) {
  5944. var _ = this;
  5945. _._set = t0;
  5946. _._collection$_modifications = t1;
  5947. _._collection$_current = _._collection$_cell = null;
  5948. },
  5949. UnmodifiableListView: function UnmodifiableListView(t0, t1) {
  5950. this._collection$_source = t0;
  5951. this.$ti = t1;
  5952. },
  5953. HashMap_HashMap$from_closure: function HashMap_HashMap$from_closure(t0, t1, t2) {
  5954. this.result = t0;
  5955. this.K = t1;
  5956. this.V = t2;
  5957. },
  5958. LinkedHashMap_LinkedHashMap$from_closure: function LinkedHashMap_LinkedHashMap$from_closure(t0, t1, t2) {
  5959. this.result = t0;
  5960. this.K = t1;
  5961. this.V = t2;
  5962. },
  5963. ListBase: function ListBase() {
  5964. },
  5965. MapBase: function MapBase() {
  5966. },
  5967. MapBase_addAll_closure: function MapBase_addAll_closure(t0) {
  5968. this.$this = t0;
  5969. },
  5970. MapBase_entries_closure: function MapBase_entries_closure(t0) {
  5971. this.$this = t0;
  5972. },
  5973. MapBase_mapToString_closure: function MapBase_mapToString_closure(t0, t1) {
  5974. this._box_0 = t0;
  5975. this.result = t1;
  5976. },
  5977. UnmodifiableMapBase: function UnmodifiableMapBase() {
  5978. },
  5979. _MapBaseValueIterable: function _MapBaseValueIterable(t0, t1) {
  5980. this._map = t0;
  5981. this.$ti = t1;
  5982. },
  5983. _MapBaseValueIterator: function _MapBaseValueIterator(t0, t1) {
  5984. this._collection$_keys = t0;
  5985. this._map = t1;
  5986. this._collection$_current = null;
  5987. },
  5988. _UnmodifiableMapMixin: function _UnmodifiableMapMixin() {
  5989. },
  5990. MapView: function MapView() {
  5991. },
  5992. UnmodifiableMapView: function UnmodifiableMapView(t0, t1) {
  5993. this._map = t0;
  5994. this.$ti = t1;
  5995. },
  5996. ListQueue: function ListQueue(t0, t1) {
  5997. var _ = this;
  5998. _._table = t0;
  5999. _._modificationCount = _._tail = _._head = 0;
  6000. _.$ti = t1;
  6001. },
  6002. _ListQueueIterator: function _ListQueueIterator(t0, t1, t2, t3) {
  6003. var _ = this;
  6004. _._queue = t0;
  6005. _._collection$_end = t1;
  6006. _._modificationCount = t2;
  6007. _._collection$_position = t3;
  6008. _._collection$_current = null;
  6009. },
  6010. SetBase: function SetBase() {
  6011. },
  6012. _SetBase: function _SetBase() {
  6013. },
  6014. _UnmodifiableSetMixin: function _UnmodifiableSetMixin() {
  6015. },
  6016. UnmodifiableSetView: function UnmodifiableSetView(t0, t1) {
  6017. this._collection$_source = t0;
  6018. this.$ti = t1;
  6019. },
  6020. _UnmodifiableMapView_MapView__UnmodifiableMapMixin: function _UnmodifiableMapView_MapView__UnmodifiableMapMixin() {
  6021. },
  6022. _UnmodifiableSetView_SetBase__UnmodifiableSetMixin: function _UnmodifiableSetView_SetBase__UnmodifiableSetMixin() {
  6023. },
  6024. Utf8Decoder__convertIntercepted(allowMalformed, codeUnits, start, end) {
  6025. var casted, result;
  6026. if (codeUnits instanceof Uint8Array) {
  6027. casted = codeUnits;
  6028. end = casted.length;
  6029. if (end - start < 15)
  6030. return null;
  6031. result = A.Utf8Decoder__convertInterceptedUint8List(allowMalformed, casted, start, end);
  6032. if (result != null && allowMalformed)
  6033. if (result.indexOf("\ufffd") >= 0)
  6034. return null;
  6035. return result;
  6036. }
  6037. return null;
  6038. },
  6039. Utf8Decoder__convertInterceptedUint8List(allowMalformed, codeUnits, start, end) {
  6040. var decoder = allowMalformed ? $.$get$Utf8Decoder__decoderNonfatal() : $.$get$Utf8Decoder__decoder();
  6041. if (decoder == null)
  6042. return null;
  6043. if (0 === start && end === codeUnits.length)
  6044. return A.Utf8Decoder__useTextDecoder(decoder, codeUnits);
  6045. return A.Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, A.RangeError_checkValidRange(start, end, codeUnits.length)));
  6046. },
  6047. Utf8Decoder__useTextDecoder(decoder, codeUnits) {
  6048. var t1, exception;
  6049. try {
  6050. t1 = decoder.decode(codeUnits);
  6051. return t1;
  6052. } catch (exception) {
  6053. }
  6054. return null;
  6055. },
  6056. Base64Codec__checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, $length) {
  6057. if (B.JSInt_methods.$mod($length, 4) !== 0)
  6058. throw A.wrapException(A.FormatException$("Invalid base64 padding, padded length must be multiple of four, is " + $length, source, sourceEnd));
  6059. if (firstPadding + paddingCount !== $length)
  6060. throw A.wrapException(A.FormatException$("Invalid base64 padding, '=' not at the end", source, sourceIndex));
  6061. if (paddingCount > 2)
  6062. throw A.wrapException(A.FormatException$("Invalid base64 padding, more than two '=' characters", source, sourceIndex));
  6063. },
  6064. _Base64Encoder_encodeChunk(alphabet, bytes, start, end, isLast, output, outputIndex, state) {
  6065. var t1, i, byteOr, byte, outputIndex0, outputIndex1,
  6066. bits = state >>> 2,
  6067. expectedChars = 3 - (state & 3);
  6068. for (t1 = J.getInterceptor$asx(bytes), i = start, byteOr = 0; i < end; ++i) {
  6069. byte = t1.$index(bytes, i);
  6070. byteOr = (byteOr | byte) >>> 0;
  6071. bits = (bits << 8 | byte) & 16777215;
  6072. --expectedChars;
  6073. if (expectedChars === 0) {
  6074. outputIndex0 = outputIndex + 1;
  6075. output[outputIndex] = alphabet.charCodeAt(bits >>> 18 & 63);
  6076. outputIndex = outputIndex0 + 1;
  6077. output[outputIndex0] = alphabet.charCodeAt(bits >>> 12 & 63);
  6078. outputIndex0 = outputIndex + 1;
  6079. output[outputIndex] = alphabet.charCodeAt(bits >>> 6 & 63);
  6080. outputIndex = outputIndex0 + 1;
  6081. output[outputIndex0] = alphabet.charCodeAt(bits & 63);
  6082. bits = 0;
  6083. expectedChars = 3;
  6084. }
  6085. }
  6086. if (byteOr >= 0 && byteOr <= 255) {
  6087. if (isLast && expectedChars < 3) {
  6088. outputIndex0 = outputIndex + 1;
  6089. outputIndex1 = outputIndex0 + 1;
  6090. if (3 - expectedChars === 1) {
  6091. output[outputIndex] = alphabet.charCodeAt(bits >>> 2 & 63);
  6092. output[outputIndex0] = alphabet.charCodeAt(bits << 4 & 63);
  6093. output[outputIndex1] = 61;
  6094. output[outputIndex1 + 1] = 61;
  6095. } else {
  6096. output[outputIndex] = alphabet.charCodeAt(bits >>> 10 & 63);
  6097. output[outputIndex0] = alphabet.charCodeAt(bits >>> 4 & 63);
  6098. output[outputIndex1] = alphabet.charCodeAt(bits << 2 & 63);
  6099. output[outputIndex1 + 1] = 61;
  6100. }
  6101. return 0;
  6102. }
  6103. return (bits << 2 | 3 - expectedChars) >>> 0;
  6104. }
  6105. for (i = start; i < end;) {
  6106. byte = t1.$index(bytes, i);
  6107. if (byte < 0 || byte > 255)
  6108. break;
  6109. ++i;
  6110. }
  6111. 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));
  6112. },
  6113. JsonUnsupportedObjectError$(unsupportedObject, cause, partialResult) {
  6114. return new A.JsonUnsupportedObjectError(unsupportedObject, cause);
  6115. },
  6116. _defaultToEncodable(object) {
  6117. return object.toJson$0();
  6118. },
  6119. _JsonStringStringifier$(_sink, _toEncodable) {
  6120. return new A._JsonStringStringifier(_sink, [], A.convert___defaultToEncodable$closure());
  6121. },
  6122. _JsonStringStringifier_stringify(object, toEncodable, indent) {
  6123. var t1,
  6124. output = new A.StringBuffer(""),
  6125. stringifier = A._JsonStringStringifier$(output, toEncodable);
  6126. stringifier.writeObject$1(object);
  6127. t1 = output._contents;
  6128. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6129. },
  6130. _Utf8Decoder_errorDescription(state) {
  6131. switch (state) {
  6132. case 65:
  6133. return "Missing extension byte";
  6134. case 67:
  6135. return "Unexpected extension byte";
  6136. case 69:
  6137. return "Invalid UTF-8 byte";
  6138. case 71:
  6139. return "Overlong encoding";
  6140. case 73:
  6141. return "Out of unicode range";
  6142. case 75:
  6143. return "Encoded surrogate";
  6144. case 77:
  6145. return "Unfinished UTF-8 octet sequence";
  6146. default:
  6147. return "";
  6148. }
  6149. },
  6150. _Utf8Decoder__makeUint8List(codeUnits, start, end) {
  6151. var t1, i, b,
  6152. $length = end - start,
  6153. bytes = new Uint8Array($length);
  6154. for (t1 = J.getInterceptor$asx(codeUnits), i = 0; i < $length; ++i) {
  6155. b = t1.$index(codeUnits, start + i);
  6156. bytes[i] = (b & 4294967040) >>> 0 !== 0 ? 255 : b;
  6157. }
  6158. return bytes;
  6159. },
  6160. Utf8Decoder__decoder_closure: function Utf8Decoder__decoder_closure() {
  6161. },
  6162. Utf8Decoder__decoderNonfatal_closure: function Utf8Decoder__decoderNonfatal_closure() {
  6163. },
  6164. AsciiCodec: function AsciiCodec() {
  6165. },
  6166. _UnicodeSubsetEncoder: function _UnicodeSubsetEncoder() {
  6167. },
  6168. AsciiEncoder: function AsciiEncoder(t0) {
  6169. this._subsetMask = t0;
  6170. },
  6171. Base64Codec: function Base64Codec() {
  6172. },
  6173. Base64Encoder: function Base64Encoder() {
  6174. },
  6175. _Base64Encoder: function _Base64Encoder(t0) {
  6176. this._convert$_state = 0;
  6177. this._alphabet = t0;
  6178. },
  6179. _Base64EncoderSink: function _Base64EncoderSink() {
  6180. },
  6181. _Utf8Base64EncoderSink: function _Utf8Base64EncoderSink(t0, t1) {
  6182. this._sink = t0;
  6183. this._encoder = t1;
  6184. },
  6185. ByteConversionSink: function ByteConversionSink() {
  6186. },
  6187. Codec: function Codec() {
  6188. },
  6189. Converter: function Converter() {
  6190. },
  6191. Encoding: function Encoding() {
  6192. },
  6193. JsonUnsupportedObjectError: function JsonUnsupportedObjectError(t0, t1) {
  6194. this.unsupportedObject = t0;
  6195. this.cause = t1;
  6196. },
  6197. JsonCyclicError: function JsonCyclicError(t0, t1) {
  6198. this.unsupportedObject = t0;
  6199. this.cause = t1;
  6200. },
  6201. JsonCodec: function JsonCodec() {
  6202. },
  6203. JsonEncoder: function JsonEncoder(t0) {
  6204. this._toEncodable = t0;
  6205. },
  6206. _JsonStringifier: function _JsonStringifier() {
  6207. },
  6208. _JsonStringifier_writeMap_closure: function _JsonStringifier_writeMap_closure(t0, t1) {
  6209. this._box_0 = t0;
  6210. this.keyValueList = t1;
  6211. },
  6212. _JsonStringStringifier: function _JsonStringStringifier(t0, t1, t2) {
  6213. this._sink = t0;
  6214. this._seen = t1;
  6215. this._toEncodable = t2;
  6216. },
  6217. StringConversionSink: function StringConversionSink() {
  6218. },
  6219. _StringSinkConversionSink: function _StringSinkConversionSink(t0) {
  6220. this._stringSink = t0;
  6221. },
  6222. _StringCallbackSink: function _StringCallbackSink(t0, t1) {
  6223. this._convert$_callback = t0;
  6224. this._stringSink = t1;
  6225. },
  6226. _Utf8StringSinkAdapter: function _Utf8StringSinkAdapter(t0, t1, t2) {
  6227. this._decoder = t0;
  6228. this._sink = t1;
  6229. this._stringSink = t2;
  6230. },
  6231. Utf8Codec: function Utf8Codec() {
  6232. },
  6233. Utf8Encoder: function Utf8Encoder() {
  6234. },
  6235. _Utf8Encoder: function _Utf8Encoder(t0) {
  6236. this._bufferIndex = 0;
  6237. this._buffer = t0;
  6238. },
  6239. Utf8Decoder: function Utf8Decoder(t0) {
  6240. this._allowMalformed = t0;
  6241. },
  6242. _Utf8Decoder: function _Utf8Decoder(t0) {
  6243. this.allowMalformed = t0;
  6244. this._convert$_state = 16;
  6245. this._charOrIndex = 0;
  6246. },
  6247. identityHashCode(object) {
  6248. return A.objectHashCode(object);
  6249. },
  6250. Function_apply($function, positionalArguments) {
  6251. return A.Primitives_applyFunction($function, positionalArguments, null);
  6252. },
  6253. Expando$() {
  6254. return new A.Expando(new WeakMap());
  6255. },
  6256. Expando__checkType(object) {
  6257. if (A._isBool(object) || typeof object == "number" || typeof object == "string" || object instanceof A._Record)
  6258. A.Expando__badExpandoKey(object);
  6259. },
  6260. Expando__badExpandoKey(object) {
  6261. throw A.wrapException(A.ArgumentError$value(object, "object", "Expandos are not allowed on strings, numbers, bools, records or null"));
  6262. },
  6263. int_parse(source, radix) {
  6264. var value = A.Primitives_parseInt(source, radix);
  6265. if (value != null)
  6266. return value;
  6267. throw A.wrapException(A.FormatException$(source, null, null));
  6268. },
  6269. double_parse(source) {
  6270. var value = A.Primitives_parseDouble(source);
  6271. if (value != null)
  6272. return value;
  6273. throw A.wrapException(A.FormatException$("Invalid double", source, null));
  6274. },
  6275. Error__throw(error, stackTrace) {
  6276. error = A.wrapException(error);
  6277. error.stack = stackTrace.toString$0(0);
  6278. throw error;
  6279. throw A.wrapException("unreachable");
  6280. },
  6281. List_List$filled($length, fill, growable, $E) {
  6282. var i,
  6283. result = growable ? J.JSArray_JSArray$growable($length, $E) : J.JSArray_JSArray$fixed($length, $E);
  6284. if ($length !== 0 && fill != null)
  6285. for (i = 0; i < result.length; ++i)
  6286. result[i] = fill;
  6287. return result;
  6288. },
  6289. List_List$from(elements, growable, $E) {
  6290. var t1,
  6291. list = A._setArrayType([], $E._eval$1("JSArray<0>"));
  6292. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  6293. list.push(t1.get$current(t1));
  6294. if (growable)
  6295. return list;
  6296. return J.JSArray_markFixedList(list);
  6297. },
  6298. List_List$of(elements, growable, $E) {
  6299. var t1;
  6300. if (growable)
  6301. return A.List_List$_of(elements, $E);
  6302. t1 = J.JSArray_markFixedList(A.List_List$_of(elements, $E));
  6303. return t1;
  6304. },
  6305. List_List$_of(elements, $E) {
  6306. var list, t1;
  6307. if (Array.isArray(elements))
  6308. return A._setArrayType(elements.slice(0), $E._eval$1("JSArray<0>"));
  6309. list = A._setArrayType([], $E._eval$1("JSArray<0>"));
  6310. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  6311. list.push(t1.get$current(t1));
  6312. return list;
  6313. },
  6314. List_List$unmodifiable(elements, $E) {
  6315. return J.JSArray_markUnmodifiableList(A.List_List$from(elements, false, $E));
  6316. },
  6317. String_String$fromCharCodes(charCodes, start, end) {
  6318. var array, len;
  6319. if (Array.isArray(charCodes)) {
  6320. array = charCodes;
  6321. len = array.length;
  6322. end = A.RangeError_checkValidRange(start, end, len);
  6323. return A.Primitives_stringFromCharCodes(start > 0 || end < len ? array.slice(start, end) : array);
  6324. }
  6325. if (type$.NativeUint8List._is(charCodes))
  6326. return A.Primitives_stringFromNativeUint8List(charCodes, start, A.RangeError_checkValidRange(start, end, charCodes.length));
  6327. return A.String__stringFromIterable(charCodes, start, end);
  6328. },
  6329. String_String$fromCharCode(charCode) {
  6330. return A.Primitives_stringFromCharCode(charCode);
  6331. },
  6332. String__stringFromIterable(charCodes, start, end) {
  6333. var t1, it, i, list, _null = null;
  6334. if (start < 0)
  6335. throw A.wrapException(A.RangeError$range(start, 0, J.get$length$asx(charCodes), _null, _null));
  6336. t1 = end == null;
  6337. if (!t1 && end < start)
  6338. throw A.wrapException(A.RangeError$range(end, start, J.get$length$asx(charCodes), _null, _null));
  6339. it = J.get$iterator$ax(charCodes);
  6340. for (i = 0; i < start; ++i)
  6341. if (!it.moveNext$0())
  6342. throw A.wrapException(A.RangeError$range(start, 0, i, _null, _null));
  6343. list = [];
  6344. if (t1)
  6345. for (; it.moveNext$0();)
  6346. list.push(it.get$current(it));
  6347. else
  6348. for (i = start; i < end; ++i) {
  6349. if (!it.moveNext$0())
  6350. throw A.wrapException(A.RangeError$range(end, start, i, _null, _null));
  6351. list.push(it.get$current(it));
  6352. }
  6353. return A.Primitives_stringFromCharCodes(list);
  6354. },
  6355. RegExp_RegExp(source, multiLine) {
  6356. return new A.JSSyntaxRegExp(source, A.JSSyntaxRegExp_makeNative(source, multiLine, true, false, false, false));
  6357. },
  6358. identical(a, b) {
  6359. return a == null ? b == null : a === b;
  6360. },
  6361. StringBuffer__writeAll(string, objects, separator) {
  6362. var iterator = J.get$iterator$ax(objects);
  6363. if (!iterator.moveNext$0())
  6364. return string;
  6365. if (separator.length === 0) {
  6366. do
  6367. string += A.S(iterator.get$current(iterator));
  6368. while (iterator.moveNext$0());
  6369. } else {
  6370. string += A.S(iterator.get$current(iterator));
  6371. for (; iterator.moveNext$0();)
  6372. string = string + separator + A.S(iterator.get$current(iterator));
  6373. }
  6374. return string;
  6375. },
  6376. NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, invocation) {
  6377. return new A.NoSuchMethodError(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments());
  6378. },
  6379. Uri_base() {
  6380. var cachedUri, uri,
  6381. current = A.Primitives_currentUri();
  6382. if (current == null)
  6383. throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported"));
  6384. cachedUri = $.Uri__cachedBaseUri;
  6385. if (cachedUri != null && current === $.Uri__cachedBaseString)
  6386. return cachedUri;
  6387. uri = A.Uri_parse(current);
  6388. $.Uri__cachedBaseUri = uri;
  6389. $.Uri__cachedBaseString = current;
  6390. return uri;
  6391. },
  6392. _Uri__uriEncode(canonicalTable, text, encoding, spaceToPlus) {
  6393. var t1, bytes, i, t2, byte,
  6394. _s16_ = "0123456789ABCDEF";
  6395. if (encoding === B.C_Utf8Codec) {
  6396. t1 = $.$get$_Uri__needsNoEncoding();
  6397. t1 = t1._nativeRegExp.test(text);
  6398. } else
  6399. t1 = false;
  6400. if (t1)
  6401. return text;
  6402. bytes = B.C_Utf8Encoder.convert$1(text);
  6403. for (t1 = bytes.length, i = 0, t2 = ""; i < t1; ++i) {
  6404. byte = bytes[i];
  6405. if (byte < 128 && (canonicalTable[byte >>> 4] & 1 << (byte & 15)) !== 0)
  6406. t2 += A.Primitives_stringFromCharCode(byte);
  6407. else
  6408. t2 = spaceToPlus && byte === 32 ? t2 + "+" : t2 + "%" + _s16_[byte >>> 4 & 15] + _s16_[byte & 15];
  6409. }
  6410. return t2.charCodeAt(0) == 0 ? t2 : t2;
  6411. },
  6412. StackTrace_current() {
  6413. return A.getTraceFromException(new Error());
  6414. },
  6415. DateTime__fourDigits(n) {
  6416. var absN = Math.abs(n),
  6417. sign = n < 0 ? "-" : "";
  6418. if (absN >= 1000)
  6419. return "" + n;
  6420. if (absN >= 100)
  6421. return sign + "0" + absN;
  6422. if (absN >= 10)
  6423. return sign + "00" + absN;
  6424. return sign + "000" + absN;
  6425. },
  6426. DateTime__threeDigits(n) {
  6427. if (n >= 100)
  6428. return "" + n;
  6429. if (n >= 10)
  6430. return "0" + n;
  6431. return "00" + n;
  6432. },
  6433. DateTime__twoDigits(n) {
  6434. if (n >= 10)
  6435. return "" + n;
  6436. return "0" + n;
  6437. },
  6438. Duration$(milliseconds) {
  6439. return new A.Duration(1000 * milliseconds);
  6440. },
  6441. Error_safeToString(object) {
  6442. if (typeof object == "number" || A._isBool(object) || object == null)
  6443. return J.toString$0$(object);
  6444. if (typeof object == "string")
  6445. return JSON.stringify(object);
  6446. return A.Primitives_safeToString(object);
  6447. },
  6448. Error_throwWithStackTrace(error, stackTrace) {
  6449. A.checkNotNullable(error, "error", type$.Object);
  6450. A.checkNotNullable(stackTrace, "stackTrace", type$.StackTrace);
  6451. A.Error__throw(error, stackTrace);
  6452. },
  6453. AssertionError$(message) {
  6454. return new A.AssertionError(message);
  6455. },
  6456. ArgumentError$(message, $name) {
  6457. return new A.ArgumentError(false, null, $name, message);
  6458. },
  6459. ArgumentError$value(value, $name, message) {
  6460. return new A.ArgumentError(true, value, $name, message);
  6461. },
  6462. ArgumentError_checkNotNull(argument, $name) {
  6463. return argument;
  6464. },
  6465. RangeError$(message) {
  6466. var _null = null;
  6467. return new A.RangeError(_null, _null, false, _null, _null, message);
  6468. },
  6469. RangeError$value(value, $name, message) {
  6470. return new A.RangeError(null, null, true, value, $name, message == null ? "Value not in range" : message);
  6471. },
  6472. RangeError$range(invalidValue, minValue, maxValue, $name, message) {
  6473. return new A.RangeError(minValue, maxValue, true, invalidValue, $name, message == null ? "Invalid value" : message);
  6474. },
  6475. RangeError_checkValueInInterval(value, minValue, maxValue, $name) {
  6476. if (value < minValue || value > maxValue)
  6477. throw A.wrapException(A.RangeError$range(value, minValue, maxValue, $name, null));
  6478. return value;
  6479. },
  6480. RangeError_checkValidRange(start, end, $length) {
  6481. if (0 > start || start > $length)
  6482. throw A.wrapException(A.RangeError$range(start, 0, $length, "start", null));
  6483. if (end != null) {
  6484. if (start > end || end > $length)
  6485. throw A.wrapException(A.RangeError$range(end, start, $length, "end", null));
  6486. return end;
  6487. }
  6488. return $length;
  6489. },
  6490. RangeError_checkNotNegative(value, $name) {
  6491. if (value < 0)
  6492. throw A.wrapException(A.RangeError$range(value, 0, null, $name, null));
  6493. return value;
  6494. },
  6495. IndexError$withLength(invalidValue, $length, indexable, message, $name) {
  6496. return new A.IndexError($length, true, invalidValue, $name, "Index out of range");
  6497. },
  6498. IndexError_check(index, $length, indexable, message, $name) {
  6499. if (0 > index || index >= $length)
  6500. throw A.wrapException(A.IndexError$withLength(index, $length, indexable, message, $name == null ? "index" : $name));
  6501. return index;
  6502. },
  6503. UnsupportedError$(message) {
  6504. return new A.UnsupportedError(message);
  6505. },
  6506. UnimplementedError$(message) {
  6507. return new A.UnimplementedError(message);
  6508. },
  6509. StateError$(message) {
  6510. return new A.StateError(message);
  6511. },
  6512. ConcurrentModificationError$(modifiedObject) {
  6513. return new A.ConcurrentModificationError(modifiedObject);
  6514. },
  6515. FormatException$(message, source, offset) {
  6516. return new A.FormatException(message, source, offset);
  6517. },
  6518. Iterable_Iterable$generate(count, generator, $E) {
  6519. if (count <= 0)
  6520. return new A.EmptyIterable($E._eval$1("EmptyIterable<0>"));
  6521. return new A._GeneratorIterable(count, generator, $E._eval$1("_GeneratorIterable<0>"));
  6522. },
  6523. Iterable_iterableToShortString(iterable, leftDelimiter, rightDelimiter) {
  6524. var parts, t1;
  6525. if (A.isToStringVisiting(iterable)) {
  6526. if (leftDelimiter === "(" && rightDelimiter === ")")
  6527. return "(...)";
  6528. return leftDelimiter + "..." + rightDelimiter;
  6529. }
  6530. parts = A._setArrayType([], type$.JSArray_String);
  6531. $.toStringVisiting.push(iterable);
  6532. try {
  6533. A._iterablePartsToStrings(iterable, parts);
  6534. } finally {
  6535. $.toStringVisiting.pop();
  6536. }
  6537. t1 = A.StringBuffer__writeAll(leftDelimiter, parts, ", ") + rightDelimiter;
  6538. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6539. },
  6540. Iterable_iterableToFullString(iterable, leftDelimiter, rightDelimiter) {
  6541. var buffer, t1;
  6542. if (A.isToStringVisiting(iterable))
  6543. return leftDelimiter + "..." + rightDelimiter;
  6544. buffer = new A.StringBuffer(leftDelimiter);
  6545. $.toStringVisiting.push(iterable);
  6546. try {
  6547. t1 = buffer;
  6548. t1._contents = A.StringBuffer__writeAll(t1._contents, iterable, ", ");
  6549. } finally {
  6550. $.toStringVisiting.pop();
  6551. }
  6552. buffer._contents += rightDelimiter;
  6553. t1 = buffer._contents;
  6554. return t1.charCodeAt(0) == 0 ? t1 : t1;
  6555. },
  6556. _iterablePartsToStrings(iterable, parts) {
  6557. var next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision,
  6558. it = iterable.get$iterator(iterable),
  6559. $length = 0, count = 0;
  6560. while (true) {
  6561. if (!($length < 80 || count < 3))
  6562. break;
  6563. if (!it.moveNext$0())
  6564. return;
  6565. next = A.S(it.get$current(it));
  6566. parts.push(next);
  6567. $length += next.length + 2;
  6568. ++count;
  6569. }
  6570. if (!it.moveNext$0()) {
  6571. if (count <= 5)
  6572. return;
  6573. ultimateString = parts.pop();
  6574. penultimateString = parts.pop();
  6575. } else {
  6576. penultimate = it.get$current(it);
  6577. ++count;
  6578. if (!it.moveNext$0()) {
  6579. if (count <= 4) {
  6580. parts.push(A.S(penultimate));
  6581. return;
  6582. }
  6583. ultimateString = A.S(penultimate);
  6584. penultimateString = parts.pop();
  6585. $length += ultimateString.length + 2;
  6586. } else {
  6587. ultimate = it.get$current(it);
  6588. ++count;
  6589. for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) {
  6590. ultimate0 = it.get$current(it);
  6591. ++count;
  6592. if (count > 100) {
  6593. while (true) {
  6594. if (!($length > 75 && count > 3))
  6595. break;
  6596. $length -= parts.pop().length + 2;
  6597. --count;
  6598. }
  6599. parts.push("...");
  6600. return;
  6601. }
  6602. }
  6603. penultimateString = A.S(penultimate);
  6604. ultimateString = A.S(ultimate);
  6605. $length += ultimateString.length + penultimateString.length + 4;
  6606. }
  6607. }
  6608. if (count > parts.length + 2) {
  6609. $length += 5;
  6610. elision = "...";
  6611. } else
  6612. elision = null;
  6613. while (true) {
  6614. if (!($length > 80 && parts.length > 3))
  6615. break;
  6616. $length -= parts.pop().length + 2;
  6617. if (elision == null) {
  6618. $length += 5;
  6619. elision = "...";
  6620. }
  6621. }
  6622. if (elision != null)
  6623. parts.push(elision);
  6624. parts.push(penultimateString);
  6625. parts.push(ultimateString);
  6626. },
  6627. Map_castFrom(source, $K, $V, K2, V2) {
  6628. 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>"));
  6629. },
  6630. Object_hash(object1, object2, object3, object4) {
  6631. var t1;
  6632. if (B.C_SentinelValue === object3) {
  6633. t1 = J.get$hashCode$(object1);
  6634. object2 = J.get$hashCode$(object2);
  6635. return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2));
  6636. }
  6637. if (B.C_SentinelValue === object4) {
  6638. t1 = J.get$hashCode$(object1);
  6639. object2 = J.get$hashCode$(object2);
  6640. object3 = J.get$hashCode$(object3);
  6641. return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3));
  6642. }
  6643. t1 = J.get$hashCode$(object1);
  6644. object2 = J.get$hashCode$(object2);
  6645. object3 = J.get$hashCode$(object3);
  6646. object4 = J.get$hashCode$(object4);
  6647. object4 = A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine($.$get$_hashSeed(), t1), object2), object3), object4));
  6648. return object4;
  6649. },
  6650. Object_hashAll(objects) {
  6651. var t1, _i,
  6652. hash = $.$get$_hashSeed();
  6653. for (t1 = objects.length, _i = 0; _i < objects.length; objects.length === t1 || (0, A.throwConcurrentModificationError)(objects), ++_i)
  6654. hash = A.SystemHash_combine(hash, J.get$hashCode$(objects[_i]));
  6655. return A.SystemHash_finish(hash);
  6656. },
  6657. print(object) {
  6658. var line = A.S(object),
  6659. toZone = $.printToZone;
  6660. if (toZone == null)
  6661. A.printString(line);
  6662. else
  6663. toZone.call$1(line);
  6664. },
  6665. Set_Set$unmodifiable(elements, $E) {
  6666. return new A.UnmodifiableSetView(A.LinkedHashSet_LinkedHashSet$of(elements, $E), $E._eval$1("UnmodifiableSetView<0>"));
  6667. },
  6668. Set_castFrom(source, newSet, $S, $T) {
  6669. return new A.CastSet(source, newSet, $S._eval$1("@<0>")._bind$1($T)._eval$1("CastSet<1,2>"));
  6670. },
  6671. _combineSurrogatePair(start, end) {
  6672. return 65536 + ((start & 1023) << 10) + (end & 1023);
  6673. },
  6674. Uri_Uri$dataFromString($content, encoding, mimeType) {
  6675. var encodingName, t1,
  6676. buffer = new A.StringBuffer(""),
  6677. indices = A._setArrayType([-1], type$.JSArray_int);
  6678. if (encoding == null)
  6679. encodingName = null;
  6680. else
  6681. encodingName = "utf-8";
  6682. if (encoding == null)
  6683. encoding = B.C_AsciiCodec;
  6684. A.UriData__writeUri(mimeType, encodingName, null, buffer, indices);
  6685. indices.push(buffer._contents.length);
  6686. buffer._contents += ",";
  6687. A.UriData__uriEncodeBytes(B.List_oFp, encoding.encode$1($content), buffer);
  6688. t1 = buffer._contents;
  6689. return new A.UriData(t1.charCodeAt(0) == 0 ? t1 : t1, indices, null).get$uri();
  6690. },
  6691. Uri_parse(uri) {
  6692. 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,
  6693. end = uri.length;
  6694. if (end >= 5) {
  6695. delta = ((uri.charCodeAt(4) ^ 58) * 3 | uri.charCodeAt(0) ^ 100 | uri.charCodeAt(1) ^ 97 | uri.charCodeAt(2) ^ 116 | uri.charCodeAt(3) ^ 97) >>> 0;
  6696. if (delta === 0)
  6697. return A.UriData__parse(end < end ? B.JSString_methods.substring$2(uri, 0, end) : uri, 5, _null).get$uri();
  6698. else if (delta === 32)
  6699. return A.UriData__parse(B.JSString_methods.substring$2(uri, 5, end), 0, _null).get$uri();
  6700. }
  6701. indices = A.List_List$filled(8, 0, false, type$.int);
  6702. indices[0] = 0;
  6703. indices[1] = -1;
  6704. indices[2] = -1;
  6705. indices[7] = -1;
  6706. indices[3] = 0;
  6707. indices[4] = 0;
  6708. indices[5] = end;
  6709. indices[6] = end;
  6710. if (A._scan(uri, 0, end, 0, indices) >= 14)
  6711. indices[7] = end;
  6712. schemeEnd = indices[1];
  6713. if (schemeEnd >= 0)
  6714. if (A._scan(uri, 0, schemeEnd, 20, indices) === 20)
  6715. indices[7] = schemeEnd;
  6716. hostStart = indices[2] + 1;
  6717. portStart = indices[3];
  6718. pathStart = indices[4];
  6719. queryStart = indices[5];
  6720. fragmentStart = indices[6];
  6721. if (fragmentStart < queryStart)
  6722. queryStart = fragmentStart;
  6723. if (pathStart < hostStart)
  6724. pathStart = queryStart;
  6725. else if (pathStart <= schemeEnd)
  6726. pathStart = schemeEnd + 1;
  6727. if (portStart < hostStart)
  6728. portStart = pathStart;
  6729. isSimple = indices[7] < 0;
  6730. if (isSimple)
  6731. if (hostStart > schemeEnd + 3) {
  6732. scheme = _null;
  6733. isSimple = false;
  6734. } else {
  6735. t1 = portStart > 0;
  6736. if (t1 && portStart + 1 === pathStart) {
  6737. scheme = _null;
  6738. isSimple = false;
  6739. } else {
  6740. if (!B.JSString_methods.startsWith$2(uri, "\\", pathStart))
  6741. if (hostStart > 0)
  6742. t2 = B.JSString_methods.startsWith$2(uri, "\\", hostStart - 1) || B.JSString_methods.startsWith$2(uri, "\\", hostStart - 2);
  6743. else
  6744. t2 = false;
  6745. else
  6746. t2 = true;
  6747. if (t2) {
  6748. scheme = _null;
  6749. isSimple = false;
  6750. } else {
  6751. if (!(queryStart < end && queryStart === pathStart + 2 && B.JSString_methods.startsWith$2(uri, "..", pathStart)))
  6752. t2 = queryStart > pathStart + 2 && B.JSString_methods.startsWith$2(uri, "/..", queryStart - 3);
  6753. else
  6754. t2 = true;
  6755. if (t2) {
  6756. scheme = _null;
  6757. isSimple = false;
  6758. } else {
  6759. if (schemeEnd === 4)
  6760. if (B.JSString_methods.startsWith$2(uri, "file", 0)) {
  6761. if (hostStart <= 0) {
  6762. if (!B.JSString_methods.startsWith$2(uri, "/", pathStart)) {
  6763. schemeAuth = "file:///";
  6764. delta = 3;
  6765. } else {
  6766. schemeAuth = "file://";
  6767. delta = 2;
  6768. }
  6769. uri = schemeAuth + B.JSString_methods.substring$2(uri, pathStart, end);
  6770. schemeEnd -= 0;
  6771. t1 = delta - 0;
  6772. queryStart += t1;
  6773. fragmentStart += t1;
  6774. end = uri.length;
  6775. hostStart = 7;
  6776. portStart = 7;
  6777. pathStart = 7;
  6778. } else if (pathStart === queryStart) {
  6779. ++fragmentStart;
  6780. queryStart0 = queryStart + 1;
  6781. uri = B.JSString_methods.replaceRange$3(uri, pathStart, queryStart, "/");
  6782. ++end;
  6783. queryStart = queryStart0;
  6784. }
  6785. scheme = "file";
  6786. } else if (B.JSString_methods.startsWith$2(uri, "http", 0)) {
  6787. if (t1 && portStart + 3 === pathStart && B.JSString_methods.startsWith$2(uri, "80", portStart + 1)) {
  6788. fragmentStart -= 3;
  6789. pathStart0 = pathStart - 3;
  6790. queryStart -= 3;
  6791. uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
  6792. end -= 3;
  6793. pathStart = pathStart0;
  6794. }
  6795. scheme = "http";
  6796. } else
  6797. scheme = _null;
  6798. else if (schemeEnd === 5 && B.JSString_methods.startsWith$2(uri, "https", 0)) {
  6799. if (t1 && portStart + 4 === pathStart && B.JSString_methods.startsWith$2(uri, "443", portStart + 1)) {
  6800. fragmentStart -= 4;
  6801. pathStart0 = pathStart - 4;
  6802. queryStart -= 4;
  6803. uri = B.JSString_methods.replaceRange$3(uri, portStart, pathStart, "");
  6804. end -= 3;
  6805. pathStart = pathStart0;
  6806. }
  6807. scheme = "https";
  6808. } else
  6809. scheme = _null;
  6810. isSimple = true;
  6811. }
  6812. }
  6813. }
  6814. }
  6815. else
  6816. scheme = _null;
  6817. if (isSimple) {
  6818. if (end < uri.length) {
  6819. uri = B.JSString_methods.substring$2(uri, 0, end);
  6820. schemeEnd -= 0;
  6821. hostStart -= 0;
  6822. portStart -= 0;
  6823. pathStart -= 0;
  6824. queryStart -= 0;
  6825. fragmentStart -= 0;
  6826. }
  6827. return new A._SimpleUri(uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme);
  6828. }
  6829. if (scheme == null)
  6830. if (schemeEnd > 0)
  6831. scheme = A._Uri__makeScheme(uri, 0, schemeEnd);
  6832. else {
  6833. if (schemeEnd === 0)
  6834. A._Uri__fail(uri, 0, "Invalid empty scheme");
  6835. scheme = "";
  6836. }
  6837. if (hostStart > 0) {
  6838. userInfoStart = schemeEnd + 3;
  6839. userInfo = userInfoStart < hostStart ? A._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : "";
  6840. host = A._Uri__makeHost(uri, hostStart, portStart, false);
  6841. t1 = portStart + 1;
  6842. if (t1 < pathStart) {
  6843. portNumber = A.Primitives_parseInt(B.JSString_methods.substring$2(uri, t1, pathStart), _null);
  6844. port = A._Uri__makePort(portNumber == null ? A.throwExpression(A.FormatException$("Invalid port", uri, t1)) : portNumber, scheme);
  6845. } else
  6846. port = _null;
  6847. } else {
  6848. port = _null;
  6849. host = port;
  6850. userInfo = "";
  6851. }
  6852. path = A._Uri__makePath(uri, pathStart, queryStart, _null, scheme, host != null);
  6853. query = queryStart < fragmentStart ? A._Uri__makeQuery(uri, queryStart + 1, fragmentStart, _null) : _null;
  6854. return A._Uri$_internal(scheme, userInfo, host, port, path, query, fragmentStart < end ? A._Uri__makeFragment(uri, fragmentStart + 1, end) : _null);
  6855. },
  6856. Uri_decodeComponent(encodedComponent) {
  6857. return A._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, B.C_Utf8Codec, false);
  6858. },
  6859. Uri__parseIPv4Address(host, start, end) {
  6860. var i, partStart, partIndex, char, part, partIndex0,
  6861. _s43_ = "IPv4 address should contain exactly 4 parts",
  6862. _s37_ = "each part must be in the range 0..255",
  6863. error = new A.Uri__parseIPv4Address_error(host),
  6864. result = new Uint8Array(4);
  6865. for (i = start, partStart = i, partIndex = 0; i < end; ++i) {
  6866. char = host.charCodeAt(i);
  6867. if (char !== 46) {
  6868. if ((char ^ 48) > 9)
  6869. error.call$2("invalid character", i);
  6870. } else {
  6871. if (partIndex === 3)
  6872. error.call$2(_s43_, i);
  6873. part = A.int_parse(B.JSString_methods.substring$2(host, partStart, i), null);
  6874. if (part > 255)
  6875. error.call$2(_s37_, partStart);
  6876. partIndex0 = partIndex + 1;
  6877. result[partIndex] = part;
  6878. partStart = i + 1;
  6879. partIndex = partIndex0;
  6880. }
  6881. }
  6882. if (partIndex !== 3)
  6883. error.call$2(_s43_, end);
  6884. part = A.int_parse(B.JSString_methods.substring$2(host, partStart, end), null);
  6885. if (part > 255)
  6886. error.call$2(_s37_, partStart);
  6887. result[partIndex] = part;
  6888. return result;
  6889. },
  6890. Uri_parseIPv6Address(host, start, end) {
  6891. var parts, i, partStart, wildcardSeen, seenDot, char, atEnd, t1, last, bytes, wildCardLength, index, value, j, _null = null,
  6892. error = new A.Uri_parseIPv6Address_error(host),
  6893. parseHex = new A.Uri_parseIPv6Address_parseHex(error, host);
  6894. if (host.length < 2)
  6895. error.call$2("address is too short", _null);
  6896. parts = A._setArrayType([], type$.JSArray_int);
  6897. for (i = start, partStart = i, wildcardSeen = false, seenDot = false; i < end; ++i) {
  6898. char = host.charCodeAt(i);
  6899. if (char === 58) {
  6900. if (i === start) {
  6901. ++i;
  6902. if (host.charCodeAt(i) !== 58)
  6903. error.call$2("invalid start colon.", i);
  6904. partStart = i;
  6905. }
  6906. if (i === partStart) {
  6907. if (wildcardSeen)
  6908. error.call$2("only one wildcard `::` is allowed", i);
  6909. parts.push(-1);
  6910. wildcardSeen = true;
  6911. } else
  6912. parts.push(parseHex.call$2(partStart, i));
  6913. partStart = i + 1;
  6914. } else if (char === 46)
  6915. seenDot = true;
  6916. }
  6917. if (parts.length === 0)
  6918. error.call$2("too few parts", _null);
  6919. atEnd = partStart === end;
  6920. t1 = B.JSArray_methods.get$last(parts);
  6921. if (atEnd && t1 !== -1)
  6922. error.call$2("expected a part after last `:`", end);
  6923. if (!atEnd)
  6924. if (!seenDot)
  6925. parts.push(parseHex.call$2(partStart, end));
  6926. else {
  6927. last = A.Uri__parseIPv4Address(host, partStart, end);
  6928. parts.push((last[0] << 8 | last[1]) >>> 0);
  6929. parts.push((last[2] << 8 | last[3]) >>> 0);
  6930. }
  6931. if (wildcardSeen) {
  6932. if (parts.length > 7)
  6933. error.call$2("an address with a wildcard must have less than 7 parts", _null);
  6934. } else if (parts.length !== 8)
  6935. error.call$2("an address without a wildcard must contain exactly 8 parts", _null);
  6936. bytes = new Uint8Array(16);
  6937. for (t1 = parts.length, wildCardLength = 9 - t1, i = 0, index = 0; i < t1; ++i) {
  6938. value = parts[i];
  6939. if (value === -1)
  6940. for (j = 0; j < wildCardLength; ++j) {
  6941. bytes[index] = 0;
  6942. bytes[index + 1] = 0;
  6943. index += 2;
  6944. }
  6945. else {
  6946. bytes[index] = B.JSInt_methods._shrOtherPositive$1(value, 8);
  6947. bytes[index + 1] = value & 255;
  6948. index += 2;
  6949. }
  6950. }
  6951. return bytes;
  6952. },
  6953. _Uri$_internal(scheme, _userInfo, _host, _port, path, _query, _fragment) {
  6954. return new A._Uri(scheme, _userInfo, _host, _port, path, _query, _fragment);
  6955. },
  6956. _Uri__Uri(host, path, pathSegments, scheme) {
  6957. var userInfo, query, fragment, port, isFile, t1, hasAuthority, t2, _null = null;
  6958. scheme = scheme == null ? "" : A._Uri__makeScheme(scheme, 0, scheme.length);
  6959. userInfo = A._Uri__makeUserInfo(_null, 0, 0);
  6960. host = A._Uri__makeHost(host, 0, host == null ? 0 : host.length, false);
  6961. query = A._Uri__makeQuery(_null, 0, 0, _null);
  6962. fragment = A._Uri__makeFragment(_null, 0, 0);
  6963. port = A._Uri__makePort(_null, scheme);
  6964. isFile = scheme === "file";
  6965. if (host == null)
  6966. t1 = userInfo.length !== 0 || port != null || isFile;
  6967. else
  6968. t1 = false;
  6969. if (t1)
  6970. host = "";
  6971. t1 = host == null;
  6972. hasAuthority = !t1;
  6973. path = A._Uri__makePath(path, 0, path == null ? 0 : path.length, pathSegments, scheme, hasAuthority);
  6974. t2 = scheme.length === 0;
  6975. if (t2 && t1 && !B.JSString_methods.startsWith$1(path, "/"))
  6976. path = A._Uri__normalizeRelativePath(path, !t2 || hasAuthority);
  6977. else
  6978. path = A._Uri__removeDotSegments(path);
  6979. return A._Uri$_internal(scheme, userInfo, t1 && B.JSString_methods.startsWith$1(path, "//") ? "" : host, port, path, query, fragment);
  6980. },
  6981. _Uri__defaultPort(scheme) {
  6982. if (scheme === "http")
  6983. return 80;
  6984. if (scheme === "https")
  6985. return 443;
  6986. return 0;
  6987. },
  6988. _Uri__fail(uri, index, message) {
  6989. throw A.wrapException(A.FormatException$(message, uri, index));
  6990. },
  6991. _Uri__Uri$file(path, windows) {
  6992. return windows ? A._Uri__makeWindowsFileUrl(path, false) : A._Uri__makeFileUri(path, false);
  6993. },
  6994. _Uri__checkNonWindowsPathReservedCharacters(segments, argumentError) {
  6995. var t1, _i, segment, t2, t3;
  6996. for (t1 = segments.length, _i = 0; _i < t1; ++_i) {
  6997. segment = segments[_i];
  6998. t2 = J.getInterceptor$asx(segment);
  6999. t3 = t2.get$length(segment);
  7000. if (0 > t3)
  7001. A.throwExpression(A.RangeError$range(0, 0, t2.get$length(segment), null, null));
  7002. if (A.stringContainsUnchecked(segment, "/", 0)) {
  7003. t1 = A.UnsupportedError$("Illegal path character " + A.S(segment));
  7004. throw A.wrapException(t1);
  7005. }
  7006. }
  7007. },
  7008. _Uri__checkWindowsPathReservedCharacters(segments, argumentError, firstSegment) {
  7009. var t1, t2, t3, t4, t5, _null = null;
  7010. 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();) {
  7011. t3 = t1.__internal$_current;
  7012. if (t3 == null)
  7013. t3 = t2._as(t3);
  7014. t4 = A.RegExp_RegExp('["*/:<>?\\\\|]', false);
  7015. t5 = t3.length;
  7016. if (A.stringContainsUnchecked(t3, t4, 0))
  7017. if (argumentError)
  7018. throw A.wrapException(A.ArgumentError$("Illegal character in path", _null));
  7019. else
  7020. throw A.wrapException(A.UnsupportedError$("Illegal character in path: " + t3));
  7021. }
  7022. },
  7023. _Uri__checkWindowsDriveLetter(charCode, argumentError) {
  7024. var t1,
  7025. _s21_ = "Illegal drive letter ";
  7026. if (!(65 <= charCode && charCode <= 90))
  7027. t1 = 97 <= charCode && charCode <= 122;
  7028. else
  7029. t1 = true;
  7030. if (t1)
  7031. return;
  7032. if (argumentError)
  7033. throw A.wrapException(A.ArgumentError$(_s21_ + A.String_String$fromCharCode(charCode), null));
  7034. else
  7035. throw A.wrapException(A.UnsupportedError$(_s21_ + A.String_String$fromCharCode(charCode)));
  7036. },
  7037. _Uri__makeFileUri(path, slashTerminated) {
  7038. var _null = null,
  7039. segments = A._setArrayType(path.split("/"), type$.JSArray_String);
  7040. if (B.JSString_methods.startsWith$1(path, "/"))
  7041. return A._Uri__Uri(_null, _null, segments, "file");
  7042. else
  7043. return A._Uri__Uri(_null, _null, segments, _null);
  7044. },
  7045. _Uri__makeWindowsFileUrl(path, slashTerminated) {
  7046. var t1, pathSegments, pathStart, hostPart, _s1_ = "\\", _null = null, _s4_ = "file";
  7047. if (B.JSString_methods.startsWith$1(path, "\\\\?\\"))
  7048. if (B.JSString_methods.startsWith$2(path, "UNC\\", 4))
  7049. path = B.JSString_methods.replaceRange$3(path, 0, 7, _s1_);
  7050. else {
  7051. path = B.JSString_methods.substring$1(path, 4);
  7052. if (path.length < 3 || path.charCodeAt(1) !== 58 || path.charCodeAt(2) !== 92)
  7053. throw A.wrapException(A.ArgumentError$value(path, "path", "Windows paths with \\\\?\\ prefix must be absolute"));
  7054. }
  7055. else
  7056. path = A.stringReplaceAllUnchecked(path, "/", _s1_);
  7057. t1 = path.length;
  7058. if (t1 > 1 && path.charCodeAt(1) === 58) {
  7059. A._Uri__checkWindowsDriveLetter(path.charCodeAt(0), true);
  7060. if (t1 === 2 || path.charCodeAt(2) !== 92)
  7061. throw A.wrapException(A.ArgumentError$value(path, "path", "Windows paths with drive letter must be absolute"));
  7062. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  7063. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 1);
  7064. return A._Uri__Uri(_null, _null, pathSegments, _s4_);
  7065. }
  7066. if (B.JSString_methods.startsWith$1(path, _s1_))
  7067. if (B.JSString_methods.startsWith$2(path, _s1_, 1)) {
  7068. pathStart = B.JSString_methods.indexOf$2(path, _s1_, 2);
  7069. t1 = pathStart < 0;
  7070. hostPart = t1 ? B.JSString_methods.substring$1(path, 2) : B.JSString_methods.substring$2(path, 2, pathStart);
  7071. pathSegments = A._setArrayType((t1 ? "" : B.JSString_methods.substring$1(path, pathStart + 1)).split(_s1_), type$.JSArray_String);
  7072. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  7073. return A._Uri__Uri(hostPart, _null, pathSegments, _s4_);
  7074. } else {
  7075. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  7076. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  7077. return A._Uri__Uri(_null, _null, pathSegments, _s4_);
  7078. }
  7079. else {
  7080. pathSegments = A._setArrayType(path.split(_s1_), type$.JSArray_String);
  7081. A._Uri__checkWindowsPathReservedCharacters(pathSegments, true, 0);
  7082. return A._Uri__Uri(_null, _null, pathSegments, _null);
  7083. }
  7084. },
  7085. _Uri__makePort(port, scheme) {
  7086. if (port != null && port === A._Uri__defaultPort(scheme))
  7087. return null;
  7088. return port;
  7089. },
  7090. _Uri__makeHost(host, start, end, strictIPv6) {
  7091. var t1, t2, index, zoneIDstart, zoneID, i;
  7092. if (host == null)
  7093. return null;
  7094. if (start === end)
  7095. return "";
  7096. if (host.charCodeAt(start) === 91) {
  7097. t1 = end - 1;
  7098. if (host.charCodeAt(t1) !== 93)
  7099. A._Uri__fail(host, start, "Missing end `]` to match `[` in host");
  7100. t2 = start + 1;
  7101. index = A._Uri__checkZoneID(host, t2, t1);
  7102. if (index < t1) {
  7103. zoneIDstart = index + 1;
  7104. zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, t1, "%25");
  7105. } else
  7106. zoneID = "";
  7107. A.Uri_parseIPv6Address(host, t2, index);
  7108. return B.JSString_methods.substring$2(host, start, index).toLowerCase() + zoneID + "]";
  7109. }
  7110. for (i = start; i < end; ++i)
  7111. if (host.charCodeAt(i) === 58) {
  7112. index = B.JSString_methods.indexOf$2(host, "%", start);
  7113. index = index >= start && index < end ? index : end;
  7114. if (index < end) {
  7115. zoneIDstart = index + 1;
  7116. zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith$2(host, "25", zoneIDstart) ? index + 3 : zoneIDstart, end, "%25");
  7117. } else
  7118. zoneID = "";
  7119. A.Uri_parseIPv6Address(host, start, index);
  7120. return "[" + B.JSString_methods.substring$2(host, start, index) + zoneID + "]";
  7121. }
  7122. return A._Uri__normalizeRegName(host, start, end);
  7123. },
  7124. _Uri__checkZoneID(host, start, end) {
  7125. var index = B.JSString_methods.indexOf$2(host, "%", start);
  7126. return index >= start && index < end ? index : end;
  7127. },
  7128. _Uri__normalizeZoneID(host, start, end, prefix) {
  7129. var index, sectionStart, isNormalized, char, replacement, t1, t2, tail, sourceLength, slice,
  7130. buffer = prefix !== "" ? new A.StringBuffer(prefix) : null;
  7131. for (index = start, sectionStart = index, isNormalized = true; index < end;) {
  7132. char = host.charCodeAt(index);
  7133. if (char === 37) {
  7134. replacement = A._Uri__normalizeEscape(host, index, true);
  7135. t1 = replacement == null;
  7136. if (t1 && isNormalized) {
  7137. index += 3;
  7138. continue;
  7139. }
  7140. if (buffer == null)
  7141. buffer = new A.StringBuffer("");
  7142. t2 = buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  7143. if (t1)
  7144. replacement = B.JSString_methods.substring$2(host, index, index + 3);
  7145. else if (replacement === "%")
  7146. A._Uri__fail(host, index, "ZoneID should not contain % anymore");
  7147. buffer._contents = t2 + replacement;
  7148. index += 3;
  7149. sectionStart = index;
  7150. isNormalized = true;
  7151. } else if (char < 127 && (B.List_M1A[char >>> 4] & 1 << (char & 15)) !== 0) {
  7152. if (isNormalized && 65 <= char && 90 >= char) {
  7153. if (buffer == null)
  7154. buffer = new A.StringBuffer("");
  7155. if (sectionStart < index) {
  7156. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  7157. sectionStart = index;
  7158. }
  7159. isNormalized = false;
  7160. }
  7161. ++index;
  7162. } else {
  7163. if ((char & 64512) === 55296 && index + 1 < end) {
  7164. tail = host.charCodeAt(index + 1);
  7165. if ((tail & 64512) === 56320) {
  7166. char = (char & 1023) << 10 | tail & 1023 | 65536;
  7167. sourceLength = 2;
  7168. } else
  7169. sourceLength = 1;
  7170. } else
  7171. sourceLength = 1;
  7172. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  7173. if (buffer == null) {
  7174. buffer = new A.StringBuffer("");
  7175. t1 = buffer;
  7176. } else
  7177. t1 = buffer;
  7178. t1._contents += slice;
  7179. t1._contents += A._Uri__escapeChar(char);
  7180. index += sourceLength;
  7181. sectionStart = index;
  7182. }
  7183. }
  7184. if (buffer == null)
  7185. return B.JSString_methods.substring$2(host, start, end);
  7186. if (sectionStart < end)
  7187. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, end);
  7188. t1 = buffer._contents;
  7189. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7190. },
  7191. _Uri__normalizeRegName(host, start, end) {
  7192. var index, sectionStart, buffer, isNormalized, char, replacement, t1, slice, t2, sourceLength, tail;
  7193. for (index = start, sectionStart = index, buffer = null, isNormalized = true; index < end;) {
  7194. char = host.charCodeAt(index);
  7195. if (char === 37) {
  7196. replacement = A._Uri__normalizeEscape(host, index, true);
  7197. t1 = replacement == null;
  7198. if (t1 && isNormalized) {
  7199. index += 3;
  7200. continue;
  7201. }
  7202. if (buffer == null)
  7203. buffer = new A.StringBuffer("");
  7204. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  7205. t2 = buffer._contents += !isNormalized ? slice.toLowerCase() : slice;
  7206. if (t1) {
  7207. replacement = B.JSString_methods.substring$2(host, index, index + 3);
  7208. sourceLength = 3;
  7209. } else if (replacement === "%") {
  7210. replacement = "%25";
  7211. sourceLength = 1;
  7212. } else
  7213. sourceLength = 3;
  7214. buffer._contents = t2 + replacement;
  7215. index += sourceLength;
  7216. sectionStart = index;
  7217. isNormalized = true;
  7218. } else if (char < 127 && (B.List_ejq[char >>> 4] & 1 << (char & 15)) !== 0) {
  7219. if (isNormalized && 65 <= char && 90 >= char) {
  7220. if (buffer == null)
  7221. buffer = new A.StringBuffer("");
  7222. if (sectionStart < index) {
  7223. buffer._contents += B.JSString_methods.substring$2(host, sectionStart, index);
  7224. sectionStart = index;
  7225. }
  7226. isNormalized = false;
  7227. }
  7228. ++index;
  7229. } else if (char <= 93 && (B.List_YmH[char >>> 4] & 1 << (char & 15)) !== 0)
  7230. A._Uri__fail(host, index, "Invalid character");
  7231. else {
  7232. if ((char & 64512) === 55296 && index + 1 < end) {
  7233. tail = host.charCodeAt(index + 1);
  7234. if ((tail & 64512) === 56320) {
  7235. char = (char & 1023) << 10 | tail & 1023 | 65536;
  7236. sourceLength = 2;
  7237. } else
  7238. sourceLength = 1;
  7239. } else
  7240. sourceLength = 1;
  7241. slice = B.JSString_methods.substring$2(host, sectionStart, index);
  7242. if (!isNormalized)
  7243. slice = slice.toLowerCase();
  7244. if (buffer == null) {
  7245. buffer = new A.StringBuffer("");
  7246. t1 = buffer;
  7247. } else
  7248. t1 = buffer;
  7249. t1._contents += slice;
  7250. t1._contents += A._Uri__escapeChar(char);
  7251. index += sourceLength;
  7252. sectionStart = index;
  7253. }
  7254. }
  7255. if (buffer == null)
  7256. return B.JSString_methods.substring$2(host, start, end);
  7257. if (sectionStart < end) {
  7258. slice = B.JSString_methods.substring$2(host, sectionStart, end);
  7259. buffer._contents += !isNormalized ? slice.toLowerCase() : slice;
  7260. }
  7261. t1 = buffer._contents;
  7262. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7263. },
  7264. _Uri__makeScheme(scheme, start, end) {
  7265. var i, containsUpperCase, codeUnit;
  7266. if (start === end)
  7267. return "";
  7268. if (!A._Uri__isAlphabeticCharacter(scheme.charCodeAt(start)))
  7269. A._Uri__fail(scheme, start, "Scheme not starting with alphabetic character");
  7270. for (i = start, containsUpperCase = false; i < end; ++i) {
  7271. codeUnit = scheme.charCodeAt(i);
  7272. if (!(codeUnit < 128 && (B.List_MMm[codeUnit >>> 4] & 1 << (codeUnit & 15)) !== 0))
  7273. A._Uri__fail(scheme, i, "Illegal scheme character");
  7274. if (65 <= codeUnit && codeUnit <= 90)
  7275. containsUpperCase = true;
  7276. }
  7277. scheme = B.JSString_methods.substring$2(scheme, start, end);
  7278. return A._Uri__canonicalizeScheme(containsUpperCase ? scheme.toLowerCase() : scheme);
  7279. },
  7280. _Uri__canonicalizeScheme(scheme) {
  7281. if (scheme === "http")
  7282. return "http";
  7283. if (scheme === "file")
  7284. return "file";
  7285. if (scheme === "https")
  7286. return "https";
  7287. if (scheme === "package")
  7288. return "package";
  7289. return scheme;
  7290. },
  7291. _Uri__makeUserInfo(userInfo, start, end) {
  7292. if (userInfo == null)
  7293. return "";
  7294. return A._Uri__normalizeOrSubstring(userInfo, start, end, B.List_OL3, false, false);
  7295. },
  7296. _Uri__makePath(path, start, end, pathSegments, scheme, hasAuthority) {
  7297. var result,
  7298. isFile = scheme === "file",
  7299. ensureLeadingSlash = isFile || hasAuthority;
  7300. if (path == null) {
  7301. if (pathSegments == null)
  7302. return isFile ? "/" : "";
  7303. result = new A.MappedListIterable(pathSegments, new A._Uri__makePath_closure(), A._arrayInstanceType(pathSegments)._eval$1("MappedListIterable<1,String>")).join$1(0, "/");
  7304. } else if (pathSegments != null)
  7305. throw A.wrapException(A.ArgumentError$("Both path and pathSegments specified", null));
  7306. else
  7307. result = A._Uri__normalizeOrSubstring(path, start, end, B.List_XRg, true, true);
  7308. if (result.length === 0) {
  7309. if (isFile)
  7310. return "/";
  7311. } else if (ensureLeadingSlash && !B.JSString_methods.startsWith$1(result, "/"))
  7312. result = "/" + result;
  7313. return A._Uri__normalizePath(result, scheme, hasAuthority);
  7314. },
  7315. _Uri__normalizePath(path, scheme, hasAuthority) {
  7316. var t1 = scheme.length === 0;
  7317. if (t1 && !hasAuthority && !B.JSString_methods.startsWith$1(path, "/") && !B.JSString_methods.startsWith$1(path, "\\"))
  7318. return A._Uri__normalizeRelativePath(path, !t1 || hasAuthority);
  7319. return A._Uri__removeDotSegments(path);
  7320. },
  7321. _Uri__makeQuery(query, start, end, queryParameters) {
  7322. if (query != null)
  7323. return A._Uri__normalizeOrSubstring(query, start, end, B.List_oFp, true, false);
  7324. return null;
  7325. },
  7326. _Uri__makeFragment(fragment, start, end) {
  7327. if (fragment == null)
  7328. return null;
  7329. return A._Uri__normalizeOrSubstring(fragment, start, end, B.List_oFp, true, false);
  7330. },
  7331. _Uri__normalizeEscape(source, index, lowerCase) {
  7332. var firstDigit, secondDigit, firstDigitValue, secondDigitValue, value,
  7333. t1 = index + 2;
  7334. if (t1 >= source.length)
  7335. return "%";
  7336. firstDigit = source.charCodeAt(index + 1);
  7337. secondDigit = source.charCodeAt(t1);
  7338. firstDigitValue = A.hexDigitValue(firstDigit);
  7339. secondDigitValue = A.hexDigitValue(secondDigit);
  7340. if (firstDigitValue < 0 || secondDigitValue < 0)
  7341. return "%";
  7342. value = firstDigitValue * 16 + secondDigitValue;
  7343. if (value < 127 && (B.List_M1A[B.JSInt_methods._shrOtherPositive$1(value, 4)] & 1 << (value & 15)) !== 0)
  7344. return A.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value);
  7345. if (firstDigit >= 97 || secondDigit >= 97)
  7346. return B.JSString_methods.substring$2(source, index, index + 3).toUpperCase();
  7347. return null;
  7348. },
  7349. _Uri__escapeChar(char) {
  7350. var codeUnits, flag, encodedBytes, index, byte,
  7351. _s16_ = "0123456789ABCDEF";
  7352. if (char < 128) {
  7353. codeUnits = new Uint8Array(3);
  7354. codeUnits[0] = 37;
  7355. codeUnits[1] = _s16_.charCodeAt(char >>> 4);
  7356. codeUnits[2] = _s16_.charCodeAt(char & 15);
  7357. } else {
  7358. if (char > 2047)
  7359. if (char > 65535) {
  7360. flag = 240;
  7361. encodedBytes = 4;
  7362. } else {
  7363. flag = 224;
  7364. encodedBytes = 3;
  7365. }
  7366. else {
  7367. flag = 192;
  7368. encodedBytes = 2;
  7369. }
  7370. codeUnits = new Uint8Array(3 * encodedBytes);
  7371. for (index = 0; --encodedBytes, encodedBytes >= 0; flag = 128) {
  7372. byte = B.JSInt_methods._shrReceiverPositive$1(char, 6 * encodedBytes) & 63 | flag;
  7373. codeUnits[index] = 37;
  7374. codeUnits[index + 1] = _s16_.charCodeAt(byte >>> 4);
  7375. codeUnits[index + 2] = _s16_.charCodeAt(byte & 15);
  7376. index += 3;
  7377. }
  7378. }
  7379. return A.String_String$fromCharCodes(codeUnits, 0, null);
  7380. },
  7381. _Uri__normalizeOrSubstring(component, start, end, charTable, escapeDelimiters, replaceBackslash) {
  7382. var t1 = A._Uri__normalize(component, start, end, charTable, escapeDelimiters, replaceBackslash);
  7383. return t1 == null ? B.JSString_methods.substring$2(component, start, end) : t1;
  7384. },
  7385. _Uri__normalize(component, start, end, charTable, escapeDelimiters, replaceBackslash) {
  7386. var t1, index, sectionStart, buffer, char, replacement, sourceLength, t2, tail, t3, _null = null;
  7387. for (t1 = !escapeDelimiters, index = start, sectionStart = index, buffer = _null; index < end;) {
  7388. char = component.charCodeAt(index);
  7389. if (char < 127 && (charTable[char >>> 4] & 1 << (char & 15)) !== 0)
  7390. ++index;
  7391. else {
  7392. if (char === 37) {
  7393. replacement = A._Uri__normalizeEscape(component, index, false);
  7394. if (replacement == null) {
  7395. index += 3;
  7396. continue;
  7397. }
  7398. if ("%" === replacement) {
  7399. replacement = "%25";
  7400. sourceLength = 1;
  7401. } else
  7402. sourceLength = 3;
  7403. } else if (char === 92 && replaceBackslash) {
  7404. replacement = "/";
  7405. sourceLength = 1;
  7406. } else if (t1 && char <= 93 && (B.List_YmH[char >>> 4] & 1 << (char & 15)) !== 0) {
  7407. A._Uri__fail(component, index, "Invalid character");
  7408. sourceLength = _null;
  7409. replacement = sourceLength;
  7410. } else {
  7411. if ((char & 64512) === 55296) {
  7412. t2 = index + 1;
  7413. if (t2 < end) {
  7414. tail = component.charCodeAt(t2);
  7415. if ((tail & 64512) === 56320) {
  7416. char = (char & 1023) << 10 | tail & 1023 | 65536;
  7417. sourceLength = 2;
  7418. } else
  7419. sourceLength = 1;
  7420. } else
  7421. sourceLength = 1;
  7422. } else
  7423. sourceLength = 1;
  7424. replacement = A._Uri__escapeChar(char);
  7425. }
  7426. if (buffer == null) {
  7427. buffer = new A.StringBuffer("");
  7428. t2 = buffer;
  7429. } else
  7430. t2 = buffer;
  7431. t3 = t2._contents += B.JSString_methods.substring$2(component, sectionStart, index);
  7432. t2._contents = t3 + A.S(replacement);
  7433. index += sourceLength;
  7434. sectionStart = index;
  7435. }
  7436. }
  7437. if (buffer == null)
  7438. return _null;
  7439. if (sectionStart < end)
  7440. buffer._contents += B.JSString_methods.substring$2(component, sectionStart, end);
  7441. t1 = buffer._contents;
  7442. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7443. },
  7444. _Uri__mayContainDotSegments(path) {
  7445. if (B.JSString_methods.startsWith$1(path, "."))
  7446. return true;
  7447. return B.JSString_methods.indexOf$1(path, "/.") !== -1;
  7448. },
  7449. _Uri__removeDotSegments(path) {
  7450. var output, t1, t2, appendSlash, _i, segment;
  7451. if (!A._Uri__mayContainDotSegments(path))
  7452. return path;
  7453. output = A._setArrayType([], type$.JSArray_String);
  7454. for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
  7455. segment = t1[_i];
  7456. if (J.$eq$(segment, "..")) {
  7457. if (output.length !== 0) {
  7458. output.pop();
  7459. if (output.length === 0)
  7460. output.push("");
  7461. }
  7462. appendSlash = true;
  7463. } else if ("." === segment)
  7464. appendSlash = true;
  7465. else {
  7466. output.push(segment);
  7467. appendSlash = false;
  7468. }
  7469. }
  7470. if (appendSlash)
  7471. output.push("");
  7472. return B.JSArray_methods.join$1(output, "/");
  7473. },
  7474. _Uri__normalizeRelativePath(path, allowScheme) {
  7475. var output, t1, t2, appendSlash, _i, segment;
  7476. if (!A._Uri__mayContainDotSegments(path))
  7477. return !allowScheme ? A._Uri__escapeScheme(path) : path;
  7478. output = A._setArrayType([], type$.JSArray_String);
  7479. for (t1 = path.split("/"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {
  7480. segment = t1[_i];
  7481. if (".." === segment)
  7482. if (output.length !== 0 && B.JSArray_methods.get$last(output) !== "..") {
  7483. output.pop();
  7484. appendSlash = true;
  7485. } else {
  7486. output.push("..");
  7487. appendSlash = false;
  7488. }
  7489. else if ("." === segment)
  7490. appendSlash = true;
  7491. else {
  7492. output.push(segment);
  7493. appendSlash = false;
  7494. }
  7495. }
  7496. t1 = output.length;
  7497. if (t1 !== 0)
  7498. t1 = t1 === 1 && output[0].length === 0;
  7499. else
  7500. t1 = true;
  7501. if (t1)
  7502. return "./";
  7503. if (appendSlash || B.JSArray_methods.get$last(output) === "..")
  7504. output.push("");
  7505. if (!allowScheme)
  7506. output[0] = A._Uri__escapeScheme(output[0]);
  7507. return B.JSArray_methods.join$1(output, "/");
  7508. },
  7509. _Uri__escapeScheme(path) {
  7510. var i, char,
  7511. t1 = path.length;
  7512. if (t1 >= 2 && A._Uri__isAlphabeticCharacter(path.charCodeAt(0)))
  7513. for (i = 1; i < t1; ++i) {
  7514. char = path.charCodeAt(i);
  7515. if (char === 58)
  7516. return B.JSString_methods.substring$2(path, 0, i) + "%3A" + B.JSString_methods.substring$1(path, i + 1);
  7517. if (char > 127 || (B.List_MMm[char >>> 4] & 1 << (char & 15)) === 0)
  7518. break;
  7519. }
  7520. return path;
  7521. },
  7522. _Uri__packageNameEnd(uri, path) {
  7523. if (uri.isScheme$1("package") && uri._host == null)
  7524. return A._skipPackageNameChars(path, 0, path.length);
  7525. return -1;
  7526. },
  7527. _Uri__toWindowsFilePath(uri) {
  7528. var hasDriveLetter, t2, host,
  7529. segments = uri.get$pathSegments(),
  7530. t1 = segments.length;
  7531. if (t1 > 0 && J.get$length$asx(segments[0]) === 2 && J.codeUnitAt$1$s(segments[0], 1) === 58) {
  7532. A._Uri__checkWindowsDriveLetter(J.codeUnitAt$1$s(segments[0], 0), false);
  7533. A._Uri__checkWindowsPathReservedCharacters(segments, false, 1);
  7534. hasDriveLetter = true;
  7535. } else {
  7536. A._Uri__checkWindowsPathReservedCharacters(segments, false, 0);
  7537. hasDriveLetter = false;
  7538. }
  7539. t2 = uri.get$hasAbsolutePath() && !hasDriveLetter ? "" + "\\" : "";
  7540. if (uri.get$hasAuthority()) {
  7541. host = uri.get$host();
  7542. if (host.length !== 0)
  7543. t2 = t2 + "\\" + host + "\\";
  7544. }
  7545. t2 = A.StringBuffer__writeAll(t2, segments, "\\");
  7546. t1 = hasDriveLetter && t1 === 1 ? t2 + "\\" : t2;
  7547. return t1.charCodeAt(0) == 0 ? t1 : t1;
  7548. },
  7549. _Uri__hexCharPairToByte(s, pos) {
  7550. var byte, i, charCode;
  7551. for (byte = 0, i = 0; i < 2; ++i) {
  7552. charCode = s.charCodeAt(pos + i);
  7553. if (48 <= charCode && charCode <= 57)
  7554. byte = byte * 16 + charCode - 48;
  7555. else {
  7556. charCode |= 32;
  7557. if (97 <= charCode && charCode <= 102)
  7558. byte = byte * 16 + charCode - 87;
  7559. else
  7560. throw A.wrapException(A.ArgumentError$("Invalid URL encoding", null));
  7561. }
  7562. }
  7563. return byte;
  7564. },
  7565. _Uri__uriDecode(text, start, end, encoding, plusToSpace) {
  7566. var simple, codeUnit, t1, bytes,
  7567. i = start;
  7568. while (true) {
  7569. if (!(i < end)) {
  7570. simple = true;
  7571. break;
  7572. }
  7573. codeUnit = text.charCodeAt(i);
  7574. if (codeUnit <= 127)
  7575. if (codeUnit !== 37)
  7576. t1 = false;
  7577. else
  7578. t1 = true;
  7579. else
  7580. t1 = true;
  7581. if (t1) {
  7582. simple = false;
  7583. break;
  7584. }
  7585. ++i;
  7586. }
  7587. if (simple) {
  7588. if (B.C_Utf8Codec !== encoding)
  7589. t1 = false;
  7590. else
  7591. t1 = true;
  7592. if (t1)
  7593. return B.JSString_methods.substring$2(text, start, end);
  7594. else
  7595. bytes = new A.CodeUnits(B.JSString_methods.substring$2(text, start, end));
  7596. } else {
  7597. bytes = A._setArrayType([], type$.JSArray_int);
  7598. for (t1 = text.length, i = start; i < end; ++i) {
  7599. codeUnit = text.charCodeAt(i);
  7600. if (codeUnit > 127)
  7601. throw A.wrapException(A.ArgumentError$("Illegal percent encoding in URI", null));
  7602. if (codeUnit === 37) {
  7603. if (i + 3 > t1)
  7604. throw A.wrapException(A.ArgumentError$("Truncated URI", null));
  7605. bytes.push(A._Uri__hexCharPairToByte(text, i + 1));
  7606. i += 2;
  7607. } else
  7608. bytes.push(codeUnit);
  7609. }
  7610. }
  7611. return B.Utf8Decoder_false.convert$1(bytes);
  7612. },
  7613. _Uri__isAlphabeticCharacter(codeUnit) {
  7614. var lowerCase = codeUnit | 32;
  7615. return 97 <= lowerCase && lowerCase <= 122;
  7616. },
  7617. UriData__writeUri(mimeType, charsetName, parameters, buffer, indices) {
  7618. var t1, slashIndex;
  7619. if (mimeType != null)
  7620. t1 = 10 === mimeType.length && A._caseInsensitiveCompareStart("text/plain", mimeType, 0) >= 0;
  7621. else
  7622. t1 = true;
  7623. if (t1)
  7624. mimeType = "";
  7625. if (mimeType.length === 0 || mimeType === "application/octet-stream")
  7626. t1 = buffer._contents += mimeType;
  7627. else {
  7628. slashIndex = A.UriData__validateMimeType(mimeType);
  7629. if (slashIndex < 0)
  7630. throw A.wrapException(A.ArgumentError$value(mimeType, "mimeType", "Invalid MIME type"));
  7631. t1 = buffer._contents += A._Uri__uriEncode(B.List_yzX, B.JSString_methods.substring$2(mimeType, 0, slashIndex), B.C_Utf8Codec, false);
  7632. buffer._contents = t1 + "/";
  7633. t1 = buffer._contents += A._Uri__uriEncode(B.List_yzX, B.JSString_methods.substring$1(mimeType, slashIndex + 1), B.C_Utf8Codec, false);
  7634. }
  7635. if (charsetName != null) {
  7636. indices.push(t1.length);
  7637. indices.push(buffer._contents.length + 8);
  7638. buffer._contents += ";charset=";
  7639. buffer._contents += A._Uri__uriEncode(B.List_yzX, charsetName, B.C_Utf8Codec, false);
  7640. }
  7641. },
  7642. UriData__validateMimeType(mimeType) {
  7643. var t1, slashIndex, i;
  7644. for (t1 = mimeType.length, slashIndex = -1, i = 0; i < t1; ++i) {
  7645. if (mimeType.charCodeAt(i) !== 47)
  7646. continue;
  7647. if (slashIndex < 0) {
  7648. slashIndex = i;
  7649. continue;
  7650. }
  7651. return -1;
  7652. }
  7653. return slashIndex;
  7654. },
  7655. UriData__parse(text, start, sourceUri) {
  7656. var t1, i, slashIndex, char, equalsIndex, lastSeparator, t2, data,
  7657. _s17_ = "Invalid MIME type",
  7658. indices = A._setArrayType([start - 1], type$.JSArray_int);
  7659. for (t1 = text.length, i = start, slashIndex = -1, char = null; i < t1; ++i) {
  7660. char = text.charCodeAt(i);
  7661. if (char === 44 || char === 59)
  7662. break;
  7663. if (char === 47) {
  7664. if (slashIndex < 0) {
  7665. slashIndex = i;
  7666. continue;
  7667. }
  7668. throw A.wrapException(A.FormatException$(_s17_, text, i));
  7669. }
  7670. }
  7671. if (slashIndex < 0 && i > start)
  7672. throw A.wrapException(A.FormatException$(_s17_, text, i));
  7673. for (; char !== 44;) {
  7674. indices.push(i);
  7675. ++i;
  7676. for (equalsIndex = -1; i < t1; ++i) {
  7677. char = text.charCodeAt(i);
  7678. if (char === 61) {
  7679. if (equalsIndex < 0)
  7680. equalsIndex = i;
  7681. } else if (char === 59 || char === 44)
  7682. break;
  7683. }
  7684. if (equalsIndex >= 0)
  7685. indices.push(equalsIndex);
  7686. else {
  7687. lastSeparator = B.JSArray_methods.get$last(indices);
  7688. if (char !== 44 || i !== lastSeparator + 7 || !B.JSString_methods.startsWith$2(text, "base64", lastSeparator + 1))
  7689. throw A.wrapException(A.FormatException$("Expecting '='", text, i));
  7690. break;
  7691. }
  7692. }
  7693. indices.push(i);
  7694. t2 = i + 1;
  7695. if ((indices.length & 1) === 1)
  7696. text = B.C_Base64Codec.normalize$3(text, t2, t1);
  7697. else {
  7698. data = A._Uri__normalize(text, t2, t1, B.List_oFp, true, false);
  7699. if (data != null)
  7700. text = B.JSString_methods.replaceRange$3(text, t2, t1, data);
  7701. }
  7702. return new A.UriData(text, indices, sourceUri);
  7703. },
  7704. UriData__uriEncodeBytes(canonicalTable, bytes, buffer) {
  7705. var t1, byteOr, i, byte,
  7706. _s16_ = "0123456789ABCDEF";
  7707. for (t1 = bytes.length, byteOr = 0, i = 0; i < t1; ++i) {
  7708. byte = bytes[i];
  7709. byteOr |= byte;
  7710. if (byte < 128 && (canonicalTable[byte >>> 4] & 1 << (byte & 15)) !== 0)
  7711. buffer._contents += A.Primitives_stringFromCharCode(byte);
  7712. else {
  7713. buffer._contents += A.Primitives_stringFromCharCode(37);
  7714. buffer._contents += A.Primitives_stringFromCharCode(_s16_.charCodeAt(byte >>> 4));
  7715. buffer._contents += A.Primitives_stringFromCharCode(_s16_.charCodeAt(byte & 15));
  7716. }
  7717. }
  7718. if ((byteOr & 4294967040) !== 0)
  7719. for (i = 0; i < t1; ++i) {
  7720. byte = bytes[i];
  7721. if (byte > 255)
  7722. throw A.wrapException(A.ArgumentError$value(byte, "non-byte value", null));
  7723. }
  7724. },
  7725. _createTables() {
  7726. var _i, t1, t2, t3, b,
  7727. _s77_ = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-._~!$&'()*+,;=",
  7728. _s1_ = ".", _s1_0 = ":", _s1_1 = "/", _s1_2 = "\\", _s1_3 = "?", _s1_4 = "#", _s2_ = "/\\",
  7729. tables = J.JSArray_JSArray$allocateGrowable(22, type$.Uint8List);
  7730. for (_i = 0; _i < 22; ++_i)
  7731. tables[_i] = new Uint8Array(96);
  7732. t1 = new A._createTables_build(tables);
  7733. t2 = new A._createTables_setChars();
  7734. t3 = new A._createTables_setRange();
  7735. b = t1.call$2(0, 225);
  7736. t2.call$3(b, _s77_, 1);
  7737. t2.call$3(b, _s1_, 14);
  7738. t2.call$3(b, _s1_0, 34);
  7739. t2.call$3(b, _s1_1, 3);
  7740. t2.call$3(b, _s1_2, 227);
  7741. t2.call$3(b, _s1_3, 172);
  7742. t2.call$3(b, _s1_4, 205);
  7743. b = t1.call$2(14, 225);
  7744. t2.call$3(b, _s77_, 1);
  7745. t2.call$3(b, _s1_, 15);
  7746. t2.call$3(b, _s1_0, 34);
  7747. t2.call$3(b, _s2_, 234);
  7748. t2.call$3(b, _s1_3, 172);
  7749. t2.call$3(b, _s1_4, 205);
  7750. b = t1.call$2(15, 225);
  7751. t2.call$3(b, _s77_, 1);
  7752. t2.call$3(b, "%", 225);
  7753. t2.call$3(b, _s1_0, 34);
  7754. t2.call$3(b, _s1_1, 9);
  7755. t2.call$3(b, _s1_2, 233);
  7756. t2.call$3(b, _s1_3, 172);
  7757. t2.call$3(b, _s1_4, 205);
  7758. b = t1.call$2(1, 225);
  7759. t2.call$3(b, _s77_, 1);
  7760. t2.call$3(b, _s1_0, 34);
  7761. t2.call$3(b, _s1_1, 10);
  7762. t2.call$3(b, _s1_2, 234);
  7763. t2.call$3(b, _s1_3, 172);
  7764. t2.call$3(b, _s1_4, 205);
  7765. b = t1.call$2(2, 235);
  7766. t2.call$3(b, _s77_, 139);
  7767. t2.call$3(b, _s1_1, 131);
  7768. t2.call$3(b, _s1_2, 131);
  7769. t2.call$3(b, _s1_, 146);
  7770. t2.call$3(b, _s1_3, 172);
  7771. t2.call$3(b, _s1_4, 205);
  7772. b = t1.call$2(3, 235);
  7773. t2.call$3(b, _s77_, 11);
  7774. t2.call$3(b, _s1_1, 68);
  7775. t2.call$3(b, _s1_2, 68);
  7776. t2.call$3(b, _s1_, 18);
  7777. t2.call$3(b, _s1_3, 172);
  7778. t2.call$3(b, _s1_4, 205);
  7779. b = t1.call$2(4, 229);
  7780. t2.call$3(b, _s77_, 5);
  7781. t3.call$3(b, "AZ", 229);
  7782. t2.call$3(b, _s1_0, 102);
  7783. t2.call$3(b, "@", 68);
  7784. t2.call$3(b, "[", 232);
  7785. t2.call$3(b, _s1_1, 138);
  7786. t2.call$3(b, _s1_2, 138);
  7787. t2.call$3(b, _s1_3, 172);
  7788. t2.call$3(b, _s1_4, 205);
  7789. b = t1.call$2(5, 229);
  7790. t2.call$3(b, _s77_, 5);
  7791. t3.call$3(b, "AZ", 229);
  7792. t2.call$3(b, _s1_0, 102);
  7793. t2.call$3(b, "@", 68);
  7794. t2.call$3(b, _s1_1, 138);
  7795. t2.call$3(b, _s1_2, 138);
  7796. t2.call$3(b, _s1_3, 172);
  7797. t2.call$3(b, _s1_4, 205);
  7798. b = t1.call$2(6, 231);
  7799. t3.call$3(b, "19", 7);
  7800. t2.call$3(b, "@", 68);
  7801. t2.call$3(b, _s1_1, 138);
  7802. t2.call$3(b, _s1_2, 138);
  7803. t2.call$3(b, _s1_3, 172);
  7804. t2.call$3(b, _s1_4, 205);
  7805. b = t1.call$2(7, 231);
  7806. t3.call$3(b, "09", 7);
  7807. t2.call$3(b, "@", 68);
  7808. t2.call$3(b, _s1_1, 138);
  7809. t2.call$3(b, _s1_2, 138);
  7810. t2.call$3(b, _s1_3, 172);
  7811. t2.call$3(b, _s1_4, 205);
  7812. t2.call$3(t1.call$2(8, 8), "]", 5);
  7813. b = t1.call$2(9, 235);
  7814. t2.call$3(b, _s77_, 11);
  7815. t2.call$3(b, _s1_, 16);
  7816. t2.call$3(b, _s2_, 234);
  7817. t2.call$3(b, _s1_3, 172);
  7818. t2.call$3(b, _s1_4, 205);
  7819. b = t1.call$2(16, 235);
  7820. t2.call$3(b, _s77_, 11);
  7821. t2.call$3(b, _s1_, 17);
  7822. t2.call$3(b, _s2_, 234);
  7823. t2.call$3(b, _s1_3, 172);
  7824. t2.call$3(b, _s1_4, 205);
  7825. b = t1.call$2(17, 235);
  7826. t2.call$3(b, _s77_, 11);
  7827. t2.call$3(b, _s1_1, 9);
  7828. t2.call$3(b, _s1_2, 233);
  7829. t2.call$3(b, _s1_3, 172);
  7830. t2.call$3(b, _s1_4, 205);
  7831. b = t1.call$2(10, 235);
  7832. t2.call$3(b, _s77_, 11);
  7833. t2.call$3(b, _s1_, 18);
  7834. t2.call$3(b, _s1_1, 10);
  7835. t2.call$3(b, _s1_2, 234);
  7836. t2.call$3(b, _s1_3, 172);
  7837. t2.call$3(b, _s1_4, 205);
  7838. b = t1.call$2(18, 235);
  7839. t2.call$3(b, _s77_, 11);
  7840. t2.call$3(b, _s1_, 19);
  7841. t2.call$3(b, _s2_, 234);
  7842. t2.call$3(b, _s1_3, 172);
  7843. t2.call$3(b, _s1_4, 205);
  7844. b = t1.call$2(19, 235);
  7845. t2.call$3(b, _s77_, 11);
  7846. t2.call$3(b, _s2_, 234);
  7847. t2.call$3(b, _s1_3, 172);
  7848. t2.call$3(b, _s1_4, 205);
  7849. b = t1.call$2(11, 235);
  7850. t2.call$3(b, _s77_, 11);
  7851. t2.call$3(b, _s1_1, 10);
  7852. t2.call$3(b, _s1_2, 234);
  7853. t2.call$3(b, _s1_3, 172);
  7854. t2.call$3(b, _s1_4, 205);
  7855. b = t1.call$2(12, 236);
  7856. t2.call$3(b, _s77_, 12);
  7857. t2.call$3(b, _s1_3, 12);
  7858. t2.call$3(b, _s1_4, 205);
  7859. b = t1.call$2(13, 237);
  7860. t2.call$3(b, _s77_, 13);
  7861. t2.call$3(b, _s1_3, 13);
  7862. t3.call$3(t1.call$2(20, 245), "az", 21);
  7863. b = t1.call$2(21, 245);
  7864. t3.call$3(b, "az", 21);
  7865. t3.call$3(b, "09", 21);
  7866. t2.call$3(b, "+-.", 21);
  7867. return tables;
  7868. },
  7869. _scan(uri, start, end, state, indices) {
  7870. var i, table, char, transition,
  7871. tables = $.$get$_scannerTables();
  7872. for (i = start; i < end; ++i) {
  7873. table = tables[state];
  7874. char = uri.charCodeAt(i) ^ 96;
  7875. transition = table[char > 95 ? 31 : char];
  7876. state = transition & 31;
  7877. indices[transition >>> 5] = i;
  7878. }
  7879. return state;
  7880. },
  7881. _SimpleUri__packageNameEnd(uri) {
  7882. if (uri._schemeEnd === 7 && B.JSString_methods.startsWith$1(uri._uri, "package") && uri._hostStart <= 0)
  7883. return A._skipPackageNameChars(uri._uri, uri._pathStart, uri._queryStart);
  7884. return -1;
  7885. },
  7886. _skipPackageNameChars(source, start, end) {
  7887. var i, dots, char;
  7888. for (i = start, dots = 0; i < end; ++i) {
  7889. char = source.charCodeAt(i);
  7890. if (char === 47)
  7891. return dots !== 0 ? i : -1;
  7892. if (char === 37 || char === 58)
  7893. return -1;
  7894. dots |= char ^ 46;
  7895. }
  7896. return -1;
  7897. },
  7898. _caseInsensitiveCompareStart(prefix, string, start) {
  7899. var t1, result, i, stringChar, delta, lowerChar;
  7900. for (t1 = prefix.length, result = 0, i = 0; i < t1; ++i) {
  7901. stringChar = string.charCodeAt(start + i);
  7902. delta = prefix.charCodeAt(i) ^ stringChar;
  7903. if (delta !== 0) {
  7904. if (delta === 32) {
  7905. lowerChar = stringChar | delta;
  7906. if (97 <= lowerChar && lowerChar <= 122) {
  7907. result = 32;
  7908. continue;
  7909. }
  7910. }
  7911. return -1;
  7912. }
  7913. }
  7914. return result;
  7915. },
  7916. NoSuchMethodError_toString_closure: function NoSuchMethodError_toString_closure(t0, t1) {
  7917. this._box_0 = t0;
  7918. this.sb = t1;
  7919. },
  7920. DateTime: function DateTime(t0, t1) {
  7921. this._core$_value = t0;
  7922. this.isUtc = t1;
  7923. },
  7924. Duration: function Duration(t0) {
  7925. this._duration = t0;
  7926. },
  7927. _Enum: function _Enum() {
  7928. },
  7929. Error: function Error() {
  7930. },
  7931. AssertionError: function AssertionError(t0) {
  7932. this.message = t0;
  7933. },
  7934. TypeError: function TypeError() {
  7935. },
  7936. ArgumentError: function ArgumentError(t0, t1, t2, t3) {
  7937. var _ = this;
  7938. _._hasValue = t0;
  7939. _.invalidValue = t1;
  7940. _.name = t2;
  7941. _.message = t3;
  7942. },
  7943. RangeError: function RangeError(t0, t1, t2, t3, t4, t5) {
  7944. var _ = this;
  7945. _.start = t0;
  7946. _.end = t1;
  7947. _._hasValue = t2;
  7948. _.invalidValue = t3;
  7949. _.name = t4;
  7950. _.message = t5;
  7951. },
  7952. IndexError: function IndexError(t0, t1, t2, t3, t4) {
  7953. var _ = this;
  7954. _.length = t0;
  7955. _._hasValue = t1;
  7956. _.invalidValue = t2;
  7957. _.name = t3;
  7958. _.message = t4;
  7959. },
  7960. NoSuchMethodError: function NoSuchMethodError(t0, t1, t2, t3) {
  7961. var _ = this;
  7962. _._core$_receiver = t0;
  7963. _._memberName = t1;
  7964. _._core$_arguments = t2;
  7965. _._namedArguments = t3;
  7966. },
  7967. UnsupportedError: function UnsupportedError(t0) {
  7968. this.message = t0;
  7969. },
  7970. UnimplementedError: function UnimplementedError(t0) {
  7971. this.message = t0;
  7972. },
  7973. StateError: function StateError(t0) {
  7974. this.message = t0;
  7975. },
  7976. ConcurrentModificationError: function ConcurrentModificationError(t0) {
  7977. this.modifiedObject = t0;
  7978. },
  7979. OutOfMemoryError: function OutOfMemoryError() {
  7980. },
  7981. StackOverflowError: function StackOverflowError() {
  7982. },
  7983. _Exception: function _Exception(t0) {
  7984. this.message = t0;
  7985. },
  7986. FormatException: function FormatException(t0, t1, t2) {
  7987. this.message = t0;
  7988. this.source = t1;
  7989. this.offset = t2;
  7990. },
  7991. Iterable: function Iterable() {
  7992. },
  7993. _GeneratorIterable: function _GeneratorIterable(t0, t1, t2) {
  7994. this.length = t0;
  7995. this._generator = t1;
  7996. this.$ti = t2;
  7997. },
  7998. MapEntry: function MapEntry(t0, t1, t2) {
  7999. this.key = t0;
  8000. this.value = t1;
  8001. this.$ti = t2;
  8002. },
  8003. Null: function Null() {
  8004. },
  8005. Object: function Object() {
  8006. },
  8007. _StringStackTrace: function _StringStackTrace(t0) {
  8008. this._stackTrace = t0;
  8009. },
  8010. Runes: function Runes(t0) {
  8011. this.string = t0;
  8012. },
  8013. RuneIterator: function RuneIterator(t0) {
  8014. var _ = this;
  8015. _.string = t0;
  8016. _._nextPosition = _._position = 0;
  8017. _._currentCodePoint = -1;
  8018. },
  8019. StringBuffer: function StringBuffer(t0) {
  8020. this._contents = t0;
  8021. },
  8022. Uri__parseIPv4Address_error: function Uri__parseIPv4Address_error(t0) {
  8023. this.host = t0;
  8024. },
  8025. Uri_parseIPv6Address_error: function Uri_parseIPv6Address_error(t0) {
  8026. this.host = t0;
  8027. },
  8028. Uri_parseIPv6Address_parseHex: function Uri_parseIPv6Address_parseHex(t0, t1) {
  8029. this.error = t0;
  8030. this.host = t1;
  8031. },
  8032. _Uri: function _Uri(t0, t1, t2, t3, t4, t5, t6) {
  8033. var _ = this;
  8034. _.scheme = t0;
  8035. _._userInfo = t1;
  8036. _._host = t2;
  8037. _._port = t3;
  8038. _.path = t4;
  8039. _._query = t5;
  8040. _._fragment = t6;
  8041. _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $;
  8042. },
  8043. _Uri__makePath_closure: function _Uri__makePath_closure() {
  8044. },
  8045. UriData: function UriData(t0, t1, t2) {
  8046. this._text = t0;
  8047. this._separatorIndices = t1;
  8048. this._uriCache = t2;
  8049. },
  8050. _createTables_build: function _createTables_build(t0) {
  8051. this.tables = t0;
  8052. },
  8053. _createTables_setChars: function _createTables_setChars() {
  8054. },
  8055. _createTables_setRange: function _createTables_setRange() {
  8056. },
  8057. _SimpleUri: function _SimpleUri(t0, t1, t2, t3, t4, t5, t6, t7) {
  8058. var _ = this;
  8059. _._uri = t0;
  8060. _._schemeEnd = t1;
  8061. _._hostStart = t2;
  8062. _._portStart = t3;
  8063. _._pathStart = t4;
  8064. _._queryStart = t5;
  8065. _._fragmentStart = t6;
  8066. _._schemeCache = t7;
  8067. _._hashCodeCache = null;
  8068. },
  8069. _DataUri: function _DataUri(t0, t1, t2, t3, t4, t5, t6) {
  8070. var _ = this;
  8071. _.scheme = t0;
  8072. _._userInfo = t1;
  8073. _._host = t2;
  8074. _._port = t3;
  8075. _.path = t4;
  8076. _._query = t5;
  8077. _._fragment = t6;
  8078. _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $;
  8079. },
  8080. Expando: function Expando(t0) {
  8081. this._jsWeakMap = t0;
  8082. },
  8083. _convertDartFunctionFast(f) {
  8084. var ret,
  8085. existing = f.$dart_jsFunction;
  8086. if (existing != null)
  8087. return existing;
  8088. ret = function(_call, f) {
  8089. return function() {
  8090. return _call(f, Array.prototype.slice.apply(arguments));
  8091. };
  8092. }(A._callDartFunctionFast, f);
  8093. ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
  8094. f.$dart_jsFunction = ret;
  8095. return ret;
  8096. },
  8097. _convertDartFunctionFastCaptureThis(f) {
  8098. var ret,
  8099. existing = f._$dart_jsFunctionCaptureThis;
  8100. if (existing != null)
  8101. return existing;
  8102. ret = function(_call, f) {
  8103. return function() {
  8104. return _call(f, this, Array.prototype.slice.apply(arguments));
  8105. };
  8106. }(A._callDartFunctionFastCaptureThis, f);
  8107. ret[$.$get$DART_CLOSURE_PROPERTY_NAME()] = f;
  8108. f._$dart_jsFunctionCaptureThis = ret;
  8109. return ret;
  8110. },
  8111. _callDartFunctionFast(callback, $arguments) {
  8112. return A.Function_apply(callback, $arguments);
  8113. },
  8114. _callDartFunctionFastCaptureThis(callback, $self, $arguments) {
  8115. var t1 = [$self];
  8116. B.JSArray_methods.addAll$1(t1, $arguments);
  8117. return A.Function_apply(callback, t1);
  8118. },
  8119. allowInterop(f) {
  8120. if (typeof f == "function")
  8121. return f;
  8122. else
  8123. return A._convertDartFunctionFast(f);
  8124. },
  8125. allowInteropCaptureThis(f) {
  8126. if (typeof f == "function")
  8127. throw A.wrapException(A.ArgumentError$("Function is already a JS function so cannot capture this.", null));
  8128. else
  8129. return A._convertDartFunctionFastCaptureThis(f);
  8130. },
  8131. _noJsifyRequired(o) {
  8132. return o == null || A._isBool(o) || typeof o == "number" || typeof o == "string" || type$.Int8List._is(o) || type$.Uint8List._is(o) || type$.Uint8ClampedList._is(o) || type$.Int16List._is(o) || type$.Uint16List._is(o) || type$.Int32List._is(o) || type$.Uint32List._is(o) || type$.Float32List._is(o) || type$.Float64List._is(o) || type$.ByteBuffer._is(o) || type$.ByteData._is(o);
  8133. },
  8134. jsify0(object) {
  8135. if (A._noJsifyRequired(object))
  8136. return object;
  8137. return new A.jsify__convert(new A._IdentityHashMap(type$._IdentityHashMap_of_nullable_Object_and_nullable_Object)).call$1(object);
  8138. },
  8139. callConstructor(constr, $arguments) {
  8140. var args, factoryFunction;
  8141. if ($arguments instanceof Array)
  8142. switch ($arguments.length) {
  8143. case 0:
  8144. return new constr();
  8145. case 1:
  8146. return new constr($arguments[0]);
  8147. case 2:
  8148. return new constr($arguments[0], $arguments[1]);
  8149. case 3:
  8150. return new constr($arguments[0], $arguments[1], $arguments[2]);
  8151. case 4:
  8152. return new constr($arguments[0], $arguments[1], $arguments[2], $arguments[3]);
  8153. }
  8154. args = [null];
  8155. B.JSArray_methods.addAll$1(args, $arguments);
  8156. factoryFunction = constr.bind.apply(constr, args);
  8157. String(factoryFunction);
  8158. return new factoryFunction();
  8159. },
  8160. jsify__convert: function jsify__convert(t0) {
  8161. this._convertedObjects = t0;
  8162. },
  8163. max(a, b) {
  8164. return Math.max(a, b);
  8165. },
  8166. pow(x, exponent) {
  8167. return Math.pow(x, exponent);
  8168. },
  8169. Random_Random() {
  8170. return B.C__JSRandom;
  8171. },
  8172. _JSRandom: function _JSRandom() {
  8173. },
  8174. ArgParser: function ArgParser(t0, t1, t2, t3, t4, t5, t6) {
  8175. var _ = this;
  8176. _._arg_parser$_options = t0;
  8177. _._aliases = t1;
  8178. _.options = t2;
  8179. _.commands = t3;
  8180. _._optionsAndSeparators = t4;
  8181. _.allowTrailingOptions = t5;
  8182. _.usageLineLength = t6;
  8183. },
  8184. ArgParser__addOption_closure: function ArgParser__addOption_closure(t0) {
  8185. this.$this = t0;
  8186. },
  8187. ArgParserException$(message, commands) {
  8188. return new A.ArgParserException(commands == null ? B.List_empty : A.List_List$unmodifiable(commands, type$.String), message, null, null);
  8189. },
  8190. ArgParserException: function ArgParserException(t0, t1, t2, t3) {
  8191. var _ = this;
  8192. _.commands = t0;
  8193. _.message = t1;
  8194. _.source = t2;
  8195. _.offset = t3;
  8196. },
  8197. ArgResults: function ArgResults(t0, t1, t2, t3) {
  8198. var _ = this;
  8199. _._parser = t0;
  8200. _._parsed = t1;
  8201. _.name = t2;
  8202. _.rest = t3;
  8203. },
  8204. Option: function Option(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {
  8205. var _ = this;
  8206. _.name = t0;
  8207. _.abbr = t1;
  8208. _.help = t2;
  8209. _.valueHelp = t3;
  8210. _.allowed = t4;
  8211. _.allowedHelp = t5;
  8212. _.defaultsTo = t6;
  8213. _.negatable = t7;
  8214. _.callback = t8;
  8215. _.type = t9;
  8216. _.splitCommas = t10;
  8217. _.mandatory = t11;
  8218. _.hide = t12;
  8219. },
  8220. OptionType: function OptionType(t0) {
  8221. this.name = t0;
  8222. },
  8223. Parser$(_commandName, _grammar, _args, _parent, rest) {
  8224. var t1 = A._setArrayType([], type$.JSArray_String);
  8225. if (rest != null)
  8226. B.JSArray_methods.addAll$1(t1, rest);
  8227. return new A.Parser0(_commandName, _parent, _grammar, _args, t1, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
  8228. },
  8229. _isLetterOrDigit(codeUnit) {
  8230. var t1;
  8231. if (!(codeUnit >= 65 && codeUnit <= 90))
  8232. if (!(codeUnit >= 97 && codeUnit <= 122))
  8233. t1 = codeUnit >= 48 && codeUnit <= 57;
  8234. else
  8235. t1 = true;
  8236. else
  8237. t1 = true;
  8238. return t1;
  8239. },
  8240. Parser0: function Parser0(t0, t1, t2, t3, t4, t5) {
  8241. var _ = this;
  8242. _._commandName = t0;
  8243. _._parser$_parent = t1;
  8244. _._grammar = t2;
  8245. _._args = t3;
  8246. _._parser$_rest = t4;
  8247. _._results = t5;
  8248. },
  8249. Parser_parse_closure: function Parser_parse_closure(t0) {
  8250. this.$this = t0;
  8251. },
  8252. Parser__setOption_closure: function Parser__setOption_closure() {
  8253. },
  8254. _Usage: function _Usage(t0, t1, t2) {
  8255. var _ = this;
  8256. _._usage$_optionsAndSeparators = t0;
  8257. _._usage$_buffer = t1;
  8258. _._currentColumn = 0;
  8259. _.___Usage__columnWidths_FI = $;
  8260. _._newlinesNeeded = 0;
  8261. _.lineLength = t2;
  8262. },
  8263. _Usage__writeOption_closure: function _Usage__writeOption_closure() {
  8264. },
  8265. _Usage__buildAllowedList_closure: function _Usage__buildAllowedList_closure(t0) {
  8266. this.option = t0;
  8267. },
  8268. ErrorResult: function ErrorResult(t0, t1) {
  8269. this.error = t0;
  8270. this.stackTrace = t1;
  8271. },
  8272. ValueResult: function ValueResult(t0, t1) {
  8273. this.value = t0;
  8274. this.$ti = t1;
  8275. },
  8276. StreamCompleter: function StreamCompleter(t0, t1) {
  8277. this._stream_completer$_stream = t0;
  8278. this.$ti = t1;
  8279. },
  8280. _CompleterStream: function _CompleterStream(t0) {
  8281. this._sourceStream = this._stream_completer$_controller = null;
  8282. this.$ti = t0;
  8283. },
  8284. StreamGroup: function StreamGroup(t0, t1, t2) {
  8285. var _ = this;
  8286. _.__StreamGroup__controller_A = $;
  8287. _._closed = false;
  8288. _._stream_group$_state = t0;
  8289. _._subscriptions = t1;
  8290. _.$ti = t2;
  8291. },
  8292. StreamGroup_add_closure: function StreamGroup_add_closure() {
  8293. },
  8294. StreamGroup_add_closure0: function StreamGroup_add_closure0(t0, t1) {
  8295. this.$this = t0;
  8296. this.stream = t1;
  8297. },
  8298. StreamGroup__onListen_closure: function StreamGroup__onListen_closure() {
  8299. },
  8300. StreamGroup__onCancel_closure: function StreamGroup__onCancel_closure(t0) {
  8301. this.$this = t0;
  8302. },
  8303. StreamGroup__listenToStream_closure: function StreamGroup__listenToStream_closure(t0, t1) {
  8304. this.$this = t0;
  8305. this.stream = t1;
  8306. },
  8307. _StreamGroupState: function _StreamGroupState(t0) {
  8308. this.name = t0;
  8309. },
  8310. StreamQueue: function StreamQueue(t0, t1, t2, t3) {
  8311. var _ = this;
  8312. _._stream_queue$_source = t0;
  8313. _._stream_queue$_subscription = null;
  8314. _._isDone = false;
  8315. _._eventsReceived = 0;
  8316. _._eventQueue = t1;
  8317. _._requestQueue = t2;
  8318. _.$ti = t3;
  8319. },
  8320. StreamQueue__ensureListening_closure: function StreamQueue__ensureListening_closure(t0) {
  8321. this.$this = t0;
  8322. },
  8323. StreamQueue__ensureListening_closure1: function StreamQueue__ensureListening_closure1(t0) {
  8324. this.$this = t0;
  8325. },
  8326. StreamQueue__ensureListening_closure0: function StreamQueue__ensureListening_closure0(t0) {
  8327. this.$this = t0;
  8328. },
  8329. _NextRequest: function _NextRequest(t0, t1) {
  8330. this._completer = t0;
  8331. this.$ti = t1;
  8332. },
  8333. isNodeJs() {
  8334. var t1 = self.process;
  8335. if (t1 == null)
  8336. t1 = null;
  8337. else {
  8338. t1 = J.get$release$x(t1);
  8339. t1 = t1 == null ? null : J.get$name$x(t1);
  8340. }
  8341. return J.$eq$(t1, "node");
  8342. },
  8343. isBrowser() {
  8344. return !A.isNodeJs() && self.document != null && typeof self.document.querySelector == "function";
  8345. },
  8346. wrapJSExceptions(callback) {
  8347. var error, error0, error1, error2, t1, exception;
  8348. if (!$.$get$_isStrictMode())
  8349. return callback.call$0();
  8350. try {
  8351. t1 = callback.call$0();
  8352. return t1;
  8353. } catch (exception) {
  8354. t1 = A.unwrapException(exception);
  8355. if (typeof t1 == "string") {
  8356. error = t1;
  8357. throw A.wrapException(error);
  8358. } else if (A._isBool(t1)) {
  8359. error0 = t1;
  8360. throw A.wrapException(error0);
  8361. } else if (typeof t1 == "number") {
  8362. error1 = t1;
  8363. throw A.wrapException(error1);
  8364. } else {
  8365. error2 = t1;
  8366. if (typeof error2 == "symbol" || typeof error2 == "bigint" || error2 == null)
  8367. throw A.wrapException(error2.toString());
  8368. throw exception;
  8369. }
  8370. }
  8371. },
  8372. _isStrictMode_closure: function _isStrictMode_closure() {
  8373. },
  8374. Repl: function Repl(t0, t1, t2, t3) {
  8375. var _ = this;
  8376. _.prompt = t0;
  8377. _.continuation = t1;
  8378. _.validator = t2;
  8379. _.__Repl__adapter_A = $;
  8380. _.history = t3;
  8381. },
  8382. alwaysValid_closure: function alwaysValid_closure() {
  8383. },
  8384. ReplAdapter: function ReplAdapter(t0) {
  8385. this.repl = t0;
  8386. this.rl = null;
  8387. },
  8388. ReplAdapter_runAsync_closure: function ReplAdapter_runAsync_closure(t0, t1, t2, t3) {
  8389. var _ = this;
  8390. _._box_0 = t0;
  8391. _.$this = t1;
  8392. _.rl = t2;
  8393. _.runController = t3;
  8394. },
  8395. ReplAdapter_runAsync__closure: function ReplAdapter_runAsync__closure(t0) {
  8396. this.lineController = t0;
  8397. },
  8398. Stdin: function Stdin() {
  8399. },
  8400. Stdout: function Stdout() {
  8401. },
  8402. ReadlineModule: function ReadlineModule() {
  8403. },
  8404. ReadlineOptions: function ReadlineOptions() {
  8405. },
  8406. ReadlineInterface: function ReadlineInterface() {
  8407. },
  8408. EmptyUnmodifiableSet: function EmptyUnmodifiableSet(t0) {
  8409. this.$ti = t0;
  8410. },
  8411. _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin: function _EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin() {
  8412. },
  8413. DefaultEquality: function DefaultEquality() {
  8414. },
  8415. IterableEquality: function IterableEquality() {
  8416. },
  8417. ListEquality: function ListEquality() {
  8418. },
  8419. _MapEntry: function _MapEntry(t0, t1, t2) {
  8420. this.equality = t0;
  8421. this.key = t1;
  8422. this.value = t2;
  8423. },
  8424. MapEquality: function MapEquality() {
  8425. },
  8426. QueueList$(initialCapacity, $E) {
  8427. 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>"));
  8428. },
  8429. QueueList_QueueList$from(source, $E) {
  8430. var $length, queue, t1;
  8431. if (type$.List_dynamic._is(source)) {
  8432. $length = J.get$length$asx(source);
  8433. queue = A.QueueList$($length + 1, $E);
  8434. J.setRange$4$ax(queue._queue_list$_table, 0, $length, source, 0);
  8435. queue._queue_list$_tail = $length;
  8436. return queue;
  8437. } else {
  8438. t1 = A.QueueList$(null, $E);
  8439. t1.addAll$1(0, source);
  8440. return t1;
  8441. }
  8442. },
  8443. QueueList__computeInitialCapacity(initialCapacity) {
  8444. if (initialCapacity == null || initialCapacity < 8)
  8445. return 8;
  8446. ++initialCapacity;
  8447. if ((initialCapacity & initialCapacity - 1) >>> 0 === 0)
  8448. return initialCapacity;
  8449. return A.QueueList__nextPowerOf2(initialCapacity);
  8450. },
  8451. QueueList__nextPowerOf2(number) {
  8452. var nextNumber;
  8453. number = (number << 1 >>> 0) - 1;
  8454. for (; true; number = nextNumber) {
  8455. nextNumber = (number & number - 1) >>> 0;
  8456. if (nextNumber === 0)
  8457. return number;
  8458. }
  8459. },
  8460. QueueList: function QueueList(t0, t1, t2, t3) {
  8461. var _ = this;
  8462. _._queue_list$_table = t0;
  8463. _._queue_list$_head = t1;
  8464. _._queue_list$_tail = t2;
  8465. _.$ti = t3;
  8466. },
  8467. _CastQueueList: function _CastQueueList(t0, t1, t2, t3, t4) {
  8468. var _ = this;
  8469. _._queue_list$_delegate = t0;
  8470. _._queue_list$_table = t1;
  8471. _._queue_list$_head = t2;
  8472. _._queue_list$_tail = t3;
  8473. _.$ti = t4;
  8474. },
  8475. _QueueList_Object_ListMixin: function _QueueList_Object_ListMixin() {
  8476. },
  8477. UnionSet: function UnionSet(t0, t1) {
  8478. this._sets = t0;
  8479. this.$ti = t1;
  8480. },
  8481. UnionSet__iterable_closure: function UnionSet__iterable_closure(t0) {
  8482. this.$this = t0;
  8483. },
  8484. UnionSet_contains_closure: function UnionSet_contains_closure(t0, t1) {
  8485. this.$this = t0;
  8486. this.element = t1;
  8487. },
  8488. _UnionSet_SetBase_UnmodifiableSetMixin: function _UnionSet_SetBase_UnmodifiableSetMixin() {
  8489. },
  8490. UnmodifiableSetMixin__throw() {
  8491. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable Set"));
  8492. },
  8493. UnmodifiableSetView0: function UnmodifiableSetView0(t0, t1) {
  8494. this._base = t0;
  8495. this.$ti = t1;
  8496. },
  8497. UnmodifiableSetMixin: function UnmodifiableSetMixin() {
  8498. },
  8499. _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin: function _UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin() {
  8500. },
  8501. _DelegatingIterableBase: function _DelegatingIterableBase() {
  8502. },
  8503. DelegatingSet: function DelegatingSet(t0, t1) {
  8504. this._base = t0;
  8505. this.$ti = t1;
  8506. },
  8507. MapKeySet: function MapKeySet(t0, t1) {
  8508. this._baseMap = t0;
  8509. this.$ti = t1;
  8510. },
  8511. MapKeySet_difference_closure: function MapKeySet_difference_closure(t0, t1) {
  8512. this.$this = t0;
  8513. this.other = t1;
  8514. },
  8515. _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin: function _MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin() {
  8516. },
  8517. BufferModule: function BufferModule() {
  8518. },
  8519. BufferConstants: function BufferConstants() {
  8520. },
  8521. Buffer: function Buffer() {
  8522. },
  8523. ConsoleModule: function ConsoleModule() {
  8524. },
  8525. Console: function Console() {
  8526. },
  8527. EventEmitter: function EventEmitter() {
  8528. },
  8529. fs() {
  8530. var t1 = $._fs;
  8531. return t1 == null ? $._fs = self.fs : t1;
  8532. },
  8533. FS: function FS() {
  8534. },
  8535. FSConstants: function FSConstants() {
  8536. },
  8537. FSWatcher: function FSWatcher() {
  8538. },
  8539. ReadStream: function ReadStream() {
  8540. },
  8541. ReadStreamOptions: function ReadStreamOptions() {
  8542. },
  8543. WriteStream: function WriteStream() {
  8544. },
  8545. WriteStreamOptions: function WriteStreamOptions() {
  8546. },
  8547. FileOptions: function FileOptions() {
  8548. },
  8549. StatOptions: function StatOptions() {
  8550. },
  8551. MkdirOptions: function MkdirOptions() {
  8552. },
  8553. RmdirOptions: function RmdirOptions() {
  8554. },
  8555. WatchOptions: function WatchOptions() {
  8556. },
  8557. WatchFileOptions: function WatchFileOptions() {
  8558. },
  8559. Stats: function Stats() {
  8560. },
  8561. Promise: function Promise() {
  8562. },
  8563. Date: function Date() {
  8564. },
  8565. JsError: function JsError() {
  8566. },
  8567. Atomics: function Atomics() {
  8568. },
  8569. Modules: function Modules() {
  8570. },
  8571. Module: function Module() {
  8572. },
  8573. Net: function Net() {
  8574. },
  8575. Socket: function Socket() {
  8576. },
  8577. NetAddress: function NetAddress() {
  8578. },
  8579. NetServer: function NetServer() {
  8580. },
  8581. NodeJsError: function NodeJsError() {
  8582. },
  8583. JsAssertionError: function JsAssertionError() {
  8584. },
  8585. JsRangeError: function JsRangeError() {
  8586. },
  8587. JsReferenceError: function JsReferenceError() {
  8588. },
  8589. JsSyntaxError: function JsSyntaxError() {
  8590. },
  8591. JsTypeError: function JsTypeError() {
  8592. },
  8593. JsSystemError: function JsSystemError() {
  8594. },
  8595. Process: function Process() {
  8596. },
  8597. CPUUsage: function CPUUsage() {
  8598. },
  8599. Release: function Release() {
  8600. },
  8601. StreamModule: function StreamModule() {
  8602. },
  8603. Readable: function Readable() {
  8604. },
  8605. Writable: function Writable() {
  8606. },
  8607. Duplex: function Duplex() {
  8608. },
  8609. Transform: function Transform() {
  8610. },
  8611. WritableOptions: function WritableOptions() {
  8612. },
  8613. ReadableOptions: function ReadableOptions() {
  8614. },
  8615. Immediate: function Immediate() {
  8616. },
  8617. Timeout: function Timeout() {
  8618. },
  8619. TTY: function TTY() {
  8620. },
  8621. TTYReadStream: function TTYReadStream() {
  8622. },
  8623. TTYWriteStream: function TTYWriteStream() {
  8624. },
  8625. jsify(dartObject) {
  8626. if (A._isBasicType(dartObject))
  8627. return dartObject;
  8628. return A.jsify0(dartObject);
  8629. },
  8630. _isBasicType(value) {
  8631. var t1 = false;
  8632. if (t1)
  8633. return true;
  8634. return false;
  8635. },
  8636. promiseToFuture(promise, $T) {
  8637. var t1 = new A._Future($.Zone__current, $T._eval$1("_Future<0>")),
  8638. completer = new A._SyncCompleter(t1, $T._eval$1("_SyncCompleter<0>"));
  8639. J.then$2$x(promise, A.allowInterop(new A.promiseToFuture_closure(completer)), A.allowInterop(new A.promiseToFuture_closure0(completer)));
  8640. return t1;
  8641. },
  8642. futureToPromise(future, $T) {
  8643. return new self.Promise(A.allowInterop(new A.futureToPromise_closure(future, $T)));
  8644. },
  8645. Util: function Util() {
  8646. },
  8647. promiseToFuture_closure: function promiseToFuture_closure(t0) {
  8648. this.completer = t0;
  8649. },
  8650. promiseToFuture_closure0: function promiseToFuture_closure0(t0) {
  8651. this.completer = t0;
  8652. },
  8653. futureToPromise_closure: function futureToPromise_closure(t0, t1) {
  8654. this.future = t0;
  8655. this.T = t1;
  8656. },
  8657. futureToPromise__closure: function futureToPromise__closure(t0, t1) {
  8658. this.resolve = t0;
  8659. this.T = t1;
  8660. },
  8661. Context_Context(style) {
  8662. return new A.Context(style, ".");
  8663. },
  8664. _parseUri(uri) {
  8665. if (typeof uri == "string")
  8666. return A.Uri_parse(uri);
  8667. if (type$.Uri._is(uri))
  8668. return uri;
  8669. throw A.wrapException(A.ArgumentError$value(uri, "uri", "Value must be a String or a Uri"));
  8670. },
  8671. _validateArgList(method, args) {
  8672. var numArgs, i, numArgs0, message, t1, t2, t3, t4;
  8673. for (numArgs = args.length, i = 1; i < numArgs; ++i) {
  8674. if (args[i] == null || args[i - 1] != null)
  8675. continue;
  8676. for (; numArgs >= 1; numArgs = numArgs0) {
  8677. numArgs0 = numArgs - 1;
  8678. if (args[numArgs0] != null)
  8679. break;
  8680. }
  8681. message = new A.StringBuffer("");
  8682. t1 = "" + (method + "(");
  8683. message._contents = t1;
  8684. t2 = A._arrayInstanceType(args);
  8685. t3 = t2._eval$1("SubListIterable<1>");
  8686. t4 = new A.SubListIterable(args, 0, numArgs, t3);
  8687. t4.SubListIterable$3(args, 0, numArgs, t2._precomputed1);
  8688. t3 = t1 + new A.MappedListIterable(t4, new A._validateArgList_closure(), t3._eval$1("MappedListIterable<ListIterable.E,String>")).join$1(0, ", ");
  8689. message._contents = t3;
  8690. message._contents = t3 + ("): part " + (i - 1) + " was null, but part " + i + " was not.");
  8691. throw A.wrapException(A.ArgumentError$(message.toString$0(0), null));
  8692. }
  8693. },
  8694. Context: function Context(t0, t1) {
  8695. this.style = t0;
  8696. this._context$_current = t1;
  8697. },
  8698. Context_joinAll_closure: function Context_joinAll_closure() {
  8699. },
  8700. Context_split_closure: function Context_split_closure() {
  8701. },
  8702. _validateArgList_closure: function _validateArgList_closure() {
  8703. },
  8704. _PathDirection: function _PathDirection(t0) {
  8705. this.name = t0;
  8706. },
  8707. _PathRelation: function _PathRelation(t0) {
  8708. this.name = t0;
  8709. },
  8710. InternalStyle: function InternalStyle() {
  8711. },
  8712. ParsedPath_ParsedPath$parse(path, style) {
  8713. var t1, parts, separators, start, i,
  8714. root = style.getRoot$1(path),
  8715. isRootRelative = style.isRootRelative$1(path);
  8716. if (root != null)
  8717. path = B.JSString_methods.substring$1(path, root.length);
  8718. t1 = type$.JSArray_String;
  8719. parts = A._setArrayType([], t1);
  8720. separators = A._setArrayType([], t1);
  8721. t1 = path.length;
  8722. if (t1 !== 0 && style.isSeparator$1(path.charCodeAt(0))) {
  8723. separators.push(path[0]);
  8724. start = 1;
  8725. } else {
  8726. separators.push("");
  8727. start = 0;
  8728. }
  8729. for (i = start; i < t1; ++i)
  8730. if (style.isSeparator$1(path.charCodeAt(i))) {
  8731. parts.push(B.JSString_methods.substring$2(path, start, i));
  8732. separators.push(path[i]);
  8733. start = i + 1;
  8734. }
  8735. if (start < t1) {
  8736. parts.push(B.JSString_methods.substring$1(path, start));
  8737. separators.push("");
  8738. }
  8739. return new A.ParsedPath(style, root, isRootRelative, parts, separators);
  8740. },
  8741. ParsedPath: function ParsedPath(t0, t1, t2, t3, t4) {
  8742. var _ = this;
  8743. _.style = t0;
  8744. _.root = t1;
  8745. _.isRootRelative = t2;
  8746. _.parts = t3;
  8747. _.separators = t4;
  8748. },
  8749. ParsedPath__splitExtension_closure: function ParsedPath__splitExtension_closure() {
  8750. },
  8751. ParsedPath__splitExtension_closure0: function ParsedPath__splitExtension_closure0() {
  8752. },
  8753. PathException$(message) {
  8754. return new A.PathException(message);
  8755. },
  8756. PathException: function PathException(t0) {
  8757. this.message = t0;
  8758. },
  8759. PathMap__create(context, $V) {
  8760. var t1 = {};
  8761. t1.context = context;
  8762. t1.context = $.$get$context();
  8763. 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);
  8764. },
  8765. PathMap: function PathMap(t0, t1) {
  8766. this._map = t0;
  8767. this.$ti = t1;
  8768. },
  8769. PathMap__create_closure: function PathMap__create_closure(t0) {
  8770. this._box_0 = t0;
  8771. },
  8772. PathMap__create_closure0: function PathMap__create_closure0(t0) {
  8773. this._box_0 = t0;
  8774. },
  8775. PathMap__create_closure1: function PathMap__create_closure1() {
  8776. },
  8777. Style__getPlatformStyle() {
  8778. if (A.Uri_base().get$scheme() !== "file")
  8779. return $.$get$Style_url();
  8780. var t1 = A.Uri_base();
  8781. if (!B.JSString_methods.endsWith$1(t1.get$path(t1), "/"))
  8782. return $.$get$Style_url();
  8783. if (A._Uri__Uri(null, "a/b", null, null).toFilePath$0() === "a\\b")
  8784. return $.$get$Style_windows();
  8785. return $.$get$Style_posix();
  8786. },
  8787. Style: function Style() {
  8788. },
  8789. PosixStyle: function PosixStyle(t0, t1, t2) {
  8790. this.separatorPattern = t0;
  8791. this.needsSeparatorPattern = t1;
  8792. this.rootPattern = t2;
  8793. },
  8794. UrlStyle: function UrlStyle(t0, t1, t2, t3) {
  8795. var _ = this;
  8796. _.separatorPattern = t0;
  8797. _.needsSeparatorPattern = t1;
  8798. _.rootPattern = t2;
  8799. _.relativeRootPattern = t3;
  8800. },
  8801. WindowsStyle: function WindowsStyle(t0, t1, t2, t3) {
  8802. var _ = this;
  8803. _.separatorPattern = t0;
  8804. _.needsSeparatorPattern = t1;
  8805. _.rootPattern = t2;
  8806. _.relativeRootPattern = t3;
  8807. },
  8808. WindowsStyle_absolutePathToUri_closure: function WindowsStyle_absolutePathToUri_closure() {
  8809. },
  8810. Version$_(major, minor, patch, preRelease, build, _text) {
  8811. var t1 = preRelease == null ? A._setArrayType([], type$.JSArray_Object) : A.Version__splitParts(preRelease),
  8812. t2 = build == null ? A._setArrayType([], type$.JSArray_Object) : A.Version__splitParts(build);
  8813. if (major < 0)
  8814. A.throwExpression(A.ArgumentError$("Major version must be non-negative.", null));
  8815. if (minor < 0)
  8816. A.throwExpression(A.ArgumentError$("Minor version must be non-negative.", null));
  8817. if (patch < 0)
  8818. A.throwExpression(A.ArgumentError$("Patch version must be non-negative.", null));
  8819. return new A.Version(major, minor, patch, t1, t2, _text);
  8820. },
  8821. Version___parse_tearOff(text) {
  8822. return A.Version_Version$parse(text);
  8823. },
  8824. Version_Version$parse(text) {
  8825. var major, minor, patch, preRelease, build, t1, exception, _null = null,
  8826. _s17_ = 'Could not parse "',
  8827. match = $.$get$completeVersion().firstMatch$1(text);
  8828. if (match == null)
  8829. throw A.wrapException(A.FormatException$(_s17_ + text + '".', _null, _null));
  8830. try {
  8831. t1 = match._match[1];
  8832. t1.toString;
  8833. major = A.int_parse(t1, _null);
  8834. t1 = match._match[2];
  8835. t1.toString;
  8836. minor = A.int_parse(t1, _null);
  8837. t1 = match._match[3];
  8838. t1.toString;
  8839. patch = A.int_parse(t1, _null);
  8840. preRelease = match._match[5];
  8841. build = match._match[8];
  8842. t1 = A.Version$_(major, minor, patch, preRelease, build, text);
  8843. return t1;
  8844. } catch (exception) {
  8845. if (type$.FormatException._is(A.unwrapException(exception)))
  8846. throw A.wrapException(A.FormatException$(_s17_ + text + '".', _null, _null));
  8847. else
  8848. throw exception;
  8849. }
  8850. },
  8851. Version__splitParts(text) {
  8852. var t1 = type$.MappedListIterable_String_Object;
  8853. return A.List_List$of(new A.MappedListIterable(A._setArrayType(text.split("."), type$.JSArray_String), new A.Version__splitParts_closure(), t1), true, t1._eval$1("ListIterable.E"));
  8854. },
  8855. Version: function Version(t0, t1, t2, t3, t4, t5) {
  8856. var _ = this;
  8857. _.major = t0;
  8858. _.minor = t1;
  8859. _.patch = t2;
  8860. _.preRelease = t3;
  8861. _.build = t4;
  8862. _._version$_text = t5;
  8863. },
  8864. Version__splitParts_closure: function Version__splitParts_closure() {
  8865. },
  8866. VersionRange: function VersionRange(t0, t1, t2, t3) {
  8867. var _ = this;
  8868. _.min = t0;
  8869. _.max = t1;
  8870. _.includeMin = t2;
  8871. _.includeMax = t3;
  8872. },
  8873. CssMediaQuery_parseList(contents, interpolationMap, logger) {
  8874. var t1 = A.SpanScanner$(contents, null);
  8875. return new A.MediaQueryParser(t1, logger, interpolationMap).parse$0();
  8876. },
  8877. CssMediaQuery$type(type, conditions, modifier) {
  8878. return new A.CssMediaQuery(modifier, type, true, conditions == null ? B.List_empty : A.List_List$unmodifiable(conditions, type$.String));
  8879. },
  8880. CssMediaQuery$condition(conditions, conjunction) {
  8881. var t1 = A.List_List$unmodifiable(conditions, type$.String);
  8882. if (t1.length > 1 && conjunction == null)
  8883. A.throwExpression(A.ArgumentError$(string$.If_con, null));
  8884. return new A.CssMediaQuery(null, null, conjunction !== false, t1);
  8885. },
  8886. CssMediaQuery: function CssMediaQuery(t0, t1, t2, t3) {
  8887. var _ = this;
  8888. _.modifier = t0;
  8889. _.type = t1;
  8890. _.conjunction = t2;
  8891. _.conditions = t3;
  8892. },
  8893. _SingletonCssMediaQueryMergeResult: function _SingletonCssMediaQueryMergeResult(t0) {
  8894. this._name = t0;
  8895. },
  8896. MediaQuerySuccessfulMergeResult: function MediaQuerySuccessfulMergeResult(t0) {
  8897. this.query = t0;
  8898. },
  8899. ModifiableCssAtRule$($name, span, childless, value) {
  8900. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  8901. return new A.ModifiableCssAtRule($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  8902. },
  8903. ModifiableCssAtRule: function ModifiableCssAtRule(t0, t1, t2, t3, t4, t5) {
  8904. var _ = this;
  8905. _.name = t0;
  8906. _.value = t1;
  8907. _.isChildless = t2;
  8908. _.span = t3;
  8909. _.children = t4;
  8910. _._children = t5;
  8911. _._indexInParent = _._parent = null;
  8912. _.isGroupEnd = false;
  8913. },
  8914. ModifiableCssComment: function ModifiableCssComment(t0, t1) {
  8915. var _ = this;
  8916. _.text = t0;
  8917. _.span = t1;
  8918. _._indexInParent = _._parent = null;
  8919. _.isGroupEnd = false;
  8920. },
  8921. ModifiableCssDeclaration$($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
  8922. var t2,
  8923. t1 = valueSpanForMap == null ? value.span : valueSpanForMap;
  8924. if (parsedAsCustomProperty)
  8925. if (!J.startsWith$1$s($name.value, "--"))
  8926. A.throwExpression(A.ArgumentError$(string$.parsed, null));
  8927. else {
  8928. t2 = value.value;
  8929. if (!(t2 instanceof A.SassString))
  8930. A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeTypeOfDartObject(t2).toString$0(0) + ").", null));
  8931. }
  8932. return new A.ModifiableCssDeclaration($name, value, parsedAsCustomProperty, t1, span);
  8933. },
  8934. ModifiableCssDeclaration: function ModifiableCssDeclaration(t0, t1, t2, t3, t4) {
  8935. var _ = this;
  8936. _.name = t0;
  8937. _.value = t1;
  8938. _.parsedAsCustomProperty = t2;
  8939. _.valueSpanForMap = t3;
  8940. _.span = t4;
  8941. _._indexInParent = _._parent = null;
  8942. _.isGroupEnd = false;
  8943. },
  8944. ModifiableCssImport: function ModifiableCssImport(t0, t1, t2) {
  8945. var _ = this;
  8946. _.url = t0;
  8947. _.modifiers = t1;
  8948. _.span = t2;
  8949. _._indexInParent = _._parent = null;
  8950. _.isGroupEnd = false;
  8951. },
  8952. ModifiableCssKeyframeBlock$(selector, span) {
  8953. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  8954. return new A.ModifiableCssKeyframeBlock(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  8955. },
  8956. ModifiableCssKeyframeBlock: function ModifiableCssKeyframeBlock(t0, t1, t2, t3) {
  8957. var _ = this;
  8958. _.selector = t0;
  8959. _.span = t1;
  8960. _.children = t2;
  8961. _._children = t3;
  8962. _._indexInParent = _._parent = null;
  8963. _.isGroupEnd = false;
  8964. },
  8965. ModifiableCssMediaRule$(queries, span) {
  8966. var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery),
  8967. t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  8968. if (J.get$isEmpty$asx(queries))
  8969. A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
  8970. return new A.ModifiableCssMediaRule(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode), t2);
  8971. },
  8972. ModifiableCssMediaRule: function ModifiableCssMediaRule(t0, t1, t2, t3) {
  8973. var _ = this;
  8974. _.queries = t0;
  8975. _.span = t1;
  8976. _.children = t2;
  8977. _._children = t3;
  8978. _._indexInParent = _._parent = null;
  8979. _.isGroupEnd = false;
  8980. },
  8981. ModifiableCssNode: function ModifiableCssNode() {
  8982. },
  8983. ModifiableCssNode_hasFollowingSibling_closure: function ModifiableCssNode_hasFollowingSibling_closure() {
  8984. },
  8985. ModifiableCssParentNode: function ModifiableCssParentNode() {
  8986. },
  8987. ModifiableCssStyleRule$(_selector, span, originalSelector) {
  8988. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  8989. return new A.ModifiableCssStyleRule(_selector, originalSelector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  8990. },
  8991. ModifiableCssStyleRule: function ModifiableCssStyleRule(t0, t1, t2, t3, t4) {
  8992. var _ = this;
  8993. _._style_rule$_selector = t0;
  8994. _.originalSelector = t1;
  8995. _.span = t2;
  8996. _.children = t3;
  8997. _._children = t4;
  8998. _._indexInParent = _._parent = null;
  8999. _.isGroupEnd = false;
  9000. },
  9001. ModifiableCssStylesheet$(span) {
  9002. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9003. return new A.ModifiableCssStylesheet(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9004. },
  9005. ModifiableCssStylesheet: function ModifiableCssStylesheet(t0, t1, t2) {
  9006. var _ = this;
  9007. _.span = t0;
  9008. _.children = t1;
  9009. _._children = t2;
  9010. _._indexInParent = _._parent = null;
  9011. _.isGroupEnd = false;
  9012. },
  9013. ModifiableCssSupportsRule$(condition, span) {
  9014. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode);
  9015. return new A.ModifiableCssSupportsRule(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode), t1);
  9016. },
  9017. ModifiableCssSupportsRule: function ModifiableCssSupportsRule(t0, t1, t2, t3) {
  9018. var _ = this;
  9019. _.condition = t0;
  9020. _.span = t1;
  9021. _.children = t2;
  9022. _._children = t3;
  9023. _._indexInParent = _._parent = null;
  9024. _.isGroupEnd = false;
  9025. },
  9026. CssNode: function CssNode() {
  9027. },
  9028. CssParentNode: function CssParentNode() {
  9029. },
  9030. _IsInvisibleVisitor: function _IsInvisibleVisitor(t0, t1) {
  9031. this.includeBogus = t0;
  9032. this.includeComments = t1;
  9033. },
  9034. __IsInvisibleVisitor_Object_EveryCssVisitor: function __IsInvisibleVisitor_Object_EveryCssVisitor() {
  9035. },
  9036. CssStylesheet: function CssStylesheet(t0, t1) {
  9037. this.children = t0;
  9038. this.span = t1;
  9039. },
  9040. CssValue: function CssValue(t0, t1, t2) {
  9041. this.value = t0;
  9042. this.span = t1;
  9043. this.$ti = t2;
  9044. },
  9045. _FakeAstNode: function _FakeAstNode(t0) {
  9046. this._callback = t0;
  9047. },
  9048. Argument: function Argument(t0, t1, t2) {
  9049. this.name = t0;
  9050. this.defaultValue = t1;
  9051. this.span = t2;
  9052. },
  9053. ArgumentDeclaration_ArgumentDeclaration$parse(contents, url) {
  9054. return A.ScssParser$(contents, null, url).parseArgumentDeclaration$0();
  9055. },
  9056. ArgumentDeclaration: function ArgumentDeclaration(t0, t1, t2) {
  9057. this.$arguments = t0;
  9058. this.restArgument = t1;
  9059. this.span = t2;
  9060. },
  9061. ArgumentDeclaration_verify_closure: function ArgumentDeclaration_verify_closure() {
  9062. },
  9063. ArgumentDeclaration_verify_closure0: function ArgumentDeclaration_verify_closure0() {
  9064. },
  9065. ArgumentInvocation$empty(span) {
  9066. return new A.ArgumentInvocation(B.List_empty9, B.Map_empty6, null, null, span);
  9067. },
  9068. ArgumentInvocation: function ArgumentInvocation(t0, t1, t2, t3, t4) {
  9069. var _ = this;
  9070. _.positional = t0;
  9071. _.named = t1;
  9072. _.rest = t2;
  9073. _.keywordRest = t3;
  9074. _.span = t4;
  9075. },
  9076. AtRootQuery: function AtRootQuery(t0, t1, t2, t3) {
  9077. var _ = this;
  9078. _.include = t0;
  9079. _.names = t1;
  9080. _._all = t2;
  9081. _._at_root_query$_rule = t3;
  9082. },
  9083. ConfiguredVariable: function ConfiguredVariable(t0, t1, t2, t3) {
  9084. var _ = this;
  9085. _.name = t0;
  9086. _.expression = t1;
  9087. _.isGuarded = t2;
  9088. _.span = t3;
  9089. },
  9090. _IsCalculationSafeVisitor: function _IsCalculationSafeVisitor() {
  9091. },
  9092. _IsCalculationSafeVisitor_visitListExpression_closure: function _IsCalculationSafeVisitor_visitListExpression_closure(t0) {
  9093. this.$this = t0;
  9094. },
  9095. BinaryOperationExpression: function BinaryOperationExpression(t0, t1, t2, t3) {
  9096. var _ = this;
  9097. _.operator = t0;
  9098. _.left = t1;
  9099. _.right = t2;
  9100. _.allowsSlash = t3;
  9101. },
  9102. BinaryOperator: function BinaryOperator(t0, t1, t2, t3, t4) {
  9103. var _ = this;
  9104. _.name = t0;
  9105. _.operator = t1;
  9106. _.precedence = t2;
  9107. _.isAssociative = t3;
  9108. _._name = t4;
  9109. },
  9110. BooleanExpression: function BooleanExpression(t0, t1) {
  9111. this.value = t0;
  9112. this.span = t1;
  9113. },
  9114. ColorExpression: function ColorExpression(t0, t1) {
  9115. this.value = t0;
  9116. this.span = t1;
  9117. },
  9118. FunctionExpression: function FunctionExpression(t0, t1, t2, t3) {
  9119. var _ = this;
  9120. _.namespace = t0;
  9121. _.originalName = t1;
  9122. _.$arguments = t2;
  9123. _.span = t3;
  9124. },
  9125. IfExpression: function IfExpression(t0, t1) {
  9126. this.$arguments = t0;
  9127. this.span = t1;
  9128. },
  9129. InterpolatedFunctionExpression: function InterpolatedFunctionExpression(t0, t1, t2) {
  9130. this.name = t0;
  9131. this.$arguments = t1;
  9132. this.span = t2;
  9133. },
  9134. ListExpression: function ListExpression(t0, t1, t2, t3) {
  9135. var _ = this;
  9136. _.contents = t0;
  9137. _.separator = t1;
  9138. _.hasBrackets = t2;
  9139. _.span = t3;
  9140. },
  9141. ListExpression_toString_closure: function ListExpression_toString_closure(t0) {
  9142. this.$this = t0;
  9143. },
  9144. ListExpression__elementNeedsParens_closure: function ListExpression__elementNeedsParens_closure(t0) {
  9145. this._0_0 = t0;
  9146. },
  9147. MapExpression: function MapExpression(t0, t1) {
  9148. this.pairs = t0;
  9149. this.span = t1;
  9150. },
  9151. NullExpression: function NullExpression(t0) {
  9152. this.span = t0;
  9153. },
  9154. NumberExpression: function NumberExpression(t0, t1, t2) {
  9155. this.value = t0;
  9156. this.unit = t1;
  9157. this.span = t2;
  9158. },
  9159. ParenthesizedExpression: function ParenthesizedExpression(t0, t1) {
  9160. this.expression = t0;
  9161. this.span = t1;
  9162. },
  9163. SelectorExpression: function SelectorExpression(t0) {
  9164. this.span = t0;
  9165. },
  9166. StringExpression_quoteText(text) {
  9167. var t1,
  9168. quote = A.StringExpression__bestQuote(A._setArrayType([text], type$.JSArray_String)),
  9169. buffer = new A.StringBuffer("");
  9170. buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
  9171. A.StringExpression__quoteInnerText(text, quote, buffer, true);
  9172. t1 = buffer._contents += A.Primitives_stringFromCharCode(quote);
  9173. return t1.charCodeAt(0) == 0 ? t1 : t1;
  9174. },
  9175. StringExpression__quoteInnerText(text, quote, buffer, $static) {
  9176. var t1, t2, i, _1_0, _0_0, t3, t4;
  9177. for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
  9178. _1_0 = text.charCodeAt(i);
  9179. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  9180. buffer.writeCharCode$1(92);
  9181. buffer.writeCharCode$1(97);
  9182. if (i !== t2) {
  9183. _0_0 = text.charCodeAt(i + 1);
  9184. if (!(_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12))
  9185. if (!(_0_0 >= 48 && _0_0 <= 57))
  9186. if (!(_0_0 >= 97 && _0_0 <= 102))
  9187. t3 = _0_0 >= 65 && _0_0 <= 70;
  9188. else
  9189. t3 = true;
  9190. else
  9191. t3 = true;
  9192. else
  9193. t3 = true;
  9194. if (t3)
  9195. buffer.writeCharCode$1(32);
  9196. }
  9197. continue;
  9198. }
  9199. if (92 === _1_0) {
  9200. t3 = _1_0;
  9201. t4 = true;
  9202. } else {
  9203. t3 = null;
  9204. t4 = false;
  9205. }
  9206. if (!t4) {
  9207. if (_1_0 === quote) {
  9208. t3 = _1_0;
  9209. t4 = true;
  9210. } else
  9211. t4 = false;
  9212. if (!t4)
  9213. if (35 === _1_0)
  9214. if ($static)
  9215. if (i < t2)
  9216. if (text.charCodeAt(i + 1) === 123) {
  9217. t3 = _1_0;
  9218. t4 = true;
  9219. } else
  9220. t4 = false;
  9221. else
  9222. t4 = false;
  9223. else
  9224. t4 = false;
  9225. else
  9226. t4 = false;
  9227. else
  9228. t4 = true;
  9229. } else
  9230. t4 = true;
  9231. if (t4) {
  9232. buffer.writeCharCode$1(92);
  9233. buffer.writeCharCode$1(t3);
  9234. continue;
  9235. }
  9236. buffer.writeCharCode$1(_1_0);
  9237. }
  9238. },
  9239. StringExpression__bestQuote(strings) {
  9240. var t1, containsDoubleQuote, t2, t3, t4;
  9241. for (t1 = J.get$iterator$ax(strings), containsDoubleQuote = false; t1.moveNext$0();)
  9242. for (t2 = new A.CodeUnits(t1.get$current(t1)), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  9243. t4 = t2.__internal$_current;
  9244. if (t4 == null)
  9245. t4 = t3._as(t4);
  9246. if (t4 === 39)
  9247. return 34;
  9248. if (t4 === 34)
  9249. containsDoubleQuote = true;
  9250. }
  9251. return containsDoubleQuote ? 39 : 34;
  9252. },
  9253. StringExpression: function StringExpression(t0, t1) {
  9254. this.text = t0;
  9255. this.hasQuotes = t1;
  9256. },
  9257. SupportsExpression: function SupportsExpression(t0) {
  9258. this.condition = t0;
  9259. },
  9260. UnaryOperationExpression: function UnaryOperationExpression(t0, t1, t2) {
  9261. this.operator = t0;
  9262. this.operand = t1;
  9263. this.span = t2;
  9264. },
  9265. UnaryOperator: function UnaryOperator(t0, t1, t2) {
  9266. this.name = t0;
  9267. this.operator = t1;
  9268. this._name = t2;
  9269. },
  9270. ValueExpression: function ValueExpression(t0, t1) {
  9271. this.value = t0;
  9272. this.span = t1;
  9273. },
  9274. VariableExpression: function VariableExpression(t0, t1, t2) {
  9275. this.namespace = t0;
  9276. this.name = t1;
  9277. this.span = t2;
  9278. },
  9279. DynamicImport: function DynamicImport(t0, t1) {
  9280. this.urlString = t0;
  9281. this.span = t1;
  9282. },
  9283. StaticImport: function StaticImport(t0, t1, t2) {
  9284. this.url = t0;
  9285. this.modifiers = t1;
  9286. this.span = t2;
  9287. },
  9288. Interpolation$(contents, span) {
  9289. var t1 = new A.Interpolation(A.List_List$unmodifiable(contents, type$.Object), span);
  9290. t1.Interpolation$2(contents, span);
  9291. return t1;
  9292. },
  9293. Interpolation: function Interpolation(t0, t1) {
  9294. this.contents = t0;
  9295. this.span = t1;
  9296. },
  9297. Interpolation_asPlain_closure: function Interpolation_asPlain_closure(t0) {
  9298. this._0_0 = t0;
  9299. },
  9300. Interpolation_asPlain_closure0: function Interpolation_asPlain_closure0(t0) {
  9301. this._0_0 = t0;
  9302. },
  9303. Interpolation_initialPlain_closure: function Interpolation_initialPlain_closure(t0) {
  9304. this._0_0 = t0;
  9305. },
  9306. Interpolation_toString_closure: function Interpolation_toString_closure() {
  9307. },
  9308. AtRootRule$(children, span, query) {
  9309. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9310. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9311. return new A.AtRootRule(query, span, t1, t2);
  9312. },
  9313. AtRootRule: function AtRootRule(t0, t1, t2, t3) {
  9314. var _ = this;
  9315. _.query = t0;
  9316. _.span = t1;
  9317. _.children = t2;
  9318. _.hasDeclarations = t3;
  9319. },
  9320. AtRule$($name, span, children, value) {
  9321. var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement),
  9322. t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9323. return new A.AtRule($name, value, span, t1, t2 === true);
  9324. },
  9325. AtRule: function AtRule(t0, t1, t2, t3, t4) {
  9326. var _ = this;
  9327. _.name = t0;
  9328. _.value = t1;
  9329. _.span = t2;
  9330. _.children = t3;
  9331. _.hasDeclarations = t4;
  9332. },
  9333. CallableDeclaration: function CallableDeclaration() {
  9334. },
  9335. ContentBlock$($arguments, children, span) {
  9336. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9337. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9338. return new A.ContentBlock("@content", $arguments, span, t1, t2);
  9339. },
  9340. ContentBlock: function ContentBlock(t0, t1, t2, t3, t4) {
  9341. var _ = this;
  9342. _.name = t0;
  9343. _.$arguments = t1;
  9344. _.span = t2;
  9345. _.children = t3;
  9346. _.hasDeclarations = t4;
  9347. },
  9348. ContentRule: function ContentRule(t0, t1) {
  9349. this.$arguments = t0;
  9350. this.span = t1;
  9351. },
  9352. DebugRule: function DebugRule(t0, t1) {
  9353. this.expression = t0;
  9354. this.span = t1;
  9355. },
  9356. Declaration$($name, value, span) {
  9357. return new A.Declaration($name, value, span, null, false);
  9358. },
  9359. Declaration$nested($name, children, span, value) {
  9360. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9361. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9362. return new A.Declaration($name, value, span, t1, t2);
  9363. },
  9364. Declaration: function Declaration(t0, t1, t2, t3, t4) {
  9365. var _ = this;
  9366. _.name = t0;
  9367. _.value = t1;
  9368. _.span = t2;
  9369. _.children = t3;
  9370. _.hasDeclarations = t4;
  9371. },
  9372. EachRule$(variables, list, children, span) {
  9373. var t1 = A.List_List$unmodifiable(variables, type$.String),
  9374. t2 = A.List_List$unmodifiable(children, type$.Statement),
  9375. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure());
  9376. return new A.EachRule(t1, list, span, t2, t3);
  9377. },
  9378. EachRule: function EachRule(t0, t1, t2, t3, t4) {
  9379. var _ = this;
  9380. _.variables = t0;
  9381. _.list = t1;
  9382. _.span = t2;
  9383. _.children = t3;
  9384. _.hasDeclarations = t4;
  9385. },
  9386. EachRule_toString_closure: function EachRule_toString_closure() {
  9387. },
  9388. ErrorRule: function ErrorRule(t0, t1) {
  9389. this.expression = t0;
  9390. this.span = t1;
  9391. },
  9392. ExtendRule: function ExtendRule(t0, t1, t2) {
  9393. this.selector = t0;
  9394. this.isOptional = t1;
  9395. this.span = t2;
  9396. },
  9397. ForRule$(variable, from, to, children, span, exclusive) {
  9398. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9399. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9400. return new A.ForRule(variable, from, to, exclusive, span, t1, t2);
  9401. },
  9402. ForRule: function ForRule(t0, t1, t2, t3, t4, t5, t6) {
  9403. var _ = this;
  9404. _.variable = t0;
  9405. _.from = t1;
  9406. _.to = t2;
  9407. _.isExclusive = t3;
  9408. _.span = t4;
  9409. _.children = t5;
  9410. _.hasDeclarations = t6;
  9411. },
  9412. ForwardRule: function ForwardRule(t0, t1, t2, t3, t4, t5, t6, t7) {
  9413. var _ = this;
  9414. _.url = t0;
  9415. _.shownMixinsAndFunctions = t1;
  9416. _.shownVariables = t2;
  9417. _.hiddenMixinsAndFunctions = t3;
  9418. _.hiddenVariables = t4;
  9419. _.prefix = t5;
  9420. _.configuration = t6;
  9421. _.span = t7;
  9422. },
  9423. FunctionRule$($name, $arguments, children, span, comment) {
  9424. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9425. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9426. return new A.FunctionRule($name, $arguments, span, t1, t2);
  9427. },
  9428. FunctionRule: function FunctionRule(t0, t1, t2, t3, t4) {
  9429. var _ = this;
  9430. _.name = t0;
  9431. _.$arguments = t1;
  9432. _.span = t2;
  9433. _.children = t3;
  9434. _.hasDeclarations = t4;
  9435. },
  9436. IfClause$(expression, children) {
  9437. var t1 = A.List_List$unmodifiable(children, type$.Statement);
  9438. return new A.IfClause(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
  9439. },
  9440. ElseClause$(children) {
  9441. var t1 = A.List_List$unmodifiable(children, type$.Statement);
  9442. return new A.ElseClause(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure()));
  9443. },
  9444. IfRule: function IfRule(t0, t1, t2) {
  9445. this.clauses = t0;
  9446. this.lastClause = t1;
  9447. this.span = t2;
  9448. },
  9449. IfRule_toString_closure: function IfRule_toString_closure() {
  9450. },
  9451. IfRuleClause: function IfRuleClause() {
  9452. },
  9453. IfRuleClause$__closure: function IfRuleClause$__closure() {
  9454. },
  9455. IfRuleClause$___closure: function IfRuleClause$___closure() {
  9456. },
  9457. IfClause: function IfClause(t0, t1, t2) {
  9458. this.expression = t0;
  9459. this.children = t1;
  9460. this.hasDeclarations = t2;
  9461. },
  9462. ElseClause: function ElseClause(t0, t1) {
  9463. this.children = t0;
  9464. this.hasDeclarations = t1;
  9465. },
  9466. ImportRule: function ImportRule(t0, t1) {
  9467. this.imports = t0;
  9468. this.span = t1;
  9469. },
  9470. IncludeRule: function IncludeRule(t0, t1, t2, t3, t4) {
  9471. var _ = this;
  9472. _.namespace = t0;
  9473. _.name = t1;
  9474. _.$arguments = t2;
  9475. _.content = t3;
  9476. _.span = t4;
  9477. },
  9478. LoudComment: function LoudComment(t0) {
  9479. this.text = t0;
  9480. },
  9481. MediaRule$(query, children, span) {
  9482. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9483. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9484. return new A.MediaRule(query, span, t1, t2);
  9485. },
  9486. MediaRule: function MediaRule(t0, t1, t2, t3) {
  9487. var _ = this;
  9488. _.query = t0;
  9489. _.span = t1;
  9490. _.children = t2;
  9491. _.hasDeclarations = t3;
  9492. },
  9493. MixinRule$($name, $arguments, children, span, comment) {
  9494. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9495. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9496. return new A.MixinRule($name, $arguments, span, t1, t2);
  9497. },
  9498. MixinRule: function MixinRule(t0, t1, t2, t3, t4) {
  9499. var _ = this;
  9500. _.__MixinRule_hasContent_FI = $;
  9501. _.name = t0;
  9502. _.$arguments = t1;
  9503. _.span = t2;
  9504. _.children = t3;
  9505. _.hasDeclarations = t4;
  9506. },
  9507. _HasContentVisitor: function _HasContentVisitor() {
  9508. },
  9509. __HasContentVisitor_Object_StatementSearchVisitor: function __HasContentVisitor_Object_StatementSearchVisitor() {
  9510. },
  9511. ParentStatement: function ParentStatement() {
  9512. },
  9513. ParentStatement_closure: function ParentStatement_closure() {
  9514. },
  9515. ParentStatement__closure: function ParentStatement__closure() {
  9516. },
  9517. ReturnRule: function ReturnRule(t0, t1) {
  9518. this.expression = t0;
  9519. this.span = t1;
  9520. },
  9521. SilentComment: function SilentComment(t0, t1) {
  9522. this.text = t0;
  9523. this.span = t1;
  9524. },
  9525. StyleRule$(selector, children, span) {
  9526. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9527. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9528. return new A.StyleRule(selector, span, t1, t2);
  9529. },
  9530. StyleRule: function StyleRule(t0, t1, t2, t3) {
  9531. var _ = this;
  9532. _.selector = t0;
  9533. _.span = t1;
  9534. _.children = t2;
  9535. _.hasDeclarations = t3;
  9536. },
  9537. Stylesheet$(children, span) {
  9538. var t1 = A._setArrayType([], type$.JSArray_UseRule),
  9539. t2 = A._setArrayType([], type$.JSArray_ForwardRule),
  9540. t3 = A.List_List$unmodifiable(children, type$.Statement),
  9541. t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure());
  9542. t1 = new A.Stylesheet(span, false, t1, t2, t3, t4);
  9543. t1.Stylesheet$internal$3$plainCss(children, span, false);
  9544. return t1;
  9545. },
  9546. Stylesheet$internal(children, span, plainCss) {
  9547. var t1 = A._setArrayType([], type$.JSArray_UseRule),
  9548. t2 = A._setArrayType([], type$.JSArray_ForwardRule),
  9549. t3 = A.List_List$unmodifiable(children, type$.Statement),
  9550. t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure());
  9551. t1 = new A.Stylesheet(span, plainCss, t1, t2, t3, t4);
  9552. t1.Stylesheet$internal$3$plainCss(children, span, plainCss);
  9553. return t1;
  9554. },
  9555. Stylesheet_Stylesheet$parse(contents, syntax, logger, url) {
  9556. var error, stackTrace, url0, t1, exception, t2;
  9557. try {
  9558. switch (syntax) {
  9559. case B.Syntax_Sass_sass:
  9560. t1 = A.SpanScanner$(contents, url);
  9561. t1 = new A.SassParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, logger, null).parse$0();
  9562. return t1;
  9563. case B.Syntax_SCSS_scss:
  9564. t1 = A.ScssParser$(contents, logger, url).parse$0();
  9565. return t1;
  9566. case B.Syntax_CSS_css:
  9567. t1 = A.SpanScanner$(contents, url);
  9568. t1 = new A.CssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, logger, null).parse$0();
  9569. return t1;
  9570. default:
  9571. t1 = A.ArgumentError$("Unknown syntax " + syntax.toString$0(0) + ".", null);
  9572. throw A.wrapException(t1);
  9573. }
  9574. } catch (exception) {
  9575. t1 = A.unwrapException(exception);
  9576. if (t1 instanceof A.SassException) {
  9577. error = t1;
  9578. stackTrace = A.getTraceFromException(exception);
  9579. t1 = error;
  9580. t2 = J.getInterceptor$z(t1);
  9581. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  9582. url0 = t1.get$sourceUrl(t1);
  9583. if (url0 == null || J.toString$0$(url0) === "stdin")
  9584. throw exception;
  9585. t1 = type$.Uri;
  9586. throw A.wrapException(A.throwWithTrace(error.withLoadedUrls$1(A.Set_Set$unmodifiable(A.LinkedHashSet_LinkedHashSet$_literal([url0], t1), t1)), error, stackTrace));
  9587. } else
  9588. throw exception;
  9589. }
  9590. },
  9591. Stylesheet: function Stylesheet(t0, t1, t2, t3, t4, t5) {
  9592. var _ = this;
  9593. _.span = t0;
  9594. _.plainCss = t1;
  9595. _._uses = t2;
  9596. _._forwards = t3;
  9597. _.children = t4;
  9598. _.hasDeclarations = t5;
  9599. },
  9600. SupportsRule$(condition, children, span) {
  9601. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9602. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9603. return new A.SupportsRule(condition, span, t1, t2);
  9604. },
  9605. SupportsRule: function SupportsRule(t0, t1, t2, t3) {
  9606. var _ = this;
  9607. _.condition = t0;
  9608. _.span = t1;
  9609. _.children = t2;
  9610. _.hasDeclarations = t3;
  9611. },
  9612. UseRule: function UseRule(t0, t1, t2, t3) {
  9613. var _ = this;
  9614. _.url = t0;
  9615. _.namespace = t1;
  9616. _.configuration = t2;
  9617. _.span = t3;
  9618. },
  9619. VariableDeclaration$($name, expression, span, comment, global, guarded, namespace) {
  9620. if (namespace != null && global)
  9621. A.throwExpression(A.ArgumentError$(string$.Other_, null));
  9622. return new A.VariableDeclaration(namespace, $name, expression, guarded, global, span);
  9623. },
  9624. VariableDeclaration: function VariableDeclaration(t0, t1, t2, t3, t4, t5) {
  9625. var _ = this;
  9626. _.namespace = t0;
  9627. _.name = t1;
  9628. _.expression = t2;
  9629. _.isGuarded = t3;
  9630. _.isGlobal = t4;
  9631. _.span = t5;
  9632. },
  9633. WarnRule: function WarnRule(t0, t1) {
  9634. this.expression = t0;
  9635. this.span = t1;
  9636. },
  9637. WhileRule$(condition, children, span) {
  9638. var t1 = A.List_List$unmodifiable(children, type$.Statement),
  9639. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure());
  9640. return new A.WhileRule(condition, span, t1, t2);
  9641. },
  9642. WhileRule: function WhileRule(t0, t1, t2, t3) {
  9643. var _ = this;
  9644. _.condition = t0;
  9645. _.span = t1;
  9646. _.children = t2;
  9647. _.hasDeclarations = t3;
  9648. },
  9649. SupportsAnything: function SupportsAnything(t0, t1) {
  9650. this.contents = t0;
  9651. this.span = t1;
  9652. },
  9653. SupportsDeclaration: function SupportsDeclaration(t0, t1, t2) {
  9654. this.name = t0;
  9655. this.value = t1;
  9656. this.span = t2;
  9657. },
  9658. SupportsFunction: function SupportsFunction(t0, t1, t2) {
  9659. this.name = t0;
  9660. this.$arguments = t1;
  9661. this.span = t2;
  9662. },
  9663. SupportsInterpolation: function SupportsInterpolation(t0, t1) {
  9664. this.expression = t0;
  9665. this.span = t1;
  9666. },
  9667. SupportsNegation: function SupportsNegation(t0, t1) {
  9668. this.condition = t0;
  9669. this.span = t1;
  9670. },
  9671. SupportsOperation$(left, right, operator, span) {
  9672. var lowerOperator = operator.toLowerCase();
  9673. if (lowerOperator !== "and" && lowerOperator !== "or")
  9674. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  9675. return new A.SupportsOperation(left, right, operator, span);
  9676. },
  9677. SupportsOperation: function SupportsOperation(t0, t1, t2, t3) {
  9678. var _ = this;
  9679. _.left = t0;
  9680. _.right = t1;
  9681. _.operator = t2;
  9682. _.span = t3;
  9683. },
  9684. Selector: function Selector() {
  9685. },
  9686. _IsInvisibleVisitor0: function _IsInvisibleVisitor0(t0) {
  9687. this.includeBogus = t0;
  9688. },
  9689. _IsBogusVisitor: function _IsBogusVisitor(t0) {
  9690. this.includeLeadingCombinator = t0;
  9691. },
  9692. _IsBogusVisitor_visitComplexSelector_closure: function _IsBogusVisitor_visitComplexSelector_closure(t0) {
  9693. this.$this = t0;
  9694. },
  9695. _IsUselessVisitor: function _IsUselessVisitor() {
  9696. },
  9697. _IsUselessVisitor_visitComplexSelector_closure: function _IsUselessVisitor_visitComplexSelector_closure(t0) {
  9698. this.$this = t0;
  9699. },
  9700. __IsBogusVisitor_Object_AnySelectorVisitor: function __IsBogusVisitor_Object_AnySelectorVisitor() {
  9701. },
  9702. __IsInvisibleVisitor_Object_AnySelectorVisitor: function __IsInvisibleVisitor_Object_AnySelectorVisitor() {
  9703. },
  9704. __IsUselessVisitor_Object_AnySelectorVisitor: function __IsUselessVisitor_Object_AnySelectorVisitor() {
  9705. },
  9706. AttributeSelector: function AttributeSelector(t0, t1, t2, t3, t4) {
  9707. var _ = this;
  9708. _.name = t0;
  9709. _.op = t1;
  9710. _.value = t2;
  9711. _.modifier = t3;
  9712. _.span = t4;
  9713. },
  9714. AttributeOperator: function AttributeOperator(t0, t1) {
  9715. this._attribute$_text = t0;
  9716. this._name = t1;
  9717. },
  9718. ClassSelector: function ClassSelector(t0, t1) {
  9719. this.name = t0;
  9720. this.span = t1;
  9721. },
  9722. Combinator: function Combinator(t0, t1) {
  9723. this._combinator$_text = t0;
  9724. this._name = t1;
  9725. },
  9726. ComplexSelector$(leadingCombinators, components, span, lineBreak) {
  9727. var t1 = A.List_List$unmodifiable(leadingCombinators, type$.CssValue_Combinator),
  9728. t2 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent);
  9729. if (t1.length === 0 && t2.length === 0)
  9730. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  9731. return new A.ComplexSelector(t1, t2, lineBreak, span);
  9732. },
  9733. ComplexSelector: function ComplexSelector(t0, t1, t2, t3) {
  9734. var _ = this;
  9735. _.leadingCombinators = t0;
  9736. _.components = t1;
  9737. _.lineBreak = t2;
  9738. _.__ComplexSelector_specificity_FI = $;
  9739. _.span = t3;
  9740. },
  9741. ComplexSelector_specificity_closure: function ComplexSelector_specificity_closure() {
  9742. },
  9743. ComplexSelector_singleCompound_closure: function ComplexSelector_singleCompound_closure(t0) {
  9744. this._0_0 = t0;
  9745. },
  9746. ComplexSelector_withAdditionalCombinators_closure: function ComplexSelector_withAdditionalCombinators_closure(t0) {
  9747. this._0_0 = t0;
  9748. },
  9749. ComplexSelector_concatenate_closure: function ComplexSelector_concatenate_closure(t0) {
  9750. this._0_0 = t0;
  9751. },
  9752. ComplexSelectorComponent: function ComplexSelectorComponent(t0, t1, t2) {
  9753. this.selector = t0;
  9754. this.combinators = t1;
  9755. this.span = t2;
  9756. },
  9757. ComplexSelectorComponent_toString_closure: function ComplexSelectorComponent_toString_closure() {
  9758. },
  9759. CompoundSelector$(components, span) {
  9760. var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector);
  9761. if (t1.length === 0)
  9762. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  9763. return new A.CompoundSelector(t1, span);
  9764. },
  9765. CompoundSelector: function CompoundSelector(t0, t1) {
  9766. this.components = t0;
  9767. this.__CompoundSelector_specificity_FI = $;
  9768. this.span = t1;
  9769. },
  9770. CompoundSelector_specificity_closure: function CompoundSelector_specificity_closure() {
  9771. },
  9772. IDSelector: function IDSelector(t0, t1) {
  9773. this.name = t0;
  9774. this.span = t1;
  9775. },
  9776. IDSelector_unify_closure: function IDSelector_unify_closure(t0) {
  9777. this.$this = t0;
  9778. },
  9779. SelectorList$(components, span) {
  9780. var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector);
  9781. if (t1.length === 0)
  9782. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  9783. return new A.SelectorList(t1, span);
  9784. },
  9785. SelectorList_SelectorList$parse(contents, allowParent, allowPlaceholder, interpolationMap, logger) {
  9786. return A.SelectorParser$(contents, allowParent, allowPlaceholder, interpolationMap, logger, null).parse$0();
  9787. },
  9788. SelectorList: function SelectorList(t0, t1) {
  9789. this.components = t0;
  9790. this.span = t1;
  9791. },
  9792. SelectorList_asSassList_closure: function SelectorList_asSassList_closure() {
  9793. },
  9794. SelectorList_resolveParentSelectors_closure: function SelectorList_resolveParentSelectors_closure(t0, t1, t2) {
  9795. this.$this = t0;
  9796. this.implicitParent = t1;
  9797. this.parent = t2;
  9798. },
  9799. SelectorList_resolveParentSelectors__closure: function SelectorList_resolveParentSelectors__closure(t0) {
  9800. this.complex = t0;
  9801. },
  9802. SelectorList_resolveParentSelectors__closure0: function SelectorList_resolveParentSelectors__closure0(t0) {
  9803. this.complex = t0;
  9804. },
  9805. SelectorList__resolveParentSelectorsCompound_closure: function SelectorList__resolveParentSelectorsCompound_closure() {
  9806. },
  9807. SelectorList__resolveParentSelectorsCompound_closure0: function SelectorList__resolveParentSelectorsCompound_closure0(t0) {
  9808. this.parent = t0;
  9809. },
  9810. SelectorList__resolveParentSelectorsCompound__closure: function SelectorList__resolveParentSelectorsCompound__closure(t0) {
  9811. this._0_0 = t0;
  9812. },
  9813. SelectorList__resolveParentSelectorsCompound_closure1: function SelectorList__resolveParentSelectorsCompound_closure1(t0, t1, t2) {
  9814. this.parentSelector = t0;
  9815. this.resolvedSimples = t1;
  9816. this.component = t2;
  9817. },
  9818. SelectorList_withAdditionalCombinators_closure: function SelectorList_withAdditionalCombinators_closure(t0) {
  9819. this.combinators = t0;
  9820. },
  9821. _ParentSelectorVisitor: function _ParentSelectorVisitor() {
  9822. },
  9823. __ParentSelectorVisitor_Object_SelectorSearchVisitor: function __ParentSelectorVisitor_Object_SelectorSearchVisitor() {
  9824. },
  9825. ParentSelector: function ParentSelector(t0, t1) {
  9826. this.suffix = t0;
  9827. this.span = t1;
  9828. },
  9829. PlaceholderSelector: function PlaceholderSelector(t0, t1) {
  9830. this.name = t0;
  9831. this.span = t1;
  9832. },
  9833. PseudoSelector$($name, span, argument, element, selector) {
  9834. var t1 = !element,
  9835. t2 = t1 && !A.PseudoSelector__isFakePseudoElement($name);
  9836. return new A.PseudoSelector($name, A.unvendor($name), t2, t1, argument, selector, span);
  9837. },
  9838. PseudoSelector__isFakePseudoElement($name) {
  9839. switch ($name.charCodeAt(0)) {
  9840. case 97:
  9841. case 65:
  9842. return A.equalsIgnoreCase($name, "after");
  9843. case 98:
  9844. case 66:
  9845. return A.equalsIgnoreCase($name, "before");
  9846. case 102:
  9847. case 70:
  9848. return A.equalsIgnoreCase($name, "first-line") || A.equalsIgnoreCase($name, "first-letter");
  9849. default:
  9850. return false;
  9851. }
  9852. },
  9853. PseudoSelector: function PseudoSelector(t0, t1, t2, t3, t4, t5, t6) {
  9854. var _ = this;
  9855. _.name = t0;
  9856. _.normalizedName = t1;
  9857. _.isClass = t2;
  9858. _.isSyntacticClass = t3;
  9859. _.argument = t4;
  9860. _.selector = t5;
  9861. _.__PseudoSelector_specificity_FI = $;
  9862. _.span = t6;
  9863. },
  9864. PseudoSelector_specificity_closure: function PseudoSelector_specificity_closure(t0) {
  9865. this.$this = t0;
  9866. },
  9867. PseudoSelector_specificity__closure: function PseudoSelector_specificity__closure() {
  9868. },
  9869. PseudoSelector_specificity__closure0: function PseudoSelector_specificity__closure0() {
  9870. },
  9871. PseudoSelector_unify_closure: function PseudoSelector_unify_closure() {
  9872. },
  9873. QualifiedName: function QualifiedName(t0, t1) {
  9874. this.name = t0;
  9875. this.namespace = t1;
  9876. },
  9877. SimpleSelector: function SimpleSelector() {
  9878. },
  9879. SimpleSelector_isSuperselector_closure: function SimpleSelector_isSuperselector_closure(t0) {
  9880. this.$this = t0;
  9881. },
  9882. SimpleSelector_isSuperselector__closure: function SimpleSelector_isSuperselector__closure(t0) {
  9883. this.$this = t0;
  9884. },
  9885. TypeSelector: function TypeSelector(t0, t1) {
  9886. this.name = t0;
  9887. this.span = t1;
  9888. },
  9889. UniversalSelector: function UniversalSelector(t0, t1) {
  9890. this.namespace = t0;
  9891. this.span = t1;
  9892. },
  9893. UniversalSelector_unify_closure: function UniversalSelector_unify_closure(t0) {
  9894. this._0_0 = t0;
  9895. },
  9896. UniversalSelector_unify_closure0: function UniversalSelector_unify_closure0(t0) {
  9897. this._0_0 = t0;
  9898. },
  9899. compileAsync(path, charset, fatalDeprecations, futureDeprecations, importCache, logger, quietDeps, sourceMap, style, syntax, verbose) {
  9900. var $async$goto = 0,
  9901. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  9902. $async$returnValue, t3, t0, stylesheet, result, t1, t2;
  9903. var $async$compileAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  9904. if ($async$errorCode === 1)
  9905. return A._asyncRethrow($async$result, $async$completer);
  9906. while (true)
  9907. switch ($async$goto) {
  9908. case 0:
  9909. // Function start
  9910. t1 = type$.Deprecation;
  9911. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  9912. t2.addAll$1(0, fatalDeprecations);
  9913. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  9914. t3.addAll$1(0, futureDeprecations);
  9915. logger = new A.DeprecationHandlingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, !verbose);
  9916. t1 = syntax === A.Syntax_forPath(path);
  9917. $async$goto = t1 ? 3 : 5;
  9918. break;
  9919. case 3:
  9920. // then
  9921. t1 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  9922. t2 = A.isNodeJs() ? self.process : null;
  9923. if (!J.$eq$(t2 == null ? null : J.get$platform$x(t2), "win32")) {
  9924. t2 = A.isNodeJs() ? self.process : null;
  9925. t2 = J.$eq$(t2 == null ? null : J.get$platform$x(t2), "darwin");
  9926. } else
  9927. t2 = true;
  9928. if (t2) {
  9929. t2 = $.$get$context();
  9930. t3 = A._realCasePath(A.absolute(t2.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  9931. t0 = t3;
  9932. t3 = t2;
  9933. t2 = t0;
  9934. } else {
  9935. t2 = $.$get$context();
  9936. t3 = t2.canonicalize$1(0, path);
  9937. t0 = t3;
  9938. t3 = t2;
  9939. t2 = t0;
  9940. }
  9941. $async$goto = 6;
  9942. return A._asyncAwait(importCache.importCanonical$3$originalUrl(new A.FilesystemImporter(t1), t3.toUri$1(t2), t3.toUri$1(path)), $async$compileAsync);
  9943. case 6:
  9944. // returning from await.
  9945. t3 = $async$result;
  9946. t3.toString;
  9947. stylesheet = t3;
  9948. // goto join
  9949. $async$goto = 4;
  9950. break;
  9951. case 5:
  9952. // else
  9953. t1 = A.readFile(path);
  9954. stylesheet = A.Stylesheet_Stylesheet$parse(t1, syntax, logger, $.$get$context().toUri$1(path));
  9955. case 4:
  9956. // join
  9957. $async$goto = 7;
  9958. return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, new A.FilesystemImporter(A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null)), null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileAsync);
  9959. case 7:
  9960. // returning from await.
  9961. result = $async$result;
  9962. logger.summarize$1$js(false);
  9963. $async$returnValue = result;
  9964. // goto return
  9965. $async$goto = 1;
  9966. break;
  9967. case 1:
  9968. // return
  9969. return A._asyncReturn($async$returnValue, $async$completer);
  9970. }
  9971. });
  9972. return A._asyncStartSync($async$compileAsync, $async$completer);
  9973. },
  9974. compileStringAsync(source, charset, fatalDeprecations, futureDeprecations, importCache, importer, logger, quietDeps, sourceMap, style, syntax, verbose) {
  9975. var $async$goto = 0,
  9976. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  9977. $async$returnValue, t3, stylesheet, result, t1, t2;
  9978. var $async$compileStringAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  9979. if ($async$errorCode === 1)
  9980. return A._asyncRethrow($async$result, $async$completer);
  9981. while (true)
  9982. switch ($async$goto) {
  9983. case 0:
  9984. // Function start
  9985. t1 = type$.Deprecation;
  9986. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  9987. t2.addAll$1(0, fatalDeprecations);
  9988. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  9989. t3.addAll$1(0, futureDeprecations);
  9990. logger = new A.DeprecationHandlingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, t2, t3, !verbose);
  9991. stylesheet = A.Stylesheet_Stylesheet$parse(source, syntax, logger, null);
  9992. $async$goto = 3;
  9993. return A._asyncAwait(A._compileStylesheet0(stylesheet, logger, importCache, null, importer, null, style, true, null, null, quietDeps, sourceMap, charset), $async$compileStringAsync);
  9994. case 3:
  9995. // returning from await.
  9996. result = $async$result;
  9997. logger.summarize$1$js(false);
  9998. $async$returnValue = result;
  9999. // goto return
  10000. $async$goto = 1;
  10001. break;
  10002. case 1:
  10003. // return
  10004. return A._asyncReturn($async$returnValue, $async$completer);
  10005. }
  10006. });
  10007. return A._asyncStartSync($async$compileStringAsync, $async$completer);
  10008. },
  10009. _compileStylesheet0(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  10010. var $async$goto = 0,
  10011. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult),
  10012. $async$returnValue, serializeResult, resultSourceMap, $async$temp1;
  10013. var $async$_compileStylesheet0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10014. if ($async$errorCode === 1)
  10015. return A._asyncRethrow($async$result, $async$completer);
  10016. while (true)
  10017. switch ($async$goto) {
  10018. case 0:
  10019. // Function start
  10020. $async$temp1 = A;
  10021. $async$goto = 3;
  10022. return A._asyncAwait(A._EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet0);
  10023. case 3:
  10024. // returning from await.
  10025. serializeResult = $async$temp1.serialize($async$result._1, charset, indentWidth, false, lineFeed, sourceMap, style, true);
  10026. resultSourceMap = serializeResult._1;
  10027. if (resultSourceMap != null && true)
  10028. A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure0(stylesheet, importCache));
  10029. $async$returnValue = new A.CompileResult(serializeResult);
  10030. // goto return
  10031. $async$goto = 1;
  10032. break;
  10033. case 1:
  10034. // return
  10035. return A._asyncReturn($async$returnValue, $async$completer);
  10036. }
  10037. });
  10038. return A._asyncStartSync($async$_compileStylesheet0, $async$completer);
  10039. },
  10040. _compileStylesheet_closure0: function _compileStylesheet_closure0(t0, t1) {
  10041. this.stylesheet = t0;
  10042. this.importCache = t1;
  10043. },
  10044. AsyncEnvironment$() {
  10045. var t1 = type$.String,
  10046. t2 = type$.Module_AsyncCallable,
  10047. t3 = type$.AstNode,
  10048. t4 = type$.int,
  10049. t5 = type$.AsyncCallable,
  10050. t6 = type$.JSArray_Map_String_AsyncCallable;
  10051. 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);
  10052. },
  10053. AsyncEnvironment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  10054. var t1 = type$.String,
  10055. t2 = type$.int;
  10056. 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);
  10057. },
  10058. _EnvironmentModule__EnvironmentModule0(environment, css, preModuleComments, extensionStore, forwarded) {
  10059. var t1, t2, t3, t4, t5, t6, module, result, t7;
  10060. if (forwarded == null)
  10061. forwarded = B.Set_empty2;
  10062. t1 = type$.dynamic;
  10063. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  10064. for (t2 = type$.Module_AsyncCallable, t3 = type$.List_CssComment, t4 = A.MapExtensions_get_pairs(preModuleComments, t2, t3), t4 = t4.get$iterator(t4), t5 = type$.CssComment; t4.moveNext$0();) {
  10065. t6 = t4.get$current(t4);
  10066. module = t6._0;
  10067. result = A.List_List$from(t6._1, false, t5);
  10068. result.fixed$length = Array;
  10069. result.immutable$list = Array;
  10070. t1.$indexSet(0, module, result);
  10071. }
  10072. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  10073. t2 = A._EnvironmentModule__makeModulesByVariable0(forwarded);
  10074. t3 = 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);
  10075. t4 = 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);
  10076. t5 = type$.Map_String_AsyncCallable;
  10077. t6 = type$.AsyncCallable;
  10078. t7 = A._EnvironmentModule__memberMap0(B.JSArray_methods.get$first(environment._async_environment$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure7(), t5), t6);
  10079. t6 = A._EnvironmentModule__memberMap0(B.JSArray_methods.get$first(environment._async_environment$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure8(), t5), t6);
  10080. t5 = J.get$isNotEmpty$asx(css.get$children(css)) || preModuleComments.get$isNotEmpty(preModuleComments) || B.JSArray_methods.any$1(environment._async_environment$_allModules, new A._EnvironmentModule__EnvironmentModule_closure9());
  10081. return A._EnvironmentModule$_0(environment, css, t1, extensionStore, t2, t3, t4, t7, t6, t5, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._async_environment$_allModules, new A._EnvironmentModule__EnvironmentModule_closure10()));
  10082. },
  10083. _EnvironmentModule__makeModulesByVariable0(forwarded) {
  10084. var modulesByVariable, t1, t2, t3, t4, t5;
  10085. if (forwarded.get$isEmpty(forwarded))
  10086. return B.Map_empty8;
  10087. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable);
  10088. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  10089. t2 = t1.get$current(t1);
  10090. if (t2 instanceof A._EnvironmentModule0) {
  10091. for (t3 = t2._async_environment$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  10092. t4 = t3.get$current(t3);
  10093. t5 = t4.get$variables();
  10094. A.setAll(modulesByVariable, t5.get$keys(t5), t4);
  10095. }
  10096. A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment$_environment._async_environment$_variables)), t2);
  10097. } else {
  10098. t3 = t2.get$variables();
  10099. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  10100. }
  10101. }
  10102. return modulesByVariable;
  10103. },
  10104. _EnvironmentModule__memberMap0(localMap, otherMaps, $V) {
  10105. var t1, t2, t3;
  10106. localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
  10107. if (otherMaps.get$isEmpty(otherMaps))
  10108. return localMap;
  10109. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  10110. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  10111. t3 = t2.get$current(t2);
  10112. if (t3.get$isNotEmpty(t3))
  10113. t1.push(t3);
  10114. }
  10115. t1.push(localMap);
  10116. if (t1.length === 1)
  10117. return localMap;
  10118. return A.MergedMapView$(t1, type$.String, $V);
  10119. },
  10120. _EnvironmentModule$_0(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  10121. return new A._EnvironmentModule0(_environment._async_environment$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  10122. },
  10123. AsyncEnvironment: function AsyncEnvironment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  10124. var _ = this;
  10125. _._async_environment$_modules = t0;
  10126. _._async_environment$_namespaceNodes = t1;
  10127. _._async_environment$_globalModules = t2;
  10128. _._async_environment$_importedModules = t3;
  10129. _._async_environment$_forwardedModules = t4;
  10130. _._async_environment$_nestedForwardedModules = t5;
  10131. _._async_environment$_allModules = t6;
  10132. _._async_environment$_variables = t7;
  10133. _._async_environment$_variableNodes = t8;
  10134. _._async_environment$_variableIndices = t9;
  10135. _._async_environment$_functions = t10;
  10136. _._async_environment$_functionIndices = t11;
  10137. _._async_environment$_mixins = t12;
  10138. _._async_environment$_mixinIndices = t13;
  10139. _._async_environment$_content = t14;
  10140. _._async_environment$_inMixin = false;
  10141. _._async_environment$_inSemiGlobalScope = true;
  10142. _._async_environment$_lastVariableIndex = _._async_environment$_lastVariableName = null;
  10143. },
  10144. AsyncEnvironment__getVariableFromGlobalModule_closure: function AsyncEnvironment__getVariableFromGlobalModule_closure(t0) {
  10145. this.name = t0;
  10146. },
  10147. AsyncEnvironment_setVariable_closure: function AsyncEnvironment_setVariable_closure(t0, t1) {
  10148. this.$this = t0;
  10149. this.name = t1;
  10150. },
  10151. AsyncEnvironment_setVariable_closure0: function AsyncEnvironment_setVariable_closure0(t0) {
  10152. this.name = t0;
  10153. },
  10154. AsyncEnvironment_setVariable_closure1: function AsyncEnvironment_setVariable_closure1(t0, t1) {
  10155. this.$this = t0;
  10156. this.name = t1;
  10157. },
  10158. AsyncEnvironment__getFunctionFromGlobalModule_closure: function AsyncEnvironment__getFunctionFromGlobalModule_closure(t0) {
  10159. this.name = t0;
  10160. },
  10161. AsyncEnvironment__getMixinFromGlobalModule_closure: function AsyncEnvironment__getMixinFromGlobalModule_closure(t0) {
  10162. this.name = t0;
  10163. },
  10164. AsyncEnvironment_toModule_closure: function AsyncEnvironment_toModule_closure() {
  10165. },
  10166. AsyncEnvironment_toDummyModule_closure: function AsyncEnvironment_toDummyModule_closure() {
  10167. },
  10168. _EnvironmentModule0: function _EnvironmentModule0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  10169. var _ = this;
  10170. _.upstream = t0;
  10171. _.variables = t1;
  10172. _.variableNodes = t2;
  10173. _.functions = t3;
  10174. _.mixins = t4;
  10175. _.extensionStore = t5;
  10176. _.css = t6;
  10177. _.preModuleComments = t7;
  10178. _.transitivelyContainsCss = t8;
  10179. _.transitivelyContainsExtensions = t9;
  10180. _._async_environment$_environment = t10;
  10181. _._async_environment$_modulesByVariable = t11;
  10182. },
  10183. _EnvironmentModule__EnvironmentModule_closure5: function _EnvironmentModule__EnvironmentModule_closure5() {
  10184. },
  10185. _EnvironmentModule__EnvironmentModule_closure6: function _EnvironmentModule__EnvironmentModule_closure6() {
  10186. },
  10187. _EnvironmentModule__EnvironmentModule_closure7: function _EnvironmentModule__EnvironmentModule_closure7() {
  10188. },
  10189. _EnvironmentModule__EnvironmentModule_closure8: function _EnvironmentModule__EnvironmentModule_closure8() {
  10190. },
  10191. _EnvironmentModule__EnvironmentModule_closure9: function _EnvironmentModule__EnvironmentModule_closure9() {
  10192. },
  10193. _EnvironmentModule__EnvironmentModule_closure10: function _EnvironmentModule__EnvironmentModule_closure10() {
  10194. },
  10195. AsyncImportCache__toImporters(importers, loadPaths, packageConfig) {
  10196. var t1, t2, t3, t4, _i, path, _null = null,
  10197. sassPath = A.getEnvironmentVariable("SASS_PATH");
  10198. if (A.isBrowser()) {
  10199. t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
  10200. return t1;
  10201. }
  10202. t1 = A._setArrayType([], type$.JSArray_AsyncImporter_2);
  10203. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  10204. t3 = t2.get$current(t2);
  10205. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  10206. }
  10207. if (sassPath != null) {
  10208. t2 = A.isNodeJs() ? self.process : _null;
  10209. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  10210. t4 = t3.length;
  10211. _i = 0;
  10212. for (; _i < t4; ++_i) {
  10213. path = t3[_i];
  10214. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  10215. }
  10216. }
  10217. return t1;
  10218. },
  10219. AsyncImportCache: function AsyncImportCache(t0, t1, t2, t3, t4, t5) {
  10220. var _ = this;
  10221. _._async_import_cache$_importers = t0;
  10222. _._async_import_cache$_logger = t1;
  10223. _._async_import_cache$_canonicalizeCache = t2;
  10224. _._async_import_cache$_relativeCanonicalizeCache = t3;
  10225. _._async_import_cache$_importCache = t4;
  10226. _._async_import_cache$_resultsCache = t5;
  10227. },
  10228. AsyncImportCache_canonicalize_closure: function AsyncImportCache_canonicalize_closure(t0, t1, t2, t3, t4) {
  10229. var _ = this;
  10230. _.$this = t0;
  10231. _.baseImporter = t1;
  10232. _.baseUrl = t2;
  10233. _.url = t3;
  10234. _.forImport = t4;
  10235. },
  10236. AsyncImportCache_canonicalize_closure0: function AsyncImportCache_canonicalize_closure0(t0, t1, t2, t3) {
  10237. var _ = this;
  10238. _.$this = t0;
  10239. _.url = t1;
  10240. _.baseUrl = t2;
  10241. _.forImport = t3;
  10242. },
  10243. AsyncImportCache__canonicalize_closure: function AsyncImportCache__canonicalize_closure(t0, t1) {
  10244. this.importer = t0;
  10245. this.resolved = t1;
  10246. },
  10247. AsyncImportCache__canonicalize__closure: function AsyncImportCache__canonicalize__closure(t0, t1) {
  10248. this.importer = t0;
  10249. this.resolved = t1;
  10250. },
  10251. AsyncImportCache__canonicalize_closure0: function AsyncImportCache__canonicalize_closure0(t0, t1) {
  10252. this.importer = t0;
  10253. this.resolved = t1;
  10254. },
  10255. AsyncImportCache_importCanonical_closure: function AsyncImportCache_importCanonical_closure(t0, t1, t2, t3, t4) {
  10256. var _ = this;
  10257. _.$this = t0;
  10258. _.importer = t1;
  10259. _.canonicalUrl = t2;
  10260. _.originalUrl = t3;
  10261. _.quiet = t4;
  10262. },
  10263. AsyncImportCache_humanize_closure: function AsyncImportCache_humanize_closure(t0) {
  10264. this.canonicalUrl = t0;
  10265. },
  10266. AsyncImportCache_humanize_closure0: function AsyncImportCache_humanize_closure0() {
  10267. },
  10268. AsyncImportCache_humanize_closure1: function AsyncImportCache_humanize_closure1() {
  10269. },
  10270. AsyncImportCache_humanize_closure2: function AsyncImportCache_humanize_closure2(t0) {
  10271. this.canonicalUrl = t0;
  10272. },
  10273. AsyncBuiltInCallable$mixin($name, $arguments, callback, acceptsContent, url) {
  10274. return new A.AsyncBuiltInCallable($name, A.ScssParser$("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.AsyncBuiltInCallable$mixin_closure(callback), false);
  10275. },
  10276. AsyncBuiltInCallable: function AsyncBuiltInCallable(t0, t1, t2, t3) {
  10277. var _ = this;
  10278. _.name = t0;
  10279. _._async_built_in$_arguments = t1;
  10280. _._async_built_in$_callback = t2;
  10281. _.acceptsContent = t3;
  10282. },
  10283. AsyncBuiltInCallable$mixin_closure: function AsyncBuiltInCallable$mixin_closure(t0) {
  10284. this.callback = t0;
  10285. },
  10286. BuiltInCallable$function($name, $arguments, callback, url) {
  10287. return new A.BuiltInCallable($name, A._setArrayType([new A._Record_2(A.ScssParser$("@function " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), callback)], type$.JSArray_Record_2_ArgumentDeclaration_and_Value_Function_List_Value), false);
  10288. },
  10289. BuiltInCallable$mixin($name, $arguments, callback, acceptsContent, url) {
  10290. return new A.BuiltInCallable($name, A._setArrayType([new A._Record_2(A.ScssParser$("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.BuiltInCallable$mixin_closure(callback))], type$.JSArray_Record_2_ArgumentDeclaration_and_Value_Function_List_Value), acceptsContent);
  10291. },
  10292. BuiltInCallable$overloadedFunction($name, overloads) {
  10293. var t2, t3, t4, t5, t6, args, callback,
  10294. t1 = A._setArrayType([], type$.JSArray_Record_2_ArgumentDeclaration_and_Value_Function_List_Value);
  10295. for (t2 = type$.String, t3 = A.MapExtensions_get_pairs(overloads, t2, type$.Value_Function_List_Value), t3 = t3.get$iterator(t3), t4 = "@function " + $name + "(", t5 = type$.VariableDeclaration; t3.moveNext$0();) {
  10296. t6 = t3.get$current(t3);
  10297. args = t6._0;
  10298. callback = t6._1;
  10299. t6 = A.SpanScanner$(t4 + args + ") {", null);
  10300. t1.push(new A._Record_2(new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t2, t5), t6, B.StderrLogger_false, null).parseArgumentDeclaration$0(), callback));
  10301. }
  10302. return new A.BuiltInCallable($name, t1, false);
  10303. },
  10304. BuiltInCallable: function BuiltInCallable(t0, t1, t2) {
  10305. this.name = t0;
  10306. this._overloads = t1;
  10307. this.acceptsContent = t2;
  10308. },
  10309. BuiltInCallable$mixin_closure: function BuiltInCallable$mixin_closure(t0) {
  10310. this.callback = t0;
  10311. },
  10312. PlainCssCallable: function PlainCssCallable(t0) {
  10313. this.name = t0;
  10314. },
  10315. UserDefinedCallable: function UserDefinedCallable(t0, t1, t2, t3) {
  10316. var _ = this;
  10317. _.declaration = t0;
  10318. _.environment = t1;
  10319. _.inDependency = t2;
  10320. _.$ti = t3;
  10321. },
  10322. _compileStylesheet(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  10323. var serializeResult = A.serialize(A._EvaluateVisitor$(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet)._1, charset, indentWidth, false, lineFeed, sourceMap, style, true),
  10324. resultSourceMap = serializeResult._1;
  10325. if (resultSourceMap != null && true)
  10326. A.mapInPlace(resultSourceMap.urls, new A._compileStylesheet_closure(stylesheet, importCache));
  10327. return new A.CompileResult(serializeResult);
  10328. },
  10329. _compileStylesheet_closure: function _compileStylesheet_closure(t0, t1) {
  10330. this.stylesheet = t0;
  10331. this.importCache = t1;
  10332. },
  10333. CompileResult: function CompileResult(t0) {
  10334. this._serialize = t0;
  10335. },
  10336. Configuration: function Configuration(t0, t1) {
  10337. this._configuration$_values = t0;
  10338. this.__originalConfiguration = t1;
  10339. },
  10340. ExplicitConfiguration: function ExplicitConfiguration(t0, t1, t2) {
  10341. this.nodeWithSpan = t0;
  10342. this._configuration$_values = t1;
  10343. this.__originalConfiguration = t2;
  10344. },
  10345. ConfiguredValue: function ConfiguredValue(t0, t1, t2) {
  10346. this.value = t0;
  10347. this.configurationSpan = t1;
  10348. this.assignmentNode = t2;
  10349. },
  10350. Deprecation_fromId(id) {
  10351. return A.IterableExtension_firstWhereOrNull(B.List_GN8, new A.Deprecation_fromId_closure(id));
  10352. },
  10353. Deprecation_forVersion(version) {
  10354. var t2, _i, deprecation, $self, t3,
  10355. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  10356. for (t2 = new A.VersionRange(null, version, false, true).get$allows(), _i = 0; _i < 16; ++_i) {
  10357. deprecation = B.List_GN8[_i];
  10358. $self = deprecation._deprecatedIn;
  10359. t3 = $self == null ? null : A.Version___parse_tearOff($self);
  10360. t3 = t3 == null ? null : t2.call$1(t3);
  10361. if (t3 == null ? false : t3)
  10362. t1.add$1(0, deprecation);
  10363. }
  10364. return t1;
  10365. },
  10366. Deprecation: function Deprecation(t0, t1, t2, t3, t4) {
  10367. var _ = this;
  10368. _.id = t0;
  10369. _._deprecatedIn = t1;
  10370. _.description = t2;
  10371. _.isFuture = t3;
  10372. _._name = t4;
  10373. },
  10374. Deprecation_fromId_closure: function Deprecation_fromId_closure(t0) {
  10375. this.id = t0;
  10376. },
  10377. Environment$() {
  10378. var t1 = type$.String,
  10379. t2 = type$.Module_Callable,
  10380. t3 = type$.AstNode,
  10381. t4 = type$.int,
  10382. t5 = type$.Callable,
  10383. t6 = type$.JSArray_Map_String_Callable;
  10384. 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);
  10385. },
  10386. Environment$_(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  10387. var t1 = type$.String,
  10388. t2 = type$.int;
  10389. 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);
  10390. },
  10391. _EnvironmentModule__EnvironmentModule(environment, css, preModuleComments, extensionStore, forwarded) {
  10392. var t1, t2, t3, t4, t5, t6, module, result, t7;
  10393. if (forwarded == null)
  10394. forwarded = B.Set_empty0;
  10395. t1 = type$.dynamic;
  10396. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  10397. for (t2 = type$.Module_Callable, t3 = type$.List_CssComment, t4 = A.MapExtensions_get_pairs(preModuleComments, t2, t3), t4 = t4.get$iterator(t4), t5 = type$.CssComment; t4.moveNext$0();) {
  10398. t6 = t4.get$current(t4);
  10399. module = t6._0;
  10400. result = A.List_List$from(t6._1, false, t5);
  10401. result.fixed$length = Array;
  10402. result.immutable$list = Array;
  10403. t1.$indexSet(0, module, result);
  10404. }
  10405. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  10406. t2 = A._EnvironmentModule__makeModulesByVariable(forwarded);
  10407. t3 = 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);
  10408. t4 = 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);
  10409. t5 = type$.Map_String_Callable;
  10410. t6 = type$.Callable;
  10411. t7 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure1(), t5), t6);
  10412. t6 = A._EnvironmentModule__memberMap(B.JSArray_methods.get$first(environment._mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure2(), t5), t6);
  10413. t5 = J.get$isNotEmpty$asx(css.get$children(css)) || preModuleComments.get$isNotEmpty(preModuleComments) || B.JSArray_methods.any$1(environment._allModules, new A._EnvironmentModule__EnvironmentModule_closure3());
  10414. return A._EnvironmentModule$_(environment, css, t1, extensionStore, t2, t3, t4, t7, t6, t5, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._allModules, new A._EnvironmentModule__EnvironmentModule_closure4()));
  10415. },
  10416. _EnvironmentModule__makeModulesByVariable(forwarded) {
  10417. var modulesByVariable, t1, t2, t3, t4, t5;
  10418. if (forwarded.get$isEmpty(forwarded))
  10419. return B.Map_empty1;
  10420. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable);
  10421. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  10422. t2 = t1.get$current(t1);
  10423. if (t2 instanceof A._EnvironmentModule) {
  10424. for (t3 = t2._modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  10425. t4 = t3.get$current(t3);
  10426. t5 = t4.get$variables();
  10427. A.setAll(modulesByVariable, t5.get$keys(t5), t4);
  10428. }
  10429. A.setAll(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment$_environment._variables)), t2);
  10430. } else {
  10431. t3 = t2.get$variables();
  10432. A.setAll(modulesByVariable, t3.get$keys(t3), t2);
  10433. }
  10434. }
  10435. return modulesByVariable;
  10436. },
  10437. _EnvironmentModule__memberMap(localMap, otherMaps, $V) {
  10438. var t1, t2, t3;
  10439. localMap = new A.PublicMemberMapView(localMap, $V._eval$1("PublicMemberMapView<0>"));
  10440. if (otherMaps.get$isEmpty(otherMaps))
  10441. return localMap;
  10442. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  10443. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  10444. t3 = t2.get$current(t2);
  10445. if (t3.get$isNotEmpty(t3))
  10446. t1.push(t3);
  10447. }
  10448. t1.push(localMap);
  10449. if (t1.length === 1)
  10450. return localMap;
  10451. return A.MergedMapView$(t1, type$.String, $V);
  10452. },
  10453. _EnvironmentModule$_(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  10454. return new A._EnvironmentModule(_environment._allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  10455. },
  10456. Environment: function Environment(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  10457. var _ = this;
  10458. _._environment$_modules = t0;
  10459. _._namespaceNodes = t1;
  10460. _._globalModules = t2;
  10461. _._importedModules = t3;
  10462. _._forwardedModules = t4;
  10463. _._nestedForwardedModules = t5;
  10464. _._allModules = t6;
  10465. _._variables = t7;
  10466. _._variableNodes = t8;
  10467. _._variableIndices = t9;
  10468. _._functions = t10;
  10469. _._functionIndices = t11;
  10470. _._mixins = t12;
  10471. _._mixinIndices = t13;
  10472. _._content = t14;
  10473. _._inMixin = false;
  10474. _._inSemiGlobalScope = true;
  10475. _._lastVariableIndex = _._lastVariableName = null;
  10476. },
  10477. Environment__getVariableFromGlobalModule_closure: function Environment__getVariableFromGlobalModule_closure(t0) {
  10478. this.name = t0;
  10479. },
  10480. Environment_setVariable_closure: function Environment_setVariable_closure(t0, t1) {
  10481. this.$this = t0;
  10482. this.name = t1;
  10483. },
  10484. Environment_setVariable_closure0: function Environment_setVariable_closure0(t0) {
  10485. this.name = t0;
  10486. },
  10487. Environment_setVariable_closure1: function Environment_setVariable_closure1(t0, t1) {
  10488. this.$this = t0;
  10489. this.name = t1;
  10490. },
  10491. Environment__getFunctionFromGlobalModule_closure: function Environment__getFunctionFromGlobalModule_closure(t0) {
  10492. this.name = t0;
  10493. },
  10494. Environment__getMixinFromGlobalModule_closure: function Environment__getMixinFromGlobalModule_closure(t0) {
  10495. this.name = t0;
  10496. },
  10497. Environment_toModule_closure: function Environment_toModule_closure() {
  10498. },
  10499. Environment_toDummyModule_closure: function Environment_toDummyModule_closure() {
  10500. },
  10501. _EnvironmentModule: function _EnvironmentModule(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  10502. var _ = this;
  10503. _.upstream = t0;
  10504. _.variables = t1;
  10505. _.variableNodes = t2;
  10506. _.functions = t3;
  10507. _.mixins = t4;
  10508. _.extensionStore = t5;
  10509. _.css = t6;
  10510. _.preModuleComments = t7;
  10511. _.transitivelyContainsCss = t8;
  10512. _.transitivelyContainsExtensions = t9;
  10513. _._environment$_environment = t10;
  10514. _._modulesByVariable = t11;
  10515. },
  10516. _EnvironmentModule__EnvironmentModule_closure: function _EnvironmentModule__EnvironmentModule_closure() {
  10517. },
  10518. _EnvironmentModule__EnvironmentModule_closure0: function _EnvironmentModule__EnvironmentModule_closure0() {
  10519. },
  10520. _EnvironmentModule__EnvironmentModule_closure1: function _EnvironmentModule__EnvironmentModule_closure1() {
  10521. },
  10522. _EnvironmentModule__EnvironmentModule_closure2: function _EnvironmentModule__EnvironmentModule_closure2() {
  10523. },
  10524. _EnvironmentModule__EnvironmentModule_closure3: function _EnvironmentModule__EnvironmentModule_closure3() {
  10525. },
  10526. _EnvironmentModule__EnvironmentModule_closure4: function _EnvironmentModule__EnvironmentModule_closure4() {
  10527. },
  10528. SassException$(message, span, loadedUrls) {
  10529. return new A.SassException(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10530. },
  10531. MultiSpanSassException$(message, span, primaryLabel, secondarySpans, loadedUrls) {
  10532. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10533. return new A.MultiSpanSassException(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10534. },
  10535. SassRuntimeException$(message, span, trace, loadedUrls) {
  10536. return new A.SassRuntimeException(trace, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10537. },
  10538. MultiSpanSassRuntimeException$(message, span, primaryLabel, secondarySpans, trace, loadedUrls) {
  10539. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10540. return new A.MultiSpanSassRuntimeException(trace, primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10541. },
  10542. SassFormatException$(message, span, loadedUrls) {
  10543. return new A.SassFormatException(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10544. },
  10545. MultiSpanSassFormatException$(message, span, primaryLabel, secondarySpans, loadedUrls) {
  10546. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10547. return new A.MultiSpanSassFormatException(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  10548. },
  10549. SassScriptException$(message, argumentName) {
  10550. return new A.SassScriptException(argumentName == null ? message : "$" + argumentName + ": " + message);
  10551. },
  10552. MultiSpanSassScriptException$(message, primaryLabel, secondarySpans) {
  10553. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  10554. return new A.MultiSpanSassScriptException(primaryLabel, t1, message);
  10555. },
  10556. SassException: function SassException(t0, t1, t2) {
  10557. this.loadedUrls = t0;
  10558. this._span_exception$_message = t1;
  10559. this._span = t2;
  10560. },
  10561. MultiSpanSassException: function MultiSpanSassException(t0, t1, t2, t3, t4) {
  10562. var _ = this;
  10563. _.primaryLabel = t0;
  10564. _.secondarySpans = t1;
  10565. _.loadedUrls = t2;
  10566. _._span_exception$_message = t3;
  10567. _._span = t4;
  10568. },
  10569. SassRuntimeException: function SassRuntimeException(t0, t1, t2, t3) {
  10570. var _ = this;
  10571. _.trace = t0;
  10572. _.loadedUrls = t1;
  10573. _._span_exception$_message = t2;
  10574. _._span = t3;
  10575. },
  10576. MultiSpanSassRuntimeException: function MultiSpanSassRuntimeException(t0, t1, t2, t3, t4, t5) {
  10577. var _ = this;
  10578. _.trace = t0;
  10579. _.primaryLabel = t1;
  10580. _.secondarySpans = t2;
  10581. _.loadedUrls = t3;
  10582. _._span_exception$_message = t4;
  10583. _._span = t5;
  10584. },
  10585. SassFormatException: function SassFormatException(t0, t1, t2) {
  10586. this.loadedUrls = t0;
  10587. this._span_exception$_message = t1;
  10588. this._span = t2;
  10589. },
  10590. MultiSpanSassFormatException: function MultiSpanSassFormatException(t0, t1, t2, t3, t4) {
  10591. var _ = this;
  10592. _.primaryLabel = t0;
  10593. _.secondarySpans = t1;
  10594. _.loadedUrls = t2;
  10595. _._span_exception$_message = t3;
  10596. _._span = t4;
  10597. },
  10598. SassScriptException: function SassScriptException(t0) {
  10599. this.message = t0;
  10600. },
  10601. MultiSpanSassScriptException: function MultiSpanSassScriptException(t0, t1, t2) {
  10602. this.primaryLabel = t0;
  10603. this.secondarySpans = t1;
  10604. this.message = t2;
  10605. },
  10606. compileStylesheet(options, graph, source, destination, ifModified) {
  10607. return A.compileStylesheet$body(options, graph, source, destination, ifModified);
  10608. },
  10609. compileStylesheet$body(options, graph, source, destination, ifModified) {
  10610. var $async$goto = 0,
  10611. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_int_and_String_and_nullable_String),
  10612. $async$returnValue, $async$handler = 2, $async$currentError, error, stackTrace, message, error0, stackTrace0, path, message0, exception, t1, $async$exception;
  10613. var $async$compileStylesheet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10614. if ($async$errorCode === 1) {
  10615. $async$currentError = $async$result;
  10616. $async$goto = $async$handler;
  10617. }
  10618. while (true)
  10619. switch ($async$goto) {
  10620. case 0:
  10621. // Function start
  10622. $async$handler = 4;
  10623. $async$goto = 7;
  10624. return A._asyncAwait(A._compileStylesheetWithoutErrorHandling(options, graph, source, destination, ifModified), $async$compileStylesheet);
  10625. case 7:
  10626. // returning from await.
  10627. $async$handler = 2;
  10628. // goto after finally
  10629. $async$goto = 6;
  10630. break;
  10631. case 4:
  10632. // catch
  10633. $async$handler = 3;
  10634. $async$exception = $async$currentError;
  10635. t1 = A.unwrapException($async$exception);
  10636. if (t1 instanceof A.SassException) {
  10637. error = t1;
  10638. stackTrace = A.getTraceFromException($async$exception);
  10639. if (destination != null && !options.get$emitErrorCss())
  10640. A._tryDelete(destination);
  10641. message = J.toString$1$color$(error, options.get$color());
  10642. if (A._asBool(options._options.$index(0, "trace"))) {
  10643. t1 = A.getTrace(error);
  10644. if (t1 == null)
  10645. t1 = stackTrace;
  10646. } else
  10647. t1 = null;
  10648. $async$returnValue = A._getErrorWithStackTrace(65, message, t1);
  10649. // goto return
  10650. $async$goto = 1;
  10651. break;
  10652. } else if (t1 instanceof A.FileSystemException) {
  10653. error0 = t1;
  10654. stackTrace0 = A.getTraceFromException($async$exception);
  10655. path = error0.path;
  10656. message0 = path == null ? error0.message : "Error reading " + $.$get$context().relative$2$from(path, null) + ": " + error0.message + ".";
  10657. if (A._asBool(options._options.$index(0, "trace"))) {
  10658. t1 = A.getTrace(error0);
  10659. if (t1 == null)
  10660. t1 = stackTrace0;
  10661. } else
  10662. t1 = null;
  10663. $async$returnValue = A._getErrorWithStackTrace(66, message0, t1);
  10664. // goto return
  10665. $async$goto = 1;
  10666. break;
  10667. } else
  10668. throw $async$exception;
  10669. // goto after finally
  10670. $async$goto = 6;
  10671. break;
  10672. case 3:
  10673. // uncaught
  10674. // goto rethrow
  10675. $async$goto = 2;
  10676. break;
  10677. case 6:
  10678. // after finally
  10679. $async$returnValue = null;
  10680. // goto return
  10681. $async$goto = 1;
  10682. break;
  10683. case 1:
  10684. // return
  10685. return A._asyncReturn($async$returnValue, $async$completer);
  10686. case 2:
  10687. // rethrow
  10688. return A._asyncRethrow($async$currentError, $async$completer);
  10689. }
  10690. });
  10691. return A._asyncStartSync($async$compileStylesheet, $async$completer);
  10692. },
  10693. _compileStylesheetWithoutErrorHandling(options, graph, source, destination, ifModified) {
  10694. return A._compileStylesheetWithoutErrorHandling$body(options, graph, source, destination, ifModified);
  10695. },
  10696. _compileStylesheetWithoutErrorHandling$body(options, graph, source, destination, ifModified) {
  10697. var $async$goto = 0,
  10698. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  10699. $async$returnValue, $async$handler = 2, $async$currentError, syntax, result, importCache, error, exception, t1, t2, t3, t4, t5, t6, t7, t8, t9, result0, t10, t11, t12, t13, logger, stylesheet, t0, css, buffer, sourceName, destinationName, nowStr, timestamp, process, importer, $async$exception;
  10700. var $async$_compileStylesheetWithoutErrorHandling = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  10701. if ($async$errorCode === 1) {
  10702. $async$currentError = $async$result;
  10703. $async$goto = $async$handler;
  10704. }
  10705. while (true)
  10706. switch ($async$goto) {
  10707. case 0:
  10708. // Function start
  10709. importer = new A.FilesystemImporter(A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  10710. if (ifModified)
  10711. try {
  10712. if (source != null && destination != null && !graph.modifiedSince$3($.$get$context().toUri$1(source), A.modificationTime(destination), importer)) {
  10713. // goto return
  10714. $async$goto = 1;
  10715. break;
  10716. }
  10717. } catch (exception) {
  10718. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  10719. throw exception;
  10720. }
  10721. syntax = null;
  10722. if (A._asBoolQ(options._ifParsed$1("indented")) === true)
  10723. syntax = B.Syntax_Sass_sass;
  10724. else if (source != null)
  10725. syntax = A.Syntax_forPath(source);
  10726. else
  10727. syntax = B.Syntax_SCSS_scss;
  10728. result = null;
  10729. $async$handler = 4;
  10730. t1 = options._options;
  10731. $async$goto = A._asBool(t1.$index(0, "async")) ? 7 : 9;
  10732. break;
  10733. case 7:
  10734. // then
  10735. t2 = type$.List_String._as(t1.$index(0, "load-path"));
  10736. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10737. t4 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl;
  10738. t5 = type$.Uri;
  10739. t2 = A.AsyncImportCache__toImporters(null, t2, null);
  10740. importCache = new A.AsyncImportCache(t2, t3, A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t4), A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_4_Uri_and_AsyncImporter_baseImporter_and_nullable_Uri_baseUrl_and_bool_forImport, t4), A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.nullable_Stylesheet), A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.ImporterResult));
  10741. $async$goto = source == null ? 10 : 12;
  10742. break;
  10743. case 10:
  10744. // then
  10745. $async$goto = 13;
  10746. return A._asyncAwait(A.readStdin(), $async$_compileStylesheetWithoutErrorHandling);
  10747. case 13:
  10748. // returning from await.
  10749. t2 = $async$result;
  10750. t3 = syntax;
  10751. t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10752. t5 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  10753. t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10754. t7 = A._asBool(t1.$index(0, "quiet-deps"));
  10755. t8 = A._asBool(t1.$index(0, "verbose"));
  10756. t9 = options.get$emitSourceMap();
  10757. $async$goto = 14;
  10758. return A._asyncAwait(A.compileStringAsync(t2, A._asBool(t1.$index(0, "charset")), options.get$fatalDeprecations(), options.get$futureDeprecations(), importCache, new A.FilesystemImporter(t5), t4, t7, t9, t6, t3, t8), $async$_compileStylesheetWithoutErrorHandling);
  10759. case 14:
  10760. // returning from await.
  10761. result0 = $async$result;
  10762. // goto join
  10763. $async$goto = 11;
  10764. break;
  10765. case 12:
  10766. // else
  10767. t2 = syntax;
  10768. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10769. t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10770. t5 = A._asBool(t1.$index(0, "quiet-deps"));
  10771. t6 = A._asBool(t1.$index(0, "verbose"));
  10772. t7 = options.get$emitSourceMap();
  10773. $async$goto = 15;
  10774. return A._asyncAwait(A.compileAsync(source, A._asBool(t1.$index(0, "charset")), options.get$fatalDeprecations(), options.get$futureDeprecations(), importCache, t3, t5, t7, t4, t2, t6), $async$_compileStylesheetWithoutErrorHandling);
  10775. case 15:
  10776. // returning from await.
  10777. result0 = $async$result;
  10778. case 11:
  10779. // join
  10780. result = result0;
  10781. // goto join
  10782. $async$goto = 8;
  10783. break;
  10784. case 9:
  10785. // else
  10786. $async$goto = source == null ? 16 : 18;
  10787. break;
  10788. case 16:
  10789. // then
  10790. $async$goto = 19;
  10791. return A._asyncAwait(A.readStdin(), $async$_compileStylesheetWithoutErrorHandling);
  10792. case 19:
  10793. // returning from await.
  10794. t2 = $async$result;
  10795. t3 = syntax;
  10796. t4 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10797. t5 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  10798. t6 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10799. t7 = A._asBool(t1.$index(0, "quiet-deps"));
  10800. t8 = A._asBool(t1.$index(0, "verbose"));
  10801. t9 = options.get$emitSourceMap();
  10802. t1 = A._asBool(t1.$index(0, "charset"));
  10803. t10 = options.get$fatalDeprecations();
  10804. t11 = options.get$futureDeprecations();
  10805. t12 = type$.Deprecation;
  10806. t13 = A.LinkedHashSet_LinkedHashSet$_empty(t12);
  10807. t13.addAll$1(0, t10);
  10808. t10 = A.LinkedHashSet_LinkedHashSet$_empty(t12);
  10809. t10.addAll$1(0, t11);
  10810. logger = new A.DeprecationHandlingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t12, type$.int), t4, t13, t10, !t8);
  10811. stylesheet = A.Stylesheet_Stylesheet$parse(t2, t3 == null ? B.Syntax_SCSS_scss : t3, logger, null);
  10812. result0 = A._compileStylesheet(stylesheet, logger, graph.importCache, null, new A.FilesystemImporter(t5), null, t6, true, null, null, t7, t9, t1);
  10813. logger.summarize$1$js(false);
  10814. // goto join
  10815. $async$goto = 17;
  10816. break;
  10817. case 18:
  10818. // else
  10819. t2 = syntax;
  10820. t3 = A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color());
  10821. importCache = graph.importCache;
  10822. t4 = J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0;
  10823. t5 = A._asBool(t1.$index(0, "quiet-deps"));
  10824. t6 = A._asBool(t1.$index(0, "verbose"));
  10825. t7 = options.get$emitSourceMap();
  10826. t1 = A._asBool(t1.$index(0, "charset"));
  10827. t8 = options.get$fatalDeprecations();
  10828. t9 = options.get$futureDeprecations();
  10829. t10 = type$.Deprecation;
  10830. t11 = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  10831. t11.addAll$1(0, t8);
  10832. t8 = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  10833. t8.addAll$1(0, t9);
  10834. logger = new A.DeprecationHandlingLogger(A.LinkedHashMap_LinkedHashMap$_empty(t10, type$.int), t3, t11, t8, !t6);
  10835. t3 = t2 == null || t2 === A.Syntax_forPath(source);
  10836. if (t3) {
  10837. t2 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  10838. t3 = A.isNodeJs() ? self.process : null;
  10839. if (!J.$eq$(t3 == null ? null : J.get$platform$x(t3), "win32")) {
  10840. t3 = A.isNodeJs() ? self.process : null;
  10841. t3 = J.$eq$(t3 == null ? null : J.get$platform$x(t3), "darwin");
  10842. } else
  10843. t3 = true;
  10844. if (t3) {
  10845. t3 = $.$get$context();
  10846. t6 = A._realCasePath(A.absolute(t3.normalize$1(source), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  10847. t0 = t6;
  10848. t6 = t3;
  10849. t3 = t0;
  10850. } else {
  10851. t3 = $.$get$context();
  10852. t6 = t3.canonicalize$1(0, source);
  10853. t0 = t6;
  10854. t6 = t3;
  10855. t3 = t0;
  10856. }
  10857. t6 = importCache.importCanonical$3$originalUrl(new A.FilesystemImporter(t2), t6.toUri$1(t3), t6.toUri$1(source));
  10858. t6.toString;
  10859. stylesheet = t6;
  10860. } else {
  10861. t3 = A.readFile(source);
  10862. if (t2 == null)
  10863. t2 = A.Syntax_forPath(source);
  10864. stylesheet = A.Stylesheet_Stylesheet$parse(t3, t2, logger, $.$get$context().toUri$1(source));
  10865. }
  10866. result0 = A._compileStylesheet(stylesheet, logger, importCache, null, new A.FilesystemImporter(A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null)), null, t4, true, null, null, t5, t7, t1);
  10867. logger.summarize$1$js(false);
  10868. case 17:
  10869. // join
  10870. result = result0;
  10871. case 8:
  10872. // join
  10873. $async$handler = 2;
  10874. // goto after finally
  10875. $async$goto = 6;
  10876. break;
  10877. case 4:
  10878. // catch
  10879. $async$handler = 3;
  10880. $async$exception = $async$currentError;
  10881. t1 = A.unwrapException($async$exception);
  10882. if (t1 instanceof A.SassException) {
  10883. error = t1;
  10884. if (options.get$emitErrorCss())
  10885. if (destination == null)
  10886. A.print(error.toCssString$0());
  10887. else {
  10888. A.ensureDir($.$get$context().dirname$1(destination));
  10889. A.writeFile(destination, error.toCssString$0() + "\n");
  10890. }
  10891. throw $async$exception;
  10892. } else
  10893. throw $async$exception;
  10894. // goto after finally
  10895. $async$goto = 6;
  10896. break;
  10897. case 3:
  10898. // uncaught
  10899. // goto rethrow
  10900. $async$goto = 2;
  10901. break;
  10902. case 6:
  10903. // after finally
  10904. css = result._serialize._0 + A._writeSourceMap(options, result._serialize._1, destination);
  10905. if (destination == null) {
  10906. if (css.length !== 0)
  10907. A.print(css);
  10908. } else {
  10909. A.ensureDir($.$get$context().dirname$1(destination));
  10910. A.writeFile(destination, css + "\n");
  10911. }
  10912. t1 = options._options;
  10913. if (!A._asBool(t1.$index(0, "quiet")))
  10914. t1 = !A._asBool(t1.$index(0, "update")) && !A._asBool(t1.$index(0, "watch"));
  10915. else
  10916. t1 = true;
  10917. if (t1) {
  10918. // goto return
  10919. $async$goto = 1;
  10920. break;
  10921. }
  10922. buffer = new A.StringBuffer("");
  10923. if (source == null)
  10924. sourceName = "stdin";
  10925. else {
  10926. t1 = $.$get$context();
  10927. sourceName = t1.prettyUri$1(t1.toUri$1(source));
  10928. }
  10929. destination.toString;
  10930. t1 = $.$get$context();
  10931. destinationName = t1.prettyUri$1(t1.toUri$1(destination));
  10932. nowStr = new A.DateTime(Date.now(), false).toString$0(0);
  10933. timestamp = B.JSString_methods.substring$2(nowStr, 0, nowStr.length - 7);
  10934. t1 = options.get$color() ? buffer._contents = "" + "\x1b[90m" : "";
  10935. t1 = buffer._contents = t1 + ("[" + timestamp + "] ");
  10936. if (options.get$color())
  10937. t1 = buffer._contents = t1 + "\x1b[32m";
  10938. t1 += "Compiled " + sourceName + " to " + destinationName + ".";
  10939. buffer._contents = t1;
  10940. if (options.get$color())
  10941. buffer._contents = t1 + "\x1b[0m";
  10942. process = A.isNodeJs() ? self.process : null;
  10943. if (process != null)
  10944. t1 = true;
  10945. else {
  10946. process = null;
  10947. t1 = false;
  10948. }
  10949. if (t1) {
  10950. t1 = J.get$stdout$x(process);
  10951. J.write$1$x(t1, buffer.toString$0(0) + "\n");
  10952. } else {
  10953. t1 = self.console;
  10954. J.log$1$x(t1, buffer);
  10955. }
  10956. case 1:
  10957. // return
  10958. return A._asyncReturn($async$returnValue, $async$completer);
  10959. case 2:
  10960. // rethrow
  10961. return A._asyncRethrow($async$currentError, $async$completer);
  10962. }
  10963. });
  10964. return A._asyncStartSync($async$_compileStylesheetWithoutErrorHandling, $async$completer);
  10965. },
  10966. _writeSourceMap(options, sourceMap, destination) {
  10967. var t1, sourceMapText, url, sourceMapPath, t2, escapedUrl;
  10968. if (sourceMap == null)
  10969. return "";
  10970. if (destination != null) {
  10971. t1 = $.$get$context();
  10972. sourceMap.targetUrl = t1.toUri$1(A.ParsedPath_ParsedPath$parse(destination, t1.style).get$basename()).toString$0(0);
  10973. }
  10974. A.mapInPlace(sourceMap.urls, new A._writeSourceMap_closure(options, destination));
  10975. t1 = options._options;
  10976. sourceMapText = B.C_JsonCodec.encode$2$toEncodable(sourceMap.toJson$1$includeSourceContents(A._asBool(t1.$index(0, "embed-sources"))), null);
  10977. if (A._asBool(t1.$index(0, "embed-source-map")))
  10978. url = A.Uri_Uri$dataFromString(sourceMapText, B.C_Utf8Codec, "application/json");
  10979. else {
  10980. destination.toString;
  10981. sourceMapPath = destination + ".map";
  10982. t2 = $.$get$context();
  10983. A.ensureDir(t2.dirname$1(sourceMapPath));
  10984. A.writeFile(sourceMapPath, sourceMapText);
  10985. url = t2.toUri$1(t2.relative$2$from(sourceMapPath, t2.dirname$1(destination)));
  10986. }
  10987. t2 = url.toString$0(0);
  10988. escapedUrl = A.stringReplaceAllUnchecked(t2, "*/", "%2A/");
  10989. t1 = (J.$eq$(t1.$index(0, "style"), "compressed") ? B.OutputStyle_1 : B.OutputStyle_0) === B.OutputStyle_1 ? "" : "\n\n";
  10990. return t1 + ("/*# sourceMappingURL=" + escapedUrl + " */");
  10991. },
  10992. _tryDelete(path) {
  10993. var exception;
  10994. try {
  10995. A.deleteFile(path);
  10996. } catch (exception) {
  10997. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  10998. throw exception;
  10999. }
  11000. },
  11001. _getErrorWithStackTrace(exitCode, error, stackTrace) {
  11002. return new A._Record_3(exitCode, error, stackTrace != null ? B.JSString_methods.trimRight$0(A.Trace_Trace$from(stackTrace).get$terse().toString$0(0)) : null);
  11003. },
  11004. _writeSourceMap_closure: function _writeSourceMap_closure(t0, t1) {
  11005. this.options = t0;
  11006. this.destination = t1;
  11007. },
  11008. compileStylesheets(options, graph, sourcesToDestinations, ifModified) {
  11009. var $async$goto = 0,
  11010. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  11011. $async$returnValue, _1_4, source, destination, t2, t3, _i, t4, printedError, errorWithStackTrace, code, error, stackTrace, buffer, t1, $async$temp1;
  11012. var $async$compileStylesheets = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  11013. if ($async$errorCode === 1)
  11014. return A._asyncRethrow($async$result, $async$completer);
  11015. while (true)
  11016. switch ($async$goto) {
  11017. case 0:
  11018. // Function start
  11019. t1 = type$.nullable_String;
  11020. t1 = A.List_List$of(A.MapExtensions_get_pairs(sourcesToDestinations, t1, t1), true, type$.Record_2_nullable_String_and_nullable_String);
  11021. _1_4 = A._InitializedCell$(new A.compileStylesheets_closure(t1));
  11022. if (t1.length === 1) {
  11023. source = _1_4._readFinal$0()._0;
  11024. destination = _1_4._readFinal$0()._1;
  11025. t2 = true;
  11026. } else {
  11027. source = null;
  11028. destination = null;
  11029. t2 = false;
  11030. }
  11031. $async$goto = t2 ? 4 : 5;
  11032. break;
  11033. case 4:
  11034. // then
  11035. $async$temp1 = A;
  11036. $async$goto = 6;
  11037. return A._asyncAwait(A.compileStylesheet(options, graph, source, destination, ifModified), $async$compileStylesheets);
  11038. case 6:
  11039. // returning from await.
  11040. t1 = $async$temp1._setArrayType([$async$result], type$.JSArray_nullable_Record_3_int_and_String_and_nullable_String);
  11041. // goto break $label0$0
  11042. $async$goto = 3;
  11043. break;
  11044. case 5:
  11045. // join
  11046. t2 = A._setArrayType([], type$.JSArray_Future_nullable_Record_3_int_and_String_and_nullable_String);
  11047. for (t3 = t1.length, _i = 0; _i < t1.length; t1.length === t3 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  11048. t4 = t1[_i];
  11049. t2.push(A.compileStylesheet(options, graph, t4._0, t4._1, ifModified));
  11050. }
  11051. $async$goto = 7;
  11052. return A._asyncAwait(A.Future_wait(t2, A._asBool(options._options.$index(0, "stop-on-error")), type$.nullable_Record_3_int_and_String_and_nullable_String), $async$compileStylesheets);
  11053. case 7:
  11054. // returning from await.
  11055. t1 = $async$result;
  11056. // goto break $label0$0
  11057. $async$goto = 3;
  11058. break;
  11059. case 3:
  11060. // break $label0$0
  11061. for (t1 = J.get$iterator$ax(t1), printedError = false; t1.moveNext$0();) {
  11062. errorWithStackTrace = t1.get$current(t1);
  11063. if (errorWithStackTrace == null)
  11064. continue;
  11065. code = errorWithStackTrace._0;
  11066. error = errorWithStackTrace._1;
  11067. stackTrace = errorWithStackTrace._2;
  11068. t2 = self.process;
  11069. if (t2 == null)
  11070. t2 = null;
  11071. else {
  11072. t2 = J.get$release$x(t2);
  11073. t2 = t2 == null ? null : J.get$name$x(t2);
  11074. }
  11075. t2 = J.$eq$(t2, "node") ? self.process : null;
  11076. t2 = t2 == null ? null : J.get$exitCode$x(t2);
  11077. if (t2 == null)
  11078. t2 = 0;
  11079. t2 = Math.max(t2, code);
  11080. t3 = self.process;
  11081. if (t3 == null)
  11082. t3 = null;
  11083. else {
  11084. t3 = J.get$release$x(t3);
  11085. t3 = t3 == null ? null : J.get$name$x(t3);
  11086. }
  11087. t3 = J.$eq$(t3, "node") ? self.process : null;
  11088. if (t3 != null)
  11089. J.set$exitCode$x(t3, t2);
  11090. buffer = new A.StringBuffer("");
  11091. t2 = (printedError ? buffer._contents = "" + "\n" : "") + error;
  11092. buffer._contents = t2;
  11093. if (stackTrace != null) {
  11094. t2 += "\n";
  11095. buffer._contents = t2;
  11096. t2 += "\n";
  11097. buffer._contents = t2;
  11098. buffer._contents = t2 + stackTrace;
  11099. }
  11100. A.printError(buffer);
  11101. printedError = true;
  11102. }
  11103. $async$returnValue = !printedError;
  11104. // goto return
  11105. $async$goto = 1;
  11106. break;
  11107. case 1:
  11108. // return
  11109. return A._asyncReturn($async$returnValue, $async$completer);
  11110. }
  11111. });
  11112. return A._asyncStartSync($async$compileStylesheets, $async$completer);
  11113. },
  11114. compileStylesheets_closure: function compileStylesheets_closure(t0) {
  11115. this._1_0 = t0;
  11116. },
  11117. ExecutableOptions__separator(text) {
  11118. var t1 = $.$get$ExecutableOptions__separatorBar(),
  11119. t2 = B.JSString_methods.$mul(t1, 3),
  11120. t3 = A.hasTerminal() ? "\x1b[1m" : "",
  11121. t4 = A.hasTerminal() ? "\x1b[0m" : "";
  11122. return t2 + " " + t3 + text + t4 + " " + B.JSString_methods.$mul(t1, 35 - text.length);
  11123. },
  11124. ExecutableOptions__fail(message) {
  11125. return A.throwExpression(A.UsageException$(message));
  11126. },
  11127. ExecutableOptions_ExecutableOptions$parse(args) {
  11128. var options, error, t1, t2, exception;
  11129. try {
  11130. t1 = $.$get$ExecutableOptions__parser();
  11131. t2 = A.ListQueue$(type$.String);
  11132. t2.addAll$1(0, args);
  11133. t2 = A.Parser$(null, t1, t2, null, null).parse$0();
  11134. if (t2.wasParsed$1("poll") && !A._asBool(t2.$index(0, "watch")))
  11135. A.ExecutableOptions__fail("--poll may not be passed without --watch.");
  11136. options = new A.ExecutableOptions(t2);
  11137. if (A._asBool(options._options.$index(0, "help")))
  11138. A.ExecutableOptions__fail("Compile Sass to CSS.");
  11139. return options;
  11140. } catch (exception) {
  11141. t1 = A.unwrapException(exception);
  11142. if (type$.FormatException._is(t1)) {
  11143. error = t1;
  11144. A.ExecutableOptions__fail(J.get$message$x(error));
  11145. } else
  11146. throw exception;
  11147. }
  11148. },
  11149. UsageException$(message) {
  11150. return new A.UsageException(message);
  11151. },
  11152. ExecutableOptions: function ExecutableOptions(t0) {
  11153. var _ = this;
  11154. _._options = t0;
  11155. _.__ExecutableOptions_interactive_FI = $;
  11156. _._sourcesToDestinations = null;
  11157. _.__ExecutableOptions__sourceDirectoriesToDestinations_F = $;
  11158. _._fatalDeprecations = null;
  11159. },
  11160. ExecutableOptions__parser_closure: function ExecutableOptions__parser_closure() {
  11161. },
  11162. ExecutableOptions__parser__closure: function ExecutableOptions__parser__closure(t0) {
  11163. this._0_0 = t0;
  11164. },
  11165. ExecutableOptions__parser__closure0: function ExecutableOptions__parser__closure0(t0) {
  11166. this._1_0 = t0;
  11167. },
  11168. ExecutableOptions_interactive_closure: function ExecutableOptions_interactive_closure(t0) {
  11169. this.$this = t0;
  11170. },
  11171. ExecutableOptions_emitErrorCss_closure: function ExecutableOptions_emitErrorCss_closure() {
  11172. },
  11173. ExecutableOptions_fatalDeprecations_closure: function ExecutableOptions_fatalDeprecations_closure(t0) {
  11174. this.$this = t0;
  11175. },
  11176. UsageException: function UsageException(t0) {
  11177. this.message = t0;
  11178. },
  11179. watch(options, graph) {
  11180. var $async$goto = 0,
  11181. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  11182. $async$returnValue, t1, t2, t3, t4, t5, t6, dirWatcher, sourcesToDestinations;
  11183. var $async$watch = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  11184. if ($async$errorCode === 1)
  11185. return A._asyncRethrow($async$result, $async$completer);
  11186. while (true)
  11187. switch ($async$goto) {
  11188. case 0:
  11189. // Function start
  11190. options._ensureSources$0();
  11191. t1 = options.__ExecutableOptions__sourceDirectoriesToDestinations_F;
  11192. t1 === $ && A.throwUnnamedLateFieldNI();
  11193. t2 = type$.String;
  11194. t1 = t1.cast$2$0(0, t2, t2);
  11195. t1 = A.List_List$of(t1.get$keys(t1), true, t2);
  11196. 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();) {
  11197. t4 = t3.get$current(t3);
  11198. t1.push($.$get$context().dirname$1(t4));
  11199. }
  11200. t3 = options._options;
  11201. B.JSArray_methods.addAll$1(t1, type$.List_String._as(t3.$index(0, "load-path")));
  11202. t4 = A._asBool(t3.$index(0, "poll"));
  11203. t5 = type$.Stream_WatchEvent;
  11204. t6 = A.PathMap__create(null, t5);
  11205. t5 = new A.StreamGroup(B._StreamGroupState_dormant, A.LinkedHashMap_LinkedHashMap$_empty(t5, type$.nullable_StreamSubscription_WatchEvent), type$.StreamGroup_WatchEvent);
  11206. t5.__StreamGroup__controller_A = A.StreamController_StreamController(t5.get$_onCancel(), t5.get$_onListen(), t5.get$_onPause(), t5.get$_onResume(), true, type$.WatchEvent);
  11207. dirWatcher = new A.MultiDirWatcher(new A.PathMap(t6, type$.PathMap_Stream_WatchEvent), t5, t4);
  11208. $async$goto = 3;
  11209. return A._asyncAwait(A.Future_wait(new A.MappedListIterable(t1, new A.watch_closure(dirWatcher), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Future<~>>")), false, type$.void), $async$watch);
  11210. case 3:
  11211. // returning from await.
  11212. options._ensureSources$0();
  11213. sourcesToDestinations = options._sourcesToDestinations.cast$2$0(0, t2, t2);
  11214. for (t1 = J.get$iterator$ax(sourcesToDestinations.get$keys(sourcesToDestinations)); t1.moveNext$0();) {
  11215. t2 = t1.get$current(t1);
  11216. t4 = $.$get$context();
  11217. t5 = t4.absolute$15(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  11218. t6 = self.process;
  11219. if (t6 == null)
  11220. t6 = null;
  11221. else {
  11222. t6 = J.get$release$x(t6);
  11223. t6 = t6 == null ? null : J.get$name$x(t6);
  11224. }
  11225. t6 = J.$eq$(t6, "node") ? self.process : null;
  11226. if (!J.$eq$(t6 == null ? null : J.get$platform$x(t6), "win32")) {
  11227. t6 = self.process;
  11228. if (t6 == null)
  11229. t6 = null;
  11230. else {
  11231. t6 = J.get$release$x(t6);
  11232. t6 = t6 == null ? null : J.get$name$x(t6);
  11233. }
  11234. t6 = J.$eq$(t6, "node") ? self.process : null;
  11235. t6 = J.$eq$(t6 == null ? null : J.get$platform$x(t6), "darwin");
  11236. } else
  11237. t6 = true;
  11238. graph.addCanonical$4$recanonicalize(new A.FilesystemImporter(t5), t4.toUri$1(t6 ? A._realCasePath(t4.absolute$15(t4.normalize$1(t2), null, null, null, null, null, null, null, null, null, null, null, null, null, null)) : t4.canonicalize$1(0, t2)), t4.toUri$1(t2), false);
  11239. }
  11240. $async$goto = 4;
  11241. return A._asyncAwait(A.compileStylesheets(options, graph, sourcesToDestinations, true), $async$watch);
  11242. case 4:
  11243. // returning from await.
  11244. if (!$async$result && A._asBool(t3.$index(0, "stop-on-error"))) {
  11245. t1 = dirWatcher._group.__StreamGroup__controller_A;
  11246. t1 === $ && A.throwUnnamedLateFieldNI();
  11247. new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$1(0, null).cancel$0();
  11248. // goto return
  11249. $async$goto = 1;
  11250. break;
  11251. }
  11252. A.print("Sass is watching for changes. Press Ctrl-C to stop.\n");
  11253. $async$goto = 5;
  11254. return A._asyncAwait(new A._Watcher(options, graph).watch$1(0, dirWatcher), $async$watch);
  11255. case 5:
  11256. // returning from await.
  11257. case 1:
  11258. // return
  11259. return A._asyncReturn($async$returnValue, $async$completer);
  11260. }
  11261. });
  11262. return A._asyncStartSync($async$watch, $async$completer);
  11263. },
  11264. watch_closure: function watch_closure(t0) {
  11265. this.dirWatcher = t0;
  11266. },
  11267. _Watcher: function _Watcher(t0, t1) {
  11268. this._watch$_options = t0;
  11269. this._graph = t1;
  11270. },
  11271. _Watcher__debounceEvents_closure: function _Watcher__debounceEvents_closure() {
  11272. },
  11273. _Watcher__debounceEvents__closure: function _Watcher__debounceEvents__closure(t0) {
  11274. this._0_0 = t0;
  11275. },
  11276. _Watcher__debounceEvents__closure0: function _Watcher__debounceEvents__closure0(t0) {
  11277. this._0_0 = t0;
  11278. },
  11279. _Watcher__debounceEvents__closure1: function _Watcher__debounceEvents__closure1(t0) {
  11280. this._1_0 = t0;
  11281. },
  11282. EmptyExtensionStore: function EmptyExtensionStore() {
  11283. },
  11284. Extension: function Extension(t0, t1, t2, t3, t4) {
  11285. var _ = this;
  11286. _.extender = t0;
  11287. _.target = t1;
  11288. _.mediaContext = t2;
  11289. _.isOptional = t3;
  11290. _.span = t4;
  11291. },
  11292. Extender: function Extender(t0, t1) {
  11293. this.selector = t0;
  11294. this.isOriginal = t1;
  11295. this._extension = null;
  11296. },
  11297. ExtensionStore__extendOrReplace(selector, source, targets, mode, span) {
  11298. var t1, t2, t3, t4, t5, t6, t7, t8, _i, complex, compound, t9, t10, t11, _i0, simple, t12, _i1, t13, t14,
  11299. extender = A.ExtensionStore$_mode(mode);
  11300. if (!selector.accept$1(B._IsInvisibleVisitor_true))
  11301. extender._originals.addAll$1(0, selector.components);
  11302. 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) {
  11303. complex = t1[_i];
  11304. compound = complex.get$singleCompound();
  11305. if (compound == null)
  11306. throw A.wrapException(A.SassScriptException$("Can't extend complex selector " + A.S(complex) + ".", null));
  11307. t9 = A.LinkedHashMap_LinkedHashMap$_empty(t7, t8);
  11308. for (t10 = compound.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0) {
  11309. simple = t10[_i0];
  11310. t12 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
  11311. for (_i1 = 0; _i1 < t4; ++_i1) {
  11312. complex = t3[_i1];
  11313. complex.get$specificity();
  11314. t13 = new A.Extender(complex, false);
  11315. t14 = new A.Extension(t13, simple, null, true, span);
  11316. t13._extension = t14;
  11317. t12.$indexSet(0, complex, t14);
  11318. }
  11319. t9.$indexSet(0, simple, t12);
  11320. }
  11321. selector = extender._extendList$2(selector, t9);
  11322. }
  11323. return selector;
  11324. },
  11325. ExtensionStore$() {
  11326. var t1 = type$.SimpleSelector;
  11327. return new A.ExtensionStore(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_ComplexSelector_Extension), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Extension), A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList, type$.List_CssMediaQuery), new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector), B.ExtendMode_normal_normal);
  11328. },
  11329. ExtensionStore$_mode(_mode) {
  11330. var t1 = type$.SimpleSelector;
  11331. return new A.ExtensionStore(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Map_ComplexSelector_Extension), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.List_Extension), A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList, type$.List_CssMediaQuery), new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector), _mode);
  11332. },
  11333. ExtensionStore: function ExtensionStore(t0, t1, t2, t3, t4, t5, t6) {
  11334. var _ = this;
  11335. _._selectors = t0;
  11336. _._extensions = t1;
  11337. _._extensionsByExtender = t2;
  11338. _._mediaContexts = t3;
  11339. _._sourceSpecificity = t4;
  11340. _._originals = t5;
  11341. _._mode = t6;
  11342. },
  11343. ExtensionStore_extensionsWhereTarget_closure: function ExtensionStore_extensionsWhereTarget_closure() {
  11344. },
  11345. ExtensionStore__registerSelector_closure: function ExtensionStore__registerSelector_closure() {
  11346. },
  11347. ExtensionStore__registerSelector_closure0: function ExtensionStore__registerSelector_closure0(t0) {
  11348. this._0_0 = t0;
  11349. },
  11350. ExtensionStore_addExtension_closure: function ExtensionStore_addExtension_closure() {
  11351. },
  11352. ExtensionStore_addExtension_closure0: function ExtensionStore_addExtension_closure0() {
  11353. },
  11354. ExtensionStore_addExtension_closure1: function ExtensionStore_addExtension_closure1(t0) {
  11355. this.complex = t0;
  11356. },
  11357. ExtensionStore__simpleSelectors_closure: function ExtensionStore__simpleSelectors_closure(t0) {
  11358. this._0_0 = t0;
  11359. },
  11360. ExtensionStore__extendExistingExtensions_closure: function ExtensionStore__extendExistingExtensions_closure() {
  11361. },
  11362. ExtensionStore__extendExistingExtensions_closure0: function ExtensionStore__extendExistingExtensions_closure0() {
  11363. },
  11364. ExtensionStore_addExtensions_closure: function ExtensionStore_addExtensions_closure() {
  11365. },
  11366. ExtensionStore__extendComplex_closure: function ExtensionStore__extendComplex_closure(t0, t1, t2) {
  11367. this._box_0 = t0;
  11368. this.$this = t1;
  11369. this.complex = t2;
  11370. },
  11371. ExtensionStore__extendComplex__closure: function ExtensionStore__extendComplex__closure(t0, t1, t2) {
  11372. this._box_0 = t0;
  11373. this.$this = t1;
  11374. this.complex = t2;
  11375. },
  11376. ExtensionStore__extendCompound_closure: function ExtensionStore__extendCompound_closure() {
  11377. },
  11378. ExtensionStore__extendCompound_closure0: function ExtensionStore__extendCompound_closure0() {
  11379. },
  11380. ExtensionStore__extendCompound_closure1: function ExtensionStore__extendCompound_closure1(t0) {
  11381. this.original = t0;
  11382. },
  11383. ExtensionStore__extendSimple_withoutPseudo: function ExtensionStore__extendSimple_withoutPseudo(t0, t1, t2) {
  11384. this.$this = t0;
  11385. this.extensions = t1;
  11386. this.targetsUsed = t2;
  11387. },
  11388. ExtensionStore__extendSimple_closure: function ExtensionStore__extendSimple_closure(t0, t1) {
  11389. this.$this = t0;
  11390. this.withoutPseudo = t1;
  11391. },
  11392. ExtensionStore__extendSimple_closure0: function ExtensionStore__extendSimple_closure0() {
  11393. },
  11394. ExtensionStore__extendPseudo_closure: function ExtensionStore__extendPseudo_closure() {
  11395. },
  11396. ExtensionStore__extendPseudo_closure0: function ExtensionStore__extendPseudo_closure0() {
  11397. },
  11398. ExtensionStore__extendPseudo_closure1: function ExtensionStore__extendPseudo_closure1() {
  11399. },
  11400. ExtensionStore__extendPseudo_closure2: function ExtensionStore__extendPseudo_closure2(t0) {
  11401. this.pseudo = t0;
  11402. },
  11403. ExtensionStore__extendPseudo_closure3: function ExtensionStore__extendPseudo_closure3(t0, t1) {
  11404. this.pseudo = t0;
  11405. this.selector = t1;
  11406. },
  11407. ExtensionStore__trim_closure: function ExtensionStore__trim_closure(t0, t1) {
  11408. this._box_0 = t0;
  11409. this.complex1 = t1;
  11410. },
  11411. ExtensionStore__trim_closure0: function ExtensionStore__trim_closure0(t0, t1) {
  11412. this._box_0 = t0;
  11413. this.complex1 = t1;
  11414. },
  11415. ExtensionStore_clone_closure: function ExtensionStore_clone_closure(t0, t1, t2, t3) {
  11416. var _ = this;
  11417. _.$this = t0;
  11418. _.newSelectors = t1;
  11419. _.oldToNewSelectors = t2;
  11420. _.newMediaContexts = t3;
  11421. },
  11422. unifyComplex(complexes, span) {
  11423. var t2, trailingCombinator, leadingCombinator, unifiedBase, t3, _0_6, newLeadingCombinator, t4, base, _1_1, newTrailingCombinator, _i, t5, t6, t7, t8, _null = null,
  11424. t1 = J.getInterceptor$asx(complexes);
  11425. if (t1.get$length(complexes) === 1)
  11426. return complexes;
  11427. for (t2 = t1.get$iterator(complexes), trailingCombinator = _null, leadingCombinator = trailingCombinator, unifiedBase = leadingCombinator; t2.moveNext$0();) {
  11428. t3 = t2.get$current(t2);
  11429. if (t3.accept$1(B.C__IsUselessVisitor))
  11430. return _null;
  11431. _0_6 = A._InitializedCell$(new A.unifyComplex_closure(t3));
  11432. t3 = t3.components;
  11433. if (t3.length === 1)
  11434. if (J.get$length$asx(_0_6._readFinal$0()) === 1) {
  11435. newLeadingCombinator = J.$index$asx(_0_6._readFinal$0(), 0);
  11436. t4 = true;
  11437. } else {
  11438. newLeadingCombinator = _null;
  11439. t4 = false;
  11440. }
  11441. else {
  11442. newLeadingCombinator = _null;
  11443. t4 = false;
  11444. }
  11445. if (t4)
  11446. if (leadingCombinator == null)
  11447. leadingCombinator = newLeadingCombinator;
  11448. else if (!leadingCombinator.$eq(0, newLeadingCombinator))
  11449. return _null;
  11450. base = B.JSArray_methods.get$last(t3);
  11451. _1_1 = A._InitializedCell$(new A.unifyComplex_closure0(base));
  11452. if (J.get$length$asx(_1_1._readFinal$0()) === 1) {
  11453. newTrailingCombinator = J.$index$asx(_1_1._readFinal$0(), 0);
  11454. t3 = true;
  11455. } else {
  11456. newTrailingCombinator = _null;
  11457. t3 = false;
  11458. }
  11459. if (t3) {
  11460. if (trailingCombinator != null && !trailingCombinator.$eq(0, newTrailingCombinator))
  11461. return _null;
  11462. trailingCombinator = newTrailingCombinator;
  11463. }
  11464. if (unifiedBase == null)
  11465. unifiedBase = base.selector.components;
  11466. else
  11467. for (t3 = base.selector.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  11468. unifiedBase = t3[_i].unify$1(unifiedBase);
  11469. if (unifiedBase == null)
  11470. return _null;
  11471. }
  11472. }
  11473. t2 = type$.JSArray_ComplexSelector;
  11474. t3 = A._setArrayType([], t2);
  11475. for (t4 = t1.get$iterator(complexes); t4.moveNext$0();) {
  11476. t5 = t4.get$current(t4);
  11477. t6 = t5.components;
  11478. t7 = t6.length;
  11479. if (t7 > 1) {
  11480. t8 = t5.leadingCombinators;
  11481. t3.push(A.ComplexSelector$(t8, B.JSArray_methods.take$1(t6, t7 - 1), t5.span, t5.lineBreak));
  11482. }
  11483. }
  11484. t4 = leadingCombinator == null ? B.List_empty1 : A._setArrayType([leadingCombinator], type$.JSArray_CssValue_Combinator);
  11485. unifiedBase.toString;
  11486. t5 = A.CompoundSelector$(unifiedBase, span);
  11487. t6 = trailingCombinator == null ? B.List_empty1 : A._setArrayType([trailingCombinator], type$.JSArray_CssValue_Combinator);
  11488. base = A.ComplexSelector$(t4, A._setArrayType([new A.ComplexSelectorComponent(t5, A.List_List$unmodifiable(t6, type$.CssValue_Combinator), span)], type$.JSArray_ComplexSelectorComponent), span, t1.any$1(complexes, new A.unifyComplex_closure1()));
  11489. if (t3.length === 0)
  11490. t1 = A._setArrayType([base], t2);
  11491. else {
  11492. t1 = A.List_List$of(A.IterableExtension_get_exceptLast(t3), true, type$.ComplexSelector);
  11493. t1.push(B.JSArray_methods.get$last(t3).concatenate$2(base, span));
  11494. }
  11495. return A.weave(t1, span, false);
  11496. },
  11497. unifyCompound(compound1, compound2) {
  11498. var t1, t2, _i, unified,
  11499. result = compound2.components;
  11500. for (t1 = compound1.components, t2 = t1.length, _i = 0; _i < t2; ++_i, result = unified) {
  11501. unified = t1[_i].unify$1(result);
  11502. if (unified == null)
  11503. return null;
  11504. }
  11505. return A.CompoundSelector$(result, compound1.span);
  11506. },
  11507. unifyUniversalAndElement(selector1, selector2) {
  11508. var namespace, $name, t1,
  11509. _0_0 = A._namespaceAndName(selector1, "selector1"),
  11510. namespace1 = _0_0._0,
  11511. name1 = _0_0._1,
  11512. _1_0 = A._namespaceAndName(selector2, "selector2"),
  11513. namespace2 = _1_0._0,
  11514. name2 = _1_0._1;
  11515. if (namespace1 == namespace2 || namespace2 === "*")
  11516. namespace = namespace1;
  11517. else {
  11518. if (namespace1 !== "*")
  11519. return null;
  11520. namespace = namespace2;
  11521. }
  11522. if (name1 == name2 || name2 == null)
  11523. $name = name1;
  11524. else {
  11525. if (!(name1 == null || name1 === "*"))
  11526. return null;
  11527. $name = name2;
  11528. }
  11529. t1 = selector1.span;
  11530. return $name == null ? new A.UniversalSelector(namespace, t1) : new A.TypeSelector(new A.QualifiedName($name, namespace), t1);
  11531. },
  11532. _namespaceAndName(selector, $name) {
  11533. var namespace, t1, name0, _null = null,
  11534. _0_4 = A._InitializedCell$(new A._namespaceAndName_closure(selector));
  11535. $label0$0: {
  11536. if (selector instanceof A.UniversalSelector) {
  11537. namespace = selector.namespace;
  11538. t1 = true;
  11539. } else {
  11540. namespace = _null;
  11541. t1 = false;
  11542. }
  11543. if (t1) {
  11544. t1 = new A._Record_2(namespace, _null);
  11545. break $label0$0;
  11546. }
  11547. if (selector instanceof A.TypeSelector) {
  11548. name0 = _0_4._readFinal$0().name;
  11549. namespace = _0_4._readFinal$0().namespace;
  11550. t1 = true;
  11551. } else {
  11552. namespace = _null;
  11553. name0 = namespace;
  11554. t1 = false;
  11555. }
  11556. if (t1) {
  11557. t1 = new A._Record_2(namespace, name0);
  11558. break $label0$0;
  11559. }
  11560. t1 = A.throwExpression(A.ArgumentError$value(selector, $name, string$.must_b));
  11561. }
  11562. return t1;
  11563. },
  11564. weave(complexes, span, forceLineBreak) {
  11565. var complex, t2, prefixes, t3, t4, t5, t6, i, t7, t8, _i, t9, t10, _i0, parentPrefix, t11, t12,
  11566. t1 = J.getInterceptor$asx(complexes);
  11567. if (t1.get$length(complexes) === 1) {
  11568. complex = t1.$index(complexes, 0);
  11569. t2 = true;
  11570. } else {
  11571. complex = null;
  11572. t2 = false;
  11573. }
  11574. if (t2) {
  11575. if (!forceLineBreak || complex.lineBreak)
  11576. return complexes;
  11577. return A._setArrayType([A.ComplexSelector$(complex.leadingCombinators, complex.components, complex.span, true)], type$.JSArray_ComplexSelector);
  11578. }
  11579. t2 = type$.JSArray_ComplexSelector;
  11580. prefixes = A._setArrayType([t1.get$first(complexes)], t2);
  11581. for (t1 = t1.skip$1(complexes, 1), t1 = new A.ListIterator(t1, t1.get$length(t1)), t3 = type$.ComplexSelectorComponent, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  11582. t5 = t1.__internal$_current;
  11583. if (t5 == null)
  11584. t5 = t4._as(t5);
  11585. t6 = t5.components;
  11586. if (t6.length === 1) {
  11587. for (i = 0; i < prefixes.length; ++i)
  11588. prefixes[i] = prefixes[i].concatenate$3$forceLineBreak(t5, span, forceLineBreak);
  11589. continue;
  11590. }
  11591. t7 = A._setArrayType([], t2);
  11592. for (t8 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t8 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
  11593. t9 = A._weaveParents(prefixes[_i], t5, span);
  11594. if (t9 == null)
  11595. t9 = B.List_empty2;
  11596. t10 = t9.length;
  11597. _i0 = 0;
  11598. for (; _i0 < t9.length; t9.length === t10 || (0, A.throwConcurrentModificationError)(t9), ++_i0) {
  11599. parentPrefix = t9[_i0];
  11600. t11 = B.JSArray_methods.get$last(t6);
  11601. t12 = A.List_List$of(parentPrefix.components, true, t3);
  11602. t12.push(t11);
  11603. t11 = parentPrefix.lineBreak || forceLineBreak;
  11604. t7.push(A.ComplexSelector$(parentPrefix.leadingCombinators, t12, span, t11));
  11605. }
  11606. }
  11607. prefixes = t7;
  11608. }
  11609. return prefixes;
  11610. },
  11611. _weaveParents(prefix, base, span) {
  11612. var t1, queue1, queue2, trailingCombinators, _0_0, _0_1, _0_3, rootish1, rootish2, rootish, t2, t3, rootish_case_0, rootish_case_1, groups1, groups2, lcs, choices, t4, _i, group, t5, t6, t7, _i0, chunk, t8, t9, _null = null,
  11613. leadingCombinators = A._mergeLeadingCombinators(prefix.leadingCombinators, base.leadingCombinators);
  11614. if (leadingCombinators == null)
  11615. return _null;
  11616. t1 = type$.ComplexSelectorComponent;
  11617. queue1 = A.QueueList_QueueList$from(prefix.components, t1);
  11618. queue2 = A.QueueList_QueueList$from(A.IterableExtension_get_exceptLast(base.components), t1);
  11619. trailingCombinators = A._mergeTrailingCombinators(queue1, queue2, span, _null);
  11620. if (trailingCombinators == null)
  11621. return _null;
  11622. $label0$0: {
  11623. _0_0 = new A._Record_2(A._firstIfRootish(queue1), A._firstIfRootish(queue2));
  11624. _0_1 = A._InitializedCell$(new A._weaveParents_closure(_0_0));
  11625. _0_3 = A._InitializedCell$(new A._weaveParents_closure0(_0_0));
  11626. if (_0_1._readFinal$0() != null) {
  11627. rootish1 = _0_1._readFinal$0();
  11628. t1 = true;
  11629. } else {
  11630. rootish1 = _null;
  11631. t1 = false;
  11632. }
  11633. if (t1)
  11634. if (_0_3._readFinal$0() != null) {
  11635. rootish2 = _0_3._readFinal$0();
  11636. t1 = true;
  11637. } else {
  11638. rootish2 = _null;
  11639. t1 = false;
  11640. }
  11641. else {
  11642. rootish2 = _null;
  11643. t1 = false;
  11644. }
  11645. if (t1) {
  11646. rootish = A.unifyCompound(rootish1.selector, rootish2.selector);
  11647. if (rootish == null)
  11648. return _null;
  11649. t1 = rootish1.combinators;
  11650. t2 = rootish1.span;
  11651. t3 = type$.CssValue_Combinator;
  11652. queue1.addFirst$1(new A.ComplexSelectorComponent(rootish, A.List_List$unmodifiable(t1, t3), t2));
  11653. queue2.addFirst$1(new A.ComplexSelectorComponent(rootish, A.List_List$unmodifiable(rootish2.combinators, t3), t2));
  11654. break $label0$0;
  11655. }
  11656. if (_0_1._readFinal$0() != null) {
  11657. rootish_case_0 = _0_1._readFinal$0();
  11658. t1 = true;
  11659. } else {
  11660. rootish_case_0 = _null;
  11661. t1 = false;
  11662. }
  11663. if (t1)
  11664. if (_0_3._readFinal$0() == null) {
  11665. t1 = rootish_case_0;
  11666. t2 = true;
  11667. } else {
  11668. t1 = _null;
  11669. t2 = false;
  11670. }
  11671. else {
  11672. t1 = _null;
  11673. t2 = false;
  11674. }
  11675. if (!t2)
  11676. if (_0_1._readFinal$0() == null) {
  11677. if (_0_3._readFinal$0() != null) {
  11678. rootish_case_1 = _0_3._readFinal$0();
  11679. t2 = true;
  11680. } else {
  11681. rootish_case_1 = _null;
  11682. t2 = false;
  11683. }
  11684. if (t2) {
  11685. t1 = rootish_case_1;
  11686. t2 = true;
  11687. } else
  11688. t2 = false;
  11689. } else
  11690. t2 = false;
  11691. else
  11692. t2 = true;
  11693. if (t2) {
  11694. queue1.addFirst$1(t1);
  11695. queue2.addFirst$1(t1);
  11696. }
  11697. }
  11698. groups1 = A._groupSelectors(queue1);
  11699. groups2 = A._groupSelectors(queue2);
  11700. t1 = type$.List_ComplexSelectorComponent;
  11701. lcs = A.longestCommonSubsequence(groups2, groups1, new A._weaveParents_closure1(span), t1);
  11702. choices = A._setArrayType([], type$.JSArray_List_Iterable_ComplexSelectorComponent);
  11703. for (t2 = lcs.length, t3 = type$.JSArray_Iterable_ComplexSelectorComponent, t4 = type$.JSArray_ComplexSelectorComponent, _i = 0; _i < lcs.length; lcs.length === t2 || (0, A.throwConcurrentModificationError)(lcs), ++_i) {
  11704. group = lcs[_i];
  11705. t5 = A._setArrayType([], t3);
  11706. for (t6 = A._chunks(groups1, groups2, new A._weaveParents_closure2(group), t1), t7 = t6.length, _i0 = 0; _i0 < t6.length; t6.length === t7 || (0, A.throwConcurrentModificationError)(t6), ++_i0) {
  11707. chunk = t6[_i0];
  11708. t8 = A._setArrayType([], t4);
  11709. for (t9 = J.get$iterator$ax(chunk); t9.moveNext$0();)
  11710. B.JSArray_methods.addAll$1(t8, t9.get$current(t9));
  11711. t5.push(t8);
  11712. }
  11713. choices.push(t5);
  11714. choices.push(A._setArrayType([group], t3));
  11715. groups1.removeFirst$0();
  11716. groups2.removeFirst$0();
  11717. }
  11718. t2 = A._setArrayType([], t3);
  11719. for (t1 = A._chunks(groups1, groups2, new A._weaveParents_closure3(), t1), t3 = t1.length, _i = 0; _i < t1.length; t1.length === t3 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  11720. chunk = t1[_i];
  11721. t5 = A._setArrayType([], t4);
  11722. for (t6 = J.get$iterator$ax(chunk); t6.moveNext$0();)
  11723. B.JSArray_methods.addAll$1(t5, t6.get$current(t6));
  11724. t2.push(t5);
  11725. }
  11726. choices.push(t2);
  11727. B.JSArray_methods.addAll$1(choices, trailingCombinators);
  11728. t1 = A._setArrayType([], type$.JSArray_ComplexSelector);
  11729. for (t2 = J.get$iterator$ax(A.paths(new A.WhereIterable(choices, new A._weaveParents_closure4(), type$.WhereIterable_List_Iterable_ComplexSelectorComponent), type$.Iterable_ComplexSelectorComponent)), t3 = !prefix.lineBreak, t5 = base.lineBreak; t2.moveNext$0();) {
  11730. t6 = t2.get$current(t2);
  11731. t7 = A._setArrayType([], t4);
  11732. for (t6 = J.get$iterator$ax(t6); t6.moveNext$0();)
  11733. B.JSArray_methods.addAll$1(t7, t6.get$current(t6));
  11734. t1.push(A.ComplexSelector$(leadingCombinators, t7, span, !t3 || t5));
  11735. }
  11736. return t1;
  11737. },
  11738. _firstIfRootish(queue) {
  11739. var first, t1, t2, _i, simple, t3;
  11740. if (queue.get$length(queue) >= 1) {
  11741. first = queue.$index(0, 0);
  11742. t1 = true;
  11743. } else {
  11744. first = null;
  11745. t1 = false;
  11746. }
  11747. if (t1)
  11748. for (t1 = first.selector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  11749. simple = t1[_i];
  11750. if (simple instanceof A.PseudoSelector)
  11751. if (simple.isClass)
  11752. t3 = $._rootishPseudoClasses.contains$1(0, simple.normalizedName);
  11753. else
  11754. t3 = false;
  11755. else
  11756. t3 = false;
  11757. if (t3) {
  11758. queue.removeFirst$0();
  11759. return first;
  11760. }
  11761. }
  11762. return null;
  11763. },
  11764. _mergeLeadingCombinators(combinators1, combinators2) {
  11765. var t1, t2, combinators, _null = null,
  11766. _0_0 = new A._Record_2(combinators1, combinators2),
  11767. _0_1 = A._InitializedCell$(new A._mergeLeadingCombinators_closure(_0_0)),
  11768. _0_4 = A._InitializedCell$(new A._mergeLeadingCombinators_closure0(_0_0)),
  11769. _0_7 = A._InitializedCell$(new A._mergeLeadingCombinators_closure1(_0_1)),
  11770. _0_11 = A._InitializedCell$(new A._mergeLeadingCombinators_closure2(_0_4));
  11771. $label0$0: {
  11772. if (_0_1._readFinal$0() == null || _0_4._readFinal$0() == null) {
  11773. t1 = _null;
  11774. break $label0$0;
  11775. }
  11776. t1 = type$.List_CssValue_Combinator;
  11777. if (!(t1._is(_0_1._readFinal$0()) && _0_7._readFinal$0() > 1))
  11778. t2 = t1._is(_0_4._readFinal$0()) && _0_11._readFinal$0() > 1;
  11779. else
  11780. t2 = true;
  11781. if (t2) {
  11782. t1 = _null;
  11783. break $label0$0;
  11784. }
  11785. if (t1._is(_0_1._readFinal$0()))
  11786. if (_0_7._readFinal$0() <= 0) {
  11787. combinators = _0_4._readFinal$0();
  11788. t2 = true;
  11789. } else {
  11790. combinators = _null;
  11791. t2 = false;
  11792. }
  11793. else {
  11794. combinators = _null;
  11795. t2 = false;
  11796. }
  11797. if (!t2) {
  11798. combinators = _0_1._readFinal$0();
  11799. t1 = t1._is(_0_4._readFinal$0()) && _0_11._readFinal$0() <= 0;
  11800. } else
  11801. t1 = true;
  11802. if (t1) {
  11803. t1 = combinators;
  11804. break $label0$0;
  11805. }
  11806. t1 = B.C_ListEquality.equals$2(0, combinators1, combinators2) ? combinators1 : _null;
  11807. break $label0$0;
  11808. }
  11809. return t1;
  11810. },
  11811. _mergeTrailingCombinators(components1, components2, span, result) {
  11812. var _0_1, last, t1, _1_1, t2, t3, _4_0, _4_1, _4_3, _4_4, _4_5, _4_9, _4_6, _4_7, _4_10, component1, component2, t4, t5, choices, _2_0, unified, followingComponents, nextComponents, followingComponents0, next, following, _3_0, siblingComponents_case_0, siblingComponents_case_1, combinator1, combinator2, combinator_case_0, combinatorComponents_case_0, descendantComponents_case_0, combinator_case_1, descendantComponents_case_1, combinatorComponents_case_1, _null = null;
  11813. if (result == null)
  11814. result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent);
  11815. _0_1 = A._InitializedCell$(new A._mergeTrailingCombinators_closure(components1));
  11816. $label0$0: {
  11817. if (_0_1._readFinal$0() >= 1) {
  11818. last = components1.$index(0, _0_1._readFinal$0() - 1);
  11819. t1 = true;
  11820. } else {
  11821. last = _null;
  11822. t1 = false;
  11823. }
  11824. if (t1) {
  11825. t1 = last.combinators;
  11826. break $label0$0;
  11827. }
  11828. t1 = B.List_empty1;
  11829. break $label0$0;
  11830. }
  11831. _1_1 = A._InitializedCell$(new A._mergeTrailingCombinators_closure0(components2));
  11832. $label1$1: {
  11833. if (_1_1._readFinal$0() >= 1) {
  11834. last = components2.$index(0, _1_1._readFinal$0() - 1);
  11835. t2 = true;
  11836. } else {
  11837. last = _null;
  11838. t2 = false;
  11839. }
  11840. if (t2) {
  11841. t2 = last.combinators;
  11842. break $label1$1;
  11843. }
  11844. t2 = B.List_empty1;
  11845. break $label1$1;
  11846. }
  11847. t3 = t1.length;
  11848. if (t3 === 0 && t2.length === 0)
  11849. return result;
  11850. if (t3 > 1 || t2.length > 1)
  11851. return _null;
  11852. $label2$2: {
  11853. t3 = A.IterableExtension_get_firstOrNull(t1);
  11854. t3 = t3 == null ? _null : t3.value;
  11855. t2 = A.IterableExtension_get_firstOrNull(t2);
  11856. _4_0 = new A._Record_4([t3, t2 == null ? _null : t2.value, components1, components2]);
  11857. _4_1 = A._InitializedCell$(new A._mergeTrailingCombinators_closure1(_4_0));
  11858. _4_3 = A._InitializedCell$(new A._mergeTrailingCombinators_closure2(_4_1));
  11859. _4_4 = A._InitializedCell$(new A._mergeTrailingCombinators_closure3(_4_0));
  11860. _4_5 = A._InitializedCell$(new A._mergeTrailingCombinators_closure4(_4_4));
  11861. _4_9 = A._InitializedCell$(new A._mergeTrailingCombinators_closure5(_4_4));
  11862. _4_6 = A._InitializedCell$(new A._mergeTrailingCombinators_closure6(_4_0));
  11863. _4_7 = A._InitializedCell$(new A._mergeTrailingCombinators_closure7(_4_0));
  11864. _4_10 = A._InitializedCell$(new A._mergeTrailingCombinators_closure8(_4_1));
  11865. if (_4_3._readFinal$0() && _4_5._readFinal$0()) {
  11866. component1 = components1.removeLast$0(0);
  11867. component2 = components2.removeLast$0(0);
  11868. t2 = component1.selector;
  11869. t3 = component2.selector;
  11870. if (A.compoundIsSuperselector(t2, t3, _null))
  11871. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  11872. else {
  11873. t4 = type$.JSArray_ComplexSelectorComponent;
  11874. t5 = type$.JSArray_List_ComplexSelectorComponent;
  11875. if (A.compoundIsSuperselector(t3, t2, _null))
  11876. result.addFirst$1(A._setArrayType([A._setArrayType([component1], t4)], t5));
  11877. else {
  11878. choices = A._setArrayType([A._setArrayType([component1, component2], t4), A._setArrayType([component2, component1], t4)], t5);
  11879. _2_0 = A.unifyCompound(t2, t3);
  11880. if (_2_0 != null) {
  11881. unified = _2_0;
  11882. t2 = true;
  11883. } else {
  11884. unified = _null;
  11885. t2 = false;
  11886. }
  11887. if (t2)
  11888. choices.push(A._setArrayType([new A.ComplexSelectorComponent(unified, A.List_List$unmodifiable(A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_CssValue_Combinator), type$.CssValue_Combinator), span)], t4));
  11889. result.addFirst$1(choices);
  11890. }
  11891. }
  11892. break $label2$2;
  11893. }
  11894. if (_4_3._readFinal$0())
  11895. if (_4_9._readFinal$0()) {
  11896. followingComponents = _4_6._readFinal$0();
  11897. nextComponents = _4_7._readFinal$0();
  11898. nextComponents = nextComponents;
  11899. t2 = true;
  11900. } else {
  11901. nextComponents = _null;
  11902. followingComponents = nextComponents;
  11903. t2 = false;
  11904. }
  11905. else {
  11906. nextComponents = _null;
  11907. followingComponents = nextComponents;
  11908. t2 = false;
  11909. }
  11910. if (!t2)
  11911. if (_4_10._readFinal$0())
  11912. if (_4_5._readFinal$0()) {
  11913. nextComponents = _4_6._readFinal$0();
  11914. followingComponents0 = _4_7._readFinal$0();
  11915. followingComponents = followingComponents0;
  11916. t2 = true;
  11917. } else
  11918. t2 = false;
  11919. else
  11920. t2 = false;
  11921. else
  11922. t2 = true;
  11923. if (t2) {
  11924. next = nextComponents.removeLast$0(0);
  11925. following = followingComponents.removeLast$0(0);
  11926. t1 = following.selector;
  11927. t2 = next.selector;
  11928. t3 = type$.JSArray_ComplexSelectorComponent;
  11929. t4 = type$.JSArray_List_ComplexSelectorComponent;
  11930. if (A.compoundIsSuperselector(t1, t2, _null))
  11931. result.addFirst$1(A._setArrayType([A._setArrayType([next], t3)], t4));
  11932. else {
  11933. t4 = A._setArrayType([A._setArrayType([following, next], t3)], t4);
  11934. _3_0 = A.unifyCompound(t1, t2);
  11935. if (_3_0 != null) {
  11936. unified = _3_0;
  11937. t1 = true;
  11938. } else {
  11939. unified = _null;
  11940. t1 = false;
  11941. }
  11942. if (t1)
  11943. t4.push(A._setArrayType([new A.ComplexSelectorComponent(unified, A.List_List$unmodifiable(next.combinators, type$.CssValue_Combinator), span)], t3));
  11944. result.addFirst$1(t4);
  11945. }
  11946. break $label2$2;
  11947. }
  11948. if (B.Combinator_Cht === _4_1._readFinal$0())
  11949. if (_4_9._readFinal$0() || _4_5._readFinal$0()) {
  11950. siblingComponents_case_0 = _4_7._readFinal$0();
  11951. t2 = siblingComponents_case_0;
  11952. t3 = true;
  11953. } else {
  11954. t2 = _null;
  11955. t3 = false;
  11956. }
  11957. else {
  11958. t2 = _null;
  11959. t3 = false;
  11960. }
  11961. if (!t3)
  11962. if (_4_10._readFinal$0() || _4_3._readFinal$0())
  11963. if (B.Combinator_Cht === _4_4._readFinal$0()) {
  11964. siblingComponents_case_1 = _4_6._readFinal$0();
  11965. t2 = siblingComponents_case_1;
  11966. t3 = true;
  11967. } else
  11968. t3 = false;
  11969. else
  11970. t3 = false;
  11971. else
  11972. t3 = true;
  11973. if (t3) {
  11974. result.addFirst$1(A._setArrayType([A._setArrayType([t2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  11975. break $label2$2;
  11976. }
  11977. if (_4_1._readFinal$0() != null) {
  11978. combinator1 = _4_1._readFinal$0();
  11979. t2 = true;
  11980. } else {
  11981. combinator1 = _null;
  11982. t2 = false;
  11983. }
  11984. if (t2) {
  11985. if (_4_4._readFinal$0() != null) {
  11986. combinator2 = _4_4._readFinal$0();
  11987. t2 = true;
  11988. } else {
  11989. combinator2 = _null;
  11990. t2 = false;
  11991. }
  11992. t2 = t2 && combinator1 == combinator2;
  11993. } else
  11994. t2 = false;
  11995. if (t2) {
  11996. unified = A.unifyCompound(components1.removeLast$0(0).selector, components2.removeLast$0(0).selector);
  11997. if (unified == null)
  11998. return _null;
  11999. result.addFirst$1(A._setArrayType([A._setArrayType([new A.ComplexSelectorComponent(unified, A.List_List$unmodifiable(A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_CssValue_Combinator), type$.CssValue_Combinator), span)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  12000. break $label2$2;
  12001. }
  12002. if (_4_1._readFinal$0() != null) {
  12003. combinator_case_0 = _4_1._readFinal$0();
  12004. t1 = true;
  12005. } else {
  12006. combinator_case_0 = _null;
  12007. t1 = false;
  12008. }
  12009. if (t1)
  12010. if (_4_4._readFinal$0() == null) {
  12011. combinatorComponents_case_0 = _4_6._readFinal$0();
  12012. descendantComponents_case_0 = _4_7._readFinal$0();
  12013. t1 = descendantComponents_case_0;
  12014. t2 = true;
  12015. t4 = t2;
  12016. t2 = combinatorComponents_case_0;
  12017. t3 = t1;
  12018. t1 = combinator_case_0;
  12019. } else {
  12020. t3 = _null;
  12021. t2 = t3;
  12022. t1 = t2;
  12023. t4 = false;
  12024. }
  12025. else {
  12026. t3 = _null;
  12027. t2 = t3;
  12028. t1 = t2;
  12029. t4 = false;
  12030. }
  12031. if (!t4)
  12032. if (_4_1._readFinal$0() == null) {
  12033. if (_4_4._readFinal$0() != null) {
  12034. combinator_case_1 = _4_4._readFinal$0();
  12035. t4 = true;
  12036. } else {
  12037. combinator_case_1 = _null;
  12038. t4 = false;
  12039. }
  12040. if (t4) {
  12041. descendantComponents_case_1 = _4_6._readFinal$0();
  12042. combinatorComponents_case_1 = _4_7._readFinal$0();
  12043. t1 = combinatorComponents_case_1;
  12044. t2 = true;
  12045. t4 = t2;
  12046. t2 = t1;
  12047. t1 = combinator_case_1;
  12048. t3 = descendantComponents_case_1;
  12049. } else
  12050. t4 = false;
  12051. } else
  12052. t4 = false;
  12053. else
  12054. t4 = true;
  12055. if (t4) {
  12056. if (t1 === B.Combinator_Cht) {
  12057. t1 = A.IterableExtension_get_lastOrNull(t3);
  12058. t1 = t1 == null ? _null : A.compoundIsSuperselector(t1.selector, t2.get$last(t2).selector, _null);
  12059. t1 = t1 === true;
  12060. } else
  12061. t1 = false;
  12062. if (t1)
  12063. t3.removeLast$0(0);
  12064. result.addFirst$1(A._setArrayType([A._setArrayType([t2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent)], type$.JSArray_List_ComplexSelectorComponent));
  12065. break $label2$2;
  12066. }
  12067. return _null;
  12068. }
  12069. return A._mergeTrailingCombinators(components1, components2, span, result);
  12070. },
  12071. _mustUnify(complex1, complex2) {
  12072. var t2, t3, t4,
  12073. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector);
  12074. for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();)
  12075. 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();)
  12076. t1.add$1(0, t3.get$current(t3));
  12077. if (t1._collection$_length === 0)
  12078. return false;
  12079. return J.any$1$ax(complex2, new A._mustUnify_closure(t1));
  12080. },
  12081. _isUnique(simple) {
  12082. var t1;
  12083. if (!(simple instanceof A.IDSelector))
  12084. t1 = simple instanceof A.PseudoSelector && !simple.isClass;
  12085. else
  12086. t1 = true;
  12087. return t1;
  12088. },
  12089. _chunks(queue1, queue2, done, $T) {
  12090. var chunk2, _0_0, _0_1, _0_4, _0_5, _0_7, chunk, t2,
  12091. t1 = $T._eval$1("JSArray<0>"),
  12092. chunk1 = A._setArrayType([], t1);
  12093. for (; !done.call$1(queue1);)
  12094. chunk1.push(queue1.removeFirst$0());
  12095. chunk2 = A._setArrayType([], t1);
  12096. for (; !done.call$1(queue2);)
  12097. chunk2.push(queue2.removeFirst$0());
  12098. _0_0 = new A._Record_2(chunk1, chunk2);
  12099. _0_1 = A._InitializedCell$(new A._chunks_closure(_0_0, $T));
  12100. _0_4 = A._InitializedCell$(new A._chunks_closure0(_0_1));
  12101. _0_5 = A._InitializedCell$(new A._chunks_closure1(_0_0, $T));
  12102. _0_7 = A._InitializedCell$(new A._chunks_closure2(_0_5));
  12103. $label0$0: {
  12104. if (_0_4._readFinal$0() && _0_7._readFinal$0()) {
  12105. t1 = A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
  12106. break $label0$0;
  12107. }
  12108. if (_0_4._readFinal$0()) {
  12109. chunk = _0_5._readFinal$0();
  12110. t1 = true;
  12111. } else {
  12112. chunk = null;
  12113. t1 = false;
  12114. }
  12115. if (!t1) {
  12116. chunk = _0_1._readFinal$0();
  12117. t1 = _0_7._readFinal$0();
  12118. t1 = t1;
  12119. } else
  12120. t1 = true;
  12121. if (t1) {
  12122. t1 = A._setArrayType([chunk], $T._eval$1("JSArray<List<0>>"));
  12123. break $label0$0;
  12124. }
  12125. t1 = A.List_List$of(chunk1, true, $T);
  12126. B.JSArray_methods.addAll$1(t1, chunk2);
  12127. t2 = A.List_List$of(chunk2, true, $T);
  12128. B.JSArray_methods.addAll$1(t2, chunk1);
  12129. t2 = A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
  12130. t1 = t2;
  12131. break $label0$0;
  12132. }
  12133. return t1;
  12134. },
  12135. paths(choices, $T) {
  12136. 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));
  12137. },
  12138. _groupSelectors(complex) {
  12139. var t2, t3, t4,
  12140. groups = A.QueueList$(null, type$.List_ComplexSelectorComponent),
  12141. t1 = type$.JSArray_ComplexSelectorComponent,
  12142. group = A._setArrayType([], t1);
  12143. for (t2 = new A.ListIterator(complex, complex.get$length(complex)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  12144. t4 = t2.__internal$_current;
  12145. if (t4 == null)
  12146. t4 = t3._as(t4);
  12147. group.push(t4);
  12148. if (t4.combinators.length === 0) {
  12149. groups._queue_list$_add$1(group);
  12150. group = A._setArrayType([], t1);
  12151. }
  12152. }
  12153. if (group.length !== 0)
  12154. groups._queue_list$_add$1(group);
  12155. return groups;
  12156. },
  12157. listIsSuperselector(list1, list2) {
  12158. return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure(list1));
  12159. },
  12160. _complexIsParentSuperselector(complex1, complex2) {
  12161. var t1, base, t2;
  12162. if (J.get$length$asx(complex1) > J.get$length$asx(complex2))
  12163. return false;
  12164. t1 = $.$get$bogusSpan();
  12165. base = new A.ComplexSelectorComponent(A.CompoundSelector$(A._setArrayType([new A.PlaceholderSelector("<temp>", t1)], type$.JSArray_SimpleSelector), t1), A.List_List$unmodifiable(B.List_empty1, type$.CssValue_Combinator), t1);
  12166. t1 = type$.ComplexSelectorComponent;
  12167. t2 = A.List_List$of(complex1, true, t1);
  12168. t2.push(base);
  12169. t1 = A.List_List$of(complex2, true, t1);
  12170. t1.push(base);
  12171. return A.complexIsSuperselector(t2, t1);
  12172. },
  12173. complexIsSuperselector(complex1, complex2) {
  12174. var t1, t2, t3, i1, i2, previousCombinator, remaining1, t4, remaining2, component1, t5, parents, endOfSubselector, component2, combinator1;
  12175. if (B.JSArray_methods.get$last(complex1).combinators.length !== 0)
  12176. return false;
  12177. if (B.JSArray_methods.get$last(complex2).combinators.length !== 0)
  12178. return false;
  12179. for (t1 = type$.JSArray_ComplexSelectorComponent, t2 = A._arrayInstanceType(complex2), t3 = t2._precomputed1, t2 = t2._eval$1("SubListIterable<1>"), i1 = 0, i2 = 0, previousCombinator = null; true; previousCombinator = combinator1) {
  12180. remaining1 = complex1.length - i1;
  12181. t4 = complex2.length;
  12182. remaining2 = t4 - i2;
  12183. if (remaining1 === 0 || remaining2 === 0)
  12184. return false;
  12185. if (remaining1 > remaining2)
  12186. return false;
  12187. component1 = complex1[i1];
  12188. t5 = component1.combinators;
  12189. if (t5.length > 1)
  12190. return false;
  12191. if (remaining1 === 1) {
  12192. parents = B.JSArray_methods.sublist$2(complex2, i2, t4 - 1);
  12193. if (B.JSArray_methods.any$1(parents, new A.complexIsSuperselector_closure()))
  12194. return false;
  12195. return A.compoundIsSuperselector(component1.selector, B.JSArray_methods.get$last(complex2).selector, parents);
  12196. }
  12197. for (t4 = component1.selector, endOfSubselector = i2, parents = null; true;) {
  12198. component2 = complex2[endOfSubselector];
  12199. if (component2.combinators.length > 1)
  12200. return false;
  12201. if (A.compoundIsSuperselector(t4, component2.selector, parents))
  12202. break;
  12203. ++endOfSubselector;
  12204. if (endOfSubselector === complex2.length - 1)
  12205. return false;
  12206. if (parents == null)
  12207. parents = A._setArrayType([], t1);
  12208. parents.push(component2);
  12209. }
  12210. if (!A._compatibleWithPreviousCombinator(previousCombinator, parents == null ? B.List_empty0 : parents))
  12211. return false;
  12212. component2 = complex2[endOfSubselector];
  12213. combinator1 = A.IterableExtension_get_firstOrNull(t5);
  12214. if (!A._isSupercombinator(combinator1, A.IterableExtension_get_firstOrNull(component2.combinators)))
  12215. return false;
  12216. ++i1;
  12217. i2 = endOfSubselector + 1;
  12218. if (complex1.length - i1 === 1) {
  12219. t4 = combinator1 == null;
  12220. if (J.$eq$(t4 ? null : combinator1.value, B.Combinator_Htt)) {
  12221. t4 = complex2.length - 1;
  12222. t5 = new A.SubListIterable(complex2, 0, t4, t2);
  12223. t5.SubListIterable$3(complex2, 0, t4, t3);
  12224. if (!t5.skip$1(0, i2).every$1(0, new A.complexIsSuperselector_closure0(combinator1)))
  12225. return false;
  12226. } else if (!t4)
  12227. if (complex2.length - i2 > 1)
  12228. return false;
  12229. }
  12230. }
  12231. },
  12232. _compatibleWithPreviousCombinator(previous, parents) {
  12233. if (parents.length === 0)
  12234. return true;
  12235. if (previous == null)
  12236. return true;
  12237. if (previous.value !== B.Combinator_Htt)
  12238. return false;
  12239. return B.JSArray_methods.every$1(parents, new A._compatibleWithPreviousCombinator_closure());
  12240. },
  12241. _isSupercombinator(combinator1, combinator2) {
  12242. var t1, t2;
  12243. if (!J.$eq$(combinator1, combinator2)) {
  12244. t1 = combinator1 == null;
  12245. if (t1)
  12246. t2 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_Cht);
  12247. else
  12248. t2 = false;
  12249. if (!t2)
  12250. if (J.$eq$(t1 ? null : combinator1.value, B.Combinator_Htt))
  12251. t1 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_4QF);
  12252. else
  12253. t1 = false;
  12254. else
  12255. t1 = true;
  12256. } else
  12257. t1 = true;
  12258. return t1;
  12259. },
  12260. compoundIsSuperselector(compound1, compound2, parents) {
  12261. var t2, pseudo1, index1, pseudo2, index2, t3, t4, t5, _i, simple1, _null = null,
  12262. _0_0 = new A._Record_2(A._findPseudoElementIndexed(compound1), A._findPseudoElementIndexed(compound2)),
  12263. _0_1 = A._InitializedCell$(new A.compoundIsSuperselector_closure(_0_0)),
  12264. _0_5 = A._InitializedCell$(new A.compoundIsSuperselector_closure0(_0_0)),
  12265. t1 = type$.Record_2_nullable_Object_and_nullable_Object;
  12266. if (t1._is(_0_1._readFinal$0())) {
  12267. t2 = type$.PseudoSelector;
  12268. pseudo1 = t2._as(_0_1._readFinal$0()._0);
  12269. index1 = A._asInt(_0_1._readFinal$0()._1);
  12270. if (t1._is(_0_5._readFinal$0())) {
  12271. pseudo2 = t2._as(_0_5._readFinal$0()._0);
  12272. index2 = A._asInt(_0_5._readFinal$0()._1);
  12273. t1 = true;
  12274. } else {
  12275. index2 = _null;
  12276. pseudo2 = index2;
  12277. t1 = false;
  12278. }
  12279. } else {
  12280. index2 = _null;
  12281. pseudo2 = index2;
  12282. index1 = pseudo2;
  12283. pseudo1 = index1;
  12284. t1 = false;
  12285. }
  12286. if (t1) {
  12287. if (pseudo1.isSuperselector$1(pseudo2)) {
  12288. t1 = compound1.components;
  12289. t2 = type$.int;
  12290. t3 = A._arrayInstanceType(t1)._precomputed1;
  12291. t4 = compound2.components;
  12292. t5 = A._arrayInstanceType(t4)._precomputed1;
  12293. t1 = A._compoundComponentsIsSuperselector(A.SubListIterable$(t1, 0, A.checkNotNullable(index1, "count", t2), t3), A.SubListIterable$(t4, 0, A.checkNotNullable(index2, "count", t2), t5), parents) && A._compoundComponentsIsSuperselector(A.SubListIterable$(t1, index1 + 1, _null, t3), A.SubListIterable$(t4, index2 + 1, _null, t5), parents);
  12294. } else
  12295. t1 = false;
  12296. return t1;
  12297. }
  12298. if (!(_0_1._readFinal$0() != null && true))
  12299. t1 = _0_5._readFinal$0() != null && true;
  12300. else
  12301. t1 = true;
  12302. if (t1)
  12303. return false;
  12304. for (t1 = compound1.components, t2 = t1.length, t3 = compound2.components, _i = 0; _i < t2; ++_i) {
  12305. simple1 = t1[_i];
  12306. if (simple1 instanceof A.PseudoSelector && simple1.selector != null && true) {
  12307. if (!A._selectorPseudoIsSuperselector(simple1, compound2, parents))
  12308. return false;
  12309. } else if (!B.JSArray_methods.any$1(t3, simple1.get$isSuperselector()))
  12310. return false;
  12311. }
  12312. return true;
  12313. },
  12314. _findPseudoElementIndexed(compound) {
  12315. var t1, t2, i, simple;
  12316. for (t1 = compound.components, t2 = t1.length, i = 0; i < t2; ++i) {
  12317. simple = t1[i];
  12318. if (simple instanceof A.PseudoSelector && !simple.isClass)
  12319. return new A._Record_2(simple, i);
  12320. }
  12321. return null;
  12322. },
  12323. _compoundComponentsIsSuperselector(compound1, compound2, parents) {
  12324. var t1;
  12325. if (compound1.get$length(compound1) === 0)
  12326. return true;
  12327. if (compound2.get$length(compound2) === 0)
  12328. compound2 = A._setArrayType([new A.UniversalSelector("*", $.$get$bogusSpan())], type$.JSArray_SimpleSelector);
  12329. t1 = $.$get$bogusSpan();
  12330. return A.compoundIsSuperselector(A.CompoundSelector$(compound1, t1), A.CompoundSelector$(compound2, t1), parents);
  12331. },
  12332. _selectorPseudoIsSuperselector(pseudo1, compound2, parents) {
  12333. var selector1 = pseudo1.selector;
  12334. if (selector1 == null)
  12335. throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
  12336. switch (pseudo1.normalizedName) {
  12337. case "is":
  12338. case "matches":
  12339. case "any":
  12340. case "where":
  12341. 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));
  12342. case "has":
  12343. case "host":
  12344. case "host-context":
  12345. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure1(selector1));
  12346. case "slotted":
  12347. return A._selectorPseudoArgs(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure2(selector1));
  12348. case "not":
  12349. return B.JSArray_methods.every$1(selector1.components, new A._selectorPseudoIsSuperselector_closure3(compound2, pseudo1));
  12350. case "current":
  12351. return A._selectorPseudoArgs(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure4(selector1));
  12352. case "nth-child":
  12353. case "nth-last-child":
  12354. return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure5(pseudo1, selector1));
  12355. default:
  12356. throw A.wrapException("unreachable");
  12357. }
  12358. },
  12359. _selectorPseudoArgs(compound, $name, isClass) {
  12360. var t1 = type$.WhereTypeIterable_PseudoSelector;
  12361. 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);
  12362. },
  12363. unifyComplex_closure: function unifyComplex_closure(t0) {
  12364. this._0_0 = t0;
  12365. },
  12366. unifyComplex_closure0: function unifyComplex_closure0(t0) {
  12367. this._1_0 = t0;
  12368. },
  12369. unifyComplex_closure1: function unifyComplex_closure1() {
  12370. },
  12371. _namespaceAndName_closure: function _namespaceAndName_closure(t0) {
  12372. this._0_0 = t0;
  12373. },
  12374. _weaveParents_closure: function _weaveParents_closure(t0) {
  12375. this._0_0 = t0;
  12376. },
  12377. _weaveParents_closure0: function _weaveParents_closure0(t0) {
  12378. this._0_0 = t0;
  12379. },
  12380. _weaveParents_closure1: function _weaveParents_closure1(t0) {
  12381. this.span = t0;
  12382. },
  12383. _weaveParents_closure2: function _weaveParents_closure2(t0) {
  12384. this.group = t0;
  12385. },
  12386. _weaveParents_closure3: function _weaveParents_closure3() {
  12387. },
  12388. _weaveParents_closure4: function _weaveParents_closure4() {
  12389. },
  12390. _mergeLeadingCombinators_closure: function _mergeLeadingCombinators_closure(t0) {
  12391. this._0_0 = t0;
  12392. },
  12393. _mergeLeadingCombinators_closure0: function _mergeLeadingCombinators_closure0(t0) {
  12394. this._0_0 = t0;
  12395. },
  12396. _mergeLeadingCombinators_closure1: function _mergeLeadingCombinators_closure1(t0) {
  12397. this._0_1 = t0;
  12398. },
  12399. _mergeLeadingCombinators_closure2: function _mergeLeadingCombinators_closure2(t0) {
  12400. this._0_4 = t0;
  12401. },
  12402. _mergeTrailingCombinators_closure: function _mergeTrailingCombinators_closure(t0) {
  12403. this._0_0 = t0;
  12404. },
  12405. _mergeTrailingCombinators_closure0: function _mergeTrailingCombinators_closure0(t0) {
  12406. this._1_0 = t0;
  12407. },
  12408. _mergeTrailingCombinators_closure1: function _mergeTrailingCombinators_closure1(t0) {
  12409. this._4_0 = t0;
  12410. },
  12411. _mergeTrailingCombinators_closure2: function _mergeTrailingCombinators_closure2(t0) {
  12412. this._4_1 = t0;
  12413. },
  12414. _mergeTrailingCombinators_closure3: function _mergeTrailingCombinators_closure3(t0) {
  12415. this._4_0 = t0;
  12416. },
  12417. _mergeTrailingCombinators_closure4: function _mergeTrailingCombinators_closure4(t0) {
  12418. this._4_4 = t0;
  12419. },
  12420. _mergeTrailingCombinators_closure6: function _mergeTrailingCombinators_closure6(t0) {
  12421. this._4_0 = t0;
  12422. },
  12423. _mergeTrailingCombinators_closure7: function _mergeTrailingCombinators_closure7(t0) {
  12424. this._4_0 = t0;
  12425. },
  12426. _mergeTrailingCombinators_closure5: function _mergeTrailingCombinators_closure5(t0) {
  12427. this._4_4 = t0;
  12428. },
  12429. _mergeTrailingCombinators_closure8: function _mergeTrailingCombinators_closure8(t0) {
  12430. this._4_1 = t0;
  12431. },
  12432. _mustUnify_closure: function _mustUnify_closure(t0) {
  12433. this.uniqueSelectors = t0;
  12434. },
  12435. _mustUnify__closure: function _mustUnify__closure(t0) {
  12436. this.uniqueSelectors = t0;
  12437. },
  12438. _chunks_closure: function _chunks_closure(t0, t1) {
  12439. this._0_0 = t0;
  12440. this.T = t1;
  12441. },
  12442. _chunks_closure0: function _chunks_closure0(t0) {
  12443. this._0_1 = t0;
  12444. },
  12445. _chunks_closure1: function _chunks_closure1(t0, t1) {
  12446. this._0_0 = t0;
  12447. this.T = t1;
  12448. },
  12449. _chunks_closure2: function _chunks_closure2(t0) {
  12450. this._0_5 = t0;
  12451. },
  12452. paths_closure: function paths_closure(t0) {
  12453. this.T = t0;
  12454. },
  12455. paths__closure: function paths__closure(t0, t1) {
  12456. this.paths = t0;
  12457. this.T = t1;
  12458. },
  12459. paths___closure: function paths___closure(t0, t1) {
  12460. this.option = t0;
  12461. this.T = t1;
  12462. },
  12463. listIsSuperselector_closure: function listIsSuperselector_closure(t0) {
  12464. this.list1 = t0;
  12465. },
  12466. listIsSuperselector__closure: function listIsSuperselector__closure(t0) {
  12467. this.complex1 = t0;
  12468. },
  12469. complexIsSuperselector_closure: function complexIsSuperselector_closure() {
  12470. },
  12471. complexIsSuperselector_closure0: function complexIsSuperselector_closure0(t0) {
  12472. this.combinator1 = t0;
  12473. },
  12474. _compatibleWithPreviousCombinator_closure: function _compatibleWithPreviousCombinator_closure() {
  12475. },
  12476. compoundIsSuperselector_closure: function compoundIsSuperselector_closure(t0) {
  12477. this._0_0 = t0;
  12478. },
  12479. compoundIsSuperselector_closure0: function compoundIsSuperselector_closure0(t0) {
  12480. this._0_0 = t0;
  12481. },
  12482. _selectorPseudoIsSuperselector_closure: function _selectorPseudoIsSuperselector_closure(t0) {
  12483. this.selector1 = t0;
  12484. },
  12485. _selectorPseudoIsSuperselector_closure0: function _selectorPseudoIsSuperselector_closure0(t0, t1) {
  12486. this.parents = t0;
  12487. this.compound2 = t1;
  12488. },
  12489. _selectorPseudoIsSuperselector_closure1: function _selectorPseudoIsSuperselector_closure1(t0) {
  12490. this.selector1 = t0;
  12491. },
  12492. _selectorPseudoIsSuperselector_closure2: function _selectorPseudoIsSuperselector_closure2(t0) {
  12493. this.selector1 = t0;
  12494. },
  12495. _selectorPseudoIsSuperselector_closure3: function _selectorPseudoIsSuperselector_closure3(t0, t1) {
  12496. this.compound2 = t0;
  12497. this.pseudo1 = t1;
  12498. },
  12499. _selectorPseudoIsSuperselector__closure: function _selectorPseudoIsSuperselector__closure(t0, t1) {
  12500. this.complex = t0;
  12501. this.pseudo1 = t1;
  12502. },
  12503. _selectorPseudoIsSuperselector___closure0: function _selectorPseudoIsSuperselector___closure0(t0) {
  12504. this.simple2 = t0;
  12505. },
  12506. _selectorPseudoIsSuperselector___closure1: function _selectorPseudoIsSuperselector___closure1(t0) {
  12507. this.simple2 = t0;
  12508. },
  12509. _selectorPseudoIsSuperselector___closure: function _selectorPseudoIsSuperselector___closure(t0) {
  12510. this._0_0 = t0;
  12511. },
  12512. _selectorPseudoIsSuperselector_closure4: function _selectorPseudoIsSuperselector_closure4(t0) {
  12513. this.selector1 = t0;
  12514. },
  12515. _selectorPseudoIsSuperselector_closure5: function _selectorPseudoIsSuperselector_closure5(t0, t1) {
  12516. this.pseudo1 = t0;
  12517. this.selector1 = t1;
  12518. },
  12519. _selectorPseudoArgs_closure: function _selectorPseudoArgs_closure(t0, t1) {
  12520. this.isClass = t0;
  12521. this.name = t1;
  12522. },
  12523. _selectorPseudoArgs_closure0: function _selectorPseudoArgs_closure0() {
  12524. },
  12525. MergedExtension_merge(left, right) {
  12526. var t2, t3, t4,
  12527. t1 = left.extender.selector;
  12528. if (!t1.$eq(0, right.extender.selector) || !left.target.$eq(0, right.target))
  12529. throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
  12530. t2 = left.mediaContext;
  12531. t3 = t2 == null;
  12532. if (!t3) {
  12533. t4 = right.mediaContext;
  12534. t4 = t4 != null && !B.C_ListEquality.equals$2(0, t2, t4);
  12535. } else
  12536. t4 = false;
  12537. if (t4)
  12538. throw A.wrapException(A.SassException$("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span, null));
  12539. if (right.isOptional && right.mediaContext == null)
  12540. return left;
  12541. if (left.isOptional && t3)
  12542. return right;
  12543. if (t3)
  12544. t2 = right.mediaContext;
  12545. t1.get$specificity();
  12546. t1 = new A.Extender(t1, false);
  12547. return t1._extension = new A.MergedExtension(left, right, t1, left.target, t2, true, left.span);
  12548. },
  12549. MergedExtension: function MergedExtension(t0, t1, t2, t3, t4, t5, t6) {
  12550. var _ = this;
  12551. _.left = t0;
  12552. _.right = t1;
  12553. _.extender = t2;
  12554. _.target = t3;
  12555. _.mediaContext = t4;
  12556. _.isOptional = t5;
  12557. _.span = t6;
  12558. },
  12559. ExtendMode: function ExtendMode(t0, t1) {
  12560. this.name = t0;
  12561. this._name = t1;
  12562. },
  12563. globalFunctions_closure: function globalFunctions_closure() {
  12564. },
  12565. _updateComponents($arguments, adjust, change, scale) {
  12566. var keywords, alpha, red, green, blue, hue, saturation, lightness, whiteness, blackness, hasRgb, hasSL, hasWB, t2, t3, t4, t5, _null = null,
  12567. t1 = J.getInterceptor$asx($arguments),
  12568. color = t1.$index($arguments, 0).assertColor$1("color"),
  12569. argumentList = type$.SassArgumentList._as(t1.$index($arguments, 1));
  12570. if (argumentList._list$_contents.length !== 0)
  12571. throw A.wrapException(A.SassScriptException$(string$.Only_op, _null));
  12572. argumentList._wereKeywordsAccessed = true;
  12573. keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._keywords, type$.String, type$.Value);
  12574. t1 = new A._updateComponents_getParam(keywords, scale, change);
  12575. alpha = t1.call$3$checkUnitless("alpha", 1, true);
  12576. red = t1.call$2("red", 255);
  12577. green = t1.call$2("green", 255);
  12578. blue = t1.call$2("blue", 255);
  12579. hue = scale ? _null : A.NullableExtension_andThen(keywords.remove$1(0, "hue"), new A._updateComponents_closure());
  12580. saturation = t1.call$3$checkPercent("saturation", 100, true);
  12581. lightness = t1.call$3$checkPercent("lightness", 100, true);
  12582. whiteness = t1.call$3$assertPercent("whiteness", 100, true);
  12583. blackness = t1.call$3$assertPercent("blackness", 100, true);
  12584. t1 = keywords.__js_helper$_length;
  12585. if (t1 !== 0)
  12586. throw A.wrapException(A.SassScriptException$("No " + A.pluralize("argument", t1, _null) + " named " + A.toSentence(keywords.get$keys(keywords).map$1$1(0, new A._updateComponents_closure0(), type$.Object), "or") + ".", _null));
  12587. hasRgb = red != null || green != null || blue != null;
  12588. hasSL = saturation != null || lightness != null;
  12589. hasWB = whiteness != null || blackness != null;
  12590. if (hasRgb)
  12591. t1 = hasSL || hasWB || hue != null;
  12592. else
  12593. t1 = false;
  12594. if (t1)
  12595. throw A.wrapException(A.SassScriptException$(string$.RGB_pa + (hasWB ? "HWB" : "HSL") + " parameters.", _null));
  12596. if (hasSL && hasWB)
  12597. throw A.wrapException(A.SassScriptException$(string$.HSL_pa, _null));
  12598. t1 = new A._updateComponents_updateValue(change, adjust);
  12599. t2 = new A._updateComponents_updateRgb(t1);
  12600. if (hasRgb) {
  12601. t3 = t2.call$2(color.get$red(color), red);
  12602. t4 = t2.call$2(color.get$green(color), green);
  12603. t2 = t2.call$2(color.get$blue(color), blue);
  12604. return color.changeRgb$4$alpha$blue$green$red(t1.call$3(color._alpha, alpha, 1), t2, t4, t3);
  12605. } else if (hasWB) {
  12606. if (change)
  12607. t2 = hue;
  12608. else {
  12609. t2 = color.get$hue(color);
  12610. t2 += hue == null ? 0 : hue;
  12611. }
  12612. t3 = t1.call$3(color.get$whiteness(color), whiteness, 100);
  12613. t4 = t1.call$3(color.get$blackness(color), blackness, 100);
  12614. t5 = color._alpha;
  12615. t1 = t1.call$3(t5, alpha, 1);
  12616. if (t2 == null)
  12617. t2 = color.get$hue(color);
  12618. if (t3 == null)
  12619. t3 = color.get$whiteness(color);
  12620. if (t4 == null)
  12621. t4 = color.get$blackness(color);
  12622. return A.SassColor_SassColor$hwb(t2, t3, t4, t1 == null ? t5 : t1);
  12623. } else {
  12624. t2 = hue == null;
  12625. if (!t2 || hasSL) {
  12626. if (change)
  12627. t2 = hue;
  12628. else {
  12629. t3 = color.get$hue(color);
  12630. t3 += t2 ? 0 : hue;
  12631. t2 = t3;
  12632. }
  12633. t3 = t1.call$3(color.get$saturation(color), saturation, 100);
  12634. t4 = t1.call$3(color.get$lightness(color), lightness, 100);
  12635. return color.changeHsl$4$alpha$hue$lightness$saturation(t1.call$3(color._alpha, alpha, 1), t2, t4, t3);
  12636. } else if (alpha != null)
  12637. return color.changeAlpha$1(t1.call$3(color._alpha, alpha, 1));
  12638. else
  12639. return color;
  12640. }
  12641. },
  12642. _functionString($name, $arguments) {
  12643. return new A.SassString($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure(), type$.String).join$1(0, ", ") + ")", false);
  12644. },
  12645. _removedColorFunction($name, argument, negative) {
  12646. return A.BuiltInCallable$function($name, "$color, $amount", new A._removedColorFunction_closure($name, argument, negative), "sass:color");
  12647. },
  12648. _rgb($name, $arguments) {
  12649. var t2, red, green, blue, t3, t4,
  12650. t1 = J.getInterceptor$asx($arguments),
  12651. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  12652. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  12653. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  12654. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  12655. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  12656. t2 = t2 === true;
  12657. } else
  12658. t2 = true;
  12659. else
  12660. t2 = true;
  12661. else
  12662. t2 = true;
  12663. if (t2)
  12664. return A._functionString($name, $arguments);
  12665. red = t1.$index($arguments, 0).assertNumber$1("red");
  12666. green = t1.$index($arguments, 1).assertNumber$1("green");
  12667. blue = t1.$index($arguments, 2).assertNumber$1("blue");
  12668. t1 = A.fuzzyRound(A._percentageOrUnitless(red, 255, "red"));
  12669. t2 = A.fuzzyRound(A._percentageOrUnitless(green, 255, "green"));
  12670. t3 = A.fuzzyRound(A._percentageOrUnitless(blue, 255, "blue"));
  12671. t4 = A.NullableExtension_andThen(alpha, new A._rgb_closure());
  12672. return A.SassColor$rgbInternal(t1, t2, t3, t4 == null ? 1 : t4, B._ColorFormatEnum_rgbFunction);
  12673. },
  12674. _rgbTwoArg($name, $arguments) {
  12675. var t2, color,
  12676. t1 = J.getInterceptor$asx($arguments);
  12677. if (!t1.$index($arguments, 0).get$isVar())
  12678. t2 = !(t1.$index($arguments, 0) instanceof A.SassColor) && t1.$index($arguments, 1).get$isVar();
  12679. else
  12680. t2 = true;
  12681. if (t2)
  12682. return A._functionString($name, $arguments);
  12683. else if (t1.$index($arguments, 1).get$isSpecialNumber()) {
  12684. color = t1.$index($arguments, 0).assertColor$1("color");
  12685. 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);
  12686. }
  12687. return t1.$index($arguments, 0).assertColor$1("color").changeAlpha$1(A._percentageOrUnitless(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha"));
  12688. },
  12689. _hsl($name, $arguments) {
  12690. var t2, hue, saturation, lightness, t3,
  12691. _s10_ = "saturation",
  12692. _s9_ = "lightness",
  12693. t1 = J.getInterceptor$asx($arguments),
  12694. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  12695. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  12696. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  12697. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  12698. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  12699. t2 = t2 === true;
  12700. } else
  12701. t2 = true;
  12702. else
  12703. t2 = true;
  12704. else
  12705. t2 = true;
  12706. if (t2)
  12707. return A._functionString($name, $arguments);
  12708. hue = A._angleValue(t1.$index($arguments, 0), "hue");
  12709. saturation = t1.$index($arguments, 1).assertNumber$1(_s10_);
  12710. lightness = t1.$index($arguments, 2).assertNumber$1(_s9_);
  12711. A._checkPercent(saturation, _s10_);
  12712. A._checkPercent(lightness, _s9_);
  12713. t1 = B.JSNumber_methods.clamp$2(saturation._number$_value, 0, 100);
  12714. t2 = B.JSNumber_methods.clamp$2(lightness._number$_value, 0, 100);
  12715. t3 = A.NullableExtension_andThen(alpha, new A._hsl_closure());
  12716. return A.SassColor$hslInternal(hue, t1, t2, t3 == null ? 1 : t3, B._ColorFormatEnum_hslFunction);
  12717. },
  12718. _angleValue(angleValue, $name) {
  12719. var t1, t2,
  12720. angle = angleValue.assertNumber$1($name);
  12721. if (angle.compatibleWithUnit$1("deg"))
  12722. return angle.coerceValueToUnit$1("deg");
  12723. t1 = angle.toString$0(0);
  12724. t2 = angle.unitSuggestion$1($name);
  12725. A.EvaluationContext_current().warn$2(0, "$" + $name + ": Passing a unit other than deg (" + t1 + string$.x29x20is_d + t2 + string$.x0a_See_, B.Deprecation_8WR);
  12726. return angle._number$_value;
  12727. },
  12728. _checkPercent(number, $name) {
  12729. var t1, t2;
  12730. if (number.hasUnit$1("%"))
  12731. return;
  12732. t1 = number.toString$0(0);
  12733. t2 = number.unitSuggestion$2($name, "%");
  12734. A.EvaluationContext_current().warn$2(0, "$" + $name + ": Passing a number without unit % (" + t1 + string$.x29x20is_d + t2 + string$.x0a_Morex3a, B.Deprecation_8WR);
  12735. },
  12736. _hwb($arguments) {
  12737. var t2, t3,
  12738. _s9_ = "whiteness",
  12739. _s9_0 = "blackness",
  12740. t1 = J.getInterceptor$asx($arguments),
  12741. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  12742. hue = A._angleValue(t1.$index($arguments, 0), "hue"),
  12743. whiteness = t1.$index($arguments, 1).assertNumber$1(_s9_),
  12744. blackness = t1.$index($arguments, 2).assertNumber$1(_s9_0);
  12745. whiteness.assertUnit$2("%", _s9_);
  12746. blackness.assertUnit$2("%", _s9_0);
  12747. t1 = whiteness.valueInRange$3(0, 100, _s9_);
  12748. t2 = blackness.valueInRange$3(0, 100, _s9_0);
  12749. t3 = A.NullableExtension_andThen(alpha, new A._hwb_closure());
  12750. return A.SassColor_SassColor$hwb(hue, t1, t2, t3 == null ? 1 : t3);
  12751. },
  12752. _parseChannels($name, argumentNames, channels) {
  12753. var list, t1, channels0, alphaFromSlashList, isCommaSeparated, isBracketed, buffer, _0_4, text, _1_0, _1_2, channel3, alpha, _null = null,
  12754. _s17_ = "$channels must be";
  12755. if (channels.get$isVar())
  12756. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  12757. if (channels.get$separator(channels) === B.ListSeparator_zg9) {
  12758. list = channels.get$asList();
  12759. t1 = list.length;
  12760. if (t1 !== 2)
  12761. throw A.wrapException(A.SassScriptException$(string$.Only_2 + t1 + " " + A.pluralize("was", t1, "were") + " passed.", _null));
  12762. channels0 = list[0];
  12763. alphaFromSlashList = list[1];
  12764. if (!alphaFromSlashList.get$isSpecialNumber())
  12765. alphaFromSlashList.assertNumber$1("alpha");
  12766. if (list[0].get$isVar())
  12767. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  12768. } else {
  12769. alphaFromSlashList = _null;
  12770. channels0 = channels;
  12771. }
  12772. isCommaSeparated = channels0.get$separator(channels0) === B.ListSeparator_rXA;
  12773. isBracketed = channels0.get$hasBrackets();
  12774. if (isCommaSeparated || isBracketed) {
  12775. buffer = new A.StringBuffer(_s17_);
  12776. if (isBracketed) {
  12777. t1 = _s17_ + " an unbracketed";
  12778. buffer._contents = t1;
  12779. } else
  12780. t1 = _s17_;
  12781. if (isCommaSeparated) {
  12782. t1 += isBracketed ? "," : " a";
  12783. buffer._contents = t1;
  12784. t1 = buffer._contents = t1 + " space-separated";
  12785. }
  12786. buffer._contents = t1 + " list.";
  12787. throw A.wrapException(A.SassScriptException$(buffer.toString$0(0), _null));
  12788. }
  12789. list = channels0.get$asList();
  12790. _0_4 = A._InitializedCell$(new A._parseChannels_closure(list));
  12791. if (list.length >= 2)
  12792. if (_0_4._readFinal$0() instanceof A.SassString) {
  12793. text = _0_4._readFinal$0()._string$_text;
  12794. t1 = !_0_4._readFinal$0()._hasQuotes && A.equalsIgnoreCase(text, "from");
  12795. } else
  12796. t1 = false;
  12797. else
  12798. t1 = false;
  12799. if (t1)
  12800. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  12801. t1 = list.length;
  12802. if (t1 > 3)
  12803. throw A.wrapException(A.SassScriptException$("Only 3 elements allowed, but " + t1 + " were passed.", _null));
  12804. else if (t1 < 3) {
  12805. if (!B.JSArray_methods.any$1(list, new A._parseChannels_closure0()))
  12806. if (list.length !== 0) {
  12807. t1 = B.JSArray_methods.get$last(list);
  12808. if (t1 instanceof A.SassString)
  12809. if (t1._hasQuotes) {
  12810. t1 = t1._string$_text;
  12811. t1 = A.startsWithIgnoreCase(t1, "var(") && B.JSString_methods.contains$1(t1, "/");
  12812. } else
  12813. t1 = false;
  12814. else
  12815. t1 = false;
  12816. } else
  12817. t1 = false;
  12818. else
  12819. t1 = true;
  12820. if (t1)
  12821. return A._functionString($name, A._setArrayType([channels], type$.JSArray_Value));
  12822. else
  12823. throw A.wrapException(A.SassScriptException$("Missing element " + argumentNames[list.length] + ".", _null));
  12824. }
  12825. if (alphaFromSlashList != null) {
  12826. t1 = A.List_List$of(list, true, type$.Value);
  12827. t1.push(alphaFromSlashList);
  12828. return t1;
  12829. }
  12830. _1_0 = list[2];
  12831. _1_2 = A._InitializedCell$(new A._parseChannels_closure1(_1_0));
  12832. $label0$0: {
  12833. if (_1_0 instanceof A.SassNumber)
  12834. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_2._readFinal$0())) {
  12835. t1 = type$.SassNumber;
  12836. channel3 = t1._as(_1_2._readFinal$0()._0);
  12837. alpha = t1._as(_1_2._readFinal$0()._1);
  12838. t1 = true;
  12839. } else {
  12840. alpha = _null;
  12841. channel3 = alpha;
  12842. t1 = false;
  12843. }
  12844. else {
  12845. alpha = _null;
  12846. channel3 = alpha;
  12847. t1 = false;
  12848. }
  12849. if (t1) {
  12850. t1 = A._setArrayType([list[0], list[1], channel3, alpha], type$.JSArray_Value);
  12851. break $label0$0;
  12852. }
  12853. if (_1_0 instanceof A.SassString)
  12854. if (!_1_0._hasQuotes)
  12855. t1 = B.JSString_methods.contains$1(_1_0._string$_text, "/");
  12856. else
  12857. t1 = false;
  12858. else
  12859. t1 = false;
  12860. if (t1) {
  12861. t1 = A._functionString($name, A._setArrayType([channels0], type$.JSArray_Value));
  12862. break $label0$0;
  12863. }
  12864. t1 = list;
  12865. break $label0$0;
  12866. }
  12867. return t1;
  12868. },
  12869. _percentageOrUnitless(number, max, $name) {
  12870. var value;
  12871. if (!number.get$hasUnits())
  12872. value = number._number$_value;
  12873. else if (number.hasUnit$1("%"))
  12874. value = max * number._number$_value / 100;
  12875. else
  12876. throw A.wrapException(A.SassScriptException$("$" + $name + ": Expected " + number.toString$0(0) + ' to have unit "%" or no units.', null));
  12877. return B.JSNumber_methods.clamp$2(value, 0, max);
  12878. },
  12879. _mixColors(color1, color2, weight) {
  12880. var weightScale, normalizedWeight, t1, t2, alphaDistance, t3, weight1, weight2;
  12881. A._checkPercent(weight, "weight");
  12882. weightScale = weight.valueInRange$3(0, 100, "weight") / 100;
  12883. normalizedWeight = weightScale * 2 - 1;
  12884. t1 = color1._alpha;
  12885. t2 = color2._alpha;
  12886. alphaDistance = t1 - t2;
  12887. t3 = normalizedWeight * alphaDistance;
  12888. weight1 = ((t3 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t3)) + 1) / 2;
  12889. weight2 = 1 - weight1;
  12890. 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));
  12891. },
  12892. _opacify($arguments) {
  12893. var t1 = J.getInterceptor$asx($arguments),
  12894. color = t1.$index($arguments, 0).assertColor$1("color");
  12895. 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));
  12896. },
  12897. _transparentize($arguments) {
  12898. var t1 = J.getInterceptor$asx($arguments),
  12899. color = t1.$index($arguments, 0).assertColor$1("color");
  12900. 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));
  12901. },
  12902. _function4($name, $arguments, callback) {
  12903. return A.BuiltInCallable$function($name, $arguments, callback, "sass:color");
  12904. },
  12905. global_closure0: function global_closure0() {
  12906. },
  12907. global_closure1: function global_closure1() {
  12908. },
  12909. global_closure2: function global_closure2() {
  12910. },
  12911. global_closure3: function global_closure3() {
  12912. },
  12913. global_closure4: function global_closure4() {
  12914. },
  12915. global_closure5: function global_closure5() {
  12916. },
  12917. global_closure6: function global_closure6() {
  12918. },
  12919. global_closure7: function global_closure7() {
  12920. },
  12921. global_closure8: function global_closure8() {
  12922. },
  12923. global_closure9: function global_closure9() {
  12924. },
  12925. global_closure10: function global_closure10() {
  12926. },
  12927. global_closure11: function global_closure11() {
  12928. },
  12929. global_closure12: function global_closure12() {
  12930. },
  12931. global_closure13: function global_closure13() {
  12932. },
  12933. global_closure14: function global_closure14() {
  12934. },
  12935. global_closure15: function global_closure15() {
  12936. },
  12937. global_closure16: function global_closure16() {
  12938. },
  12939. global_closure17: function global_closure17() {
  12940. },
  12941. global_closure18: function global_closure18() {
  12942. },
  12943. global_closure19: function global_closure19() {
  12944. },
  12945. global_closure20: function global_closure20() {
  12946. },
  12947. global_closure21: function global_closure21() {
  12948. },
  12949. global_closure22: function global_closure22() {
  12950. },
  12951. global_closure23: function global_closure23() {
  12952. },
  12953. global_closure24: function global_closure24() {
  12954. },
  12955. global_closure25: function global_closure25() {
  12956. },
  12957. global__closure: function global__closure() {
  12958. },
  12959. global_closure26: function global_closure26() {
  12960. },
  12961. module_closure1: function module_closure1() {
  12962. },
  12963. module_closure2: function module_closure2() {
  12964. },
  12965. module_closure3: function module_closure3() {
  12966. },
  12967. module_closure4: function module_closure4() {
  12968. },
  12969. module_closure5: function module_closure5() {
  12970. },
  12971. module_closure6: function module_closure6() {
  12972. },
  12973. module_closure7: function module_closure7() {
  12974. },
  12975. module_closure8: function module_closure8() {
  12976. },
  12977. module__closure1: function module__closure1() {
  12978. },
  12979. module_closure9: function module_closure9() {
  12980. },
  12981. _red_closure: function _red_closure() {
  12982. },
  12983. _green_closure: function _green_closure() {
  12984. },
  12985. _blue_closure: function _blue_closure() {
  12986. },
  12987. _mix_closure: function _mix_closure() {
  12988. },
  12989. _hue_closure: function _hue_closure() {
  12990. },
  12991. _saturation_closure: function _saturation_closure() {
  12992. },
  12993. _lightness_closure: function _lightness_closure() {
  12994. },
  12995. _complement_closure: function _complement_closure() {
  12996. },
  12997. _adjust_closure: function _adjust_closure() {
  12998. },
  12999. _scale_closure: function _scale_closure() {
  13000. },
  13001. _change_closure: function _change_closure() {
  13002. },
  13003. _ieHexStr_closure: function _ieHexStr_closure() {
  13004. },
  13005. _ieHexStr_closure_hexString: function _ieHexStr_closure_hexString() {
  13006. },
  13007. _updateComponents_getParam: function _updateComponents_getParam(t0, t1, t2) {
  13008. this.keywords = t0;
  13009. this.scale = t1;
  13010. this.change = t2;
  13011. },
  13012. _updateComponents_closure: function _updateComponents_closure() {
  13013. },
  13014. _updateComponents_closure0: function _updateComponents_closure0() {
  13015. },
  13016. _updateComponents_updateValue: function _updateComponents_updateValue(t0, t1) {
  13017. this.change = t0;
  13018. this.adjust = t1;
  13019. },
  13020. _updateComponents_updateRgb: function _updateComponents_updateRgb(t0) {
  13021. this.updateValue = t0;
  13022. },
  13023. _functionString_closure: function _functionString_closure() {
  13024. },
  13025. _removedColorFunction_closure: function _removedColorFunction_closure(t0, t1, t2) {
  13026. this.name = t0;
  13027. this.argument = t1;
  13028. this.negative = t2;
  13029. },
  13030. _rgb_closure: function _rgb_closure() {
  13031. },
  13032. _hsl_closure: function _hsl_closure() {
  13033. },
  13034. _hwb_closure: function _hwb_closure() {
  13035. },
  13036. _parseChannels_closure: function _parseChannels_closure(t0) {
  13037. this._0_0 = t0;
  13038. },
  13039. _parseChannels_closure0: function _parseChannels_closure0() {
  13040. },
  13041. _parseChannels_closure1: function _parseChannels_closure1(t0) {
  13042. this._1_0 = t0;
  13043. },
  13044. _function3($name, $arguments, callback) {
  13045. return A.BuiltInCallable$function($name, $arguments, callback, "sass:list");
  13046. },
  13047. _length_closure0: function _length_closure0() {
  13048. },
  13049. _nth_closure: function _nth_closure() {
  13050. },
  13051. _setNth_closure: function _setNth_closure() {
  13052. },
  13053. _join_closure: function _join_closure() {
  13054. },
  13055. _join__closure: function _join__closure(t0) {
  13056. this._0_0 = t0;
  13057. },
  13058. _join__closure0: function _join__closure0(t0) {
  13059. this._0_1 = t0;
  13060. },
  13061. _join__closure1: function _join__closure1(t0) {
  13062. this._0_0 = t0;
  13063. },
  13064. _append_closure0: function _append_closure0() {
  13065. },
  13066. _zip_closure: function _zip_closure() {
  13067. },
  13068. _zip__closure: function _zip__closure() {
  13069. },
  13070. _zip__closure0: function _zip__closure0(t0) {
  13071. this._box_0 = t0;
  13072. },
  13073. _zip__closure1: function _zip__closure1(t0) {
  13074. this._box_0 = t0;
  13075. },
  13076. _index_closure0: function _index_closure0() {
  13077. },
  13078. _separator_closure: function _separator_closure() {
  13079. },
  13080. _isBracketed_closure: function _isBracketed_closure() {
  13081. },
  13082. _slash_closure: function _slash_closure() {
  13083. },
  13084. _modify(map, keys, modify, addNesting) {
  13085. var keyIterator = J.get$iterator$ax(keys);
  13086. return keyIterator.moveNext$0() ? new A._modify_modifyNestedMap(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
  13087. },
  13088. _deepMergeImpl(map1, map2) {
  13089. var t2, t3, result, key, value, _1_0, _1_1, _1_3, resultMap, valueMap, merged, _null = null,
  13090. t1 = map1._map$_contents;
  13091. if (t1.get$isEmpty(t1))
  13092. return map2;
  13093. t2 = map2._map$_contents;
  13094. if (t2.get$isEmpty(t2))
  13095. return map1;
  13096. t3 = type$.Value;
  13097. result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
  13098. for (t1 = A.MapExtensions_get_pairs(t2, t3, t3), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  13099. t2 = t1.get$current(t1);
  13100. key = t2._0;
  13101. value = t2._1;
  13102. t2 = result.$index(0, key);
  13103. t2 = t2 == null ? _null : t2.tryMap$0();
  13104. _1_0 = new A._Record_2(t2, value.tryMap$0());
  13105. _1_1 = A._InitializedCell$(new A._deepMergeImpl_closure(_1_0));
  13106. _1_3 = A._InitializedCell$(new A._deepMergeImpl_closure0(_1_0));
  13107. if (_1_1._readFinal$0() != null) {
  13108. resultMap = _1_1._readFinal$0();
  13109. t2 = true;
  13110. } else {
  13111. resultMap = _null;
  13112. t2 = false;
  13113. }
  13114. if (t2)
  13115. if (_1_3._readFinal$0() != null) {
  13116. valueMap = _1_3._readFinal$0();
  13117. t2 = true;
  13118. } else {
  13119. valueMap = _null;
  13120. t2 = false;
  13121. }
  13122. else {
  13123. valueMap = _null;
  13124. t2 = false;
  13125. }
  13126. if (t2) {
  13127. merged = A._deepMergeImpl(resultMap, valueMap);
  13128. if (merged === resultMap)
  13129. continue;
  13130. result.$indexSet(0, key, merged);
  13131. } else
  13132. result.$indexSet(0, key, value);
  13133. }
  13134. return new A.SassMap(A.ConstantMap_ConstantMap$from(result, t3, t3));
  13135. },
  13136. _function2($name, $arguments, callback) {
  13137. return A.BuiltInCallable$function($name, $arguments, callback, "sass:map");
  13138. },
  13139. _get_closure: function _get_closure() {
  13140. },
  13141. _set_closure: function _set_closure() {
  13142. },
  13143. _set__closure1: function _set__closure1(t0) {
  13144. this.$arguments = t0;
  13145. },
  13146. _set_closure0: function _set_closure0() {
  13147. },
  13148. _set__closure: function _set__closure(t0) {
  13149. this._0_0 = t0;
  13150. },
  13151. _set__closure0: function _set__closure0(t0) {
  13152. this._box_0 = t0;
  13153. },
  13154. _merge_closure: function _merge_closure() {
  13155. },
  13156. _merge_closure0: function _merge_closure0() {
  13157. },
  13158. _merge__closure: function _merge__closure(t0) {
  13159. this._0_0 = t0;
  13160. },
  13161. _merge__closure0: function _merge__closure0(t0) {
  13162. this.map2 = t0;
  13163. },
  13164. _deepMerge_closure: function _deepMerge_closure() {
  13165. },
  13166. _deepRemove_closure: function _deepRemove_closure() {
  13167. },
  13168. _deepRemove__closure: function _deepRemove__closure(t0) {
  13169. this.keys = t0;
  13170. },
  13171. _remove_closure: function _remove_closure() {
  13172. },
  13173. _remove_closure0: function _remove_closure0() {
  13174. },
  13175. _keys_closure: function _keys_closure() {
  13176. },
  13177. _values_closure: function _values_closure() {
  13178. },
  13179. _hasKey_closure: function _hasKey_closure() {
  13180. },
  13181. _modify_modifyNestedMap: function _modify_modifyNestedMap(t0, t1, t2) {
  13182. this.keyIterator = t0;
  13183. this.modify = t1;
  13184. this.addNesting = t2;
  13185. },
  13186. _deepMergeImpl_closure: function _deepMergeImpl_closure(t0) {
  13187. this._1_0 = t0;
  13188. },
  13189. _deepMergeImpl_closure0: function _deepMergeImpl_closure0(t0) {
  13190. this._1_0 = t0;
  13191. },
  13192. _singleArgumentMathFunc($name, mathFunc) {
  13193. return A.BuiltInCallable$function($name, "$number", new A._singleArgumentMathFunc_closure(mathFunc), "sass:math");
  13194. },
  13195. _numberFunction($name, transform) {
  13196. return A.BuiltInCallable$function($name, "$number", new A._numberFunction_closure(transform), "sass:math");
  13197. },
  13198. _function1($name, $arguments, callback) {
  13199. return A.BuiltInCallable$function($name, $arguments, callback, "sass:math");
  13200. },
  13201. global_closure: function global_closure() {
  13202. },
  13203. module_closure0: function module_closure0() {
  13204. },
  13205. _ceil_closure: function _ceil_closure() {
  13206. },
  13207. _clamp_closure: function _clamp_closure() {
  13208. },
  13209. _floor_closure: function _floor_closure() {
  13210. },
  13211. _max_closure: function _max_closure() {
  13212. },
  13213. _min_closure: function _min_closure() {
  13214. },
  13215. _round_closure: function _round_closure() {
  13216. },
  13217. _hypot_closure: function _hypot_closure() {
  13218. },
  13219. _hypot__closure: function _hypot__closure() {
  13220. },
  13221. _log_closure: function _log_closure() {
  13222. },
  13223. _pow_closure: function _pow_closure() {
  13224. },
  13225. _atan2_closure: function _atan2_closure() {
  13226. },
  13227. _compatible_closure: function _compatible_closure() {
  13228. },
  13229. _isUnitless_closure: function _isUnitless_closure() {
  13230. },
  13231. _unit_closure: function _unit_closure() {
  13232. },
  13233. _percentage_closure: function _percentage_closure() {
  13234. },
  13235. _randomFunction_closure: function _randomFunction_closure() {
  13236. },
  13237. _div_closure: function _div_closure() {
  13238. },
  13239. _singleArgumentMathFunc_closure: function _singleArgumentMathFunc_closure(t0) {
  13240. this.mathFunc = t0;
  13241. },
  13242. _numberFunction_closure: function _numberFunction_closure(t0) {
  13243. this.transform = t0;
  13244. },
  13245. _function5($name, $arguments, callback) {
  13246. return A.BuiltInCallable$function($name, $arguments, callback, "sass:meta");
  13247. },
  13248. global_closure27: function global_closure27() {
  13249. },
  13250. global_closure28: function global_closure28() {
  13251. },
  13252. global_closure29: function global_closure29() {
  13253. },
  13254. global_closure30: function global_closure30() {
  13255. },
  13256. local_closure: function local_closure() {
  13257. },
  13258. local_closure0: function local_closure0() {
  13259. },
  13260. local__closure0: function local__closure0() {
  13261. },
  13262. local_closure1: function local_closure1() {
  13263. },
  13264. local__closure: function local__closure(t0) {
  13265. this._0_0 = t0;
  13266. },
  13267. _prependParent(compound) {
  13268. var t1, type, rest, _null = null,
  13269. span = A.EvaluationContext_current().get$currentCallableSpan(),
  13270. _0_0 = compound.components,
  13271. _0_3 = A._InitializedCell$(new A._prependParent_closure(_0_0)),
  13272. _0_4 = A._InitializedCell$(new A._prependParent_closure0(_0_0));
  13273. $label0$0: {
  13274. if (_0_3._readFinal$0() && _0_4._readFinal$0() instanceof A.UniversalSelector) {
  13275. t1 = _null;
  13276. break $label0$0;
  13277. }
  13278. if (_0_3._readFinal$0())
  13279. if (_0_4._readFinal$0() instanceof A.TypeSelector)
  13280. t1 = _0_4._readFinal$0().name.namespace != null;
  13281. else
  13282. t1 = false;
  13283. else
  13284. t1 = false;
  13285. if (t1) {
  13286. t1 = _null;
  13287. break $label0$0;
  13288. }
  13289. if (_0_3._readFinal$0())
  13290. if (_0_4._readFinal$0() instanceof A.TypeSelector) {
  13291. type = _0_4._readFinal$0();
  13292. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  13293. t1 = true;
  13294. } else {
  13295. rest = _null;
  13296. type = rest;
  13297. t1 = false;
  13298. }
  13299. else {
  13300. rest = _null;
  13301. type = rest;
  13302. t1 = false;
  13303. }
  13304. if (t1) {
  13305. t1 = A._setArrayType([new A.ParentSelector(type.name.name, span)], type$.JSArray_SimpleSelector);
  13306. B.JSArray_methods.addAll$1(t1, rest);
  13307. t1 = A.CompoundSelector$(t1, span);
  13308. break $label0$0;
  13309. }
  13310. t1 = A._setArrayType([new A.ParentSelector(_null, span)], type$.JSArray_SimpleSelector);
  13311. B.JSArray_methods.addAll$1(t1, _0_0);
  13312. t1 = A.CompoundSelector$(t1, span);
  13313. break $label0$0;
  13314. }
  13315. return t1;
  13316. },
  13317. _function0($name, $arguments, callback) {
  13318. return A.BuiltInCallable$function($name, $arguments, callback, "sass:selector");
  13319. },
  13320. _nest_closure: function _nest_closure() {
  13321. },
  13322. _nest__closure: function _nest__closure(t0) {
  13323. this._box_0 = t0;
  13324. },
  13325. _nest__closure0: function _nest__closure0() {
  13326. },
  13327. _append_closure: function _append_closure() {
  13328. },
  13329. _append__closure: function _append__closure() {
  13330. },
  13331. _append__closure0: function _append__closure0(t0) {
  13332. this.span = t0;
  13333. },
  13334. _append___closure: function _append___closure(t0, t1) {
  13335. this.parent = t0;
  13336. this.span = t1;
  13337. },
  13338. _extend_closure: function _extend_closure() {
  13339. },
  13340. _replace_closure: function _replace_closure() {
  13341. },
  13342. _unify_closure: function _unify_closure() {
  13343. },
  13344. _isSuperselector_closure: function _isSuperselector_closure() {
  13345. },
  13346. _simpleSelectors_closure: function _simpleSelectors_closure() {
  13347. },
  13348. _simpleSelectors__closure: function _simpleSelectors__closure() {
  13349. },
  13350. _parse_closure: function _parse_closure() {
  13351. },
  13352. _prependParent_closure: function _prependParent_closure(t0) {
  13353. this._0_0 = t0;
  13354. },
  13355. _prependParent_closure0: function _prependParent_closure0(t0) {
  13356. this._0_0 = t0;
  13357. },
  13358. _codepointForIndex(index, lengthInCodepoints, allowNegative) {
  13359. var result;
  13360. if (index === 0)
  13361. return 0;
  13362. if (index > 0)
  13363. return Math.min(index - 1, lengthInCodepoints);
  13364. result = lengthInCodepoints + index;
  13365. if (result < 0 && !allowNegative)
  13366. return 0;
  13367. return result;
  13368. },
  13369. _function($name, $arguments, callback) {
  13370. return A.BuiltInCallable$function($name, $arguments, callback, "sass:string");
  13371. },
  13372. module_closure: function module_closure() {
  13373. },
  13374. module__closure: function module__closure(t0) {
  13375. this.string = t0;
  13376. },
  13377. module__closure0: function module__closure0(t0) {
  13378. this.string = t0;
  13379. },
  13380. _unquote_closure: function _unquote_closure() {
  13381. },
  13382. _quote_closure: function _quote_closure() {
  13383. },
  13384. _length_closure: function _length_closure() {
  13385. },
  13386. _insert_closure: function _insert_closure() {
  13387. },
  13388. _index_closure: function _index_closure() {
  13389. },
  13390. _slice_closure: function _slice_closure() {
  13391. },
  13392. _toUpperCase_closure: function _toUpperCase_closure() {
  13393. },
  13394. _toLowerCase_closure: function _toLowerCase_closure() {
  13395. },
  13396. _uniqueId_closure: function _uniqueId_closure() {
  13397. },
  13398. ImportCache$(loadPaths, logger) {
  13399. var t1 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl,
  13400. t2 = type$.Uri,
  13401. t3 = A.ImportCache__toImporters(null, loadPaths, null);
  13402. return new A.ImportCache(t3, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_4_Uri_and_Importer_baseImporter_and_nullable_Uri_baseUrl_and_bool_forImport, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult));
  13403. },
  13404. ImportCache__toImporters(importers, loadPaths, packageConfig) {
  13405. var t1, t2, t3, t4, _i, path, _null = null,
  13406. sassPath = A.getEnvironmentVariable("SASS_PATH");
  13407. if (A.isBrowser()) {
  13408. t1 = A._setArrayType([], type$.JSArray_Importer_2);
  13409. return t1;
  13410. }
  13411. t1 = A._setArrayType([], type$.JSArray_Importer_2);
  13412. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  13413. t3 = t2.get$current(t2);
  13414. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  13415. }
  13416. if (sassPath != null) {
  13417. t2 = A.isNodeJs() ? self.process : _null;
  13418. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  13419. t4 = t3.length;
  13420. _i = 0;
  13421. for (; _i < t4; ++_i) {
  13422. path = t3[_i];
  13423. t1.push(new A.FilesystemImporter($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  13424. }
  13425. }
  13426. return t1;
  13427. },
  13428. ImportCache: function ImportCache(t0, t1, t2, t3, t4, t5) {
  13429. var _ = this;
  13430. _._importers = t0;
  13431. _._logger = t1;
  13432. _._canonicalizeCache = t2;
  13433. _._relativeCanonicalizeCache = t3;
  13434. _._importCache = t4;
  13435. _._resultsCache = t5;
  13436. },
  13437. ImportCache_canonicalize_closure: function ImportCache_canonicalize_closure(t0, t1, t2, t3, t4) {
  13438. var _ = this;
  13439. _.$this = t0;
  13440. _.baseImporter = t1;
  13441. _.baseUrl = t2;
  13442. _.url = t3;
  13443. _.forImport = t4;
  13444. },
  13445. ImportCache_canonicalize_closure0: function ImportCache_canonicalize_closure0(t0, t1, t2, t3) {
  13446. var _ = this;
  13447. _.$this = t0;
  13448. _.url = t1;
  13449. _.baseUrl = t2;
  13450. _.forImport = t3;
  13451. },
  13452. ImportCache__canonicalize_closure: function ImportCache__canonicalize_closure(t0, t1) {
  13453. this.importer = t0;
  13454. this.resolved = t1;
  13455. },
  13456. ImportCache__canonicalize__closure: function ImportCache__canonicalize__closure(t0, t1) {
  13457. this.importer = t0;
  13458. this.resolved = t1;
  13459. },
  13460. ImportCache__canonicalize_closure0: function ImportCache__canonicalize_closure0(t0, t1) {
  13461. this.importer = t0;
  13462. this.resolved = t1;
  13463. },
  13464. ImportCache_importCanonical_closure: function ImportCache_importCanonical_closure(t0, t1, t2, t3, t4) {
  13465. var _ = this;
  13466. _.$this = t0;
  13467. _.importer = t1;
  13468. _.canonicalUrl = t2;
  13469. _.originalUrl = t3;
  13470. _.quiet = t4;
  13471. },
  13472. ImportCache_humanize_closure: function ImportCache_humanize_closure(t0) {
  13473. this.canonicalUrl = t0;
  13474. },
  13475. ImportCache_humanize_closure0: function ImportCache_humanize_closure0() {
  13476. },
  13477. ImportCache_humanize_closure1: function ImportCache_humanize_closure1() {
  13478. },
  13479. ImportCache_humanize_closure2: function ImportCache_humanize_closure2(t0) {
  13480. this.canonicalUrl = t0;
  13481. },
  13482. ImportCache_clearCanonicalize_closure: function ImportCache_clearCanonicalize_closure(t0) {
  13483. this.url = t0;
  13484. },
  13485. Importer: function Importer() {
  13486. },
  13487. AsyncImporter: function AsyncImporter() {
  13488. },
  13489. FilesystemImporter: function FilesystemImporter(t0) {
  13490. this._loadPath = t0;
  13491. },
  13492. FilesystemImporter_canonicalize_closure: function FilesystemImporter_canonicalize_closure() {
  13493. },
  13494. NoOpImporter: function NoOpImporter() {
  13495. },
  13496. ImporterResult: function ImporterResult(t0, t1, t2) {
  13497. this.contents = t0;
  13498. this._sourceMapUrl = t1;
  13499. this.syntax = t2;
  13500. },
  13501. fromImport() {
  13502. var t1 = A._asBoolQ($.Zone__current.$index(0, B.Symbol__inImportRule));
  13503. return t1 === true;
  13504. },
  13505. withContainingUrl(url, callback, $T) {
  13506. var t1 = url == null ? B.Symbol__none : url,
  13507. t2 = type$.nullable_Object;
  13508. return A.runZoned(callback, A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__containingUrl, t1], t2, t2), $T);
  13509. },
  13510. resolveImportPath(path) {
  13511. var t1,
  13512. extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  13513. if (extension === ".sass" || extension === ".scss" || extension === ".css") {
  13514. t1 = A.fromImport() ? new A.resolveImportPath_closure(path, extension).call$0() : null;
  13515. return t1 == null ? A._exactlyOne(A._tryPath(path)) : t1;
  13516. }
  13517. t1 = A.fromImport() ? new A.resolveImportPath_closure0(path).call$0() : null;
  13518. if (t1 == null)
  13519. t1 = A._exactlyOne(A._tryPathWithExtensions(path));
  13520. return t1 == null ? A._tryPathAsDirectory(path) : t1;
  13521. },
  13522. _tryPathWithExtensions(path) {
  13523. var result = A._tryPath(path + ".sass");
  13524. B.JSArray_methods.addAll$1(result, A._tryPath(path + ".scss"));
  13525. return result.length !== 0 ? result : A._tryPath(path + ".css");
  13526. },
  13527. _tryPath(path) {
  13528. var t1 = $.$get$context(),
  13529. partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
  13530. t1 = A._setArrayType([], type$.JSArray_String);
  13531. if (A.fileExists(partial))
  13532. t1.push(partial);
  13533. if (A.fileExists(path))
  13534. t1.push(path);
  13535. return t1;
  13536. },
  13537. _tryPathAsDirectory(path) {
  13538. var t1;
  13539. if (!A.dirExists(path))
  13540. return null;
  13541. t1 = A.fromImport() ? new A._tryPathAsDirectory_closure(path).call$0() : null;
  13542. return t1 == null ? A._exactlyOne(A._tryPathWithExtensions(A.join(path, "index", null))) : t1;
  13543. },
  13544. _exactlyOne(paths) {
  13545. var t1, path,
  13546. _0_1 = A._InitializedCell$(new A._exactlyOne_closure(paths));
  13547. $label0$0: {
  13548. if (_0_1._readFinal$0() <= 0) {
  13549. t1 = null;
  13550. break $label0$0;
  13551. }
  13552. if (J.$eq$(_0_1._readFinal$0(), 1)) {
  13553. path = paths[0];
  13554. t1 = true;
  13555. } else {
  13556. path = null;
  13557. t1 = false;
  13558. }
  13559. if (t1) {
  13560. t1 = path;
  13561. break $label0$0;
  13562. }
  13563. t1 = A.throwExpression(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure0(), type$.String).join$1(0, "\n"));
  13564. }
  13565. return t1;
  13566. },
  13567. resolveImportPath_closure: function resolveImportPath_closure(t0, t1) {
  13568. this.path = t0;
  13569. this.extension = t1;
  13570. },
  13571. resolveImportPath_closure0: function resolveImportPath_closure0(t0) {
  13572. this.path = t0;
  13573. },
  13574. _tryPathAsDirectory_closure: function _tryPathAsDirectory_closure(t0) {
  13575. this.path = t0;
  13576. },
  13577. _exactlyOne_closure: function _exactlyOne_closure(t0) {
  13578. this._0_0 = t0;
  13579. },
  13580. _exactlyOne_closure0: function _exactlyOne_closure0() {
  13581. },
  13582. InterpolationBuffer: function InterpolationBuffer(t0, t1) {
  13583. this._interpolation_buffer$_text = t0;
  13584. this._interpolation_buffer$_contents = t1;
  13585. },
  13586. InterpolationBuffer_addInterpolation_closure: function InterpolationBuffer_addInterpolation_closure(t0) {
  13587. this._0_0 = t0;
  13588. },
  13589. InterpolationMap$(_interpolation, targetLocations) {
  13590. var t1 = A.List_List$unmodifiable(targetLocations, type$.SourceLocation),
  13591. t2 = _interpolation.contents.length,
  13592. expectedLocations = Math.max(0, t2 - 1);
  13593. if (t1.length !== expectedLocations)
  13594. A.throwExpression(A.ArgumentError$("InterpolationMap must have " + A.S(expectedLocations) + string$.x20targe + t2 + " components.", null));
  13595. return new A.InterpolationMap(_interpolation, t1);
  13596. },
  13597. InterpolationMap: function InterpolationMap(t0, t1) {
  13598. this._interpolation = t0;
  13599. this._targetLocations = t1;
  13600. },
  13601. InterpolationMap_mapException_closure: function InterpolationMap_mapException_closure() {
  13602. },
  13603. InterpolationMap_mapSpan_closure: function InterpolationMap_mapSpan_closure(t0) {
  13604. this._0_0 = t0;
  13605. },
  13606. InterpolationMap_mapSpan_closure0: function InterpolationMap_mapSpan_closure0(t0) {
  13607. this._0_0 = t0;
  13608. },
  13609. _realCasePath(path) {
  13610. var prefix, _null = null,
  13611. t1 = A.isNodeJs() ? self.process : _null;
  13612. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  13613. t1 = A.isNodeJs() ? self.process : _null;
  13614. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  13615. } else
  13616. t1 = true;
  13617. if (!t1)
  13618. return path;
  13619. t1 = A.isNodeJs() ? self.process : _null;
  13620. if (J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  13621. prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
  13622. t1 = prefix.length;
  13623. if (t1 !== 0 && A.CharacterExtension_get_isAlphabetic(prefix.charCodeAt(0)))
  13624. path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
  13625. }
  13626. return new A._realCasePath_helper().call$1(path);
  13627. },
  13628. _realCasePath_helper: function _realCasePath_helper() {
  13629. },
  13630. _realCasePath_helper_closure: function _realCasePath_helper_closure(t0, t1, t2) {
  13631. this.helper = t0;
  13632. this.dirname = t1;
  13633. this.path = t2;
  13634. },
  13635. _realCasePath_helper__closure: function _realCasePath_helper__closure(t0) {
  13636. this.basename = t0;
  13637. },
  13638. printError(message) {
  13639. var t1,
  13640. process = A.isNodeJs() ? self.process : null;
  13641. if (process != null)
  13642. t1 = true;
  13643. else {
  13644. process = null;
  13645. t1 = false;
  13646. }
  13647. if (t1) {
  13648. t1 = J.get$stderr$x(process);
  13649. J.write$1$x(t1, A.S(message == null ? "" : message) + "\n");
  13650. } else {
  13651. t1 = self.console;
  13652. J.error$1$x(t1, message == null ? "" : message);
  13653. }
  13654. },
  13655. readFile(path) {
  13656. var contents, sourceFile, t1, i;
  13657. if (!A.isNodeJs())
  13658. throw A.wrapException(A.UnsupportedError$("readFile() is only supported on Node.js"));
  13659. contents = A._asString(A._readFile(path, "utf8"));
  13660. if (!B.JSString_methods.contains$1(contents, "\ufffd"))
  13661. return contents;
  13662. sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
  13663. for (t1 = contents.length, i = 0; i < t1; ++i) {
  13664. if (contents.charCodeAt(i) !== 65533)
  13665. continue;
  13666. throw A.wrapException(A.SassException$("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0(), null));
  13667. }
  13668. return contents;
  13669. },
  13670. _readFile(path, encoding) {
  13671. return A._systemErrorToFileSystemException(new A._readFile_closure(path, encoding));
  13672. },
  13673. writeFile(path, contents) {
  13674. if (!A.isNodeJs())
  13675. throw A.wrapException(A.UnsupportedError$("writeFile() is only supported on Node.js"));
  13676. return A._systemErrorToFileSystemException(new A.writeFile_closure(path, contents));
  13677. },
  13678. deleteFile(path) {
  13679. if (!A.isNodeJs())
  13680. throw A.wrapException(A.UnsupportedError$("deleteFile() is only supported on Node.js"));
  13681. return A._systemErrorToFileSystemException(new A.deleteFile_closure(path));
  13682. },
  13683. readStdin() {
  13684. return A.readStdin$body();
  13685. },
  13686. readStdin$body() {
  13687. var $async$goto = 0,
  13688. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  13689. $async$returnValue, t3, completer, sink, t1, t2;
  13690. var $async$readStdin = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  13691. if ($async$errorCode === 1)
  13692. return A._asyncRethrow($async$result, $async$completer);
  13693. while (true)
  13694. switch ($async$goto) {
  13695. case 0:
  13696. // Function start
  13697. t1 = {};
  13698. t2 = A.isNodeJs() ? self.process : null;
  13699. if (t2 == null)
  13700. throw A.wrapException(A.UnsupportedError$("readStdin() is only supported on Node.js"));
  13701. t3 = new A._Future($.Zone__current, type$._Future_String);
  13702. completer = new A._AsyncCompleter(t3, type$._AsyncCompleter_String);
  13703. t1.contents = null;
  13704. sink = new A._StringCallbackSink(new A.readStdin_closure(t1, completer), new A.StringBuffer("")).asUtf8Sink$1(false);
  13705. t1 = J.getInterceptor$x(t2);
  13706. J.on$2$x(t1.get$stdin(t2), "data", A.allowInterop(new A.readStdin_closure0(sink)));
  13707. J.on$2$x(t1.get$stdin(t2), "end", A.allowInterop(new A.readStdin_closure1(sink)));
  13708. J.on$2$x(t1.get$stdin(t2), "error", A.allowInterop(new A.readStdin_closure2(completer)));
  13709. $async$returnValue = t3;
  13710. // goto return
  13711. $async$goto = 1;
  13712. break;
  13713. case 1:
  13714. // return
  13715. return A._asyncReturn($async$returnValue, $async$completer);
  13716. }
  13717. });
  13718. return A._asyncStartSync($async$readStdin, $async$completer);
  13719. },
  13720. fileExists(path) {
  13721. if (!A.isNodeJs())
  13722. throw A.wrapException(A.UnsupportedError$(string$.fileEx));
  13723. return A._systemErrorToFileSystemException(new A.fileExists_closure(path));
  13724. },
  13725. dirExists(path) {
  13726. if (!A.isNodeJs())
  13727. throw A.wrapException(A.UnsupportedError$("dirExists() is only supported on Node.js"));
  13728. return A._systemErrorToFileSystemException(new A.dirExists_closure(path));
  13729. },
  13730. ensureDir(path) {
  13731. if (!A.isNodeJs())
  13732. throw A.wrapException(A.UnsupportedError$("ensureDir() is only supported on Node.js"));
  13733. return A._systemErrorToFileSystemException(new A.ensureDir_closure(path));
  13734. },
  13735. listDir(path, recursive) {
  13736. if (!A.isNodeJs())
  13737. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  13738. return A._systemErrorToFileSystemException(new A.listDir_closure(recursive, path));
  13739. },
  13740. modificationTime(path) {
  13741. if (!A.isNodeJs())
  13742. throw A.wrapException(A.UnsupportedError$("modificationTime() is only supported on Node.js"));
  13743. return A._systemErrorToFileSystemException(new A.modificationTime_closure(path));
  13744. },
  13745. getEnvironmentVariable($name) {
  13746. var t1 = A.isNodeJs() ? self.process : null,
  13747. env = t1 == null ? null : J.get$env$x(t1);
  13748. if (env == null)
  13749. t1 = null;
  13750. else
  13751. t1 = A._asStringQ(env[$name]);
  13752. return t1;
  13753. },
  13754. _systemErrorToFileSystemException(callback) {
  13755. var error, t1, exception, t2;
  13756. try {
  13757. t1 = callback.call$0();
  13758. return t1;
  13759. } catch (exception) {
  13760. error = A.unwrapException(exception);
  13761. if (!type$.JsSystemError._is(error))
  13762. throw exception;
  13763. t1 = error;
  13764. t2 = J.getInterceptor$x(t1);
  13765. 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)));
  13766. }
  13767. },
  13768. hasTerminal() {
  13769. var t1 = A.isNodeJs() ? self.process : null;
  13770. return J.$eq$(t1 == null ? null : J.get$isTTY$x(J.get$stdout$x(t1)), true);
  13771. },
  13772. isWindows() {
  13773. var t1 = A.isNodeJs() ? self.process : null;
  13774. return J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32");
  13775. },
  13776. watchDir(path, poll) {
  13777. var watcher, t2, t3, t1 = {};
  13778. if (!A.isNodeJs())
  13779. throw A.wrapException(A.UnsupportedError$("watchDir() is only supported on Node.js"));
  13780. watcher = J.watch$2$x(self.chokidar, path, {disableGlobbing: true, usePolling: poll});
  13781. t1.controller = null;
  13782. t2 = J.getInterceptor$x(watcher);
  13783. t2.on$2(watcher, "add", A.allowInterop(new A.watchDir_closure(t1)));
  13784. t2.on$2(watcher, "change", A.allowInterop(new A.watchDir_closure0(t1)));
  13785. t2.on$2(watcher, "unlink", A.allowInterop(new A.watchDir_closure1(t1)));
  13786. t2.on$2(watcher, "error", A.allowInterop(new A.watchDir_closure2(t1)));
  13787. t3 = new A._Future($.Zone__current, type$._Future_Stream_WatchEvent);
  13788. t2.on$2(watcher, "ready", A.allowInterop(new A.watchDir_closure3(t1, watcher, new A._AsyncCompleter(t3, type$._AsyncCompleter_Stream_WatchEvent))));
  13789. return t3;
  13790. },
  13791. FileSystemException: function FileSystemException(t0, t1) {
  13792. this.message = t0;
  13793. this.path = t1;
  13794. },
  13795. _readFile_closure: function _readFile_closure(t0, t1) {
  13796. this.path = t0;
  13797. this.encoding = t1;
  13798. },
  13799. writeFile_closure: function writeFile_closure(t0, t1) {
  13800. this.path = t0;
  13801. this.contents = t1;
  13802. },
  13803. deleteFile_closure: function deleteFile_closure(t0) {
  13804. this.path = t0;
  13805. },
  13806. readStdin_closure: function readStdin_closure(t0, t1) {
  13807. this._box_0 = t0;
  13808. this.completer = t1;
  13809. },
  13810. readStdin_closure0: function readStdin_closure0(t0) {
  13811. this.sink = t0;
  13812. },
  13813. readStdin_closure1: function readStdin_closure1(t0) {
  13814. this.sink = t0;
  13815. },
  13816. readStdin_closure2: function readStdin_closure2(t0) {
  13817. this.completer = t0;
  13818. },
  13819. fileExists_closure: function fileExists_closure(t0) {
  13820. this.path = t0;
  13821. },
  13822. dirExists_closure: function dirExists_closure(t0) {
  13823. this.path = t0;
  13824. },
  13825. ensureDir_closure: function ensureDir_closure(t0) {
  13826. this.path = t0;
  13827. },
  13828. listDir_closure: function listDir_closure(t0, t1) {
  13829. this.recursive = t0;
  13830. this.path = t1;
  13831. },
  13832. listDir__closure: function listDir__closure(t0) {
  13833. this.path = t0;
  13834. },
  13835. listDir__closure0: function listDir__closure0() {
  13836. },
  13837. listDir_closure_list: function listDir_closure_list() {
  13838. },
  13839. listDir__list_closure: function listDir__list_closure(t0, t1) {
  13840. this.parent = t0;
  13841. this.list = t1;
  13842. },
  13843. modificationTime_closure: function modificationTime_closure(t0) {
  13844. this.path = t0;
  13845. },
  13846. watchDir_closure: function watchDir_closure(t0) {
  13847. this._box_0 = t0;
  13848. },
  13849. watchDir_closure0: function watchDir_closure0(t0) {
  13850. this._box_0 = t0;
  13851. },
  13852. watchDir_closure1: function watchDir_closure1(t0) {
  13853. this._box_0 = t0;
  13854. },
  13855. watchDir_closure2: function watchDir_closure2(t0) {
  13856. this._box_0 = t0;
  13857. },
  13858. watchDir_closure3: function watchDir_closure3(t0, t1, t2) {
  13859. this._box_0 = t0;
  13860. this.watcher = t1;
  13861. this.completer = t2;
  13862. },
  13863. watchDir__closure: function watchDir__closure(t0) {
  13864. this.watcher = t0;
  13865. },
  13866. JSArray1: function JSArray1() {
  13867. },
  13868. Chokidar: function Chokidar() {
  13869. },
  13870. ChokidarOptions: function ChokidarOptions() {
  13871. },
  13872. ChokidarWatcher: function ChokidarWatcher() {
  13873. },
  13874. JSFunction0: function JSFunction0() {
  13875. },
  13876. ImmutableList: function ImmutableList() {
  13877. },
  13878. ImmutableMap: function ImmutableMap() {
  13879. },
  13880. NodeImporterResult: function NodeImporterResult() {
  13881. },
  13882. RenderContext: function RenderContext() {
  13883. },
  13884. RenderContextOptions: function RenderContextOptions() {
  13885. },
  13886. RenderContextResult: function RenderContextResult() {
  13887. },
  13888. RenderContextResultStats: function RenderContextResultStats() {
  13889. },
  13890. JSClass: function JSClass() {
  13891. },
  13892. JSUrl: function JSUrl() {
  13893. },
  13894. jsThrow0(error) {
  13895. return type$.Never._as($.$get$_jsThrow0().call$1(error));
  13896. },
  13897. _PropertyDescriptor: function _PropertyDescriptor() {
  13898. },
  13899. WarnForDeprecation_warnForDeprecation(_this, deprecation, message, span, trace) {
  13900. var $self, t1;
  13901. if (_this instanceof A.DeprecationHandlingLogger) {
  13902. $self = _this;
  13903. t1 = true;
  13904. } else {
  13905. $self = null;
  13906. t1 = false;
  13907. }
  13908. if (t1)
  13909. $self.warnForDeprecation$4$span$trace(deprecation, message, span, trace);
  13910. else if (!deprecation.isFuture)
  13911. _this.warn$4$deprecation$span$trace(0, message, true, span, trace);
  13912. },
  13913. _QuietLogger: function _QuietLogger() {
  13914. },
  13915. DeprecationHandlingLogger: function DeprecationHandlingLogger(t0, t1, t2, t3, t4) {
  13916. var _ = this;
  13917. _._warningCounts = t0;
  13918. _._inner = t1;
  13919. _.fatalDeprecations = t2;
  13920. _.futureDeprecations = t3;
  13921. _.limitRepetition = t4;
  13922. },
  13923. DeprecationHandlingLogger_warnForDeprecation_closure: function DeprecationHandlingLogger_warnForDeprecation_closure(t0) {
  13924. this._0_0 = t0;
  13925. },
  13926. DeprecationHandlingLogger_warnForDeprecation_closure0: function DeprecationHandlingLogger_warnForDeprecation_closure0(t0) {
  13927. this._0_0 = t0;
  13928. },
  13929. DeprecationHandlingLogger_summarize_closure: function DeprecationHandlingLogger_summarize_closure() {
  13930. },
  13931. DeprecationHandlingLogger_summarize_closure0: function DeprecationHandlingLogger_summarize_closure0() {
  13932. },
  13933. StderrLogger: function StderrLogger(t0) {
  13934. this.color = t0;
  13935. },
  13936. TrackingLogger: function TrackingLogger(t0) {
  13937. this._tracking$_logger = t0;
  13938. this._emittedDebug = this._emittedWarning = false;
  13939. },
  13940. BuiltInModule$($name, functions, mixins, variables, $T) {
  13941. var t1 = A._Uri__Uri(null, $name, null, "sass"),
  13942. t2 = A.BuiltInModule__callableMap(functions, $T),
  13943. t3 = A.BuiltInModule__callableMap(mixins, $T),
  13944. t4 = variables == null ? B.Map_empty5 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value);
  13945. return new A.BuiltInModule(t1, t2, t3, t4, $T._eval$1("BuiltInModule<0>"));
  13946. },
  13947. BuiltInModule__callableMap(callables, $T) {
  13948. var t2, _i, callable,
  13949. t1 = type$.String;
  13950. if (callables == null)
  13951. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  13952. else {
  13953. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  13954. for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
  13955. callable = callables[_i];
  13956. t1.$indexSet(0, J.get$name$x(callable), callable);
  13957. }
  13958. t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  13959. }
  13960. return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  13961. },
  13962. BuiltInModule: function BuiltInModule(t0, t1, t2, t3, t4) {
  13963. var _ = this;
  13964. _.url = t0;
  13965. _.functions = t1;
  13966. _.mixins = t2;
  13967. _.variables = t3;
  13968. _.$ti = t4;
  13969. },
  13970. ForwardedModuleView_ifNecessary(inner, rule, $T) {
  13971. var t1;
  13972. if (rule.prefix == null)
  13973. if (rule.shownMixinsAndFunctions == null)
  13974. if (rule.shownVariables == null) {
  13975. t1 = rule.hiddenMixinsAndFunctions;
  13976. if (t1 == null)
  13977. t1 = null;
  13978. else {
  13979. t1 = t1._base;
  13980. t1 = t1.get$isEmpty(t1);
  13981. }
  13982. if (t1 === true) {
  13983. t1 = rule.hiddenVariables;
  13984. if (t1 == null)
  13985. t1 = null;
  13986. else {
  13987. t1 = t1._base;
  13988. t1 = t1.get$isEmpty(t1);
  13989. }
  13990. t1 = t1 === true;
  13991. } else
  13992. t1 = false;
  13993. } else
  13994. t1 = false;
  13995. else
  13996. t1 = false;
  13997. else
  13998. t1 = false;
  13999. if (t1)
  14000. return inner;
  14001. else
  14002. return A.ForwardedModuleView$(inner, rule, $T);
  14003. },
  14004. ForwardedModuleView$(_inner, _rule, $T) {
  14005. var t1 = _rule.prefix,
  14006. t2 = _rule.shownVariables,
  14007. t3 = _rule.hiddenVariables,
  14008. t4 = _rule.shownMixinsAndFunctions,
  14009. t5 = _rule.hiddenMixinsAndFunctions;
  14010. 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>"));
  14011. },
  14012. ForwardedModuleView__forwardedMap(map, prefix, safelist, blocklist, $V) {
  14013. var t2,
  14014. t1 = prefix == null;
  14015. if (t1)
  14016. if (safelist == null)
  14017. if (blocklist != null) {
  14018. t2 = blocklist._base;
  14019. t2 = t2.get$isEmpty(t2);
  14020. } else
  14021. t2 = true;
  14022. else
  14023. t2 = false;
  14024. else
  14025. t2 = false;
  14026. if (t2)
  14027. return map;
  14028. if (!t1)
  14029. map = new A.PrefixedMapView(map, prefix, $V._eval$1("PrefixedMapView<0>"));
  14030. if (safelist != null)
  14031. 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>"));
  14032. else {
  14033. if (blocklist != null) {
  14034. t1 = blocklist._base;
  14035. t1 = t1.get$isNotEmpty(t1);
  14036. } else
  14037. t1 = false;
  14038. if (t1)
  14039. map = A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
  14040. }
  14041. return map;
  14042. },
  14043. ForwardedModuleView: function ForwardedModuleView(t0, t1, t2, t3, t4, t5, t6) {
  14044. var _ = this;
  14045. _._forwarded_view$_inner = t0;
  14046. _._rule = t1;
  14047. _.variables = t2;
  14048. _.variableNodes = t3;
  14049. _.functions = t4;
  14050. _.mixins = t5;
  14051. _.$ti = t6;
  14052. },
  14053. ShadowedModuleView_ifNecessary(inner, functions, mixins, variables, $T) {
  14054. 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;
  14055. },
  14056. ShadowedModuleView__shadowedMap(map, blocklist, $V) {
  14057. var t1 = A.ShadowedModuleView__needsBlocklist(map, blocklist);
  14058. return !t1 ? map : A.LimitedMapView$blocklist(map, blocklist, type$.String, $V);
  14059. },
  14060. ShadowedModuleView__needsBlocklist(map, blocklist) {
  14061. return map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
  14062. },
  14063. ShadowedModuleView: function ShadowedModuleView(t0, t1, t2, t3, t4, t5) {
  14064. var _ = this;
  14065. _._shadowed_view$_inner = t0;
  14066. _.variables = t1;
  14067. _.variableNodes = t2;
  14068. _.functions = t3;
  14069. _.mixins = t4;
  14070. _.$ti = t5;
  14071. },
  14072. AtRootQueryParser$(contents, logger, url) {
  14073. var t1 = A.SpanScanner$(contents, url);
  14074. return new A.AtRootQueryParser(t1, logger, null);
  14075. },
  14076. AtRootQueryParser: function AtRootQueryParser(t0, t1, t2) {
  14077. this.scanner = t0;
  14078. this.logger = t1;
  14079. this._interpolationMap = t2;
  14080. },
  14081. AtRootQueryParser_parse_closure: function AtRootQueryParser_parse_closure(t0) {
  14082. this.$this = t0;
  14083. },
  14084. _disallowedFunctionNames_closure: function _disallowedFunctionNames_closure() {
  14085. },
  14086. CssParser: function CssParser(t0, t1, t2, t3) {
  14087. var _ = this;
  14088. _._isUseAllowed = true;
  14089. _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  14090. _._globalVariables = t0;
  14091. _.lastSilentComment = null;
  14092. _.scanner = t1;
  14093. _.logger = t2;
  14094. _._interpolationMap = t3;
  14095. },
  14096. KeyframeSelectorParser$(contents, interpolationMap, logger) {
  14097. var t1 = A.SpanScanner$(contents, null);
  14098. return new A.KeyframeSelectorParser(t1, logger, interpolationMap);
  14099. },
  14100. KeyframeSelectorParser: function KeyframeSelectorParser(t0, t1, t2) {
  14101. this.scanner = t0;
  14102. this.logger = t1;
  14103. this._interpolationMap = t2;
  14104. },
  14105. KeyframeSelectorParser_parse_closure: function KeyframeSelectorParser_parse_closure(t0) {
  14106. this.$this = t0;
  14107. },
  14108. MediaQueryParser: function MediaQueryParser(t0, t1, t2) {
  14109. this.scanner = t0;
  14110. this.logger = t1;
  14111. this._interpolationMap = t2;
  14112. },
  14113. MediaQueryParser_parse_closure: function MediaQueryParser_parse_closure(t0) {
  14114. this.$this = t0;
  14115. },
  14116. Parser_isIdentifier(text) {
  14117. var t1, t2, exception, logger = null;
  14118. try {
  14119. t1 = logger;
  14120. t2 = A.SpanScanner$(text, null);
  14121. new A.Parser(t2, t1 == null ? B.StderrLogger_false : t1, null)._parseIdentifier$0();
  14122. return true;
  14123. } catch (exception) {
  14124. if (type$.SassFormatException._is(A.unwrapException(exception)))
  14125. return false;
  14126. else
  14127. throw exception;
  14128. }
  14129. },
  14130. Parser: function Parser(t0, t1, t2) {
  14131. this.scanner = t0;
  14132. this.logger = t1;
  14133. this._interpolationMap = t2;
  14134. },
  14135. Parser__parseIdentifier_closure: function Parser__parseIdentifier_closure(t0) {
  14136. this.$this = t0;
  14137. },
  14138. Parser_escape_closure: function Parser_escape_closure() {
  14139. },
  14140. Parser_scanIdentChar_matches: function Parser_scanIdentChar_matches(t0, t1) {
  14141. this.caseSensitive = t0;
  14142. this.char = t1;
  14143. },
  14144. Parser_spanFrom_closure: function Parser_spanFrom_closure(t0, t1) {
  14145. this.$this = t0;
  14146. this.span = t1;
  14147. },
  14148. SassParser: function SassParser(t0, t1, t2, t3) {
  14149. var _ = this;
  14150. _._currentIndentation = 0;
  14151. _._spaces = _._nextIndentationEnd = _._nextIndentation = null;
  14152. _._isUseAllowed = true;
  14153. _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  14154. _._globalVariables = t0;
  14155. _.lastSilentComment = null;
  14156. _.scanner = t1;
  14157. _.logger = t2;
  14158. _._interpolationMap = t3;
  14159. },
  14160. SassParser_styleRuleSelector_closure: function SassParser_styleRuleSelector_closure() {
  14161. },
  14162. SassParser_children_closure: function SassParser_children_closure(t0, t1, t2) {
  14163. this.$this = t0;
  14164. this.child = t1;
  14165. this.children = t2;
  14166. },
  14167. SassParser__peekIndentation_closure: function SassParser__peekIndentation_closure() {
  14168. },
  14169. SassParser__peekIndentation_closure0: function SassParser__peekIndentation_closure0() {
  14170. },
  14171. ScssParser$(contents, logger, url) {
  14172. var t1 = A.SpanScanner$(contents, url),
  14173. t2 = logger == null ? B.StderrLogger_false : logger;
  14174. return new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration), t1, t2, null);
  14175. },
  14176. ScssParser: function ScssParser(t0, t1, t2, t3) {
  14177. var _ = this;
  14178. _._isUseAllowed = true;
  14179. _._inParentheses = _._inStyleRule = _._stylesheet$_inUnknownAtRule = _._inControlDirective = _._inContentBlock = _._stylesheet$_inMixin = false;
  14180. _._globalVariables = t0;
  14181. _.lastSilentComment = null;
  14182. _.scanner = t1;
  14183. _.logger = t2;
  14184. _._interpolationMap = t3;
  14185. },
  14186. SelectorParser$(contents, allowParent, allowPlaceholder, interpolationMap, logger, url) {
  14187. var t1 = A.SpanScanner$(contents, url);
  14188. return new A.SelectorParser(allowParent, allowPlaceholder, t1, logger == null ? B.StderrLogger_false : logger, interpolationMap);
  14189. },
  14190. SelectorParser: function SelectorParser(t0, t1, t2, t3, t4) {
  14191. var _ = this;
  14192. _._allowParent = t0;
  14193. _._allowPlaceholder = t1;
  14194. _.scanner = t2;
  14195. _.logger = t3;
  14196. _._interpolationMap = t4;
  14197. },
  14198. SelectorParser_parse_closure: function SelectorParser_parse_closure(t0) {
  14199. this.$this = t0;
  14200. },
  14201. SelectorParser_parseCompoundSelector_closure: function SelectorParser_parseCompoundSelector_closure(t0) {
  14202. this.$this = t0;
  14203. },
  14204. StylesheetParser: function StylesheetParser() {
  14205. },
  14206. StylesheetParser_parse_closure: function StylesheetParser_parse_closure(t0) {
  14207. this.$this = t0;
  14208. },
  14209. StylesheetParser_parse__closure: function StylesheetParser_parse__closure(t0) {
  14210. this.$this = t0;
  14211. },
  14212. StylesheetParser_parse__closure0: function StylesheetParser_parse__closure0() {
  14213. },
  14214. StylesheetParser_parseArgumentDeclaration_closure: function StylesheetParser_parseArgumentDeclaration_closure(t0) {
  14215. this.$this = t0;
  14216. },
  14217. StylesheetParser_parseVariableDeclaration_closure: function StylesheetParser_parseVariableDeclaration_closure(t0) {
  14218. this.$this = t0;
  14219. },
  14220. StylesheetParser_parseUseRule_closure: function StylesheetParser_parseUseRule_closure(t0) {
  14221. this.$this = t0;
  14222. },
  14223. StylesheetParser__parseSingleProduction_closure: function StylesheetParser__parseSingleProduction_closure(t0, t1, t2) {
  14224. this.$this = t0;
  14225. this.production = t1;
  14226. this.T = t2;
  14227. },
  14228. StylesheetParser__statement_closure: function StylesheetParser__statement_closure(t0) {
  14229. this.$this = t0;
  14230. },
  14231. StylesheetParser_variableDeclarationWithoutNamespace_closure: function StylesheetParser_variableDeclarationWithoutNamespace_closure(t0, t1) {
  14232. this.$this = t0;
  14233. this.start = t1;
  14234. },
  14235. StylesheetParser_variableDeclarationWithoutNamespace_closure0: function StylesheetParser_variableDeclarationWithoutNamespace_closure0(t0) {
  14236. this.declaration = t0;
  14237. },
  14238. StylesheetParser__declarationOrBuffer_closure: function StylesheetParser__declarationOrBuffer_closure(t0) {
  14239. this.name = t0;
  14240. },
  14241. StylesheetParser__declarationOrBuffer_closure0: function StylesheetParser__declarationOrBuffer_closure0(t0, t1) {
  14242. this._box_0 = t0;
  14243. this.name = t1;
  14244. },
  14245. StylesheetParser__styleRule_closure: function StylesheetParser__styleRule_closure(t0, t1, t2, t3) {
  14246. var _ = this;
  14247. _._box_0 = t0;
  14248. _.$this = t1;
  14249. _.wasInStyleRule = t2;
  14250. _.start = t3;
  14251. },
  14252. StylesheetParser__propertyOrVariableDeclaration_closure: function StylesheetParser__propertyOrVariableDeclaration_closure(t0) {
  14253. this._box_0 = t0;
  14254. },
  14255. StylesheetParser__propertyOrVariableDeclaration_closure0: function StylesheetParser__propertyOrVariableDeclaration_closure0(t0, t1) {
  14256. this._box_0 = t0;
  14257. this.value = t1;
  14258. },
  14259. StylesheetParser__atRootRule_closure: function StylesheetParser__atRootRule_closure(t0) {
  14260. this.query = t0;
  14261. },
  14262. StylesheetParser__atRootRule_closure0: function StylesheetParser__atRootRule_closure0() {
  14263. },
  14264. StylesheetParser__eachRule_closure: function StylesheetParser__eachRule_closure(t0, t1, t2, t3) {
  14265. var _ = this;
  14266. _.$this = t0;
  14267. _.wasInControlDirective = t1;
  14268. _.variables = t2;
  14269. _.list = t3;
  14270. },
  14271. StylesheetParser__functionRule_closure: function StylesheetParser__functionRule_closure(t0, t1, t2) {
  14272. this.name = t0;
  14273. this.$arguments = t1;
  14274. this.precedingComment = t2;
  14275. },
  14276. StylesheetParser__forRule_closure: function StylesheetParser__forRule_closure(t0, t1) {
  14277. this._box_0 = t0;
  14278. this.$this = t1;
  14279. },
  14280. StylesheetParser__forRule_closure0: function StylesheetParser__forRule_closure0(t0, t1, t2, t3, t4, t5) {
  14281. var _ = this;
  14282. _._box_0 = t0;
  14283. _.$this = t1;
  14284. _.wasInControlDirective = t2;
  14285. _.variable = t3;
  14286. _.from = t4;
  14287. _.to = t5;
  14288. },
  14289. StylesheetParser__memberList_closure: function StylesheetParser__memberList_closure(t0, t1, t2) {
  14290. this.$this = t0;
  14291. this.variables = t1;
  14292. this.identifiers = t2;
  14293. },
  14294. StylesheetParser__includeRule_closure: function StylesheetParser__includeRule_closure(t0) {
  14295. this.contentArguments_ = t0;
  14296. },
  14297. StylesheetParser_mediaRule_closure: function StylesheetParser_mediaRule_closure(t0) {
  14298. this.query = t0;
  14299. },
  14300. StylesheetParser__mixinRule_closure: function StylesheetParser__mixinRule_closure(t0, t1, t2, t3) {
  14301. var _ = this;
  14302. _.$this = t0;
  14303. _.name = t1;
  14304. _.$arguments = t2;
  14305. _.precedingComment = t3;
  14306. },
  14307. StylesheetParser_mozDocumentRule_closure: function StylesheetParser_mozDocumentRule_closure(t0, t1, t2, t3) {
  14308. var _ = this;
  14309. _._box_0 = t0;
  14310. _.$this = t1;
  14311. _.name = t2;
  14312. _.value = t3;
  14313. },
  14314. StylesheetParser_supportsRule_closure: function StylesheetParser_supportsRule_closure(t0) {
  14315. this.condition = t0;
  14316. },
  14317. StylesheetParser__whileRule_closure: function StylesheetParser__whileRule_closure(t0, t1, t2) {
  14318. this.$this = t0;
  14319. this.wasInControlDirective = t1;
  14320. this.condition = t2;
  14321. },
  14322. StylesheetParser_unknownAtRule_closure: function StylesheetParser_unknownAtRule_closure(t0, t1) {
  14323. this._box_0 = t0;
  14324. this.name = t1;
  14325. },
  14326. StylesheetParser__expression_resetState: function StylesheetParser__expression_resetState(t0, t1, t2) {
  14327. this._box_0 = t0;
  14328. this.$this = t1;
  14329. this.start = t2;
  14330. },
  14331. StylesheetParser__expression_resolveOneOperation: function StylesheetParser__expression_resolveOneOperation(t0, t1) {
  14332. this._box_0 = t0;
  14333. this.$this = t1;
  14334. },
  14335. StylesheetParser__expression_resolveOperations: function StylesheetParser__expression_resolveOperations(t0, t1) {
  14336. this._box_0 = t0;
  14337. this.resolveOneOperation = t1;
  14338. },
  14339. StylesheetParser__expression_addSingleExpression: function StylesheetParser__expression_addSingleExpression(t0, t1, t2, t3) {
  14340. var _ = this;
  14341. _._box_0 = t0;
  14342. _.$this = t1;
  14343. _.resetState = t2;
  14344. _.resolveOperations = t3;
  14345. },
  14346. StylesheetParser__expression_addOperator: function StylesheetParser__expression_addOperator(t0, t1, t2) {
  14347. this._box_0 = t0;
  14348. this.$this = t1;
  14349. this.resolveOneOperation = t2;
  14350. },
  14351. StylesheetParser__expression_resolveSpaceExpressions: function StylesheetParser__expression_resolveSpaceExpressions(t0, t1, t2) {
  14352. this._box_0 = t0;
  14353. this.$this = t1;
  14354. this.resolveOperations = t2;
  14355. },
  14356. StylesheetParser__expression_closure: function StylesheetParser__expression_closure(t0) {
  14357. this._3_0 = t0;
  14358. },
  14359. StylesheetParser__expression_closure0: function StylesheetParser__expression_closure0(t0) {
  14360. this._3_0 = t0;
  14361. },
  14362. StylesheetParser__expression_closure1: function StylesheetParser__expression_closure1(t0) {
  14363. this._3_0 = t0;
  14364. },
  14365. StylesheetParser_expressionUntilComma_closure: function StylesheetParser_expressionUntilComma_closure(t0) {
  14366. this.$this = t0;
  14367. },
  14368. StylesheetParser__isHexColor_closure: function StylesheetParser__isHexColor_closure(t0) {
  14369. this._0_0 = t0;
  14370. },
  14371. StylesheetParser__isHexColor_closure0: function StylesheetParser__isHexColor_closure0() {
  14372. },
  14373. StylesheetParser__unicodeRange_closure: function StylesheetParser__unicodeRange_closure() {
  14374. },
  14375. StylesheetParser__unicodeRange_closure0: function StylesheetParser__unicodeRange_closure0() {
  14376. },
  14377. StylesheetParser_identifierLike_closure: function StylesheetParser_identifierLike_closure(t0) {
  14378. this._2_0 = t0;
  14379. },
  14380. StylesheetParser_identifierLike_closure0: function StylesheetParser_identifierLike_closure0(t0) {
  14381. this._2_0 = t0;
  14382. },
  14383. StylesheetParser_namespacedExpression_closure: function StylesheetParser_namespacedExpression_closure(t0, t1) {
  14384. this.$this = t0;
  14385. this.start = t1;
  14386. },
  14387. StylesheetParser_trySpecialFunction_closure: function StylesheetParser_trySpecialFunction_closure() {
  14388. },
  14389. StylesheetParser__tryUrlContents_closure: function StylesheetParser__tryUrlContents_closure(t0) {
  14390. this._0_0 = t0;
  14391. },
  14392. StylesheetParser__interpolatedDeclarationValue_closure: function StylesheetParser__interpolatedDeclarationValue_closure(t0) {
  14393. this._1_0 = t0;
  14394. },
  14395. StylesheetParser__interpolatedDeclarationValue_closure0: function StylesheetParser__interpolatedDeclarationValue_closure0(t0) {
  14396. this._1_0 = t0;
  14397. },
  14398. StylesheetParser__interpolatedDeclarationValue_closure1: function StylesheetParser__interpolatedDeclarationValue_closure1(t0) {
  14399. this._1_0 = t0;
  14400. },
  14401. StylesheetParser__interpolatedDeclarationValue_closure2: function StylesheetParser__interpolatedDeclarationValue_closure2(t0) {
  14402. this._1_0 = t0;
  14403. },
  14404. StylesheetParser__interpolatedDeclarationValue_closure3: function StylesheetParser__interpolatedDeclarationValue_closure3(t0) {
  14405. this._1_0 = t0;
  14406. },
  14407. StylesheetParser__expressionUntilComparison_closure: function StylesheetParser__expressionUntilComparison_closure(t0) {
  14408. this.$this = t0;
  14409. },
  14410. StylesheetParser__supportsConditionInParens_closure: function StylesheetParser__supportsConditionInParens_closure(t0) {
  14411. this._0_0 = t0;
  14412. },
  14413. StylesheetParser__publicIdentifier_closure: function StylesheetParser__publicIdentifier_closure(t0, t1) {
  14414. this.$this = t0;
  14415. this.start = t1;
  14416. },
  14417. StylesheetNode$_(_stylesheet, importer, canonicalUrl, allUpstream) {
  14418. var t1 = new A.StylesheetNode(_stylesheet, importer, canonicalUrl, allUpstream._1, allUpstream._0, A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode));
  14419. t1.StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream);
  14420. return t1;
  14421. },
  14422. StylesheetGraph: function StylesheetGraph(t0, t1, t2) {
  14423. this._nodes = t0;
  14424. this.importCache = t1;
  14425. this._transitiveModificationTimes = t2;
  14426. },
  14427. StylesheetGraph_modifiedSince_transitiveModificationTime: function StylesheetGraph_modifiedSince_transitiveModificationTime(t0) {
  14428. this.$this = t0;
  14429. },
  14430. StylesheetGraph_modifiedSince_transitiveModificationTime_closure: function StylesheetGraph_modifiedSince_transitiveModificationTime_closure(t0, t1) {
  14431. this.node = t0;
  14432. this.transitiveModificationTime = t1;
  14433. },
  14434. StylesheetGraph__add_closure: function StylesheetGraph__add_closure(t0, t1, t2, t3) {
  14435. var _ = this;
  14436. _.$this = t0;
  14437. _.url = t1;
  14438. _.baseImporter = t2;
  14439. _.baseUrl = t3;
  14440. },
  14441. StylesheetGraph_addCanonical_closure: function StylesheetGraph_addCanonical_closure(t0, t1, t2, t3) {
  14442. var _ = this;
  14443. _.$this = t0;
  14444. _.importer = t1;
  14445. _.canonicalUrl = t2;
  14446. _.originalUrl = t3;
  14447. },
  14448. StylesheetGraph_reload_closure: function StylesheetGraph_reload_closure(t0, t1, t2) {
  14449. this.$this = t0;
  14450. this.node = t1;
  14451. this.canonicalUrl = t2;
  14452. },
  14453. StylesheetGraph__nodeFor_closure: function StylesheetGraph__nodeFor_closure(t0, t1, t2, t3, t4) {
  14454. var _ = this;
  14455. _.$this = t0;
  14456. _.url = t1;
  14457. _.baseImporter = t2;
  14458. _.baseUrl = t3;
  14459. _.forImport = t4;
  14460. },
  14461. StylesheetGraph__nodeFor_closure0: function StylesheetGraph__nodeFor_closure0(t0, t1) {
  14462. this._box_0 = t0;
  14463. this.$this = t1;
  14464. },
  14465. StylesheetNode: function StylesheetNode(t0, t1, t2, t3, t4, t5) {
  14466. var _ = this;
  14467. _._stylesheet = t0;
  14468. _.importer = t1;
  14469. _.canonicalUrl = t2;
  14470. _._upstream = t3;
  14471. _._upstreamImports = t4;
  14472. _._downstream = t5;
  14473. },
  14474. Syntax_forPath(path) {
  14475. var t1,
  14476. _0_0 = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  14477. $label0$0: {
  14478. if (".sass" === _0_0) {
  14479. t1 = B.Syntax_Sass_sass;
  14480. break $label0$0;
  14481. }
  14482. if (".css" === _0_0) {
  14483. t1 = B.Syntax_CSS_css;
  14484. break $label0$0;
  14485. }
  14486. t1 = B.Syntax_SCSS_scss;
  14487. break $label0$0;
  14488. }
  14489. return t1;
  14490. },
  14491. Syntax: function Syntax(t0, t1) {
  14492. this._syntax$_name = t0;
  14493. this._name = t1;
  14494. },
  14495. Box: function Box(t0, t1) {
  14496. this._box$_inner = t0;
  14497. this.$ti = t1;
  14498. },
  14499. ModifiableBox: function ModifiableBox(t0, t1) {
  14500. this.value = t0;
  14501. this.$ti = t1;
  14502. },
  14503. LazyFileSpan: function LazyFileSpan(t0) {
  14504. this._builder = t0;
  14505. this._lazy_file_span$_span = null;
  14506. },
  14507. LimitedMapView$blocklist(_map, blocklist, $K, $V) {
  14508. var t2, key,
  14509. t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
  14510. for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
  14511. key = t2.get$current(t2);
  14512. if (!blocklist.contains$1(0, key))
  14513. t1.add$1(0, key);
  14514. }
  14515. return new A.LimitedMapView(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView<1,2>"));
  14516. },
  14517. LimitedMapView: function LimitedMapView(t0, t1, t2) {
  14518. this._limited_map_view$_map = t0;
  14519. this._limited_map_view$_keys = t1;
  14520. this.$ti = t2;
  14521. },
  14522. MapExtensions_get_pairs(_this, $K, $V) {
  14523. return _this.get$entries(_this).map$1$1(0, new A.MapExtensions_get_pairs_closure($K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("+(1,2)"));
  14524. },
  14525. MapExtensions_get_pairs_closure: function MapExtensions_get_pairs_closure(t0, t1) {
  14526. this.K = t0;
  14527. this.V = t1;
  14528. },
  14529. MergedMapView$(maps, $K, $V) {
  14530. var t1 = $K._eval$1("@<0>")._bind$1($V);
  14531. t1 = new A.MergedMapView(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView<1,2>"));
  14532. t1.MergedMapView$1(maps, $K, $V);
  14533. return t1;
  14534. },
  14535. MergedMapView: function MergedMapView(t0, t1) {
  14536. this._mapsByKey = t0;
  14537. this.$ti = t1;
  14538. },
  14539. MultiDirWatcher: function MultiDirWatcher(t0, t1, t2) {
  14540. this._watchers = t0;
  14541. this._group = t1;
  14542. this._poll = t2;
  14543. },
  14544. MultiDirWatcher_watch_closure: function MultiDirWatcher_watch_closure(t0) {
  14545. this._0_0 = t0;
  14546. },
  14547. MultiSpan: function MultiSpan(t0, t1, t2) {
  14548. this._multi_span$_primary = t0;
  14549. this.primaryLabel = t1;
  14550. this.secondarySpans = t2;
  14551. },
  14552. NoSourceMapBuffer: function NoSourceMapBuffer(t0) {
  14553. this._no_source_map_buffer$_buffer = t0;
  14554. },
  14555. PrefixedMapView: function PrefixedMapView(t0, t1, t2) {
  14556. this._prefixed_map_view$_map = t0;
  14557. this._prefix = t1;
  14558. this.$ti = t2;
  14559. },
  14560. _PrefixedKeys: function _PrefixedKeys(t0) {
  14561. this._view = t0;
  14562. },
  14563. _PrefixedKeys_iterator_closure: function _PrefixedKeys_iterator_closure(t0) {
  14564. this.$this = t0;
  14565. },
  14566. PublicMemberMapView: function PublicMemberMapView(t0, t1) {
  14567. this._public_member_map_view$_inner = t0;
  14568. this.$ti = t1;
  14569. },
  14570. SourceMapBuffer: function SourceMapBuffer(t0, t1) {
  14571. var _ = this;
  14572. _._source_map_buffer$_buffer = t0;
  14573. _._entries = t1;
  14574. _._column = _._line = 0;
  14575. _._inSpan = false;
  14576. },
  14577. SourceMapBuffer_buildSourceMap_closure: function SourceMapBuffer_buildSourceMap_closure(t0, t1) {
  14578. this._box_0 = t0;
  14579. this.prefixLength = t1;
  14580. },
  14581. UnprefixedMapView: function UnprefixedMapView(t0, t1, t2) {
  14582. this._unprefixed_map_view$_map = t0;
  14583. this._unprefixed_map_view$_prefix = t1;
  14584. this.$ti = t2;
  14585. },
  14586. _UnprefixedKeys: function _UnprefixedKeys(t0) {
  14587. this._unprefixed_map_view$_view = t0;
  14588. },
  14589. _UnprefixedKeys_iterator_closure: function _UnprefixedKeys_iterator_closure(t0) {
  14590. this.$this = t0;
  14591. },
  14592. _UnprefixedKeys_iterator_closure0: function _UnprefixedKeys_iterator_closure0(t0) {
  14593. this.$this = t0;
  14594. },
  14595. toSentence(iter, conjunction) {
  14596. if (iter.get$length(iter) === 1)
  14597. return J.toString$0$(iter.get$first(iter));
  14598. return A.IterableExtension_get_exceptLast(iter).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter.get$last(iter)));
  14599. },
  14600. indent(string, indentation) {
  14601. 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");
  14602. },
  14603. pluralize($name, number, plural) {
  14604. if (number === 1)
  14605. return $name;
  14606. if (plural != null)
  14607. return plural;
  14608. return $name + "s";
  14609. },
  14610. trimAscii(string, excludeEscape) {
  14611. var t1,
  14612. start = A._firstNonWhitespace(string);
  14613. if (start == null)
  14614. t1 = "";
  14615. else {
  14616. t1 = A._lastNonWhitespace(string, true);
  14617. t1.toString;
  14618. t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
  14619. }
  14620. return t1;
  14621. },
  14622. trimAsciiRight(string, excludeEscape) {
  14623. var end = A._lastNonWhitespace(string, excludeEscape);
  14624. return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
  14625. },
  14626. _firstNonWhitespace(string) {
  14627. var t1, i, t2;
  14628. for (t1 = string.length, i = 0; i < t1; ++i) {
  14629. t2 = string.charCodeAt(i);
  14630. if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
  14631. return i;
  14632. }
  14633. return null;
  14634. },
  14635. _lastNonWhitespace(string, excludeEscape) {
  14636. var i, i0, codeUnit;
  14637. for (i = string.length - 1, i0 = i; i0 >= 0; --i0) {
  14638. codeUnit = string.charCodeAt(i0);
  14639. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  14640. if (excludeEscape && i0 !== 0 && i0 !== i && codeUnit === 92)
  14641. return i0 + 1;
  14642. else
  14643. return i0;
  14644. }
  14645. return null;
  14646. },
  14647. isPublic(member) {
  14648. var start = member.charCodeAt(0);
  14649. return start !== 45 && start !== 95;
  14650. },
  14651. flattenVertically(iterable, $T) {
  14652. var result,
  14653. t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
  14654. queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure($T), t1), true, t1._eval$1("ListIterable.E"));
  14655. if (queues.length === 1)
  14656. return B.JSArray_methods.get$first(queues);
  14657. result = A._setArrayType([], $T._eval$1("JSArray<0>"));
  14658. for (; queues.length !== 0;) {
  14659. if (!!queues.fixed$length)
  14660. A.throwExpression(A.UnsupportedError$("removeWhere"));
  14661. B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure0(result, $T), true);
  14662. }
  14663. return result;
  14664. },
  14665. codepointIndexToCodeUnitIndex(string, codepointIndex) {
  14666. var codeUnitIndex, i, codeUnitIndex0;
  14667. for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
  14668. codeUnitIndex0 = codeUnitIndex + 1;
  14669. codeUnitIndex = string.charCodeAt(codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
  14670. }
  14671. return codeUnitIndex;
  14672. },
  14673. codeUnitIndexToCodepointIndex(string, codeUnitIndex) {
  14674. var codepointIndex, i;
  14675. for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (string.charCodeAt(i) >>> 10 === 54 ? i + 1 : i) + 1)
  14676. ++codepointIndex;
  14677. return codepointIndex;
  14678. },
  14679. frameForSpan(span, member, url) {
  14680. var t2, t3,
  14681. t1 = url == null ? span.get$sourceUrl(span) : url;
  14682. if (t1 == null)
  14683. t1 = $.$get$_noSourceUrl();
  14684. t2 = span.get$start(span);
  14685. t2 = t2.file.getLine$1(t2.offset);
  14686. t3 = span.get$start(span);
  14687. return new A.Frame(t1, t2 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
  14688. },
  14689. declarationName(span) {
  14690. var text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
  14691. return A.trimAsciiRight(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
  14692. },
  14693. unvendor($name) {
  14694. var i,
  14695. t1 = $name.length;
  14696. if (t1 < 2)
  14697. return $name;
  14698. if ($name.charCodeAt(0) !== 45)
  14699. return $name;
  14700. if ($name.charCodeAt(1) === 45)
  14701. return $name;
  14702. for (i = 2; i < t1; ++i)
  14703. if ($name.charCodeAt(i) === 45)
  14704. return B.JSString_methods.substring$1($name, i + 1);
  14705. return $name;
  14706. },
  14707. equalsIgnoreCase(string1, string2) {
  14708. var t1, i;
  14709. if (string1 === string2)
  14710. return true;
  14711. if (string1 == null || false)
  14712. return false;
  14713. t1 = string1.length;
  14714. if (t1 !== string2.length)
  14715. return false;
  14716. for (i = 0; i < t1; ++i)
  14717. if (!A.characterEqualsIgnoreCase(string1.charCodeAt(i), string2.charCodeAt(i)))
  14718. return false;
  14719. return true;
  14720. },
  14721. startsWithIgnoreCase(string, prefix) {
  14722. var i,
  14723. t1 = prefix.length;
  14724. if (string.length < t1)
  14725. return false;
  14726. for (i = 0; i < t1; ++i)
  14727. if (!A.characterEqualsIgnoreCase(string.charCodeAt(i), prefix.charCodeAt(i)))
  14728. return false;
  14729. return true;
  14730. },
  14731. mapInPlace(list, $function) {
  14732. var i;
  14733. for (i = 0; i < list.length; ++i)
  14734. list[i] = $function.call$1(list[i]);
  14735. },
  14736. longestCommonSubsequence(list1, list2, select, $T) {
  14737. var t1, _i, selections, i, i0, j, selection, j0,
  14738. _length = list1.get$length(list1) + 1,
  14739. lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
  14740. for (t1 = type$.int, _i = 0; _i < _length; ++_i)
  14741. lengths[_i] = A.List_List$filled(((list2._queue_list$_tail - list2._queue_list$_head & J.get$length$asx(list2._queue_list$_table) - 1) >>> 0) + 1, 0, false, t1);
  14742. _length = list1.get$length(list1);
  14743. selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
  14744. for (t1 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
  14745. selections[_i] = A.List_List$filled((list2._queue_list$_tail - list2._queue_list$_head & J.get$length$asx(list2._queue_list$_table) - 1) >>> 0, null, false, t1);
  14746. for (i = 0; i < (list1._queue_list$_tail - list1._queue_list$_head & J.get$length$asx(list1._queue_list$_table) - 1) >>> 0; i = i0)
  14747. for (i0 = i + 1, j = 0; j < (list2._queue_list$_tail - list2._queue_list$_head & J.get$length$asx(list2._queue_list$_table) - 1) >>> 0; j = j0) {
  14748. selection = select.call$2(list1.$index(0, i), list2.$index(0, j));
  14749. selections[i][j] = selection;
  14750. t1 = lengths[i0];
  14751. j0 = j + 1;
  14752. t1[j0] = selection == null ? Math.max(t1[j], lengths[i][j0]) : lengths[i][j] + 1;
  14753. }
  14754. return new A.longestCommonSubsequence_backtrack(selections, lengths, $T).call$2(list1.get$length(list1) - 1, list2.get$length(list2) - 1);
  14755. },
  14756. removeFirstWhere(list, test, orElse) {
  14757. var i;
  14758. for (i = 0; i < list.length; ++i) {
  14759. if (!test.call$1(list[i]))
  14760. continue;
  14761. B.JSArray_methods.removeAt$1(list, i);
  14762. return;
  14763. }
  14764. orElse.call$0();
  14765. },
  14766. mapAddAll2(destination, source, K1, K2, $V) {
  14767. source.forEach$1(0, new A.mapAddAll2_closure(destination, K1, K2, $V));
  14768. },
  14769. setAll(map, keys, value) {
  14770. var t1;
  14771. for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
  14772. map.$indexSet(0, t1.get$current(t1), value);
  14773. },
  14774. rotateSlice(list, start, end) {
  14775. var i, next,
  14776. element = list.$index(0, end - 1);
  14777. for (i = start; i < end; ++i, element = next) {
  14778. next = list.$index(0, i);
  14779. list.$indexSet(0, i, element);
  14780. }
  14781. },
  14782. mapAsync(iterable, callback, $E, $F) {
  14783. return A.mapAsync$body(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
  14784. },
  14785. mapAsync$body(iterable, callback, $E, $F, $async$type) {
  14786. var $async$goto = 0,
  14787. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  14788. $async$returnValue, t2, _i, t1, $async$temp1;
  14789. var $async$mapAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  14790. if ($async$errorCode === 1)
  14791. return A._asyncRethrow($async$result, $async$completer);
  14792. while (true)
  14793. switch ($async$goto) {
  14794. case 0:
  14795. // Function start
  14796. t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
  14797. t2 = iterable.length, _i = 0;
  14798. case 3:
  14799. // for condition
  14800. if (!(_i < t2)) {
  14801. // goto after for
  14802. $async$goto = 5;
  14803. break;
  14804. }
  14805. $async$temp1 = t1;
  14806. $async$goto = 6;
  14807. return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync);
  14808. case 6:
  14809. // returning from await.
  14810. $async$temp1.push($async$result);
  14811. case 4:
  14812. // for update
  14813. ++_i;
  14814. // goto for condition
  14815. $async$goto = 3;
  14816. break;
  14817. case 5:
  14818. // after for
  14819. $async$returnValue = t1;
  14820. // goto return
  14821. $async$goto = 1;
  14822. break;
  14823. case 1:
  14824. // return
  14825. return A._asyncReturn($async$returnValue, $async$completer);
  14826. }
  14827. });
  14828. return A._asyncStartSync($async$mapAsync, $async$completer);
  14829. },
  14830. putIfAbsentAsync(map, key, ifAbsent, $K, $V) {
  14831. return A.putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $V);
  14832. },
  14833. putIfAbsentAsync$body(map, key, ifAbsent, $K, $V, $async$type) {
  14834. var $async$goto = 0,
  14835. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  14836. $async$returnValue, t1, value;
  14837. var $async$putIfAbsentAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  14838. if ($async$errorCode === 1)
  14839. return A._asyncRethrow($async$result, $async$completer);
  14840. while (true)
  14841. switch ($async$goto) {
  14842. case 0:
  14843. // Function start
  14844. if (map.containsKey$1(key)) {
  14845. t1 = map.$index(0, key);
  14846. $async$returnValue = t1 == null ? $V._as(t1) : t1;
  14847. // goto return
  14848. $async$goto = 1;
  14849. break;
  14850. }
  14851. $async$goto = 3;
  14852. return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync);
  14853. case 3:
  14854. // returning from await.
  14855. value = $async$result;
  14856. map.$indexSet(0, key, value);
  14857. $async$returnValue = value;
  14858. // goto return
  14859. $async$goto = 1;
  14860. break;
  14861. case 1:
  14862. // return
  14863. return A._asyncReturn($async$returnValue, $async$completer);
  14864. }
  14865. });
  14866. return A._asyncStartSync($async$putIfAbsentAsync, $async$completer);
  14867. },
  14868. copyMapOfMap(map, K1, K2, $V) {
  14869. var t3, key, child,
  14870. t1 = K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"),
  14871. t2 = A.LinkedHashMap_LinkedHashMap$_empty(K1, t1);
  14872. for (t1 = A.MapExtensions_get_pairs(map, K1, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  14873. t3 = t1.get$current(t1);
  14874. key = t3._0;
  14875. child = t3._1;
  14876. t3 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
  14877. t3.addAll$1(0, child);
  14878. t2.$indexSet(0, key, t3);
  14879. }
  14880. return t2;
  14881. },
  14882. copyMapOfList(map, $K, $E) {
  14883. var t3,
  14884. t1 = $E._eval$1("List<0>"),
  14885. t2 = A.LinkedHashMap_LinkedHashMap$_empty($K, t1);
  14886. for (t1 = A.MapExtensions_get_pairs(map, $K, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  14887. t3 = t1.get$current(t1);
  14888. t2.$indexSet(0, t3._0, J.toList$0$ax(t3._1));
  14889. }
  14890. return t2;
  14891. },
  14892. consumeEscapedCharacter(scanner) {
  14893. var _1_0, value, i, next, t1;
  14894. scanner.expectChar$1(92);
  14895. _1_0 = scanner.peekChar$0();
  14896. if (_1_0 == null)
  14897. return 65533;
  14898. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  14899. scanner.error$1(0, "Expected escape sequence.");
  14900. if (A.CharacterExtension_get_isHex(_1_0)) {
  14901. for (value = 0, i = 0; i < 6; ++i) {
  14902. next = scanner.peekChar$0();
  14903. if (next != null) {
  14904. if (!(next >= 48 && next <= 57))
  14905. if (!(next >= 97 && next <= 102))
  14906. t1 = next >= 65 && next <= 70;
  14907. else
  14908. t1 = true;
  14909. else
  14910. t1 = true;
  14911. t1 = !t1;
  14912. } else
  14913. t1 = true;
  14914. if (t1)
  14915. break;
  14916. value = (value << 4 >>> 0) + A.asHex(scanner.readChar$0());
  14917. }
  14918. t1 = scanner.peekChar$0();
  14919. if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
  14920. scanner.readChar$0();
  14921. $label0$1: {
  14922. if (0 !== value)
  14923. t1 = value >= 55296 && value <= 57343 || value >= 1114111;
  14924. else
  14925. t1 = true;
  14926. if (t1) {
  14927. t1 = 65533;
  14928. break $label0$1;
  14929. }
  14930. t1 = value;
  14931. break $label0$1;
  14932. }
  14933. return t1;
  14934. }
  14935. return scanner.readChar$0();
  14936. },
  14937. throwWithTrace(error, originalError, trace) {
  14938. var t1 = A.getTrace(originalError);
  14939. A.attachTrace(error, t1 == null ? trace : t1);
  14940. throw A.wrapException(error);
  14941. },
  14942. attachTrace(error, trace) {
  14943. var t1;
  14944. if (trace.toString$0(0).length === 0)
  14945. return;
  14946. t1 = $.$get$_traces();
  14947. A.Expando__checkType(error);
  14948. if (t1._jsWeakMap.get(error) == null)
  14949. t1.$indexSet(0, error, trace);
  14950. },
  14951. getTrace(error) {
  14952. var t1;
  14953. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  14954. t1 = null;
  14955. else {
  14956. t1 = $.$get$_traces();
  14957. A.Expando__checkType(error);
  14958. t1 = t1._jsWeakMap.get(error);
  14959. }
  14960. return t1;
  14961. },
  14962. indent_closure: function indent_closure(t0) {
  14963. this.indentation = t0;
  14964. },
  14965. flattenVertically_closure: function flattenVertically_closure(t0) {
  14966. this.T = t0;
  14967. },
  14968. flattenVertically_closure0: function flattenVertically_closure0(t0, t1) {
  14969. this.result = t0;
  14970. this.T = t1;
  14971. },
  14972. longestCommonSubsequence_backtrack: function longestCommonSubsequence_backtrack(t0, t1, t2) {
  14973. this.selections = t0;
  14974. this.lengths = t1;
  14975. this.T = t2;
  14976. },
  14977. mapAddAll2_closure: function mapAddAll2_closure(t0, t1, t2, t3) {
  14978. var _ = this;
  14979. _.destination = t0;
  14980. _.K1 = t1;
  14981. _.K2 = t2;
  14982. _.V = t3;
  14983. },
  14984. SassApiValue_assertSelector(_this, allowParent, $name) {
  14985. var error, stackTrace, t1, exception,
  14986. string = _this._selectorString$1($name);
  14987. try {
  14988. t1 = A.SelectorList_SelectorList$parse(string, allowParent, true, null, null);
  14989. return t1;
  14990. } catch (exception) {
  14991. t1 = A.unwrapException(exception);
  14992. if (type$.SassFormatException._is(t1)) {
  14993. error = t1;
  14994. stackTrace = A.getTraceFromException(exception);
  14995. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  14996. A.throwWithTrace(new A.SassScriptException($name == null ? t1 : "$" + $name + ": " + t1), error, stackTrace);
  14997. } else
  14998. throw exception;
  14999. }
  15000. },
  15001. SassApiValue_assertCompoundSelector(_this, $name) {
  15002. var error, stackTrace, t1, exception,
  15003. allowParent = false,
  15004. string = _this._selectorString$1($name);
  15005. try {
  15006. t1 = A.SelectorParser$(string, allowParent, true, null, null, null).parseCompoundSelector$0();
  15007. return t1;
  15008. } catch (exception) {
  15009. t1 = A.unwrapException(exception);
  15010. if (type$.SassFormatException._is(t1)) {
  15011. error = t1;
  15012. stackTrace = A.getTraceFromException(exception);
  15013. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  15014. A.throwWithTrace(new A.SassScriptException("$" + $name + ": " + t1), error, stackTrace);
  15015. } else
  15016. throw exception;
  15017. }
  15018. },
  15019. Value: function Value() {
  15020. },
  15021. SassArgumentList$(contents, keywords, separator) {
  15022. var t1 = type$.Value;
  15023. t1 = new A.SassArgumentList(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
  15024. t1.SassList$3$brackets(contents, separator, false);
  15025. return t1;
  15026. },
  15027. SassArgumentList: function SassArgumentList(t0, t1, t2, t3) {
  15028. var _ = this;
  15029. _._keywords = t0;
  15030. _._wereKeywordsAccessed = false;
  15031. _._list$_contents = t1;
  15032. _._separator = t2;
  15033. _._hasBrackets = t3;
  15034. },
  15035. SassBoolean: function SassBoolean(t0) {
  15036. this.value = t0;
  15037. },
  15038. SassCalculation_calc(argument) {
  15039. var value, t1,
  15040. _0_0 = A.SassCalculation__simplify(argument);
  15041. $label0$0: {
  15042. if (_0_0 instanceof A.SassNumber) {
  15043. value = _0_0;
  15044. t1 = true;
  15045. } else {
  15046. value = null;
  15047. t1 = false;
  15048. }
  15049. if (t1) {
  15050. t1 = value;
  15051. break $label0$0;
  15052. }
  15053. if (_0_0 instanceof A.SassCalculation) {
  15054. value = _0_0;
  15055. t1 = true;
  15056. } else {
  15057. value = null;
  15058. t1 = false;
  15059. }
  15060. if (t1) {
  15061. t1 = value;
  15062. break $label0$0;
  15063. }
  15064. t1 = new A.SassCalculation("calc", A.List_List$unmodifiable([_0_0], type$.Object));
  15065. break $label0$0;
  15066. }
  15067. return t1;
  15068. },
  15069. SassCalculation_min($arguments) {
  15070. var minimum, _i, arg, t2,
  15071. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  15072. t1 = args.length;
  15073. if (t1 === 0)
  15074. throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
  15075. for (minimum = null, _i = 0; _i < t1; ++_i) {
  15076. arg = args[_i];
  15077. if (arg instanceof A.SassNumber)
  15078. t2 = minimum != null && !minimum.isComparableTo$1(arg);
  15079. else
  15080. t2 = true;
  15081. if (t2) {
  15082. minimum = null;
  15083. break;
  15084. } else if (minimum == null || minimum.greaterThan$1(arg).value)
  15085. minimum = arg;
  15086. }
  15087. if (minimum != null)
  15088. return minimum;
  15089. A.SassCalculation__verifyCompatibleNumbers(args);
  15090. return new A.SassCalculation("min", args);
  15091. },
  15092. SassCalculation_max($arguments) {
  15093. var maximum, _i, arg, t2,
  15094. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  15095. t1 = args.length;
  15096. if (t1 === 0)
  15097. throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
  15098. for (maximum = null, _i = 0; _i < t1; ++_i) {
  15099. arg = args[_i];
  15100. if (arg instanceof A.SassNumber)
  15101. t2 = maximum != null && !maximum.isComparableTo$1(arg);
  15102. else
  15103. t2 = true;
  15104. if (t2) {
  15105. maximum = null;
  15106. break;
  15107. } else if (maximum == null || maximum.lessThan$1(arg).value)
  15108. maximum = arg;
  15109. }
  15110. if (maximum != null)
  15111. return maximum;
  15112. A.SassCalculation__verifyCompatibleNumbers(args);
  15113. return new A.SassCalculation("max", args);
  15114. },
  15115. SassCalculation_hypot($arguments) {
  15116. var first, subtotal, i, number, value, t2, t3,
  15117. args = A.List_List$unmodifiable(new A.MappedListIterable($arguments, A.calculation_SassCalculation__simplify$closure(), A._arrayInstanceType($arguments)._eval$1("MappedListIterable<1,@>")), type$.Object),
  15118. t1 = args.length;
  15119. if (t1 === 0)
  15120. throw A.wrapException(A.ArgumentError$("hypot() must have at least one argument.", null));
  15121. A.SassCalculation__verifyCompatibleNumbers(args);
  15122. first = B.JSArray_methods.get$first(args);
  15123. if (!(first instanceof A.SassNumber) || first.hasUnit$1("%"))
  15124. return new A.SassCalculation("hypot", args);
  15125. for (subtotal = 0, i = 0; i < t1;) {
  15126. number = args[i];
  15127. if (!(number instanceof A.SassNumber) || !number.hasCompatibleUnits$1(first))
  15128. return new A.SassCalculation("hypot", args);
  15129. ++i;
  15130. value = number.convertValueToMatch$3(first, "numbers[" + i + "]", "numbers[1]");
  15131. subtotal += value * value;
  15132. }
  15133. t1 = Math.sqrt(subtotal);
  15134. t2 = J.getInterceptor$x(first);
  15135. t3 = t2.get$numeratorUnits(first);
  15136. return A.SassNumber_SassNumber$withUnits(t1, t2.get$denominatorUnits(first), t3);
  15137. },
  15138. SassCalculation_abs(argument) {
  15139. var t1, t2;
  15140. argument = A.SassCalculation__simplify(argument);
  15141. if (!(argument instanceof A.SassNumber))
  15142. return new A.SassCalculation("abs", A._setArrayType([argument], type$.JSArray_Object));
  15143. if (argument.hasUnit$1("%")) {
  15144. t1 = argument.toString$0(0);
  15145. t2 = argument.toString$0(0);
  15146. A.EvaluationContext_current().warn$2(0, string$.Passinp + t1 + ")\nTo emit a CSS abs() now: abs(#{" + t2 + string$.x7d__Mor, B.Deprecation_043);
  15147. }
  15148. return A.SassNumber_SassNumber(Math.abs(argument._number$_value), null).coerceToMatch$1(argument);
  15149. },
  15150. SassCalculation_exp(argument) {
  15151. argument = A.SassCalculation__simplify(argument);
  15152. if (!(argument instanceof A.SassNumber))
  15153. return new A.SassCalculation("exp", A._setArrayType([argument], type$.JSArray_Object));
  15154. argument.assertNoUnits$0();
  15155. return A.pow0(A.SassNumber_SassNumber(2.718281828459045, null), argument);
  15156. },
  15157. SassCalculation_sign(argument) {
  15158. var _0_2, t1, t2, arg;
  15159. argument = A.SassCalculation__simplify(argument);
  15160. _0_2 = A._InitializedCell$(new A.SassCalculation_sign_closure(argument));
  15161. $label0$0: {
  15162. t1 = argument instanceof A.SassNumber;
  15163. if (t1)
  15164. t2 = isNaN(_0_2._readFinal$0()) || 0 === _0_2._readFinal$0();
  15165. else
  15166. t2 = false;
  15167. if (t2) {
  15168. t1 = argument;
  15169. break $label0$0;
  15170. }
  15171. if (t1) {
  15172. t1 = !argument.hasUnit$1("%");
  15173. arg = argument;
  15174. } else {
  15175. arg = null;
  15176. t1 = false;
  15177. }
  15178. if (t1) {
  15179. t1 = A.SassNumber_SassNumber(J.get$sign$in(arg._number$_value), null).coerceToMatch$1(argument);
  15180. break $label0$0;
  15181. }
  15182. t1 = new A.SassCalculation("sign", A._setArrayType([argument], type$.JSArray_Object));
  15183. break $label0$0;
  15184. }
  15185. return t1;
  15186. },
  15187. SassCalculation_clamp(min, value, max) {
  15188. var t1, args;
  15189. if (value == null && max != null)
  15190. throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
  15191. min = A.SassCalculation__simplify(min);
  15192. value = A.NullableExtension_andThen(value, A.calculation_SassCalculation__simplify$closure());
  15193. max = A.NullableExtension_andThen(max, A.calculation_SassCalculation__simplify$closure());
  15194. if (min instanceof A.SassNumber && value instanceof A.SassNumber && max instanceof A.SassNumber && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
  15195. if (value.lessThanOrEquals$1(min).value)
  15196. return min;
  15197. if (value.greaterThanOrEquals$1(max).value)
  15198. return max;
  15199. return value;
  15200. }
  15201. t1 = [min];
  15202. if (value != null)
  15203. t1.push(value);
  15204. if (max != null)
  15205. t1.push(max);
  15206. args = A.List_List$unmodifiable(t1, type$.Object);
  15207. A.SassCalculation__verifyCompatibleNumbers(args);
  15208. A.SassCalculation__verifyLength(args, 3);
  15209. return new A.SassCalculation("clamp", args);
  15210. },
  15211. SassCalculation_pow(base, exponent) {
  15212. var t1 = A._setArrayType([base], type$.JSArray_Object);
  15213. if (exponent != null)
  15214. t1.push(exponent);
  15215. A.SassCalculation__verifyLength(t1, 2);
  15216. base = A.SassCalculation__simplify(base);
  15217. exponent = A.NullableExtension_andThen(exponent, A.calculation_SassCalculation__simplify$closure());
  15218. if (!(base instanceof A.SassNumber) || !(exponent instanceof A.SassNumber))
  15219. return new A.SassCalculation("pow", t1);
  15220. base.assertNoUnits$0();
  15221. exponent.assertNoUnits$0();
  15222. return A.pow0(base, exponent);
  15223. },
  15224. SassCalculation_log(number, base) {
  15225. var t1, t2;
  15226. number = A.SassCalculation__simplify(number);
  15227. base = A.NullableExtension_andThen(base, A.calculation_SassCalculation__simplify$closure());
  15228. t1 = A._setArrayType([number], type$.JSArray_Object);
  15229. t2 = base != null;
  15230. if (t2)
  15231. t1.push(base);
  15232. if (number instanceof A.SassNumber)
  15233. t2 = t2 && !(base instanceof A.SassNumber);
  15234. else
  15235. t2 = true;
  15236. if (t2)
  15237. return new A.SassCalculation("log", t1);
  15238. number.assertNoUnits$0();
  15239. if (base instanceof A.SassNumber) {
  15240. base.assertNoUnits$0();
  15241. return A.log(number, base);
  15242. }
  15243. return A.log(number, null);
  15244. },
  15245. SassCalculation_atan2(y, x) {
  15246. var t1;
  15247. y = A.SassCalculation__simplify(y);
  15248. x = A.NullableExtension_andThen(x, A.calculation_SassCalculation__simplify$closure());
  15249. t1 = A._setArrayType([y], type$.JSArray_Object);
  15250. if (x != null)
  15251. t1.push(x);
  15252. A.SassCalculation__verifyLength(t1, 2);
  15253. A.SassCalculation__verifyCompatibleNumbers(t1);
  15254. if (!(y instanceof A.SassNumber) || !(x instanceof A.SassNumber) || y.hasUnit$1("%") || x.hasUnit$1("%") || !y.hasCompatibleUnits$1(x))
  15255. return new A.SassCalculation("atan2", t1);
  15256. return A.SassNumber_SassNumber$withUnits(Math.atan2(y._number$_value, x.convertValueToMatch$3(y, "x", "y")) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  15257. },
  15258. SassCalculation_rem(dividend, modulus) {
  15259. var t1, result;
  15260. dividend = A.SassCalculation__simplify(dividend);
  15261. modulus = A.NullableExtension_andThen(modulus, A.calculation_SassCalculation__simplify$closure());
  15262. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  15263. if (modulus != null)
  15264. t1.push(modulus);
  15265. A.SassCalculation__verifyLength(t1, 2);
  15266. A.SassCalculation__verifyCompatibleNumbers(t1);
  15267. if (!(dividend instanceof A.SassNumber) || !(modulus instanceof A.SassNumber) || !dividend.hasCompatibleUnits$1(modulus))
  15268. return new A.SassCalculation("rem", t1);
  15269. result = dividend.modulo$1(modulus);
  15270. t1 = modulus._number$_value;
  15271. if (A.DoubleWithSignedZero_get_signIncludingZero(t1) !== A.DoubleWithSignedZero_get_signIncludingZero(dividend._number$_value)) {
  15272. if (t1 == 1 / 0 || t1 == -1 / 0)
  15273. return dividend;
  15274. if (result._number$_value === 0)
  15275. return result.unaryMinus$0();
  15276. return result.minus$1(modulus);
  15277. }
  15278. return result;
  15279. },
  15280. SassCalculation_mod(dividend, modulus) {
  15281. var t1;
  15282. dividend = A.SassCalculation__simplify(dividend);
  15283. modulus = A.NullableExtension_andThen(modulus, A.calculation_SassCalculation__simplify$closure());
  15284. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  15285. if (modulus != null)
  15286. t1.push(modulus);
  15287. A.SassCalculation__verifyLength(t1, 2);
  15288. A.SassCalculation__verifyCompatibleNumbers(t1);
  15289. if (!(dividend instanceof A.SassNumber) || !(modulus instanceof A.SassNumber) || !dividend.hasCompatibleUnits$1(modulus))
  15290. return new A.SassCalculation("mod", t1);
  15291. return dividend.modulo$1(modulus);
  15292. },
  15293. SassCalculation_round(strategyOrNumber, numberOrStep, step) {
  15294. var number, t1, t2, strategy, rest, _null = null, _s5_ = "round",
  15295. _0_0 = new A._Record_3(A.SassCalculation__simplify(strategyOrNumber), A.NullableExtension_andThen(numberOrStep, A.calculation_SassCalculation__simplify$closure()), A.NullableExtension_andThen(step, A.calculation_SassCalculation__simplify$closure())),
  15296. _0_1 = A._InitializedCell$(new A.SassCalculation_round_closure(_0_0)),
  15297. _0_2 = A._InitializedCell$(new A.SassCalculation_round_closure0(_0_0)),
  15298. _0_4 = A._InitializedCell$(new A.SassCalculation_round_closure1(_0_2)),
  15299. _0_5 = A._InitializedCell$(new A.SassCalculation_round_closure2(_0_0)),
  15300. _0_6 = A._InitializedCell$(new A.SassCalculation_round_closure3(_0_5)),
  15301. _0_8 = A._InitializedCell$(new A.SassCalculation_round_closure4(_0_1)),
  15302. _0_10 = A._InitializedCell$(new A.SassCalculation_round_closure5(_0_8)),
  15303. _0_12 = A._InitializedCell$(new A.SassCalculation_round_closure6(_0_8)),
  15304. _0_14 = A._InitializedCell$(new A.SassCalculation_round_closure7(_0_8)),
  15305. _0_16 = A._InitializedCell$(new A.SassCalculation_round_closure8(_0_8));
  15306. if (_0_1._readFinal$0() instanceof A.SassNumber) {
  15307. number = _0_1._readFinal$0();
  15308. t1 = _0_4._readFinal$0() && _0_6._readFinal$0();
  15309. } else {
  15310. number = _null;
  15311. t1 = false;
  15312. }
  15313. if (t1) {
  15314. t1 = B.JSNumber_methods.round$0(number._number$_value);
  15315. t2 = number.get$numeratorUnits(number);
  15316. return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
  15317. }
  15318. if (_0_1._readFinal$0() instanceof A.SassNumber) {
  15319. number = _0_1._readFinal$0();
  15320. if (_0_2._readFinal$0() instanceof A.SassNumber) {
  15321. step = _0_2._readFinal$0();
  15322. t1 = _0_6._readFinal$0() && !number.hasCompatibleUnits$1(step);
  15323. } else {
  15324. step = _null;
  15325. t1 = false;
  15326. }
  15327. } else {
  15328. step = _null;
  15329. number = step;
  15330. t1 = false;
  15331. }
  15332. if (t1) {
  15333. t1 = type$.JSArray_Object;
  15334. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], t1));
  15335. return new A.SassCalculation(_s5_, A._setArrayType([number, step], t1));
  15336. }
  15337. if (_0_1._readFinal$0() instanceof A.SassNumber) {
  15338. number = _0_1._readFinal$0();
  15339. if (_0_2._readFinal$0() instanceof A.SassNumber) {
  15340. step = _0_2._readFinal$0();
  15341. t1 = _0_6._readFinal$0();
  15342. t1 = t1;
  15343. } else {
  15344. step = _null;
  15345. t1 = false;
  15346. }
  15347. } else {
  15348. step = _null;
  15349. number = step;
  15350. t1 = false;
  15351. }
  15352. if (t1) {
  15353. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], type$.JSArray_Object));
  15354. return A.SassCalculation__roundWithStep("nearest", number, step);
  15355. }
  15356. if (_0_1._readFinal$0() instanceof A.SassString)
  15357. if (_0_10._readFinal$0() || _0_12._readFinal$0() || _0_14._readFinal$0() || _0_16._readFinal$0()) {
  15358. strategy = _0_1._readFinal$0();
  15359. if (_0_2._readFinal$0() instanceof A.SassNumber) {
  15360. number = _0_2._readFinal$0();
  15361. if (_0_5._readFinal$0() instanceof A.SassNumber) {
  15362. step = _0_5._readFinal$0();
  15363. t1 = !number.hasCompatibleUnits$1(step);
  15364. } else {
  15365. step = _null;
  15366. t1 = false;
  15367. }
  15368. } else {
  15369. step = _null;
  15370. number = step;
  15371. t1 = false;
  15372. }
  15373. } else {
  15374. step = _null;
  15375. number = step;
  15376. strategy = number;
  15377. t1 = false;
  15378. }
  15379. else {
  15380. step = _null;
  15381. number = step;
  15382. strategy = number;
  15383. t1 = false;
  15384. }
  15385. if (t1) {
  15386. t1 = type$.JSArray_Object;
  15387. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], t1));
  15388. return new A.SassCalculation(_s5_, A._setArrayType([strategy, number, step], t1));
  15389. }
  15390. if (_0_1._readFinal$0() instanceof A.SassString)
  15391. if (_0_10._readFinal$0() || _0_12._readFinal$0() || _0_14._readFinal$0() || _0_16._readFinal$0()) {
  15392. strategy = _0_1._readFinal$0();
  15393. if (_0_2._readFinal$0() instanceof A.SassNumber) {
  15394. number = _0_2._readFinal$0();
  15395. if (_0_5._readFinal$0() instanceof A.SassNumber) {
  15396. step = _0_5._readFinal$0();
  15397. t1 = true;
  15398. } else {
  15399. step = _null;
  15400. t1 = false;
  15401. }
  15402. } else {
  15403. step = _null;
  15404. number = step;
  15405. t1 = false;
  15406. }
  15407. } else {
  15408. step = _null;
  15409. number = step;
  15410. strategy = number;
  15411. t1 = false;
  15412. }
  15413. else {
  15414. step = _null;
  15415. number = step;
  15416. strategy = number;
  15417. t1 = false;
  15418. }
  15419. if (t1) {
  15420. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([number, step], type$.JSArray_Object));
  15421. return A.SassCalculation__roundWithStep(strategy._string$_text, number, step);
  15422. }
  15423. if (_0_1._readFinal$0() instanceof A.SassString)
  15424. if (_0_10._readFinal$0() || _0_12._readFinal$0() || _0_14._readFinal$0() || _0_16._readFinal$0()) {
  15425. strategy = _0_1._readFinal$0();
  15426. if (_0_2._readFinal$0() instanceof A.SassString) {
  15427. rest = _0_2._readFinal$0();
  15428. t1 = _0_6._readFinal$0();
  15429. t1 = t1;
  15430. } else {
  15431. rest = _null;
  15432. t1 = false;
  15433. }
  15434. } else {
  15435. rest = _null;
  15436. strategy = rest;
  15437. t1 = false;
  15438. }
  15439. else {
  15440. rest = _null;
  15441. strategy = rest;
  15442. t1 = false;
  15443. }
  15444. if (t1)
  15445. return new A.SassCalculation(_s5_, A._setArrayType([strategy, rest], type$.JSArray_Object));
  15446. if (_0_1._readFinal$0() instanceof A.SassString)
  15447. if (_0_10._readFinal$0() || _0_12._readFinal$0() || _0_14._readFinal$0() || _0_16._readFinal$0())
  15448. t1 = _0_2._readFinal$0() != null && true && _0_6._readFinal$0();
  15449. else
  15450. t1 = false;
  15451. else
  15452. t1 = false;
  15453. if (t1)
  15454. throw A.wrapException(A.SassScriptException$(string$.If_str, _null));
  15455. if (_0_1._readFinal$0() instanceof A.SassString)
  15456. t1 = (_0_10._readFinal$0() || _0_12._readFinal$0() || _0_14._readFinal$0() || _0_16._readFinal$0()) && _0_4._readFinal$0() && _0_6._readFinal$0();
  15457. else
  15458. t1 = false;
  15459. if (t1)
  15460. throw A.wrapException(A.SassScriptException$(string$.Number, _null));
  15461. if (_0_1._readFinal$0() instanceof A.SassString) {
  15462. rest = _0_1._readFinal$0();
  15463. t1 = _0_4._readFinal$0() && _0_6._readFinal$0();
  15464. } else {
  15465. rest = _null;
  15466. t1 = false;
  15467. }
  15468. if (t1)
  15469. return new A.SassCalculation(_s5_, A._setArrayType([rest], type$.JSArray_Object));
  15470. number = _0_1._readFinal$0();
  15471. if (_0_4._readFinal$0() && _0_6._readFinal$0())
  15472. throw A.wrapException(A.SassScriptException$("Single argument " + A.S(number) + " expected to be simplifiable.", _null));
  15473. number = _0_1._readFinal$0();
  15474. if (_0_2._readFinal$0() != null) {
  15475. step = _0_2._readFinal$0();
  15476. t1 = true;
  15477. } else {
  15478. step = _null;
  15479. t1 = false;
  15480. }
  15481. t1 = t1 && _0_6._readFinal$0();
  15482. if (t1)
  15483. return new A.SassCalculation(_s5_, A._setArrayType([number, step], type$.JSArray_Object));
  15484. if (_0_1._readFinal$0() instanceof A.SassString)
  15485. t1 = _0_10._readFinal$0() || _0_12._readFinal$0() || _0_14._readFinal$0() || _0_16._readFinal$0();
  15486. else
  15487. t1 = false;
  15488. if (!t1)
  15489. t1 = _0_1._readFinal$0() instanceof A.SassString && _0_1._readFinal$0().get$isVar();
  15490. else
  15491. t1 = true;
  15492. if (t1) {
  15493. strategy = _0_1._readFinal$0();
  15494. if (_0_2._readFinal$0() != null) {
  15495. number = _0_2._readFinal$0();
  15496. t1 = true;
  15497. } else {
  15498. number = _null;
  15499. t1 = false;
  15500. }
  15501. if (t1)
  15502. if (_0_5._readFinal$0() != null) {
  15503. step = _0_5._readFinal$0();
  15504. t1 = true;
  15505. } else {
  15506. step = _null;
  15507. t1 = false;
  15508. }
  15509. else {
  15510. step = _null;
  15511. t1 = false;
  15512. }
  15513. } else {
  15514. step = _null;
  15515. number = step;
  15516. strategy = number;
  15517. t1 = false;
  15518. }
  15519. if (t1)
  15520. return new A.SassCalculation(_s5_, A._setArrayType([strategy, number, step], type$.JSArray_Object));
  15521. if (_0_2._readFinal$0() != null && true && _0_5._readFinal$0() != null && true)
  15522. throw A.wrapException(A.SassScriptException$(A.S(strategyOrNumber) + string$.x20must_b, _null));
  15523. if (_0_4._readFinal$0())
  15524. _0_5._readFinal$0();
  15525. t1 = A.SassScriptException$("Invalid parameters.", _null);
  15526. throw A.wrapException(t1);
  15527. },
  15528. SassCalculation_operateInternal(operator, left, right, inLegacySassFunction, simplify) {
  15529. var t1;
  15530. if (!simplify)
  15531. return new A.CalculationOperation(operator, left, right);
  15532. left = A.SassCalculation__simplify(left);
  15533. right = A.SassCalculation__simplify(right);
  15534. if (B.CalculationOperator_IyK === operator || B.CalculationOperator_2bx === operator) {
  15535. if (left instanceof A.SassNumber)
  15536. if (right instanceof A.SassNumber)
  15537. t1 = inLegacySassFunction ? left.isComparableTo$1(right) : left.hasCompatibleUnits$1(right);
  15538. else
  15539. t1 = false;
  15540. else
  15541. t1 = false;
  15542. if (t1)
  15543. return operator === B.CalculationOperator_IyK ? left.plus$1(right) : left.minus$1(right);
  15544. A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([left, right], type$.JSArray_Object));
  15545. if (right instanceof A.SassNumber) {
  15546. t1 = right._number$_value;
  15547. t1 = t1 < 0 && !A.fuzzyEquals(t1, 0);
  15548. } else
  15549. t1 = false;
  15550. if (t1) {
  15551. right = right.times$1(A.SassNumber_SassNumber(-1, null));
  15552. operator = operator === B.CalculationOperator_IyK ? B.CalculationOperator_2bx : B.CalculationOperator_IyK;
  15553. }
  15554. return new A.CalculationOperation(operator, left, right);
  15555. } else if (left instanceof A.SassNumber && right instanceof A.SassNumber)
  15556. return operator === B.CalculationOperator_jFr ? left.times$1(right) : left.dividedBy$1(right);
  15557. else
  15558. return new A.CalculationOperation(operator, left, right);
  15559. },
  15560. SassCalculation__roundWithStep(strategy, number, step) {
  15561. var t1, t2, _0_0, _0_2, _0_1, _0_6, _0_8, _0_9, _0_11, _0_13, stepWithNumberUnit;
  15562. if (!A.LinkedHashSet_LinkedHashSet$_literal(["nearest", "up", "down", "to-zero"], type$.String).contains$1(0, strategy))
  15563. throw A.wrapException(A.ArgumentError$(strategy + string$.x20must_b, null));
  15564. t1 = number._number$_value;
  15565. if (t1 == 1 / 0 || t1 == -1 / 0) {
  15566. t2 = step._number$_value;
  15567. t2 = t2 == 1 / 0 || t2 == -1 / 0;
  15568. } else
  15569. t2 = false;
  15570. if (!t2) {
  15571. t2 = step._number$_value;
  15572. t2 = t2 === 0 || isNaN(t1) || isNaN(t2);
  15573. } else
  15574. t2 = true;
  15575. if (t2) {
  15576. t1 = number.get$numeratorUnits(number);
  15577. return A.SassNumber_SassNumber$withUnits(0 / 0, number.get$denominatorUnits(number), t1);
  15578. }
  15579. if (t1 == 1 / 0 || t1 == -1 / 0)
  15580. return number;
  15581. t2 = step._number$_value;
  15582. if (t2 == 1 / 0 || t2 == -1 / 0) {
  15583. _0_0 = new A._Record_2(strategy, t1);
  15584. _0_2 = A._InitializedCell$(new A.SassCalculation__roundWithStep_closure(_0_0));
  15585. _0_1 = A._InitializedCell$(new A.SassCalculation__roundWithStep_closure0(_0_0));
  15586. _0_6 = A._InitializedCell$(new A.SassCalculation__roundWithStep_closure1(_0_1));
  15587. _0_8 = A._InitializedCell$(new A.SassCalculation__roundWithStep_closure2(_0_1));
  15588. _0_9 = A._InitializedCell$(new A.SassCalculation__roundWithStep_closure3(_0_2));
  15589. _0_11 = A._InitializedCell$(new A.SassCalculation__roundWithStep_closure4(_0_1));
  15590. _0_13 = A._InitializedCell$(new A.SassCalculation__roundWithStep_closure5(_0_1));
  15591. $label0$0: {
  15592. if (0 === _0_2._readFinal$0()) {
  15593. t1 = number;
  15594. break $label0$0;
  15595. }
  15596. if ((_0_6._readFinal$0() || _0_8._readFinal$0()) && _0_9._readFinal$0()) {
  15597. t1 = number.get$numeratorUnits(number);
  15598. t1 = A.SassNumber_SassNumber$withUnits(0, number.get$denominatorUnits(number), t1);
  15599. break $label0$0;
  15600. }
  15601. if (_0_6._readFinal$0() || _0_8._readFinal$0()) {
  15602. t1 = number.get$numeratorUnits(number);
  15603. t1 = A.SassNumber_SassNumber$withUnits(-0.0, number.get$denominatorUnits(number), t1);
  15604. break $label0$0;
  15605. }
  15606. if (_0_11._readFinal$0() && _0_9._readFinal$0()) {
  15607. t1 = number.get$numeratorUnits(number);
  15608. t1 = A.SassNumber_SassNumber$withUnits(1 / 0, number.get$denominatorUnits(number), t1);
  15609. break $label0$0;
  15610. }
  15611. if (_0_11._readFinal$0()) {
  15612. t1 = number.get$numeratorUnits(number);
  15613. t1 = A.SassNumber_SassNumber$withUnits(-0.0, number.get$denominatorUnits(number), t1);
  15614. break $label0$0;
  15615. }
  15616. if (_0_13._readFinal$0() && _0_2._readFinal$0() < 0) {
  15617. t1 = number.get$numeratorUnits(number);
  15618. t1 = A.SassNumber_SassNumber$withUnits(-1 / 0, number.get$denominatorUnits(number), t1);
  15619. break $label0$0;
  15620. }
  15621. if (_0_13._readFinal$0()) {
  15622. t1 = number.get$numeratorUnits(number);
  15623. t1 = A.SassNumber_SassNumber$withUnits(0, number.get$denominatorUnits(number), t1);
  15624. break $label0$0;
  15625. }
  15626. t1 = A.throwExpression(A.UnsupportedError$("Invalid argument: " + strategy + "."));
  15627. }
  15628. return t1;
  15629. }
  15630. stepWithNumberUnit = step.convertValueToMatch$1(number);
  15631. $label1$1: {
  15632. if ("nearest" === strategy) {
  15633. t1 = B.JSNumber_methods.round$0(t1 / stepWithNumberUnit);
  15634. t2 = number.get$numeratorUnits(number);
  15635. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  15636. t1 = t2;
  15637. break $label1$1;
  15638. }
  15639. if ("up" === strategy) {
  15640. t1 /= stepWithNumberUnit;
  15641. t1 = t2 < 0 ? B.JSNumber_methods.floor$0(t1) : B.JSNumber_methods.ceil$0(t1);
  15642. t2 = number.get$numeratorUnits(number);
  15643. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  15644. t1 = t2;
  15645. break $label1$1;
  15646. }
  15647. if ("down" === strategy) {
  15648. t1 /= stepWithNumberUnit;
  15649. t1 = t2 < 0 ? B.JSNumber_methods.ceil$0(t1) : B.JSNumber_methods.floor$0(t1);
  15650. t2 = number.get$numeratorUnits(number);
  15651. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  15652. t1 = t2;
  15653. break $label1$1;
  15654. }
  15655. if ("to-zero" === strategy) {
  15656. t2 = t1 / stepWithNumberUnit;
  15657. if (t1 < 0) {
  15658. t1 = B.JSNumber_methods.ceil$0(t2);
  15659. t2 = number.get$numeratorUnits(number);
  15660. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  15661. t1 = t2;
  15662. } else {
  15663. t1 = B.JSNumber_methods.floor$0(t2);
  15664. t2 = number.get$numeratorUnits(number);
  15665. t2 = A.SassNumber_SassNumber$withUnits(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  15666. t1 = t2;
  15667. }
  15668. break $label1$1;
  15669. }
  15670. t1 = number.get$numeratorUnits(number);
  15671. t1 = A.SassNumber_SassNumber$withUnits(0 / 0, number.get$denominatorUnits(number), t1);
  15672. break $label1$1;
  15673. }
  15674. return t1;
  15675. },
  15676. SassCalculation__simplify(arg) {
  15677. var t1, text, t2, value, _null = null,
  15678. _s32_ = " can't be used in a calculation.",
  15679. _0_11 = A._InitializedCell$(new A.SassCalculation__simplify_closure(arg)),
  15680. _0_12 = A._InitializedCell$(new A.SassCalculation__simplify_closure0(arg)),
  15681. _0_15 = A._InitializedCell$(new A.SassCalculation__simplify_closure1(_0_12)),
  15682. _0_16 = A._InitializedCell$(new A.SassCalculation__simplify_closure2(_0_12));
  15683. $label0$0: {
  15684. if (arg instanceof A.SassNumber || arg instanceof A.CalculationOperation) {
  15685. t1 = arg;
  15686. break $label0$0;
  15687. }
  15688. t1 = arg instanceof A.SassString;
  15689. if (t1 && !arg._hasQuotes) {
  15690. t1 = arg;
  15691. break $label0$0;
  15692. }
  15693. if (t1)
  15694. A.throwExpression(A.SassScriptException$("Quoted string " + arg.toString$0(0) + _s32_, _null));
  15695. t1 = arg instanceof A.SassCalculation;
  15696. if (t1)
  15697. if (_0_11._readFinal$0())
  15698. if (_0_15._readFinal$0())
  15699. if (_0_16._readFinal$0() instanceof A.SassString)
  15700. if (!_0_16._readFinal$0()._hasQuotes) {
  15701. text = _0_16._readFinal$0()._string$_text;
  15702. t2 = A.SassCalculation__needsParentheses(text);
  15703. } else {
  15704. text = _null;
  15705. t2 = false;
  15706. }
  15707. else {
  15708. text = _null;
  15709. t2 = false;
  15710. }
  15711. else {
  15712. text = _null;
  15713. t2 = false;
  15714. }
  15715. else {
  15716. text = _null;
  15717. t2 = false;
  15718. }
  15719. else {
  15720. text = _null;
  15721. t2 = false;
  15722. }
  15723. if (t2) {
  15724. t1 = new A.SassString("(" + A.S(text) + ")", false);
  15725. break $label0$0;
  15726. }
  15727. if (t1)
  15728. if (_0_11._readFinal$0())
  15729. if (_0_15._readFinal$0()) {
  15730. value = _0_16._readFinal$0();
  15731. t2 = true;
  15732. } else {
  15733. value = _null;
  15734. t2 = false;
  15735. }
  15736. else {
  15737. value = _null;
  15738. t2 = false;
  15739. }
  15740. else {
  15741. value = _null;
  15742. t2 = false;
  15743. }
  15744. if (t2) {
  15745. t1 = value;
  15746. break $label0$0;
  15747. }
  15748. if (t1) {
  15749. t1 = arg;
  15750. break $label0$0;
  15751. }
  15752. if (arg instanceof A.Value)
  15753. A.throwExpression(A.SassScriptException$("Value " + arg.toString$0(0) + _s32_, _null));
  15754. t1 = A.throwExpression(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", _null));
  15755. }
  15756. return t1;
  15757. },
  15758. SassCalculation__needsParentheses(text) {
  15759. var t1, couldBeVar, second, third, fourth, i, t2,
  15760. first = text.charCodeAt(0);
  15761. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47 || first === 42)
  15762. return true;
  15763. t1 = text.length;
  15764. couldBeVar = t1 >= 4 && A.characterEqualsIgnoreCase(first, 118);
  15765. if (t1 < 2)
  15766. return false;
  15767. second = text.charCodeAt(1);
  15768. if (second === 32 || second === 9 || second === 10 || second === 13 || second === 12 || second === 47 || second === 42)
  15769. return true;
  15770. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase(second, 97);
  15771. if (t1 < 3)
  15772. return false;
  15773. third = text.charCodeAt(2);
  15774. if (third === 32 || third === 9 || third === 10 || third === 13 || third === 12 || third === 47 || third === 42)
  15775. return true;
  15776. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase(third, 114);
  15777. if (t1 < 4)
  15778. return false;
  15779. fourth = text.charCodeAt(3);
  15780. if (couldBeVar && fourth === 40)
  15781. return true;
  15782. if (fourth === 32 || fourth === 9 || fourth === 10 || fourth === 13 || fourth === 12 || fourth === 47 || fourth === 42)
  15783. return true;
  15784. for (i = 4; i < t1; ++i) {
  15785. t2 = text.charCodeAt(i);
  15786. if (t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || t2 === 47 || t2 === 42)
  15787. return true;
  15788. }
  15789. return false;
  15790. },
  15791. SassCalculation__verifyCompatibleNumbers(args) {
  15792. var t1, _i, t2, arg, i, number1, j, number2;
  15793. for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
  15794. arg = args[_i];
  15795. if (arg instanceof A.SassNumber && arg.get$hasComplexUnits())
  15796. throw A.wrapException(A.SassScriptException$("Number " + A.S(arg) + " isn't compatible with CSS calculations.", null));
  15797. }
  15798. for (t1 = t2, i = 0; i < t1 - 1; ++i) {
  15799. number1 = args[i];
  15800. if (!(number1 instanceof A.SassNumber))
  15801. continue;
  15802. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  15803. number2 = args[j];
  15804. if (!(number2 instanceof A.SassNumber))
  15805. continue;
  15806. if (number1.hasPossiblyCompatibleUnits$1(number2))
  15807. continue;
  15808. throw A.wrapException(A.SassScriptException$(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", null));
  15809. }
  15810. }
  15811. },
  15812. SassCalculation__verifyLength(args, expectedLength) {
  15813. var t1;
  15814. if (args.length === expectedLength)
  15815. return;
  15816. if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure()))
  15817. return;
  15818. t1 = args.length;
  15819. throw A.wrapException(A.SassScriptException$("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize("was", t1, "were") + " passed.", null));
  15820. },
  15821. SassCalculation__singleArgument($name, argument, mathFunc, forbidUnits) {
  15822. argument = A.SassCalculation__simplify(argument);
  15823. if (!(argument instanceof A.SassNumber))
  15824. return new A.SassCalculation($name, A._setArrayType([argument], type$.JSArray_Object));
  15825. if (forbidUnits)
  15826. argument.assertNoUnits$0();
  15827. return mathFunc.call$1(argument);
  15828. },
  15829. SassCalculation: function SassCalculation(t0, t1) {
  15830. this.name = t0;
  15831. this.$arguments = t1;
  15832. },
  15833. SassCalculation_sign_closure: function SassCalculation_sign_closure(t0) {
  15834. this._0_0 = t0;
  15835. },
  15836. SassCalculation_round_closure: function SassCalculation_round_closure(t0) {
  15837. this._0_0 = t0;
  15838. },
  15839. SassCalculation_round_closure0: function SassCalculation_round_closure0(t0) {
  15840. this._0_0 = t0;
  15841. },
  15842. SassCalculation_round_closure1: function SassCalculation_round_closure1(t0) {
  15843. this._0_2 = t0;
  15844. },
  15845. SassCalculation_round_closure2: function SassCalculation_round_closure2(t0) {
  15846. this._0_0 = t0;
  15847. },
  15848. SassCalculation_round_closure3: function SassCalculation_round_closure3(t0) {
  15849. this._0_5 = t0;
  15850. },
  15851. SassCalculation_round_closure4: function SassCalculation_round_closure4(t0) {
  15852. this._0_1 = t0;
  15853. },
  15854. SassCalculation_round_closure5: function SassCalculation_round_closure5(t0) {
  15855. this._0_8 = t0;
  15856. },
  15857. SassCalculation_round_closure6: function SassCalculation_round_closure6(t0) {
  15858. this._0_8 = t0;
  15859. },
  15860. SassCalculation_round_closure7: function SassCalculation_round_closure7(t0) {
  15861. this._0_8 = t0;
  15862. },
  15863. SassCalculation_round_closure8: function SassCalculation_round_closure8(t0) {
  15864. this._0_8 = t0;
  15865. },
  15866. SassCalculation__roundWithStep_closure0: function SassCalculation__roundWithStep_closure0(t0) {
  15867. this._0_0 = t0;
  15868. },
  15869. SassCalculation__roundWithStep_closure: function SassCalculation__roundWithStep_closure(t0) {
  15870. this._0_0 = t0;
  15871. },
  15872. SassCalculation__roundWithStep_closure1: function SassCalculation__roundWithStep_closure1(t0) {
  15873. this._0_1 = t0;
  15874. },
  15875. SassCalculation__roundWithStep_closure2: function SassCalculation__roundWithStep_closure2(t0) {
  15876. this._0_1 = t0;
  15877. },
  15878. SassCalculation__roundWithStep_closure3: function SassCalculation__roundWithStep_closure3(t0) {
  15879. this._0_2 = t0;
  15880. },
  15881. SassCalculation__roundWithStep_closure4: function SassCalculation__roundWithStep_closure4(t0) {
  15882. this._0_1 = t0;
  15883. },
  15884. SassCalculation__roundWithStep_closure5: function SassCalculation__roundWithStep_closure5(t0) {
  15885. this._0_1 = t0;
  15886. },
  15887. SassCalculation__simplify_closure: function SassCalculation__simplify_closure(t0) {
  15888. this._0_0 = t0;
  15889. },
  15890. SassCalculation__simplify_closure0: function SassCalculation__simplify_closure0(t0) {
  15891. this._0_0 = t0;
  15892. },
  15893. SassCalculation__simplify_closure1: function SassCalculation__simplify_closure1(t0) {
  15894. this._0_12 = t0;
  15895. },
  15896. SassCalculation__simplify_closure2: function SassCalculation__simplify_closure2(t0) {
  15897. this._0_12 = t0;
  15898. },
  15899. SassCalculation__verifyLength_closure: function SassCalculation__verifyLength_closure() {
  15900. },
  15901. CalculationOperation: function CalculationOperation(t0, t1, t2) {
  15902. this._operator = t0;
  15903. this._left = t1;
  15904. this._right = t2;
  15905. },
  15906. CalculationOperator: function CalculationOperator(t0, t1, t2, t3) {
  15907. var _ = this;
  15908. _.name = t0;
  15909. _.operator = t1;
  15910. _.precedence = t2;
  15911. _._name = t3;
  15912. },
  15913. SassColor$rgb(red, green, blue, alpha) {
  15914. var _null = null,
  15915. t1 = new A.SassColor(red, green, blue, _null, _null, _null, A.fuzzyAssertRange(A.SassColor__handleNullAlpha(alpha), 0, 1, "alpha"), _null);
  15916. A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
  15917. A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
  15918. A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
  15919. return t1;
  15920. },
  15921. SassColor$rgbInternal(_red, _green, _blue, alpha, format) {
  15922. var t1 = new A.SassColor(_red, _green, _blue, null, null, null, A.fuzzyAssertRange(alpha, 0, 1, "alpha"), format);
  15923. A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
  15924. A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
  15925. A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
  15926. return t1;
  15927. },
  15928. SassColor$hslInternal(hue, saturation, lightness, alpha, format) {
  15929. return new A.SassColor(null, null, null, B.JSNumber_methods.$mod(hue, 360), A.fuzzyAssertRange(saturation, 0, 100, "saturation"), A.fuzzyAssertRange(lightness, 0, 100, "lightness"), A.fuzzyAssertRange(alpha, 0, 1, "alpha"), format);
  15930. },
  15931. SassColor_SassColor$hwb(hue, whiteness, blackness, alpha) {
  15932. var t2, t1 = {},
  15933. scaledHue = B.JSNumber_methods.$mod(hue, 360) / 360,
  15934. scaledWhiteness = t1.scaledWhiteness = A.fuzzyAssertRange(whiteness, 0, 100, "whiteness") / 100,
  15935. scaledBlackness = A.fuzzyAssertRange(blackness, 0, 100, "blackness") / 100,
  15936. sum = scaledWhiteness + scaledBlackness;
  15937. if (sum > 1) {
  15938. t2 = t1.scaledWhiteness = scaledWhiteness / sum;
  15939. scaledBlackness /= sum;
  15940. } else
  15941. t2 = scaledWhiteness;
  15942. t2 = new A.SassColor_SassColor$hwb_toRgb(t1, 1 - t2 - scaledBlackness);
  15943. return A.SassColor$rgb(t2.call$1(scaledHue + 0.3333333333333333), t2.call$1(scaledHue), t2.call$1(scaledHue - 0.3333333333333333), alpha);
  15944. },
  15945. SassColor__handleNullAlpha(alpha) {
  15946. return alpha;
  15947. },
  15948. SassColor__hueToRgb(m1, m2, hue) {
  15949. var t1;
  15950. if (hue < 0)
  15951. ++hue;
  15952. if (hue > 1)
  15953. --hue;
  15954. $label0$0: {
  15955. if (hue < 0.16666666666666666) {
  15956. t1 = m1 + (m2 - m1) * hue * 6;
  15957. break $label0$0;
  15958. }
  15959. if (hue < 0.5) {
  15960. t1 = m2;
  15961. break $label0$0;
  15962. }
  15963. if (hue < 0.6666666666666666) {
  15964. t1 = m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  15965. break $label0$0;
  15966. }
  15967. t1 = m1;
  15968. break $label0$0;
  15969. }
  15970. return t1;
  15971. },
  15972. SassColor: function SassColor(t0, t1, t2, t3, t4, t5, t6, t7) {
  15973. var _ = this;
  15974. _._red = t0;
  15975. _._green = t1;
  15976. _._blue = t2;
  15977. _._hue = t3;
  15978. _._saturation = t4;
  15979. _._lightness = t5;
  15980. _._alpha = t6;
  15981. _.format = t7;
  15982. },
  15983. SassColor_SassColor$hwb_toRgb: function SassColor_SassColor$hwb_toRgb(t0, t1) {
  15984. this._box_0 = t0;
  15985. this.factor = t1;
  15986. },
  15987. _ColorFormatEnum: function _ColorFormatEnum(t0) {
  15988. this._color$_name = t0;
  15989. },
  15990. SpanColorFormat: function SpanColorFormat(t0) {
  15991. this._color$_span = t0;
  15992. },
  15993. SassFunction: function SassFunction(t0) {
  15994. this.callable = t0;
  15995. },
  15996. SassList$(contents, _separator, brackets) {
  15997. var t1 = new A.SassList(A.List_List$unmodifiable(contents, type$.Value), _separator, brackets);
  15998. t1.SassList$3$brackets(contents, _separator, brackets);
  15999. return t1;
  16000. },
  16001. SassList: function SassList(t0, t1, t2) {
  16002. this._list$_contents = t0;
  16003. this._separator = t1;
  16004. this._hasBrackets = t2;
  16005. },
  16006. SassList_isBlank_closure: function SassList_isBlank_closure() {
  16007. },
  16008. ListSeparator: function ListSeparator(t0, t1, t2) {
  16009. this._list$_name = t0;
  16010. this.separator = t1;
  16011. this._name = t2;
  16012. },
  16013. SassMap: function SassMap(t0) {
  16014. this._map$_contents = t0;
  16015. },
  16016. SassMixin: function SassMixin(t0) {
  16017. this.callable = t0;
  16018. },
  16019. _SassNull: function _SassNull() {
  16020. },
  16021. conversionFactor(unit1, unit2) {
  16022. var _0_0, innerMap, t1;
  16023. if (unit1 === unit2)
  16024. return 1;
  16025. _0_0 = B.Map_nfuzN.$index(0, unit1);
  16026. if (_0_0 != null) {
  16027. innerMap = _0_0;
  16028. t1 = true;
  16029. } else {
  16030. innerMap = null;
  16031. t1 = false;
  16032. }
  16033. if (t1)
  16034. return innerMap.$index(0, unit2);
  16035. return null;
  16036. },
  16037. SassNumber_SassNumber(value, unit) {
  16038. return unit == null ? new A.UnitlessSassNumber(value, null) : new A.SingleUnitSassNumber(unit, value, null);
  16039. },
  16040. SassNumber_SassNumber$withUnits(value, denominatorUnits, numeratorUnits) {
  16041. var t1, unit, numerators, denominators, unsimplifiedDenominators, valueDouble, _i, denominator, simplifiedAway, i, factor, _1_0, _1_1, _1_2, _1_7, _null = null,
  16042. _0_0 = new A._Record_2(numeratorUnits, denominatorUnits),
  16043. _0_1 = A._InitializedCell$(new A.SassNumber_SassNumber$withUnits_closure(_0_0)),
  16044. _0_3 = A._InitializedCell$(new A.SassNumber_SassNumber$withUnits_closure0(_0_1)),
  16045. _0_4 = A._InitializedCell$(new A.SassNumber_SassNumber$withUnits_closure1(_0_1)),
  16046. _0_6 = A._InitializedCell$(new A.SassNumber_SassNumber$withUnits_closure2(_0_4)),
  16047. _0_7 = A._InitializedCell$(new A.SassNumber_SassNumber$withUnits_closure3(_0_0)),
  16048. _0_8 = A._InitializedCell$(new A.SassNumber_SassNumber$withUnits_closure4(_0_7)),
  16049. _0_10 = A._InitializedCell$(new A.SassNumber_SassNumber$withUnits_closure5(_0_7));
  16050. if (_0_3._readFinal$0() || _0_6._readFinal$0())
  16051. t1 = _0_8._readFinal$0() || _0_10._readFinal$0();
  16052. else
  16053. t1 = false;
  16054. if (t1)
  16055. return new A.UnitlessSassNumber(value, _null);
  16056. if (type$.List_String._is(_0_1._readFinal$0()))
  16057. if (J.$eq$(_0_4._readFinal$0(), 1)) {
  16058. unit = J.$index$asx(_0_1._readFinal$0(), 0);
  16059. t1 = _0_8._readFinal$0() || _0_10._readFinal$0();
  16060. } else {
  16061. unit = _null;
  16062. t1 = false;
  16063. }
  16064. else {
  16065. unit = _null;
  16066. t1 = false;
  16067. }
  16068. if (t1)
  16069. return new A.SingleUnitSassNumber(unit, value, _null);
  16070. if (_0_1._readFinal$0() != null) {
  16071. numerators = _0_1._readFinal$0();
  16072. t1 = true;
  16073. } else {
  16074. numerators = _null;
  16075. t1 = false;
  16076. }
  16077. if (t1)
  16078. t1 = _0_8._readFinal$0() || _0_10._readFinal$0();
  16079. else
  16080. t1 = false;
  16081. if (t1)
  16082. return new A.ComplexSassNumber(A.List_List$unmodifiable(numerators, type$.String), B.List_empty, value, _null);
  16083. if (_0_3._readFinal$0() || _0_6._readFinal$0())
  16084. if (_0_7._readFinal$0() != null) {
  16085. denominators = _0_7._readFinal$0();
  16086. t1 = true;
  16087. } else {
  16088. denominators = _null;
  16089. t1 = false;
  16090. }
  16091. else {
  16092. denominators = _null;
  16093. t1 = false;
  16094. }
  16095. if (t1)
  16096. return new A.ComplexSassNumber(B.List_empty, A.List_List$unmodifiable(denominators, type$.String), value, _null);
  16097. numerators = J.toList$0$ax(numeratorUnits);
  16098. denominatorUnits.toString;
  16099. unsimplifiedDenominators = J.toList$0$ax(denominatorUnits);
  16100. denominators = A._setArrayType([], type$.JSArray_String);
  16101. for (t1 = unsimplifiedDenominators.length, valueDouble = value, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t1 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
  16102. denominator = unsimplifiedDenominators[_i];
  16103. i = 0;
  16104. while (true) {
  16105. if (!(i < numerators.length)) {
  16106. simplifiedAway = false;
  16107. break;
  16108. }
  16109. c$0: {
  16110. factor = A.conversionFactor(denominator, numerators[i]);
  16111. if (factor == null)
  16112. break c$0;
  16113. valueDouble *= factor;
  16114. B.JSArray_methods.removeAt$1(numerators, i);
  16115. simplifiedAway = true;
  16116. break;
  16117. }
  16118. ++i;
  16119. }
  16120. if (!simplifiedAway)
  16121. denominators.push(denominator);
  16122. }
  16123. _1_0 = new A._Record_2(numerators, denominators);
  16124. _1_1 = A._InitializedCell$(new A.SassNumber_SassNumber$withUnits_closure6(_1_0));
  16125. _1_2 = A._InitializedCell$(new A.SassNumber_SassNumber$withUnits_closure7(_1_1));
  16126. _1_7 = A._InitializedCell$(new A.SassNumber_SassNumber$withUnits_closure8(_1_0));
  16127. $label0$1: {
  16128. if (_1_2._readFinal$0() <= 0 && _1_7._readFinal$0()) {
  16129. t1 = new A.UnitlessSassNumber(valueDouble, _null);
  16130. break $label0$1;
  16131. }
  16132. if (J.$eq$(_1_2._readFinal$0(), 1)) {
  16133. unit = J.$index$asx(_1_1._readFinal$0(), 0);
  16134. t1 = _1_7._readFinal$0();
  16135. t1 = t1;
  16136. } else {
  16137. unit = _null;
  16138. t1 = false;
  16139. }
  16140. if (t1) {
  16141. t1 = new A.SingleUnitSassNumber(unit, valueDouble, _null);
  16142. break $label0$1;
  16143. }
  16144. t1 = type$.String;
  16145. t1 = new A.ComplexSassNumber(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), valueDouble, _null);
  16146. break $label0$1;
  16147. }
  16148. return t1;
  16149. },
  16150. SassNumber: function SassNumber() {
  16151. },
  16152. SassNumber_SassNumber$withUnits_closure0: function SassNumber_SassNumber$withUnits_closure0(t0) {
  16153. this._0_1 = t0;
  16154. },
  16155. SassNumber_SassNumber$withUnits_closure: function SassNumber_SassNumber$withUnits_closure(t0) {
  16156. this._0_0 = t0;
  16157. },
  16158. SassNumber_SassNumber$withUnits_closure1: function SassNumber_SassNumber$withUnits_closure1(t0) {
  16159. this._0_1 = t0;
  16160. },
  16161. SassNumber_SassNumber$withUnits_closure2: function SassNumber_SassNumber$withUnits_closure2(t0) {
  16162. this._0_4 = t0;
  16163. },
  16164. SassNumber_SassNumber$withUnits_closure4: function SassNumber_SassNumber$withUnits_closure4(t0) {
  16165. this._0_7 = t0;
  16166. },
  16167. SassNumber_SassNumber$withUnits_closure3: function SassNumber_SassNumber$withUnits_closure3(t0) {
  16168. this._0_0 = t0;
  16169. },
  16170. SassNumber_SassNumber$withUnits_closure5: function SassNumber_SassNumber$withUnits_closure5(t0) {
  16171. this._0_7 = t0;
  16172. },
  16173. SassNumber_SassNumber$withUnits_closure6: function SassNumber_SassNumber$withUnits_closure6(t0) {
  16174. this._1_0 = t0;
  16175. },
  16176. SassNumber_SassNumber$withUnits_closure7: function SassNumber_SassNumber$withUnits_closure7(t0) {
  16177. this._1_1 = t0;
  16178. },
  16179. SassNumber_SassNumber$withUnits_closure8: function SassNumber_SassNumber$withUnits_closure8(t0) {
  16180. this._1_0 = t0;
  16181. },
  16182. SassNumber__coerceOrConvertValue_compatibilityException: function SassNumber__coerceOrConvertValue_compatibilityException(t0, t1, t2, t3, t4, t5, t6) {
  16183. var _ = this;
  16184. _.$this = t0;
  16185. _.other = t1;
  16186. _.otherName = t2;
  16187. _.otherHasUnits = t3;
  16188. _.name = t4;
  16189. _.newNumerators = t5;
  16190. _.newDenominators = t6;
  16191. },
  16192. SassNumber__coerceOrConvertValue_closure: function SassNumber__coerceOrConvertValue_closure(t0, t1) {
  16193. this._box_0 = t0;
  16194. this.newNumerator = t1;
  16195. },
  16196. SassNumber__coerceOrConvertValue_closure0: function SassNumber__coerceOrConvertValue_closure0(t0) {
  16197. this.compatibilityException = t0;
  16198. },
  16199. SassNumber__coerceOrConvertValue_closure1: function SassNumber__coerceOrConvertValue_closure1(t0, t1) {
  16200. this._box_0 = t0;
  16201. this.newDenominator = t1;
  16202. },
  16203. SassNumber__coerceOrConvertValue_closure2: function SassNumber__coerceOrConvertValue_closure2(t0) {
  16204. this.compatibilityException = t0;
  16205. },
  16206. SassNumber_plus_closure: function SassNumber_plus_closure() {
  16207. },
  16208. SassNumber_minus_closure: function SassNumber_minus_closure() {
  16209. },
  16210. SassNumber_multiplyUnits_closure: function SassNumber_multiplyUnits_closure(t0) {
  16211. this._0_0 = t0;
  16212. },
  16213. SassNumber_multiplyUnits_closure0: function SassNumber_multiplyUnits_closure0(t0) {
  16214. this._0_0 = t0;
  16215. },
  16216. SassNumber_multiplyUnits_closure1: function SassNumber_multiplyUnits_closure1(t0) {
  16217. this._0_0 = t0;
  16218. },
  16219. SassNumber_multiplyUnits_closure2: function SassNumber_multiplyUnits_closure2(t0) {
  16220. this._0_3 = t0;
  16221. },
  16222. SassNumber_multiplyUnits_closure3: function SassNumber_multiplyUnits_closure3(t0) {
  16223. this._0_0 = t0;
  16224. },
  16225. SassNumber_multiplyUnits_closure4: function SassNumber_multiplyUnits_closure4(t0) {
  16226. this._0_7 = t0;
  16227. },
  16228. SassNumber_multiplyUnits_closure5: function SassNumber_multiplyUnits_closure5(t0) {
  16229. this._0_1 = t0;
  16230. },
  16231. SassNumber_multiplyUnits_closure6: function SassNumber_multiplyUnits_closure6(t0) {
  16232. this._0_2 = t0;
  16233. },
  16234. SassNumber_multiplyUnits_closure7: function SassNumber_multiplyUnits_closure7(t0, t1) {
  16235. this._box_0 = t0;
  16236. this.numerator = t1;
  16237. },
  16238. SassNumber_multiplyUnits_closure8: function SassNumber_multiplyUnits_closure8(t0, t1) {
  16239. this.newNumerators = t0;
  16240. this.numerator = t1;
  16241. },
  16242. SassNumber_multiplyUnits_closure9: function SassNumber_multiplyUnits_closure9(t0, t1) {
  16243. this._box_0 = t0;
  16244. this.numerator = t1;
  16245. },
  16246. SassNumber_multiplyUnits_closure10: function SassNumber_multiplyUnits_closure10(t0, t1) {
  16247. this.newNumerators = t0;
  16248. this.numerator = t1;
  16249. },
  16250. SassNumber__areAnyConvertible_closure: function SassNumber__areAnyConvertible_closure(t0) {
  16251. this.units2 = t0;
  16252. },
  16253. SassNumber__unitString_closure: function SassNumber__unitString_closure(t0) {
  16254. this._0_0 = t0;
  16255. },
  16256. SassNumber__unitString_closure0: function SassNumber__unitString_closure0(t0) {
  16257. this._0_0 = t0;
  16258. },
  16259. SassNumber__unitString_closure1: function SassNumber__unitString_closure1(t0) {
  16260. this._0_5 = t0;
  16261. },
  16262. SassNumber__unitString_closure2: function SassNumber__unitString_closure2(t0) {
  16263. this._0_6 = t0;
  16264. },
  16265. SassNumber__canonicalizeUnitList_closure: function SassNumber__canonicalizeUnitList_closure() {
  16266. },
  16267. SassNumber__canonicalMultiplier_closure: function SassNumber__canonicalMultiplier_closure(t0) {
  16268. this.$this = t0;
  16269. },
  16270. SassNumber_unitSuggestion_closure: function SassNumber_unitSuggestion_closure() {
  16271. },
  16272. SassNumber_unitSuggestion_closure0: function SassNumber_unitSuggestion_closure0() {
  16273. },
  16274. ComplexSassNumber: function ComplexSassNumber(t0, t1, t2, t3) {
  16275. var _ = this;
  16276. _._numeratorUnits = t0;
  16277. _._denominatorUnits = t1;
  16278. _._number$_value = t2;
  16279. _.hashCache = null;
  16280. _.asSlash = t3;
  16281. },
  16282. SingleUnitSassNumber: function SingleUnitSassNumber(t0, t1, t2) {
  16283. var _ = this;
  16284. _._unit = t0;
  16285. _._number$_value = t1;
  16286. _.hashCache = null;
  16287. _.asSlash = t2;
  16288. },
  16289. SingleUnitSassNumber__coerceToUnit_closure: function SingleUnitSassNumber__coerceToUnit_closure(t0, t1) {
  16290. this.$this = t0;
  16291. this.unit = t1;
  16292. },
  16293. SingleUnitSassNumber__coerceValueToUnit_closure: function SingleUnitSassNumber__coerceValueToUnit_closure(t0) {
  16294. this.$this = t0;
  16295. },
  16296. SingleUnitSassNumber_multiplyUnits_closure: function SingleUnitSassNumber_multiplyUnits_closure(t0, t1) {
  16297. this._box_0 = t0;
  16298. this.$this = t1;
  16299. },
  16300. SingleUnitSassNumber_multiplyUnits_closure0: function SingleUnitSassNumber_multiplyUnits_closure0(t0, t1) {
  16301. this._box_0 = t0;
  16302. this.$this = t1;
  16303. },
  16304. UnitlessSassNumber: function UnitlessSassNumber(t0, t1) {
  16305. this._number$_value = t0;
  16306. this.hashCache = null;
  16307. this.asSlash = t1;
  16308. },
  16309. SassString$(_text, quotes) {
  16310. return new A.SassString(_text, quotes);
  16311. },
  16312. SassString: function SassString(t0, t1) {
  16313. var _ = this;
  16314. _._string$_text = t0;
  16315. _._hasQuotes = t1;
  16316. _.__SassString__sassLength_FI = $;
  16317. _._hashCache = null;
  16318. },
  16319. AnySelectorVisitor: function AnySelectorVisitor() {
  16320. },
  16321. AnySelectorVisitor_visitComplexSelector_closure: function AnySelectorVisitor_visitComplexSelector_closure(t0) {
  16322. this.$this = t0;
  16323. },
  16324. AnySelectorVisitor_visitCompoundSelector_closure: function AnySelectorVisitor_visitCompoundSelector_closure(t0) {
  16325. this.$this = t0;
  16326. },
  16327. _EvaluateVisitor$0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  16328. var t1 = type$.Uri,
  16329. t2 = type$.Module_AsyncCallable,
  16330. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode);
  16331. t1 = 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), logger, A.LinkedHashSet_LinkedHashSet$_empty(type$.Record_2_String_and_SourceSpan), quietDeps, sourceMap, A.AsyncEnvironment$(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode), t3, B.Configuration_Map_empty_null);
  16332. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  16333. return t1;
  16334. },
  16335. _EvaluateVisitor0: function _EvaluateVisitor0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  16336. var _ = this;
  16337. _._async_evaluate$_importCache = t0;
  16338. _._async_evaluate$_nodeImporter = t1;
  16339. _._async_evaluate$_builtInFunctions = t2;
  16340. _._async_evaluate$_builtInModules = t3;
  16341. _._async_evaluate$_modules = t4;
  16342. _._async_evaluate$_moduleConfigurations = t5;
  16343. _._async_evaluate$_moduleNodes = t6;
  16344. _._async_evaluate$_logger = t7;
  16345. _._async_evaluate$_warningsEmitted = t8;
  16346. _._async_evaluate$_quietDeps = t9;
  16347. _._async_evaluate$_sourceMap = t10;
  16348. _._async_evaluate$_environment = t11;
  16349. _._async_evaluate$_declarationName = _._async_evaluate$__parent = _._async_evaluate$_mediaQuerySources = _._async_evaluate$_mediaQueries = _._async_evaluate$_styleRuleIgnoringAtRoot = null;
  16350. _._async_evaluate$_member = "root stylesheet";
  16351. _._async_evaluate$_importSpan = _._async_evaluate$_callableNode = _._async_evaluate$_currentCallable = null;
  16352. _._async_evaluate$_inSupportsDeclaration = _._async_evaluate$_inKeyframes = _._async_evaluate$_atRootExcludingStyleRule = _._async_evaluate$_inUnknownAtRule = _._async_evaluate$_inFunction = false;
  16353. _._async_evaluate$_loadedUrls = t12;
  16354. _._async_evaluate$_activeModules = t13;
  16355. _._async_evaluate$_stack = t14;
  16356. _._async_evaluate$_importer = null;
  16357. _._async_evaluate$_inDependency = false;
  16358. _._async_evaluate$__extensionStore = _._async_evaluate$_preModuleComments = _._async_evaluate$_outOfOrderImports = _._async_evaluate$__endOfImports = _._async_evaluate$__root = _._async_evaluate$__stylesheet = null;
  16359. _._async_evaluate$_configuration = t15;
  16360. },
  16361. _EvaluateVisitor_closure12: function _EvaluateVisitor_closure12(t0) {
  16362. this.$this = t0;
  16363. },
  16364. _EvaluateVisitor_closure13: function _EvaluateVisitor_closure13(t0) {
  16365. this.$this = t0;
  16366. },
  16367. _EvaluateVisitor_closure14: function _EvaluateVisitor_closure14(t0) {
  16368. this.$this = t0;
  16369. },
  16370. _EvaluateVisitor_closure15: function _EvaluateVisitor_closure15(t0) {
  16371. this.$this = t0;
  16372. },
  16373. _EvaluateVisitor_closure16: function _EvaluateVisitor_closure16(t0) {
  16374. this.$this = t0;
  16375. },
  16376. _EvaluateVisitor_closure17: function _EvaluateVisitor_closure17(t0) {
  16377. this.$this = t0;
  16378. },
  16379. _EvaluateVisitor_closure18: function _EvaluateVisitor_closure18(t0) {
  16380. this.$this = t0;
  16381. },
  16382. _EvaluateVisitor_closure19: function _EvaluateVisitor_closure19(t0) {
  16383. this.$this = t0;
  16384. },
  16385. _EvaluateVisitor_closure20: function _EvaluateVisitor_closure20(t0) {
  16386. this.$this = t0;
  16387. },
  16388. _EvaluateVisitor__closure6: function _EvaluateVisitor__closure6(t0, t1, t2) {
  16389. this.$this = t0;
  16390. this.name = t1;
  16391. this.module = t2;
  16392. },
  16393. _EvaluateVisitor_closure21: function _EvaluateVisitor_closure21(t0) {
  16394. this.$this = t0;
  16395. },
  16396. _EvaluateVisitor__closure5: function _EvaluateVisitor__closure5(t0, t1, t2) {
  16397. this.$this = t0;
  16398. this.name = t1;
  16399. this.module = t2;
  16400. },
  16401. _EvaluateVisitor_closure22: function _EvaluateVisitor_closure22(t0) {
  16402. this.$this = t0;
  16403. },
  16404. _EvaluateVisitor_closure23: function _EvaluateVisitor_closure23(t0) {
  16405. this.$this = t0;
  16406. },
  16407. _EvaluateVisitor__closure3: function _EvaluateVisitor__closure3(t0, t1, t2) {
  16408. this.values = t0;
  16409. this.span = t1;
  16410. this.callableNode = t2;
  16411. },
  16412. _EvaluateVisitor__closure4: function _EvaluateVisitor__closure4(t0) {
  16413. this.$this = t0;
  16414. },
  16415. _EvaluateVisitor_closure24: function _EvaluateVisitor_closure24(t0) {
  16416. this.$this = t0;
  16417. },
  16418. _EvaluateVisitor_run_closure0: function _EvaluateVisitor_run_closure0(t0, t1, t2) {
  16419. this.$this = t0;
  16420. this.node = t1;
  16421. this.importer = t2;
  16422. },
  16423. _EvaluateVisitor_run__closure0: function _EvaluateVisitor_run__closure0(t0, t1, t2) {
  16424. this.$this = t0;
  16425. this.importer = t1;
  16426. this.node = t2;
  16427. },
  16428. _EvaluateVisitor__loadModule_closure1: function _EvaluateVisitor__loadModule_closure1(t0, t1) {
  16429. this._box_1 = t0;
  16430. this.callback = t1;
  16431. },
  16432. _EvaluateVisitor__loadModule_closure2: function _EvaluateVisitor__loadModule_closure2(t0, t1, t2, t3, t4, t5, t6) {
  16433. var _ = this;
  16434. _.$this = t0;
  16435. _.url = t1;
  16436. _.nodeWithSpan = t2;
  16437. _.baseUrl = t3;
  16438. _.namesInErrors = t4;
  16439. _.configuration = t5;
  16440. _.callback = t6;
  16441. },
  16442. _EvaluateVisitor__loadModule__closure1: function _EvaluateVisitor__loadModule__closure1(t0, t1) {
  16443. this.$this = t0;
  16444. this.message = t1;
  16445. },
  16446. _EvaluateVisitor__loadModule__closure2: function _EvaluateVisitor__loadModule__closure2(t0, t1, t2) {
  16447. this._box_0 = t0;
  16448. this.callback = t1;
  16449. this.firstLoad = t2;
  16450. },
  16451. _EvaluateVisitor__execute_closure0: function _EvaluateVisitor__execute_closure0(t0, t1, t2, t3, t4, t5, t6) {
  16452. var _ = this;
  16453. _.$this = t0;
  16454. _.importer = t1;
  16455. _.stylesheet = t2;
  16456. _.extensionStore = t3;
  16457. _.configuration = t4;
  16458. _.css = t5;
  16459. _.preModuleComments = t6;
  16460. },
  16461. _EvaluateVisitor__combineCss_closure1: function _EvaluateVisitor__combineCss_closure1() {
  16462. },
  16463. _EvaluateVisitor__combineCss_closure2: function _EvaluateVisitor__combineCss_closure2(t0) {
  16464. this.selectors = t0;
  16465. },
  16466. _EvaluateVisitor__combineCss_visitModule0: function _EvaluateVisitor__combineCss_visitModule0(t0, t1, t2, t3, t4, t5) {
  16467. var _ = this;
  16468. _.$this = t0;
  16469. _.seen = t1;
  16470. _.clone = t2;
  16471. _.css = t3;
  16472. _.imports = t4;
  16473. _.sorted = t5;
  16474. },
  16475. _EvaluateVisitor__extendModules_closure1: function _EvaluateVisitor__extendModules_closure1(t0) {
  16476. this.originalSelectors = t0;
  16477. },
  16478. _EvaluateVisitor__extendModules_closure2: function _EvaluateVisitor__extendModules_closure2() {
  16479. },
  16480. _EvaluateVisitor_visitAtRootRule_closure1: function _EvaluateVisitor_visitAtRootRule_closure1(t0, t1) {
  16481. this.$this = t0;
  16482. this.node = t1;
  16483. },
  16484. _EvaluateVisitor_visitAtRootRule_closure2: function _EvaluateVisitor_visitAtRootRule_closure2(t0, t1) {
  16485. this.$this = t0;
  16486. this.node = t1;
  16487. },
  16488. _EvaluateVisitor__scopeForAtRoot_closure5: function _EvaluateVisitor__scopeForAtRoot_closure5(t0, t1, t2) {
  16489. this.$this = t0;
  16490. this.newParent = t1;
  16491. this.node = t2;
  16492. },
  16493. _EvaluateVisitor__scopeForAtRoot_closure6: function _EvaluateVisitor__scopeForAtRoot_closure6(t0, t1) {
  16494. this.$this = t0;
  16495. this.innerScope = t1;
  16496. },
  16497. _EvaluateVisitor__scopeForAtRoot_closure7: function _EvaluateVisitor__scopeForAtRoot_closure7(t0, t1) {
  16498. this.$this = t0;
  16499. this.innerScope = t1;
  16500. },
  16501. _EvaluateVisitor__scopeForAtRoot__closure0: function _EvaluateVisitor__scopeForAtRoot__closure0(t0, t1) {
  16502. this.innerScope = t0;
  16503. this.callback = t1;
  16504. },
  16505. _EvaluateVisitor__scopeForAtRoot_closure8: function _EvaluateVisitor__scopeForAtRoot_closure8(t0, t1) {
  16506. this.$this = t0;
  16507. this.innerScope = t1;
  16508. },
  16509. _EvaluateVisitor__scopeForAtRoot_closure9: function _EvaluateVisitor__scopeForAtRoot_closure9() {
  16510. },
  16511. _EvaluateVisitor__scopeForAtRoot_closure10: function _EvaluateVisitor__scopeForAtRoot_closure10(t0, t1) {
  16512. this.$this = t0;
  16513. this.innerScope = t1;
  16514. },
  16515. _EvaluateVisitor_visitContentRule_closure0: function _EvaluateVisitor_visitContentRule_closure0(t0, t1) {
  16516. this.$this = t0;
  16517. this.content = t1;
  16518. },
  16519. _EvaluateVisitor_visitDeclaration_closure0: function _EvaluateVisitor_visitDeclaration_closure0(t0, t1) {
  16520. this._box_0 = t0;
  16521. this.$this = t1;
  16522. },
  16523. _EvaluateVisitor_visitEachRule_closure2: function _EvaluateVisitor_visitEachRule_closure2(t0, t1, t2) {
  16524. this._box_0 = t0;
  16525. this.$this = t1;
  16526. this.nodeWithSpan = t2;
  16527. },
  16528. _EvaluateVisitor_visitEachRule_closure3: function _EvaluateVisitor_visitEachRule_closure3(t0, t1, t2) {
  16529. this._box_0 = t0;
  16530. this.$this = t1;
  16531. this.nodeWithSpan = t2;
  16532. },
  16533. _EvaluateVisitor_visitEachRule_closure4: function _EvaluateVisitor_visitEachRule_closure4(t0, t1, t2, t3) {
  16534. var _ = this;
  16535. _.$this = t0;
  16536. _.list = t1;
  16537. _.setVariables = t2;
  16538. _.node = t3;
  16539. },
  16540. _EvaluateVisitor_visitEachRule__closure0: function _EvaluateVisitor_visitEachRule__closure0(t0, t1, t2) {
  16541. this.$this = t0;
  16542. this.setVariables = t1;
  16543. this.node = t2;
  16544. },
  16545. _EvaluateVisitor_visitEachRule___closure0: function _EvaluateVisitor_visitEachRule___closure0(t0) {
  16546. this.$this = t0;
  16547. },
  16548. _EvaluateVisitor_visitAtRule_closure2: function _EvaluateVisitor_visitAtRule_closure2(t0) {
  16549. this.$this = t0;
  16550. },
  16551. _EvaluateVisitor_visitAtRule_closure3: function _EvaluateVisitor_visitAtRule_closure3(t0, t1, t2) {
  16552. this.$this = t0;
  16553. this.name = t1;
  16554. this.children = t2;
  16555. },
  16556. _EvaluateVisitor_visitAtRule__closure0: function _EvaluateVisitor_visitAtRule__closure0(t0, t1) {
  16557. this.$this = t0;
  16558. this.children = t1;
  16559. },
  16560. _EvaluateVisitor_visitAtRule_closure4: function _EvaluateVisitor_visitAtRule_closure4() {
  16561. },
  16562. _EvaluateVisitor_visitForRule_closure4: function _EvaluateVisitor_visitForRule_closure4(t0, t1) {
  16563. this.$this = t0;
  16564. this.node = t1;
  16565. },
  16566. _EvaluateVisitor_visitForRule_closure5: function _EvaluateVisitor_visitForRule_closure5(t0, t1) {
  16567. this.$this = t0;
  16568. this.node = t1;
  16569. },
  16570. _EvaluateVisitor_visitForRule_closure6: function _EvaluateVisitor_visitForRule_closure6(t0) {
  16571. this.fromNumber = t0;
  16572. },
  16573. _EvaluateVisitor_visitForRule_closure7: function _EvaluateVisitor_visitForRule_closure7(t0, t1) {
  16574. this.toNumber = t0;
  16575. this.fromNumber = t1;
  16576. },
  16577. _EvaluateVisitor_visitForRule_closure8: function _EvaluateVisitor_visitForRule_closure8(t0, t1, t2, t3, t4, t5) {
  16578. var _ = this;
  16579. _._box_0 = t0;
  16580. _.$this = t1;
  16581. _.node = t2;
  16582. _.from = t3;
  16583. _.direction = t4;
  16584. _.fromNumber = t5;
  16585. },
  16586. _EvaluateVisitor_visitForRule__closure0: function _EvaluateVisitor_visitForRule__closure0(t0) {
  16587. this.$this = t0;
  16588. },
  16589. _EvaluateVisitor_visitForwardRule_closure1: function _EvaluateVisitor_visitForwardRule_closure1(t0, t1) {
  16590. this.$this = t0;
  16591. this.node = t1;
  16592. },
  16593. _EvaluateVisitor_visitForwardRule_closure2: function _EvaluateVisitor_visitForwardRule_closure2(t0, t1) {
  16594. this.$this = t0;
  16595. this.node = t1;
  16596. },
  16597. _EvaluateVisitor__registerCommentsForModule_closure0: function _EvaluateVisitor__registerCommentsForModule_closure0() {
  16598. },
  16599. _EvaluateVisitor_visitIfRule_closure0: function _EvaluateVisitor_visitIfRule_closure0(t0) {
  16600. this.$this = t0;
  16601. },
  16602. _EvaluateVisitor_visitIfRule__closure0: function _EvaluateVisitor_visitIfRule__closure0(t0, t1) {
  16603. this.$this = t0;
  16604. this.clause = t1;
  16605. },
  16606. _EvaluateVisitor_visitIfRule___closure0: function _EvaluateVisitor_visitIfRule___closure0(t0) {
  16607. this.$this = t0;
  16608. },
  16609. _EvaluateVisitor__visitDynamicImport_closure0: function _EvaluateVisitor__visitDynamicImport_closure0(t0, t1) {
  16610. this.$this = t0;
  16611. this.$import = t1;
  16612. },
  16613. _EvaluateVisitor__visitDynamicImport__closure3: function _EvaluateVisitor__visitDynamicImport__closure3(t0) {
  16614. this.$this = t0;
  16615. },
  16616. _EvaluateVisitor__visitDynamicImport__closure4: function _EvaluateVisitor__visitDynamicImport__closure4() {
  16617. },
  16618. _EvaluateVisitor__visitDynamicImport__closure5: function _EvaluateVisitor__visitDynamicImport__closure5() {
  16619. },
  16620. _EvaluateVisitor__visitDynamicImport__closure6: function _EvaluateVisitor__visitDynamicImport__closure6(t0, t1, t2, t3, t4) {
  16621. var _ = this;
  16622. _._box_0 = t0;
  16623. _.$this = t1;
  16624. _.loadsUserDefinedModules = t2;
  16625. _.environment = t3;
  16626. _.children = t4;
  16627. },
  16628. _EvaluateVisitor__applyMixin_closure3: function _EvaluateVisitor__applyMixin_closure3(t0, t1, t2, t3) {
  16629. var _ = this;
  16630. _.$this = t0;
  16631. _.$arguments = t1;
  16632. _.mixin = t2;
  16633. _.nodeWithSpanWithoutContent = t3;
  16634. },
  16635. _EvaluateVisitor__applyMixin__closure2: function _EvaluateVisitor__applyMixin__closure2(t0, t1, t2, t3) {
  16636. var _ = this;
  16637. _.$this = t0;
  16638. _.$arguments = t1;
  16639. _.mixin = t2;
  16640. _.nodeWithSpanWithoutContent = t3;
  16641. },
  16642. _EvaluateVisitor__applyMixin_closure2: function _EvaluateVisitor__applyMixin_closure2(t0) {
  16643. this._1_0 = t0;
  16644. },
  16645. _EvaluateVisitor__applyMixin_closure4: function _EvaluateVisitor__applyMixin_closure4(t0, t1, t2, t3) {
  16646. var _ = this;
  16647. _.$this = t0;
  16648. _.contentCallable = t1;
  16649. _.mixin = t2;
  16650. _.nodeWithSpanWithoutContent = t3;
  16651. },
  16652. _EvaluateVisitor__applyMixin__closure1: function _EvaluateVisitor__applyMixin__closure1(t0, t1, t2) {
  16653. this.$this = t0;
  16654. this.mixin = t1;
  16655. this.nodeWithSpanWithoutContent = t2;
  16656. },
  16657. _EvaluateVisitor__applyMixin___closure0: function _EvaluateVisitor__applyMixin___closure0(t0, t1, t2) {
  16658. this.$this = t0;
  16659. this.mixin = t1;
  16660. this.nodeWithSpanWithoutContent = t2;
  16661. },
  16662. _EvaluateVisitor__applyMixin____closure0: function _EvaluateVisitor__applyMixin____closure0(t0, t1) {
  16663. this.$this = t0;
  16664. this.statement = t1;
  16665. },
  16666. _EvaluateVisitor_visitIncludeRule_closure2: function _EvaluateVisitor_visitIncludeRule_closure2(t0, t1) {
  16667. this.$this = t0;
  16668. this.node = t1;
  16669. },
  16670. _EvaluateVisitor_visitIncludeRule_closure3: function _EvaluateVisitor_visitIncludeRule_closure3(t0) {
  16671. this.$this = t0;
  16672. },
  16673. _EvaluateVisitor_visitIncludeRule_closure4: function _EvaluateVisitor_visitIncludeRule_closure4(t0) {
  16674. this.node = t0;
  16675. },
  16676. _EvaluateVisitor_visitMediaRule_closure2: function _EvaluateVisitor_visitMediaRule_closure2(t0, t1) {
  16677. this.$this = t0;
  16678. this.queries = t1;
  16679. },
  16680. _EvaluateVisitor_visitMediaRule_closure3: function _EvaluateVisitor_visitMediaRule_closure3(t0, t1, t2, t3, t4) {
  16681. var _ = this;
  16682. _.$this = t0;
  16683. _.mergedQueries = t1;
  16684. _.queries = t2;
  16685. _.mergedSources = t3;
  16686. _.node = t4;
  16687. },
  16688. _EvaluateVisitor_visitMediaRule__closure0: function _EvaluateVisitor_visitMediaRule__closure0(t0, t1) {
  16689. this.$this = t0;
  16690. this.node = t1;
  16691. },
  16692. _EvaluateVisitor_visitMediaRule___closure0: function _EvaluateVisitor_visitMediaRule___closure0(t0, t1) {
  16693. this.$this = t0;
  16694. this.node = t1;
  16695. },
  16696. _EvaluateVisitor_visitMediaRule_closure4: function _EvaluateVisitor_visitMediaRule_closure4(t0) {
  16697. this.mergedSources = t0;
  16698. },
  16699. _EvaluateVisitor_visitStyleRule_closure4: function _EvaluateVisitor_visitStyleRule_closure4(t0, t1) {
  16700. this.$this = t0;
  16701. this.node = t1;
  16702. },
  16703. _EvaluateVisitor_visitStyleRule_closure5: function _EvaluateVisitor_visitStyleRule_closure5() {
  16704. },
  16705. _EvaluateVisitor_visitStyleRule_closure6: function _EvaluateVisitor_visitStyleRule_closure6(t0, t1, t2) {
  16706. this.$this = t0;
  16707. this.rule = t1;
  16708. this.node = t2;
  16709. },
  16710. _EvaluateVisitor_visitStyleRule__closure0: function _EvaluateVisitor_visitStyleRule__closure0(t0, t1) {
  16711. this.$this = t0;
  16712. this.node = t1;
  16713. },
  16714. _EvaluateVisitor_visitStyleRule_closure7: function _EvaluateVisitor_visitStyleRule_closure7() {
  16715. },
  16716. _EvaluateVisitor_visitStyleRule_closure8: function _EvaluateVisitor_visitStyleRule_closure8() {
  16717. },
  16718. _EvaluateVisitor_visitSupportsRule_closure1: function _EvaluateVisitor_visitSupportsRule_closure1(t0, t1) {
  16719. this.$this = t0;
  16720. this.node = t1;
  16721. },
  16722. _EvaluateVisitor_visitSupportsRule__closure0: function _EvaluateVisitor_visitSupportsRule__closure0(t0, t1) {
  16723. this.$this = t0;
  16724. this.node = t1;
  16725. },
  16726. _EvaluateVisitor_visitSupportsRule_closure2: function _EvaluateVisitor_visitSupportsRule_closure2() {
  16727. },
  16728. _EvaluateVisitor__visitSupportsCondition_closure0: function _EvaluateVisitor__visitSupportsCondition_closure0(t0, t1) {
  16729. this._box_0 = t0;
  16730. this.$this = t1;
  16731. },
  16732. _EvaluateVisitor_visitVariableDeclaration_closure2: function _EvaluateVisitor_visitVariableDeclaration_closure2(t0, t1, t2) {
  16733. this._box_0 = t0;
  16734. this.$this = t1;
  16735. this.node = t2;
  16736. },
  16737. _EvaluateVisitor_visitVariableDeclaration_closure3: function _EvaluateVisitor_visitVariableDeclaration_closure3(t0, t1) {
  16738. this.$this = t0;
  16739. this.node = t1;
  16740. },
  16741. _EvaluateVisitor_visitVariableDeclaration_closure4: function _EvaluateVisitor_visitVariableDeclaration_closure4(t0, t1, t2) {
  16742. this.$this = t0;
  16743. this.node = t1;
  16744. this.value = t2;
  16745. },
  16746. _EvaluateVisitor_visitUseRule_closure0: function _EvaluateVisitor_visitUseRule_closure0(t0, t1) {
  16747. this.$this = t0;
  16748. this.node = t1;
  16749. },
  16750. _EvaluateVisitor_visitWarnRule_closure0: function _EvaluateVisitor_visitWarnRule_closure0(t0, t1) {
  16751. this.$this = t0;
  16752. this.node = t1;
  16753. },
  16754. _EvaluateVisitor_visitWhileRule_closure0: function _EvaluateVisitor_visitWhileRule_closure0(t0, t1) {
  16755. this.$this = t0;
  16756. this.node = t1;
  16757. },
  16758. _EvaluateVisitor_visitWhileRule__closure0: function _EvaluateVisitor_visitWhileRule__closure0(t0) {
  16759. this.$this = t0;
  16760. },
  16761. _EvaluateVisitor_visitBinaryOperationExpression_closure0: function _EvaluateVisitor_visitBinaryOperationExpression_closure0(t0, t1) {
  16762. this.$this = t0;
  16763. this.node = t1;
  16764. },
  16765. _EvaluateVisitor__slash_closure1: function _EvaluateVisitor__slash_closure1(t0) {
  16766. this._1_0 = t0;
  16767. },
  16768. _EvaluateVisitor__slash_closure2: function _EvaluateVisitor__slash_closure2(t0) {
  16769. this._1_0 = t0;
  16770. },
  16771. _EvaluateVisitor__slash_recommendation0: function _EvaluateVisitor__slash_recommendation0() {
  16772. },
  16773. _EvaluateVisitor_visitVariableExpression_closure0: function _EvaluateVisitor_visitVariableExpression_closure0(t0, t1) {
  16774. this.$this = t0;
  16775. this.node = t1;
  16776. },
  16777. _EvaluateVisitor_visitUnaryOperationExpression_closure0: function _EvaluateVisitor_visitUnaryOperationExpression_closure0(t0, t1) {
  16778. this.node = t0;
  16779. this.operand = t1;
  16780. },
  16781. _EvaluateVisitor_visitListExpression_closure0: function _EvaluateVisitor_visitListExpression_closure0(t0) {
  16782. this.$this = t0;
  16783. },
  16784. _EvaluateVisitor_visitFunctionExpression_closure2: function _EvaluateVisitor_visitFunctionExpression_closure2(t0, t1) {
  16785. this.$this = t0;
  16786. this.node = t1;
  16787. },
  16788. _EvaluateVisitor_visitFunctionExpression_closure3: function _EvaluateVisitor_visitFunctionExpression_closure3() {
  16789. },
  16790. _EvaluateVisitor_visitFunctionExpression_closure4: function _EvaluateVisitor_visitFunctionExpression_closure4(t0, t1, t2) {
  16791. this._box_0 = t0;
  16792. this.$this = t1;
  16793. this.node = t2;
  16794. },
  16795. _EvaluateVisitor__checkCalculationArguments_check0: function _EvaluateVisitor__checkCalculationArguments_check0(t0, t1) {
  16796. this.$this = t0;
  16797. this.node = t1;
  16798. },
  16799. _EvaluateVisitor__visitCalculationExpression_closure0: function _EvaluateVisitor__visitCalculationExpression_closure0(t0, t1, t2, t3) {
  16800. var _ = this;
  16801. _._box_0 = t0;
  16802. _.$this = t1;
  16803. _.node = t2;
  16804. _.inLegacySassFunction = t3;
  16805. },
  16806. _EvaluateVisitor__checkAdjacentCalculationValues_closure0: function _EvaluateVisitor__checkAdjacentCalculationValues_closure0(t0) {
  16807. this._0_0 = t0;
  16808. },
  16809. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure0(t0, t1, t2) {
  16810. this.$this = t0;
  16811. this.node = t1;
  16812. this.$function = t2;
  16813. },
  16814. _EvaluateVisitor__runUserDefinedCallable_closure0: function _EvaluateVisitor__runUserDefinedCallable_closure0(t0, t1, t2, t3, t4, t5) {
  16815. var _ = this;
  16816. _.$this = t0;
  16817. _.callable = t1;
  16818. _.evaluated = t2;
  16819. _.nodeWithSpan = t3;
  16820. _.run = t4;
  16821. _.V = t5;
  16822. },
  16823. _EvaluateVisitor__runUserDefinedCallable__closure0: function _EvaluateVisitor__runUserDefinedCallable__closure0(t0, t1, t2, t3, t4, t5) {
  16824. var _ = this;
  16825. _.$this = t0;
  16826. _.evaluated = t1;
  16827. _.callable = t2;
  16828. _.nodeWithSpan = t3;
  16829. _.run = t4;
  16830. _.V = t5;
  16831. },
  16832. _EvaluateVisitor__runUserDefinedCallable___closure0: function _EvaluateVisitor__runUserDefinedCallable___closure0(t0, t1, t2, t3, t4, t5) {
  16833. var _ = this;
  16834. _.$this = t0;
  16835. _.evaluated = t1;
  16836. _.callable = t2;
  16837. _.nodeWithSpan = t3;
  16838. _.run = t4;
  16839. _.V = t5;
  16840. },
  16841. _EvaluateVisitor__runUserDefinedCallable____closure0: function _EvaluateVisitor__runUserDefinedCallable____closure0() {
  16842. },
  16843. _EvaluateVisitor__runFunctionCallable_closure0: function _EvaluateVisitor__runFunctionCallable_closure0(t0, t1) {
  16844. this.$this = t0;
  16845. this.callable = t1;
  16846. },
  16847. _EvaluateVisitor__runBuiltInCallable_closure2: function _EvaluateVisitor__runBuiltInCallable_closure2(t0, t1, t2) {
  16848. this._box_0 = t0;
  16849. this.evaluated = t1;
  16850. this.namedSet = t2;
  16851. },
  16852. _EvaluateVisitor__runBuiltInCallable_closure3: function _EvaluateVisitor__runBuiltInCallable_closure3(t0, t1) {
  16853. this._box_0 = t0;
  16854. this.evaluated = t1;
  16855. },
  16856. _EvaluateVisitor__runBuiltInCallable_closure4: function _EvaluateVisitor__runBuiltInCallable_closure4() {
  16857. },
  16858. _EvaluateVisitor__evaluateArguments_closure3: function _EvaluateVisitor__evaluateArguments_closure3() {
  16859. },
  16860. _EvaluateVisitor__evaluateArguments_closure4: function _EvaluateVisitor__evaluateArguments_closure4(t0, t1) {
  16861. this.$this = t0;
  16862. this.restNodeForSpan = t1;
  16863. },
  16864. _EvaluateVisitor__evaluateArguments_closure5: function _EvaluateVisitor__evaluateArguments_closure5(t0, t1, t2, t3) {
  16865. var _ = this;
  16866. _.$this = t0;
  16867. _.named = t1;
  16868. _.restNodeForSpan = t2;
  16869. _.namedNodes = t3;
  16870. },
  16871. _EvaluateVisitor__evaluateArguments_closure6: function _EvaluateVisitor__evaluateArguments_closure6() {
  16872. },
  16873. _EvaluateVisitor__evaluateMacroArguments_closure3: function _EvaluateVisitor__evaluateMacroArguments_closure3(t0) {
  16874. this.restArgs = t0;
  16875. },
  16876. _EvaluateVisitor__evaluateMacroArguments_closure4: function _EvaluateVisitor__evaluateMacroArguments_closure4(t0, t1, t2) {
  16877. this.$this = t0;
  16878. this.restNodeForSpan = t1;
  16879. this.restArgs = t2;
  16880. },
  16881. _EvaluateVisitor__evaluateMacroArguments_closure5: function _EvaluateVisitor__evaluateMacroArguments_closure5(t0, t1, t2, t3) {
  16882. var _ = this;
  16883. _.$this = t0;
  16884. _.named = t1;
  16885. _.restNodeForSpan = t2;
  16886. _.restArgs = t3;
  16887. },
  16888. _EvaluateVisitor__evaluateMacroArguments_closure6: function _EvaluateVisitor__evaluateMacroArguments_closure6(t0, t1, t2) {
  16889. this.$this = t0;
  16890. this.keywordRestNodeForSpan = t1;
  16891. this.keywordRestArgs = t2;
  16892. },
  16893. _EvaluateVisitor__addRestMap_closure0: function _EvaluateVisitor__addRestMap_closure0(t0, t1, t2, t3, t4, t5) {
  16894. var _ = this;
  16895. _.$this = t0;
  16896. _.values = t1;
  16897. _.convert = t2;
  16898. _.expressionNode = t3;
  16899. _.map = t4;
  16900. _.nodeWithSpan = t5;
  16901. },
  16902. _EvaluateVisitor__verifyArguments_closure0: function _EvaluateVisitor__verifyArguments_closure0(t0, t1, t2) {
  16903. this.$arguments = t0;
  16904. this.positional = t1;
  16905. this.named = t2;
  16906. },
  16907. _EvaluateVisitor_visitCssAtRule_closure1: function _EvaluateVisitor_visitCssAtRule_closure1(t0, t1) {
  16908. this.$this = t0;
  16909. this.node = t1;
  16910. },
  16911. _EvaluateVisitor_visitCssAtRule_closure2: function _EvaluateVisitor_visitCssAtRule_closure2() {
  16912. },
  16913. _EvaluateVisitor_visitCssKeyframeBlock_closure1: function _EvaluateVisitor_visitCssKeyframeBlock_closure1(t0, t1) {
  16914. this.$this = t0;
  16915. this.node = t1;
  16916. },
  16917. _EvaluateVisitor_visitCssKeyframeBlock_closure2: function _EvaluateVisitor_visitCssKeyframeBlock_closure2() {
  16918. },
  16919. _EvaluateVisitor_visitCssMediaRule_closure2: function _EvaluateVisitor_visitCssMediaRule_closure2(t0, t1) {
  16920. this.$this = t0;
  16921. this.node = t1;
  16922. },
  16923. _EvaluateVisitor_visitCssMediaRule_closure3: function _EvaluateVisitor_visitCssMediaRule_closure3(t0, t1, t2, t3) {
  16924. var _ = this;
  16925. _.$this = t0;
  16926. _.mergedQueries = t1;
  16927. _.node = t2;
  16928. _.mergedSources = t3;
  16929. },
  16930. _EvaluateVisitor_visitCssMediaRule__closure0: function _EvaluateVisitor_visitCssMediaRule__closure0(t0, t1) {
  16931. this.$this = t0;
  16932. this.node = t1;
  16933. },
  16934. _EvaluateVisitor_visitCssMediaRule___closure0: function _EvaluateVisitor_visitCssMediaRule___closure0(t0, t1) {
  16935. this.$this = t0;
  16936. this.node = t1;
  16937. },
  16938. _EvaluateVisitor_visitCssMediaRule_closure4: function _EvaluateVisitor_visitCssMediaRule_closure4(t0) {
  16939. this.mergedSources = t0;
  16940. },
  16941. _EvaluateVisitor_visitCssStyleRule_closure2: function _EvaluateVisitor_visitCssStyleRule_closure2(t0, t1, t2) {
  16942. this.$this = t0;
  16943. this.rule = t1;
  16944. this.node = t2;
  16945. },
  16946. _EvaluateVisitor_visitCssStyleRule__closure0: function _EvaluateVisitor_visitCssStyleRule__closure0(t0, t1) {
  16947. this.$this = t0;
  16948. this.node = t1;
  16949. },
  16950. _EvaluateVisitor_visitCssStyleRule_closure3: function _EvaluateVisitor_visitCssStyleRule_closure3() {
  16951. },
  16952. _EvaluateVisitor_visitCssStyleRule_closure4: function _EvaluateVisitor_visitCssStyleRule_closure4(t0) {
  16953. this._0_0 = t0;
  16954. },
  16955. _EvaluateVisitor_visitCssSupportsRule_closure1: function _EvaluateVisitor_visitCssSupportsRule_closure1(t0, t1) {
  16956. this.$this = t0;
  16957. this.node = t1;
  16958. },
  16959. _EvaluateVisitor_visitCssSupportsRule__closure0: function _EvaluateVisitor_visitCssSupportsRule__closure0(t0, t1) {
  16960. this.$this = t0;
  16961. this.node = t1;
  16962. },
  16963. _EvaluateVisitor_visitCssSupportsRule_closure2: function _EvaluateVisitor_visitCssSupportsRule_closure2() {
  16964. },
  16965. _EvaluateVisitor__performInterpolationHelper_closure0: function _EvaluateVisitor__performInterpolationHelper_closure0(t0) {
  16966. this.interpolation = t0;
  16967. },
  16968. _EvaluateVisitor__serialize_closure0: function _EvaluateVisitor__serialize_closure0(t0, t1) {
  16969. this.value = t0;
  16970. this.quote = t1;
  16971. },
  16972. _EvaluateVisitor__expressionNode_closure0: function _EvaluateVisitor__expressionNode_closure0(t0, t1) {
  16973. this.$this = t0;
  16974. this.expression = t1;
  16975. },
  16976. _EvaluateVisitor__withoutSlash_recommendation0: function _EvaluateVisitor__withoutSlash_recommendation0() {
  16977. },
  16978. _EvaluateVisitor__stackFrame_closure0: function _EvaluateVisitor__stackFrame_closure0(t0) {
  16979. this.$this = t0;
  16980. },
  16981. _ImportedCssVisitor0: function _ImportedCssVisitor0(t0) {
  16982. this._async_evaluate$_visitor = t0;
  16983. },
  16984. _ImportedCssVisitor_visitCssAtRule_closure0: function _ImportedCssVisitor_visitCssAtRule_closure0() {
  16985. },
  16986. _ImportedCssVisitor_visitCssMediaRule_closure0: function _ImportedCssVisitor_visitCssMediaRule_closure0(t0) {
  16987. this.hasBeenMerged = t0;
  16988. },
  16989. _ImportedCssVisitor_visitCssStyleRule_closure0: function _ImportedCssVisitor_visitCssStyleRule_closure0() {
  16990. },
  16991. _ImportedCssVisitor_visitCssSupportsRule_closure0: function _ImportedCssVisitor_visitCssSupportsRule_closure0() {
  16992. },
  16993. _EvaluationContext0: function _EvaluationContext0(t0, t1) {
  16994. this._async_evaluate$_visitor = t0;
  16995. this._async_evaluate$_defaultWarnNodeWithSpan = t1;
  16996. },
  16997. cloneCssStylesheet(stylesheet, extensionStore) {
  16998. var _0_0 = extensionStore.clone$0();
  16999. return new A._Record_2(new A._CloneCssVisitor(_0_0._1)._visitChildren$2(A.ModifiableCssStylesheet$(stylesheet.get$span(stylesheet)), stylesheet), _0_0._0);
  17000. },
  17001. _CloneCssVisitor: function _CloneCssVisitor(t0) {
  17002. this._oldToNewSelectors = t0;
  17003. },
  17004. _EvaluateVisitor$(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  17005. var t1 = type$.Uri,
  17006. t2 = type$.Module_Callable,
  17007. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode);
  17008. t1 = 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), logger, A.LinkedHashSet_LinkedHashSet$_empty(type$.Record_2_String_and_SourceSpan), quietDeps, sourceMap, A.Environment$(), A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.nullable_AstNode), t3, B.Configuration_Map_empty_null);
  17009. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  17010. return t1;
  17011. },
  17012. Evaluator: function Evaluator(t0, t1) {
  17013. this._visitor = t0;
  17014. this._importer = t1;
  17015. },
  17016. _EvaluateVisitor: function _EvaluateVisitor(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  17017. var _ = this;
  17018. _._evaluate$_importCache = t0;
  17019. _._nodeImporter = t1;
  17020. _._builtInFunctions = t2;
  17021. _._builtInModules = t3;
  17022. _._modules = t4;
  17023. _._moduleConfigurations = t5;
  17024. _._moduleNodes = t6;
  17025. _._evaluate$_logger = t7;
  17026. _._warningsEmitted = t8;
  17027. _._quietDeps = t9;
  17028. _._sourceMap = t10;
  17029. _._environment = t11;
  17030. _._declarationName = _.__parent = _._mediaQuerySources = _._mediaQueries = _._styleRuleIgnoringAtRoot = null;
  17031. _._member = "root stylesheet";
  17032. _._importSpan = _._callableNode = _._currentCallable = null;
  17033. _._inSupportsDeclaration = _._inKeyframes = _._atRootExcludingStyleRule = _._inUnknownAtRule = _._inFunction = false;
  17034. _._loadedUrls = t12;
  17035. _._activeModules = t13;
  17036. _._stack = t14;
  17037. _._importer = null;
  17038. _._inDependency = false;
  17039. _.__extensionStore = _._preModuleComments = _._outOfOrderImports = _.__endOfImports = _.__root = _.__stylesheet = null;
  17040. _._configuration = t15;
  17041. },
  17042. _EvaluateVisitor_closure: function _EvaluateVisitor_closure(t0) {
  17043. this.$this = t0;
  17044. },
  17045. _EvaluateVisitor_closure0: function _EvaluateVisitor_closure0(t0) {
  17046. this.$this = t0;
  17047. },
  17048. _EvaluateVisitor_closure1: function _EvaluateVisitor_closure1(t0) {
  17049. this.$this = t0;
  17050. },
  17051. _EvaluateVisitor_closure2: function _EvaluateVisitor_closure2(t0) {
  17052. this.$this = t0;
  17053. },
  17054. _EvaluateVisitor_closure3: function _EvaluateVisitor_closure3(t0) {
  17055. this.$this = t0;
  17056. },
  17057. _EvaluateVisitor_closure4: function _EvaluateVisitor_closure4(t0) {
  17058. this.$this = t0;
  17059. },
  17060. _EvaluateVisitor_closure5: function _EvaluateVisitor_closure5(t0) {
  17061. this.$this = t0;
  17062. },
  17063. _EvaluateVisitor_closure6: function _EvaluateVisitor_closure6(t0) {
  17064. this.$this = t0;
  17065. },
  17066. _EvaluateVisitor_closure7: function _EvaluateVisitor_closure7(t0) {
  17067. this.$this = t0;
  17068. },
  17069. _EvaluateVisitor__closure2: function _EvaluateVisitor__closure2(t0, t1, t2) {
  17070. this.$this = t0;
  17071. this.name = t1;
  17072. this.module = t2;
  17073. },
  17074. _EvaluateVisitor_closure8: function _EvaluateVisitor_closure8(t0) {
  17075. this.$this = t0;
  17076. },
  17077. _EvaluateVisitor__closure1: function _EvaluateVisitor__closure1(t0, t1, t2) {
  17078. this.$this = t0;
  17079. this.name = t1;
  17080. this.module = t2;
  17081. },
  17082. _EvaluateVisitor_closure9: function _EvaluateVisitor_closure9(t0) {
  17083. this.$this = t0;
  17084. },
  17085. _EvaluateVisitor_closure10: function _EvaluateVisitor_closure10(t0) {
  17086. this.$this = t0;
  17087. },
  17088. _EvaluateVisitor__closure: function _EvaluateVisitor__closure(t0, t1, t2) {
  17089. this.values = t0;
  17090. this.span = t1;
  17091. this.callableNode = t2;
  17092. },
  17093. _EvaluateVisitor__closure0: function _EvaluateVisitor__closure0(t0) {
  17094. this.$this = t0;
  17095. },
  17096. _EvaluateVisitor_closure11: function _EvaluateVisitor_closure11(t0) {
  17097. this.$this = t0;
  17098. },
  17099. _EvaluateVisitor_run_closure: function _EvaluateVisitor_run_closure(t0, t1, t2) {
  17100. this.$this = t0;
  17101. this.node = t1;
  17102. this.importer = t2;
  17103. },
  17104. _EvaluateVisitor_run__closure: function _EvaluateVisitor_run__closure(t0, t1, t2) {
  17105. this.$this = t0;
  17106. this.importer = t1;
  17107. this.node = t2;
  17108. },
  17109. _EvaluateVisitor_runExpression_closure: function _EvaluateVisitor_runExpression_closure(t0, t1, t2) {
  17110. this.$this = t0;
  17111. this.importer = t1;
  17112. this.expression = t2;
  17113. },
  17114. _EvaluateVisitor_runExpression__closure: function _EvaluateVisitor_runExpression__closure(t0, t1) {
  17115. this.$this = t0;
  17116. this.expression = t1;
  17117. },
  17118. _EvaluateVisitor_runExpression___closure: function _EvaluateVisitor_runExpression___closure(t0, t1) {
  17119. this.$this = t0;
  17120. this.expression = t1;
  17121. },
  17122. _EvaluateVisitor_runStatement_closure: function _EvaluateVisitor_runStatement_closure(t0, t1, t2) {
  17123. this.$this = t0;
  17124. this.importer = t1;
  17125. this.statement = t2;
  17126. },
  17127. _EvaluateVisitor_runStatement__closure: function _EvaluateVisitor_runStatement__closure(t0, t1) {
  17128. this.$this = t0;
  17129. this.statement = t1;
  17130. },
  17131. _EvaluateVisitor_runStatement___closure: function _EvaluateVisitor_runStatement___closure(t0, t1) {
  17132. this.$this = t0;
  17133. this.statement = t1;
  17134. },
  17135. _EvaluateVisitor__loadModule_closure: function _EvaluateVisitor__loadModule_closure(t0, t1) {
  17136. this._box_1 = t0;
  17137. this.callback = t1;
  17138. },
  17139. _EvaluateVisitor__loadModule_closure0: function _EvaluateVisitor__loadModule_closure0(t0, t1, t2, t3, t4, t5, t6) {
  17140. var _ = this;
  17141. _.$this = t0;
  17142. _.url = t1;
  17143. _.nodeWithSpan = t2;
  17144. _.baseUrl = t3;
  17145. _.namesInErrors = t4;
  17146. _.configuration = t5;
  17147. _.callback = t6;
  17148. },
  17149. _EvaluateVisitor__loadModule__closure: function _EvaluateVisitor__loadModule__closure(t0, t1) {
  17150. this.$this = t0;
  17151. this.message = t1;
  17152. },
  17153. _EvaluateVisitor__loadModule__closure0: function _EvaluateVisitor__loadModule__closure0(t0, t1, t2) {
  17154. this._box_0 = t0;
  17155. this.callback = t1;
  17156. this.firstLoad = t2;
  17157. },
  17158. _EvaluateVisitor__execute_closure: function _EvaluateVisitor__execute_closure(t0, t1, t2, t3, t4, t5, t6) {
  17159. var _ = this;
  17160. _.$this = t0;
  17161. _.importer = t1;
  17162. _.stylesheet = t2;
  17163. _.extensionStore = t3;
  17164. _.configuration = t4;
  17165. _.css = t5;
  17166. _.preModuleComments = t6;
  17167. },
  17168. _EvaluateVisitor__combineCss_closure: function _EvaluateVisitor__combineCss_closure() {
  17169. },
  17170. _EvaluateVisitor__combineCss_closure0: function _EvaluateVisitor__combineCss_closure0(t0) {
  17171. this.selectors = t0;
  17172. },
  17173. _EvaluateVisitor__combineCss_visitModule: function _EvaluateVisitor__combineCss_visitModule(t0, t1, t2, t3, t4, t5) {
  17174. var _ = this;
  17175. _.$this = t0;
  17176. _.seen = t1;
  17177. _.clone = t2;
  17178. _.css = t3;
  17179. _.imports = t4;
  17180. _.sorted = t5;
  17181. },
  17182. _EvaluateVisitor__extendModules_closure: function _EvaluateVisitor__extendModules_closure(t0) {
  17183. this.originalSelectors = t0;
  17184. },
  17185. _EvaluateVisitor__extendModules_closure0: function _EvaluateVisitor__extendModules_closure0() {
  17186. },
  17187. _EvaluateVisitor_visitAtRootRule_closure: function _EvaluateVisitor_visitAtRootRule_closure(t0, t1) {
  17188. this.$this = t0;
  17189. this.node = t1;
  17190. },
  17191. _EvaluateVisitor_visitAtRootRule_closure0: function _EvaluateVisitor_visitAtRootRule_closure0(t0, t1) {
  17192. this.$this = t0;
  17193. this.node = t1;
  17194. },
  17195. _EvaluateVisitor__scopeForAtRoot_closure: function _EvaluateVisitor__scopeForAtRoot_closure(t0, t1, t2) {
  17196. this.$this = t0;
  17197. this.newParent = t1;
  17198. this.node = t2;
  17199. },
  17200. _EvaluateVisitor__scopeForAtRoot_closure0: function _EvaluateVisitor__scopeForAtRoot_closure0(t0, t1) {
  17201. this.$this = t0;
  17202. this.innerScope = t1;
  17203. },
  17204. _EvaluateVisitor__scopeForAtRoot_closure1: function _EvaluateVisitor__scopeForAtRoot_closure1(t0, t1) {
  17205. this.$this = t0;
  17206. this.innerScope = t1;
  17207. },
  17208. _EvaluateVisitor__scopeForAtRoot__closure: function _EvaluateVisitor__scopeForAtRoot__closure(t0, t1) {
  17209. this.innerScope = t0;
  17210. this.callback = t1;
  17211. },
  17212. _EvaluateVisitor__scopeForAtRoot_closure2: function _EvaluateVisitor__scopeForAtRoot_closure2(t0, t1) {
  17213. this.$this = t0;
  17214. this.innerScope = t1;
  17215. },
  17216. _EvaluateVisitor__scopeForAtRoot_closure3: function _EvaluateVisitor__scopeForAtRoot_closure3() {
  17217. },
  17218. _EvaluateVisitor__scopeForAtRoot_closure4: function _EvaluateVisitor__scopeForAtRoot_closure4(t0, t1) {
  17219. this.$this = t0;
  17220. this.innerScope = t1;
  17221. },
  17222. _EvaluateVisitor_visitContentRule_closure: function _EvaluateVisitor_visitContentRule_closure(t0, t1) {
  17223. this.$this = t0;
  17224. this.content = t1;
  17225. },
  17226. _EvaluateVisitor_visitDeclaration_closure: function _EvaluateVisitor_visitDeclaration_closure(t0, t1) {
  17227. this._box_0 = t0;
  17228. this.$this = t1;
  17229. },
  17230. _EvaluateVisitor_visitEachRule_closure: function _EvaluateVisitor_visitEachRule_closure(t0, t1, t2) {
  17231. this._box_0 = t0;
  17232. this.$this = t1;
  17233. this.nodeWithSpan = t2;
  17234. },
  17235. _EvaluateVisitor_visitEachRule_closure0: function _EvaluateVisitor_visitEachRule_closure0(t0, t1, t2) {
  17236. this._box_0 = t0;
  17237. this.$this = t1;
  17238. this.nodeWithSpan = t2;
  17239. },
  17240. _EvaluateVisitor_visitEachRule_closure1: function _EvaluateVisitor_visitEachRule_closure1(t0, t1, t2, t3) {
  17241. var _ = this;
  17242. _.$this = t0;
  17243. _.list = t1;
  17244. _.setVariables = t2;
  17245. _.node = t3;
  17246. },
  17247. _EvaluateVisitor_visitEachRule__closure: function _EvaluateVisitor_visitEachRule__closure(t0, t1, t2) {
  17248. this.$this = t0;
  17249. this.setVariables = t1;
  17250. this.node = t2;
  17251. },
  17252. _EvaluateVisitor_visitEachRule___closure: function _EvaluateVisitor_visitEachRule___closure(t0) {
  17253. this.$this = t0;
  17254. },
  17255. _EvaluateVisitor_visitAtRule_closure: function _EvaluateVisitor_visitAtRule_closure(t0) {
  17256. this.$this = t0;
  17257. },
  17258. _EvaluateVisitor_visitAtRule_closure0: function _EvaluateVisitor_visitAtRule_closure0(t0, t1, t2) {
  17259. this.$this = t0;
  17260. this.name = t1;
  17261. this.children = t2;
  17262. },
  17263. _EvaluateVisitor_visitAtRule__closure: function _EvaluateVisitor_visitAtRule__closure(t0, t1) {
  17264. this.$this = t0;
  17265. this.children = t1;
  17266. },
  17267. _EvaluateVisitor_visitAtRule_closure1: function _EvaluateVisitor_visitAtRule_closure1() {
  17268. },
  17269. _EvaluateVisitor_visitForRule_closure: function _EvaluateVisitor_visitForRule_closure(t0, t1) {
  17270. this.$this = t0;
  17271. this.node = t1;
  17272. },
  17273. _EvaluateVisitor_visitForRule_closure0: function _EvaluateVisitor_visitForRule_closure0(t0, t1) {
  17274. this.$this = t0;
  17275. this.node = t1;
  17276. },
  17277. _EvaluateVisitor_visitForRule_closure1: function _EvaluateVisitor_visitForRule_closure1(t0) {
  17278. this.fromNumber = t0;
  17279. },
  17280. _EvaluateVisitor_visitForRule_closure2: function _EvaluateVisitor_visitForRule_closure2(t0, t1) {
  17281. this.toNumber = t0;
  17282. this.fromNumber = t1;
  17283. },
  17284. _EvaluateVisitor_visitForRule_closure3: function _EvaluateVisitor_visitForRule_closure3(t0, t1, t2, t3, t4, t5) {
  17285. var _ = this;
  17286. _._box_0 = t0;
  17287. _.$this = t1;
  17288. _.node = t2;
  17289. _.from = t3;
  17290. _.direction = t4;
  17291. _.fromNumber = t5;
  17292. },
  17293. _EvaluateVisitor_visitForRule__closure: function _EvaluateVisitor_visitForRule__closure(t0) {
  17294. this.$this = t0;
  17295. },
  17296. _EvaluateVisitor_visitForwardRule_closure: function _EvaluateVisitor_visitForwardRule_closure(t0, t1) {
  17297. this.$this = t0;
  17298. this.node = t1;
  17299. },
  17300. _EvaluateVisitor_visitForwardRule_closure0: function _EvaluateVisitor_visitForwardRule_closure0(t0, t1) {
  17301. this.$this = t0;
  17302. this.node = t1;
  17303. },
  17304. _EvaluateVisitor__registerCommentsForModule_closure: function _EvaluateVisitor__registerCommentsForModule_closure() {
  17305. },
  17306. _EvaluateVisitor_visitIfRule_closure: function _EvaluateVisitor_visitIfRule_closure(t0) {
  17307. this.$this = t0;
  17308. },
  17309. _EvaluateVisitor_visitIfRule__closure: function _EvaluateVisitor_visitIfRule__closure(t0, t1) {
  17310. this.$this = t0;
  17311. this.clause = t1;
  17312. },
  17313. _EvaluateVisitor_visitIfRule___closure: function _EvaluateVisitor_visitIfRule___closure(t0) {
  17314. this.$this = t0;
  17315. },
  17316. _EvaluateVisitor__visitDynamicImport_closure: function _EvaluateVisitor__visitDynamicImport_closure(t0, t1) {
  17317. this.$this = t0;
  17318. this.$import = t1;
  17319. },
  17320. _EvaluateVisitor__visitDynamicImport__closure: function _EvaluateVisitor__visitDynamicImport__closure(t0) {
  17321. this.$this = t0;
  17322. },
  17323. _EvaluateVisitor__visitDynamicImport__closure0: function _EvaluateVisitor__visitDynamicImport__closure0() {
  17324. },
  17325. _EvaluateVisitor__visitDynamicImport__closure1: function _EvaluateVisitor__visitDynamicImport__closure1() {
  17326. },
  17327. _EvaluateVisitor__visitDynamicImport__closure2: function _EvaluateVisitor__visitDynamicImport__closure2(t0, t1, t2, t3, t4) {
  17328. var _ = this;
  17329. _._box_0 = t0;
  17330. _.$this = t1;
  17331. _.loadsUserDefinedModules = t2;
  17332. _.environment = t3;
  17333. _.children = t4;
  17334. },
  17335. _EvaluateVisitor__applyMixin_closure0: function _EvaluateVisitor__applyMixin_closure0(t0, t1, t2, t3) {
  17336. var _ = this;
  17337. _.$this = t0;
  17338. _.$arguments = t1;
  17339. _.mixin = t2;
  17340. _.nodeWithSpanWithoutContent = t3;
  17341. },
  17342. _EvaluateVisitor__applyMixin__closure0: function _EvaluateVisitor__applyMixin__closure0(t0, t1, t2, t3) {
  17343. var _ = this;
  17344. _.$this = t0;
  17345. _.$arguments = t1;
  17346. _.mixin = t2;
  17347. _.nodeWithSpanWithoutContent = t3;
  17348. },
  17349. _EvaluateVisitor__applyMixin_closure: function _EvaluateVisitor__applyMixin_closure(t0) {
  17350. this._1_0 = t0;
  17351. },
  17352. _EvaluateVisitor__applyMixin_closure1: function _EvaluateVisitor__applyMixin_closure1(t0, t1, t2, t3) {
  17353. var _ = this;
  17354. _.$this = t0;
  17355. _.contentCallable = t1;
  17356. _.mixin = t2;
  17357. _.nodeWithSpanWithoutContent = t3;
  17358. },
  17359. _EvaluateVisitor__applyMixin__closure: function _EvaluateVisitor__applyMixin__closure(t0, t1, t2) {
  17360. this.$this = t0;
  17361. this.mixin = t1;
  17362. this.nodeWithSpanWithoutContent = t2;
  17363. },
  17364. _EvaluateVisitor__applyMixin___closure: function _EvaluateVisitor__applyMixin___closure(t0, t1, t2) {
  17365. this.$this = t0;
  17366. this.mixin = t1;
  17367. this.nodeWithSpanWithoutContent = t2;
  17368. },
  17369. _EvaluateVisitor__applyMixin____closure: function _EvaluateVisitor__applyMixin____closure(t0, t1) {
  17370. this.$this = t0;
  17371. this.statement = t1;
  17372. },
  17373. _EvaluateVisitor_visitIncludeRule_closure: function _EvaluateVisitor_visitIncludeRule_closure(t0, t1) {
  17374. this.$this = t0;
  17375. this.node = t1;
  17376. },
  17377. _EvaluateVisitor_visitIncludeRule_closure0: function _EvaluateVisitor_visitIncludeRule_closure0(t0) {
  17378. this.$this = t0;
  17379. },
  17380. _EvaluateVisitor_visitIncludeRule_closure1: function _EvaluateVisitor_visitIncludeRule_closure1(t0) {
  17381. this.node = t0;
  17382. },
  17383. _EvaluateVisitor_visitMediaRule_closure: function _EvaluateVisitor_visitMediaRule_closure(t0, t1) {
  17384. this.$this = t0;
  17385. this.queries = t1;
  17386. },
  17387. _EvaluateVisitor_visitMediaRule_closure0: function _EvaluateVisitor_visitMediaRule_closure0(t0, t1, t2, t3, t4) {
  17388. var _ = this;
  17389. _.$this = t0;
  17390. _.mergedQueries = t1;
  17391. _.queries = t2;
  17392. _.mergedSources = t3;
  17393. _.node = t4;
  17394. },
  17395. _EvaluateVisitor_visitMediaRule__closure: function _EvaluateVisitor_visitMediaRule__closure(t0, t1) {
  17396. this.$this = t0;
  17397. this.node = t1;
  17398. },
  17399. _EvaluateVisitor_visitMediaRule___closure: function _EvaluateVisitor_visitMediaRule___closure(t0, t1) {
  17400. this.$this = t0;
  17401. this.node = t1;
  17402. },
  17403. _EvaluateVisitor_visitMediaRule_closure1: function _EvaluateVisitor_visitMediaRule_closure1(t0) {
  17404. this.mergedSources = t0;
  17405. },
  17406. _EvaluateVisitor_visitStyleRule_closure: function _EvaluateVisitor_visitStyleRule_closure(t0, t1) {
  17407. this.$this = t0;
  17408. this.node = t1;
  17409. },
  17410. _EvaluateVisitor_visitStyleRule_closure0: function _EvaluateVisitor_visitStyleRule_closure0() {
  17411. },
  17412. _EvaluateVisitor_visitStyleRule_closure1: function _EvaluateVisitor_visitStyleRule_closure1(t0, t1, t2) {
  17413. this.$this = t0;
  17414. this.rule = t1;
  17415. this.node = t2;
  17416. },
  17417. _EvaluateVisitor_visitStyleRule__closure: function _EvaluateVisitor_visitStyleRule__closure(t0, t1) {
  17418. this.$this = t0;
  17419. this.node = t1;
  17420. },
  17421. _EvaluateVisitor_visitStyleRule_closure2: function _EvaluateVisitor_visitStyleRule_closure2() {
  17422. },
  17423. _EvaluateVisitor_visitStyleRule_closure3: function _EvaluateVisitor_visitStyleRule_closure3() {
  17424. },
  17425. _EvaluateVisitor_visitSupportsRule_closure: function _EvaluateVisitor_visitSupportsRule_closure(t0, t1) {
  17426. this.$this = t0;
  17427. this.node = t1;
  17428. },
  17429. _EvaluateVisitor_visitSupportsRule__closure: function _EvaluateVisitor_visitSupportsRule__closure(t0, t1) {
  17430. this.$this = t0;
  17431. this.node = t1;
  17432. },
  17433. _EvaluateVisitor_visitSupportsRule_closure0: function _EvaluateVisitor_visitSupportsRule_closure0() {
  17434. },
  17435. _EvaluateVisitor__visitSupportsCondition_closure: function _EvaluateVisitor__visitSupportsCondition_closure(t0, t1) {
  17436. this._box_0 = t0;
  17437. this.$this = t1;
  17438. },
  17439. _EvaluateVisitor_visitVariableDeclaration_closure: function _EvaluateVisitor_visitVariableDeclaration_closure(t0, t1, t2) {
  17440. this._box_0 = t0;
  17441. this.$this = t1;
  17442. this.node = t2;
  17443. },
  17444. _EvaluateVisitor_visitVariableDeclaration_closure0: function _EvaluateVisitor_visitVariableDeclaration_closure0(t0, t1) {
  17445. this.$this = t0;
  17446. this.node = t1;
  17447. },
  17448. _EvaluateVisitor_visitVariableDeclaration_closure1: function _EvaluateVisitor_visitVariableDeclaration_closure1(t0, t1, t2) {
  17449. this.$this = t0;
  17450. this.node = t1;
  17451. this.value = t2;
  17452. },
  17453. _EvaluateVisitor_visitUseRule_closure: function _EvaluateVisitor_visitUseRule_closure(t0, t1) {
  17454. this.$this = t0;
  17455. this.node = t1;
  17456. },
  17457. _EvaluateVisitor_visitWarnRule_closure: function _EvaluateVisitor_visitWarnRule_closure(t0, t1) {
  17458. this.$this = t0;
  17459. this.node = t1;
  17460. },
  17461. _EvaluateVisitor_visitWhileRule_closure: function _EvaluateVisitor_visitWhileRule_closure(t0, t1) {
  17462. this.$this = t0;
  17463. this.node = t1;
  17464. },
  17465. _EvaluateVisitor_visitWhileRule__closure: function _EvaluateVisitor_visitWhileRule__closure(t0) {
  17466. this.$this = t0;
  17467. },
  17468. _EvaluateVisitor_visitBinaryOperationExpression_closure: function _EvaluateVisitor_visitBinaryOperationExpression_closure(t0, t1) {
  17469. this.$this = t0;
  17470. this.node = t1;
  17471. },
  17472. _EvaluateVisitor__slash_closure: function _EvaluateVisitor__slash_closure(t0) {
  17473. this._1_0 = t0;
  17474. },
  17475. _EvaluateVisitor__slash_closure0: function _EvaluateVisitor__slash_closure0(t0) {
  17476. this._1_0 = t0;
  17477. },
  17478. _EvaluateVisitor__slash_recommendation: function _EvaluateVisitor__slash_recommendation() {
  17479. },
  17480. _EvaluateVisitor_visitVariableExpression_closure: function _EvaluateVisitor_visitVariableExpression_closure(t0, t1) {
  17481. this.$this = t0;
  17482. this.node = t1;
  17483. },
  17484. _EvaluateVisitor_visitUnaryOperationExpression_closure: function _EvaluateVisitor_visitUnaryOperationExpression_closure(t0, t1) {
  17485. this.node = t0;
  17486. this.operand = t1;
  17487. },
  17488. _EvaluateVisitor_visitListExpression_closure: function _EvaluateVisitor_visitListExpression_closure(t0) {
  17489. this.$this = t0;
  17490. },
  17491. _EvaluateVisitor_visitFunctionExpression_closure: function _EvaluateVisitor_visitFunctionExpression_closure(t0, t1) {
  17492. this.$this = t0;
  17493. this.node = t1;
  17494. },
  17495. _EvaluateVisitor_visitFunctionExpression_closure0: function _EvaluateVisitor_visitFunctionExpression_closure0() {
  17496. },
  17497. _EvaluateVisitor_visitFunctionExpression_closure1: function _EvaluateVisitor_visitFunctionExpression_closure1(t0, t1, t2) {
  17498. this._box_0 = t0;
  17499. this.$this = t1;
  17500. this.node = t2;
  17501. },
  17502. _EvaluateVisitor__checkCalculationArguments_check: function _EvaluateVisitor__checkCalculationArguments_check(t0, t1) {
  17503. this.$this = t0;
  17504. this.node = t1;
  17505. },
  17506. _EvaluateVisitor__visitCalculationExpression_closure: function _EvaluateVisitor__visitCalculationExpression_closure(t0, t1, t2, t3) {
  17507. var _ = this;
  17508. _._box_0 = t0;
  17509. _.$this = t1;
  17510. _.node = t2;
  17511. _.inLegacySassFunction = t3;
  17512. },
  17513. _EvaluateVisitor__checkAdjacentCalculationValues_closure: function _EvaluateVisitor__checkAdjacentCalculationValues_closure(t0) {
  17514. this._0_0 = t0;
  17515. },
  17516. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure(t0, t1, t2) {
  17517. this.$this = t0;
  17518. this.node = t1;
  17519. this.$function = t2;
  17520. },
  17521. _EvaluateVisitor__runUserDefinedCallable_closure: function _EvaluateVisitor__runUserDefinedCallable_closure(t0, t1, t2, t3, t4, t5) {
  17522. var _ = this;
  17523. _.$this = t0;
  17524. _.callable = t1;
  17525. _.evaluated = t2;
  17526. _.nodeWithSpan = t3;
  17527. _.run = t4;
  17528. _.V = t5;
  17529. },
  17530. _EvaluateVisitor__runUserDefinedCallable__closure: function _EvaluateVisitor__runUserDefinedCallable__closure(t0, t1, t2, t3, t4, t5) {
  17531. var _ = this;
  17532. _.$this = t0;
  17533. _.evaluated = t1;
  17534. _.callable = t2;
  17535. _.nodeWithSpan = t3;
  17536. _.run = t4;
  17537. _.V = t5;
  17538. },
  17539. _EvaluateVisitor__runUserDefinedCallable___closure: function _EvaluateVisitor__runUserDefinedCallable___closure(t0, t1, t2, t3, t4, t5) {
  17540. var _ = this;
  17541. _.$this = t0;
  17542. _.evaluated = t1;
  17543. _.callable = t2;
  17544. _.nodeWithSpan = t3;
  17545. _.run = t4;
  17546. _.V = t5;
  17547. },
  17548. _EvaluateVisitor__runUserDefinedCallable____closure: function _EvaluateVisitor__runUserDefinedCallable____closure() {
  17549. },
  17550. _EvaluateVisitor__runFunctionCallable_closure: function _EvaluateVisitor__runFunctionCallable_closure(t0, t1) {
  17551. this.$this = t0;
  17552. this.callable = t1;
  17553. },
  17554. _EvaluateVisitor__runBuiltInCallable_closure: function _EvaluateVisitor__runBuiltInCallable_closure(t0, t1, t2) {
  17555. this._box_0 = t0;
  17556. this.evaluated = t1;
  17557. this.namedSet = t2;
  17558. },
  17559. _EvaluateVisitor__runBuiltInCallable_closure0: function _EvaluateVisitor__runBuiltInCallable_closure0(t0, t1) {
  17560. this._box_0 = t0;
  17561. this.evaluated = t1;
  17562. },
  17563. _EvaluateVisitor__runBuiltInCallable_closure1: function _EvaluateVisitor__runBuiltInCallable_closure1() {
  17564. },
  17565. _EvaluateVisitor__evaluateArguments_closure: function _EvaluateVisitor__evaluateArguments_closure() {
  17566. },
  17567. _EvaluateVisitor__evaluateArguments_closure0: function _EvaluateVisitor__evaluateArguments_closure0(t0, t1) {
  17568. this.$this = t0;
  17569. this.restNodeForSpan = t1;
  17570. },
  17571. _EvaluateVisitor__evaluateArguments_closure1: function _EvaluateVisitor__evaluateArguments_closure1(t0, t1, t2, t3) {
  17572. var _ = this;
  17573. _.$this = t0;
  17574. _.named = t1;
  17575. _.restNodeForSpan = t2;
  17576. _.namedNodes = t3;
  17577. },
  17578. _EvaluateVisitor__evaluateArguments_closure2: function _EvaluateVisitor__evaluateArguments_closure2() {
  17579. },
  17580. _EvaluateVisitor__evaluateMacroArguments_closure: function _EvaluateVisitor__evaluateMacroArguments_closure(t0) {
  17581. this.restArgs = t0;
  17582. },
  17583. _EvaluateVisitor__evaluateMacroArguments_closure0: function _EvaluateVisitor__evaluateMacroArguments_closure0(t0, t1, t2) {
  17584. this.$this = t0;
  17585. this.restNodeForSpan = t1;
  17586. this.restArgs = t2;
  17587. },
  17588. _EvaluateVisitor__evaluateMacroArguments_closure1: function _EvaluateVisitor__evaluateMacroArguments_closure1(t0, t1, t2, t3) {
  17589. var _ = this;
  17590. _.$this = t0;
  17591. _.named = t1;
  17592. _.restNodeForSpan = t2;
  17593. _.restArgs = t3;
  17594. },
  17595. _EvaluateVisitor__evaluateMacroArguments_closure2: function _EvaluateVisitor__evaluateMacroArguments_closure2(t0, t1, t2) {
  17596. this.$this = t0;
  17597. this.keywordRestNodeForSpan = t1;
  17598. this.keywordRestArgs = t2;
  17599. },
  17600. _EvaluateVisitor__addRestMap_closure: function _EvaluateVisitor__addRestMap_closure(t0, t1, t2, t3, t4, t5) {
  17601. var _ = this;
  17602. _.$this = t0;
  17603. _.values = t1;
  17604. _.convert = t2;
  17605. _.expressionNode = t3;
  17606. _.map = t4;
  17607. _.nodeWithSpan = t5;
  17608. },
  17609. _EvaluateVisitor__verifyArguments_closure: function _EvaluateVisitor__verifyArguments_closure(t0, t1, t2) {
  17610. this.$arguments = t0;
  17611. this.positional = t1;
  17612. this.named = t2;
  17613. },
  17614. _EvaluateVisitor_visitCssAtRule_closure: function _EvaluateVisitor_visitCssAtRule_closure(t0, t1) {
  17615. this.$this = t0;
  17616. this.node = t1;
  17617. },
  17618. _EvaluateVisitor_visitCssAtRule_closure0: function _EvaluateVisitor_visitCssAtRule_closure0() {
  17619. },
  17620. _EvaluateVisitor_visitCssKeyframeBlock_closure: function _EvaluateVisitor_visitCssKeyframeBlock_closure(t0, t1) {
  17621. this.$this = t0;
  17622. this.node = t1;
  17623. },
  17624. _EvaluateVisitor_visitCssKeyframeBlock_closure0: function _EvaluateVisitor_visitCssKeyframeBlock_closure0() {
  17625. },
  17626. _EvaluateVisitor_visitCssMediaRule_closure: function _EvaluateVisitor_visitCssMediaRule_closure(t0, t1) {
  17627. this.$this = t0;
  17628. this.node = t1;
  17629. },
  17630. _EvaluateVisitor_visitCssMediaRule_closure0: function _EvaluateVisitor_visitCssMediaRule_closure0(t0, t1, t2, t3) {
  17631. var _ = this;
  17632. _.$this = t0;
  17633. _.mergedQueries = t1;
  17634. _.node = t2;
  17635. _.mergedSources = t3;
  17636. },
  17637. _EvaluateVisitor_visitCssMediaRule__closure: function _EvaluateVisitor_visitCssMediaRule__closure(t0, t1) {
  17638. this.$this = t0;
  17639. this.node = t1;
  17640. },
  17641. _EvaluateVisitor_visitCssMediaRule___closure: function _EvaluateVisitor_visitCssMediaRule___closure(t0, t1) {
  17642. this.$this = t0;
  17643. this.node = t1;
  17644. },
  17645. _EvaluateVisitor_visitCssMediaRule_closure1: function _EvaluateVisitor_visitCssMediaRule_closure1(t0) {
  17646. this.mergedSources = t0;
  17647. },
  17648. _EvaluateVisitor_visitCssStyleRule_closure: function _EvaluateVisitor_visitCssStyleRule_closure(t0, t1, t2) {
  17649. this.$this = t0;
  17650. this.rule = t1;
  17651. this.node = t2;
  17652. },
  17653. _EvaluateVisitor_visitCssStyleRule__closure: function _EvaluateVisitor_visitCssStyleRule__closure(t0, t1) {
  17654. this.$this = t0;
  17655. this.node = t1;
  17656. },
  17657. _EvaluateVisitor_visitCssStyleRule_closure0: function _EvaluateVisitor_visitCssStyleRule_closure0() {
  17658. },
  17659. _EvaluateVisitor_visitCssStyleRule_closure1: function _EvaluateVisitor_visitCssStyleRule_closure1(t0) {
  17660. this._0_0 = t0;
  17661. },
  17662. _EvaluateVisitor_visitCssSupportsRule_closure: function _EvaluateVisitor_visitCssSupportsRule_closure(t0, t1) {
  17663. this.$this = t0;
  17664. this.node = t1;
  17665. },
  17666. _EvaluateVisitor_visitCssSupportsRule__closure: function _EvaluateVisitor_visitCssSupportsRule__closure(t0, t1) {
  17667. this.$this = t0;
  17668. this.node = t1;
  17669. },
  17670. _EvaluateVisitor_visitCssSupportsRule_closure0: function _EvaluateVisitor_visitCssSupportsRule_closure0() {
  17671. },
  17672. _EvaluateVisitor__performInterpolationHelper_closure: function _EvaluateVisitor__performInterpolationHelper_closure(t0) {
  17673. this.interpolation = t0;
  17674. },
  17675. _EvaluateVisitor__serialize_closure: function _EvaluateVisitor__serialize_closure(t0, t1) {
  17676. this.value = t0;
  17677. this.quote = t1;
  17678. },
  17679. _EvaluateVisitor__expressionNode_closure: function _EvaluateVisitor__expressionNode_closure(t0, t1) {
  17680. this.$this = t0;
  17681. this.expression = t1;
  17682. },
  17683. _EvaluateVisitor__withoutSlash_recommendation: function _EvaluateVisitor__withoutSlash_recommendation() {
  17684. },
  17685. _EvaluateVisitor__stackFrame_closure: function _EvaluateVisitor__stackFrame_closure(t0) {
  17686. this.$this = t0;
  17687. },
  17688. _ImportedCssVisitor: function _ImportedCssVisitor(t0) {
  17689. this._visitor = t0;
  17690. },
  17691. _ImportedCssVisitor_visitCssAtRule_closure: function _ImportedCssVisitor_visitCssAtRule_closure() {
  17692. },
  17693. _ImportedCssVisitor_visitCssMediaRule_closure: function _ImportedCssVisitor_visitCssMediaRule_closure(t0) {
  17694. this.hasBeenMerged = t0;
  17695. },
  17696. _ImportedCssVisitor_visitCssStyleRule_closure: function _ImportedCssVisitor_visitCssStyleRule_closure() {
  17697. },
  17698. _ImportedCssVisitor_visitCssSupportsRule_closure: function _ImportedCssVisitor_visitCssSupportsRule_closure() {
  17699. },
  17700. _EvaluationContext: function _EvaluationContext(t0, t1) {
  17701. this._visitor = t0;
  17702. this._defaultWarnNodeWithSpan = t1;
  17703. },
  17704. EveryCssVisitor: function EveryCssVisitor() {
  17705. },
  17706. EveryCssVisitor_visitCssAtRule_closure: function EveryCssVisitor_visitCssAtRule_closure(t0) {
  17707. this.$this = t0;
  17708. },
  17709. EveryCssVisitor_visitCssKeyframeBlock_closure: function EveryCssVisitor_visitCssKeyframeBlock_closure(t0) {
  17710. this.$this = t0;
  17711. },
  17712. EveryCssVisitor_visitCssMediaRule_closure: function EveryCssVisitor_visitCssMediaRule_closure(t0) {
  17713. this.$this = t0;
  17714. },
  17715. EveryCssVisitor_visitCssStyleRule_closure: function EveryCssVisitor_visitCssStyleRule_closure(t0) {
  17716. this.$this = t0;
  17717. },
  17718. EveryCssVisitor_visitCssStylesheet_closure: function EveryCssVisitor_visitCssStylesheet_closure(t0) {
  17719. this.$this = t0;
  17720. },
  17721. EveryCssVisitor_visitCssSupportsRule_closure: function EveryCssVisitor_visitCssSupportsRule_closure(t0) {
  17722. this.$this = t0;
  17723. },
  17724. expressionToCalc(expression) {
  17725. var t1 = A._setArrayType([B.C__MakeExpressionCalculationSafe.visitBinaryOperationExpression$1(expression)], type$.JSArray_Expression),
  17726. t2 = expression.get$span(expression),
  17727. t3 = type$.Expression;
  17728. return new A.FunctionExpression(null, "calc", new A.ArgumentInvocation(A.List_List$unmodifiable(t1, t3), A.ConstantMap_ConstantMap$from(B.Map_empty6, type$.String, t3), null, null, t2), expression.get$span(expression));
  17729. },
  17730. _MakeExpressionCalculationSafe: function _MakeExpressionCalculationSafe() {
  17731. },
  17732. __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor: function __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor() {
  17733. },
  17734. _FindDependenciesVisitor: function _FindDependenciesVisitor(t0, t1, t2, t3, t4) {
  17735. var _ = this;
  17736. _._find_dependencies$_uses = t0;
  17737. _._find_dependencies$_forwards = t1;
  17738. _._metaLoadCss = t2;
  17739. _._imports = t3;
  17740. _._metaNamespaces = t4;
  17741. },
  17742. _FindDependenciesVisitor_visitIncludeRule_closure: function _FindDependenciesVisitor_visitIncludeRule_closure(t0) {
  17743. this._0_0 = t0;
  17744. },
  17745. _FindDependenciesVisitor_visitIncludeRule_closure0: function _FindDependenciesVisitor_visitIncludeRule_closure0(t0) {
  17746. this._0_4 = t0;
  17747. },
  17748. DependencyReport: function DependencyReport(t0, t1, t2, t3) {
  17749. var _ = this;
  17750. _.uses = t0;
  17751. _.forwards = t1;
  17752. _.metaLoadCss = t2;
  17753. _.imports = t3;
  17754. },
  17755. __FindDependenciesVisitor_Object_RecursiveStatementVisitor: function __FindDependenciesVisitor_Object_RecursiveStatementVisitor() {
  17756. },
  17757. RecursiveStatementVisitor: function RecursiveStatementVisitor() {
  17758. },
  17759. ReplaceExpressionVisitor: function ReplaceExpressionVisitor() {
  17760. },
  17761. ReplaceExpressionVisitor_visitListExpression_closure: function ReplaceExpressionVisitor_visitListExpression_closure(t0) {
  17762. this.$this = t0;
  17763. },
  17764. ReplaceExpressionVisitor_visitArgumentInvocation_closure: function ReplaceExpressionVisitor_visitArgumentInvocation_closure(t0) {
  17765. this.$this = t0;
  17766. },
  17767. ReplaceExpressionVisitor_visitInterpolation_closure: function ReplaceExpressionVisitor_visitInterpolation_closure(t0) {
  17768. this.$this = t0;
  17769. },
  17770. SelectorSearchVisitor: function SelectorSearchVisitor() {
  17771. },
  17772. SelectorSearchVisitor_visitComplexSelector_closure: function SelectorSearchVisitor_visitComplexSelector_closure(t0) {
  17773. this.$this = t0;
  17774. },
  17775. SelectorSearchVisitor_visitCompoundSelector_closure: function SelectorSearchVisitor_visitCompoundSelector_closure(t0) {
  17776. this.$this = t0;
  17777. },
  17778. serialize(node, charset, indentWidth, inspect, lineFeed, sourceMap, style, useSpaces) {
  17779. var t1, css, t2, prefix,
  17780. visitor = A._SerializeVisitor$(2, inspect, lineFeed, true, sourceMap, style, true);
  17781. node.accept$1(visitor);
  17782. t1 = visitor._serialize$_buffer;
  17783. css = t1.toString$0(0);
  17784. if (charset) {
  17785. t2 = new A.CodeUnits(css);
  17786. t2 = t2.any$1(t2, new A.serialize_closure());
  17787. } else
  17788. t2 = false;
  17789. if (t2)
  17790. prefix = style === B.OutputStyle_1 ? "\ufeff" : '@charset "UTF-8";\n';
  17791. else
  17792. prefix = "";
  17793. t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
  17794. return new A._Record_2_sourceMap(prefix + css, t1);
  17795. },
  17796. serializeValue(value, inspect, quote) {
  17797. var visitor = A._SerializeVisitor$(null, inspect, null, quote, false, null, true);
  17798. value.accept$1(visitor);
  17799. return visitor._serialize$_buffer.toString$0(0);
  17800. },
  17801. serializeSelector(selector, inspect) {
  17802. var visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  17803. selector.accept$1(visitor);
  17804. return visitor._serialize$_buffer.toString$0(0);
  17805. },
  17806. _SerializeVisitor$(indentWidth, inspect, lineFeed, quote, sourceMap, style, useSpaces) {
  17807. var t1 = sourceMap ? new A.SourceMapBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer(new A.StringBuffer("")),
  17808. t2 = style == null ? B.OutputStyle_0 : style,
  17809. t3 = indentWidth == null ? 2 : indentWidth;
  17810. A.RangeError_checkValueInInterval(t3, 0, 10, "indentWidth");
  17811. return new A._SerializeVisitor(t1, t2, inspect, quote, 32, t3, B.LineFeed_lf);
  17812. },
  17813. serialize_closure: function serialize_closure() {
  17814. },
  17815. _SerializeVisitor: function _SerializeVisitor(t0, t1, t2, t3, t4, t5, t6) {
  17816. var _ = this;
  17817. _._serialize$_buffer = t0;
  17818. _._indentation = 0;
  17819. _._style = t1;
  17820. _._inspect = t2;
  17821. _._quote = t3;
  17822. _._indentCharacter = t4;
  17823. _._indentWidth = t5;
  17824. _._serialize$_lineFeed = t6;
  17825. },
  17826. _SerializeVisitor_visitCssComment_closure: function _SerializeVisitor_visitCssComment_closure(t0, t1) {
  17827. this.$this = t0;
  17828. this.node = t1;
  17829. },
  17830. _SerializeVisitor_visitCssAtRule_closure: function _SerializeVisitor_visitCssAtRule_closure(t0, t1) {
  17831. this.$this = t0;
  17832. this.node = t1;
  17833. },
  17834. _SerializeVisitor_visitCssMediaRule_closure: function _SerializeVisitor_visitCssMediaRule_closure(t0, t1) {
  17835. this.$this = t0;
  17836. this.node = t1;
  17837. },
  17838. _SerializeVisitor_visitCssImport_closure: function _SerializeVisitor_visitCssImport_closure(t0, t1) {
  17839. this.$this = t0;
  17840. this.node = t1;
  17841. },
  17842. _SerializeVisitor_visitCssImport__closure: function _SerializeVisitor_visitCssImport__closure(t0, t1) {
  17843. this.$this = t0;
  17844. this.node = t1;
  17845. },
  17846. _SerializeVisitor_visitCssKeyframeBlock_closure: function _SerializeVisitor_visitCssKeyframeBlock_closure(t0, t1) {
  17847. this.$this = t0;
  17848. this.node = t1;
  17849. },
  17850. _SerializeVisitor_visitCssStyleRule_closure: function _SerializeVisitor_visitCssStyleRule_closure(t0, t1) {
  17851. this.$this = t0;
  17852. this.node = t1;
  17853. },
  17854. _SerializeVisitor_visitCssSupportsRule_closure: function _SerializeVisitor_visitCssSupportsRule_closure(t0, t1) {
  17855. this.$this = t0;
  17856. this.node = t1;
  17857. },
  17858. _SerializeVisitor_visitCssDeclaration_closure: function _SerializeVisitor_visitCssDeclaration_closure(t0, t1) {
  17859. this.$this = t0;
  17860. this.node = t1;
  17861. },
  17862. _SerializeVisitor_visitCssDeclaration_closure0: function _SerializeVisitor_visitCssDeclaration_closure0(t0, t1) {
  17863. this.$this = t0;
  17864. this.node = t1;
  17865. },
  17866. _SerializeVisitor__writeCalculationValue_closure: function _SerializeVisitor__writeCalculationValue_closure(t0) {
  17867. this._2_0 = t0;
  17868. },
  17869. _SerializeVisitor_visitList_closure: function _SerializeVisitor_visitList_closure() {
  17870. },
  17871. _SerializeVisitor_visitList_closure0: function _SerializeVisitor_visitList_closure0(t0, t1) {
  17872. this.$this = t0;
  17873. this.value = t1;
  17874. },
  17875. _SerializeVisitor_visitList_closure1: function _SerializeVisitor_visitList_closure1(t0) {
  17876. this.$this = t0;
  17877. },
  17878. _SerializeVisitor_visitMap_closure: function _SerializeVisitor_visitMap_closure(t0) {
  17879. this.$this = t0;
  17880. },
  17881. _SerializeVisitor__visitQuotedString_closure: function _SerializeVisitor__visitQuotedString_closure(t0) {
  17882. this._1_0 = t0;
  17883. },
  17884. _SerializeVisitor__visitQuotedString_closure0: function _SerializeVisitor__visitQuotedString_closure0(t0) {
  17885. this._1_0 = t0;
  17886. },
  17887. _SerializeVisitor_visitSelectorList_closure: function _SerializeVisitor_visitSelectorList_closure() {
  17888. },
  17889. _SerializeVisitor_visitPseudoSelector_closure: function _SerializeVisitor_visitPseudoSelector_closure(t0) {
  17890. this._0_0 = t0;
  17891. },
  17892. _SerializeVisitor__write_closure: function _SerializeVisitor__write_closure(t0, t1) {
  17893. this.$this = t0;
  17894. this.value = t1;
  17895. },
  17896. _SerializeVisitor__visitChildren_closure: function _SerializeVisitor__visitChildren_closure(t0, t1) {
  17897. this.$this = t0;
  17898. this.child = t1;
  17899. },
  17900. _SerializeVisitor__visitChildren_closure0: function _SerializeVisitor__visitChildren_closure0(t0, t1) {
  17901. this.$this = t0;
  17902. this.child = t1;
  17903. },
  17904. OutputStyle: function OutputStyle(t0) {
  17905. this._name = t0;
  17906. },
  17907. LineFeed: function LineFeed(t0) {
  17908. this._name = t0;
  17909. },
  17910. StatementSearchVisitor: function StatementSearchVisitor() {
  17911. },
  17912. StatementSearchVisitor_visitIfRule_closure: function StatementSearchVisitor_visitIfRule_closure(t0) {
  17913. this.$this = t0;
  17914. },
  17915. StatementSearchVisitor_visitIfRule__closure0: function StatementSearchVisitor_visitIfRule__closure0(t0) {
  17916. this.$this = t0;
  17917. },
  17918. StatementSearchVisitor_visitIfRule_closure0: function StatementSearchVisitor_visitIfRule_closure0(t0) {
  17919. this.$this = t0;
  17920. },
  17921. StatementSearchVisitor_visitIfRule__closure: function StatementSearchVisitor_visitIfRule__closure(t0) {
  17922. this.$this = t0;
  17923. },
  17924. StatementSearchVisitor_visitChildren_closure: function StatementSearchVisitor_visitChildren_closure(t0) {
  17925. this.$this = t0;
  17926. },
  17927. Entry: function Entry(t0, t1, t2) {
  17928. this.source = t0;
  17929. this.target = t1;
  17930. this.identifierName = t2;
  17931. },
  17932. SingleMapping_SingleMapping$fromEntries(entries) {
  17933. var lines, t1, t2, urls, names, files, targetEntries, t3, t4, lineNum, _i, sourceEntry, t5, t6, sourceUrl, t7, urlId,
  17934. sourceEntries = J.toList$0$ax(entries);
  17935. B.JSArray_methods.sort$0(sourceEntries);
  17936. lines = A._setArrayType([], type$.JSArray_TargetLineEntry);
  17937. t1 = type$.String;
  17938. t2 = type$.int;
  17939. urls = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  17940. names = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  17941. files = A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.SourceFile);
  17942. targetEntries = A._Cell$();
  17943. 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) {
  17944. sourceEntry = sourceEntries[_i];
  17945. if (lineNum == null || sourceEntry.target.line > lineNum) {
  17946. lineNum = sourceEntry.target.line;
  17947. t5 = A._setArrayType([], t3);
  17948. targetEntries._value = t5;
  17949. lines.push(new A.TargetLineEntry(lineNum, t5));
  17950. }
  17951. t5 = sourceEntry.source;
  17952. t6 = t5.file;
  17953. sourceUrl = t6.url;
  17954. t7 = sourceUrl == null ? "" : sourceUrl.toString$0(0);
  17955. urlId = urls.putIfAbsent$2(t7, new A.SingleMapping_SingleMapping$fromEntries_closure(urls));
  17956. files.putIfAbsent$2(urlId, new A.SingleMapping_SingleMapping$fromEntries_closure0(sourceEntry));
  17957. t7 = targetEntries._value;
  17958. if (t7 === targetEntries)
  17959. A.throwExpression(A.LateError$localNI(t4));
  17960. t5 = t5.offset;
  17961. J.add$1$ax(t7, new A.TargetEntry(sourceEntry.target.column, urlId, t6.getLine$1(t5), t6.getColumn$1(t5), null));
  17962. }
  17963. t2 = urls.get$values(urls);
  17964. t2 = A.MappedIterable_MappedIterable(t2, new A.SingleMapping_SingleMapping$fromEntries_closure1(files), A._instanceType(t2)._eval$1("Iterable.E"), type$.nullable_SourceFile);
  17965. t2 = A.List_List$of(t2, true, A._instanceType(t2)._eval$1("Iterable.E"));
  17966. t3 = urls.$ti._eval$1("LinkedHashMapKeyIterable<1>");
  17967. t4 = names.$ti._eval$1("LinkedHashMapKeyIterable<1>");
  17968. 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));
  17969. },
  17970. Mapping: function Mapping() {
  17971. },
  17972. SingleMapping: function SingleMapping(t0, t1, t2, t3, t4, t5) {
  17973. var _ = this;
  17974. _.urls = t0;
  17975. _.names = t1;
  17976. _.files = t2;
  17977. _.lines = t3;
  17978. _.targetUrl = t4;
  17979. _.sourceRoot = null;
  17980. _.extensions = t5;
  17981. },
  17982. SingleMapping_SingleMapping$fromEntries_closure: function SingleMapping_SingleMapping$fromEntries_closure(t0) {
  17983. this.urls = t0;
  17984. },
  17985. SingleMapping_SingleMapping$fromEntries_closure0: function SingleMapping_SingleMapping$fromEntries_closure0(t0) {
  17986. this.sourceEntry = t0;
  17987. },
  17988. SingleMapping_SingleMapping$fromEntries_closure1: function SingleMapping_SingleMapping$fromEntries_closure1(t0) {
  17989. this.files = t0;
  17990. },
  17991. SingleMapping_toJson_closure: function SingleMapping_toJson_closure() {
  17992. },
  17993. SingleMapping_toJson_closure0: function SingleMapping_toJson_closure0(t0) {
  17994. this.result = t0;
  17995. },
  17996. TargetLineEntry: function TargetLineEntry(t0, t1) {
  17997. this.line = t0;
  17998. this.entries = t1;
  17999. },
  18000. TargetEntry: function TargetEntry(t0, t1, t2, t3, t4) {
  18001. var _ = this;
  18002. _.column = t0;
  18003. _.sourceUrlId = t1;
  18004. _.sourceLine = t2;
  18005. _.sourceColumn = t3;
  18006. _.sourceNameId = t4;
  18007. },
  18008. SourceFile$fromString(text, url) {
  18009. var t1 = new A.CodeUnits(text),
  18010. t2 = A._setArrayType([0], type$.JSArray_int),
  18011. t3 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
  18012. t2 = new A.SourceFile(t3, t2, new Uint32Array(A._ensureNativeList(t1.toList$0(t1))));
  18013. t2.SourceFile$decoded$2$url(t1, url);
  18014. return t2;
  18015. },
  18016. SourceFile$decoded(decodedChars, url) {
  18017. var t1 = A._setArrayType([0], type$.JSArray_int),
  18018. t2 = typeof url == "string" ? A.Uri_parse(url) : type$.nullable_Uri._as(url);
  18019. t1 = new A.SourceFile(t2, t1, new Uint32Array(A._ensureNativeList(J.toList$0$ax(decodedChars))));
  18020. t1.SourceFile$decoded$2$url(decodedChars, url);
  18021. return t1;
  18022. },
  18023. FileLocation$_(file, offset) {
  18024. if (offset < 0)
  18025. A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
  18026. else if (offset > file._decodedChars.length)
  18027. A.throwExpression(A.RangeError$("Offset " + offset + string$.x20must_n + file.get$length(file) + "."));
  18028. return new A.FileLocation(file, offset);
  18029. },
  18030. _FileSpan$(file, _start, _end) {
  18031. if (_end < _start)
  18032. A.throwExpression(A.ArgumentError$("End " + _end + " must come after start " + _start + ".", null));
  18033. else if (_end > file._decodedChars.length)
  18034. A.throwExpression(A.RangeError$("End " + _end + string$.x20must_n + file.get$length(file) + "."));
  18035. else if (_start < 0)
  18036. A.throwExpression(A.RangeError$("Start may not be negative, was " + _start + "."));
  18037. return new A._FileSpan(file, _start, _end);
  18038. },
  18039. FileSpanExtension_subspan(_this, start, end) {
  18040. var t1, startOffset, t2;
  18041. A.RangeError_checkValidRange(start, end, _this.get$length(_this));
  18042. if (start === 0)
  18043. t1 = end == null || end === _this.get$length(_this);
  18044. else
  18045. t1 = false;
  18046. if (t1)
  18047. return _this;
  18048. startOffset = _this.get$start(_this).offset;
  18049. t1 = _this.get$file(_this);
  18050. t2 = end == null ? _this.get$end(_this).offset : startOffset + end;
  18051. return t1.span$2(0, startOffset + start, t2);
  18052. },
  18053. SourceFile: function SourceFile(t0, t1, t2) {
  18054. var _ = this;
  18055. _.url = t0;
  18056. _._lineStarts = t1;
  18057. _._decodedChars = t2;
  18058. _._cachedLine = null;
  18059. },
  18060. FileLocation: function FileLocation(t0, t1) {
  18061. this.file = t0;
  18062. this.offset = t1;
  18063. },
  18064. _FileSpan: function _FileSpan(t0, t1, t2) {
  18065. this.file = t0;
  18066. this._file$_start = t1;
  18067. this._end = t2;
  18068. },
  18069. Highlighter$(span, color) {
  18070. var t1 = A.Highlighter__collateLines(A._setArrayType([A._Highlight$(span, null, true)], type$.JSArray__Highlight)),
  18071. t2 = new A.Highlighter_closure(color).call$0(),
  18072. t3 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1),
  18073. t4 = A.Highlighter__contiguous(t1) ? 0 : 3,
  18074. t5 = A._arrayInstanceType(t1);
  18075. 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(""));
  18076. },
  18077. Highlighter$multiple(primarySpan, primaryLabel, secondarySpans, color, primaryColor, secondaryColor) {
  18078. var t2, t3, t4, t5, t6,
  18079. t1 = A._setArrayType([A._Highlight$(primarySpan, primaryLabel, true)], type$.JSArray__Highlight);
  18080. for (t2 = secondarySpans.get$entries(secondarySpans), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  18081. t3 = t2.get$current(t2);
  18082. t1.push(A._Highlight$(t3.key, t3.value, false));
  18083. }
  18084. t1 = A.Highlighter__collateLines(t1);
  18085. if (color)
  18086. t2 = primaryColor == null ? "\x1b[31m" : primaryColor;
  18087. else
  18088. t2 = null;
  18089. if (color)
  18090. t3 = "\x1b[34m";
  18091. else
  18092. t3 = null;
  18093. t4 = B.JSInt_methods.toString$0(B.JSArray_methods.get$last(t1).number + 1);
  18094. t5 = A.Highlighter__contiguous(t1) ? 0 : 3;
  18095. t6 = A._arrayInstanceType(t1);
  18096. 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(""));
  18097. },
  18098. Highlighter__contiguous(lines) {
  18099. var i, thisLine, nextLine;
  18100. for (i = 0; i < lines.length - 1;) {
  18101. thisLine = lines[i];
  18102. ++i;
  18103. nextLine = lines[i];
  18104. if (thisLine.number + 1 !== nextLine.number && J.$eq$(thisLine.url, nextLine.url))
  18105. return false;
  18106. }
  18107. return true;
  18108. },
  18109. Highlighter__collateLines(highlights) {
  18110. var t1, t2, t3,
  18111. highlightsByUrl = A.groupBy(highlights, new A.Highlighter__collateLines_closure(), type$._Highlight, type$.Object);
  18112. 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();) {
  18113. t3 = t1.__internal$_current;
  18114. if (t3 == null)
  18115. t3 = t2._as(t3);
  18116. J.sort$1$ax(t3, new A.Highlighter__collateLines_closure0());
  18117. }
  18118. t1 = highlightsByUrl.get$entries(highlightsByUrl);
  18119. t2 = A._instanceType(t1)._eval$1("ExpandIterable<Iterable.E,_Line>");
  18120. return A.List_List$of(new A.ExpandIterable(t1, new A.Highlighter__collateLines_closure1(), t2), true, t2._eval$1("Iterable.E"));
  18121. },
  18122. _Highlight$(span, label, primary) {
  18123. var t2,
  18124. t1 = new A._Highlight_closure(span).call$0();
  18125. if (label == null)
  18126. t2 = null;
  18127. else
  18128. t2 = A.stringReplaceAllUnchecked(label, "\r\n", "\n");
  18129. return new A._Highlight(t1, primary, t2);
  18130. },
  18131. _Highlight__normalizeNewlines(span) {
  18132. var endOffset, t1, i, t2, t3, t4,
  18133. text = span.get$text();
  18134. if (!B.JSString_methods.contains$1(text, "\r\n"))
  18135. return span;
  18136. endOffset = span.get$end(span).get$offset();
  18137. for (t1 = text.length - 1, i = 0; i < t1; ++i)
  18138. if (text.charCodeAt(i) === 13 && text.charCodeAt(i + 1) === 10)
  18139. --endOffset;
  18140. t1 = span.get$start(span);
  18141. t2 = span.get$sourceUrl(span);
  18142. t3 = span.get$end(span).get$line();
  18143. t2 = A.SourceLocation$(endOffset, span.get$end(span).get$column(), t3, t2);
  18144. t3 = A.stringReplaceAllUnchecked(text, "\r\n", "\n");
  18145. t4 = span.get$context(span);
  18146. return A.SourceSpanWithContext$(t1, t2, t3, A.stringReplaceAllUnchecked(t4, "\r\n", "\n"));
  18147. },
  18148. _Highlight__normalizeTrailingNewline(span) {
  18149. var context, text, start, end, t1, t2, t3;
  18150. if (!B.JSString_methods.endsWith$1(span.get$context(span), "\n"))
  18151. return span;
  18152. if (B.JSString_methods.endsWith$1(span.get$text(), "\n\n"))
  18153. return span;
  18154. context = B.JSString_methods.substring$2(span.get$context(span), 0, span.get$context(span).length - 1);
  18155. text = span.get$text();
  18156. start = span.get$start(span);
  18157. end = span.get$end(span);
  18158. if (B.JSString_methods.endsWith$1(span.get$text(), "\n")) {
  18159. t1 = A.findLineStart(span.get$context(span), span.get$text(), span.get$start(span).get$column());
  18160. t1.toString;
  18161. t1 = t1 + span.get$start(span).get$column() + span.get$length(span) === span.get$context(span).length;
  18162. } else
  18163. t1 = false;
  18164. if (t1) {
  18165. text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
  18166. if (text.length === 0)
  18167. end = start;
  18168. else {
  18169. t1 = span.get$end(span).get$offset();
  18170. t2 = span.get$sourceUrl(span);
  18171. t3 = span.get$end(span).get$line();
  18172. end = A.SourceLocation$(t1 - 1, A._Highlight__lastLineLength(context), t3 - 1, t2);
  18173. start = span.get$start(span).get$offset() === span.get$end(span).get$offset() ? end : span.get$start(span);
  18174. }
  18175. }
  18176. return A.SourceSpanWithContext$(start, end, text, context);
  18177. },
  18178. _Highlight__normalizeEndOfLine(span) {
  18179. var text, t1, t2, t3, t4;
  18180. if (span.get$end(span).get$column() !== 0)
  18181. return span;
  18182. if (span.get$end(span).get$line() === span.get$start(span).get$line())
  18183. return span;
  18184. text = B.JSString_methods.substring$2(span.get$text(), 0, span.get$text().length - 1);
  18185. t1 = span.get$start(span);
  18186. t2 = span.get$end(span).get$offset();
  18187. t3 = span.get$sourceUrl(span);
  18188. t4 = span.get$end(span).get$line();
  18189. t3 = A.SourceLocation$(t2 - 1, text.length - B.JSString_methods.lastIndexOf$1(text, "\n") - 1, t4 - 1, t3);
  18190. 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));
  18191. },
  18192. _Highlight__lastLineLength(text) {
  18193. var t1 = text.length;
  18194. if (t1 === 0)
  18195. return 0;
  18196. else if (text.charCodeAt(t1 - 1) === 10)
  18197. return t1 === 1 ? 0 : t1 - B.JSString_methods.lastIndexOf$2(text, "\n", t1 - 2) - 1;
  18198. else
  18199. return t1 - B.JSString_methods.lastIndexOf$1(text, "\n") - 1;
  18200. },
  18201. Highlighter: function Highlighter(t0, t1, t2, t3, t4, t5, t6) {
  18202. var _ = this;
  18203. _._lines = t0;
  18204. _._primaryColor = t1;
  18205. _._secondaryColor = t2;
  18206. _._paddingBeforeSidebar = t3;
  18207. _._maxMultilineSpans = t4;
  18208. _._multipleFiles = t5;
  18209. _._highlighter$_buffer = t6;
  18210. },
  18211. Highlighter_closure: function Highlighter_closure(t0) {
  18212. this.color = t0;
  18213. },
  18214. Highlighter$__closure: function Highlighter$__closure() {
  18215. },
  18216. Highlighter$___closure: function Highlighter$___closure() {
  18217. },
  18218. Highlighter$__closure0: function Highlighter$__closure0() {
  18219. },
  18220. Highlighter__collateLines_closure: function Highlighter__collateLines_closure() {
  18221. },
  18222. Highlighter__collateLines_closure0: function Highlighter__collateLines_closure0() {
  18223. },
  18224. Highlighter__collateLines_closure1: function Highlighter__collateLines_closure1() {
  18225. },
  18226. Highlighter__collateLines__closure: function Highlighter__collateLines__closure(t0) {
  18227. this.line = t0;
  18228. },
  18229. Highlighter_highlight_closure: function Highlighter_highlight_closure() {
  18230. },
  18231. Highlighter__writeFileStart_closure: function Highlighter__writeFileStart_closure(t0) {
  18232. this.$this = t0;
  18233. },
  18234. Highlighter__writeMultilineHighlights_closure: function Highlighter__writeMultilineHighlights_closure(t0, t1, t2) {
  18235. this.$this = t0;
  18236. this.startLine = t1;
  18237. this.line = t2;
  18238. },
  18239. Highlighter__writeMultilineHighlights_closure0: function Highlighter__writeMultilineHighlights_closure0(t0, t1) {
  18240. this.$this = t0;
  18241. this.highlight = t1;
  18242. },
  18243. Highlighter__writeMultilineHighlights_closure1: function Highlighter__writeMultilineHighlights_closure1(t0) {
  18244. this.$this = t0;
  18245. },
  18246. Highlighter__writeMultilineHighlights_closure2: function Highlighter__writeMultilineHighlights_closure2(t0, t1, t2, t3, t4, t5, t6) {
  18247. var _ = this;
  18248. _._box_0 = t0;
  18249. _.$this = t1;
  18250. _.current = t2;
  18251. _.startLine = t3;
  18252. _.line = t4;
  18253. _.highlight = t5;
  18254. _.endLine = t6;
  18255. },
  18256. Highlighter__writeMultilineHighlights__closure: function Highlighter__writeMultilineHighlights__closure(t0, t1) {
  18257. this._box_0 = t0;
  18258. this.$this = t1;
  18259. },
  18260. Highlighter__writeMultilineHighlights__closure0: function Highlighter__writeMultilineHighlights__closure0(t0, t1) {
  18261. this.$this = t0;
  18262. this.vertical = t1;
  18263. },
  18264. Highlighter__writeHighlightedText_closure: function Highlighter__writeHighlightedText_closure(t0, t1, t2, t3) {
  18265. var _ = this;
  18266. _.$this = t0;
  18267. _.text = t1;
  18268. _.startColumn = t2;
  18269. _.endColumn = t3;
  18270. },
  18271. Highlighter__writeIndicator_closure: function Highlighter__writeIndicator_closure(t0, t1, t2) {
  18272. this.$this = t0;
  18273. this.line = t1;
  18274. this.highlight = t2;
  18275. },
  18276. Highlighter__writeIndicator_closure0: function Highlighter__writeIndicator_closure0(t0, t1, t2) {
  18277. this.$this = t0;
  18278. this.line = t1;
  18279. this.highlight = t2;
  18280. },
  18281. Highlighter__writeIndicator_closure1: function Highlighter__writeIndicator_closure1(t0, t1, t2, t3) {
  18282. var _ = this;
  18283. _.$this = t0;
  18284. _.coversWholeLine = t1;
  18285. _.line = t2;
  18286. _.highlight = t3;
  18287. },
  18288. Highlighter__writeLabel_closure: function Highlighter__writeLabel_closure(t0, t1) {
  18289. this.$this = t0;
  18290. this.lines = t1;
  18291. },
  18292. Highlighter__writeLabel_closure0: function Highlighter__writeLabel_closure0(t0, t1) {
  18293. this.$this = t0;
  18294. this.text = t1;
  18295. },
  18296. Highlighter__writeSidebar_closure: function Highlighter__writeSidebar_closure(t0, t1, t2) {
  18297. this._box_0 = t0;
  18298. this.$this = t1;
  18299. this.end = t2;
  18300. },
  18301. _Highlight: function _Highlight(t0, t1, t2) {
  18302. this.span = t0;
  18303. this.isPrimary = t1;
  18304. this.label = t2;
  18305. },
  18306. _Highlight_closure: function _Highlight_closure(t0) {
  18307. this.span = t0;
  18308. },
  18309. _Line: function _Line(t0, t1, t2, t3) {
  18310. var _ = this;
  18311. _.text = t0;
  18312. _.number = t1;
  18313. _.url = t2;
  18314. _.highlights = t3;
  18315. },
  18316. SourceLocation$(offset, column, line, sourceUrl) {
  18317. var t1 = line == null,
  18318. t2 = t1 ? 0 : line,
  18319. t3 = column == null,
  18320. t4 = t3 ? offset : column;
  18321. if (offset < 0)
  18322. A.throwExpression(A.RangeError$("Offset may not be negative, was " + offset + "."));
  18323. else if (!t1 && line < 0)
  18324. A.throwExpression(A.RangeError$("Line may not be negative, was " + A.S(line) + "."));
  18325. else if (!t3 && column < 0)
  18326. A.throwExpression(A.RangeError$("Column may not be negative, was " + A.S(column) + "."));
  18327. return new A.SourceLocation(sourceUrl, offset, t2, t4);
  18328. },
  18329. SourceLocation: function SourceLocation(t0, t1, t2, t3) {
  18330. var _ = this;
  18331. _.sourceUrl = t0;
  18332. _.offset = t1;
  18333. _.line = t2;
  18334. _.column = t3;
  18335. },
  18336. SourceLocationMixin: function SourceLocationMixin() {
  18337. },
  18338. SourceSpanExtension_messageMultiple(_this, message, label, secondarySpans, color, primaryColor, secondaryColor) {
  18339. var t2, t3,
  18340. t1 = _this.get$start(_this);
  18341. t1 = t1.file.getLine$1(t1.offset);
  18342. t2 = _this.get$start(_this);
  18343. t2 = "" + ("line " + (t1 + 1) + ", column " + (t2.file.getColumn$1(t2.offset) + 1));
  18344. if (_this.get$sourceUrl(_this) != null) {
  18345. t1 = _this.get$sourceUrl(_this);
  18346. t3 = $.$get$context();
  18347. t1.toString;
  18348. t1 = t2 + (" of " + t3.prettyUri$1(t1));
  18349. } else
  18350. t1 = t2;
  18351. t1 = t1 + (": " + message + "\n") + A.Highlighter$multiple(_this, label, secondarySpans, color, primaryColor, secondaryColor).highlight$0();
  18352. return t1.charCodeAt(0) == 0 ? t1 : t1;
  18353. },
  18354. SourceSpanBase: function SourceSpanBase() {
  18355. },
  18356. SourceSpanException: function SourceSpanException() {
  18357. },
  18358. SourceSpanFormatException: function SourceSpanFormatException(t0, t1, t2) {
  18359. this.source = t0;
  18360. this._span_exception$_message = t1;
  18361. this._span = t2;
  18362. },
  18363. MultiSourceSpanException: function MultiSourceSpanException() {
  18364. },
  18365. MultiSourceSpanFormatException: function MultiSourceSpanFormatException(t0, t1, t2, t3) {
  18366. var _ = this;
  18367. _.primaryLabel = t0;
  18368. _.secondarySpans = t1;
  18369. _._span_exception$_message = t2;
  18370. _._span = t3;
  18371. },
  18372. SourceSpanMixin: function SourceSpanMixin() {
  18373. },
  18374. SourceSpanWithContext$(start, end, text, _context) {
  18375. var t1 = new A.SourceSpanWithContext(_context, start, end, text);
  18376. t1.SourceSpanBase$3(start, end, text);
  18377. if (!B.JSString_methods.contains$1(_context, text))
  18378. A.throwExpression(A.ArgumentError$('The context line "' + _context + '" must contain "' + text + '".', null));
  18379. if (A.findLineStart(_context, text, start.get$column()) == null)
  18380. A.throwExpression(A.ArgumentError$('The span text "' + text + '" must start at column ' + (start.get$column() + 1) + ' in a line within "' + _context + '".', null));
  18381. return t1;
  18382. },
  18383. SourceSpanWithContext: function SourceSpanWithContext(t0, t1, t2, t3) {
  18384. var _ = this;
  18385. _._context = t0;
  18386. _.start = t1;
  18387. _.end = t2;
  18388. _.text = t3;
  18389. },
  18390. Chain_Chain$parse(chain) {
  18391. var t1, t2,
  18392. _s51_ = string$.x3d_____;
  18393. if (chain.length === 0)
  18394. return new A.Chain(A.List_List$unmodifiable(A._setArrayType([], type$.JSArray_Trace), type$.Trace));
  18395. t1 = $.$get$vmChainGap();
  18396. if (B.JSString_methods.contains$1(chain, t1)) {
  18397. t1 = B.JSString_methods.split$1(chain, t1);
  18398. t2 = A._arrayInstanceType(t1);
  18399. 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>")), A.trace_Trace___parseVM_tearOff$closure(), t2._eval$1("MappedIterable<1,Trace>")), type$.Trace));
  18400. }
  18401. if (!B.JSString_methods.contains$1(chain, _s51_))
  18402. return new A.Chain(A.List_List$unmodifiable(A._setArrayType([A.Trace_Trace$parse(chain)], type$.JSArray_Trace), type$.Trace));
  18403. return new A.Chain(A.List_List$unmodifiable(new A.MappedListIterable(A._setArrayType(chain.split(_s51_), type$.JSArray_String), A.trace_Trace___parseFriendly_tearOff$closure(), type$.MappedListIterable_String_Trace), type$.Trace));
  18404. },
  18405. Chain: function Chain(t0) {
  18406. this.traces = t0;
  18407. },
  18408. Chain_Chain$parse_closure: function Chain_Chain$parse_closure() {
  18409. },
  18410. Chain_toTrace_closure: function Chain_toTrace_closure() {
  18411. },
  18412. Chain_toString_closure0: function Chain_toString_closure0() {
  18413. },
  18414. Chain_toString__closure0: function Chain_toString__closure0() {
  18415. },
  18416. Chain_toString_closure: function Chain_toString_closure(t0) {
  18417. this.longest = t0;
  18418. },
  18419. Chain_toString__closure: function Chain_toString__closure(t0) {
  18420. this.longest = t0;
  18421. },
  18422. Frame___parseVM_tearOff(frame) {
  18423. return A.Frame_Frame$parseVM(frame);
  18424. },
  18425. Frame_Frame$parseVM(frame) {
  18426. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseVM_closure(frame));
  18427. },
  18428. Frame___parseV8_tearOff(frame) {
  18429. return A.Frame_Frame$parseV8(frame);
  18430. },
  18431. Frame_Frame$parseV8(frame) {
  18432. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseV8_closure(frame));
  18433. },
  18434. Frame_Frame$_parseFirefoxEval(frame) {
  18435. return A.Frame__catchFormatException(frame, new A.Frame_Frame$_parseFirefoxEval_closure(frame));
  18436. },
  18437. Frame___parseFirefox_tearOff(frame) {
  18438. return A.Frame_Frame$parseFirefox(frame);
  18439. },
  18440. Frame_Frame$parseFirefox(frame) {
  18441. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFirefox_closure(frame));
  18442. },
  18443. Frame___parseFriendly_tearOff(frame) {
  18444. return A.Frame_Frame$parseFriendly(frame);
  18445. },
  18446. Frame_Frame$parseFriendly(frame) {
  18447. return A.Frame__catchFormatException(frame, new A.Frame_Frame$parseFriendly_closure(frame));
  18448. },
  18449. Frame__uriOrPathToUri(uriOrPath) {
  18450. if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__uriRegExp()))
  18451. return A.Uri_parse(uriOrPath);
  18452. else if (B.JSString_methods.contains$1(uriOrPath, $.$get$Frame__windowsRegExp()))
  18453. return A._Uri__Uri$file(uriOrPath, true);
  18454. else if (B.JSString_methods.startsWith$1(uriOrPath, "/"))
  18455. return A._Uri__Uri$file(uriOrPath, false);
  18456. if (B.JSString_methods.contains$1(uriOrPath, "\\"))
  18457. return $.$get$windows().toUri$1(uriOrPath);
  18458. return A.Uri_parse(uriOrPath);
  18459. },
  18460. Frame__catchFormatException(text, body) {
  18461. var t1, exception;
  18462. try {
  18463. t1 = body.call$0();
  18464. return t1;
  18465. } catch (exception) {
  18466. if (type$.FormatException._is(A.unwrapException(exception)))
  18467. return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), text);
  18468. else
  18469. throw exception;
  18470. }
  18471. },
  18472. Frame: function Frame(t0, t1, t2, t3) {
  18473. var _ = this;
  18474. _.uri = t0;
  18475. _.line = t1;
  18476. _.column = t2;
  18477. _.member = t3;
  18478. },
  18479. Frame_Frame$parseVM_closure: function Frame_Frame$parseVM_closure(t0) {
  18480. this.frame = t0;
  18481. },
  18482. Frame_Frame$parseV8_closure: function Frame_Frame$parseV8_closure(t0) {
  18483. this.frame = t0;
  18484. },
  18485. Frame_Frame$parseV8_closure_parseLocation: function Frame_Frame$parseV8_closure_parseLocation(t0) {
  18486. this.frame = t0;
  18487. },
  18488. Frame_Frame$_parseFirefoxEval_closure: function Frame_Frame$_parseFirefoxEval_closure(t0) {
  18489. this.frame = t0;
  18490. },
  18491. Frame_Frame$parseFirefox_closure: function Frame_Frame$parseFirefox_closure(t0) {
  18492. this.frame = t0;
  18493. },
  18494. Frame_Frame$parseFriendly_closure: function Frame_Frame$parseFriendly_closure(t0) {
  18495. this.frame = t0;
  18496. },
  18497. LazyTrace: function LazyTrace(t0) {
  18498. this._thunk = t0;
  18499. this.__LazyTrace__trace_FI = $;
  18500. },
  18501. LazyTrace_terse_closure: function LazyTrace_terse_closure(t0) {
  18502. this.$this = t0;
  18503. },
  18504. Trace_Trace$from(trace) {
  18505. if (type$.Trace._is(trace))
  18506. return trace;
  18507. if (trace instanceof A.Chain)
  18508. return trace.toTrace$0();
  18509. return new A.LazyTrace(new A.Trace_Trace$from_closure(trace));
  18510. },
  18511. Trace_Trace$parse(trace) {
  18512. var error, t1, exception;
  18513. try {
  18514. if (trace.length === 0) {
  18515. t1 = A.Trace$(A._setArrayType([], type$.JSArray_Frame), null);
  18516. return t1;
  18517. }
  18518. if (B.JSString_methods.contains$1(trace, $.$get$_v8Trace())) {
  18519. t1 = A.Trace$parseV8(trace);
  18520. return t1;
  18521. }
  18522. if (B.JSString_methods.contains$1(trace, "\tat ")) {
  18523. t1 = A.Trace$parseJSCore(trace);
  18524. return t1;
  18525. }
  18526. if (B.JSString_methods.contains$1(trace, $.$get$_firefoxSafariTrace()) || B.JSString_methods.contains$1(trace, $.$get$_firefoxEvalTrace())) {
  18527. t1 = A.Trace$parseFirefox(trace);
  18528. return t1;
  18529. }
  18530. if (B.JSString_methods.contains$1(trace, string$.x3d_____)) {
  18531. t1 = A.Chain_Chain$parse(trace).toTrace$0();
  18532. return t1;
  18533. }
  18534. if (B.JSString_methods.contains$1(trace, $.$get$_friendlyTrace())) {
  18535. t1 = A.Trace$parseFriendly(trace);
  18536. return t1;
  18537. }
  18538. t1 = A.Trace$parseVM(trace);
  18539. return t1;
  18540. } catch (exception) {
  18541. t1 = A.unwrapException(exception);
  18542. if (type$.FormatException._is(t1)) {
  18543. error = t1;
  18544. throw A.wrapException(A.FormatException$(J.get$message$x(error) + "\nStack trace:\n" + trace, null, null));
  18545. } else
  18546. throw exception;
  18547. }
  18548. },
  18549. Trace___parseVM_tearOff(trace) {
  18550. return A.Trace$parseVM(trace);
  18551. },
  18552. Trace$parseVM(trace) {
  18553. var t1 = A.List_List$unmodifiable(A.Trace__parseVM(trace), type$.Frame);
  18554. return new A.Trace(t1, new A._StringStackTrace(trace));
  18555. },
  18556. Trace__parseVM(trace) {
  18557. var $frames,
  18558. t1 = B.JSString_methods.trim$0(trace),
  18559. t2 = $.$get$vmChainGap(),
  18560. t3 = type$.WhereIterable_String,
  18561. lines = new A.WhereIterable(A._setArrayType(A.stringReplaceAllUnchecked(t1, t2, "").split("\n"), type$.JSArray_String), new A.Trace__parseVM_closure(), t3);
  18562. if (!lines.get$iterator(lines).moveNext$0())
  18563. return A._setArrayType([], type$.JSArray_Frame);
  18564. t1 = A.TakeIterable_TakeIterable(lines, lines.get$length(lines) - 1, t3._eval$1("Iterable.E"));
  18565. t1 = A.MappedIterable_MappedIterable(t1, A.frame_Frame___parseVM_tearOff$closure(), A._instanceType(t1)._eval$1("Iterable.E"), type$.Frame);
  18566. $frames = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  18567. if (!J.endsWith$1$s(lines.get$last(lines), ".da"))
  18568. B.JSArray_methods.add$1($frames, A.Frame_Frame$parseVM(lines.get$last(lines)));
  18569. return $frames;
  18570. },
  18571. Trace$parseV8(trace) {
  18572. 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()),
  18573. t2 = type$.Frame;
  18574. t2 = A.List_List$unmodifiable(A.MappedIterable_MappedIterable(t1, A.frame_Frame___parseV8_tearOff$closure(), t1.$ti._eval$1("Iterable.E"), t2), t2);
  18575. return new A.Trace(t2, new A._StringStackTrace(trace));
  18576. },
  18577. Trace$parseJSCore(trace) {
  18578. 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), A.frame_Frame___parseV8_tearOff$closure(), type$.MappedIterable_String_Frame), type$.Frame);
  18579. return new A.Trace(t1, new A._StringStackTrace(trace));
  18580. },
  18581. Trace$parseFirefox(trace) {
  18582. 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), A.frame_Frame___parseFirefox_tearOff$closure(), type$.MappedIterable_String_Frame), type$.Frame);
  18583. return new A.Trace(t1, new A._StringStackTrace(trace));
  18584. },
  18585. Trace___parseFriendly_tearOff(trace) {
  18586. return A.Trace$parseFriendly(trace);
  18587. },
  18588. Trace$parseFriendly(trace) {
  18589. 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), A.frame_Frame___parseFriendly_tearOff$closure(), type$.MappedIterable_String_Frame);
  18590. t1 = A.List_List$unmodifiable(t1, type$.Frame);
  18591. return new A.Trace(t1, new A._StringStackTrace(trace));
  18592. },
  18593. Trace$($frames, original) {
  18594. var t1 = A.List_List$unmodifiable($frames, type$.Frame);
  18595. return new A.Trace(t1, new A._StringStackTrace(original == null ? "" : original));
  18596. },
  18597. Trace: function Trace(t0, t1) {
  18598. this.frames = t0;
  18599. this.original = t1;
  18600. },
  18601. Trace_Trace$from_closure: function Trace_Trace$from_closure(t0) {
  18602. this.trace = t0;
  18603. },
  18604. Trace__parseVM_closure: function Trace__parseVM_closure() {
  18605. },
  18606. Trace$parseV8_closure: function Trace$parseV8_closure() {
  18607. },
  18608. Trace$parseJSCore_closure: function Trace$parseJSCore_closure() {
  18609. },
  18610. Trace$parseFirefox_closure: function Trace$parseFirefox_closure() {
  18611. },
  18612. Trace$parseFriendly_closure: function Trace$parseFriendly_closure() {
  18613. },
  18614. Trace_terse_closure: function Trace_terse_closure() {
  18615. },
  18616. Trace_foldFrames_closure: function Trace_foldFrames_closure(t0) {
  18617. this.oldPredicate = t0;
  18618. },
  18619. Trace_foldFrames_closure0: function Trace_foldFrames_closure0(t0) {
  18620. this._box_0 = t0;
  18621. },
  18622. Trace_toString_closure0: function Trace_toString_closure0() {
  18623. },
  18624. Trace_toString_closure: function Trace_toString_closure(t0) {
  18625. this.longest = t0;
  18626. },
  18627. UnparsedFrame: function UnparsedFrame(t0, t1) {
  18628. this.uri = t0;
  18629. this.member = t1;
  18630. },
  18631. TransformByHandlers_transformByHandlers(_this, onData, onDone, $S, $T) {
  18632. var _null = null, t1 = {},
  18633. controller = A.StreamController_StreamController(_null, _null, _null, _null, true, $T);
  18634. t1.subscription = null;
  18635. controller.onListen = new A.TransformByHandlers_transformByHandlers_closure(t1, _this, onData, controller, A.instantiate1(A.from_handlers__TransformByHandlers__defaultHandleError$closure(), $T), onDone, $S);
  18636. return controller.get$stream();
  18637. },
  18638. TransformByHandlers__defaultHandleError(error, stackTrace, sink) {
  18639. sink.addError$2(error, stackTrace);
  18640. },
  18641. TransformByHandlers_transformByHandlers_closure: function TransformByHandlers_transformByHandlers_closure(t0, t1, t2, t3, t4, t5, t6) {
  18642. var _ = this;
  18643. _._box_1 = t0;
  18644. _._this = t1;
  18645. _.handleData = t2;
  18646. _.controller = t3;
  18647. _.handleError = t4;
  18648. _.handleDone = t5;
  18649. _.S = t6;
  18650. },
  18651. TransformByHandlers_transformByHandlers__closure: function TransformByHandlers_transformByHandlers__closure(t0, t1, t2) {
  18652. this.handleData = t0;
  18653. this.controller = t1;
  18654. this.S = t2;
  18655. },
  18656. TransformByHandlers_transformByHandlers__closure1: function TransformByHandlers_transformByHandlers__closure1(t0, t1) {
  18657. this.handleError = t0;
  18658. this.controller = t1;
  18659. },
  18660. TransformByHandlers_transformByHandlers__closure0: function TransformByHandlers_transformByHandlers__closure0(t0, t1, t2) {
  18661. this._box_0 = t0;
  18662. this.handleDone = t1;
  18663. this.controller = t2;
  18664. },
  18665. TransformByHandlers_transformByHandlers__closure2: function TransformByHandlers_transformByHandlers__closure2(t0, t1) {
  18666. this._box_1 = t0;
  18667. this._box_0 = t1;
  18668. },
  18669. RateLimit__debounceAggregate(_this, duration, collect, leading, trailing, $T, $S) {
  18670. var t1 = {};
  18671. t1.soFar = t1.timer = null;
  18672. t1.emittedLatestAsLeading = t1.shouldClose = t1.hasPending = false;
  18673. 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);
  18674. },
  18675. _collect($event, soFar, $T) {
  18676. var t1 = soFar == null ? A._setArrayType([], $T._eval$1("JSArray<0>")) : soFar;
  18677. J.add$1$ax(t1, $event);
  18678. return t1;
  18679. },
  18680. RateLimit__debounceAggregate_closure: function RateLimit__debounceAggregate_closure(t0, t1, t2, t3, t4, t5, t6) {
  18681. var _ = this;
  18682. _._box_0 = t0;
  18683. _.S = t1;
  18684. _.collect = t2;
  18685. _.leading = t3;
  18686. _.duration = t4;
  18687. _.trailing = t5;
  18688. _.T = t6;
  18689. },
  18690. RateLimit__debounceAggregate_closure_emit: function RateLimit__debounceAggregate_closure_emit(t0, t1, t2) {
  18691. this._box_0 = t0;
  18692. this.sink = t1;
  18693. this.S = t2;
  18694. },
  18695. RateLimit__debounceAggregate__closure: function RateLimit__debounceAggregate__closure(t0, t1, t2, t3) {
  18696. var _ = this;
  18697. _._box_0 = t0;
  18698. _.trailing = t1;
  18699. _.emit = t2;
  18700. _.sink = t3;
  18701. },
  18702. RateLimit__debounceAggregate_closure0: function RateLimit__debounceAggregate_closure0(t0, t1, t2) {
  18703. this._box_0 = t0;
  18704. this.trailing = t1;
  18705. this.S = t2;
  18706. },
  18707. StringScannerException$(message, span, source) {
  18708. return new A.StringScannerException(source, message, span);
  18709. },
  18710. StringScannerException: function StringScannerException(t0, t1, t2) {
  18711. this.source = t0;
  18712. this._span_exception$_message = t1;
  18713. this._span = t2;
  18714. },
  18715. LineScanner$(string) {
  18716. return new A.LineScanner(null, string);
  18717. },
  18718. LineScanner: function LineScanner(t0, t1) {
  18719. var _ = this;
  18720. _._line_scanner$_column = _._line_scanner$_line = 0;
  18721. _.sourceUrl = t0;
  18722. _.string = t1;
  18723. _._string_scanner$_position = 0;
  18724. _._lastMatchPosition = _._lastMatch = null;
  18725. },
  18726. SpanScanner$(string, sourceUrl) {
  18727. var t2,
  18728. t1 = A.SourceFile$fromString(string, sourceUrl);
  18729. if (sourceUrl == null)
  18730. t2 = null;
  18731. else
  18732. t2 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
  18733. return new A.SpanScanner(t1, t2, string);
  18734. },
  18735. SpanScanner: function SpanScanner(t0, t1, t2) {
  18736. var _ = this;
  18737. _._sourceFile = t0;
  18738. _.sourceUrl = t1;
  18739. _.string = t2;
  18740. _._string_scanner$_position = 0;
  18741. _._lastMatchPosition = _._lastMatch = null;
  18742. },
  18743. _SpanScannerState: function _SpanScannerState(t0, t1) {
  18744. this._scanner = t0;
  18745. this.position = t1;
  18746. },
  18747. StringScanner$(string, position, sourceUrl) {
  18748. var t1;
  18749. if (sourceUrl == null)
  18750. t1 = null;
  18751. else
  18752. t1 = typeof sourceUrl == "string" ? A.Uri_parse(sourceUrl) : type$.Uri._as(sourceUrl);
  18753. return new A.StringScanner(t1, string);
  18754. },
  18755. StringScanner: function StringScanner(t0, t1) {
  18756. var _ = this;
  18757. _.sourceUrl = t0;
  18758. _.string = t1;
  18759. _._string_scanner$_position = 0;
  18760. _._lastMatchPosition = _._lastMatch = null;
  18761. },
  18762. AsciiGlyphSet: function AsciiGlyphSet() {
  18763. },
  18764. UnicodeGlyphSet: function UnicodeGlyphSet() {
  18765. },
  18766. WatchEvent: function WatchEvent(t0, t1) {
  18767. this.type = t0;
  18768. this.path = t1;
  18769. },
  18770. ChangeType: function ChangeType(t0) {
  18771. this._watch_event$_name = t0;
  18772. },
  18773. AnySelectorVisitor0: function AnySelectorVisitor0() {
  18774. },
  18775. AnySelectorVisitor_visitComplexSelector_closure0: function AnySelectorVisitor_visitComplexSelector_closure0(t0) {
  18776. this.$this = t0;
  18777. },
  18778. AnySelectorVisitor_visitCompoundSelector_closure0: function AnySelectorVisitor_visitCompoundSelector_closure0(t0) {
  18779. this.$this = t0;
  18780. },
  18781. SupportsAnything0: function SupportsAnything0(t0, t1) {
  18782. this.contents = t0;
  18783. this.span = t1;
  18784. },
  18785. Argument0: function Argument0(t0, t1, t2) {
  18786. this.name = t0;
  18787. this.defaultValue = t1;
  18788. this.span = t2;
  18789. },
  18790. ArgumentDeclaration_ArgumentDeclaration$parse0(contents, url) {
  18791. return A.ScssParser$0(contents, null, url).parseArgumentDeclaration$0();
  18792. },
  18793. ArgumentDeclaration0: function ArgumentDeclaration0(t0, t1, t2) {
  18794. this.$arguments = t0;
  18795. this.restArgument = t1;
  18796. this.span = t2;
  18797. },
  18798. ArgumentDeclaration_verify_closure1: function ArgumentDeclaration_verify_closure1() {
  18799. },
  18800. ArgumentDeclaration_verify_closure2: function ArgumentDeclaration_verify_closure2() {
  18801. },
  18802. ArgumentInvocation$empty0(span) {
  18803. return new A.ArgumentInvocation0(B.List_empty20, B.Map_empty14, null, null, span);
  18804. },
  18805. ArgumentInvocation0: function ArgumentInvocation0(t0, t1, t2, t3, t4) {
  18806. var _ = this;
  18807. _.positional = t0;
  18808. _.named = t1;
  18809. _.rest = t2;
  18810. _.keywordRest = t3;
  18811. _.span = t4;
  18812. },
  18813. argumentListClass_closure: function argumentListClass_closure() {
  18814. },
  18815. argumentListClass__closure: function argumentListClass__closure() {
  18816. },
  18817. argumentListClass__closure0: function argumentListClass__closure0() {
  18818. },
  18819. SassArgumentList$0(contents, keywords, separator) {
  18820. var t1 = type$.Value_2;
  18821. t1 = new A.SassArgumentList0(A.ConstantMap_ConstantMap$from(keywords, type$.String, t1), A.List_List$unmodifiable(contents, t1), separator, false);
  18822. t1.SassList$3$brackets0(contents, separator, false);
  18823. return t1;
  18824. },
  18825. SassArgumentList0: function SassArgumentList0(t0, t1, t2, t3) {
  18826. var _ = this;
  18827. _._argument_list$_keywords = t0;
  18828. _._argument_list$_wereKeywordsAccessed = false;
  18829. _._list1$_contents = t1;
  18830. _._list1$_separator = t2;
  18831. _._list1$_hasBrackets = t3;
  18832. },
  18833. JSArray2: function JSArray2() {
  18834. },
  18835. AsyncImporter0: function AsyncImporter0() {
  18836. },
  18837. JSToDartAsyncImporter: function JSToDartAsyncImporter(t0, t1, t2) {
  18838. this._async0$_canonicalize = t0;
  18839. this._load = t1;
  18840. this._nonCanonicalSchemes = t2;
  18841. },
  18842. JSToDartAsyncImporter_canonicalize_closure: function JSToDartAsyncImporter_canonicalize_closure(t0, t1) {
  18843. this.$this = t0;
  18844. this.url = t1;
  18845. },
  18846. JSToDartAsyncImporter_load_closure: function JSToDartAsyncImporter_load_closure(t0, t1) {
  18847. this.$this = t0;
  18848. this.url = t1;
  18849. },
  18850. AsyncBuiltInCallable$mixin0($name, $arguments, callback, acceptsContent, url) {
  18851. return new A.AsyncBuiltInCallable0($name, A.ScssParser$0("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.AsyncBuiltInCallable$mixin_closure0(callback), false);
  18852. },
  18853. AsyncBuiltInCallable0: function AsyncBuiltInCallable0(t0, t1, t2, t3) {
  18854. var _ = this;
  18855. _.name = t0;
  18856. _._async_built_in0$_arguments = t1;
  18857. _._async_built_in0$_callback = t2;
  18858. _.acceptsContent = t3;
  18859. },
  18860. AsyncBuiltInCallable$mixin_closure0: function AsyncBuiltInCallable$mixin_closure0(t0) {
  18861. this.callback = t0;
  18862. },
  18863. compileAsync0(path, charset, fatalDeprecations, functions, futureDeprecations, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, useSpaces, verbose) {
  18864. var $async$goto = 0,
  18865. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  18866. $async$returnValue, t2, t3, t4, t0, stylesheet, result, t1;
  18867. var $async$compileAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  18868. if ($async$errorCode === 1)
  18869. return A._asyncRethrow($async$result, $async$completer);
  18870. while (true)
  18871. switch ($async$goto) {
  18872. case 0:
  18873. // Function start
  18874. t1 = type$.Deprecation_2;
  18875. logger = new A.DeprecationHandlingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashSet_LinkedHashSet$_empty(t1), !verbose);
  18876. t1 = nodeImporter == null;
  18877. if (t1)
  18878. t2 = syntax == null || syntax === A.Syntax_forPath0(path);
  18879. else
  18880. t2 = false;
  18881. $async$goto = t2 ? 3 : 5;
  18882. break;
  18883. case 3:
  18884. // then
  18885. if (importCache == null)
  18886. importCache = A.AsyncImportCache$none(logger);
  18887. t2 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  18888. t3 = A.isNodeJs() ? self.process : null;
  18889. if (!J.$eq$(t3 == null ? null : J.get$platform$x(t3), "win32")) {
  18890. t3 = A.isNodeJs() ? self.process : null;
  18891. t3 = J.$eq$(t3 == null ? null : J.get$platform$x(t3), "darwin");
  18892. } else
  18893. t3 = true;
  18894. if (t3) {
  18895. t3 = $.$get$context();
  18896. t4 = A._realCasePath0(A.absolute(t3.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  18897. t0 = t4;
  18898. t4 = t3;
  18899. t3 = t0;
  18900. } else {
  18901. t3 = $.$get$context();
  18902. t4 = t3.canonicalize$1(0, path);
  18903. t0 = t4;
  18904. t4 = t3;
  18905. t3 = t0;
  18906. }
  18907. $async$goto = 6;
  18908. return A._asyncAwait(importCache.importCanonical$3$originalUrl(new A.FilesystemImporter0(t2), t4.toUri$1(t3), t4.toUri$1(path)), $async$compileAsync0);
  18909. case 6:
  18910. // returning from await.
  18911. t4 = $async$result;
  18912. t4.toString;
  18913. stylesheet = t4;
  18914. // goto join
  18915. $async$goto = 4;
  18916. break;
  18917. case 5:
  18918. // else
  18919. t2 = A.readFile0(path);
  18920. t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
  18921. stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, $.$get$context().toUri$1(path));
  18922. case 4:
  18923. // join
  18924. $async$goto = 7;
  18925. return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, new A.FilesystemImporter0(A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null)), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileAsync0);
  18926. case 7:
  18927. // returning from await.
  18928. result = $async$result;
  18929. logger.summarize$1$js(!t1);
  18930. $async$returnValue = result;
  18931. // goto return
  18932. $async$goto = 1;
  18933. break;
  18934. case 1:
  18935. // return
  18936. return A._asyncReturn($async$returnValue, $async$completer);
  18937. }
  18938. });
  18939. return A._asyncStartSync($async$compileAsync0, $async$completer);
  18940. },
  18941. compileStringAsync0(source, charset, functions, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, url, useSpaces, verbose) {
  18942. var $async$goto = 0,
  18943. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  18944. $async$returnValue, stylesheet, result, t1;
  18945. var $async$compileStringAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  18946. if ($async$errorCode === 1)
  18947. return A._asyncRethrow($async$result, $async$completer);
  18948. while (true)
  18949. switch ($async$goto) {
  18950. case 0:
  18951. // Function start
  18952. t1 = type$.Deprecation_2;
  18953. logger = new A.DeprecationHandlingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashSet_LinkedHashSet$_empty(t1), !verbose);
  18954. stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_scss0 : syntax, logger, url);
  18955. if (importer == null)
  18956. t1 = A.isBrowser() ? new A.NoOpImporter0() : new A.FilesystemImporter0(A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  18957. else
  18958. t1 = importer;
  18959. $async$goto = 3;
  18960. return A._asyncAwait(A._compileStylesheet2(stylesheet, logger, importCache, nodeImporter, t1, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset), $async$compileStringAsync0);
  18961. case 3:
  18962. // returning from await.
  18963. result = $async$result;
  18964. logger.summarize$1$js(nodeImporter != null);
  18965. $async$returnValue = result;
  18966. // goto return
  18967. $async$goto = 1;
  18968. break;
  18969. case 1:
  18970. // return
  18971. return A._asyncReturn($async$returnValue, $async$completer);
  18972. }
  18973. });
  18974. return A._asyncStartSync($async$compileStringAsync0, $async$completer);
  18975. },
  18976. _compileStylesheet2(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  18977. var $async$goto = 0,
  18978. $async$completer = A._makeAsyncAwaitCompleter(type$.CompileResult_2),
  18979. $async$returnValue, evaluateResult, serializeResult, resultSourceMap;
  18980. var $async$_compileStylesheet2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  18981. if ($async$errorCode === 1)
  18982. return A._asyncRethrow($async$result, $async$completer);
  18983. while (true)
  18984. switch ($async$goto) {
  18985. case 0:
  18986. // Function start
  18987. $async$goto = 3;
  18988. return A._asyncAwait(A._EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet), $async$_compileStylesheet2);
  18989. case 3:
  18990. // returning from await.
  18991. evaluateResult = $async$result;
  18992. serializeResult = A.serialize0(evaluateResult._1, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces);
  18993. resultSourceMap = serializeResult._1;
  18994. if (resultSourceMap != null && importCache != null)
  18995. A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure2(stylesheet, importCache));
  18996. $async$returnValue = new A.CompileResult0(evaluateResult, serializeResult);
  18997. // goto return
  18998. $async$goto = 1;
  18999. break;
  19000. case 1:
  19001. // return
  19002. return A._asyncReturn($async$returnValue, $async$completer);
  19003. }
  19004. });
  19005. return A._asyncStartSync($async$_compileStylesheet2, $async$completer);
  19006. },
  19007. _compileStylesheet_closure2: function _compileStylesheet_closure2(t0, t1) {
  19008. this.stylesheet = t0;
  19009. this.importCache = t1;
  19010. },
  19011. AsyncEnvironment$0() {
  19012. var t1 = type$.String,
  19013. t2 = type$.Module_AsyncCallable_2,
  19014. t3 = type$.AstNode_2,
  19015. t4 = type$.int,
  19016. t5 = type$.AsyncCallable_2,
  19017. t6 = type$.JSArray_Map_String_AsyncCallable_2;
  19018. 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);
  19019. },
  19020. AsyncEnvironment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  19021. var t1 = type$.String,
  19022. t2 = type$.int;
  19023. 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);
  19024. },
  19025. _EnvironmentModule__EnvironmentModule2(environment, css, preModuleComments, extensionStore, forwarded) {
  19026. var t1, t2, t3, t4, t5, t6, module, result, t7;
  19027. if (forwarded == null)
  19028. forwarded = B.Set_empty6;
  19029. t1 = type$.dynamic;
  19030. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  19031. for (t2 = type$.Module_AsyncCallable_2, t3 = type$.List_CssComment_2, t4 = A.MapExtensions_get_pairs0(preModuleComments, t2, t3), t4 = t4.get$iterator(t4), t5 = type$.CssComment_2; t4.moveNext$0();) {
  19032. t6 = t4.get$current(t4);
  19033. module = t6._0;
  19034. result = A.List_List$from(t6._1, false, t5);
  19035. result.fixed$length = Array;
  19036. result.immutable$list = Array;
  19037. t1.$indexSet(0, module, result);
  19038. }
  19039. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  19040. t2 = A._EnvironmentModule__makeModulesByVariable2(forwarded);
  19041. t3 = 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);
  19042. t4 = 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);
  19043. t5 = type$.Map_String_AsyncCallable_2;
  19044. t6 = type$.AsyncCallable_2;
  19045. t7 = A._EnvironmentModule__memberMap2(B.JSArray_methods.get$first(environment._async_environment0$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure19(), t5), t6);
  19046. t6 = A._EnvironmentModule__memberMap2(B.JSArray_methods.get$first(environment._async_environment0$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure20(), t5), t6);
  19047. t5 = J.get$isNotEmpty$asx(css.get$children(css)) || preModuleComments.get$isNotEmpty(preModuleComments) || B.JSArray_methods.any$1(environment._async_environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure21());
  19048. return A._EnvironmentModule$_2(environment, css, t1, extensionStore, t2, t3, t4, t7, t6, t5, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._async_environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure22()));
  19049. },
  19050. _EnvironmentModule__makeModulesByVariable2(forwarded) {
  19051. var modulesByVariable, t1, t2, t3, t4, t5;
  19052. if (forwarded.get$isEmpty(forwarded))
  19053. return B.Map_empty16;
  19054. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_AsyncCallable_2);
  19055. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  19056. t2 = t1.get$current(t1);
  19057. if (t2 instanceof A._EnvironmentModule2) {
  19058. for (t3 = t2._async_environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  19059. t4 = t3.get$current(t3);
  19060. t5 = t4.get$variables();
  19061. A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
  19062. }
  19063. A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._async_environment0$_environment._async_environment0$_variables)), t2);
  19064. } else {
  19065. t3 = t2.get$variables();
  19066. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  19067. }
  19068. }
  19069. return modulesByVariable;
  19070. },
  19071. _EnvironmentModule__memberMap2(localMap, otherMaps, $V) {
  19072. var t1, t2, t3;
  19073. localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
  19074. if (otherMaps.get$isEmpty(otherMaps))
  19075. return localMap;
  19076. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  19077. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  19078. t3 = t2.get$current(t2);
  19079. if (t3.get$isNotEmpty(t3))
  19080. t1.push(t3);
  19081. }
  19082. t1.push(localMap);
  19083. if (t1.length === 1)
  19084. return localMap;
  19085. return A.MergedMapView$0(t1, type$.String, $V);
  19086. },
  19087. _EnvironmentModule$_2(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  19088. return new A._EnvironmentModule2(_environment._async_environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  19089. },
  19090. AsyncEnvironment0: function AsyncEnvironment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  19091. var _ = this;
  19092. _._async_environment0$_modules = t0;
  19093. _._async_environment0$_namespaceNodes = t1;
  19094. _._async_environment0$_globalModules = t2;
  19095. _._async_environment0$_importedModules = t3;
  19096. _._async_environment0$_forwardedModules = t4;
  19097. _._async_environment0$_nestedForwardedModules = t5;
  19098. _._async_environment0$_allModules = t6;
  19099. _._async_environment0$_variables = t7;
  19100. _._async_environment0$_variableNodes = t8;
  19101. _._async_environment0$_variableIndices = t9;
  19102. _._async_environment0$_functions = t10;
  19103. _._async_environment0$_functionIndices = t11;
  19104. _._async_environment0$_mixins = t12;
  19105. _._async_environment0$_mixinIndices = t13;
  19106. _._async_environment0$_content = t14;
  19107. _._async_environment0$_inMixin = false;
  19108. _._async_environment0$_inSemiGlobalScope = true;
  19109. _._async_environment0$_lastVariableIndex = _._async_environment0$_lastVariableName = null;
  19110. },
  19111. AsyncEnvironment__getVariableFromGlobalModule_closure0: function AsyncEnvironment__getVariableFromGlobalModule_closure0(t0) {
  19112. this.name = t0;
  19113. },
  19114. AsyncEnvironment_setVariable_closure2: function AsyncEnvironment_setVariable_closure2(t0, t1) {
  19115. this.$this = t0;
  19116. this.name = t1;
  19117. },
  19118. AsyncEnvironment_setVariable_closure3: function AsyncEnvironment_setVariable_closure3(t0) {
  19119. this.name = t0;
  19120. },
  19121. AsyncEnvironment_setVariable_closure4: function AsyncEnvironment_setVariable_closure4(t0, t1) {
  19122. this.$this = t0;
  19123. this.name = t1;
  19124. },
  19125. AsyncEnvironment__getFunctionFromGlobalModule_closure0: function AsyncEnvironment__getFunctionFromGlobalModule_closure0(t0) {
  19126. this.name = t0;
  19127. },
  19128. AsyncEnvironment__getMixinFromGlobalModule_closure0: function AsyncEnvironment__getMixinFromGlobalModule_closure0(t0) {
  19129. this.name = t0;
  19130. },
  19131. AsyncEnvironment_toModule_closure0: function AsyncEnvironment_toModule_closure0() {
  19132. },
  19133. AsyncEnvironment_toDummyModule_closure0: function AsyncEnvironment_toDummyModule_closure0() {
  19134. },
  19135. _EnvironmentModule2: function _EnvironmentModule2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  19136. var _ = this;
  19137. _.upstream = t0;
  19138. _.variables = t1;
  19139. _.variableNodes = t2;
  19140. _.functions = t3;
  19141. _.mixins = t4;
  19142. _.extensionStore = t5;
  19143. _.css = t6;
  19144. _.preModuleComments = t7;
  19145. _.transitivelyContainsCss = t8;
  19146. _.transitivelyContainsExtensions = t9;
  19147. _._async_environment0$_environment = t10;
  19148. _._async_environment0$_modulesByVariable = t11;
  19149. },
  19150. _EnvironmentModule__EnvironmentModule_closure17: function _EnvironmentModule__EnvironmentModule_closure17() {
  19151. },
  19152. _EnvironmentModule__EnvironmentModule_closure18: function _EnvironmentModule__EnvironmentModule_closure18() {
  19153. },
  19154. _EnvironmentModule__EnvironmentModule_closure19: function _EnvironmentModule__EnvironmentModule_closure19() {
  19155. },
  19156. _EnvironmentModule__EnvironmentModule_closure20: function _EnvironmentModule__EnvironmentModule_closure20() {
  19157. },
  19158. _EnvironmentModule__EnvironmentModule_closure21: function _EnvironmentModule__EnvironmentModule_closure21() {
  19159. },
  19160. _EnvironmentModule__EnvironmentModule_closure22: function _EnvironmentModule__EnvironmentModule_closure22() {
  19161. },
  19162. _EvaluateVisitor$2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  19163. var t4,
  19164. t1 = type$.Uri,
  19165. t2 = type$.Module_AsyncCallable_2,
  19166. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode_2);
  19167. if (nodeImporter == null)
  19168. t4 = importCache == null ? A.AsyncImportCache$none(logger) : importCache;
  19169. else
  19170. t4 = null;
  19171. 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$.Record_2_String_and_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);
  19172. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  19173. return t1;
  19174. },
  19175. _EvaluateVisitor2: function _EvaluateVisitor2(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  19176. var _ = this;
  19177. _._async_evaluate0$_importCache = t0;
  19178. _._async_evaluate0$_nodeImporter = t1;
  19179. _._async_evaluate0$_builtInFunctions = t2;
  19180. _._async_evaluate0$_builtInModules = t3;
  19181. _._async_evaluate0$_modules = t4;
  19182. _._async_evaluate0$_moduleConfigurations = t5;
  19183. _._async_evaluate0$_moduleNodes = t6;
  19184. _._async_evaluate0$_logger = t7;
  19185. _._async_evaluate0$_warningsEmitted = t8;
  19186. _._async_evaluate0$_quietDeps = t9;
  19187. _._async_evaluate0$_sourceMap = t10;
  19188. _._async_evaluate0$_environment = t11;
  19189. _._async_evaluate0$_declarationName = _._async_evaluate0$__parent = _._async_evaluate0$_mediaQuerySources = _._async_evaluate0$_mediaQueries = _._async_evaluate0$_styleRuleIgnoringAtRoot = null;
  19190. _._async_evaluate0$_member = "root stylesheet";
  19191. _._async_evaluate0$_importSpan = _._async_evaluate0$_callableNode = _._async_evaluate0$_currentCallable = null;
  19192. _._async_evaluate0$_inSupportsDeclaration = _._async_evaluate0$_inKeyframes = _._async_evaluate0$_atRootExcludingStyleRule = _._async_evaluate0$_inUnknownAtRule = _._async_evaluate0$_inFunction = false;
  19193. _._async_evaluate0$_loadedUrls = t12;
  19194. _._async_evaluate0$_activeModules = t13;
  19195. _._async_evaluate0$_stack = t14;
  19196. _._async_evaluate0$_importer = null;
  19197. _._async_evaluate0$_inDependency = false;
  19198. _._async_evaluate0$__extensionStore = _._async_evaluate0$_preModuleComments = _._async_evaluate0$_outOfOrderImports = _._async_evaluate0$__endOfImports = _._async_evaluate0$__root = _._async_evaluate0$__stylesheet = null;
  19199. _._async_evaluate0$_configuration = t15;
  19200. },
  19201. _EvaluateVisitor_closure38: function _EvaluateVisitor_closure38(t0) {
  19202. this.$this = t0;
  19203. },
  19204. _EvaluateVisitor_closure39: function _EvaluateVisitor_closure39(t0) {
  19205. this.$this = t0;
  19206. },
  19207. _EvaluateVisitor_closure40: function _EvaluateVisitor_closure40(t0) {
  19208. this.$this = t0;
  19209. },
  19210. _EvaluateVisitor_closure41: function _EvaluateVisitor_closure41(t0) {
  19211. this.$this = t0;
  19212. },
  19213. _EvaluateVisitor_closure42: function _EvaluateVisitor_closure42(t0) {
  19214. this.$this = t0;
  19215. },
  19216. _EvaluateVisitor_closure43: function _EvaluateVisitor_closure43(t0) {
  19217. this.$this = t0;
  19218. },
  19219. _EvaluateVisitor_closure44: function _EvaluateVisitor_closure44(t0) {
  19220. this.$this = t0;
  19221. },
  19222. _EvaluateVisitor_closure45: function _EvaluateVisitor_closure45(t0) {
  19223. this.$this = t0;
  19224. },
  19225. _EvaluateVisitor_closure46: function _EvaluateVisitor_closure46(t0) {
  19226. this.$this = t0;
  19227. },
  19228. _EvaluateVisitor__closure14: function _EvaluateVisitor__closure14(t0, t1, t2) {
  19229. this.$this = t0;
  19230. this.name = t1;
  19231. this.module = t2;
  19232. },
  19233. _EvaluateVisitor_closure47: function _EvaluateVisitor_closure47(t0) {
  19234. this.$this = t0;
  19235. },
  19236. _EvaluateVisitor__closure13: function _EvaluateVisitor__closure13(t0, t1, t2) {
  19237. this.$this = t0;
  19238. this.name = t1;
  19239. this.module = t2;
  19240. },
  19241. _EvaluateVisitor_closure48: function _EvaluateVisitor_closure48(t0) {
  19242. this.$this = t0;
  19243. },
  19244. _EvaluateVisitor_closure49: function _EvaluateVisitor_closure49(t0) {
  19245. this.$this = t0;
  19246. },
  19247. _EvaluateVisitor__closure11: function _EvaluateVisitor__closure11(t0, t1, t2) {
  19248. this.values = t0;
  19249. this.span = t1;
  19250. this.callableNode = t2;
  19251. },
  19252. _EvaluateVisitor__closure12: function _EvaluateVisitor__closure12(t0) {
  19253. this.$this = t0;
  19254. },
  19255. _EvaluateVisitor_closure50: function _EvaluateVisitor_closure50(t0) {
  19256. this.$this = t0;
  19257. },
  19258. _EvaluateVisitor_run_closure2: function _EvaluateVisitor_run_closure2(t0, t1, t2) {
  19259. this.$this = t0;
  19260. this.node = t1;
  19261. this.importer = t2;
  19262. },
  19263. _EvaluateVisitor_run__closure2: function _EvaluateVisitor_run__closure2(t0, t1, t2) {
  19264. this.$this = t0;
  19265. this.importer = t1;
  19266. this.node = t2;
  19267. },
  19268. _EvaluateVisitor__loadModule_closure5: function _EvaluateVisitor__loadModule_closure5(t0, t1) {
  19269. this._box_1 = t0;
  19270. this.callback = t1;
  19271. },
  19272. _EvaluateVisitor__loadModule_closure6: function _EvaluateVisitor__loadModule_closure6(t0, t1, t2, t3, t4, t5, t6) {
  19273. var _ = this;
  19274. _.$this = t0;
  19275. _.url = t1;
  19276. _.nodeWithSpan = t2;
  19277. _.baseUrl = t3;
  19278. _.namesInErrors = t4;
  19279. _.configuration = t5;
  19280. _.callback = t6;
  19281. },
  19282. _EvaluateVisitor__loadModule__closure5: function _EvaluateVisitor__loadModule__closure5(t0, t1) {
  19283. this.$this = t0;
  19284. this.message = t1;
  19285. },
  19286. _EvaluateVisitor__loadModule__closure6: function _EvaluateVisitor__loadModule__closure6(t0, t1, t2) {
  19287. this._box_0 = t0;
  19288. this.callback = t1;
  19289. this.firstLoad = t2;
  19290. },
  19291. _EvaluateVisitor__execute_closure2: function _EvaluateVisitor__execute_closure2(t0, t1, t2, t3, t4, t5, t6) {
  19292. var _ = this;
  19293. _.$this = t0;
  19294. _.importer = t1;
  19295. _.stylesheet = t2;
  19296. _.extensionStore = t3;
  19297. _.configuration = t4;
  19298. _.css = t5;
  19299. _.preModuleComments = t6;
  19300. },
  19301. _EvaluateVisitor__combineCss_closure5: function _EvaluateVisitor__combineCss_closure5() {
  19302. },
  19303. _EvaluateVisitor__combineCss_closure6: function _EvaluateVisitor__combineCss_closure6(t0) {
  19304. this.selectors = t0;
  19305. },
  19306. _EvaluateVisitor__combineCss_visitModule2: function _EvaluateVisitor__combineCss_visitModule2(t0, t1, t2, t3, t4, t5) {
  19307. var _ = this;
  19308. _.$this = t0;
  19309. _.seen = t1;
  19310. _.clone = t2;
  19311. _.css = t3;
  19312. _.imports = t4;
  19313. _.sorted = t5;
  19314. },
  19315. _EvaluateVisitor__extendModules_closure5: function _EvaluateVisitor__extendModules_closure5(t0) {
  19316. this.originalSelectors = t0;
  19317. },
  19318. _EvaluateVisitor__extendModules_closure6: function _EvaluateVisitor__extendModules_closure6() {
  19319. },
  19320. _EvaluateVisitor_visitAtRootRule_closure5: function _EvaluateVisitor_visitAtRootRule_closure5(t0, t1) {
  19321. this.$this = t0;
  19322. this.node = t1;
  19323. },
  19324. _EvaluateVisitor_visitAtRootRule_closure6: function _EvaluateVisitor_visitAtRootRule_closure6(t0, t1) {
  19325. this.$this = t0;
  19326. this.node = t1;
  19327. },
  19328. _EvaluateVisitor__scopeForAtRoot_closure17: function _EvaluateVisitor__scopeForAtRoot_closure17(t0, t1, t2) {
  19329. this.$this = t0;
  19330. this.newParent = t1;
  19331. this.node = t2;
  19332. },
  19333. _EvaluateVisitor__scopeForAtRoot_closure18: function _EvaluateVisitor__scopeForAtRoot_closure18(t0, t1) {
  19334. this.$this = t0;
  19335. this.innerScope = t1;
  19336. },
  19337. _EvaluateVisitor__scopeForAtRoot_closure19: function _EvaluateVisitor__scopeForAtRoot_closure19(t0, t1) {
  19338. this.$this = t0;
  19339. this.innerScope = t1;
  19340. },
  19341. _EvaluateVisitor__scopeForAtRoot__closure2: function _EvaluateVisitor__scopeForAtRoot__closure2(t0, t1) {
  19342. this.innerScope = t0;
  19343. this.callback = t1;
  19344. },
  19345. _EvaluateVisitor__scopeForAtRoot_closure20: function _EvaluateVisitor__scopeForAtRoot_closure20(t0, t1) {
  19346. this.$this = t0;
  19347. this.innerScope = t1;
  19348. },
  19349. _EvaluateVisitor__scopeForAtRoot_closure21: function _EvaluateVisitor__scopeForAtRoot_closure21() {
  19350. },
  19351. _EvaluateVisitor__scopeForAtRoot_closure22: function _EvaluateVisitor__scopeForAtRoot_closure22(t0, t1) {
  19352. this.$this = t0;
  19353. this.innerScope = t1;
  19354. },
  19355. _EvaluateVisitor_visitContentRule_closure2: function _EvaluateVisitor_visitContentRule_closure2(t0, t1) {
  19356. this.$this = t0;
  19357. this.content = t1;
  19358. },
  19359. _EvaluateVisitor_visitDeclaration_closure2: function _EvaluateVisitor_visitDeclaration_closure2(t0, t1) {
  19360. this._box_0 = t0;
  19361. this.$this = t1;
  19362. },
  19363. _EvaluateVisitor_visitEachRule_closure8: function _EvaluateVisitor_visitEachRule_closure8(t0, t1, t2) {
  19364. this._box_0 = t0;
  19365. this.$this = t1;
  19366. this.nodeWithSpan = t2;
  19367. },
  19368. _EvaluateVisitor_visitEachRule_closure9: function _EvaluateVisitor_visitEachRule_closure9(t0, t1, t2) {
  19369. this._box_0 = t0;
  19370. this.$this = t1;
  19371. this.nodeWithSpan = t2;
  19372. },
  19373. _EvaluateVisitor_visitEachRule_closure10: function _EvaluateVisitor_visitEachRule_closure10(t0, t1, t2, t3) {
  19374. var _ = this;
  19375. _.$this = t0;
  19376. _.list = t1;
  19377. _.setVariables = t2;
  19378. _.node = t3;
  19379. },
  19380. _EvaluateVisitor_visitEachRule__closure2: function _EvaluateVisitor_visitEachRule__closure2(t0, t1, t2) {
  19381. this.$this = t0;
  19382. this.setVariables = t1;
  19383. this.node = t2;
  19384. },
  19385. _EvaluateVisitor_visitEachRule___closure2: function _EvaluateVisitor_visitEachRule___closure2(t0) {
  19386. this.$this = t0;
  19387. },
  19388. _EvaluateVisitor_visitAtRule_closure8: function _EvaluateVisitor_visitAtRule_closure8(t0) {
  19389. this.$this = t0;
  19390. },
  19391. _EvaluateVisitor_visitAtRule_closure9: function _EvaluateVisitor_visitAtRule_closure9(t0, t1, t2) {
  19392. this.$this = t0;
  19393. this.name = t1;
  19394. this.children = t2;
  19395. },
  19396. _EvaluateVisitor_visitAtRule__closure2: function _EvaluateVisitor_visitAtRule__closure2(t0, t1) {
  19397. this.$this = t0;
  19398. this.children = t1;
  19399. },
  19400. _EvaluateVisitor_visitAtRule_closure10: function _EvaluateVisitor_visitAtRule_closure10() {
  19401. },
  19402. _EvaluateVisitor_visitForRule_closure14: function _EvaluateVisitor_visitForRule_closure14(t0, t1) {
  19403. this.$this = t0;
  19404. this.node = t1;
  19405. },
  19406. _EvaluateVisitor_visitForRule_closure15: function _EvaluateVisitor_visitForRule_closure15(t0, t1) {
  19407. this.$this = t0;
  19408. this.node = t1;
  19409. },
  19410. _EvaluateVisitor_visitForRule_closure16: function _EvaluateVisitor_visitForRule_closure16(t0) {
  19411. this.fromNumber = t0;
  19412. },
  19413. _EvaluateVisitor_visitForRule_closure17: function _EvaluateVisitor_visitForRule_closure17(t0, t1) {
  19414. this.toNumber = t0;
  19415. this.fromNumber = t1;
  19416. },
  19417. _EvaluateVisitor_visitForRule_closure18: function _EvaluateVisitor_visitForRule_closure18(t0, t1, t2, t3, t4, t5) {
  19418. var _ = this;
  19419. _._box_0 = t0;
  19420. _.$this = t1;
  19421. _.node = t2;
  19422. _.from = t3;
  19423. _.direction = t4;
  19424. _.fromNumber = t5;
  19425. },
  19426. _EvaluateVisitor_visitForRule__closure2: function _EvaluateVisitor_visitForRule__closure2(t0) {
  19427. this.$this = t0;
  19428. },
  19429. _EvaluateVisitor_visitForwardRule_closure5: function _EvaluateVisitor_visitForwardRule_closure5(t0, t1) {
  19430. this.$this = t0;
  19431. this.node = t1;
  19432. },
  19433. _EvaluateVisitor_visitForwardRule_closure6: function _EvaluateVisitor_visitForwardRule_closure6(t0, t1) {
  19434. this.$this = t0;
  19435. this.node = t1;
  19436. },
  19437. _EvaluateVisitor__registerCommentsForModule_closure2: function _EvaluateVisitor__registerCommentsForModule_closure2() {
  19438. },
  19439. _EvaluateVisitor_visitIfRule_closure2: function _EvaluateVisitor_visitIfRule_closure2(t0) {
  19440. this.$this = t0;
  19441. },
  19442. _EvaluateVisitor_visitIfRule__closure2: function _EvaluateVisitor_visitIfRule__closure2(t0, t1) {
  19443. this.$this = t0;
  19444. this.clause = t1;
  19445. },
  19446. _EvaluateVisitor_visitIfRule___closure2: function _EvaluateVisitor_visitIfRule___closure2(t0) {
  19447. this.$this = t0;
  19448. },
  19449. _EvaluateVisitor__visitDynamicImport_closure2: function _EvaluateVisitor__visitDynamicImport_closure2(t0, t1) {
  19450. this.$this = t0;
  19451. this.$import = t1;
  19452. },
  19453. _EvaluateVisitor__visitDynamicImport__closure11: function _EvaluateVisitor__visitDynamicImport__closure11(t0) {
  19454. this.$this = t0;
  19455. },
  19456. _EvaluateVisitor__visitDynamicImport__closure12: function _EvaluateVisitor__visitDynamicImport__closure12() {
  19457. },
  19458. _EvaluateVisitor__visitDynamicImport__closure13: function _EvaluateVisitor__visitDynamicImport__closure13() {
  19459. },
  19460. _EvaluateVisitor__visitDynamicImport__closure14: function _EvaluateVisitor__visitDynamicImport__closure14(t0, t1, t2, t3, t4) {
  19461. var _ = this;
  19462. _._box_0 = t0;
  19463. _.$this = t1;
  19464. _.loadsUserDefinedModules = t2;
  19465. _.environment = t3;
  19466. _.children = t4;
  19467. },
  19468. _EvaluateVisitor__applyMixin_closure9: function _EvaluateVisitor__applyMixin_closure9(t0, t1, t2, t3) {
  19469. var _ = this;
  19470. _.$this = t0;
  19471. _.$arguments = t1;
  19472. _.mixin = t2;
  19473. _.nodeWithSpanWithoutContent = t3;
  19474. },
  19475. _EvaluateVisitor__applyMixin__closure6: function _EvaluateVisitor__applyMixin__closure6(t0, t1, t2, t3) {
  19476. var _ = this;
  19477. _.$this = t0;
  19478. _.$arguments = t1;
  19479. _.mixin = t2;
  19480. _.nodeWithSpanWithoutContent = t3;
  19481. },
  19482. _EvaluateVisitor__applyMixin_closure8: function _EvaluateVisitor__applyMixin_closure8(t0) {
  19483. this._1_0 = t0;
  19484. },
  19485. _EvaluateVisitor__applyMixin_closure10: function _EvaluateVisitor__applyMixin_closure10(t0, t1, t2, t3) {
  19486. var _ = this;
  19487. _.$this = t0;
  19488. _.contentCallable = t1;
  19489. _.mixin = t2;
  19490. _.nodeWithSpanWithoutContent = t3;
  19491. },
  19492. _EvaluateVisitor__applyMixin__closure5: function _EvaluateVisitor__applyMixin__closure5(t0, t1, t2) {
  19493. this.$this = t0;
  19494. this.mixin = t1;
  19495. this.nodeWithSpanWithoutContent = t2;
  19496. },
  19497. _EvaluateVisitor__applyMixin___closure2: function _EvaluateVisitor__applyMixin___closure2(t0, t1, t2) {
  19498. this.$this = t0;
  19499. this.mixin = t1;
  19500. this.nodeWithSpanWithoutContent = t2;
  19501. },
  19502. _EvaluateVisitor__applyMixin____closure2: function _EvaluateVisitor__applyMixin____closure2(t0, t1) {
  19503. this.$this = t0;
  19504. this.statement = t1;
  19505. },
  19506. _EvaluateVisitor_visitIncludeRule_closure8: function _EvaluateVisitor_visitIncludeRule_closure8(t0, t1) {
  19507. this.$this = t0;
  19508. this.node = t1;
  19509. },
  19510. _EvaluateVisitor_visitIncludeRule_closure9: function _EvaluateVisitor_visitIncludeRule_closure9(t0) {
  19511. this.$this = t0;
  19512. },
  19513. _EvaluateVisitor_visitIncludeRule_closure10: function _EvaluateVisitor_visitIncludeRule_closure10(t0) {
  19514. this.node = t0;
  19515. },
  19516. _EvaluateVisitor_visitMediaRule_closure8: function _EvaluateVisitor_visitMediaRule_closure8(t0, t1) {
  19517. this.$this = t0;
  19518. this.queries = t1;
  19519. },
  19520. _EvaluateVisitor_visitMediaRule_closure9: function _EvaluateVisitor_visitMediaRule_closure9(t0, t1, t2, t3, t4) {
  19521. var _ = this;
  19522. _.$this = t0;
  19523. _.mergedQueries = t1;
  19524. _.queries = t2;
  19525. _.mergedSources = t3;
  19526. _.node = t4;
  19527. },
  19528. _EvaluateVisitor_visitMediaRule__closure2: function _EvaluateVisitor_visitMediaRule__closure2(t0, t1) {
  19529. this.$this = t0;
  19530. this.node = t1;
  19531. },
  19532. _EvaluateVisitor_visitMediaRule___closure2: function _EvaluateVisitor_visitMediaRule___closure2(t0, t1) {
  19533. this.$this = t0;
  19534. this.node = t1;
  19535. },
  19536. _EvaluateVisitor_visitMediaRule_closure10: function _EvaluateVisitor_visitMediaRule_closure10(t0) {
  19537. this.mergedSources = t0;
  19538. },
  19539. _EvaluateVisitor_visitStyleRule_closure14: function _EvaluateVisitor_visitStyleRule_closure14(t0, t1) {
  19540. this.$this = t0;
  19541. this.node = t1;
  19542. },
  19543. _EvaluateVisitor_visitStyleRule_closure15: function _EvaluateVisitor_visitStyleRule_closure15() {
  19544. },
  19545. _EvaluateVisitor_visitStyleRule_closure16: function _EvaluateVisitor_visitStyleRule_closure16(t0, t1, t2) {
  19546. this.$this = t0;
  19547. this.rule = t1;
  19548. this.node = t2;
  19549. },
  19550. _EvaluateVisitor_visitStyleRule__closure2: function _EvaluateVisitor_visitStyleRule__closure2(t0, t1) {
  19551. this.$this = t0;
  19552. this.node = t1;
  19553. },
  19554. _EvaluateVisitor_visitStyleRule_closure17: function _EvaluateVisitor_visitStyleRule_closure17() {
  19555. },
  19556. _EvaluateVisitor_visitStyleRule_closure18: function _EvaluateVisitor_visitStyleRule_closure18() {
  19557. },
  19558. _EvaluateVisitor_visitSupportsRule_closure5: function _EvaluateVisitor_visitSupportsRule_closure5(t0, t1) {
  19559. this.$this = t0;
  19560. this.node = t1;
  19561. },
  19562. _EvaluateVisitor_visitSupportsRule__closure2: function _EvaluateVisitor_visitSupportsRule__closure2(t0, t1) {
  19563. this.$this = t0;
  19564. this.node = t1;
  19565. },
  19566. _EvaluateVisitor_visitSupportsRule_closure6: function _EvaluateVisitor_visitSupportsRule_closure6() {
  19567. },
  19568. _EvaluateVisitor__visitSupportsCondition_closure2: function _EvaluateVisitor__visitSupportsCondition_closure2(t0, t1) {
  19569. this._box_0 = t0;
  19570. this.$this = t1;
  19571. },
  19572. _EvaluateVisitor_visitVariableDeclaration_closure8: function _EvaluateVisitor_visitVariableDeclaration_closure8(t0, t1, t2) {
  19573. this._box_0 = t0;
  19574. this.$this = t1;
  19575. this.node = t2;
  19576. },
  19577. _EvaluateVisitor_visitVariableDeclaration_closure9: function _EvaluateVisitor_visitVariableDeclaration_closure9(t0, t1) {
  19578. this.$this = t0;
  19579. this.node = t1;
  19580. },
  19581. _EvaluateVisitor_visitVariableDeclaration_closure10: function _EvaluateVisitor_visitVariableDeclaration_closure10(t0, t1, t2) {
  19582. this.$this = t0;
  19583. this.node = t1;
  19584. this.value = t2;
  19585. },
  19586. _EvaluateVisitor_visitUseRule_closure2: function _EvaluateVisitor_visitUseRule_closure2(t0, t1) {
  19587. this.$this = t0;
  19588. this.node = t1;
  19589. },
  19590. _EvaluateVisitor_visitWarnRule_closure2: function _EvaluateVisitor_visitWarnRule_closure2(t0, t1) {
  19591. this.$this = t0;
  19592. this.node = t1;
  19593. },
  19594. _EvaluateVisitor_visitWhileRule_closure2: function _EvaluateVisitor_visitWhileRule_closure2(t0, t1) {
  19595. this.$this = t0;
  19596. this.node = t1;
  19597. },
  19598. _EvaluateVisitor_visitWhileRule__closure2: function _EvaluateVisitor_visitWhileRule__closure2(t0) {
  19599. this.$this = t0;
  19600. },
  19601. _EvaluateVisitor_visitBinaryOperationExpression_closure2: function _EvaluateVisitor_visitBinaryOperationExpression_closure2(t0, t1) {
  19602. this.$this = t0;
  19603. this.node = t1;
  19604. },
  19605. _EvaluateVisitor__slash_closure5: function _EvaluateVisitor__slash_closure5(t0) {
  19606. this._1_0 = t0;
  19607. },
  19608. _EvaluateVisitor__slash_closure6: function _EvaluateVisitor__slash_closure6(t0) {
  19609. this._1_0 = t0;
  19610. },
  19611. _EvaluateVisitor__slash_recommendation2: function _EvaluateVisitor__slash_recommendation2() {
  19612. },
  19613. _EvaluateVisitor_visitVariableExpression_closure2: function _EvaluateVisitor_visitVariableExpression_closure2(t0, t1) {
  19614. this.$this = t0;
  19615. this.node = t1;
  19616. },
  19617. _EvaluateVisitor_visitUnaryOperationExpression_closure2: function _EvaluateVisitor_visitUnaryOperationExpression_closure2(t0, t1) {
  19618. this.node = t0;
  19619. this.operand = t1;
  19620. },
  19621. _EvaluateVisitor_visitListExpression_closure2: function _EvaluateVisitor_visitListExpression_closure2(t0) {
  19622. this.$this = t0;
  19623. },
  19624. _EvaluateVisitor_visitFunctionExpression_closure8: function _EvaluateVisitor_visitFunctionExpression_closure8(t0, t1) {
  19625. this.$this = t0;
  19626. this.node = t1;
  19627. },
  19628. _EvaluateVisitor_visitFunctionExpression_closure9: function _EvaluateVisitor_visitFunctionExpression_closure9() {
  19629. },
  19630. _EvaluateVisitor_visitFunctionExpression_closure10: function _EvaluateVisitor_visitFunctionExpression_closure10(t0, t1, t2) {
  19631. this._box_0 = t0;
  19632. this.$this = t1;
  19633. this.node = t2;
  19634. },
  19635. _EvaluateVisitor__checkCalculationArguments_check2: function _EvaluateVisitor__checkCalculationArguments_check2(t0, t1) {
  19636. this.$this = t0;
  19637. this.node = t1;
  19638. },
  19639. _EvaluateVisitor__visitCalculationExpression_closure2: function _EvaluateVisitor__visitCalculationExpression_closure2(t0, t1, t2, t3) {
  19640. var _ = this;
  19641. _._box_0 = t0;
  19642. _.$this = t1;
  19643. _.node = t2;
  19644. _.inLegacySassFunction = t3;
  19645. },
  19646. _EvaluateVisitor__checkAdjacentCalculationValues_closure2: function _EvaluateVisitor__checkAdjacentCalculationValues_closure2(t0) {
  19647. this._0_0 = t0;
  19648. },
  19649. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure2(t0, t1, t2) {
  19650. this.$this = t0;
  19651. this.node = t1;
  19652. this.$function = t2;
  19653. },
  19654. _EvaluateVisitor__runUserDefinedCallable_closure2: function _EvaluateVisitor__runUserDefinedCallable_closure2(t0, t1, t2, t3, t4, t5) {
  19655. var _ = this;
  19656. _.$this = t0;
  19657. _.callable = t1;
  19658. _.evaluated = t2;
  19659. _.nodeWithSpan = t3;
  19660. _.run = t4;
  19661. _.V = t5;
  19662. },
  19663. _EvaluateVisitor__runUserDefinedCallable__closure2: function _EvaluateVisitor__runUserDefinedCallable__closure2(t0, t1, t2, t3, t4, t5) {
  19664. var _ = this;
  19665. _.$this = t0;
  19666. _.evaluated = t1;
  19667. _.callable = t2;
  19668. _.nodeWithSpan = t3;
  19669. _.run = t4;
  19670. _.V = t5;
  19671. },
  19672. _EvaluateVisitor__runUserDefinedCallable___closure2: function _EvaluateVisitor__runUserDefinedCallable___closure2(t0, t1, t2, t3, t4, t5) {
  19673. var _ = this;
  19674. _.$this = t0;
  19675. _.evaluated = t1;
  19676. _.callable = t2;
  19677. _.nodeWithSpan = t3;
  19678. _.run = t4;
  19679. _.V = t5;
  19680. },
  19681. _EvaluateVisitor__runUserDefinedCallable____closure2: function _EvaluateVisitor__runUserDefinedCallable____closure2() {
  19682. },
  19683. _EvaluateVisitor__runFunctionCallable_closure2: function _EvaluateVisitor__runFunctionCallable_closure2(t0, t1) {
  19684. this.$this = t0;
  19685. this.callable = t1;
  19686. },
  19687. _EvaluateVisitor__runBuiltInCallable_closure8: function _EvaluateVisitor__runBuiltInCallable_closure8(t0, t1, t2) {
  19688. this._box_0 = t0;
  19689. this.evaluated = t1;
  19690. this.namedSet = t2;
  19691. },
  19692. _EvaluateVisitor__runBuiltInCallable_closure9: function _EvaluateVisitor__runBuiltInCallable_closure9(t0, t1) {
  19693. this._box_0 = t0;
  19694. this.evaluated = t1;
  19695. },
  19696. _EvaluateVisitor__runBuiltInCallable_closure10: function _EvaluateVisitor__runBuiltInCallable_closure10() {
  19697. },
  19698. _EvaluateVisitor__evaluateArguments_closure11: function _EvaluateVisitor__evaluateArguments_closure11() {
  19699. },
  19700. _EvaluateVisitor__evaluateArguments_closure12: function _EvaluateVisitor__evaluateArguments_closure12(t0, t1) {
  19701. this.$this = t0;
  19702. this.restNodeForSpan = t1;
  19703. },
  19704. _EvaluateVisitor__evaluateArguments_closure13: function _EvaluateVisitor__evaluateArguments_closure13(t0, t1, t2, t3) {
  19705. var _ = this;
  19706. _.$this = t0;
  19707. _.named = t1;
  19708. _.restNodeForSpan = t2;
  19709. _.namedNodes = t3;
  19710. },
  19711. _EvaluateVisitor__evaluateArguments_closure14: function _EvaluateVisitor__evaluateArguments_closure14() {
  19712. },
  19713. _EvaluateVisitor__evaluateMacroArguments_closure11: function _EvaluateVisitor__evaluateMacroArguments_closure11(t0) {
  19714. this.restArgs = t0;
  19715. },
  19716. _EvaluateVisitor__evaluateMacroArguments_closure12: function _EvaluateVisitor__evaluateMacroArguments_closure12(t0, t1, t2) {
  19717. this.$this = t0;
  19718. this.restNodeForSpan = t1;
  19719. this.restArgs = t2;
  19720. },
  19721. _EvaluateVisitor__evaluateMacroArguments_closure13: function _EvaluateVisitor__evaluateMacroArguments_closure13(t0, t1, t2, t3) {
  19722. var _ = this;
  19723. _.$this = t0;
  19724. _.named = t1;
  19725. _.restNodeForSpan = t2;
  19726. _.restArgs = t3;
  19727. },
  19728. _EvaluateVisitor__evaluateMacroArguments_closure14: function _EvaluateVisitor__evaluateMacroArguments_closure14(t0, t1, t2) {
  19729. this.$this = t0;
  19730. this.keywordRestNodeForSpan = t1;
  19731. this.keywordRestArgs = t2;
  19732. },
  19733. _EvaluateVisitor__addRestMap_closure2: function _EvaluateVisitor__addRestMap_closure2(t0, t1, t2, t3, t4, t5) {
  19734. var _ = this;
  19735. _.$this = t0;
  19736. _.values = t1;
  19737. _.convert = t2;
  19738. _.expressionNode = t3;
  19739. _.map = t4;
  19740. _.nodeWithSpan = t5;
  19741. },
  19742. _EvaluateVisitor__verifyArguments_closure2: function _EvaluateVisitor__verifyArguments_closure2(t0, t1, t2) {
  19743. this.$arguments = t0;
  19744. this.positional = t1;
  19745. this.named = t2;
  19746. },
  19747. _EvaluateVisitor_visitCssAtRule_closure5: function _EvaluateVisitor_visitCssAtRule_closure5(t0, t1) {
  19748. this.$this = t0;
  19749. this.node = t1;
  19750. },
  19751. _EvaluateVisitor_visitCssAtRule_closure6: function _EvaluateVisitor_visitCssAtRule_closure6() {
  19752. },
  19753. _EvaluateVisitor_visitCssKeyframeBlock_closure5: function _EvaluateVisitor_visitCssKeyframeBlock_closure5(t0, t1) {
  19754. this.$this = t0;
  19755. this.node = t1;
  19756. },
  19757. _EvaluateVisitor_visitCssKeyframeBlock_closure6: function _EvaluateVisitor_visitCssKeyframeBlock_closure6() {
  19758. },
  19759. _EvaluateVisitor_visitCssMediaRule_closure8: function _EvaluateVisitor_visitCssMediaRule_closure8(t0, t1) {
  19760. this.$this = t0;
  19761. this.node = t1;
  19762. },
  19763. _EvaluateVisitor_visitCssMediaRule_closure9: function _EvaluateVisitor_visitCssMediaRule_closure9(t0, t1, t2, t3) {
  19764. var _ = this;
  19765. _.$this = t0;
  19766. _.mergedQueries = t1;
  19767. _.node = t2;
  19768. _.mergedSources = t3;
  19769. },
  19770. _EvaluateVisitor_visitCssMediaRule__closure2: function _EvaluateVisitor_visitCssMediaRule__closure2(t0, t1) {
  19771. this.$this = t0;
  19772. this.node = t1;
  19773. },
  19774. _EvaluateVisitor_visitCssMediaRule___closure2: function _EvaluateVisitor_visitCssMediaRule___closure2(t0, t1) {
  19775. this.$this = t0;
  19776. this.node = t1;
  19777. },
  19778. _EvaluateVisitor_visitCssMediaRule_closure10: function _EvaluateVisitor_visitCssMediaRule_closure10(t0) {
  19779. this.mergedSources = t0;
  19780. },
  19781. _EvaluateVisitor_visitCssStyleRule_closure8: function _EvaluateVisitor_visitCssStyleRule_closure8(t0, t1, t2) {
  19782. this.$this = t0;
  19783. this.rule = t1;
  19784. this.node = t2;
  19785. },
  19786. _EvaluateVisitor_visitCssStyleRule__closure2: function _EvaluateVisitor_visitCssStyleRule__closure2(t0, t1) {
  19787. this.$this = t0;
  19788. this.node = t1;
  19789. },
  19790. _EvaluateVisitor_visitCssStyleRule_closure9: function _EvaluateVisitor_visitCssStyleRule_closure9() {
  19791. },
  19792. _EvaluateVisitor_visitCssStyleRule_closure10: function _EvaluateVisitor_visitCssStyleRule_closure10(t0) {
  19793. this._0_0 = t0;
  19794. },
  19795. _EvaluateVisitor_visitCssSupportsRule_closure5: function _EvaluateVisitor_visitCssSupportsRule_closure5(t0, t1) {
  19796. this.$this = t0;
  19797. this.node = t1;
  19798. },
  19799. _EvaluateVisitor_visitCssSupportsRule__closure2: function _EvaluateVisitor_visitCssSupportsRule__closure2(t0, t1) {
  19800. this.$this = t0;
  19801. this.node = t1;
  19802. },
  19803. _EvaluateVisitor_visitCssSupportsRule_closure6: function _EvaluateVisitor_visitCssSupportsRule_closure6() {
  19804. },
  19805. _EvaluateVisitor__performInterpolationHelper_closure2: function _EvaluateVisitor__performInterpolationHelper_closure2(t0) {
  19806. this.interpolation = t0;
  19807. },
  19808. _EvaluateVisitor__serialize_closure2: function _EvaluateVisitor__serialize_closure2(t0, t1) {
  19809. this.value = t0;
  19810. this.quote = t1;
  19811. },
  19812. _EvaluateVisitor__expressionNode_closure2: function _EvaluateVisitor__expressionNode_closure2(t0, t1) {
  19813. this.$this = t0;
  19814. this.expression = t1;
  19815. },
  19816. _EvaluateVisitor__withoutSlash_recommendation2: function _EvaluateVisitor__withoutSlash_recommendation2() {
  19817. },
  19818. _EvaluateVisitor__stackFrame_closure2: function _EvaluateVisitor__stackFrame_closure2(t0) {
  19819. this.$this = t0;
  19820. },
  19821. _ImportedCssVisitor2: function _ImportedCssVisitor2(t0) {
  19822. this._async_evaluate0$_visitor = t0;
  19823. },
  19824. _ImportedCssVisitor_visitCssAtRule_closure2: function _ImportedCssVisitor_visitCssAtRule_closure2() {
  19825. },
  19826. _ImportedCssVisitor_visitCssMediaRule_closure2: function _ImportedCssVisitor_visitCssMediaRule_closure2(t0) {
  19827. this.hasBeenMerged = t0;
  19828. },
  19829. _ImportedCssVisitor_visitCssStyleRule_closure2: function _ImportedCssVisitor_visitCssStyleRule_closure2() {
  19830. },
  19831. _ImportedCssVisitor_visitCssSupportsRule_closure2: function _ImportedCssVisitor_visitCssSupportsRule_closure2() {
  19832. },
  19833. _EvaluationContext2: function _EvaluationContext2(t0, t1) {
  19834. this._async_evaluate0$_visitor = t0;
  19835. this._async_evaluate0$_defaultWarnNodeWithSpan = t1;
  19836. },
  19837. JSToDartAsyncFileImporter: function JSToDartAsyncFileImporter(t0) {
  19838. this._findFileUrl = t0;
  19839. },
  19840. JSToDartAsyncFileImporter_canonicalize_closure: function JSToDartAsyncFileImporter_canonicalize_closure(t0, t1) {
  19841. this.$this = t0;
  19842. this.url = t1;
  19843. },
  19844. AsyncImportCache$(importers, loadPaths, logger, packageConfig) {
  19845. var t1 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2,
  19846. t2 = type$.Uri,
  19847. t3 = A.AsyncImportCache__toImporters0(importers, loadPaths, packageConfig);
  19848. return new A.AsyncImportCache0(t3, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_4_Uri_and_AsyncImporter_baseImporter_and_nullable_Uri_baseUrl_and_bool_forImport_2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult_2));
  19849. },
  19850. AsyncImportCache$none(logger) {
  19851. var t1 = type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2,
  19852. t2 = type$.Uri;
  19853. return new A.AsyncImportCache0(B.List_empty25, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_4_Uri_and_AsyncImporter_baseImporter_and_nullable_Uri_baseUrl_and_bool_forImport_2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult_2));
  19854. },
  19855. AsyncImportCache__toImporters0(importers, loadPaths, packageConfig) {
  19856. var t1, t2, t3, t4, _i, path, _null = null,
  19857. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  19858. if (A.isBrowser()) {
  19859. t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
  19860. if (importers != null)
  19861. B.JSArray_methods.addAll$1(t1, importers);
  19862. return t1;
  19863. }
  19864. t1 = A._setArrayType([], type$.JSArray_AsyncImporter);
  19865. if (importers != null)
  19866. B.JSArray_methods.addAll$1(t1, importers);
  19867. if (loadPaths != null)
  19868. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  19869. t3 = t2.get$current(t2);
  19870. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  19871. }
  19872. if (sassPath != null) {
  19873. t2 = A.isNodeJs() ? self.process : _null;
  19874. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  19875. t4 = t3.length;
  19876. _i = 0;
  19877. for (; _i < t4; ++_i) {
  19878. path = t3[_i];
  19879. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  19880. }
  19881. }
  19882. return t1;
  19883. },
  19884. AsyncImportCache0: function AsyncImportCache0(t0, t1, t2, t3, t4, t5) {
  19885. var _ = this;
  19886. _._async_import_cache0$_importers = t0;
  19887. _._async_import_cache0$_logger = t1;
  19888. _._async_import_cache0$_canonicalizeCache = t2;
  19889. _._async_import_cache0$_relativeCanonicalizeCache = t3;
  19890. _._async_import_cache0$_importCache = t4;
  19891. _._async_import_cache0$_resultsCache = t5;
  19892. },
  19893. AsyncImportCache_canonicalize_closure1: function AsyncImportCache_canonicalize_closure1(t0, t1, t2, t3, t4) {
  19894. var _ = this;
  19895. _.$this = t0;
  19896. _.baseImporter = t1;
  19897. _.baseUrl = t2;
  19898. _.url = t3;
  19899. _.forImport = t4;
  19900. },
  19901. AsyncImportCache_canonicalize_closure2: function AsyncImportCache_canonicalize_closure2(t0, t1, t2, t3) {
  19902. var _ = this;
  19903. _.$this = t0;
  19904. _.url = t1;
  19905. _.baseUrl = t2;
  19906. _.forImport = t3;
  19907. },
  19908. AsyncImportCache__canonicalize_closure1: function AsyncImportCache__canonicalize_closure1(t0, t1) {
  19909. this.importer = t0;
  19910. this.resolved = t1;
  19911. },
  19912. AsyncImportCache__canonicalize__closure0: function AsyncImportCache__canonicalize__closure0(t0, t1) {
  19913. this.importer = t0;
  19914. this.resolved = t1;
  19915. },
  19916. AsyncImportCache__canonicalize_closure2: function AsyncImportCache__canonicalize_closure2(t0, t1) {
  19917. this.importer = t0;
  19918. this.resolved = t1;
  19919. },
  19920. AsyncImportCache_importCanonical_closure0: function AsyncImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
  19921. var _ = this;
  19922. _.$this = t0;
  19923. _.importer = t1;
  19924. _.canonicalUrl = t2;
  19925. _.originalUrl = t3;
  19926. _.quiet = t4;
  19927. },
  19928. AsyncImportCache_humanize_closure3: function AsyncImportCache_humanize_closure3(t0) {
  19929. this.canonicalUrl = t0;
  19930. },
  19931. AsyncImportCache_humanize_closure4: function AsyncImportCache_humanize_closure4() {
  19932. },
  19933. AsyncImportCache_humanize_closure5: function AsyncImportCache_humanize_closure5() {
  19934. },
  19935. AsyncImportCache_humanize_closure6: function AsyncImportCache_humanize_closure6(t0) {
  19936. this.canonicalUrl = t0;
  19937. },
  19938. AtRootQueryParser$0(contents, logger, url) {
  19939. var t1 = A.SpanScanner$(contents, url);
  19940. return new A.AtRootQueryParser0(t1, logger, null);
  19941. },
  19942. AtRootQueryParser0: function AtRootQueryParser0(t0, t1, t2) {
  19943. this.scanner = t0;
  19944. this.logger = t1;
  19945. this._parser0$_interpolationMap = t2;
  19946. },
  19947. AtRootQueryParser_parse_closure0: function AtRootQueryParser_parse_closure0(t0) {
  19948. this.$this = t0;
  19949. },
  19950. AtRootQuery0: function AtRootQuery0(t0, t1, t2, t3) {
  19951. var _ = this;
  19952. _.include = t0;
  19953. _.names = t1;
  19954. _._at_root_query0$_all = t2;
  19955. _._at_root_query0$_rule = t3;
  19956. },
  19957. AtRootRule$0(children, span, query) {
  19958. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  19959. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  19960. return new A.AtRootRule0(query, span, t1, t2);
  19961. },
  19962. AtRootRule0: function AtRootRule0(t0, t1, t2, t3) {
  19963. var _ = this;
  19964. _.query = t0;
  19965. _.span = t1;
  19966. _.children = t2;
  19967. _.hasDeclarations = t3;
  19968. },
  19969. ModifiableCssAtRule$0($name, span, childless, value) {
  19970. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  19971. return new A.ModifiableCssAtRule0($name, value, childless, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  19972. },
  19973. ModifiableCssAtRule0: function ModifiableCssAtRule0(t0, t1, t2, t3, t4, t5) {
  19974. var _ = this;
  19975. _.name = t0;
  19976. _.value = t1;
  19977. _.isChildless = t2;
  19978. _.span = t3;
  19979. _.children = t4;
  19980. _._node$_children = t5;
  19981. _._node$_indexInParent = _._node$_parent = null;
  19982. _.isGroupEnd = false;
  19983. },
  19984. AtRule$0($name, span, children, value) {
  19985. var t1 = children == null ? null : A.List_List$unmodifiable(children, type$.Statement_2),
  19986. t2 = t1 == null ? null : B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  19987. return new A.AtRule0($name, value, span, t1, t2 === true);
  19988. },
  19989. AtRule0: function AtRule0(t0, t1, t2, t3, t4) {
  19990. var _ = this;
  19991. _.name = t0;
  19992. _.value = t1;
  19993. _.span = t2;
  19994. _.children = t3;
  19995. _.hasDeclarations = t4;
  19996. },
  19997. AttributeSelector0: function AttributeSelector0(t0, t1, t2, t3, t4) {
  19998. var _ = this;
  19999. _.name = t0;
  20000. _.op = t1;
  20001. _.value = t2;
  20002. _.modifier = t3;
  20003. _.span = t4;
  20004. },
  20005. AttributeOperator0: function AttributeOperator0(t0, t1) {
  20006. this._attribute0$_text = t0;
  20007. this._name = t1;
  20008. },
  20009. BinaryOperationExpression0: function BinaryOperationExpression0(t0, t1, t2, t3) {
  20010. var _ = this;
  20011. _.operator = t0;
  20012. _.left = t1;
  20013. _.right = t2;
  20014. _.allowsSlash = t3;
  20015. },
  20016. BinaryOperator0: function BinaryOperator0(t0, t1, t2, t3, t4) {
  20017. var _ = this;
  20018. _.name = t0;
  20019. _.operator = t1;
  20020. _.precedence = t2;
  20021. _.isAssociative = t3;
  20022. _._name = t4;
  20023. },
  20024. BooleanExpression0: function BooleanExpression0(t0, t1) {
  20025. this.value = t0;
  20026. this.span = t1;
  20027. },
  20028. booleanClass_closure: function booleanClass_closure() {
  20029. },
  20030. booleanClass__closure: function booleanClass__closure() {
  20031. },
  20032. legacyBooleanClass_closure: function legacyBooleanClass_closure() {
  20033. },
  20034. legacyBooleanClass__closure: function legacyBooleanClass__closure() {
  20035. },
  20036. legacyBooleanClass__closure0: function legacyBooleanClass__closure0() {
  20037. },
  20038. SassBoolean0: function SassBoolean0(t0) {
  20039. this.value = t0;
  20040. },
  20041. Box0: function Box0(t0, t1) {
  20042. this._box0$_inner = t0;
  20043. this.$ti = t1;
  20044. },
  20045. ModifiableBox0: function ModifiableBox0(t0, t1) {
  20046. this.value = t0;
  20047. this.$ti = t1;
  20048. },
  20049. BuiltInCallable$function0($name, $arguments, callback, url) {
  20050. return new A.BuiltInCallable0($name, A._setArrayType([new A._Record_2(A.ScssParser$0("@function " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), callback)], type$.JSArray_Record_2_ArgumentDeclaration_and_Value_Function_List_Value_2), false);
  20051. },
  20052. BuiltInCallable$mixin0($name, $arguments, callback, acceptsContent, url) {
  20053. return new A.BuiltInCallable0($name, A._setArrayType([new A._Record_2(A.ScssParser$0("@mixin " + $name + "(" + $arguments + ") {", null, url).parseArgumentDeclaration$0(), new A.BuiltInCallable$mixin_closure0(callback))], type$.JSArray_Record_2_ArgumentDeclaration_and_Value_Function_List_Value_2), acceptsContent);
  20054. },
  20055. BuiltInCallable$overloadedFunction0($name, overloads) {
  20056. var t2, t3, t4, t5, t6, args, callback,
  20057. t1 = A._setArrayType([], type$.JSArray_Record_2_ArgumentDeclaration_and_Value_Function_List_Value_2);
  20058. for (t2 = type$.String, t3 = A.MapExtensions_get_pairs0(overloads, t2, type$.Value_Function_List_Value_2), t3 = t3.get$iterator(t3), t4 = "@function " + $name + "(", t5 = type$.VariableDeclaration_2; t3.moveNext$0();) {
  20059. t6 = t3.get$current(t3);
  20060. args = t6._0;
  20061. callback = t6._1;
  20062. t6 = A.SpanScanner$(t4 + args + ") {", null);
  20063. t1.push(new A._Record_2(new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(t2, t5), t6, B.StderrLogger_false0, null).parseArgumentDeclaration$0(), callback));
  20064. }
  20065. return new A.BuiltInCallable0($name, t1, false);
  20066. },
  20067. BuiltInCallable0: function BuiltInCallable0(t0, t1, t2) {
  20068. this.name = t0;
  20069. this._built_in$_overloads = t1;
  20070. this.acceptsContent = t2;
  20071. },
  20072. BuiltInCallable$mixin_closure0: function BuiltInCallable$mixin_closure0(t0) {
  20073. this.callback = t0;
  20074. },
  20075. BuiltInModule$0($name, functions, mixins, variables, $T) {
  20076. var t1 = A._Uri__Uri(null, $name, null, "sass"),
  20077. t2 = A.BuiltInModule__callableMap0(functions, $T),
  20078. t3 = A.BuiltInModule__callableMap0(mixins, $T),
  20079. t4 = variables == null ? B.Map_empty13 : new A.UnmodifiableMapView(variables, type$.UnmodifiableMapView_String_Value_2);
  20080. return new A.BuiltInModule0(t1, t2, t3, t4, $T._eval$1("BuiltInModule0<0>"));
  20081. },
  20082. BuiltInModule__callableMap0(callables, $T) {
  20083. var t2, _i, callable,
  20084. t1 = type$.String;
  20085. if (callables == null)
  20086. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  20087. else {
  20088. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, $T);
  20089. for (t2 = callables.length, _i = 0; _i < callables.length; callables.length === t2 || (0, A.throwConcurrentModificationError)(callables), ++_i) {
  20090. callable = callables[_i];
  20091. t1.$indexSet(0, J.get$name$x(callable), callable);
  20092. }
  20093. t1 = new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  20094. }
  20095. return new A.UnmodifiableMapView(t1, type$.$env_1_1_String._bind$1($T)._eval$1("UnmodifiableMapView<1,2>"));
  20096. },
  20097. BuiltInModule0: function BuiltInModule0(t0, t1, t2, t3, t4) {
  20098. var _ = this;
  20099. _.url = t0;
  20100. _.functions = t1;
  20101. _.mixins = t2;
  20102. _.variables = t3;
  20103. _.$ti = t4;
  20104. },
  20105. _assertCalculationValue(arg) {
  20106. var t1;
  20107. $label0$0: {
  20108. if (!(arg instanceof A.SassNumber0))
  20109. t1 = arg instanceof A.SassString0 && !arg._string0$_hasQuotes || arg instanceof A.SassCalculation0 || arg instanceof A.CalculationOperation0 || arg instanceof A.CalculationInterpolation;
  20110. else
  20111. t1 = true;
  20112. if (t1) {
  20113. t1 = null;
  20114. break $label0$0;
  20115. }
  20116. t1 = A.jsThrow0(new self.Error("Argument `" + A.S(arg) + "` must be one of SassNumber, unquoted SassString, SassCalculation, CalculationOperation, CalculationInterpolation"));
  20117. }
  20118. return t1;
  20119. },
  20120. _isValidClampArg(arg) {
  20121. var t1;
  20122. $label0$0: {
  20123. if (!(arg instanceof A.CalculationInterpolation))
  20124. t1 = arg instanceof A.SassString0 && !arg._string0$_hasQuotes;
  20125. else
  20126. t1 = true;
  20127. if (t1) {
  20128. t1 = true;
  20129. break $label0$0;
  20130. }
  20131. t1 = false;
  20132. break $label0$0;
  20133. }
  20134. return t1;
  20135. },
  20136. calculationClass_closure: function calculationClass_closure() {
  20137. },
  20138. calculationClass__closure: function calculationClass__closure() {
  20139. },
  20140. calculationClass__closure0: function calculationClass__closure0() {
  20141. },
  20142. calculationClass__closure1: function calculationClass__closure1() {
  20143. },
  20144. calculationClass__closure2: function calculationClass__closure2() {
  20145. },
  20146. calculationClass__closure3: function calculationClass__closure3() {
  20147. },
  20148. calculationClass__closure4: function calculationClass__closure4() {
  20149. },
  20150. calculationClass__closure5: function calculationClass__closure5() {
  20151. },
  20152. calculationOperationClass_closure: function calculationOperationClass_closure() {
  20153. },
  20154. calculationOperationClass__closure: function calculationOperationClass__closure() {
  20155. },
  20156. calculationOperationClass___closure: function calculationOperationClass___closure(t0) {
  20157. this.strOperator = t0;
  20158. },
  20159. calculationOperationClass__closure0: function calculationOperationClass__closure0() {
  20160. },
  20161. calculationOperationClass__closure1: function calculationOperationClass__closure1() {
  20162. },
  20163. calculationOperationClass__closure2: function calculationOperationClass__closure2() {
  20164. },
  20165. calculationOperationClass__closure3: function calculationOperationClass__closure3() {
  20166. },
  20167. calculationOperationClass__closure4: function calculationOperationClass__closure4() {
  20168. },
  20169. calculationInterpolationClass_closure: function calculationInterpolationClass_closure() {
  20170. },
  20171. calculationInterpolationClass__closure: function calculationInterpolationClass__closure() {
  20172. },
  20173. calculationInterpolationClass__closure0: function calculationInterpolationClass__closure0() {
  20174. },
  20175. calculationInterpolationClass__closure1: function calculationInterpolationClass__closure1() {
  20176. },
  20177. calculationInterpolationClass__closure2: function calculationInterpolationClass__closure2() {
  20178. },
  20179. SassCalculation_calc0(argument) {
  20180. var value, t1,
  20181. _0_0 = A.SassCalculation__simplify0(argument);
  20182. $label0$0: {
  20183. if (_0_0 instanceof A.SassNumber0) {
  20184. value = _0_0;
  20185. t1 = true;
  20186. } else {
  20187. value = null;
  20188. t1 = false;
  20189. }
  20190. if (t1) {
  20191. t1 = value;
  20192. break $label0$0;
  20193. }
  20194. if (_0_0 instanceof A.SassCalculation0) {
  20195. value = _0_0;
  20196. t1 = true;
  20197. } else {
  20198. value = null;
  20199. t1 = false;
  20200. }
  20201. if (t1) {
  20202. t1 = value;
  20203. break $label0$0;
  20204. }
  20205. t1 = new A.SassCalculation0("calc", A.List_List$unmodifiable([_0_0], type$.Object));
  20206. break $label0$0;
  20207. }
  20208. return t1;
  20209. },
  20210. SassCalculation_min0($arguments) {
  20211. var minimum, _i, arg, t2,
  20212. args = A.List_List$unmodifiable(J.map$1$1$ax($arguments, A.calculation0_SassCalculation__simplify$closure(), type$.dynamic), type$.Object),
  20213. t1 = args.length;
  20214. if (t1 === 0)
  20215. throw A.wrapException(A.ArgumentError$("min() must have at least one argument.", null));
  20216. for (minimum = null, _i = 0; _i < t1; ++_i) {
  20217. arg = args[_i];
  20218. if (arg instanceof A.SassNumber0)
  20219. t2 = minimum != null && !minimum.isComparableTo$1(arg);
  20220. else
  20221. t2 = true;
  20222. if (t2) {
  20223. minimum = null;
  20224. break;
  20225. } else if (minimum == null || minimum.greaterThan$1(arg).value)
  20226. minimum = arg;
  20227. }
  20228. if (minimum != null)
  20229. return minimum;
  20230. A.SassCalculation__verifyCompatibleNumbers0(args);
  20231. return new A.SassCalculation0("min", args);
  20232. },
  20233. SassCalculation_max0($arguments) {
  20234. var maximum, _i, arg, t2,
  20235. args = A.List_List$unmodifiable(J.map$1$1$ax($arguments, A.calculation0_SassCalculation__simplify$closure(), type$.dynamic), type$.Object),
  20236. t1 = args.length;
  20237. if (t1 === 0)
  20238. throw A.wrapException(A.ArgumentError$("max() must have at least one argument.", null));
  20239. for (maximum = null, _i = 0; _i < t1; ++_i) {
  20240. arg = args[_i];
  20241. if (arg instanceof A.SassNumber0)
  20242. t2 = maximum != null && !maximum.isComparableTo$1(arg);
  20243. else
  20244. t2 = true;
  20245. if (t2) {
  20246. maximum = null;
  20247. break;
  20248. } else if (maximum == null || maximum.lessThan$1(arg).value)
  20249. maximum = arg;
  20250. }
  20251. if (maximum != null)
  20252. return maximum;
  20253. A.SassCalculation__verifyCompatibleNumbers0(args);
  20254. return new A.SassCalculation0("max", args);
  20255. },
  20256. SassCalculation_hypot0($arguments) {
  20257. var first, subtotal, i, number, value, t2, t3,
  20258. args = A.List_List$unmodifiable(B.JSArray_methods.map$1$1($arguments, A.calculation0_SassCalculation__simplify$closure(), type$.dynamic), type$.Object),
  20259. t1 = args.length;
  20260. if (t1 === 0)
  20261. throw A.wrapException(A.ArgumentError$("hypot() must have at least one argument.", null));
  20262. A.SassCalculation__verifyCompatibleNumbers0(args);
  20263. first = B.JSArray_methods.get$first(args);
  20264. if (!(first instanceof A.SassNumber0) || first.hasUnit$1("%"))
  20265. return new A.SassCalculation0("hypot", args);
  20266. for (subtotal = 0, i = 0; i < t1;) {
  20267. number = args[i];
  20268. if (!(number instanceof A.SassNumber0) || !number.hasCompatibleUnits$1(first))
  20269. return new A.SassCalculation0("hypot", args);
  20270. ++i;
  20271. value = number.convertValueToMatch$3(first, "numbers[" + i + "]", "numbers[1]");
  20272. subtotal += value * value;
  20273. }
  20274. t1 = Math.sqrt(subtotal);
  20275. t2 = J.getInterceptor$x(first);
  20276. t3 = t2.get$numeratorUnits(first);
  20277. return A.SassNumber_SassNumber$withUnits0(t1, t2.get$denominatorUnits(first), t3);
  20278. },
  20279. SassCalculation_abs0(argument) {
  20280. var t1, t2;
  20281. argument = A.SassCalculation__simplify0(argument);
  20282. if (!(argument instanceof A.SassNumber0))
  20283. return new A.SassCalculation0("abs", A._setArrayType([argument], type$.JSArray_Object));
  20284. if (argument.hasUnit$1("%")) {
  20285. t1 = argument.toString$0(0);
  20286. t2 = argument.toString$0(0);
  20287. A.EvaluationContext_current0().warn$2(0, string$.Passinp + t1 + ")\nTo emit a CSS abs() now: abs(#{" + t2 + string$.x7d__Mor, B.Deprecation_la6);
  20288. }
  20289. return A.SassNumber_SassNumber0(Math.abs(argument._number1$_value), null).coerceToMatch$1(argument);
  20290. },
  20291. SassCalculation_exp0(argument) {
  20292. argument = A.SassCalculation__simplify0(argument);
  20293. if (!(argument instanceof A.SassNumber0))
  20294. return new A.SassCalculation0("exp", A._setArrayType([argument], type$.JSArray_Object));
  20295. argument.assertNoUnits$0();
  20296. return A.pow1(A.SassNumber_SassNumber0(2.718281828459045, null), argument);
  20297. },
  20298. SassCalculation_sign0(argument) {
  20299. var _0_2, t1, t2, arg;
  20300. argument = A.SassCalculation__simplify0(argument);
  20301. _0_2 = A._InitializedCell$(new A.SassCalculation_sign_closure0(argument));
  20302. $label0$0: {
  20303. t1 = argument instanceof A.SassNumber0;
  20304. if (t1)
  20305. t2 = isNaN(_0_2._readFinal$0()) || 0 === _0_2._readFinal$0();
  20306. else
  20307. t2 = false;
  20308. if (t2) {
  20309. t1 = argument;
  20310. break $label0$0;
  20311. }
  20312. if (t1) {
  20313. t1 = !argument.hasUnit$1("%");
  20314. arg = argument;
  20315. } else {
  20316. arg = null;
  20317. t1 = false;
  20318. }
  20319. if (t1) {
  20320. t1 = A.SassNumber_SassNumber0(J.get$sign$in(arg._number1$_value), null).coerceToMatch$1(argument);
  20321. break $label0$0;
  20322. }
  20323. t1 = new A.SassCalculation0("sign", A._setArrayType([argument], type$.JSArray_Object));
  20324. break $label0$0;
  20325. }
  20326. return t1;
  20327. },
  20328. SassCalculation_clamp0(min, value, max) {
  20329. var t1, args;
  20330. if (value == null && max != null)
  20331. throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.", null));
  20332. min = A.SassCalculation__simplify0(min);
  20333. value = A.NullableExtension_andThen0(value, A.calculation0_SassCalculation__simplify$closure());
  20334. max = A.NullableExtension_andThen0(max, A.calculation0_SassCalculation__simplify$closure());
  20335. if (min instanceof A.SassNumber0 && value instanceof A.SassNumber0 && max instanceof A.SassNumber0 && min.hasCompatibleUnits$1(value) && min.hasCompatibleUnits$1(max)) {
  20336. if (value.lessThanOrEquals$1(min).value)
  20337. return min;
  20338. if (value.greaterThanOrEquals$1(max).value)
  20339. return max;
  20340. return value;
  20341. }
  20342. t1 = [min];
  20343. if (value != null)
  20344. t1.push(value);
  20345. if (max != null)
  20346. t1.push(max);
  20347. args = A.List_List$unmodifiable(t1, type$.Object);
  20348. A.SassCalculation__verifyCompatibleNumbers0(args);
  20349. A.SassCalculation__verifyLength0(args, 3);
  20350. return new A.SassCalculation0("clamp", args);
  20351. },
  20352. SassCalculation_pow0(base, exponent) {
  20353. var t1 = A._setArrayType([base], type$.JSArray_Object);
  20354. if (exponent != null)
  20355. t1.push(exponent);
  20356. A.SassCalculation__verifyLength0(t1, 2);
  20357. base = A.SassCalculation__simplify0(base);
  20358. exponent = A.NullableExtension_andThen0(exponent, A.calculation0_SassCalculation__simplify$closure());
  20359. if (!(base instanceof A.SassNumber0) || !(exponent instanceof A.SassNumber0))
  20360. return new A.SassCalculation0("pow", t1);
  20361. base.assertNoUnits$0();
  20362. exponent.assertNoUnits$0();
  20363. return A.pow1(base, exponent);
  20364. },
  20365. SassCalculation_log0(number, base) {
  20366. var t1, t2;
  20367. number = A.SassCalculation__simplify0(number);
  20368. base = A.NullableExtension_andThen0(base, A.calculation0_SassCalculation__simplify$closure());
  20369. t1 = A._setArrayType([number], type$.JSArray_Object);
  20370. t2 = base != null;
  20371. if (t2)
  20372. t1.push(base);
  20373. if (number instanceof A.SassNumber0)
  20374. t2 = t2 && !(base instanceof A.SassNumber0);
  20375. else
  20376. t2 = true;
  20377. if (t2)
  20378. return new A.SassCalculation0("log", t1);
  20379. number.assertNoUnits$0();
  20380. if (base instanceof A.SassNumber0) {
  20381. base.assertNoUnits$0();
  20382. return A.log0(number, base);
  20383. }
  20384. return A.log0(number, null);
  20385. },
  20386. SassCalculation_atan20(y, x) {
  20387. var t1;
  20388. y = A.SassCalculation__simplify0(y);
  20389. x = A.NullableExtension_andThen0(x, A.calculation0_SassCalculation__simplify$closure());
  20390. t1 = A._setArrayType([y], type$.JSArray_Object);
  20391. if (x != null)
  20392. t1.push(x);
  20393. A.SassCalculation__verifyLength0(t1, 2);
  20394. A.SassCalculation__verifyCompatibleNumbers0(t1);
  20395. if (!(y instanceof A.SassNumber0) || !(x instanceof A.SassNumber0) || y.hasUnit$1("%") || x.hasUnit$1("%") || !y.hasCompatibleUnits$1(x))
  20396. return new A.SassCalculation0("atan2", t1);
  20397. return A.SassNumber_SassNumber$withUnits0(Math.atan2(y._number1$_value, x.convertValueToMatch$3(y, "x", "y")) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  20398. },
  20399. SassCalculation_rem0(dividend, modulus) {
  20400. var t1, result;
  20401. dividend = A.SassCalculation__simplify0(dividend);
  20402. modulus = A.NullableExtension_andThen0(modulus, A.calculation0_SassCalculation__simplify$closure());
  20403. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  20404. if (modulus != null)
  20405. t1.push(modulus);
  20406. A.SassCalculation__verifyLength0(t1, 2);
  20407. A.SassCalculation__verifyCompatibleNumbers0(t1);
  20408. if (!(dividend instanceof A.SassNumber0) || !(modulus instanceof A.SassNumber0) || !dividend.hasCompatibleUnits$1(modulus))
  20409. return new A.SassCalculation0("rem", t1);
  20410. result = dividend.modulo$1(modulus);
  20411. t1 = modulus._number1$_value;
  20412. if (A.DoubleWithSignedZero_get_signIncludingZero0(t1) !== A.DoubleWithSignedZero_get_signIncludingZero0(dividend._number1$_value)) {
  20413. if (t1 == 1 / 0 || t1 == -1 / 0)
  20414. return dividend;
  20415. if (result._number1$_value === 0)
  20416. return result.unaryMinus$0();
  20417. return result.minus$1(modulus);
  20418. }
  20419. return result;
  20420. },
  20421. SassCalculation_mod0(dividend, modulus) {
  20422. var t1;
  20423. dividend = A.SassCalculation__simplify0(dividend);
  20424. modulus = A.NullableExtension_andThen0(modulus, A.calculation0_SassCalculation__simplify$closure());
  20425. t1 = A._setArrayType([dividend], type$.JSArray_Object);
  20426. if (modulus != null)
  20427. t1.push(modulus);
  20428. A.SassCalculation__verifyLength0(t1, 2);
  20429. A.SassCalculation__verifyCompatibleNumbers0(t1);
  20430. if (!(dividend instanceof A.SassNumber0) || !(modulus instanceof A.SassNumber0) || !dividend.hasCompatibleUnits$1(modulus))
  20431. return new A.SassCalculation0("mod", t1);
  20432. return dividend.modulo$1(modulus);
  20433. },
  20434. SassCalculation_round0(strategyOrNumber, numberOrStep, step) {
  20435. var number, t1, t2, strategy, rest, _null = null, _s5_ = "round",
  20436. _0_0 = new A._Record_3(A.SassCalculation__simplify0(strategyOrNumber), A.NullableExtension_andThen0(numberOrStep, A.calculation0_SassCalculation__simplify$closure()), A.NullableExtension_andThen0(step, A.calculation0_SassCalculation__simplify$closure())),
  20437. _0_1 = A._InitializedCell$(new A.SassCalculation_round_closure9(_0_0)),
  20438. _0_2 = A._InitializedCell$(new A.SassCalculation_round_closure10(_0_0)),
  20439. _0_4 = A._InitializedCell$(new A.SassCalculation_round_closure11(_0_2)),
  20440. _0_5 = A._InitializedCell$(new A.SassCalculation_round_closure12(_0_0)),
  20441. _0_6 = A._InitializedCell$(new A.SassCalculation_round_closure13(_0_5)),
  20442. _0_8 = A._InitializedCell$(new A.SassCalculation_round_closure14(_0_1)),
  20443. _0_10 = A._InitializedCell$(new A.SassCalculation_round_closure15(_0_8)),
  20444. _0_12 = A._InitializedCell$(new A.SassCalculation_round_closure16(_0_8)),
  20445. _0_14 = A._InitializedCell$(new A.SassCalculation_round_closure17(_0_8)),
  20446. _0_16 = A._InitializedCell$(new A.SassCalculation_round_closure18(_0_8));
  20447. if (_0_1._readFinal$0() instanceof A.SassNumber0) {
  20448. number = _0_1._readFinal$0();
  20449. t1 = _0_4._readFinal$0() && _0_6._readFinal$0();
  20450. } else {
  20451. number = _null;
  20452. t1 = false;
  20453. }
  20454. if (t1) {
  20455. t1 = B.JSNumber_methods.round$0(number._number1$_value);
  20456. t2 = number.get$numeratorUnits(number);
  20457. return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
  20458. }
  20459. if (_0_1._readFinal$0() instanceof A.SassNumber0) {
  20460. number = _0_1._readFinal$0();
  20461. if (_0_2._readFinal$0() instanceof A.SassNumber0) {
  20462. step = _0_2._readFinal$0();
  20463. t1 = _0_6._readFinal$0() && !number.hasCompatibleUnits$1(step);
  20464. } else {
  20465. step = _null;
  20466. t1 = false;
  20467. }
  20468. } else {
  20469. step = _null;
  20470. number = step;
  20471. t1 = false;
  20472. }
  20473. if (t1) {
  20474. t1 = type$.JSArray_Object;
  20475. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], t1));
  20476. return new A.SassCalculation0(_s5_, A._setArrayType([number, step], t1));
  20477. }
  20478. if (_0_1._readFinal$0() instanceof A.SassNumber0) {
  20479. number = _0_1._readFinal$0();
  20480. if (_0_2._readFinal$0() instanceof A.SassNumber0) {
  20481. step = _0_2._readFinal$0();
  20482. t1 = _0_6._readFinal$0();
  20483. t1 = t1;
  20484. } else {
  20485. step = _null;
  20486. t1 = false;
  20487. }
  20488. } else {
  20489. step = _null;
  20490. number = step;
  20491. t1 = false;
  20492. }
  20493. if (t1) {
  20494. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], type$.JSArray_Object));
  20495. return A.SassCalculation__roundWithStep0("nearest", number, step);
  20496. }
  20497. if (_0_1._readFinal$0() instanceof A.SassString0)
  20498. if (_0_10._readFinal$0() || _0_12._readFinal$0() || _0_14._readFinal$0() || _0_16._readFinal$0()) {
  20499. strategy = _0_1._readFinal$0();
  20500. if (_0_2._readFinal$0() instanceof A.SassNumber0) {
  20501. number = _0_2._readFinal$0();
  20502. if (_0_5._readFinal$0() instanceof A.SassNumber0) {
  20503. step = _0_5._readFinal$0();
  20504. t1 = !number.hasCompatibleUnits$1(step);
  20505. } else {
  20506. step = _null;
  20507. t1 = false;
  20508. }
  20509. } else {
  20510. step = _null;
  20511. number = step;
  20512. t1 = false;
  20513. }
  20514. } else {
  20515. step = _null;
  20516. number = step;
  20517. strategy = number;
  20518. t1 = false;
  20519. }
  20520. else {
  20521. step = _null;
  20522. number = step;
  20523. strategy = number;
  20524. t1 = false;
  20525. }
  20526. if (t1) {
  20527. t1 = type$.JSArray_Object;
  20528. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], t1));
  20529. return new A.SassCalculation0(_s5_, A._setArrayType([strategy, number, step], t1));
  20530. }
  20531. if (_0_1._readFinal$0() instanceof A.SassString0)
  20532. if (_0_10._readFinal$0() || _0_12._readFinal$0() || _0_14._readFinal$0() || _0_16._readFinal$0()) {
  20533. strategy = _0_1._readFinal$0();
  20534. if (_0_2._readFinal$0() instanceof A.SassNumber0) {
  20535. number = _0_2._readFinal$0();
  20536. if (_0_5._readFinal$0() instanceof A.SassNumber0) {
  20537. step = _0_5._readFinal$0();
  20538. t1 = true;
  20539. } else {
  20540. step = _null;
  20541. t1 = false;
  20542. }
  20543. } else {
  20544. step = _null;
  20545. number = step;
  20546. t1 = false;
  20547. }
  20548. } else {
  20549. step = _null;
  20550. number = step;
  20551. strategy = number;
  20552. t1 = false;
  20553. }
  20554. else {
  20555. step = _null;
  20556. number = step;
  20557. strategy = number;
  20558. t1 = false;
  20559. }
  20560. if (t1) {
  20561. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([number, step], type$.JSArray_Object));
  20562. return A.SassCalculation__roundWithStep0(strategy._string0$_text, number, step);
  20563. }
  20564. if (_0_1._readFinal$0() instanceof A.SassString0)
  20565. if (_0_10._readFinal$0() || _0_12._readFinal$0() || _0_14._readFinal$0() || _0_16._readFinal$0()) {
  20566. strategy = _0_1._readFinal$0();
  20567. if (_0_2._readFinal$0() instanceof A.SassString0) {
  20568. rest = _0_2._readFinal$0();
  20569. t1 = _0_6._readFinal$0();
  20570. t1 = t1;
  20571. } else {
  20572. rest = _null;
  20573. t1 = false;
  20574. }
  20575. } else {
  20576. rest = _null;
  20577. strategy = rest;
  20578. t1 = false;
  20579. }
  20580. else {
  20581. rest = _null;
  20582. strategy = rest;
  20583. t1 = false;
  20584. }
  20585. if (t1)
  20586. return new A.SassCalculation0(_s5_, A._setArrayType([strategy, rest], type$.JSArray_Object));
  20587. if (_0_1._readFinal$0() instanceof A.SassString0)
  20588. if (_0_10._readFinal$0() || _0_12._readFinal$0() || _0_14._readFinal$0() || _0_16._readFinal$0())
  20589. t1 = _0_2._readFinal$0() != null && true && _0_6._readFinal$0();
  20590. else
  20591. t1 = false;
  20592. else
  20593. t1 = false;
  20594. if (t1)
  20595. throw A.wrapException(A.SassScriptException$0(string$.If_str, _null));
  20596. if (_0_1._readFinal$0() instanceof A.SassString0)
  20597. t1 = (_0_10._readFinal$0() || _0_12._readFinal$0() || _0_14._readFinal$0() || _0_16._readFinal$0()) && _0_4._readFinal$0() && _0_6._readFinal$0();
  20598. else
  20599. t1 = false;
  20600. if (t1)
  20601. throw A.wrapException(A.SassScriptException$0(string$.Number, _null));
  20602. if (_0_1._readFinal$0() instanceof A.SassString0) {
  20603. rest = _0_1._readFinal$0();
  20604. t1 = _0_4._readFinal$0() && _0_6._readFinal$0();
  20605. } else {
  20606. rest = _null;
  20607. t1 = false;
  20608. }
  20609. if (t1)
  20610. return new A.SassCalculation0(_s5_, A._setArrayType([rest], type$.JSArray_Object));
  20611. number = _0_1._readFinal$0();
  20612. if (_0_4._readFinal$0() && _0_6._readFinal$0())
  20613. throw A.wrapException(A.SassScriptException$0("Single argument " + A.S(number) + " expected to be simplifiable.", _null));
  20614. number = _0_1._readFinal$0();
  20615. if (_0_2._readFinal$0() != null) {
  20616. step = _0_2._readFinal$0();
  20617. t1 = true;
  20618. } else {
  20619. step = _null;
  20620. t1 = false;
  20621. }
  20622. t1 = t1 && _0_6._readFinal$0();
  20623. if (t1)
  20624. return new A.SassCalculation0(_s5_, A._setArrayType([number, step], type$.JSArray_Object));
  20625. if (_0_1._readFinal$0() instanceof A.SassString0)
  20626. t1 = _0_10._readFinal$0() || _0_12._readFinal$0() || _0_14._readFinal$0() || _0_16._readFinal$0();
  20627. else
  20628. t1 = false;
  20629. if (!t1)
  20630. t1 = _0_1._readFinal$0() instanceof A.SassString0 && _0_1._readFinal$0().get$isVar();
  20631. else
  20632. t1 = true;
  20633. if (t1) {
  20634. strategy = _0_1._readFinal$0();
  20635. if (_0_2._readFinal$0() != null) {
  20636. number = _0_2._readFinal$0();
  20637. t1 = true;
  20638. } else {
  20639. number = _null;
  20640. t1 = false;
  20641. }
  20642. if (t1)
  20643. if (_0_5._readFinal$0() != null) {
  20644. step = _0_5._readFinal$0();
  20645. t1 = true;
  20646. } else {
  20647. step = _null;
  20648. t1 = false;
  20649. }
  20650. else {
  20651. step = _null;
  20652. t1 = false;
  20653. }
  20654. } else {
  20655. step = _null;
  20656. number = step;
  20657. strategy = number;
  20658. t1 = false;
  20659. }
  20660. if (t1)
  20661. return new A.SassCalculation0(_s5_, A._setArrayType([strategy, number, step], type$.JSArray_Object));
  20662. if (_0_2._readFinal$0() != null && true && _0_5._readFinal$0() != null && true)
  20663. throw A.wrapException(A.SassScriptException$0(A.S(strategyOrNumber) + string$.x20must_b, _null));
  20664. if (_0_4._readFinal$0())
  20665. _0_5._readFinal$0();
  20666. t1 = A.SassScriptException$0("Invalid parameters.", _null);
  20667. throw A.wrapException(t1);
  20668. },
  20669. SassCalculation_operateInternal0(operator, left, right, inLegacySassFunction, simplify) {
  20670. var t1;
  20671. if (!simplify)
  20672. return new A.CalculationOperation0(operator, left, right);
  20673. left = A.SassCalculation__simplify0(left);
  20674. right = A.SassCalculation__simplify0(right);
  20675. if (B.CalculationOperator_IyK0 === operator || B.CalculationOperator_2bx0 === operator) {
  20676. if (left instanceof A.SassNumber0)
  20677. if (right instanceof A.SassNumber0)
  20678. t1 = inLegacySassFunction ? left.isComparableTo$1(right) : left.hasCompatibleUnits$1(right);
  20679. else
  20680. t1 = false;
  20681. else
  20682. t1 = false;
  20683. if (t1)
  20684. return operator === B.CalculationOperator_IyK0 ? left.plus$1(right) : left.minus$1(right);
  20685. A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([left, right], type$.JSArray_Object));
  20686. if (right instanceof A.SassNumber0) {
  20687. t1 = right._number1$_value;
  20688. t1 = t1 < 0 && !A.fuzzyEquals0(t1, 0);
  20689. } else
  20690. t1 = false;
  20691. if (t1) {
  20692. right = right.times$1(A.SassNumber_SassNumber0(-1, null));
  20693. operator = operator === B.CalculationOperator_IyK0 ? B.CalculationOperator_2bx0 : B.CalculationOperator_IyK0;
  20694. }
  20695. return new A.CalculationOperation0(operator, left, right);
  20696. } else if (left instanceof A.SassNumber0 && right instanceof A.SassNumber0)
  20697. return operator === B.CalculationOperator_jFr0 ? left.times$1(right) : left.dividedBy$1(right);
  20698. else
  20699. return new A.CalculationOperation0(operator, left, right);
  20700. },
  20701. SassCalculation__roundWithStep0(strategy, number, step) {
  20702. var t1, t2, _0_0, _0_2, _0_1, _0_6, _0_8, _0_9, _0_11, _0_13, stepWithNumberUnit;
  20703. if (!A.LinkedHashSet_LinkedHashSet$_literal(["nearest", "up", "down", "to-zero"], type$.String).contains$1(0, strategy))
  20704. throw A.wrapException(A.ArgumentError$(strategy + string$.x20must_b, null));
  20705. t1 = number._number1$_value;
  20706. if (t1 == 1 / 0 || t1 == -1 / 0) {
  20707. t2 = step._number1$_value;
  20708. t2 = t2 == 1 / 0 || t2 == -1 / 0;
  20709. } else
  20710. t2 = false;
  20711. if (!t2) {
  20712. t2 = step._number1$_value;
  20713. t2 = t2 === 0 || isNaN(t1) || isNaN(t2);
  20714. } else
  20715. t2 = true;
  20716. if (t2) {
  20717. t1 = number.get$numeratorUnits(number);
  20718. return A.SassNumber_SassNumber$withUnits0(0 / 0, number.get$denominatorUnits(number), t1);
  20719. }
  20720. if (t1 == 1 / 0 || t1 == -1 / 0)
  20721. return number;
  20722. t2 = step._number1$_value;
  20723. if (t2 == 1 / 0 || t2 == -1 / 0) {
  20724. _0_0 = new A._Record_2(strategy, t1);
  20725. _0_2 = A._InitializedCell$(new A.SassCalculation__roundWithStep_closure6(_0_0));
  20726. _0_1 = A._InitializedCell$(new A.SassCalculation__roundWithStep_closure7(_0_0));
  20727. _0_6 = A._InitializedCell$(new A.SassCalculation__roundWithStep_closure8(_0_1));
  20728. _0_8 = A._InitializedCell$(new A.SassCalculation__roundWithStep_closure9(_0_1));
  20729. _0_9 = A._InitializedCell$(new A.SassCalculation__roundWithStep_closure10(_0_2));
  20730. _0_11 = A._InitializedCell$(new A.SassCalculation__roundWithStep_closure11(_0_1));
  20731. _0_13 = A._InitializedCell$(new A.SassCalculation__roundWithStep_closure12(_0_1));
  20732. $label0$0: {
  20733. if (0 === _0_2._readFinal$0()) {
  20734. t1 = number;
  20735. break $label0$0;
  20736. }
  20737. if ((_0_6._readFinal$0() || _0_8._readFinal$0()) && _0_9._readFinal$0()) {
  20738. t1 = number.get$numeratorUnits(number);
  20739. t1 = A.SassNumber_SassNumber$withUnits0(0, number.get$denominatorUnits(number), t1);
  20740. break $label0$0;
  20741. }
  20742. if (_0_6._readFinal$0() || _0_8._readFinal$0()) {
  20743. t1 = number.get$numeratorUnits(number);
  20744. t1 = A.SassNumber_SassNumber$withUnits0(-0.0, number.get$denominatorUnits(number), t1);
  20745. break $label0$0;
  20746. }
  20747. if (_0_11._readFinal$0() && _0_9._readFinal$0()) {
  20748. t1 = number.get$numeratorUnits(number);
  20749. t1 = A.SassNumber_SassNumber$withUnits0(1 / 0, number.get$denominatorUnits(number), t1);
  20750. break $label0$0;
  20751. }
  20752. if (_0_11._readFinal$0()) {
  20753. t1 = number.get$numeratorUnits(number);
  20754. t1 = A.SassNumber_SassNumber$withUnits0(-0.0, number.get$denominatorUnits(number), t1);
  20755. break $label0$0;
  20756. }
  20757. if (_0_13._readFinal$0() && _0_2._readFinal$0() < 0) {
  20758. t1 = number.get$numeratorUnits(number);
  20759. t1 = A.SassNumber_SassNumber$withUnits0(-1 / 0, number.get$denominatorUnits(number), t1);
  20760. break $label0$0;
  20761. }
  20762. if (_0_13._readFinal$0()) {
  20763. t1 = number.get$numeratorUnits(number);
  20764. t1 = A.SassNumber_SassNumber$withUnits0(0, number.get$denominatorUnits(number), t1);
  20765. break $label0$0;
  20766. }
  20767. t1 = A.throwExpression(A.UnsupportedError$("Invalid argument: " + strategy + "."));
  20768. }
  20769. return t1;
  20770. }
  20771. stepWithNumberUnit = step.convertValueToMatch$1(number);
  20772. $label1$1: {
  20773. if ("nearest" === strategy) {
  20774. t1 = B.JSNumber_methods.round$0(t1 / stepWithNumberUnit);
  20775. t2 = number.get$numeratorUnits(number);
  20776. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  20777. t1 = t2;
  20778. break $label1$1;
  20779. }
  20780. if ("up" === strategy) {
  20781. t1 /= stepWithNumberUnit;
  20782. t1 = t2 < 0 ? B.JSNumber_methods.floor$0(t1) : B.JSNumber_methods.ceil$0(t1);
  20783. t2 = number.get$numeratorUnits(number);
  20784. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  20785. t1 = t2;
  20786. break $label1$1;
  20787. }
  20788. if ("down" === strategy) {
  20789. t1 /= stepWithNumberUnit;
  20790. t1 = t2 < 0 ? B.JSNumber_methods.ceil$0(t1) : B.JSNumber_methods.floor$0(t1);
  20791. t2 = number.get$numeratorUnits(number);
  20792. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  20793. t1 = t2;
  20794. break $label1$1;
  20795. }
  20796. if ("to-zero" === strategy) {
  20797. t2 = t1 / stepWithNumberUnit;
  20798. if (t1 < 0) {
  20799. t1 = B.JSNumber_methods.ceil$0(t2);
  20800. t2 = number.get$numeratorUnits(number);
  20801. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  20802. t1 = t2;
  20803. } else {
  20804. t1 = B.JSNumber_methods.floor$0(t2);
  20805. t2 = number.get$numeratorUnits(number);
  20806. t2 = A.SassNumber_SassNumber$withUnits0(t1 * stepWithNumberUnit, number.get$denominatorUnits(number), t2);
  20807. t1 = t2;
  20808. }
  20809. break $label1$1;
  20810. }
  20811. t1 = number.get$numeratorUnits(number);
  20812. t1 = A.SassNumber_SassNumber$withUnits0(0 / 0, number.get$denominatorUnits(number), t1);
  20813. break $label1$1;
  20814. }
  20815. return t1;
  20816. },
  20817. SassCalculation__simplify0(arg) {
  20818. var t1, text, t2, value, _null = null,
  20819. _s32_ = " can't be used in a calculation.",
  20820. _0_11 = A._InitializedCell$(new A.SassCalculation__simplify_closure3(arg)),
  20821. _0_12 = A._InitializedCell$(new A.SassCalculation__simplify_closure4(arg)),
  20822. _0_15 = A._InitializedCell$(new A.SassCalculation__simplify_closure5(_0_12)),
  20823. _0_16 = A._InitializedCell$(new A.SassCalculation__simplify_closure6(_0_12));
  20824. $label0$0: {
  20825. if (arg instanceof A.SassNumber0 || arg instanceof A.CalculationOperation0) {
  20826. t1 = arg;
  20827. break $label0$0;
  20828. }
  20829. if (arg instanceof A.CalculationInterpolation) {
  20830. t1 = new A.SassString0("(" + arg._calculation0$_value + ")", false);
  20831. break $label0$0;
  20832. }
  20833. t1 = arg instanceof A.SassString0;
  20834. if (t1 && !arg._string0$_hasQuotes) {
  20835. t1 = arg;
  20836. break $label0$0;
  20837. }
  20838. if (t1)
  20839. A.throwExpression(A.SassScriptException$0("Quoted string " + arg.toString$0(0) + _s32_, _null));
  20840. t1 = arg instanceof A.SassCalculation0;
  20841. if (t1)
  20842. if (_0_11._readFinal$0())
  20843. if (_0_15._readFinal$0())
  20844. if (_0_16._readFinal$0() instanceof A.SassString0)
  20845. if (!_0_16._readFinal$0()._string0$_hasQuotes) {
  20846. text = _0_16._readFinal$0()._string0$_text;
  20847. t2 = A.SassCalculation__needsParentheses0(text);
  20848. } else {
  20849. text = _null;
  20850. t2 = false;
  20851. }
  20852. else {
  20853. text = _null;
  20854. t2 = false;
  20855. }
  20856. else {
  20857. text = _null;
  20858. t2 = false;
  20859. }
  20860. else {
  20861. text = _null;
  20862. t2 = false;
  20863. }
  20864. else {
  20865. text = _null;
  20866. t2 = false;
  20867. }
  20868. if (t2) {
  20869. t1 = new A.SassString0("(" + A.S(text) + ")", false);
  20870. break $label0$0;
  20871. }
  20872. if (t1)
  20873. if (_0_11._readFinal$0())
  20874. if (_0_15._readFinal$0()) {
  20875. value = _0_16._readFinal$0();
  20876. t2 = true;
  20877. } else {
  20878. value = _null;
  20879. t2 = false;
  20880. }
  20881. else {
  20882. value = _null;
  20883. t2 = false;
  20884. }
  20885. else {
  20886. value = _null;
  20887. t2 = false;
  20888. }
  20889. if (t2) {
  20890. t1 = value;
  20891. break $label0$0;
  20892. }
  20893. if (t1) {
  20894. t1 = arg;
  20895. break $label0$0;
  20896. }
  20897. if (arg instanceof A.Value0)
  20898. A.throwExpression(A.SassScriptException$0("Value " + arg.toString$0(0) + _s32_, _null));
  20899. t1 = A.throwExpression(A.ArgumentError$("Unexpected calculation argument " + A.S(arg) + ".", _null));
  20900. }
  20901. return t1;
  20902. },
  20903. SassCalculation__needsParentheses0(text) {
  20904. var t1, couldBeVar, second, third, fourth, i, t2,
  20905. first = text.charCodeAt(0);
  20906. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47 || first === 42)
  20907. return true;
  20908. t1 = text.length;
  20909. couldBeVar = t1 >= 4 && A.characterEqualsIgnoreCase0(first, 118);
  20910. if (t1 < 2)
  20911. return false;
  20912. second = text.charCodeAt(1);
  20913. if (second === 32 || second === 9 || second === 10 || second === 13 || second === 12 || second === 47 || second === 42)
  20914. return true;
  20915. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase0(second, 97);
  20916. if (t1 < 3)
  20917. return false;
  20918. third = text.charCodeAt(2);
  20919. if (third === 32 || third === 9 || third === 10 || third === 13 || third === 12 || third === 47 || third === 42)
  20920. return true;
  20921. couldBeVar = couldBeVar && A.characterEqualsIgnoreCase0(third, 114);
  20922. if (t1 < 4)
  20923. return false;
  20924. fourth = text.charCodeAt(3);
  20925. if (couldBeVar && fourth === 40)
  20926. return true;
  20927. if (fourth === 32 || fourth === 9 || fourth === 10 || fourth === 13 || fourth === 12 || fourth === 47 || fourth === 42)
  20928. return true;
  20929. for (i = 4; i < t1; ++i) {
  20930. t2 = text.charCodeAt(i);
  20931. if (t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || t2 === 47 || t2 === 42)
  20932. return true;
  20933. }
  20934. return false;
  20935. },
  20936. SassCalculation__verifyCompatibleNumbers0(args) {
  20937. var t1, _i, t2, arg, i, number1, j, number2;
  20938. for (t1 = args.length, _i = 0; t2 = args.length, _i < t2; args.length === t1 || (0, A.throwConcurrentModificationError)(args), ++_i) {
  20939. arg = args[_i];
  20940. if (arg instanceof A.SassNumber0 && arg.get$hasComplexUnits())
  20941. throw A.wrapException(A.SassScriptException$0("Number " + A.S(arg) + " isn't compatible with CSS calculations.", null));
  20942. }
  20943. for (t1 = t2, i = 0; i < t1 - 1; ++i) {
  20944. number1 = args[i];
  20945. if (!(number1 instanceof A.SassNumber0))
  20946. continue;
  20947. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  20948. number2 = args[j];
  20949. if (!(number2 instanceof A.SassNumber0))
  20950. continue;
  20951. if (number1.hasPossiblyCompatibleUnits$1(number2))
  20952. continue;
  20953. throw A.wrapException(A.SassScriptException$0(number1.toString$0(0) + " and " + number2.toString$0(0) + " are incompatible.", null));
  20954. }
  20955. }
  20956. },
  20957. SassCalculation__verifyLength0(args, expectedLength) {
  20958. var t1;
  20959. if (args.length === expectedLength)
  20960. return;
  20961. if (B.JSArray_methods.any$1(args, new A.SassCalculation__verifyLength_closure0()))
  20962. return;
  20963. t1 = args.length;
  20964. throw A.wrapException(A.SassScriptException$0("" + expectedLength + " arguments required, but only " + t1 + " " + A.pluralize0("was", t1, "were") + " passed.", null));
  20965. },
  20966. SassCalculation__singleArgument0($name, argument, mathFunc, forbidUnits) {
  20967. argument = A.SassCalculation__simplify0(argument);
  20968. if (!(argument instanceof A.SassNumber0))
  20969. return new A.SassCalculation0($name, A._setArrayType([argument], type$.JSArray_Object));
  20970. if (forbidUnits)
  20971. argument.assertNoUnits$0();
  20972. return mathFunc.call$1(argument);
  20973. },
  20974. SassCalculation0: function SassCalculation0(t0, t1) {
  20975. this.name = t0;
  20976. this.$arguments = t1;
  20977. },
  20978. SassCalculation_sign_closure0: function SassCalculation_sign_closure0(t0) {
  20979. this._0_0 = t0;
  20980. },
  20981. SassCalculation_round_closure9: function SassCalculation_round_closure9(t0) {
  20982. this._0_0 = t0;
  20983. },
  20984. SassCalculation_round_closure10: function SassCalculation_round_closure10(t0) {
  20985. this._0_0 = t0;
  20986. },
  20987. SassCalculation_round_closure11: function SassCalculation_round_closure11(t0) {
  20988. this._0_2 = t0;
  20989. },
  20990. SassCalculation_round_closure12: function SassCalculation_round_closure12(t0) {
  20991. this._0_0 = t0;
  20992. },
  20993. SassCalculation_round_closure13: function SassCalculation_round_closure13(t0) {
  20994. this._0_5 = t0;
  20995. },
  20996. SassCalculation_round_closure14: function SassCalculation_round_closure14(t0) {
  20997. this._0_1 = t0;
  20998. },
  20999. SassCalculation_round_closure15: function SassCalculation_round_closure15(t0) {
  21000. this._0_8 = t0;
  21001. },
  21002. SassCalculation_round_closure16: function SassCalculation_round_closure16(t0) {
  21003. this._0_8 = t0;
  21004. },
  21005. SassCalculation_round_closure17: function SassCalculation_round_closure17(t0) {
  21006. this._0_8 = t0;
  21007. },
  21008. SassCalculation_round_closure18: function SassCalculation_round_closure18(t0) {
  21009. this._0_8 = t0;
  21010. },
  21011. SassCalculation__roundWithStep_closure7: function SassCalculation__roundWithStep_closure7(t0) {
  21012. this._0_0 = t0;
  21013. },
  21014. SassCalculation__roundWithStep_closure6: function SassCalculation__roundWithStep_closure6(t0) {
  21015. this._0_0 = t0;
  21016. },
  21017. SassCalculation__roundWithStep_closure8: function SassCalculation__roundWithStep_closure8(t0) {
  21018. this._0_1 = t0;
  21019. },
  21020. SassCalculation__roundWithStep_closure9: function SassCalculation__roundWithStep_closure9(t0) {
  21021. this._0_1 = t0;
  21022. },
  21023. SassCalculation__roundWithStep_closure10: function SassCalculation__roundWithStep_closure10(t0) {
  21024. this._0_2 = t0;
  21025. },
  21026. SassCalculation__roundWithStep_closure11: function SassCalculation__roundWithStep_closure11(t0) {
  21027. this._0_1 = t0;
  21028. },
  21029. SassCalculation__roundWithStep_closure12: function SassCalculation__roundWithStep_closure12(t0) {
  21030. this._0_1 = t0;
  21031. },
  21032. SassCalculation__simplify_closure3: function SassCalculation__simplify_closure3(t0) {
  21033. this._0_0 = t0;
  21034. },
  21035. SassCalculation__simplify_closure4: function SassCalculation__simplify_closure4(t0) {
  21036. this._0_0 = t0;
  21037. },
  21038. SassCalculation__simplify_closure5: function SassCalculation__simplify_closure5(t0) {
  21039. this._0_12 = t0;
  21040. },
  21041. SassCalculation__simplify_closure6: function SassCalculation__simplify_closure6(t0) {
  21042. this._0_12 = t0;
  21043. },
  21044. SassCalculation__verifyLength_closure0: function SassCalculation__verifyLength_closure0() {
  21045. },
  21046. CalculationOperation0: function CalculationOperation0(t0, t1, t2) {
  21047. this._calculation0$_operator = t0;
  21048. this._calculation0$_left = t1;
  21049. this._calculation0$_right = t2;
  21050. },
  21051. CalculationOperator0: function CalculationOperator0(t0, t1, t2, t3) {
  21052. var _ = this;
  21053. _.name = t0;
  21054. _.operator = t1;
  21055. _.precedence = t2;
  21056. _._name = t3;
  21057. },
  21058. CalculationInterpolation: function CalculationInterpolation(t0) {
  21059. this._calculation0$_value = t0;
  21060. },
  21061. CallableDeclaration0: function CallableDeclaration0() {
  21062. },
  21063. Chokidar0: function Chokidar0() {
  21064. },
  21065. ChokidarOptions0: function ChokidarOptions0() {
  21066. },
  21067. ChokidarWatcher0: function ChokidarWatcher0() {
  21068. },
  21069. ClassSelector0: function ClassSelector0(t0, t1) {
  21070. this.name = t0;
  21071. this.span = t1;
  21072. },
  21073. cloneCssStylesheet0(stylesheet, extensionStore) {
  21074. var _0_0 = extensionStore.clone$0();
  21075. return new A._Record_2(new A._CloneCssVisitor0(_0_0._1)._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(stylesheet.get$span(stylesheet)), stylesheet), _0_0._0);
  21076. },
  21077. _CloneCssVisitor0: function _CloneCssVisitor0(t0) {
  21078. this._clone_css$_oldToNewSelectors = t0;
  21079. },
  21080. ColorExpression0: function ColorExpression0(t0, t1) {
  21081. this.value = t0;
  21082. this.span = t1;
  21083. },
  21084. _updateComponents0($arguments, adjust, change, scale) {
  21085. var keywords, alpha, red, green, blue, hue, saturation, lightness, whiteness, blackness, hasRgb, hasSL, hasWB, t2, t3, t4, _null = null,
  21086. t1 = J.getInterceptor$asx($arguments),
  21087. color = t1.$index($arguments, 0).assertColor$1("color"),
  21088. argumentList = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  21089. if (argumentList._list1$_contents.length !== 0)
  21090. throw A.wrapException(A.SassScriptException$0(string$.Only_op, _null));
  21091. argumentList._argument_list$_wereKeywordsAccessed = true;
  21092. keywords = A.LinkedHashMap_LinkedHashMap$of(argumentList._argument_list$_keywords, type$.String, type$.Value_2);
  21093. t1 = new A._updateComponents_getParam0(keywords, scale, change);
  21094. alpha = t1.call$3$checkUnitless("alpha", 1, true);
  21095. red = t1.call$2("red", 255);
  21096. green = t1.call$2("green", 255);
  21097. blue = t1.call$2("blue", 255);
  21098. hue = scale ? _null : A.NullableExtension_andThen0(keywords.remove$1(0, "hue"), new A._updateComponents_closure1());
  21099. saturation = t1.call$3$checkPercent("saturation", 100, true);
  21100. lightness = t1.call$3$checkPercent("lightness", 100, true);
  21101. whiteness = t1.call$3$assertPercent("whiteness", 100, true);
  21102. blackness = t1.call$3$assertPercent("blackness", 100, true);
  21103. t1 = keywords.__js_helper$_length;
  21104. if (t1 !== 0)
  21105. throw A.wrapException(A.SassScriptException$0("No " + A.pluralize0("argument", t1, _null) + " named " + A.toSentence0(keywords.get$keys(keywords).map$1$1(0, new A._updateComponents_closure2(), type$.Object), "or") + ".", _null));
  21106. hasRgb = red != null || green != null || blue != null;
  21107. hasSL = saturation != null || lightness != null;
  21108. hasWB = whiteness != null || blackness != null;
  21109. if (hasRgb)
  21110. t1 = hasSL || hasWB || hue != null;
  21111. else
  21112. t1 = false;
  21113. if (t1)
  21114. throw A.wrapException(A.SassScriptException$0(string$.RGB_pa + (hasWB ? "HWB" : "HSL") + " parameters.", _null));
  21115. if (hasSL && hasWB)
  21116. throw A.wrapException(A.SassScriptException$0(string$.HSL_pa, _null));
  21117. t1 = new A._updateComponents_updateValue0(change, adjust);
  21118. t2 = new A._updateComponents_updateRgb0(t1);
  21119. if (hasRgb) {
  21120. t3 = t2.call$2(color.get$red(color), red);
  21121. t4 = t2.call$2(color.get$green(color), green);
  21122. t2 = t2.call$2(color.get$blue(color), blue);
  21123. return color.changeRgb$4$alpha$blue$green$red(t1.call$3(color._color1$_alpha, alpha, 1), t2, t4, t3);
  21124. } else if (hasWB) {
  21125. if (change)
  21126. t2 = hue;
  21127. else {
  21128. t2 = color.get$hue(color);
  21129. t2 += hue == null ? 0 : hue;
  21130. }
  21131. t3 = t1.call$3(color.get$whiteness(color), whiteness, 100);
  21132. t4 = t1.call$3(color.get$blackness(color), blackness, 100);
  21133. return color.changeHwb$4$alpha$blackness$hue$whiteness(t1.call$3(color._color1$_alpha, alpha, 1), t4, t2, t3);
  21134. } else {
  21135. t2 = hue == null;
  21136. if (!t2 || hasSL) {
  21137. if (change)
  21138. t2 = hue;
  21139. else {
  21140. t3 = color.get$hue(color);
  21141. t3 += t2 ? 0 : hue;
  21142. t2 = t3;
  21143. }
  21144. t3 = t1.call$3(color.get$saturation(color), saturation, 100);
  21145. t4 = t1.call$3(color.get$lightness(color), lightness, 100);
  21146. return color.changeHsl$4$alpha$hue$lightness$saturation(t1.call$3(color._color1$_alpha, alpha, 1), t2, t4, t3);
  21147. } else if (alpha != null)
  21148. return color.changeAlpha$1(t1.call$3(color._color1$_alpha, alpha, 1));
  21149. else
  21150. return color;
  21151. }
  21152. },
  21153. _functionString0($name, $arguments) {
  21154. return new A.SassString0($name + "(" + J.map$1$1$ax($arguments, new A._functionString_closure0(), type$.String).join$1(0, ", ") + ")", false);
  21155. },
  21156. _removedColorFunction0($name, argument, negative) {
  21157. return A.BuiltInCallable$function0($name, "$color, $amount", new A._removedColorFunction_closure0($name, argument, negative), "sass:color");
  21158. },
  21159. _rgb0($name, $arguments) {
  21160. var t2, red, green, blue, t3, t4,
  21161. t1 = J.getInterceptor$asx($arguments),
  21162. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  21163. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  21164. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  21165. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  21166. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  21167. t2 = t2 === true;
  21168. } else
  21169. t2 = true;
  21170. else
  21171. t2 = true;
  21172. else
  21173. t2 = true;
  21174. if (t2)
  21175. return A._functionString0($name, $arguments);
  21176. red = t1.$index($arguments, 0).assertNumber$1("red");
  21177. green = t1.$index($arguments, 1).assertNumber$1("green");
  21178. blue = t1.$index($arguments, 2).assertNumber$1("blue");
  21179. t1 = A.fuzzyRound0(A._percentageOrUnitless0(red, 255, "red"));
  21180. t2 = A.fuzzyRound0(A._percentageOrUnitless0(green, 255, "green"));
  21181. t3 = A.fuzzyRound0(A._percentageOrUnitless0(blue, 255, "blue"));
  21182. t4 = A.NullableExtension_andThen0(alpha, new A._rgb_closure0());
  21183. return A.SassColor$rgbInternal0(t1, t2, t3, t4 == null ? 1 : t4, B._ColorFormatEnum_rgbFunction0);
  21184. },
  21185. _rgbTwoArg0($name, $arguments) {
  21186. var t2, color,
  21187. t1 = J.getInterceptor$asx($arguments);
  21188. if (!t1.$index($arguments, 0).get$isVar())
  21189. t2 = !(t1.$index($arguments, 0) instanceof A.SassColor0) && t1.$index($arguments, 1).get$isVar();
  21190. else
  21191. t2 = true;
  21192. if (t2)
  21193. return A._functionString0($name, $arguments);
  21194. else if (t1.$index($arguments, 1).get$isSpecialNumber()) {
  21195. color = t1.$index($arguments, 0).assertColor$1("color");
  21196. 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);
  21197. }
  21198. return t1.$index($arguments, 0).assertColor$1("color").changeAlpha$1(A._percentageOrUnitless0(t1.$index($arguments, 1).assertNumber$1("alpha"), 1, "alpha"));
  21199. },
  21200. _hsl0($name, $arguments) {
  21201. var t2, hue, saturation, lightness, t3,
  21202. _s10_ = "saturation",
  21203. _s9_ = "lightness",
  21204. t1 = J.getInterceptor$asx($arguments),
  21205. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null;
  21206. if (!t1.$index($arguments, 0).get$isSpecialNumber())
  21207. if (!t1.$index($arguments, 1).get$isSpecialNumber())
  21208. if (!t1.$index($arguments, 2).get$isSpecialNumber()) {
  21209. t2 = alpha == null ? null : alpha.get$isSpecialNumber();
  21210. t2 = t2 === true;
  21211. } else
  21212. t2 = true;
  21213. else
  21214. t2 = true;
  21215. else
  21216. t2 = true;
  21217. if (t2)
  21218. return A._functionString0($name, $arguments);
  21219. hue = A._angleValue0(t1.$index($arguments, 0), "hue");
  21220. saturation = t1.$index($arguments, 1).assertNumber$1(_s10_);
  21221. lightness = t1.$index($arguments, 2).assertNumber$1(_s9_);
  21222. A._checkPercent0(saturation, _s10_);
  21223. A._checkPercent0(lightness, _s9_);
  21224. t1 = B.JSNumber_methods.clamp$2(saturation._number1$_value, 0, 100);
  21225. t2 = B.JSNumber_methods.clamp$2(lightness._number1$_value, 0, 100);
  21226. t3 = A.NullableExtension_andThen0(alpha, new A._hsl_closure0());
  21227. return A.SassColor$hslInternal0(hue, t1, t2, t3 == null ? 1 : t3, B._ColorFormatEnum_hslFunction0);
  21228. },
  21229. _angleValue0(angleValue, $name) {
  21230. var t1, t2,
  21231. angle = angleValue.assertNumber$1($name);
  21232. if (angle.compatibleWithUnit$1("deg"))
  21233. return angle.coerceValueToUnit$1("deg");
  21234. t1 = angle.toString$0(0);
  21235. t2 = angle.unitSuggestion$1($name);
  21236. A.EvaluationContext_current0().warn$2(0, "$" + $name + ": Passing a unit other than deg (" + t1 + string$.x29x20is_d + t2 + string$.x0a_See_, B.Deprecation_0bn);
  21237. return angle._number1$_value;
  21238. },
  21239. _checkPercent0(number, $name) {
  21240. var t1, t2;
  21241. if (number.hasUnit$1("%"))
  21242. return;
  21243. t1 = number.toString$0(0);
  21244. t2 = number.unitSuggestion$2($name, "%");
  21245. A.EvaluationContext_current0().warn$2(0, "$" + $name + ": Passing a number without unit % (" + t1 + string$.x29x20is_d + t2 + string$.x0a_Morex3a, B.Deprecation_0bn);
  21246. },
  21247. _hwb0($arguments) {
  21248. var t2, t3,
  21249. _s9_ = "whiteness",
  21250. _s9_0 = "blackness",
  21251. t1 = J.getInterceptor$asx($arguments),
  21252. alpha = t1.get$length($arguments) > 3 ? t1.$index($arguments, 3) : null,
  21253. hue = A._angleValue0(t1.$index($arguments, 0), "hue"),
  21254. whiteness = t1.$index($arguments, 1).assertNumber$1(_s9_),
  21255. blackness = t1.$index($arguments, 2).assertNumber$1(_s9_0);
  21256. whiteness.assertUnit$2("%", _s9_);
  21257. blackness.assertUnit$2("%", _s9_0);
  21258. t1 = whiteness.valueInRange$3(0, 100, _s9_);
  21259. t2 = blackness.valueInRange$3(0, 100, _s9_0);
  21260. t3 = A.NullableExtension_andThen0(alpha, new A._hwb_closure0());
  21261. return A.SassColor_SassColor$hwb0(hue, t1, t2, t3 == null ? 1 : t3);
  21262. },
  21263. _parseChannels0($name, argumentNames, channels) {
  21264. var list, t1, channels0, alphaFromSlashList, isCommaSeparated, isBracketed, buffer, _0_4, text, _1_0, _1_2, channel3, alpha, _null = null,
  21265. _s17_ = "$channels must be";
  21266. if (channels.get$isVar())
  21267. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  21268. if (channels.get$separator(channels) === B.ListSeparator_zg90) {
  21269. list = channels.get$asList();
  21270. t1 = list.length;
  21271. if (t1 !== 2)
  21272. throw A.wrapException(A.SassScriptException$0(string$.Only_2 + t1 + " " + A.pluralize0("was", t1, "were") + " passed.", _null));
  21273. channels0 = list[0];
  21274. alphaFromSlashList = list[1];
  21275. if (!alphaFromSlashList.get$isSpecialNumber())
  21276. alphaFromSlashList.assertNumber$1("alpha");
  21277. if (list[0].get$isVar())
  21278. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  21279. } else {
  21280. alphaFromSlashList = _null;
  21281. channels0 = channels;
  21282. }
  21283. isCommaSeparated = channels0.get$separator(channels0) === B.ListSeparator_rXA0;
  21284. isBracketed = channels0.get$hasBrackets();
  21285. if (isCommaSeparated || isBracketed) {
  21286. buffer = new A.StringBuffer(_s17_);
  21287. if (isBracketed) {
  21288. t1 = _s17_ + " an unbracketed";
  21289. buffer._contents = t1;
  21290. } else
  21291. t1 = _s17_;
  21292. if (isCommaSeparated) {
  21293. t1 += isBracketed ? "," : " a";
  21294. buffer._contents = t1;
  21295. t1 = buffer._contents = t1 + " space-separated";
  21296. }
  21297. buffer._contents = t1 + " list.";
  21298. throw A.wrapException(A.SassScriptException$0(buffer.toString$0(0), _null));
  21299. }
  21300. list = channels0.get$asList();
  21301. _0_4 = A._InitializedCell$(new A._parseChannels_closure2(list));
  21302. if (list.length >= 2)
  21303. if (_0_4._readFinal$0() instanceof A.SassString0) {
  21304. text = _0_4._readFinal$0()._string0$_text;
  21305. t1 = !_0_4._readFinal$0()._string0$_hasQuotes && A.equalsIgnoreCase0(text, "from");
  21306. } else
  21307. t1 = false;
  21308. else
  21309. t1 = false;
  21310. if (t1)
  21311. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  21312. t1 = list.length;
  21313. if (t1 > 3)
  21314. throw A.wrapException(A.SassScriptException$0("Only 3 elements allowed, but " + t1 + " were passed.", _null));
  21315. else if (t1 < 3) {
  21316. if (!B.JSArray_methods.any$1(list, new A._parseChannels_closure3()))
  21317. if (list.length !== 0) {
  21318. t1 = B.JSArray_methods.get$last(list);
  21319. if (t1 instanceof A.SassString0)
  21320. if (t1._string0$_hasQuotes) {
  21321. t1 = t1._string0$_text;
  21322. t1 = A.startsWithIgnoreCase0(t1, "var(") && B.JSString_methods.contains$1(t1, "/");
  21323. } else
  21324. t1 = false;
  21325. else
  21326. t1 = false;
  21327. } else
  21328. t1 = false;
  21329. else
  21330. t1 = true;
  21331. if (t1)
  21332. return A._functionString0($name, A._setArrayType([channels], type$.JSArray_Value_2));
  21333. else
  21334. throw A.wrapException(A.SassScriptException$0("Missing element " + argumentNames[list.length] + ".", _null));
  21335. }
  21336. if (alphaFromSlashList != null) {
  21337. t1 = A.List_List$of(list, true, type$.Value_2);
  21338. t1.push(alphaFromSlashList);
  21339. return t1;
  21340. }
  21341. _1_0 = list[2];
  21342. _1_2 = A._InitializedCell$(new A._parseChannels_closure4(_1_0));
  21343. $label0$0: {
  21344. if (_1_0 instanceof A.SassNumber0)
  21345. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_2._readFinal$0())) {
  21346. t1 = type$.SassNumber_2;
  21347. channel3 = t1._as(_1_2._readFinal$0()._0);
  21348. alpha = t1._as(_1_2._readFinal$0()._1);
  21349. t1 = true;
  21350. } else {
  21351. alpha = _null;
  21352. channel3 = alpha;
  21353. t1 = false;
  21354. }
  21355. else {
  21356. alpha = _null;
  21357. channel3 = alpha;
  21358. t1 = false;
  21359. }
  21360. if (t1) {
  21361. t1 = A._setArrayType([list[0], list[1], channel3, alpha], type$.JSArray_Value_2);
  21362. break $label0$0;
  21363. }
  21364. if (_1_0 instanceof A.SassString0)
  21365. if (!_1_0._string0$_hasQuotes)
  21366. t1 = B.JSString_methods.contains$1(_1_0._string0$_text, "/");
  21367. else
  21368. t1 = false;
  21369. else
  21370. t1 = false;
  21371. if (t1) {
  21372. t1 = A._functionString0($name, A._setArrayType([channels0], type$.JSArray_Value_2));
  21373. break $label0$0;
  21374. }
  21375. t1 = list;
  21376. break $label0$0;
  21377. }
  21378. return t1;
  21379. },
  21380. _percentageOrUnitless0(number, max, $name) {
  21381. var value;
  21382. if (!number.get$hasUnits())
  21383. value = number._number1$_value;
  21384. else if (number.hasUnit$1("%"))
  21385. value = max * number._number1$_value / 100;
  21386. else
  21387. throw A.wrapException(A.SassScriptException$0("$" + $name + ": Expected " + number.toString$0(0) + ' to have unit "%" or no units.', null));
  21388. return B.JSNumber_methods.clamp$2(value, 0, max);
  21389. },
  21390. _mixColors0(color1, color2, weight) {
  21391. var weightScale, normalizedWeight, t1, t2, alphaDistance, t3, weight1, weight2;
  21392. A._checkPercent0(weight, "weight");
  21393. weightScale = weight.valueInRange$3(0, 100, "weight") / 100;
  21394. normalizedWeight = weightScale * 2 - 1;
  21395. t1 = color1._color1$_alpha;
  21396. t2 = color2._color1$_alpha;
  21397. alphaDistance = t1 - t2;
  21398. t3 = normalizedWeight * alphaDistance;
  21399. weight1 = ((t3 === -1 ? normalizedWeight : (normalizedWeight + alphaDistance) / (1 + t3)) + 1) / 2;
  21400. weight2 = 1 - weight1;
  21401. 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));
  21402. },
  21403. _opacify0($arguments) {
  21404. var t1 = J.getInterceptor$asx($arguments),
  21405. color = t1.$index($arguments, 0).assertColor$1("color");
  21406. 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));
  21407. },
  21408. _transparentize0($arguments) {
  21409. var t1 = J.getInterceptor$asx($arguments),
  21410. color = t1.$index($arguments, 0).assertColor$1("color");
  21411. 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));
  21412. },
  21413. _function11($name, $arguments, callback) {
  21414. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:color");
  21415. },
  21416. global_closure32: function global_closure32() {
  21417. },
  21418. global_closure33: function global_closure33() {
  21419. },
  21420. global_closure34: function global_closure34() {
  21421. },
  21422. global_closure35: function global_closure35() {
  21423. },
  21424. global_closure36: function global_closure36() {
  21425. },
  21426. global_closure37: function global_closure37() {
  21427. },
  21428. global_closure38: function global_closure38() {
  21429. },
  21430. global_closure39: function global_closure39() {
  21431. },
  21432. global_closure40: function global_closure40() {
  21433. },
  21434. global_closure41: function global_closure41() {
  21435. },
  21436. global_closure42: function global_closure42() {
  21437. },
  21438. global_closure43: function global_closure43() {
  21439. },
  21440. global_closure44: function global_closure44() {
  21441. },
  21442. global_closure45: function global_closure45() {
  21443. },
  21444. global_closure46: function global_closure46() {
  21445. },
  21446. global_closure47: function global_closure47() {
  21447. },
  21448. global_closure48: function global_closure48() {
  21449. },
  21450. global_closure49: function global_closure49() {
  21451. },
  21452. global_closure50: function global_closure50() {
  21453. },
  21454. global_closure51: function global_closure51() {
  21455. },
  21456. global_closure52: function global_closure52() {
  21457. },
  21458. global_closure53: function global_closure53() {
  21459. },
  21460. global_closure54: function global_closure54() {
  21461. },
  21462. global_closure55: function global_closure55() {
  21463. },
  21464. global_closure56: function global_closure56() {
  21465. },
  21466. global_closure57: function global_closure57() {
  21467. },
  21468. global__closure0: function global__closure0() {
  21469. },
  21470. global_closure58: function global_closure58() {
  21471. },
  21472. module_closure12: function module_closure12() {
  21473. },
  21474. module_closure13: function module_closure13() {
  21475. },
  21476. module_closure14: function module_closure14() {
  21477. },
  21478. module_closure15: function module_closure15() {
  21479. },
  21480. module_closure16: function module_closure16() {
  21481. },
  21482. module_closure17: function module_closure17() {
  21483. },
  21484. module_closure18: function module_closure18() {
  21485. },
  21486. module_closure19: function module_closure19() {
  21487. },
  21488. module__closure4: function module__closure4() {
  21489. },
  21490. module_closure20: function module_closure20() {
  21491. },
  21492. _red_closure0: function _red_closure0() {
  21493. },
  21494. _green_closure0: function _green_closure0() {
  21495. },
  21496. _blue_closure0: function _blue_closure0() {
  21497. },
  21498. _mix_closure0: function _mix_closure0() {
  21499. },
  21500. _hue_closure0: function _hue_closure0() {
  21501. },
  21502. _saturation_closure0: function _saturation_closure0() {
  21503. },
  21504. _lightness_closure0: function _lightness_closure0() {
  21505. },
  21506. _complement_closure0: function _complement_closure0() {
  21507. },
  21508. _adjust_closure0: function _adjust_closure0() {
  21509. },
  21510. _scale_closure0: function _scale_closure0() {
  21511. },
  21512. _change_closure0: function _change_closure0() {
  21513. },
  21514. _ieHexStr_closure0: function _ieHexStr_closure0() {
  21515. },
  21516. _ieHexStr_closure_hexString0: function _ieHexStr_closure_hexString0() {
  21517. },
  21518. _updateComponents_getParam0: function _updateComponents_getParam0(t0, t1, t2) {
  21519. this.keywords = t0;
  21520. this.scale = t1;
  21521. this.change = t2;
  21522. },
  21523. _updateComponents_closure1: function _updateComponents_closure1() {
  21524. },
  21525. _updateComponents_closure2: function _updateComponents_closure2() {
  21526. },
  21527. _updateComponents_updateValue0: function _updateComponents_updateValue0(t0, t1) {
  21528. this.change = t0;
  21529. this.adjust = t1;
  21530. },
  21531. _updateComponents_updateRgb0: function _updateComponents_updateRgb0(t0) {
  21532. this.updateValue = t0;
  21533. },
  21534. _functionString_closure0: function _functionString_closure0() {
  21535. },
  21536. _removedColorFunction_closure0: function _removedColorFunction_closure0(t0, t1, t2) {
  21537. this.name = t0;
  21538. this.argument = t1;
  21539. this.negative = t2;
  21540. },
  21541. _rgb_closure0: function _rgb_closure0() {
  21542. },
  21543. _hsl_closure0: function _hsl_closure0() {
  21544. },
  21545. _hwb_closure0: function _hwb_closure0() {
  21546. },
  21547. _parseChannels_closure2: function _parseChannels_closure2(t0) {
  21548. this._0_0 = t0;
  21549. },
  21550. _parseChannels_closure3: function _parseChannels_closure3() {
  21551. },
  21552. _parseChannels_closure4: function _parseChannels_closure4(t0) {
  21553. this._1_0 = t0;
  21554. },
  21555. colorClass_closure: function colorClass_closure() {
  21556. },
  21557. colorClass__closure: function colorClass__closure() {
  21558. },
  21559. colorClass__closure0: function colorClass__closure0() {
  21560. },
  21561. colorClass__closure1: function colorClass__closure1() {
  21562. },
  21563. colorClass__closure2: function colorClass__closure2() {
  21564. },
  21565. colorClass__closure3: function colorClass__closure3() {
  21566. },
  21567. colorClass__closure4: function colorClass__closure4() {
  21568. },
  21569. colorClass__closure5: function colorClass__closure5() {
  21570. },
  21571. colorClass__closure6: function colorClass__closure6() {
  21572. },
  21573. colorClass__closure7: function colorClass__closure7() {
  21574. },
  21575. colorClass__closure8: function colorClass__closure8() {
  21576. },
  21577. colorClass__closure9: function colorClass__closure9() {
  21578. },
  21579. _Channels: function _Channels() {
  21580. },
  21581. _NodeSassColor: function _NodeSassColor() {
  21582. },
  21583. legacyColorClass_closure: function legacyColorClass_closure() {
  21584. },
  21585. legacyColorClass_closure0: function legacyColorClass_closure0() {
  21586. },
  21587. legacyColorClass_closure1: function legacyColorClass_closure1() {
  21588. },
  21589. legacyColorClass_closure2: function legacyColorClass_closure2() {
  21590. },
  21591. legacyColorClass_closure3: function legacyColorClass_closure3() {
  21592. },
  21593. legacyColorClass_closure4: function legacyColorClass_closure4() {
  21594. },
  21595. legacyColorClass_closure5: function legacyColorClass_closure5() {
  21596. },
  21597. legacyColorClass_closure6: function legacyColorClass_closure6() {
  21598. },
  21599. legacyColorClass_closure7: function legacyColorClass_closure7() {
  21600. },
  21601. SassColor$rgb0(red, green, blue, alpha) {
  21602. var _null = null,
  21603. t1 = new A.SassColor0(red, green, blue, _null, _null, _null, A.fuzzyAssertRange0(A.SassColor__handleNullAlpha0(alpha), 0, 1, "alpha"), _null);
  21604. A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
  21605. A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
  21606. A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
  21607. return t1;
  21608. },
  21609. SassColor$rgbInternal0(_red, _green, _blue, alpha, format) {
  21610. var t1 = new A.SassColor0(_red, _green, _blue, null, null, null, A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), format);
  21611. A.RangeError_checkValueInInterval(t1.get$red(t1), 0, 255, "red");
  21612. A.RangeError_checkValueInInterval(t1.get$green(t1), 0, 255, "green");
  21613. A.RangeError_checkValueInInterval(t1.get$blue(t1), 0, 255, "blue");
  21614. return t1;
  21615. },
  21616. SassColor$hsl(hue, saturation, lightness, alpha) {
  21617. var _null = null,
  21618. t1 = A.SassColor__handleNullAlpha0(alpha);
  21619. return new A.SassColor0(_null, _null, _null, B.JSNumber_methods.$mod(hue, 360), A.fuzzyAssertRange0(saturation, 0, 100, "saturation"), A.fuzzyAssertRange0(lightness, 0, 100, "lightness"), A.fuzzyAssertRange0(t1, 0, 1, "alpha"), _null);
  21620. },
  21621. SassColor$hslInternal0(hue, saturation, lightness, alpha, format) {
  21622. return new A.SassColor0(null, null, null, B.JSNumber_methods.$mod(hue, 360), A.fuzzyAssertRange0(saturation, 0, 100, "saturation"), A.fuzzyAssertRange0(lightness, 0, 100, "lightness"), A.fuzzyAssertRange0(alpha, 0, 1, "alpha"), format);
  21623. },
  21624. SassColor_SassColor$hwb0(hue, whiteness, blackness, alpha) {
  21625. var t2, t1 = {},
  21626. scaledHue = B.JSNumber_methods.$mod(hue, 360) / 360,
  21627. scaledWhiteness = t1.scaledWhiteness = A.fuzzyAssertRange0(whiteness, 0, 100, "whiteness") / 100,
  21628. scaledBlackness = A.fuzzyAssertRange0(blackness, 0, 100, "blackness") / 100,
  21629. sum = scaledWhiteness + scaledBlackness;
  21630. if (sum > 1) {
  21631. t2 = t1.scaledWhiteness = scaledWhiteness / sum;
  21632. scaledBlackness /= sum;
  21633. } else
  21634. t2 = scaledWhiteness;
  21635. t2 = new A.SassColor_SassColor$hwb_toRgb0(t1, 1 - t2 - scaledBlackness);
  21636. return A.SassColor$rgb0(t2.call$1(scaledHue + 0.3333333333333333), t2.call$1(scaledHue), t2.call$1(scaledHue - 0.3333333333333333), alpha);
  21637. },
  21638. SassColor__handleNullAlpha0(alpha) {
  21639. if (alpha != null)
  21640. return alpha;
  21641. A.EvaluationContext_current0().warn$2(0, "Passing null for alpha in the JS API is deprecated.\nTo preserve current behavior, pass 1 or undefined instead.\nMore info: https://sass-lang.com/d/null-alpha", B.Deprecation_UZD);
  21642. return 1;
  21643. },
  21644. SassColor__hueToRgb0(m1, m2, hue) {
  21645. var t1;
  21646. if (hue < 0)
  21647. ++hue;
  21648. if (hue > 1)
  21649. --hue;
  21650. $label0$0: {
  21651. if (hue < 0.16666666666666666) {
  21652. t1 = m1 + (m2 - m1) * hue * 6;
  21653. break $label0$0;
  21654. }
  21655. if (hue < 0.5) {
  21656. t1 = m2;
  21657. break $label0$0;
  21658. }
  21659. if (hue < 0.6666666666666666) {
  21660. t1 = m1 + (m2 - m1) * (0.6666666666666666 - hue) * 6;
  21661. break $label0$0;
  21662. }
  21663. t1 = m1;
  21664. break $label0$0;
  21665. }
  21666. return t1;
  21667. },
  21668. SassColor0: function SassColor0(t0, t1, t2, t3, t4, t5, t6, t7) {
  21669. var _ = this;
  21670. _._color1$_red = t0;
  21671. _._color1$_green = t1;
  21672. _._color1$_blue = t2;
  21673. _._color1$_hue = t3;
  21674. _._color1$_saturation = t4;
  21675. _._color1$_lightness = t5;
  21676. _._color1$_alpha = t6;
  21677. _.format = t7;
  21678. },
  21679. SassColor_SassColor$hwb_toRgb0: function SassColor_SassColor$hwb_toRgb0(t0, t1) {
  21680. this._box_0 = t0;
  21681. this.factor = t1;
  21682. },
  21683. _ColorFormatEnum0: function _ColorFormatEnum0(t0) {
  21684. this._color1$_name = t0;
  21685. },
  21686. SpanColorFormat0: function SpanColorFormat0(t0) {
  21687. this._color1$_span = t0;
  21688. },
  21689. Combinator0: function Combinator0(t0, t1) {
  21690. this._combinator0$_text = t0;
  21691. this._name = t1;
  21692. },
  21693. ModifiableCssComment0: function ModifiableCssComment0(t0, t1) {
  21694. var _ = this;
  21695. _.text = t0;
  21696. _.span = t1;
  21697. _._node$_indexInParent = _._node$_parent = null;
  21698. _.isGroupEnd = false;
  21699. },
  21700. compile0(path, options) {
  21701. var color, ascii, result, error, stackTrace, t1, color0, ascii0, t2, t3, t4, t5, t6, t7, t8, t9, t10, exception, _null = null;
  21702. if (!A.isNodeJs())
  21703. A.jsThrow(new self.Error("The compile() method is only available in Node.js."));
  21704. t1 = options == null;
  21705. color0 = t1 ? _null : J.get$alertColor$x(options);
  21706. color = color0 == null ? A.hasTerminal0() : color0;
  21707. ascii0 = t1 ? _null : J.get$alertAscii$x(options);
  21708. ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
  21709. try {
  21710. t2 = t1 ? _null : J.get$loadPaths$x(options);
  21711. t3 = t1 ? _null : J.get$quietDeps$x(options);
  21712. if (t3 == null)
  21713. t3 = false;
  21714. t4 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
  21715. t5 = t1 ? _null : J.get$verbose$x(options);
  21716. if (t5 == null)
  21717. t5 = false;
  21718. t6 = t1 ? _null : J.get$charset$x(options);
  21719. if (t6 == null)
  21720. t6 = true;
  21721. t7 = t1 ? _null : J.get$sourceMap$x(options);
  21722. if (t7 == null)
  21723. t7 = false;
  21724. t8 = t1 ? _null : J.get$logger$x(options);
  21725. t9 = ascii;
  21726. if (t9 == null)
  21727. t9 = $._glyphs === B.C_AsciiGlyphSet;
  21728. t9 = new A.JSToDartLogger(t8, new A.StderrLogger0(color), t9);
  21729. if (t1)
  21730. t8 = _null;
  21731. else {
  21732. t8 = J.get$importers$x(options);
  21733. t8 = t8 == null ? _null : J.map$1$1$ax(t8, A.compile___parseImporter$closure(), type$.Importer);
  21734. }
  21735. t10 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
  21736. result = A.compile(path, t6, _null, new A.CastList(t10, A._arrayInstanceType(t10)._eval$1("CastList<1,Callable>")), _null, A.ImportCache$0(t8, t2, t9, _null), _null, _null, t9, _null, t3, t7, t4, _null, true, t5);
  21737. t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
  21738. if (t1 == null)
  21739. t1 = false;
  21740. t1 = A._convertResult(result, t1);
  21741. return t1;
  21742. } catch (exception) {
  21743. t1 = A.unwrapException(exception);
  21744. if (t1 instanceof A.SassException0) {
  21745. error = t1;
  21746. stackTrace = A.getTraceFromException(exception);
  21747. A.throwNodeException(error, ascii, color, stackTrace);
  21748. } else
  21749. throw exception;
  21750. }
  21751. },
  21752. compileString0(text, options) {
  21753. var result, error, stackTrace, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, exception, _null = null,
  21754. t1 = options == null,
  21755. color0 = t1 ? _null : J.get$alertColor$x(options),
  21756. color = color0 == null ? A.hasTerminal0() : color0,
  21757. ascii0 = t1 ? _null : J.get$alertAscii$x(options),
  21758. ascii = ascii0 == null ? $._glyphs === B.C_AsciiGlyphSet : ascii0;
  21759. try {
  21760. t2 = A.parseSyntax(t1 ? _null : J.get$syntax$x(options));
  21761. t3 = t1 ? _null : A.NullableExtension_andThen0(J.get$url$x(options), A.utils1__jsToDartUrl$closure());
  21762. t4 = t1 ? _null : J.get$loadPaths$x(options);
  21763. t5 = t1 ? _null : J.get$quietDeps$x(options);
  21764. if (t5 == null)
  21765. t5 = false;
  21766. t6 = A._parseOutputStyle0(t1 ? _null : J.get$style$x(options));
  21767. t7 = t1 ? _null : J.get$verbose$x(options);
  21768. if (t7 == null)
  21769. t7 = false;
  21770. t8 = t1 ? _null : J.get$charset$x(options);
  21771. if (t8 == null)
  21772. t8 = true;
  21773. t9 = t1 ? _null : J.get$sourceMap$x(options);
  21774. if (t9 == null)
  21775. t9 = false;
  21776. t10 = t1 ? _null : J.get$logger$x(options);
  21777. t11 = ascii;
  21778. if (t11 == null)
  21779. t11 = $._glyphs === B.C_AsciiGlyphSet;
  21780. t11 = new A.JSToDartLogger(t10, new A.StderrLogger0(color), t11);
  21781. if (t1)
  21782. t10 = _null;
  21783. else {
  21784. t10 = J.get$importers$x(options);
  21785. t10 = t10 == null ? _null : J.map$1$1$ax(t10, A.compile___parseImporter$closure(), type$.Importer);
  21786. }
  21787. t12 = t1 ? _null : A.NullableExtension_andThen0(J.get$importer$x(options), A.compile___parseImporter$closure());
  21788. if (t12 == null)
  21789. t12 = (t1 ? _null : J.get$url$x(options)) == null ? new A.NoOpImporter0() : _null;
  21790. t13 = A._parseFunctions0(t1 ? _null : J.get$functions$x(options), false);
  21791. result = A.compileString(text, t8, _null, new A.CastList(t13, A._arrayInstanceType(t13)._eval$1("CastList<1,Callable>")), _null, A.ImportCache$0(t10, t4, t11, _null), t12, _null, _null, t11, _null, t5, t9, t6, t2, t3, true, t7);
  21792. t1 = t1 ? _null : J.get$sourceMapIncludeSources$x(options);
  21793. if (t1 == null)
  21794. t1 = false;
  21795. t1 = A._convertResult(result, t1);
  21796. return t1;
  21797. } catch (exception) {
  21798. t1 = A.unwrapException(exception);
  21799. if (t1 instanceof A.SassException0) {
  21800. error = t1;
  21801. stackTrace = A.getTraceFromException(exception);
  21802. A.throwNodeException(error, ascii, color, stackTrace);
  21803. } else
  21804. throw exception;
  21805. }
  21806. },
  21807. compileAsync1(path, options) {
  21808. var t1, color, ascii;
  21809. if (!A.isNodeJs())
  21810. A.jsThrow(new self.Error("The compileAsync() method is only available in Node.js."));
  21811. t1 = options == null;
  21812. color = t1 ? null : J.get$alertColor$x(options);
  21813. if (color == null)
  21814. color = A.hasTerminal0();
  21815. ascii = t1 ? null : J.get$alertAscii$x(options);
  21816. if (ascii == null)
  21817. ascii = $._glyphs === B.C_AsciiGlyphSet;
  21818. return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileAsync_closure(path, color, options, ascii).call$0()), ascii, color);
  21819. },
  21820. compileStringAsync1(text, options) {
  21821. var ascii,
  21822. t1 = options == null,
  21823. color = t1 ? null : J.get$alertColor$x(options);
  21824. if (color == null)
  21825. color = A.hasTerminal0();
  21826. ascii = t1 ? null : J.get$alertAscii$x(options);
  21827. if (ascii == null)
  21828. ascii = $._glyphs === B.C_AsciiGlyphSet;
  21829. return A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileStringAsync_closure(text, options, color, ascii).call$0()), ascii, color);
  21830. },
  21831. _convertResult(result, includeSourceContents) {
  21832. var loadedUrls,
  21833. t1 = result._compile_result$_serialize,
  21834. t2 = t1._1,
  21835. sourceMap = t2 == null ? null : t2.toJson$1$includeSourceContents(includeSourceContents);
  21836. if (type$.Map_String_dynamic._is(sourceMap) && !sourceMap.containsKey$1("sources"))
  21837. sourceMap.$indexSet(0, "sources", A._setArrayType([], type$.JSArray_String));
  21838. loadedUrls = A.toJSArray(result._evaluate._0.map$1$1(0, A.utils1__dartToJSUrl$closure(), type$.nullable_Object));
  21839. t1 = t1._0;
  21840. return sourceMap == null ? {css: t1, loadedUrls: loadedUrls} : {css: t1, sourceMap: A.jsify(sourceMap), loadedUrls: loadedUrls};
  21841. },
  21842. _wrapAsyncSassExceptions(promise, ascii, color) {
  21843. return J.then$2$x(promise, null, A.allowInterop(new A._wrapAsyncSassExceptions_closure(color, ascii)));
  21844. },
  21845. _parseOutputStyle0(style) {
  21846. var t1;
  21847. $label0$0: {
  21848. if (style == null || "expanded" === style) {
  21849. t1 = B.OutputStyle_00;
  21850. break $label0$0;
  21851. }
  21852. if ("compressed" === style) {
  21853. t1 = B.OutputStyle_10;
  21854. break $label0$0;
  21855. }
  21856. t1 = A.jsThrow(new self.Error('Unknown output style "' + A.S(style) + '".'));
  21857. }
  21858. return t1;
  21859. },
  21860. _parseAsyncImporter(importer) {
  21861. var t1, canonicalize, load, _0_0, findFileUrl, t2;
  21862. if (importer == null)
  21863. A.jsThrow(new self.Error("Importers may not be null."));
  21864. type$.JSImporter._as(importer);
  21865. t1 = J.getInterceptor$x(importer);
  21866. canonicalize = t1.get$canonicalize(importer);
  21867. load = t1.get$load(importer);
  21868. _0_0 = t1.get$findFileUrl(importer);
  21869. if (_0_0 != null) {
  21870. findFileUrl = _0_0;
  21871. t2 = true;
  21872. } else {
  21873. findFileUrl = null;
  21874. t2 = false;
  21875. }
  21876. if (t2)
  21877. if (canonicalize != null || load != null)
  21878. A.jsThrow(new self.Error(string$.An_impa));
  21879. else
  21880. return new A.JSToDartAsyncFileImporter(findFileUrl);
  21881. else if (canonicalize == null || load == null)
  21882. A.jsThrow(new self.Error(string$.An_impu));
  21883. else {
  21884. t1 = A._normalizeNonCanonicalSchemes(t1.get$nonCanonicalScheme(importer));
  21885. t1 = t1 == null ? B.Set_empty7 : A.Set_Set$unmodifiable(t1, type$.String);
  21886. t1.forEach$1(0, A.utils2__validateUrlScheme$closure());
  21887. return new A.JSToDartAsyncImporter(canonicalize, load, t1);
  21888. }
  21889. },
  21890. _parseImporter0(importer) {
  21891. var t1, canonicalize, load, _0_0, findFileUrl, t2;
  21892. if (importer == null)
  21893. A.jsThrow(new self.Error("Importers may not be null."));
  21894. type$.JSImporter._as(importer);
  21895. t1 = J.getInterceptor$x(importer);
  21896. canonicalize = t1.get$canonicalize(importer);
  21897. load = t1.get$load(importer);
  21898. _0_0 = t1.get$findFileUrl(importer);
  21899. if (_0_0 != null) {
  21900. findFileUrl = _0_0;
  21901. t2 = true;
  21902. } else {
  21903. findFileUrl = null;
  21904. t2 = false;
  21905. }
  21906. if (t2)
  21907. if (canonicalize != null || load != null)
  21908. A.jsThrow(new self.Error(string$.An_impa));
  21909. else
  21910. return new A.JSToDartFileImporter(findFileUrl);
  21911. else if (canonicalize == null || load == null)
  21912. A.jsThrow(new self.Error(string$.An_impu));
  21913. else {
  21914. t1 = A._normalizeNonCanonicalSchemes(t1.get$nonCanonicalScheme(importer));
  21915. t1 = t1 == null ? B.Set_empty7 : A.Set_Set$unmodifiable(t1, type$.String);
  21916. t1.forEach$1(0, A.utils2__validateUrlScheme$closure());
  21917. return new A.JSToDartImporter(canonicalize, load, t1);
  21918. }
  21919. },
  21920. _normalizeNonCanonicalSchemes(schemes) {
  21921. var scheme, t1, schemes0;
  21922. $label0$0: {
  21923. if (typeof schemes == "string") {
  21924. scheme = schemes;
  21925. t1 = true;
  21926. } else {
  21927. scheme = null;
  21928. t1 = false;
  21929. }
  21930. if (t1) {
  21931. t1 = A._setArrayType([scheme], type$.JSArray_String);
  21932. break $label0$0;
  21933. }
  21934. if (type$.List_dynamic._is(schemes)) {
  21935. schemes0 = schemes;
  21936. t1 = true;
  21937. } else {
  21938. schemes0 = null;
  21939. t1 = false;
  21940. }
  21941. if (t1) {
  21942. t1 = J.cast$1$0$ax(schemes0, type$.String);
  21943. break $label0$0;
  21944. }
  21945. if (schemes == null) {
  21946. t1 = null;
  21947. break $label0$0;
  21948. }
  21949. t1 = A.jsThrow(new self.Error('nonCanonicalScheme must be a string or list of strings, was "' + A.S(schemes) + '"'));
  21950. }
  21951. return t1;
  21952. },
  21953. _simplifyValue(value) {
  21954. var t1, t2, _0_0, _0_1, _0_3, _0_4, _0_5, _0_8, _0_10, first, min, max, args, _null = null;
  21955. $label1$1: {
  21956. if (value instanceof A.SassCalculation0) {
  21957. t1 = value.$arguments;
  21958. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object>");
  21959. _0_0 = new A._Record_2(value.name, A.List_List$of(new A.MappedListIterable(t1, A.compile___simplifyCalcArg$closure(), t2), true, t2._eval$1("ListIterable.E")));
  21960. _0_1 = A._InitializedCell$(new A._simplifyValue_closure(_0_0));
  21961. _0_3 = A._InitializedCell$(new A._simplifyValue_closure0(_0_1));
  21962. _0_4 = A._InitializedCell$(new A._simplifyValue_closure1(_0_0));
  21963. _0_5 = A._InitializedCell$(new A._simplifyValue_closure2(_0_4));
  21964. _0_8 = A._InitializedCell$(new A._simplifyValue_closure3(_0_4));
  21965. _0_10 = A._InitializedCell$(new A._simplifyValue_closure4(_0_1));
  21966. $label0$0: {
  21967. if (_0_3._readFinal$0())
  21968. if (J.$eq$(_0_5._readFinal$0(), 1)) {
  21969. first = _0_8._readFinal$0();
  21970. t1 = true;
  21971. } else {
  21972. first = _null;
  21973. t1 = false;
  21974. }
  21975. else {
  21976. first = _null;
  21977. t1 = false;
  21978. }
  21979. if (t1) {
  21980. type$.Value_2._as(first);
  21981. t1 = first;
  21982. break $label0$0;
  21983. }
  21984. if (_0_3._readFinal$0())
  21985. A.throwExpression(A.ArgumentError$("calc() requires exactly one argument.", _null));
  21986. if (_0_10._readFinal$0())
  21987. if (J.$eq$(_0_5._readFinal$0(), 3)) {
  21988. min = _0_8._readFinal$0();
  21989. value = J.$index$asx(_0_4._readFinal$0(), 1);
  21990. max = J.$index$asx(_0_4._readFinal$0(), 2);
  21991. max = max;
  21992. t1 = true;
  21993. } else {
  21994. max = _null;
  21995. value = max;
  21996. min = value;
  21997. t1 = false;
  21998. }
  21999. else {
  22000. max = _null;
  22001. value = max;
  22002. min = value;
  22003. t1 = false;
  22004. }
  22005. if (t1) {
  22006. t1 = A.SassCalculation_clamp0(min, value, max);
  22007. break $label0$0;
  22008. }
  22009. if (_0_10._readFinal$0())
  22010. A.throwExpression(A.ArgumentError$("clamp() requires exactly 3 arguments.", _null));
  22011. if ("min" === _0_1._readFinal$0()) {
  22012. args = _0_4._readFinal$0();
  22013. t1 = true;
  22014. } else {
  22015. args = _null;
  22016. t1 = false;
  22017. }
  22018. if (t1) {
  22019. t1 = A.SassCalculation_min0(args);
  22020. break $label0$0;
  22021. }
  22022. if ("max" === _0_1._readFinal$0()) {
  22023. args = _0_4._readFinal$0();
  22024. t1 = true;
  22025. } else {
  22026. args = _null;
  22027. t1 = false;
  22028. }
  22029. if (t1) {
  22030. t1 = A.SassCalculation_max0(args);
  22031. break $label0$0;
  22032. }
  22033. t1 = A.throwExpression(A.ArgumentError$('"' + _0_1._readFinal$0() + '" is not a recognized calculation type.', _null));
  22034. }
  22035. break $label1$1;
  22036. }
  22037. t1 = value;
  22038. break $label1$1;
  22039. }
  22040. return t1;
  22041. },
  22042. _simplifyCalcArg(value) {
  22043. var t1;
  22044. $label0$0: {
  22045. if (value instanceof A.SassCalculation0) {
  22046. t1 = A._simplifyValue(value);
  22047. break $label0$0;
  22048. }
  22049. if (value instanceof A.CalculationOperation0) {
  22050. t1 = A.SassCalculation_operateInternal0(value._calculation0$_operator, A._simplifyCalcArg(value._calculation0$_left), A._simplifyCalcArg(value._calculation0$_right), false, true);
  22051. break $label0$0;
  22052. }
  22053. t1 = value;
  22054. break $label0$0;
  22055. }
  22056. return t1;
  22057. },
  22058. _parseFunctions0(functions, asynch) {
  22059. var result;
  22060. if (functions == null)
  22061. return B.List_empty24;
  22062. result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  22063. A.jsForEach(functions, new A._parseFunctions_closure0(asynch, result));
  22064. return result;
  22065. },
  22066. compileAsync_closure: function compileAsync_closure(t0, t1, t2, t3) {
  22067. var _ = this;
  22068. _.path = t0;
  22069. _.color = t1;
  22070. _.options = t2;
  22071. _.ascii = t3;
  22072. },
  22073. compileAsync__closure: function compileAsync__closure() {
  22074. },
  22075. compileStringAsync_closure: function compileStringAsync_closure(t0, t1, t2, t3) {
  22076. var _ = this;
  22077. _.text = t0;
  22078. _.options = t1;
  22079. _.color = t2;
  22080. _.ascii = t3;
  22081. },
  22082. compileStringAsync__closure: function compileStringAsync__closure() {
  22083. },
  22084. compileStringAsync__closure0: function compileStringAsync__closure0() {
  22085. },
  22086. _wrapAsyncSassExceptions_closure: function _wrapAsyncSassExceptions_closure(t0, t1) {
  22087. this.color = t0;
  22088. this.ascii = t1;
  22089. },
  22090. _simplifyValue_closure: function _simplifyValue_closure(t0) {
  22091. this._0_0 = t0;
  22092. },
  22093. _simplifyValue_closure0: function _simplifyValue_closure0(t0) {
  22094. this._0_1 = t0;
  22095. },
  22096. _simplifyValue_closure1: function _simplifyValue_closure1(t0) {
  22097. this._0_0 = t0;
  22098. },
  22099. _simplifyValue_closure2: function _simplifyValue_closure2(t0) {
  22100. this._0_4 = t0;
  22101. },
  22102. _simplifyValue_closure3: function _simplifyValue_closure3(t0) {
  22103. this._0_4 = t0;
  22104. },
  22105. _simplifyValue_closure4: function _simplifyValue_closure4(t0) {
  22106. this._0_1 = t0;
  22107. },
  22108. _parseFunctions_closure0: function _parseFunctions_closure0(t0, t1) {
  22109. this.asynch = t0;
  22110. this.result = t1;
  22111. },
  22112. _parseFunctions__closure2: function _parseFunctions__closure2(t0, t1) {
  22113. this.callback = t0;
  22114. this.callable = t1;
  22115. },
  22116. _parseFunctions___closure6: function _parseFunctions___closure6(t0, t1) {
  22117. this.callback = t0;
  22118. this.$arguments = t1;
  22119. },
  22120. _parseFunctions__closure3: function _parseFunctions__closure3(t0, t1) {
  22121. this.callback = t0;
  22122. this.callable = t1;
  22123. },
  22124. _parseFunctions___closure5: function _parseFunctions___closure5(t0, t1) {
  22125. this.callback = t0;
  22126. this.$arguments = t1;
  22127. },
  22128. compile(path, charset, fatalDeprecations, functions, futureDeprecations, importCache, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, useSpaces, verbose) {
  22129. var t2, t3, t4, t0, stylesheet, result, _null = null,
  22130. t1 = type$.Deprecation_2;
  22131. logger = new A.DeprecationHandlingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashSet_LinkedHashSet$_empty(t1), !verbose);
  22132. t1 = nodeImporter == null;
  22133. if (t1)
  22134. t2 = syntax == null || syntax === A.Syntax_forPath0(path);
  22135. else
  22136. t2 = false;
  22137. if (t2) {
  22138. if (importCache == null)
  22139. importCache = A.ImportCache$none(logger);
  22140. t2 = A.absolute(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  22141. t3 = A.isNodeJs() ? self.process : _null;
  22142. if (!J.$eq$(t3 == null ? _null : J.get$platform$x(t3), "win32")) {
  22143. t3 = A.isNodeJs() ? self.process : _null;
  22144. t3 = J.$eq$(t3 == null ? _null : J.get$platform$x(t3), "darwin");
  22145. } else
  22146. t3 = true;
  22147. if (t3) {
  22148. t3 = $.$get$context();
  22149. t4 = A._realCasePath0(A.absolute(t3.normalize$1(path), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  22150. t0 = t4;
  22151. t4 = t3;
  22152. t3 = t0;
  22153. } else {
  22154. t3 = $.$get$context();
  22155. t4 = t3.canonicalize$1(0, path);
  22156. t0 = t4;
  22157. t4 = t3;
  22158. t3 = t0;
  22159. }
  22160. t4 = importCache.importCanonical$3$originalUrl(new A.FilesystemImporter0(t2), t4.toUri$1(t3), t4.toUri$1(path));
  22161. t4.toString;
  22162. stylesheet = t4;
  22163. } else {
  22164. t2 = A.readFile0(path);
  22165. t3 = syntax == null ? A.Syntax_forPath0(path) : syntax;
  22166. stylesheet = A.Stylesheet_Stylesheet$parse0(t2, t3, logger, $.$get$context().toUri$1(path));
  22167. }
  22168. result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, new A.FilesystemImporter0(A.absolute(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)), functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  22169. logger.summarize$1$js(!t1);
  22170. return result;
  22171. },
  22172. compileString(source, charset, fatalDeprecations, functions, futureDeprecations, importCache, importer, indentWidth, lineFeed, logger, nodeImporter, quietDeps, sourceMap, style, syntax, url, useSpaces, verbose) {
  22173. var stylesheet, result, _null = null,
  22174. t1 = type$.Deprecation_2;
  22175. logger = new A.DeprecationHandlingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.int), logger, A.LinkedHashSet_LinkedHashSet$_empty(t1), A.LinkedHashSet_LinkedHashSet$_empty(t1), !verbose);
  22176. stylesheet = A.Stylesheet_Stylesheet$parse0(source, syntax == null ? B.Syntax_SCSS_scss0 : syntax, logger, url);
  22177. if (importer == null)
  22178. t1 = A.isBrowser() ? new A.NoOpImporter0() : new A.FilesystemImporter0(A.absolute(".", _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  22179. else
  22180. t1 = importer;
  22181. result = A._compileStylesheet1(stylesheet, logger, importCache, nodeImporter, t1, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset);
  22182. logger.summarize$1$js(nodeImporter != null);
  22183. return result;
  22184. },
  22185. _compileStylesheet1(stylesheet, logger, importCache, nodeImporter, importer, functions, style, useSpaces, indentWidth, lineFeed, quietDeps, sourceMap, charset) {
  22186. var evaluateResult = A._EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap).run$2(0, importer, stylesheet),
  22187. serializeResult = A.serialize0(evaluateResult._1, charset, indentWidth, false, lineFeed, sourceMap, style, useSpaces),
  22188. resultSourceMap = serializeResult._1;
  22189. if (resultSourceMap != null && importCache != null)
  22190. A.mapInPlace0(resultSourceMap.urls, new A._compileStylesheet_closure1(stylesheet, importCache));
  22191. return new A.CompileResult0(evaluateResult, serializeResult);
  22192. },
  22193. _compileStylesheet_closure1: function _compileStylesheet_closure1(t0, t1) {
  22194. this.stylesheet = t0;
  22195. this.importCache = t1;
  22196. },
  22197. CompileOptions: function CompileOptions() {
  22198. },
  22199. CompileStringOptions: function CompileStringOptions() {
  22200. },
  22201. NodeCompileResult: function NodeCompileResult() {
  22202. },
  22203. CompileResult0: function CompileResult0(t0, t1) {
  22204. this._evaluate = t0;
  22205. this._compile_result$_serialize = t1;
  22206. },
  22207. ComplexSassNumber0: function ComplexSassNumber0(t0, t1, t2, t3) {
  22208. var _ = this;
  22209. _._complex0$_numeratorUnits = t0;
  22210. _._complex0$_denominatorUnits = t1;
  22211. _._number1$_value = t2;
  22212. _.hashCache = null;
  22213. _.asSlash = t3;
  22214. },
  22215. ComplexSelector$0(leadingCombinators, components, span, lineBreak) {
  22216. var t1 = A.List_List$unmodifiable(leadingCombinators, type$.CssValue_Combinator_2),
  22217. t2 = A.List_List$unmodifiable(components, type$.ComplexSelectorComponent_2);
  22218. if (t1.length === 0 && t2.length === 0)
  22219. A.throwExpression(A.ArgumentError$(string$.leadin, null));
  22220. return new A.ComplexSelector0(t1, t2, lineBreak, span);
  22221. },
  22222. ComplexSelector0: function ComplexSelector0(t0, t1, t2, t3) {
  22223. var _ = this;
  22224. _.leadingCombinators = t0;
  22225. _.components = t1;
  22226. _.lineBreak = t2;
  22227. _._complex$__ComplexSelector_specificity_FI = $;
  22228. _.span = t3;
  22229. },
  22230. ComplexSelector_specificity_closure0: function ComplexSelector_specificity_closure0() {
  22231. },
  22232. ComplexSelector_singleCompound_closure0: function ComplexSelector_singleCompound_closure0(t0) {
  22233. this._0_0 = t0;
  22234. },
  22235. ComplexSelector_withAdditionalCombinators_closure0: function ComplexSelector_withAdditionalCombinators_closure0(t0) {
  22236. this._0_0 = t0;
  22237. },
  22238. ComplexSelector_concatenate_closure0: function ComplexSelector_concatenate_closure0(t0) {
  22239. this._0_0 = t0;
  22240. },
  22241. ComplexSelectorComponent0: function ComplexSelectorComponent0(t0, t1, t2) {
  22242. this.selector = t0;
  22243. this.combinators = t1;
  22244. this.span = t2;
  22245. },
  22246. ComplexSelectorComponent_toString_closure0: function ComplexSelectorComponent_toString_closure0() {
  22247. },
  22248. CompoundSelector$0(components, span) {
  22249. var t1 = A.List_List$unmodifiable(components, type$.SimpleSelector_2);
  22250. if (t1.length === 0)
  22251. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  22252. return new A.CompoundSelector0(t1, span);
  22253. },
  22254. CompoundSelector0: function CompoundSelector0(t0, t1) {
  22255. this.components = t0;
  22256. this._compound$__CompoundSelector_specificity_FI = $;
  22257. this.span = t1;
  22258. },
  22259. CompoundSelector_specificity_closure0: function CompoundSelector_specificity_closure0() {
  22260. },
  22261. Configuration0: function Configuration0(t0, t1) {
  22262. this._configuration0$_values = t0;
  22263. this._configuration0$__originalConfiguration = t1;
  22264. },
  22265. ExplicitConfiguration0: function ExplicitConfiguration0(t0, t1, t2) {
  22266. this.nodeWithSpan = t0;
  22267. this._configuration0$_values = t1;
  22268. this._configuration0$__originalConfiguration = t2;
  22269. },
  22270. ConfiguredValue0: function ConfiguredValue0(t0, t1, t2) {
  22271. this.value = t0;
  22272. this.configurationSpan = t1;
  22273. this.assignmentNode = t2;
  22274. },
  22275. ConfiguredVariable0: function ConfiguredVariable0(t0, t1, t2, t3) {
  22276. var _ = this;
  22277. _.name = t0;
  22278. _.expression = t1;
  22279. _.isGuarded = t2;
  22280. _.span = t3;
  22281. },
  22282. ContentBlock$0($arguments, children, span) {
  22283. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  22284. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  22285. return new A.ContentBlock0("@content", $arguments, span, t1, t2);
  22286. },
  22287. ContentBlock0: function ContentBlock0(t0, t1, t2, t3, t4) {
  22288. var _ = this;
  22289. _.name = t0;
  22290. _.$arguments = t1;
  22291. _.span = t2;
  22292. _.children = t3;
  22293. _.hasDeclarations = t4;
  22294. },
  22295. ContentRule0: function ContentRule0(t0, t1) {
  22296. this.$arguments = t0;
  22297. this.span = t1;
  22298. },
  22299. _disallowedFunctionNames_closure0: function _disallowedFunctionNames_closure0() {
  22300. },
  22301. CssParser0: function CssParser0(t0, t1, t2, t3) {
  22302. var _ = this;
  22303. _._stylesheet0$_isUseAllowed = true;
  22304. _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  22305. _._stylesheet0$_globalVariables = t0;
  22306. _.lastSilentComment = null;
  22307. _.scanner = t1;
  22308. _.logger = t2;
  22309. _._parser0$_interpolationMap = t3;
  22310. },
  22311. DebugRule0: function DebugRule0(t0, t1) {
  22312. this.expression = t0;
  22313. this.span = t1;
  22314. },
  22315. ModifiableCssDeclaration$0($name, value, span, parsedAsCustomProperty, valueSpanForMap) {
  22316. var t2,
  22317. t1 = valueSpanForMap == null ? value.span : valueSpanForMap;
  22318. if (parsedAsCustomProperty)
  22319. if (!J.startsWith$1$s($name.value, "--"))
  22320. A.throwExpression(A.ArgumentError$(string$.parsed, null));
  22321. else {
  22322. t2 = value.value;
  22323. if (!(t2 instanceof A.SassString0))
  22324. A.throwExpression(A.ArgumentError$(string$.If_par + value.toString$0(0) + "` of type " + A.getRuntimeTypeOfDartObject(t2).toString$0(0) + ").", null));
  22325. }
  22326. return new A.ModifiableCssDeclaration0($name, value, parsedAsCustomProperty, t1, span);
  22327. },
  22328. ModifiableCssDeclaration0: function ModifiableCssDeclaration0(t0, t1, t2, t3, t4) {
  22329. var _ = this;
  22330. _.name = t0;
  22331. _.value = t1;
  22332. _.parsedAsCustomProperty = t2;
  22333. _.valueSpanForMap = t3;
  22334. _.span = t4;
  22335. _._node$_indexInParent = _._node$_parent = null;
  22336. _.isGroupEnd = false;
  22337. },
  22338. Declaration$0($name, value, span) {
  22339. return new A.Declaration0($name, value, span, null, false);
  22340. },
  22341. Declaration$nested0($name, children, span, value) {
  22342. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  22343. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  22344. return new A.Declaration0($name, value, span, t1, t2);
  22345. },
  22346. Declaration0: function Declaration0(t0, t1, t2, t3, t4) {
  22347. var _ = this;
  22348. _.name = t0;
  22349. _.value = t1;
  22350. _.span = t2;
  22351. _.children = t3;
  22352. _.hasDeclarations = t4;
  22353. },
  22354. SupportsDeclaration0: function SupportsDeclaration0(t0, t1, t2) {
  22355. this.name = t0;
  22356. this.value = t1;
  22357. this.span = t2;
  22358. },
  22359. Deprecation0: function Deprecation0(t0, t1, t2) {
  22360. this.id = t0;
  22361. this.isFuture = t1;
  22362. this._name = t2;
  22363. },
  22364. DeprecationHandlingLogger0: function DeprecationHandlingLogger0(t0, t1, t2, t3, t4) {
  22365. var _ = this;
  22366. _._deprecation_handling$_warningCounts = t0;
  22367. _._deprecation_handling$_inner = t1;
  22368. _.fatalDeprecations = t2;
  22369. _.futureDeprecations = t3;
  22370. _.limitRepetition = t4;
  22371. },
  22372. DeprecationHandlingLogger_warnForDeprecation_closure1: function DeprecationHandlingLogger_warnForDeprecation_closure1(t0) {
  22373. this._0_0 = t0;
  22374. },
  22375. DeprecationHandlingLogger_warnForDeprecation_closure2: function DeprecationHandlingLogger_warnForDeprecation_closure2(t0) {
  22376. this._0_0 = t0;
  22377. },
  22378. DeprecationHandlingLogger_summarize_closure1: function DeprecationHandlingLogger_summarize_closure1() {
  22379. },
  22380. DeprecationHandlingLogger_summarize_closure2: function DeprecationHandlingLogger_summarize_closure2() {
  22381. },
  22382. DynamicImport0: function DynamicImport0(t0, t1) {
  22383. this.urlString = t0;
  22384. this.span = t1;
  22385. },
  22386. EachRule$0(variables, list, children, span) {
  22387. var t1 = A.List_List$unmodifiable(variables, type$.String),
  22388. t2 = A.List_List$unmodifiable(children, type$.Statement_2),
  22389. t3 = B.JSArray_methods.any$1(t2, new A.ParentStatement_closure0());
  22390. return new A.EachRule0(t1, list, span, t2, t3);
  22391. },
  22392. EachRule0: function EachRule0(t0, t1, t2, t3, t4) {
  22393. var _ = this;
  22394. _.variables = t0;
  22395. _.list = t1;
  22396. _.span = t2;
  22397. _.children = t3;
  22398. _.hasDeclarations = t4;
  22399. },
  22400. EachRule_toString_closure0: function EachRule_toString_closure0() {
  22401. },
  22402. EmptyExtensionStore0: function EmptyExtensionStore0() {
  22403. },
  22404. Environment$0() {
  22405. var t1 = type$.String,
  22406. t2 = type$.Module_Callable_2,
  22407. t3 = type$.AstNode_2,
  22408. t4 = type$.int,
  22409. t5 = type$.Callable_2,
  22410. t6 = type$.JSArray_Map_String_Callable_2;
  22411. 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);
  22412. },
  22413. Environment$_0(_modules, _namespaceNodes, _globalModules, _importedModules, _forwardedModules, _nestedForwardedModules, _allModules, _variables, _variableNodes, _functions, _mixins, _content) {
  22414. var t1 = type$.String,
  22415. t2 = type$.int;
  22416. 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);
  22417. },
  22418. _EnvironmentModule__EnvironmentModule1(environment, css, preModuleComments, extensionStore, forwarded) {
  22419. var t1, t2, t3, t4, t5, t6, module, result, t7;
  22420. if (forwarded == null)
  22421. forwarded = B.Set_empty4;
  22422. t1 = type$.dynamic;
  22423. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  22424. for (t2 = type$.Module_Callable_2, t3 = type$.List_CssComment_2, t4 = A.MapExtensions_get_pairs0(preModuleComments, t2, t3), t4 = t4.get$iterator(t4), t5 = type$.CssComment_2; t4.moveNext$0();) {
  22425. t6 = t4.get$current(t4);
  22426. module = t6._0;
  22427. result = A.List_List$from(t6._1, false, t5);
  22428. result.fixed$length = Array;
  22429. result.immutable$list = Array;
  22430. t1.$indexSet(0, module, result);
  22431. }
  22432. t1 = A.ConstantMap_ConstantMap$from(t1, t2, t3);
  22433. t2 = A._EnvironmentModule__makeModulesByVariable1(forwarded);
  22434. t3 = 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);
  22435. t4 = 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);
  22436. t5 = type$.Map_String_Callable_2;
  22437. t6 = type$.Callable_2;
  22438. t7 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_functions), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure13(), t5), t6);
  22439. t6 = A._EnvironmentModule__memberMap1(B.JSArray_methods.get$first(environment._environment0$_mixins), forwarded.map$1$1(0, new A._EnvironmentModule__EnvironmentModule_closure14(), t5), t6);
  22440. t5 = J.get$isNotEmpty$asx(css.get$children(css)) || preModuleComments.get$isNotEmpty(preModuleComments) || B.JSArray_methods.any$1(environment._environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure15());
  22441. return A._EnvironmentModule$_1(environment, css, t1, extensionStore, t2, t3, t4, t7, t6, t5, !extensionStore.get$isEmpty(extensionStore) || B.JSArray_methods.any$1(environment._environment0$_allModules, new A._EnvironmentModule__EnvironmentModule_closure16()));
  22442. },
  22443. _EnvironmentModule__makeModulesByVariable1(forwarded) {
  22444. var modulesByVariable, t1, t2, t3, t4, t5;
  22445. if (forwarded.get$isEmpty(forwarded))
  22446. return B.Map_empty10;
  22447. modulesByVariable = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.Module_Callable_2);
  22448. for (t1 = forwarded.get$iterator(forwarded); t1.moveNext$0();) {
  22449. t2 = t1.get$current(t1);
  22450. if (t2 instanceof A._EnvironmentModule1) {
  22451. for (t3 = t2._environment0$_modulesByVariable, t3 = t3.get$values(t3), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  22452. t4 = t3.get$current(t3);
  22453. t5 = t4.get$variables();
  22454. A.setAll0(modulesByVariable, t5.get$keys(t5), t4);
  22455. }
  22456. A.setAll0(modulesByVariable, J.get$keys$z(B.JSArray_methods.get$first(t2._environment0$_environment._environment0$_variables)), t2);
  22457. } else {
  22458. t3 = t2.get$variables();
  22459. A.setAll0(modulesByVariable, t3.get$keys(t3), t2);
  22460. }
  22461. }
  22462. return modulesByVariable;
  22463. },
  22464. _EnvironmentModule__memberMap1(localMap, otherMaps, $V) {
  22465. var t1, t2, t3;
  22466. localMap = new A.PublicMemberMapView0(localMap, $V._eval$1("PublicMemberMapView0<0>"));
  22467. if (otherMaps.get$isEmpty(otherMaps))
  22468. return localMap;
  22469. t1 = A._setArrayType([], $V._eval$1("JSArray<Map<String,0>>"));
  22470. for (t2 = otherMaps.get$iterator(otherMaps); t2.moveNext$0();) {
  22471. t3 = t2.get$current(t2);
  22472. if (t3.get$isNotEmpty(t3))
  22473. t1.push(t3);
  22474. }
  22475. t1.push(localMap);
  22476. if (t1.length === 1)
  22477. return localMap;
  22478. return A.MergedMapView$0(t1, type$.String, $V);
  22479. },
  22480. _EnvironmentModule$_1(_environment, css, preModuleComments, extensionStore, _modulesByVariable, variables, variableNodes, functions, mixins, transitivelyContainsCss, transitivelyContainsExtensions) {
  22481. return new A._EnvironmentModule1(_environment._environment0$_allModules, variables, variableNodes, functions, mixins, extensionStore, css, preModuleComments, transitivelyContainsCss, transitivelyContainsExtensions, _environment, _modulesByVariable);
  22482. },
  22483. Environment0: function Environment0(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {
  22484. var _ = this;
  22485. _._environment0$_modules = t0;
  22486. _._environment0$_namespaceNodes = t1;
  22487. _._environment0$_globalModules = t2;
  22488. _._environment0$_importedModules = t3;
  22489. _._environment0$_forwardedModules = t4;
  22490. _._environment0$_nestedForwardedModules = t5;
  22491. _._environment0$_allModules = t6;
  22492. _._environment0$_variables = t7;
  22493. _._environment0$_variableNodes = t8;
  22494. _._environment0$_variableIndices = t9;
  22495. _._environment0$_functions = t10;
  22496. _._environment0$_functionIndices = t11;
  22497. _._environment0$_mixins = t12;
  22498. _._environment0$_mixinIndices = t13;
  22499. _._environment0$_content = t14;
  22500. _._environment0$_inMixin = false;
  22501. _._environment0$_inSemiGlobalScope = true;
  22502. _._environment0$_lastVariableIndex = _._environment0$_lastVariableName = null;
  22503. },
  22504. Environment__getVariableFromGlobalModule_closure0: function Environment__getVariableFromGlobalModule_closure0(t0) {
  22505. this.name = t0;
  22506. },
  22507. Environment_setVariable_closure2: function Environment_setVariable_closure2(t0, t1) {
  22508. this.$this = t0;
  22509. this.name = t1;
  22510. },
  22511. Environment_setVariable_closure3: function Environment_setVariable_closure3(t0) {
  22512. this.name = t0;
  22513. },
  22514. Environment_setVariable_closure4: function Environment_setVariable_closure4(t0, t1) {
  22515. this.$this = t0;
  22516. this.name = t1;
  22517. },
  22518. Environment__getFunctionFromGlobalModule_closure0: function Environment__getFunctionFromGlobalModule_closure0(t0) {
  22519. this.name = t0;
  22520. },
  22521. Environment__getMixinFromGlobalModule_closure0: function Environment__getMixinFromGlobalModule_closure0(t0) {
  22522. this.name = t0;
  22523. },
  22524. Environment_toModule_closure0: function Environment_toModule_closure0() {
  22525. },
  22526. Environment_toDummyModule_closure0: function Environment_toDummyModule_closure0() {
  22527. },
  22528. _EnvironmentModule1: function _EnvironmentModule1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11) {
  22529. var _ = this;
  22530. _.upstream = t0;
  22531. _.variables = t1;
  22532. _.variableNodes = t2;
  22533. _.functions = t3;
  22534. _.mixins = t4;
  22535. _.extensionStore = t5;
  22536. _.css = t6;
  22537. _.preModuleComments = t7;
  22538. _.transitivelyContainsCss = t8;
  22539. _.transitivelyContainsExtensions = t9;
  22540. _._environment0$_environment = t10;
  22541. _._environment0$_modulesByVariable = t11;
  22542. },
  22543. _EnvironmentModule__EnvironmentModule_closure11: function _EnvironmentModule__EnvironmentModule_closure11() {
  22544. },
  22545. _EnvironmentModule__EnvironmentModule_closure12: function _EnvironmentModule__EnvironmentModule_closure12() {
  22546. },
  22547. _EnvironmentModule__EnvironmentModule_closure13: function _EnvironmentModule__EnvironmentModule_closure13() {
  22548. },
  22549. _EnvironmentModule__EnvironmentModule_closure14: function _EnvironmentModule__EnvironmentModule_closure14() {
  22550. },
  22551. _EnvironmentModule__EnvironmentModule_closure15: function _EnvironmentModule__EnvironmentModule_closure15() {
  22552. },
  22553. _EnvironmentModule__EnvironmentModule_closure16: function _EnvironmentModule__EnvironmentModule_closure16() {
  22554. },
  22555. ErrorRule0: function ErrorRule0(t0, t1) {
  22556. this.expression = t0;
  22557. this.span = t1;
  22558. },
  22559. _EvaluateVisitor$1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  22560. var t4,
  22561. t1 = type$.Uri,
  22562. t2 = type$.Module_Callable_2,
  22563. t3 = A._setArrayType([], type$.JSArray_Record_2_String_and_AstNode_2);
  22564. if (nodeImporter == null)
  22565. t4 = importCache == null ? A.ImportCache$none(logger) : importCache;
  22566. else
  22567. t4 = null;
  22568. 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$.Record_2_String_and_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);
  22569. t1._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap);
  22570. return t1;
  22571. },
  22572. _EvaluateVisitor1: function _EvaluateVisitor1(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15) {
  22573. var _ = this;
  22574. _._evaluate0$_importCache = t0;
  22575. _._evaluate0$_nodeImporter = t1;
  22576. _._evaluate0$_builtInFunctions = t2;
  22577. _._evaluate0$_builtInModules = t3;
  22578. _._evaluate0$_modules = t4;
  22579. _._evaluate0$_moduleConfigurations = t5;
  22580. _._evaluate0$_moduleNodes = t6;
  22581. _._evaluate0$_logger = t7;
  22582. _._evaluate0$_warningsEmitted = t8;
  22583. _._evaluate0$_quietDeps = t9;
  22584. _._evaluate0$_sourceMap = t10;
  22585. _._evaluate0$_environment = t11;
  22586. _._evaluate0$_declarationName = _._evaluate0$__parent = _._evaluate0$_mediaQuerySources = _._evaluate0$_mediaQueries = _._evaluate0$_styleRuleIgnoringAtRoot = null;
  22587. _._evaluate0$_member = "root stylesheet";
  22588. _._evaluate0$_importSpan = _._evaluate0$_callableNode = _._evaluate0$_currentCallable = null;
  22589. _._evaluate0$_inSupportsDeclaration = _._evaluate0$_inKeyframes = _._evaluate0$_atRootExcludingStyleRule = _._evaluate0$_inUnknownAtRule = _._evaluate0$_inFunction = false;
  22590. _._evaluate0$_loadedUrls = t12;
  22591. _._evaluate0$_activeModules = t13;
  22592. _._evaluate0$_stack = t14;
  22593. _._evaluate0$_importer = null;
  22594. _._evaluate0$_inDependency = false;
  22595. _._evaluate0$__extensionStore = _._evaluate0$_preModuleComments = _._evaluate0$_outOfOrderImports = _._evaluate0$__endOfImports = _._evaluate0$__root = _._evaluate0$__stylesheet = null;
  22596. _._evaluate0$_configuration = t15;
  22597. },
  22598. _EvaluateVisitor_closure25: function _EvaluateVisitor_closure25(t0) {
  22599. this.$this = t0;
  22600. },
  22601. _EvaluateVisitor_closure26: function _EvaluateVisitor_closure26(t0) {
  22602. this.$this = t0;
  22603. },
  22604. _EvaluateVisitor_closure27: function _EvaluateVisitor_closure27(t0) {
  22605. this.$this = t0;
  22606. },
  22607. _EvaluateVisitor_closure28: function _EvaluateVisitor_closure28(t0) {
  22608. this.$this = t0;
  22609. },
  22610. _EvaluateVisitor_closure29: function _EvaluateVisitor_closure29(t0) {
  22611. this.$this = t0;
  22612. },
  22613. _EvaluateVisitor_closure30: function _EvaluateVisitor_closure30(t0) {
  22614. this.$this = t0;
  22615. },
  22616. _EvaluateVisitor_closure31: function _EvaluateVisitor_closure31(t0) {
  22617. this.$this = t0;
  22618. },
  22619. _EvaluateVisitor_closure32: function _EvaluateVisitor_closure32(t0) {
  22620. this.$this = t0;
  22621. },
  22622. _EvaluateVisitor_closure33: function _EvaluateVisitor_closure33(t0) {
  22623. this.$this = t0;
  22624. },
  22625. _EvaluateVisitor__closure10: function _EvaluateVisitor__closure10(t0, t1, t2) {
  22626. this.$this = t0;
  22627. this.name = t1;
  22628. this.module = t2;
  22629. },
  22630. _EvaluateVisitor_closure34: function _EvaluateVisitor_closure34(t0) {
  22631. this.$this = t0;
  22632. },
  22633. _EvaluateVisitor__closure9: function _EvaluateVisitor__closure9(t0, t1, t2) {
  22634. this.$this = t0;
  22635. this.name = t1;
  22636. this.module = t2;
  22637. },
  22638. _EvaluateVisitor_closure35: function _EvaluateVisitor_closure35(t0) {
  22639. this.$this = t0;
  22640. },
  22641. _EvaluateVisitor_closure36: function _EvaluateVisitor_closure36(t0) {
  22642. this.$this = t0;
  22643. },
  22644. _EvaluateVisitor__closure7: function _EvaluateVisitor__closure7(t0, t1, t2) {
  22645. this.values = t0;
  22646. this.span = t1;
  22647. this.callableNode = t2;
  22648. },
  22649. _EvaluateVisitor__closure8: function _EvaluateVisitor__closure8(t0) {
  22650. this.$this = t0;
  22651. },
  22652. _EvaluateVisitor_closure37: function _EvaluateVisitor_closure37(t0) {
  22653. this.$this = t0;
  22654. },
  22655. _EvaluateVisitor_run_closure1: function _EvaluateVisitor_run_closure1(t0, t1, t2) {
  22656. this.$this = t0;
  22657. this.node = t1;
  22658. this.importer = t2;
  22659. },
  22660. _EvaluateVisitor_run__closure1: function _EvaluateVisitor_run__closure1(t0, t1, t2) {
  22661. this.$this = t0;
  22662. this.importer = t1;
  22663. this.node = t2;
  22664. },
  22665. _EvaluateVisitor__loadModule_closure3: function _EvaluateVisitor__loadModule_closure3(t0, t1) {
  22666. this._box_1 = t0;
  22667. this.callback = t1;
  22668. },
  22669. _EvaluateVisitor__loadModule_closure4: function _EvaluateVisitor__loadModule_closure4(t0, t1, t2, t3, t4, t5, t6) {
  22670. var _ = this;
  22671. _.$this = t0;
  22672. _.url = t1;
  22673. _.nodeWithSpan = t2;
  22674. _.baseUrl = t3;
  22675. _.namesInErrors = t4;
  22676. _.configuration = t5;
  22677. _.callback = t6;
  22678. },
  22679. _EvaluateVisitor__loadModule__closure3: function _EvaluateVisitor__loadModule__closure3(t0, t1) {
  22680. this.$this = t0;
  22681. this.message = t1;
  22682. },
  22683. _EvaluateVisitor__loadModule__closure4: function _EvaluateVisitor__loadModule__closure4(t0, t1, t2) {
  22684. this._box_0 = t0;
  22685. this.callback = t1;
  22686. this.firstLoad = t2;
  22687. },
  22688. _EvaluateVisitor__execute_closure1: function _EvaluateVisitor__execute_closure1(t0, t1, t2, t3, t4, t5, t6) {
  22689. var _ = this;
  22690. _.$this = t0;
  22691. _.importer = t1;
  22692. _.stylesheet = t2;
  22693. _.extensionStore = t3;
  22694. _.configuration = t4;
  22695. _.css = t5;
  22696. _.preModuleComments = t6;
  22697. },
  22698. _EvaluateVisitor__combineCss_closure3: function _EvaluateVisitor__combineCss_closure3() {
  22699. },
  22700. _EvaluateVisitor__combineCss_closure4: function _EvaluateVisitor__combineCss_closure4(t0) {
  22701. this.selectors = t0;
  22702. },
  22703. _EvaluateVisitor__combineCss_visitModule1: function _EvaluateVisitor__combineCss_visitModule1(t0, t1, t2, t3, t4, t5) {
  22704. var _ = this;
  22705. _.$this = t0;
  22706. _.seen = t1;
  22707. _.clone = t2;
  22708. _.css = t3;
  22709. _.imports = t4;
  22710. _.sorted = t5;
  22711. },
  22712. _EvaluateVisitor__extendModules_closure3: function _EvaluateVisitor__extendModules_closure3(t0) {
  22713. this.originalSelectors = t0;
  22714. },
  22715. _EvaluateVisitor__extendModules_closure4: function _EvaluateVisitor__extendModules_closure4() {
  22716. },
  22717. _EvaluateVisitor_visitAtRootRule_closure3: function _EvaluateVisitor_visitAtRootRule_closure3(t0, t1) {
  22718. this.$this = t0;
  22719. this.node = t1;
  22720. },
  22721. _EvaluateVisitor_visitAtRootRule_closure4: function _EvaluateVisitor_visitAtRootRule_closure4(t0, t1) {
  22722. this.$this = t0;
  22723. this.node = t1;
  22724. },
  22725. _EvaluateVisitor__scopeForAtRoot_closure11: function _EvaluateVisitor__scopeForAtRoot_closure11(t0, t1, t2) {
  22726. this.$this = t0;
  22727. this.newParent = t1;
  22728. this.node = t2;
  22729. },
  22730. _EvaluateVisitor__scopeForAtRoot_closure12: function _EvaluateVisitor__scopeForAtRoot_closure12(t0, t1) {
  22731. this.$this = t0;
  22732. this.innerScope = t1;
  22733. },
  22734. _EvaluateVisitor__scopeForAtRoot_closure13: function _EvaluateVisitor__scopeForAtRoot_closure13(t0, t1) {
  22735. this.$this = t0;
  22736. this.innerScope = t1;
  22737. },
  22738. _EvaluateVisitor__scopeForAtRoot__closure1: function _EvaluateVisitor__scopeForAtRoot__closure1(t0, t1) {
  22739. this.innerScope = t0;
  22740. this.callback = t1;
  22741. },
  22742. _EvaluateVisitor__scopeForAtRoot_closure14: function _EvaluateVisitor__scopeForAtRoot_closure14(t0, t1) {
  22743. this.$this = t0;
  22744. this.innerScope = t1;
  22745. },
  22746. _EvaluateVisitor__scopeForAtRoot_closure15: function _EvaluateVisitor__scopeForAtRoot_closure15() {
  22747. },
  22748. _EvaluateVisitor__scopeForAtRoot_closure16: function _EvaluateVisitor__scopeForAtRoot_closure16(t0, t1) {
  22749. this.$this = t0;
  22750. this.innerScope = t1;
  22751. },
  22752. _EvaluateVisitor_visitContentRule_closure1: function _EvaluateVisitor_visitContentRule_closure1(t0, t1) {
  22753. this.$this = t0;
  22754. this.content = t1;
  22755. },
  22756. _EvaluateVisitor_visitDeclaration_closure1: function _EvaluateVisitor_visitDeclaration_closure1(t0, t1) {
  22757. this._box_0 = t0;
  22758. this.$this = t1;
  22759. },
  22760. _EvaluateVisitor_visitEachRule_closure5: function _EvaluateVisitor_visitEachRule_closure5(t0, t1, t2) {
  22761. this._box_0 = t0;
  22762. this.$this = t1;
  22763. this.nodeWithSpan = t2;
  22764. },
  22765. _EvaluateVisitor_visitEachRule_closure6: function _EvaluateVisitor_visitEachRule_closure6(t0, t1, t2) {
  22766. this._box_0 = t0;
  22767. this.$this = t1;
  22768. this.nodeWithSpan = t2;
  22769. },
  22770. _EvaluateVisitor_visitEachRule_closure7: function _EvaluateVisitor_visitEachRule_closure7(t0, t1, t2, t3) {
  22771. var _ = this;
  22772. _.$this = t0;
  22773. _.list = t1;
  22774. _.setVariables = t2;
  22775. _.node = t3;
  22776. },
  22777. _EvaluateVisitor_visitEachRule__closure1: function _EvaluateVisitor_visitEachRule__closure1(t0, t1, t2) {
  22778. this.$this = t0;
  22779. this.setVariables = t1;
  22780. this.node = t2;
  22781. },
  22782. _EvaluateVisitor_visitEachRule___closure1: function _EvaluateVisitor_visitEachRule___closure1(t0) {
  22783. this.$this = t0;
  22784. },
  22785. _EvaluateVisitor_visitAtRule_closure5: function _EvaluateVisitor_visitAtRule_closure5(t0) {
  22786. this.$this = t0;
  22787. },
  22788. _EvaluateVisitor_visitAtRule_closure6: function _EvaluateVisitor_visitAtRule_closure6(t0, t1, t2) {
  22789. this.$this = t0;
  22790. this.name = t1;
  22791. this.children = t2;
  22792. },
  22793. _EvaluateVisitor_visitAtRule__closure1: function _EvaluateVisitor_visitAtRule__closure1(t0, t1) {
  22794. this.$this = t0;
  22795. this.children = t1;
  22796. },
  22797. _EvaluateVisitor_visitAtRule_closure7: function _EvaluateVisitor_visitAtRule_closure7() {
  22798. },
  22799. _EvaluateVisitor_visitForRule_closure9: function _EvaluateVisitor_visitForRule_closure9(t0, t1) {
  22800. this.$this = t0;
  22801. this.node = t1;
  22802. },
  22803. _EvaluateVisitor_visitForRule_closure10: function _EvaluateVisitor_visitForRule_closure10(t0, t1) {
  22804. this.$this = t0;
  22805. this.node = t1;
  22806. },
  22807. _EvaluateVisitor_visitForRule_closure11: function _EvaluateVisitor_visitForRule_closure11(t0) {
  22808. this.fromNumber = t0;
  22809. },
  22810. _EvaluateVisitor_visitForRule_closure12: function _EvaluateVisitor_visitForRule_closure12(t0, t1) {
  22811. this.toNumber = t0;
  22812. this.fromNumber = t1;
  22813. },
  22814. _EvaluateVisitor_visitForRule_closure13: function _EvaluateVisitor_visitForRule_closure13(t0, t1, t2, t3, t4, t5) {
  22815. var _ = this;
  22816. _._box_0 = t0;
  22817. _.$this = t1;
  22818. _.node = t2;
  22819. _.from = t3;
  22820. _.direction = t4;
  22821. _.fromNumber = t5;
  22822. },
  22823. _EvaluateVisitor_visitForRule__closure1: function _EvaluateVisitor_visitForRule__closure1(t0) {
  22824. this.$this = t0;
  22825. },
  22826. _EvaluateVisitor_visitForwardRule_closure3: function _EvaluateVisitor_visitForwardRule_closure3(t0, t1) {
  22827. this.$this = t0;
  22828. this.node = t1;
  22829. },
  22830. _EvaluateVisitor_visitForwardRule_closure4: function _EvaluateVisitor_visitForwardRule_closure4(t0, t1) {
  22831. this.$this = t0;
  22832. this.node = t1;
  22833. },
  22834. _EvaluateVisitor__registerCommentsForModule_closure1: function _EvaluateVisitor__registerCommentsForModule_closure1() {
  22835. },
  22836. _EvaluateVisitor_visitIfRule_closure1: function _EvaluateVisitor_visitIfRule_closure1(t0) {
  22837. this.$this = t0;
  22838. },
  22839. _EvaluateVisitor_visitIfRule__closure1: function _EvaluateVisitor_visitIfRule__closure1(t0, t1) {
  22840. this.$this = t0;
  22841. this.clause = t1;
  22842. },
  22843. _EvaluateVisitor_visitIfRule___closure1: function _EvaluateVisitor_visitIfRule___closure1(t0) {
  22844. this.$this = t0;
  22845. },
  22846. _EvaluateVisitor__visitDynamicImport_closure1: function _EvaluateVisitor__visitDynamicImport_closure1(t0, t1) {
  22847. this.$this = t0;
  22848. this.$import = t1;
  22849. },
  22850. _EvaluateVisitor__visitDynamicImport__closure7: function _EvaluateVisitor__visitDynamicImport__closure7(t0) {
  22851. this.$this = t0;
  22852. },
  22853. _EvaluateVisitor__visitDynamicImport__closure8: function _EvaluateVisitor__visitDynamicImport__closure8() {
  22854. },
  22855. _EvaluateVisitor__visitDynamicImport__closure9: function _EvaluateVisitor__visitDynamicImport__closure9() {
  22856. },
  22857. _EvaluateVisitor__visitDynamicImport__closure10: function _EvaluateVisitor__visitDynamicImport__closure10(t0, t1, t2, t3, t4) {
  22858. var _ = this;
  22859. _._box_0 = t0;
  22860. _.$this = t1;
  22861. _.loadsUserDefinedModules = t2;
  22862. _.environment = t3;
  22863. _.children = t4;
  22864. },
  22865. _EvaluateVisitor__applyMixin_closure6: function _EvaluateVisitor__applyMixin_closure6(t0, t1, t2, t3) {
  22866. var _ = this;
  22867. _.$this = t0;
  22868. _.$arguments = t1;
  22869. _.mixin = t2;
  22870. _.nodeWithSpanWithoutContent = t3;
  22871. },
  22872. _EvaluateVisitor__applyMixin__closure4: function _EvaluateVisitor__applyMixin__closure4(t0, t1, t2, t3) {
  22873. var _ = this;
  22874. _.$this = t0;
  22875. _.$arguments = t1;
  22876. _.mixin = t2;
  22877. _.nodeWithSpanWithoutContent = t3;
  22878. },
  22879. _EvaluateVisitor__applyMixin_closure5: function _EvaluateVisitor__applyMixin_closure5(t0) {
  22880. this._1_0 = t0;
  22881. },
  22882. _EvaluateVisitor__applyMixin_closure7: function _EvaluateVisitor__applyMixin_closure7(t0, t1, t2, t3) {
  22883. var _ = this;
  22884. _.$this = t0;
  22885. _.contentCallable = t1;
  22886. _.mixin = t2;
  22887. _.nodeWithSpanWithoutContent = t3;
  22888. },
  22889. _EvaluateVisitor__applyMixin__closure3: function _EvaluateVisitor__applyMixin__closure3(t0, t1, t2) {
  22890. this.$this = t0;
  22891. this.mixin = t1;
  22892. this.nodeWithSpanWithoutContent = t2;
  22893. },
  22894. _EvaluateVisitor__applyMixin___closure1: function _EvaluateVisitor__applyMixin___closure1(t0, t1, t2) {
  22895. this.$this = t0;
  22896. this.mixin = t1;
  22897. this.nodeWithSpanWithoutContent = t2;
  22898. },
  22899. _EvaluateVisitor__applyMixin____closure1: function _EvaluateVisitor__applyMixin____closure1(t0, t1) {
  22900. this.$this = t0;
  22901. this.statement = t1;
  22902. },
  22903. _EvaluateVisitor_visitIncludeRule_closure5: function _EvaluateVisitor_visitIncludeRule_closure5(t0, t1) {
  22904. this.$this = t0;
  22905. this.node = t1;
  22906. },
  22907. _EvaluateVisitor_visitIncludeRule_closure6: function _EvaluateVisitor_visitIncludeRule_closure6(t0) {
  22908. this.$this = t0;
  22909. },
  22910. _EvaluateVisitor_visitIncludeRule_closure7: function _EvaluateVisitor_visitIncludeRule_closure7(t0) {
  22911. this.node = t0;
  22912. },
  22913. _EvaluateVisitor_visitMediaRule_closure5: function _EvaluateVisitor_visitMediaRule_closure5(t0, t1) {
  22914. this.$this = t0;
  22915. this.queries = t1;
  22916. },
  22917. _EvaluateVisitor_visitMediaRule_closure6: function _EvaluateVisitor_visitMediaRule_closure6(t0, t1, t2, t3, t4) {
  22918. var _ = this;
  22919. _.$this = t0;
  22920. _.mergedQueries = t1;
  22921. _.queries = t2;
  22922. _.mergedSources = t3;
  22923. _.node = t4;
  22924. },
  22925. _EvaluateVisitor_visitMediaRule__closure1: function _EvaluateVisitor_visitMediaRule__closure1(t0, t1) {
  22926. this.$this = t0;
  22927. this.node = t1;
  22928. },
  22929. _EvaluateVisitor_visitMediaRule___closure1: function _EvaluateVisitor_visitMediaRule___closure1(t0, t1) {
  22930. this.$this = t0;
  22931. this.node = t1;
  22932. },
  22933. _EvaluateVisitor_visitMediaRule_closure7: function _EvaluateVisitor_visitMediaRule_closure7(t0) {
  22934. this.mergedSources = t0;
  22935. },
  22936. _EvaluateVisitor_visitStyleRule_closure9: function _EvaluateVisitor_visitStyleRule_closure9(t0, t1) {
  22937. this.$this = t0;
  22938. this.node = t1;
  22939. },
  22940. _EvaluateVisitor_visitStyleRule_closure10: function _EvaluateVisitor_visitStyleRule_closure10() {
  22941. },
  22942. _EvaluateVisitor_visitStyleRule_closure11: function _EvaluateVisitor_visitStyleRule_closure11(t0, t1, t2) {
  22943. this.$this = t0;
  22944. this.rule = t1;
  22945. this.node = t2;
  22946. },
  22947. _EvaluateVisitor_visitStyleRule__closure1: function _EvaluateVisitor_visitStyleRule__closure1(t0, t1) {
  22948. this.$this = t0;
  22949. this.node = t1;
  22950. },
  22951. _EvaluateVisitor_visitStyleRule_closure12: function _EvaluateVisitor_visitStyleRule_closure12() {
  22952. },
  22953. _EvaluateVisitor_visitStyleRule_closure13: function _EvaluateVisitor_visitStyleRule_closure13() {
  22954. },
  22955. _EvaluateVisitor_visitSupportsRule_closure3: function _EvaluateVisitor_visitSupportsRule_closure3(t0, t1) {
  22956. this.$this = t0;
  22957. this.node = t1;
  22958. },
  22959. _EvaluateVisitor_visitSupportsRule__closure1: function _EvaluateVisitor_visitSupportsRule__closure1(t0, t1) {
  22960. this.$this = t0;
  22961. this.node = t1;
  22962. },
  22963. _EvaluateVisitor_visitSupportsRule_closure4: function _EvaluateVisitor_visitSupportsRule_closure4() {
  22964. },
  22965. _EvaluateVisitor__visitSupportsCondition_closure1: function _EvaluateVisitor__visitSupportsCondition_closure1(t0, t1) {
  22966. this._box_0 = t0;
  22967. this.$this = t1;
  22968. },
  22969. _EvaluateVisitor_visitVariableDeclaration_closure5: function _EvaluateVisitor_visitVariableDeclaration_closure5(t0, t1, t2) {
  22970. this._box_0 = t0;
  22971. this.$this = t1;
  22972. this.node = t2;
  22973. },
  22974. _EvaluateVisitor_visitVariableDeclaration_closure6: function _EvaluateVisitor_visitVariableDeclaration_closure6(t0, t1) {
  22975. this.$this = t0;
  22976. this.node = t1;
  22977. },
  22978. _EvaluateVisitor_visitVariableDeclaration_closure7: function _EvaluateVisitor_visitVariableDeclaration_closure7(t0, t1, t2) {
  22979. this.$this = t0;
  22980. this.node = t1;
  22981. this.value = t2;
  22982. },
  22983. _EvaluateVisitor_visitUseRule_closure1: function _EvaluateVisitor_visitUseRule_closure1(t0, t1) {
  22984. this.$this = t0;
  22985. this.node = t1;
  22986. },
  22987. _EvaluateVisitor_visitWarnRule_closure1: function _EvaluateVisitor_visitWarnRule_closure1(t0, t1) {
  22988. this.$this = t0;
  22989. this.node = t1;
  22990. },
  22991. _EvaluateVisitor_visitWhileRule_closure1: function _EvaluateVisitor_visitWhileRule_closure1(t0, t1) {
  22992. this.$this = t0;
  22993. this.node = t1;
  22994. },
  22995. _EvaluateVisitor_visitWhileRule__closure1: function _EvaluateVisitor_visitWhileRule__closure1(t0) {
  22996. this.$this = t0;
  22997. },
  22998. _EvaluateVisitor_visitBinaryOperationExpression_closure1: function _EvaluateVisitor_visitBinaryOperationExpression_closure1(t0, t1) {
  22999. this.$this = t0;
  23000. this.node = t1;
  23001. },
  23002. _EvaluateVisitor__slash_closure3: function _EvaluateVisitor__slash_closure3(t0) {
  23003. this._1_0 = t0;
  23004. },
  23005. _EvaluateVisitor__slash_closure4: function _EvaluateVisitor__slash_closure4(t0) {
  23006. this._1_0 = t0;
  23007. },
  23008. _EvaluateVisitor__slash_recommendation1: function _EvaluateVisitor__slash_recommendation1() {
  23009. },
  23010. _EvaluateVisitor_visitVariableExpression_closure1: function _EvaluateVisitor_visitVariableExpression_closure1(t0, t1) {
  23011. this.$this = t0;
  23012. this.node = t1;
  23013. },
  23014. _EvaluateVisitor_visitUnaryOperationExpression_closure1: function _EvaluateVisitor_visitUnaryOperationExpression_closure1(t0, t1) {
  23015. this.node = t0;
  23016. this.operand = t1;
  23017. },
  23018. _EvaluateVisitor_visitListExpression_closure1: function _EvaluateVisitor_visitListExpression_closure1(t0) {
  23019. this.$this = t0;
  23020. },
  23021. _EvaluateVisitor_visitFunctionExpression_closure5: function _EvaluateVisitor_visitFunctionExpression_closure5(t0, t1) {
  23022. this.$this = t0;
  23023. this.node = t1;
  23024. },
  23025. _EvaluateVisitor_visitFunctionExpression_closure6: function _EvaluateVisitor_visitFunctionExpression_closure6() {
  23026. },
  23027. _EvaluateVisitor_visitFunctionExpression_closure7: function _EvaluateVisitor_visitFunctionExpression_closure7(t0, t1, t2) {
  23028. this._box_0 = t0;
  23029. this.$this = t1;
  23030. this.node = t2;
  23031. },
  23032. _EvaluateVisitor__checkCalculationArguments_check1: function _EvaluateVisitor__checkCalculationArguments_check1(t0, t1) {
  23033. this.$this = t0;
  23034. this.node = t1;
  23035. },
  23036. _EvaluateVisitor__visitCalculationExpression_closure1: function _EvaluateVisitor__visitCalculationExpression_closure1(t0, t1, t2, t3) {
  23037. var _ = this;
  23038. _._box_0 = t0;
  23039. _.$this = t1;
  23040. _.node = t2;
  23041. _.inLegacySassFunction = t3;
  23042. },
  23043. _EvaluateVisitor__checkAdjacentCalculationValues_closure1: function _EvaluateVisitor__checkAdjacentCalculationValues_closure1(t0) {
  23044. this._0_0 = t0;
  23045. },
  23046. _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1: function _EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(t0, t1, t2) {
  23047. this.$this = t0;
  23048. this.node = t1;
  23049. this.$function = t2;
  23050. },
  23051. _EvaluateVisitor__runUserDefinedCallable_closure1: function _EvaluateVisitor__runUserDefinedCallable_closure1(t0, t1, t2, t3, t4, t5) {
  23052. var _ = this;
  23053. _.$this = t0;
  23054. _.callable = t1;
  23055. _.evaluated = t2;
  23056. _.nodeWithSpan = t3;
  23057. _.run = t4;
  23058. _.V = t5;
  23059. },
  23060. _EvaluateVisitor__runUserDefinedCallable__closure1: function _EvaluateVisitor__runUserDefinedCallable__closure1(t0, t1, t2, t3, t4, t5) {
  23061. var _ = this;
  23062. _.$this = t0;
  23063. _.evaluated = t1;
  23064. _.callable = t2;
  23065. _.nodeWithSpan = t3;
  23066. _.run = t4;
  23067. _.V = t5;
  23068. },
  23069. _EvaluateVisitor__runUserDefinedCallable___closure1: function _EvaluateVisitor__runUserDefinedCallable___closure1(t0, t1, t2, t3, t4, t5) {
  23070. var _ = this;
  23071. _.$this = t0;
  23072. _.evaluated = t1;
  23073. _.callable = t2;
  23074. _.nodeWithSpan = t3;
  23075. _.run = t4;
  23076. _.V = t5;
  23077. },
  23078. _EvaluateVisitor__runUserDefinedCallable____closure1: function _EvaluateVisitor__runUserDefinedCallable____closure1() {
  23079. },
  23080. _EvaluateVisitor__runFunctionCallable_closure1: function _EvaluateVisitor__runFunctionCallable_closure1(t0, t1) {
  23081. this.$this = t0;
  23082. this.callable = t1;
  23083. },
  23084. _EvaluateVisitor__runBuiltInCallable_closure5: function _EvaluateVisitor__runBuiltInCallable_closure5(t0, t1, t2) {
  23085. this._box_0 = t0;
  23086. this.evaluated = t1;
  23087. this.namedSet = t2;
  23088. },
  23089. _EvaluateVisitor__runBuiltInCallable_closure6: function _EvaluateVisitor__runBuiltInCallable_closure6(t0, t1) {
  23090. this._box_0 = t0;
  23091. this.evaluated = t1;
  23092. },
  23093. _EvaluateVisitor__runBuiltInCallable_closure7: function _EvaluateVisitor__runBuiltInCallable_closure7() {
  23094. },
  23095. _EvaluateVisitor__evaluateArguments_closure7: function _EvaluateVisitor__evaluateArguments_closure7() {
  23096. },
  23097. _EvaluateVisitor__evaluateArguments_closure8: function _EvaluateVisitor__evaluateArguments_closure8(t0, t1) {
  23098. this.$this = t0;
  23099. this.restNodeForSpan = t1;
  23100. },
  23101. _EvaluateVisitor__evaluateArguments_closure9: function _EvaluateVisitor__evaluateArguments_closure9(t0, t1, t2, t3) {
  23102. var _ = this;
  23103. _.$this = t0;
  23104. _.named = t1;
  23105. _.restNodeForSpan = t2;
  23106. _.namedNodes = t3;
  23107. },
  23108. _EvaluateVisitor__evaluateArguments_closure10: function _EvaluateVisitor__evaluateArguments_closure10() {
  23109. },
  23110. _EvaluateVisitor__evaluateMacroArguments_closure7: function _EvaluateVisitor__evaluateMacroArguments_closure7(t0) {
  23111. this.restArgs = t0;
  23112. },
  23113. _EvaluateVisitor__evaluateMacroArguments_closure8: function _EvaluateVisitor__evaluateMacroArguments_closure8(t0, t1, t2) {
  23114. this.$this = t0;
  23115. this.restNodeForSpan = t1;
  23116. this.restArgs = t2;
  23117. },
  23118. _EvaluateVisitor__evaluateMacroArguments_closure9: function _EvaluateVisitor__evaluateMacroArguments_closure9(t0, t1, t2, t3) {
  23119. var _ = this;
  23120. _.$this = t0;
  23121. _.named = t1;
  23122. _.restNodeForSpan = t2;
  23123. _.restArgs = t3;
  23124. },
  23125. _EvaluateVisitor__evaluateMacroArguments_closure10: function _EvaluateVisitor__evaluateMacroArguments_closure10(t0, t1, t2) {
  23126. this.$this = t0;
  23127. this.keywordRestNodeForSpan = t1;
  23128. this.keywordRestArgs = t2;
  23129. },
  23130. _EvaluateVisitor__addRestMap_closure1: function _EvaluateVisitor__addRestMap_closure1(t0, t1, t2, t3, t4, t5) {
  23131. var _ = this;
  23132. _.$this = t0;
  23133. _.values = t1;
  23134. _.convert = t2;
  23135. _.expressionNode = t3;
  23136. _.map = t4;
  23137. _.nodeWithSpan = t5;
  23138. },
  23139. _EvaluateVisitor__verifyArguments_closure1: function _EvaluateVisitor__verifyArguments_closure1(t0, t1, t2) {
  23140. this.$arguments = t0;
  23141. this.positional = t1;
  23142. this.named = t2;
  23143. },
  23144. _EvaluateVisitor_visitCssAtRule_closure3: function _EvaluateVisitor_visitCssAtRule_closure3(t0, t1) {
  23145. this.$this = t0;
  23146. this.node = t1;
  23147. },
  23148. _EvaluateVisitor_visitCssAtRule_closure4: function _EvaluateVisitor_visitCssAtRule_closure4() {
  23149. },
  23150. _EvaluateVisitor_visitCssKeyframeBlock_closure3: function _EvaluateVisitor_visitCssKeyframeBlock_closure3(t0, t1) {
  23151. this.$this = t0;
  23152. this.node = t1;
  23153. },
  23154. _EvaluateVisitor_visitCssKeyframeBlock_closure4: function _EvaluateVisitor_visitCssKeyframeBlock_closure4() {
  23155. },
  23156. _EvaluateVisitor_visitCssMediaRule_closure5: function _EvaluateVisitor_visitCssMediaRule_closure5(t0, t1) {
  23157. this.$this = t0;
  23158. this.node = t1;
  23159. },
  23160. _EvaluateVisitor_visitCssMediaRule_closure6: function _EvaluateVisitor_visitCssMediaRule_closure6(t0, t1, t2, t3) {
  23161. var _ = this;
  23162. _.$this = t0;
  23163. _.mergedQueries = t1;
  23164. _.node = t2;
  23165. _.mergedSources = t3;
  23166. },
  23167. _EvaluateVisitor_visitCssMediaRule__closure1: function _EvaluateVisitor_visitCssMediaRule__closure1(t0, t1) {
  23168. this.$this = t0;
  23169. this.node = t1;
  23170. },
  23171. _EvaluateVisitor_visitCssMediaRule___closure1: function _EvaluateVisitor_visitCssMediaRule___closure1(t0, t1) {
  23172. this.$this = t0;
  23173. this.node = t1;
  23174. },
  23175. _EvaluateVisitor_visitCssMediaRule_closure7: function _EvaluateVisitor_visitCssMediaRule_closure7(t0) {
  23176. this.mergedSources = t0;
  23177. },
  23178. _EvaluateVisitor_visitCssStyleRule_closure5: function _EvaluateVisitor_visitCssStyleRule_closure5(t0, t1, t2) {
  23179. this.$this = t0;
  23180. this.rule = t1;
  23181. this.node = t2;
  23182. },
  23183. _EvaluateVisitor_visitCssStyleRule__closure1: function _EvaluateVisitor_visitCssStyleRule__closure1(t0, t1) {
  23184. this.$this = t0;
  23185. this.node = t1;
  23186. },
  23187. _EvaluateVisitor_visitCssStyleRule_closure6: function _EvaluateVisitor_visitCssStyleRule_closure6() {
  23188. },
  23189. _EvaluateVisitor_visitCssStyleRule_closure7: function _EvaluateVisitor_visitCssStyleRule_closure7(t0) {
  23190. this._0_0 = t0;
  23191. },
  23192. _EvaluateVisitor_visitCssSupportsRule_closure3: function _EvaluateVisitor_visitCssSupportsRule_closure3(t0, t1) {
  23193. this.$this = t0;
  23194. this.node = t1;
  23195. },
  23196. _EvaluateVisitor_visitCssSupportsRule__closure1: function _EvaluateVisitor_visitCssSupportsRule__closure1(t0, t1) {
  23197. this.$this = t0;
  23198. this.node = t1;
  23199. },
  23200. _EvaluateVisitor_visitCssSupportsRule_closure4: function _EvaluateVisitor_visitCssSupportsRule_closure4() {
  23201. },
  23202. _EvaluateVisitor__performInterpolationHelper_closure1: function _EvaluateVisitor__performInterpolationHelper_closure1(t0) {
  23203. this.interpolation = t0;
  23204. },
  23205. _EvaluateVisitor__serialize_closure1: function _EvaluateVisitor__serialize_closure1(t0, t1) {
  23206. this.value = t0;
  23207. this.quote = t1;
  23208. },
  23209. _EvaluateVisitor__expressionNode_closure1: function _EvaluateVisitor__expressionNode_closure1(t0, t1) {
  23210. this.$this = t0;
  23211. this.expression = t1;
  23212. },
  23213. _EvaluateVisitor__withoutSlash_recommendation1: function _EvaluateVisitor__withoutSlash_recommendation1() {
  23214. },
  23215. _EvaluateVisitor__stackFrame_closure1: function _EvaluateVisitor__stackFrame_closure1(t0) {
  23216. this.$this = t0;
  23217. },
  23218. _ImportedCssVisitor1: function _ImportedCssVisitor1(t0) {
  23219. this._evaluate0$_visitor = t0;
  23220. },
  23221. _ImportedCssVisitor_visitCssAtRule_closure1: function _ImportedCssVisitor_visitCssAtRule_closure1() {
  23222. },
  23223. _ImportedCssVisitor_visitCssMediaRule_closure1: function _ImportedCssVisitor_visitCssMediaRule_closure1(t0) {
  23224. this.hasBeenMerged = t0;
  23225. },
  23226. _ImportedCssVisitor_visitCssStyleRule_closure1: function _ImportedCssVisitor_visitCssStyleRule_closure1() {
  23227. },
  23228. _ImportedCssVisitor_visitCssSupportsRule_closure1: function _ImportedCssVisitor_visitCssSupportsRule_closure1() {
  23229. },
  23230. _EvaluationContext1: function _EvaluationContext1(t0, t1) {
  23231. this._evaluate0$_visitor = t0;
  23232. this._evaluate0$_defaultWarnNodeWithSpan = t1;
  23233. },
  23234. EveryCssVisitor0: function EveryCssVisitor0() {
  23235. },
  23236. EveryCssVisitor_visitCssAtRule_closure0: function EveryCssVisitor_visitCssAtRule_closure0(t0) {
  23237. this.$this = t0;
  23238. },
  23239. EveryCssVisitor_visitCssKeyframeBlock_closure0: function EveryCssVisitor_visitCssKeyframeBlock_closure0(t0) {
  23240. this.$this = t0;
  23241. },
  23242. EveryCssVisitor_visitCssMediaRule_closure0: function EveryCssVisitor_visitCssMediaRule_closure0(t0) {
  23243. this.$this = t0;
  23244. },
  23245. EveryCssVisitor_visitCssStyleRule_closure0: function EveryCssVisitor_visitCssStyleRule_closure0(t0) {
  23246. this.$this = t0;
  23247. },
  23248. EveryCssVisitor_visitCssStylesheet_closure0: function EveryCssVisitor_visitCssStylesheet_closure0(t0) {
  23249. this.$this = t0;
  23250. },
  23251. EveryCssVisitor_visitCssSupportsRule_closure0: function EveryCssVisitor_visitCssSupportsRule_closure0(t0) {
  23252. this.$this = t0;
  23253. },
  23254. throwNodeException(exception, ascii, color, trace) {
  23255. var wasAscii, jsException, t1, trace0;
  23256. trace = trace;
  23257. wasAscii = $._glyphs === B.C_AsciiGlyphSet;
  23258. $._glyphs = ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  23259. try {
  23260. t1 = A.callConstructor($.$get$exceptionClass(), [exception, B.JSString_methods.replaceFirst$2(exception.toString$1$color(0, color), "Error: ", "")]);
  23261. jsException = type$._NodeException._as(t1);
  23262. trace0 = A.getTrace0(exception);
  23263. trace = trace0 == null ? trace : trace0;
  23264. if (trace != null)
  23265. A.attachJsStack(jsException, trace);
  23266. A.jsThrow(jsException);
  23267. } finally {
  23268. $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  23269. }
  23270. },
  23271. _NodeException: function _NodeException() {
  23272. },
  23273. exceptionClass_closure: function exceptionClass_closure() {
  23274. },
  23275. exceptionClass__closure: function exceptionClass__closure() {
  23276. },
  23277. exceptionClass__closure0: function exceptionClass__closure0() {
  23278. },
  23279. exceptionClass__closure1: function exceptionClass__closure1() {
  23280. },
  23281. SassException$0(message, span, loadedUrls) {
  23282. return new A.SassException0(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  23283. },
  23284. MultiSpanSassException$0(message, span, primaryLabel, secondarySpans, loadedUrls) {
  23285. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  23286. return new A.MultiSpanSassException0(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  23287. },
  23288. SassRuntimeException$0(message, span, trace, loadedUrls) {
  23289. return new A.SassRuntimeException0(trace, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  23290. },
  23291. MultiSpanSassRuntimeException$0(message, span, primaryLabel, secondarySpans, trace, loadedUrls) {
  23292. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  23293. return new A.MultiSpanSassRuntimeException0(trace, primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  23294. },
  23295. SassFormatException$0(message, span, loadedUrls) {
  23296. return new A.SassFormatException0(loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  23297. },
  23298. MultiSpanSassFormatException$0(message, span, primaryLabel, secondarySpans, loadedUrls) {
  23299. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  23300. return new A.MultiSpanSassFormatException0(primaryLabel, t1, loadedUrls == null ? B.Set_empty : A.Set_Set$unmodifiable(loadedUrls, type$.Uri), message, span);
  23301. },
  23302. SassScriptException$0(message, argumentName) {
  23303. return new A.SassScriptException0(argumentName == null ? message : "$" + argumentName + ": " + message);
  23304. },
  23305. MultiSpanSassScriptException$0(message, primaryLabel, secondarySpans) {
  23306. var t1 = A.ConstantMap_ConstantMap$from(secondarySpans, type$.FileSpan, type$.String);
  23307. return new A.MultiSpanSassScriptException0(primaryLabel, t1, message);
  23308. },
  23309. SassException0: function SassException0(t0, t1, t2) {
  23310. this.loadedUrls = t0;
  23311. this._span_exception$_message = t1;
  23312. this._span = t2;
  23313. },
  23314. MultiSpanSassException0: function MultiSpanSassException0(t0, t1, t2, t3, t4) {
  23315. var _ = this;
  23316. _.primaryLabel = t0;
  23317. _.secondarySpans = t1;
  23318. _.loadedUrls = t2;
  23319. _._span_exception$_message = t3;
  23320. _._span = t4;
  23321. },
  23322. SassRuntimeException0: function SassRuntimeException0(t0, t1, t2, t3) {
  23323. var _ = this;
  23324. _.trace = t0;
  23325. _.loadedUrls = t1;
  23326. _._span_exception$_message = t2;
  23327. _._span = t3;
  23328. },
  23329. MultiSpanSassRuntimeException0: function MultiSpanSassRuntimeException0(t0, t1, t2, t3, t4, t5) {
  23330. var _ = this;
  23331. _.trace = t0;
  23332. _.primaryLabel = t1;
  23333. _.secondarySpans = t2;
  23334. _.loadedUrls = t3;
  23335. _._span_exception$_message = t4;
  23336. _._span = t5;
  23337. },
  23338. SassFormatException0: function SassFormatException0(t0, t1, t2) {
  23339. this.loadedUrls = t0;
  23340. this._span_exception$_message = t1;
  23341. this._span = t2;
  23342. },
  23343. MultiSpanSassFormatException0: function MultiSpanSassFormatException0(t0, t1, t2, t3, t4) {
  23344. var _ = this;
  23345. _.primaryLabel = t0;
  23346. _.secondarySpans = t1;
  23347. _.loadedUrls = t2;
  23348. _._span_exception$_message = t3;
  23349. _._span = t4;
  23350. },
  23351. SassScriptException0: function SassScriptException0(t0) {
  23352. this.message = t0;
  23353. },
  23354. MultiSpanSassScriptException0: function MultiSpanSassScriptException0(t0, t1, t2) {
  23355. this.primaryLabel = t0;
  23356. this.secondarySpans = t1;
  23357. this.message = t2;
  23358. },
  23359. Exports: function Exports() {
  23360. },
  23361. LoggerNamespace: function LoggerNamespace() {
  23362. },
  23363. _IsCalculationSafeVisitor0: function _IsCalculationSafeVisitor0() {
  23364. },
  23365. _IsCalculationSafeVisitor_visitListExpression_closure0: function _IsCalculationSafeVisitor_visitListExpression_closure0(t0) {
  23366. this.$this = t0;
  23367. },
  23368. expressionToCalc0(expression) {
  23369. var t1 = A._setArrayType([B.C__MakeExpressionCalculationSafe0.visitBinaryOperationExpression$1(expression)], type$.JSArray_Expression_2),
  23370. t2 = expression.get$span(expression),
  23371. t3 = type$.Expression_2;
  23372. return new A.FunctionExpression0(null, "calc", new A.ArgumentInvocation0(A.List_List$unmodifiable(t1, t3), A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t3), null, null, t2), expression.get$span(expression));
  23373. },
  23374. _MakeExpressionCalculationSafe0: function _MakeExpressionCalculationSafe0() {
  23375. },
  23376. __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0: function __MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0() {
  23377. },
  23378. ExtendRule0: function ExtendRule0(t0, t1, t2) {
  23379. this.selector = t0;
  23380. this.isOptional = t1;
  23381. this.span = t2;
  23382. },
  23383. Extension0: function Extension0(t0, t1, t2, t3, t4) {
  23384. var _ = this;
  23385. _.extender = t0;
  23386. _.target = t1;
  23387. _.mediaContext = t2;
  23388. _.isOptional = t3;
  23389. _.span = t4;
  23390. },
  23391. Extender0: function Extender0(t0, t1) {
  23392. this.selector = t0;
  23393. this.isOriginal = t1;
  23394. this._extension$_extension = null;
  23395. },
  23396. ExtensionStore__extendOrReplace0(selector, source, targets, mode, span) {
  23397. var t1, t2, t3, t4, t5, t6, t7, t8, _i, complex, compound, t9, t10, t11, _i0, simple, t12, _i1, t13, t14,
  23398. extender = A.ExtensionStore$_mode0(mode);
  23399. if (!selector.accept$1(B._IsInvisibleVisitor_true0))
  23400. extender._extension_store$_originals.addAll$1(0, selector.components);
  23401. 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) {
  23402. complex = t1[_i];
  23403. compound = complex.get$singleCompound();
  23404. if (compound == null)
  23405. throw A.wrapException(A.SassScriptException$0("Can't extend complex selector " + A.S(complex) + ".", null));
  23406. t9 = A.LinkedHashMap_LinkedHashMap$_empty(t7, t8);
  23407. for (t10 = compound.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0) {
  23408. simple = t10[_i0];
  23409. t12 = A.LinkedHashMap_LinkedHashMap$_empty(t5, t6);
  23410. for (_i1 = 0; _i1 < t4; ++_i1) {
  23411. complex = t3[_i1];
  23412. complex.get$specificity();
  23413. t13 = new A.Extender0(complex, false);
  23414. t14 = new A.Extension0(t13, simple, null, true, span);
  23415. t13._extension$_extension = t14;
  23416. t12.$indexSet(0, complex, t14);
  23417. }
  23418. t9.$indexSet(0, simple, t12);
  23419. }
  23420. selector = extender._extension_store$_extendList$2(selector, t9);
  23421. }
  23422. return selector;
  23423. },
  23424. ExtensionStore$0() {
  23425. var t1 = type$.SimpleSelector_2;
  23426. return new A.ExtensionStore0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_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$.ModifiableBox_SelectorList_2, type$.List_CssMediaQuery_2), new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int_2), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2), B.ExtendMode_normal_normal0);
  23427. },
  23428. ExtensionStore$_mode0(_mode) {
  23429. var t1 = type$.SimpleSelector_2;
  23430. return new A.ExtensionStore0(A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_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$.ModifiableBox_SelectorList_2, type$.List_CssMediaQuery_2), new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int_2), new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2), _mode);
  23431. },
  23432. ExtensionStore0: function ExtensionStore0(t0, t1, t2, t3, t4, t5, t6) {
  23433. var _ = this;
  23434. _._extension_store$_selectors = t0;
  23435. _._extension_store$_extensions = t1;
  23436. _._extension_store$_extensionsByExtender = t2;
  23437. _._extension_store$_mediaContexts = t3;
  23438. _._extension_store$_sourceSpecificity = t4;
  23439. _._extension_store$_originals = t5;
  23440. _._extension_store$_mode = t6;
  23441. },
  23442. ExtensionStore_extensionsWhereTarget_closure0: function ExtensionStore_extensionsWhereTarget_closure0() {
  23443. },
  23444. ExtensionStore__registerSelector_closure1: function ExtensionStore__registerSelector_closure1() {
  23445. },
  23446. ExtensionStore__registerSelector_closure2: function ExtensionStore__registerSelector_closure2(t0) {
  23447. this._0_0 = t0;
  23448. },
  23449. ExtensionStore_addExtension_closure2: function ExtensionStore_addExtension_closure2() {
  23450. },
  23451. ExtensionStore_addExtension_closure3: function ExtensionStore_addExtension_closure3() {
  23452. },
  23453. ExtensionStore_addExtension_closure4: function ExtensionStore_addExtension_closure4(t0) {
  23454. this.complex = t0;
  23455. },
  23456. ExtensionStore__simpleSelectors_closure0: function ExtensionStore__simpleSelectors_closure0(t0) {
  23457. this._0_0 = t0;
  23458. },
  23459. ExtensionStore__extendExistingExtensions_closure1: function ExtensionStore__extendExistingExtensions_closure1() {
  23460. },
  23461. ExtensionStore__extendExistingExtensions_closure2: function ExtensionStore__extendExistingExtensions_closure2() {
  23462. },
  23463. ExtensionStore_addExtensions_closure0: function ExtensionStore_addExtensions_closure0() {
  23464. },
  23465. ExtensionStore__extendComplex_closure0: function ExtensionStore__extendComplex_closure0(t0, t1, t2) {
  23466. this._box_0 = t0;
  23467. this.$this = t1;
  23468. this.complex = t2;
  23469. },
  23470. ExtensionStore__extendComplex__closure0: function ExtensionStore__extendComplex__closure0(t0, t1, t2) {
  23471. this._box_0 = t0;
  23472. this.$this = t1;
  23473. this.complex = t2;
  23474. },
  23475. ExtensionStore__extendCompound_closure2: function ExtensionStore__extendCompound_closure2() {
  23476. },
  23477. ExtensionStore__extendCompound_closure3: function ExtensionStore__extendCompound_closure3() {
  23478. },
  23479. ExtensionStore__extendCompound_closure4: function ExtensionStore__extendCompound_closure4(t0) {
  23480. this.original = t0;
  23481. },
  23482. ExtensionStore__extendSimple_withoutPseudo0: function ExtensionStore__extendSimple_withoutPseudo0(t0, t1, t2) {
  23483. this.$this = t0;
  23484. this.extensions = t1;
  23485. this.targetsUsed = t2;
  23486. },
  23487. ExtensionStore__extendSimple_closure1: function ExtensionStore__extendSimple_closure1(t0, t1) {
  23488. this.$this = t0;
  23489. this.withoutPseudo = t1;
  23490. },
  23491. ExtensionStore__extendSimple_closure2: function ExtensionStore__extendSimple_closure2() {
  23492. },
  23493. ExtensionStore__extendPseudo_closure4: function ExtensionStore__extendPseudo_closure4() {
  23494. },
  23495. ExtensionStore__extendPseudo_closure5: function ExtensionStore__extendPseudo_closure5() {
  23496. },
  23497. ExtensionStore__extendPseudo_closure6: function ExtensionStore__extendPseudo_closure6() {
  23498. },
  23499. ExtensionStore__extendPseudo_closure7: function ExtensionStore__extendPseudo_closure7(t0) {
  23500. this.pseudo = t0;
  23501. },
  23502. ExtensionStore__extendPseudo_closure8: function ExtensionStore__extendPseudo_closure8(t0, t1) {
  23503. this.pseudo = t0;
  23504. this.selector = t1;
  23505. },
  23506. ExtensionStore__trim_closure1: function ExtensionStore__trim_closure1(t0, t1) {
  23507. this._box_0 = t0;
  23508. this.complex1 = t1;
  23509. },
  23510. ExtensionStore__trim_closure2: function ExtensionStore__trim_closure2(t0, t1) {
  23511. this._box_0 = t0;
  23512. this.complex1 = t1;
  23513. },
  23514. ExtensionStore_clone_closure0: function ExtensionStore_clone_closure0(t0, t1, t2, t3) {
  23515. var _ = this;
  23516. _.$this = t0;
  23517. _.newSelectors = t1;
  23518. _.oldToNewSelectors = t2;
  23519. _.newMediaContexts = t3;
  23520. },
  23521. FiberClass: function FiberClass() {
  23522. },
  23523. Fiber: function Fiber() {
  23524. },
  23525. JSToDartFileImporter: function JSToDartFileImporter(t0) {
  23526. this._file0$_findFileUrl = t0;
  23527. },
  23528. JSToDartFileImporter_canonicalize_closure: function JSToDartFileImporter_canonicalize_closure(t0, t1) {
  23529. this.$this = t0;
  23530. this.url = t1;
  23531. },
  23532. FilesystemImporter$(loadPath) {
  23533. var _null = null;
  23534. return new A.FilesystemImporter0(A.absolute(loadPath, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  23535. },
  23536. FilesystemImporter0: function FilesystemImporter0(t0) {
  23537. this._filesystem$_loadPath = t0;
  23538. },
  23539. FilesystemImporter_canonicalize_closure0: function FilesystemImporter_canonicalize_closure0() {
  23540. },
  23541. ForRule$0(variable, from, to, children, span, exclusive) {
  23542. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  23543. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  23544. return new A.ForRule0(variable, from, to, exclusive, span, t1, t2);
  23545. },
  23546. ForRule0: function ForRule0(t0, t1, t2, t3, t4, t5, t6) {
  23547. var _ = this;
  23548. _.variable = t0;
  23549. _.from = t1;
  23550. _.to = t2;
  23551. _.isExclusive = t3;
  23552. _.span = t4;
  23553. _.children = t5;
  23554. _.hasDeclarations = t6;
  23555. },
  23556. ForwardRule0: function ForwardRule0(t0, t1, t2, t3, t4, t5, t6, t7) {
  23557. var _ = this;
  23558. _.url = t0;
  23559. _.shownMixinsAndFunctions = t1;
  23560. _.shownVariables = t2;
  23561. _.hiddenMixinsAndFunctions = t3;
  23562. _.hiddenVariables = t4;
  23563. _.prefix = t5;
  23564. _.configuration = t6;
  23565. _.span = t7;
  23566. },
  23567. ForwardedModuleView_ifNecessary0(inner, rule, $T) {
  23568. var t1;
  23569. if (rule.prefix == null)
  23570. if (rule.shownMixinsAndFunctions == null)
  23571. if (rule.shownVariables == null) {
  23572. t1 = rule.hiddenMixinsAndFunctions;
  23573. if (t1 == null)
  23574. t1 = null;
  23575. else {
  23576. t1 = t1._base;
  23577. t1 = t1.get$isEmpty(t1);
  23578. }
  23579. if (t1 === true) {
  23580. t1 = rule.hiddenVariables;
  23581. if (t1 == null)
  23582. t1 = null;
  23583. else {
  23584. t1 = t1._base;
  23585. t1 = t1.get$isEmpty(t1);
  23586. }
  23587. t1 = t1 === true;
  23588. } else
  23589. t1 = false;
  23590. } else
  23591. t1 = false;
  23592. else
  23593. t1 = false;
  23594. else
  23595. t1 = false;
  23596. if (t1)
  23597. return inner;
  23598. else
  23599. return A.ForwardedModuleView$0(inner, rule, $T);
  23600. },
  23601. ForwardedModuleView$0(_inner, _rule, $T) {
  23602. var t1 = _rule.prefix,
  23603. t2 = _rule.shownVariables,
  23604. t3 = _rule.hiddenVariables,
  23605. t4 = _rule.shownMixinsAndFunctions,
  23606. t5 = _rule.hiddenMixinsAndFunctions;
  23607. 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>"));
  23608. },
  23609. ForwardedModuleView__forwardedMap0(map, prefix, safelist, blocklist, $V) {
  23610. var t2,
  23611. t1 = prefix == null;
  23612. if (t1)
  23613. if (safelist == null)
  23614. if (blocklist != null) {
  23615. t2 = blocklist._base;
  23616. t2 = t2.get$isEmpty(t2);
  23617. } else
  23618. t2 = true;
  23619. else
  23620. t2 = false;
  23621. else
  23622. t2 = false;
  23623. if (t2)
  23624. return map;
  23625. if (!t1)
  23626. map = new A.PrefixedMapView0(map, prefix, $V._eval$1("PrefixedMapView0<0>"));
  23627. if (safelist != null)
  23628. 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>"));
  23629. else {
  23630. if (blocklist != null) {
  23631. t1 = blocklist._base;
  23632. t1 = t1.get$isNotEmpty(t1);
  23633. } else
  23634. t1 = false;
  23635. if (t1)
  23636. map = A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
  23637. }
  23638. return map;
  23639. },
  23640. ForwardedModuleView0: function ForwardedModuleView0(t0, t1, t2, t3, t4, t5, t6) {
  23641. var _ = this;
  23642. _._forwarded_view0$_inner = t0;
  23643. _._forwarded_view0$_rule = t1;
  23644. _.variables = t2;
  23645. _.variableNodes = t3;
  23646. _.functions = t4;
  23647. _.mixins = t5;
  23648. _.$ti = t6;
  23649. },
  23650. FunctionExpression0: function FunctionExpression0(t0, t1, t2, t3) {
  23651. var _ = this;
  23652. _.namespace = t0;
  23653. _.originalName = t1;
  23654. _.$arguments = t2;
  23655. _.span = t3;
  23656. },
  23657. JSFunction1: function JSFunction1() {
  23658. },
  23659. SupportsFunction0: function SupportsFunction0(t0, t1, t2) {
  23660. this.name = t0;
  23661. this.$arguments = t1;
  23662. this.span = t2;
  23663. },
  23664. functionClass_closure: function functionClass_closure() {
  23665. },
  23666. functionClass__closure: function functionClass__closure() {
  23667. },
  23668. functionClass__closure0: function functionClass__closure0() {
  23669. },
  23670. SassFunction0: function SassFunction0(t0) {
  23671. this.callable = t0;
  23672. },
  23673. FunctionRule$0($name, $arguments, children, span, comment) {
  23674. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  23675. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  23676. return new A.FunctionRule0($name, $arguments, span, t1, t2);
  23677. },
  23678. FunctionRule0: function FunctionRule0(t0, t1, t2, t3, t4) {
  23679. var _ = this;
  23680. _.name = t0;
  23681. _.$arguments = t1;
  23682. _.span = t2;
  23683. _.children = t3;
  23684. _.hasDeclarations = t4;
  23685. },
  23686. unifyComplex0(complexes, span) {
  23687. var t2, trailingCombinator, leadingCombinator, unifiedBase, t3, _0_6, newLeadingCombinator, t4, base, _1_1, newTrailingCombinator, _i, t5, t6, t7, t8, _null = null,
  23688. t1 = J.getInterceptor$asx(complexes);
  23689. if (t1.get$length(complexes) === 1)
  23690. return complexes;
  23691. for (t2 = t1.get$iterator(complexes), trailingCombinator = _null, leadingCombinator = trailingCombinator, unifiedBase = leadingCombinator; t2.moveNext$0();) {
  23692. t3 = t2.get$current(t2);
  23693. if (t3.accept$1(B.C__IsUselessVisitor0))
  23694. return _null;
  23695. _0_6 = A._InitializedCell$(new A.unifyComplex_closure2(t3));
  23696. t3 = t3.components;
  23697. if (t3.length === 1)
  23698. if (J.get$length$asx(_0_6._readFinal$0()) === 1) {
  23699. newLeadingCombinator = J.$index$asx(_0_6._readFinal$0(), 0);
  23700. t4 = true;
  23701. } else {
  23702. newLeadingCombinator = _null;
  23703. t4 = false;
  23704. }
  23705. else {
  23706. newLeadingCombinator = _null;
  23707. t4 = false;
  23708. }
  23709. if (t4)
  23710. if (leadingCombinator == null)
  23711. leadingCombinator = newLeadingCombinator;
  23712. else if (!leadingCombinator.$eq(0, newLeadingCombinator))
  23713. return _null;
  23714. base = B.JSArray_methods.get$last(t3);
  23715. _1_1 = A._InitializedCell$(new A.unifyComplex_closure3(base));
  23716. if (J.get$length$asx(_1_1._readFinal$0()) === 1) {
  23717. newTrailingCombinator = J.$index$asx(_1_1._readFinal$0(), 0);
  23718. t3 = true;
  23719. } else {
  23720. newTrailingCombinator = _null;
  23721. t3 = false;
  23722. }
  23723. if (t3) {
  23724. if (trailingCombinator != null && !trailingCombinator.$eq(0, newTrailingCombinator))
  23725. return _null;
  23726. trailingCombinator = newTrailingCombinator;
  23727. }
  23728. if (unifiedBase == null)
  23729. unifiedBase = base.selector.components;
  23730. else
  23731. for (t3 = base.selector.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  23732. unifiedBase = t3[_i].unify$1(unifiedBase);
  23733. if (unifiedBase == null)
  23734. return _null;
  23735. }
  23736. }
  23737. t2 = type$.JSArray_ComplexSelector_2;
  23738. t3 = A._setArrayType([], t2);
  23739. for (t4 = t1.get$iterator(complexes); t4.moveNext$0();) {
  23740. t5 = t4.get$current(t4);
  23741. t6 = t5.components;
  23742. t7 = t6.length;
  23743. if (t7 > 1) {
  23744. t8 = t5.leadingCombinators;
  23745. t3.push(A.ComplexSelector$0(t8, B.JSArray_methods.take$1(t6, t7 - 1), t5.span, t5.lineBreak));
  23746. }
  23747. }
  23748. t4 = leadingCombinator == null ? B.List_empty14 : A._setArrayType([leadingCombinator], type$.JSArray_CssValue_Combinator_2);
  23749. unifiedBase.toString;
  23750. t5 = A.CompoundSelector$0(unifiedBase, span);
  23751. t6 = trailingCombinator == null ? B.List_empty14 : A._setArrayType([trailingCombinator], type$.JSArray_CssValue_Combinator_2);
  23752. base = A.ComplexSelector$0(t4, A._setArrayType([new A.ComplexSelectorComponent0(t5, A.List_List$unmodifiable(t6, type$.CssValue_Combinator_2), span)], type$.JSArray_ComplexSelectorComponent_2), span, t1.any$1(complexes, new A.unifyComplex_closure4()));
  23753. if (t3.length === 0)
  23754. t1 = A._setArrayType([base], t2);
  23755. else {
  23756. t1 = A.List_List$of(A.IterableExtension_get_exceptLast0(t3), true, type$.ComplexSelector_2);
  23757. t1.push(B.JSArray_methods.get$last(t3).concatenate$2(base, span));
  23758. }
  23759. return A.weave0(t1, span, false);
  23760. },
  23761. unifyCompound0(compound1, compound2) {
  23762. var t1, t2, _i, unified,
  23763. result = compound2.components;
  23764. for (t1 = compound1.components, t2 = t1.length, _i = 0; _i < t2; ++_i, result = unified) {
  23765. unified = t1[_i].unify$1(result);
  23766. if (unified == null)
  23767. return null;
  23768. }
  23769. return A.CompoundSelector$0(result, compound1.span);
  23770. },
  23771. unifyUniversalAndElement0(selector1, selector2) {
  23772. var namespace, $name, t1,
  23773. _0_0 = A._namespaceAndName0(selector1, "selector1"),
  23774. namespace1 = _0_0._0,
  23775. name1 = _0_0._1,
  23776. _1_0 = A._namespaceAndName0(selector2, "selector2"),
  23777. namespace2 = _1_0._0,
  23778. name2 = _1_0._1;
  23779. if (namespace1 == namespace2 || namespace2 === "*")
  23780. namespace = namespace1;
  23781. else {
  23782. if (namespace1 !== "*")
  23783. return null;
  23784. namespace = namespace2;
  23785. }
  23786. if (name1 == name2 || name2 == null)
  23787. $name = name1;
  23788. else {
  23789. if (!(name1 == null || name1 === "*"))
  23790. return null;
  23791. $name = name2;
  23792. }
  23793. t1 = selector1.span;
  23794. return $name == null ? new A.UniversalSelector0(namespace, t1) : new A.TypeSelector0(new A.QualifiedName0($name, namespace), t1);
  23795. },
  23796. _namespaceAndName0(selector, $name) {
  23797. var namespace, t1, name0, _null = null,
  23798. _0_4 = A._InitializedCell$(new A._namespaceAndName_closure0(selector));
  23799. $label0$0: {
  23800. if (selector instanceof A.UniversalSelector0) {
  23801. namespace = selector.namespace;
  23802. t1 = true;
  23803. } else {
  23804. namespace = _null;
  23805. t1 = false;
  23806. }
  23807. if (t1) {
  23808. t1 = new A._Record_2(namespace, _null);
  23809. break $label0$0;
  23810. }
  23811. if (selector instanceof A.TypeSelector0) {
  23812. name0 = _0_4._readFinal$0().name;
  23813. namespace = _0_4._readFinal$0().namespace;
  23814. t1 = true;
  23815. } else {
  23816. namespace = _null;
  23817. name0 = namespace;
  23818. t1 = false;
  23819. }
  23820. if (t1) {
  23821. t1 = new A._Record_2(namespace, name0);
  23822. break $label0$0;
  23823. }
  23824. t1 = A.throwExpression(A.ArgumentError$value(selector, $name, string$.must_b));
  23825. }
  23826. return t1;
  23827. },
  23828. weave0(complexes, span, forceLineBreak) {
  23829. var complex, t2, prefixes, t3, t4, t5, t6, i, t7, t8, _i, t9, t10, _i0, parentPrefix, t11, t12,
  23830. t1 = J.getInterceptor$asx(complexes);
  23831. if (t1.get$length(complexes) === 1) {
  23832. complex = t1.$index(complexes, 0);
  23833. t2 = true;
  23834. } else {
  23835. complex = null;
  23836. t2 = false;
  23837. }
  23838. if (t2) {
  23839. if (!forceLineBreak || complex.lineBreak)
  23840. return complexes;
  23841. return A._setArrayType([A.ComplexSelector$0(complex.leadingCombinators, complex.components, complex.span, true)], type$.JSArray_ComplexSelector_2);
  23842. }
  23843. t2 = type$.JSArray_ComplexSelector_2;
  23844. prefixes = A._setArrayType([t1.get$first(complexes)], t2);
  23845. for (t1 = t1.skip$1(complexes, 1), t1 = new A.ListIterator(t1, t1.get$length(t1)), t3 = type$.ComplexSelectorComponent_2, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  23846. t5 = t1.__internal$_current;
  23847. if (t5 == null)
  23848. t5 = t4._as(t5);
  23849. t6 = t5.components;
  23850. if (t6.length === 1) {
  23851. for (i = 0; i < prefixes.length; ++i)
  23852. prefixes[i] = prefixes[i].concatenate$3$forceLineBreak(t5, span, forceLineBreak);
  23853. continue;
  23854. }
  23855. t7 = A._setArrayType([], t2);
  23856. for (t8 = prefixes.length, _i = 0; _i < prefixes.length; prefixes.length === t8 || (0, A.throwConcurrentModificationError)(prefixes), ++_i) {
  23857. t9 = A._weaveParents0(prefixes[_i], t5, span);
  23858. if (t9 == null)
  23859. t9 = B.List_empty15;
  23860. t10 = t9.length;
  23861. _i0 = 0;
  23862. for (; _i0 < t9.length; t9.length === t10 || (0, A.throwConcurrentModificationError)(t9), ++_i0) {
  23863. parentPrefix = t9[_i0];
  23864. t11 = B.JSArray_methods.get$last(t6);
  23865. t12 = A.List_List$of(parentPrefix.components, true, t3);
  23866. t12.push(t11);
  23867. t11 = parentPrefix.lineBreak || forceLineBreak;
  23868. t7.push(A.ComplexSelector$0(parentPrefix.leadingCombinators, t12, span, t11));
  23869. }
  23870. }
  23871. prefixes = t7;
  23872. }
  23873. return prefixes;
  23874. },
  23875. _weaveParents0(prefix, base, span) {
  23876. var t1, queue1, queue2, trailingCombinators, _0_0, _0_1, _0_3, rootish1, rootish2, rootish, t2, t3, rootish_case_0, rootish_case_1, groups1, groups2, lcs, choices, t4, _i, group, t5, t6, t7, _i0, chunk, t8, t9, _null = null,
  23877. leadingCombinators = A._mergeLeadingCombinators0(prefix.leadingCombinators, base.leadingCombinators);
  23878. if (leadingCombinators == null)
  23879. return _null;
  23880. t1 = type$.ComplexSelectorComponent_2;
  23881. queue1 = A.QueueList_QueueList$from(prefix.components, t1);
  23882. queue2 = A.QueueList_QueueList$from(A.IterableExtension_get_exceptLast0(base.components), t1);
  23883. trailingCombinators = A._mergeTrailingCombinators0(queue1, queue2, span, _null);
  23884. if (trailingCombinators == null)
  23885. return _null;
  23886. $label0$0: {
  23887. _0_0 = new A._Record_2(A._firstIfRootish0(queue1), A._firstIfRootish0(queue2));
  23888. _0_1 = A._InitializedCell$(new A._weaveParents_closure5(_0_0));
  23889. _0_3 = A._InitializedCell$(new A._weaveParents_closure6(_0_0));
  23890. if (_0_1._readFinal$0() != null) {
  23891. rootish1 = _0_1._readFinal$0();
  23892. t1 = true;
  23893. } else {
  23894. rootish1 = _null;
  23895. t1 = false;
  23896. }
  23897. if (t1)
  23898. if (_0_3._readFinal$0() != null) {
  23899. rootish2 = _0_3._readFinal$0();
  23900. t1 = true;
  23901. } else {
  23902. rootish2 = _null;
  23903. t1 = false;
  23904. }
  23905. else {
  23906. rootish2 = _null;
  23907. t1 = false;
  23908. }
  23909. if (t1) {
  23910. rootish = A.unifyCompound0(rootish1.selector, rootish2.selector);
  23911. if (rootish == null)
  23912. return _null;
  23913. t1 = rootish1.combinators;
  23914. t2 = rootish1.span;
  23915. t3 = type$.CssValue_Combinator_2;
  23916. queue1.addFirst$1(new A.ComplexSelectorComponent0(rootish, A.List_List$unmodifiable(t1, t3), t2));
  23917. queue2.addFirst$1(new A.ComplexSelectorComponent0(rootish, A.List_List$unmodifiable(rootish2.combinators, t3), t2));
  23918. break $label0$0;
  23919. }
  23920. if (_0_1._readFinal$0() != null) {
  23921. rootish_case_0 = _0_1._readFinal$0();
  23922. t1 = true;
  23923. } else {
  23924. rootish_case_0 = _null;
  23925. t1 = false;
  23926. }
  23927. if (t1)
  23928. if (_0_3._readFinal$0() == null) {
  23929. t1 = rootish_case_0;
  23930. t2 = true;
  23931. } else {
  23932. t1 = _null;
  23933. t2 = false;
  23934. }
  23935. else {
  23936. t1 = _null;
  23937. t2 = false;
  23938. }
  23939. if (!t2)
  23940. if (_0_1._readFinal$0() == null) {
  23941. if (_0_3._readFinal$0() != null) {
  23942. rootish_case_1 = _0_3._readFinal$0();
  23943. t2 = true;
  23944. } else {
  23945. rootish_case_1 = _null;
  23946. t2 = false;
  23947. }
  23948. if (t2) {
  23949. t1 = rootish_case_1;
  23950. t2 = true;
  23951. } else
  23952. t2 = false;
  23953. } else
  23954. t2 = false;
  23955. else
  23956. t2 = true;
  23957. if (t2) {
  23958. queue1.addFirst$1(t1);
  23959. queue2.addFirst$1(t1);
  23960. }
  23961. }
  23962. groups1 = A._groupSelectors0(queue1);
  23963. groups2 = A._groupSelectors0(queue2);
  23964. t1 = type$.List_ComplexSelectorComponent_2;
  23965. lcs = A.longestCommonSubsequence0(groups2, groups1, new A._weaveParents_closure7(span), t1);
  23966. choices = A._setArrayType([], type$.JSArray_List_Iterable_ComplexSelectorComponent_2);
  23967. for (t2 = lcs.length, t3 = type$.JSArray_Iterable_ComplexSelectorComponent_2, t4 = type$.JSArray_ComplexSelectorComponent_2, _i = 0; _i < lcs.length; lcs.length === t2 || (0, A.throwConcurrentModificationError)(lcs), ++_i) {
  23968. group = lcs[_i];
  23969. t5 = A._setArrayType([], t3);
  23970. for (t6 = A._chunks0(groups1, groups2, new A._weaveParents_closure8(group), t1), t7 = t6.length, _i0 = 0; _i0 < t6.length; t6.length === t7 || (0, A.throwConcurrentModificationError)(t6), ++_i0) {
  23971. chunk = t6[_i0];
  23972. t8 = A._setArrayType([], t4);
  23973. for (t9 = J.get$iterator$ax(chunk); t9.moveNext$0();)
  23974. B.JSArray_methods.addAll$1(t8, t9.get$current(t9));
  23975. t5.push(t8);
  23976. }
  23977. choices.push(t5);
  23978. choices.push(A._setArrayType([group], t3));
  23979. groups1.removeFirst$0();
  23980. groups2.removeFirst$0();
  23981. }
  23982. t2 = A._setArrayType([], t3);
  23983. for (t1 = A._chunks0(groups1, groups2, new A._weaveParents_closure9(), t1), t3 = t1.length, _i = 0; _i < t1.length; t1.length === t3 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  23984. chunk = t1[_i];
  23985. t5 = A._setArrayType([], t4);
  23986. for (t6 = J.get$iterator$ax(chunk); t6.moveNext$0();)
  23987. B.JSArray_methods.addAll$1(t5, t6.get$current(t6));
  23988. t2.push(t5);
  23989. }
  23990. choices.push(t2);
  23991. B.JSArray_methods.addAll$1(choices, trailingCombinators);
  23992. t1 = A._setArrayType([], type$.JSArray_ComplexSelector_2);
  23993. for (t2 = J.get$iterator$ax(A.paths0(new A.WhereIterable(choices, new A._weaveParents_closure10(), type$.WhereIterable_List_Iterable_ComplexSelectorComponent_2), type$.Iterable_ComplexSelectorComponent_2)), t3 = !prefix.lineBreak, t5 = base.lineBreak; t2.moveNext$0();) {
  23994. t6 = t2.get$current(t2);
  23995. t7 = A._setArrayType([], t4);
  23996. for (t6 = J.get$iterator$ax(t6); t6.moveNext$0();)
  23997. B.JSArray_methods.addAll$1(t7, t6.get$current(t6));
  23998. t1.push(A.ComplexSelector$0(leadingCombinators, t7, span, !t3 || t5));
  23999. }
  24000. return t1;
  24001. },
  24002. _firstIfRootish0(queue) {
  24003. var first, t1, t2, _i, simple, t3;
  24004. if (queue.get$length(queue) >= 1) {
  24005. first = queue.$index(0, 0);
  24006. t1 = true;
  24007. } else {
  24008. first = null;
  24009. t1 = false;
  24010. }
  24011. if (t1)
  24012. for (t1 = first.selector.components, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  24013. simple = t1[_i];
  24014. if (simple instanceof A.PseudoSelector0)
  24015. if (simple.isClass)
  24016. t3 = $._rootishPseudoClasses0.contains$1(0, simple.normalizedName);
  24017. else
  24018. t3 = false;
  24019. else
  24020. t3 = false;
  24021. if (t3) {
  24022. queue.removeFirst$0();
  24023. return first;
  24024. }
  24025. }
  24026. return null;
  24027. },
  24028. _mergeLeadingCombinators0(combinators1, combinators2) {
  24029. var t1, t2, combinators, _null = null,
  24030. _0_0 = new A._Record_2(combinators1, combinators2),
  24031. _0_1 = A._InitializedCell$(new A._mergeLeadingCombinators_closure3(_0_0)),
  24032. _0_4 = A._InitializedCell$(new A._mergeLeadingCombinators_closure4(_0_0)),
  24033. _0_7 = A._InitializedCell$(new A._mergeLeadingCombinators_closure5(_0_1)),
  24034. _0_11 = A._InitializedCell$(new A._mergeLeadingCombinators_closure6(_0_4));
  24035. $label0$0: {
  24036. if (_0_1._readFinal$0() == null || _0_4._readFinal$0() == null) {
  24037. t1 = _null;
  24038. break $label0$0;
  24039. }
  24040. t1 = type$.List_CssValue_Combinator_2;
  24041. if (!(t1._is(_0_1._readFinal$0()) && _0_7._readFinal$0() > 1))
  24042. t2 = t1._is(_0_4._readFinal$0()) && _0_11._readFinal$0() > 1;
  24043. else
  24044. t2 = true;
  24045. if (t2) {
  24046. t1 = _null;
  24047. break $label0$0;
  24048. }
  24049. if (t1._is(_0_1._readFinal$0()))
  24050. if (_0_7._readFinal$0() <= 0) {
  24051. combinators = _0_4._readFinal$0();
  24052. t2 = true;
  24053. } else {
  24054. combinators = _null;
  24055. t2 = false;
  24056. }
  24057. else {
  24058. combinators = _null;
  24059. t2 = false;
  24060. }
  24061. if (!t2) {
  24062. combinators = _0_1._readFinal$0();
  24063. t1 = t1._is(_0_4._readFinal$0()) && _0_11._readFinal$0() <= 0;
  24064. } else
  24065. t1 = true;
  24066. if (t1) {
  24067. t1 = combinators;
  24068. break $label0$0;
  24069. }
  24070. t1 = B.C_ListEquality.equals$2(0, combinators1, combinators2) ? combinators1 : _null;
  24071. break $label0$0;
  24072. }
  24073. return t1;
  24074. },
  24075. _mergeTrailingCombinators0(components1, components2, span, result) {
  24076. var _0_1, last, t1, _1_1, t2, t3, _4_0, _4_1, _4_3, _4_4, _4_5, _4_9, _4_6, _4_7, _4_10, component1, component2, t4, t5, choices, _2_0, unified, followingComponents, nextComponents, followingComponents0, next, following, _3_0, siblingComponents_case_0, siblingComponents_case_1, combinator1, combinator2, combinator_case_0, combinatorComponents_case_0, descendantComponents_case_0, combinator_case_1, descendantComponents_case_1, combinatorComponents_case_1, _null = null;
  24077. if (result == null)
  24078. result = A.QueueList$(_null, type$.List_List_ComplexSelectorComponent_2);
  24079. _0_1 = A._InitializedCell$(new A._mergeTrailingCombinators_closure9(components1));
  24080. $label0$0: {
  24081. if (_0_1._readFinal$0() >= 1) {
  24082. last = components1.$index(0, _0_1._readFinal$0() - 1);
  24083. t1 = true;
  24084. } else {
  24085. last = _null;
  24086. t1 = false;
  24087. }
  24088. if (t1) {
  24089. t1 = last.combinators;
  24090. break $label0$0;
  24091. }
  24092. t1 = B.List_empty14;
  24093. break $label0$0;
  24094. }
  24095. _1_1 = A._InitializedCell$(new A._mergeTrailingCombinators_closure10(components2));
  24096. $label1$1: {
  24097. if (_1_1._readFinal$0() >= 1) {
  24098. last = components2.$index(0, _1_1._readFinal$0() - 1);
  24099. t2 = true;
  24100. } else {
  24101. last = _null;
  24102. t2 = false;
  24103. }
  24104. if (t2) {
  24105. t2 = last.combinators;
  24106. break $label1$1;
  24107. }
  24108. t2 = B.List_empty14;
  24109. break $label1$1;
  24110. }
  24111. t3 = t1.length;
  24112. if (t3 === 0 && t2.length === 0)
  24113. return result;
  24114. if (t3 > 1 || t2.length > 1)
  24115. return _null;
  24116. $label2$2: {
  24117. t3 = A.IterableExtension_get_firstOrNull(t1);
  24118. t3 = t3 == null ? _null : t3.value;
  24119. t2 = A.IterableExtension_get_firstOrNull(t2);
  24120. _4_0 = new A._Record_4([t3, t2 == null ? _null : t2.value, components1, components2]);
  24121. _4_1 = A._InitializedCell$(new A._mergeTrailingCombinators_closure11(_4_0));
  24122. _4_3 = A._InitializedCell$(new A._mergeTrailingCombinators_closure12(_4_1));
  24123. _4_4 = A._InitializedCell$(new A._mergeTrailingCombinators_closure13(_4_0));
  24124. _4_5 = A._InitializedCell$(new A._mergeTrailingCombinators_closure14(_4_4));
  24125. _4_9 = A._InitializedCell$(new A._mergeTrailingCombinators_closure15(_4_4));
  24126. _4_6 = A._InitializedCell$(new A._mergeTrailingCombinators_closure16(_4_0));
  24127. _4_7 = A._InitializedCell$(new A._mergeTrailingCombinators_closure17(_4_0));
  24128. _4_10 = A._InitializedCell$(new A._mergeTrailingCombinators_closure18(_4_1));
  24129. if (_4_3._readFinal$0() && _4_5._readFinal$0()) {
  24130. component1 = components1.removeLast$0(0);
  24131. component2 = components2.removeLast$0(0);
  24132. t2 = component1.selector;
  24133. t3 = component2.selector;
  24134. if (A.compoundIsSuperselector0(t2, t3, _null))
  24135. result.addFirst$1(A._setArrayType([A._setArrayType([component2], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  24136. else {
  24137. t4 = type$.JSArray_ComplexSelectorComponent_2;
  24138. t5 = type$.JSArray_List_ComplexSelectorComponent_2;
  24139. if (A.compoundIsSuperselector0(t3, t2, _null))
  24140. result.addFirst$1(A._setArrayType([A._setArrayType([component1], t4)], t5));
  24141. else {
  24142. choices = A._setArrayType([A._setArrayType([component1, component2], t4), A._setArrayType([component2, component1], t4)], t5);
  24143. _2_0 = A.unifyCompound0(t2, t3);
  24144. if (_2_0 != null) {
  24145. unified = _2_0;
  24146. t2 = true;
  24147. } else {
  24148. unified = _null;
  24149. t2 = false;
  24150. }
  24151. if (t2)
  24152. choices.push(A._setArrayType([new A.ComplexSelectorComponent0(unified, A.List_List$unmodifiable(A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_CssValue_Combinator_2), type$.CssValue_Combinator_2), span)], t4));
  24153. result.addFirst$1(choices);
  24154. }
  24155. }
  24156. break $label2$2;
  24157. }
  24158. if (_4_3._readFinal$0())
  24159. if (_4_9._readFinal$0()) {
  24160. followingComponents = _4_6._readFinal$0();
  24161. nextComponents = _4_7._readFinal$0();
  24162. nextComponents = nextComponents;
  24163. t2 = true;
  24164. } else {
  24165. nextComponents = _null;
  24166. followingComponents = nextComponents;
  24167. t2 = false;
  24168. }
  24169. else {
  24170. nextComponents = _null;
  24171. followingComponents = nextComponents;
  24172. t2 = false;
  24173. }
  24174. if (!t2)
  24175. if (_4_10._readFinal$0())
  24176. if (_4_5._readFinal$0()) {
  24177. nextComponents = _4_6._readFinal$0();
  24178. followingComponents0 = _4_7._readFinal$0();
  24179. followingComponents = followingComponents0;
  24180. t2 = true;
  24181. } else
  24182. t2 = false;
  24183. else
  24184. t2 = false;
  24185. else
  24186. t2 = true;
  24187. if (t2) {
  24188. next = nextComponents.removeLast$0(0);
  24189. following = followingComponents.removeLast$0(0);
  24190. t1 = following.selector;
  24191. t2 = next.selector;
  24192. t3 = type$.JSArray_ComplexSelectorComponent_2;
  24193. t4 = type$.JSArray_List_ComplexSelectorComponent_2;
  24194. if (A.compoundIsSuperselector0(t1, t2, _null))
  24195. result.addFirst$1(A._setArrayType([A._setArrayType([next], t3)], t4));
  24196. else {
  24197. t4 = A._setArrayType([A._setArrayType([following, next], t3)], t4);
  24198. _3_0 = A.unifyCompound0(t1, t2);
  24199. if (_3_0 != null) {
  24200. unified = _3_0;
  24201. t1 = true;
  24202. } else {
  24203. unified = _null;
  24204. t1 = false;
  24205. }
  24206. if (t1)
  24207. t4.push(A._setArrayType([new A.ComplexSelectorComponent0(unified, A.List_List$unmodifiable(next.combinators, type$.CssValue_Combinator_2), span)], t3));
  24208. result.addFirst$1(t4);
  24209. }
  24210. break $label2$2;
  24211. }
  24212. if (B.Combinator_Cht0 === _4_1._readFinal$0())
  24213. if (_4_9._readFinal$0() || _4_5._readFinal$0()) {
  24214. siblingComponents_case_0 = _4_7._readFinal$0();
  24215. t2 = siblingComponents_case_0;
  24216. t3 = true;
  24217. } else {
  24218. t2 = _null;
  24219. t3 = false;
  24220. }
  24221. else {
  24222. t2 = _null;
  24223. t3 = false;
  24224. }
  24225. if (!t3)
  24226. if (_4_10._readFinal$0() || _4_3._readFinal$0())
  24227. if (B.Combinator_Cht0 === _4_4._readFinal$0()) {
  24228. siblingComponents_case_1 = _4_6._readFinal$0();
  24229. t2 = siblingComponents_case_1;
  24230. t3 = true;
  24231. } else
  24232. t3 = false;
  24233. else
  24234. t3 = false;
  24235. else
  24236. t3 = true;
  24237. if (t3) {
  24238. result.addFirst$1(A._setArrayType([A._setArrayType([t2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  24239. break $label2$2;
  24240. }
  24241. if (_4_1._readFinal$0() != null) {
  24242. combinator1 = _4_1._readFinal$0();
  24243. t2 = true;
  24244. } else {
  24245. combinator1 = _null;
  24246. t2 = false;
  24247. }
  24248. if (t2) {
  24249. if (_4_4._readFinal$0() != null) {
  24250. combinator2 = _4_4._readFinal$0();
  24251. t2 = true;
  24252. } else {
  24253. combinator2 = _null;
  24254. t2 = false;
  24255. }
  24256. t2 = t2 && combinator1 == combinator2;
  24257. } else
  24258. t2 = false;
  24259. if (t2) {
  24260. unified = A.unifyCompound0(components1.removeLast$0(0).selector, components2.removeLast$0(0).selector);
  24261. if (unified == null)
  24262. return _null;
  24263. result.addFirst$1(A._setArrayType([A._setArrayType([new A.ComplexSelectorComponent0(unified, A.List_List$unmodifiable(A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_CssValue_Combinator_2), type$.CssValue_Combinator_2), span)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  24264. break $label2$2;
  24265. }
  24266. if (_4_1._readFinal$0() != null) {
  24267. combinator_case_0 = _4_1._readFinal$0();
  24268. t1 = true;
  24269. } else {
  24270. combinator_case_0 = _null;
  24271. t1 = false;
  24272. }
  24273. if (t1)
  24274. if (_4_4._readFinal$0() == null) {
  24275. combinatorComponents_case_0 = _4_6._readFinal$0();
  24276. descendantComponents_case_0 = _4_7._readFinal$0();
  24277. t1 = descendantComponents_case_0;
  24278. t2 = true;
  24279. t4 = t2;
  24280. t2 = combinatorComponents_case_0;
  24281. t3 = t1;
  24282. t1 = combinator_case_0;
  24283. } else {
  24284. t3 = _null;
  24285. t2 = t3;
  24286. t1 = t2;
  24287. t4 = false;
  24288. }
  24289. else {
  24290. t3 = _null;
  24291. t2 = t3;
  24292. t1 = t2;
  24293. t4 = false;
  24294. }
  24295. if (!t4)
  24296. if (_4_1._readFinal$0() == null) {
  24297. if (_4_4._readFinal$0() != null) {
  24298. combinator_case_1 = _4_4._readFinal$0();
  24299. t4 = true;
  24300. } else {
  24301. combinator_case_1 = _null;
  24302. t4 = false;
  24303. }
  24304. if (t4) {
  24305. descendantComponents_case_1 = _4_6._readFinal$0();
  24306. combinatorComponents_case_1 = _4_7._readFinal$0();
  24307. t1 = combinatorComponents_case_1;
  24308. t2 = true;
  24309. t4 = t2;
  24310. t2 = t1;
  24311. t1 = combinator_case_1;
  24312. t3 = descendantComponents_case_1;
  24313. } else
  24314. t4 = false;
  24315. } else
  24316. t4 = false;
  24317. else
  24318. t4 = true;
  24319. if (t4) {
  24320. if (t1 === B.Combinator_Cht0) {
  24321. t1 = A.IterableExtension_get_lastOrNull(t3);
  24322. t1 = t1 == null ? _null : A.compoundIsSuperselector0(t1.selector, t2.get$last(t2).selector, _null);
  24323. t1 = t1 === true;
  24324. } else
  24325. t1 = false;
  24326. if (t1)
  24327. t3.removeLast$0(0);
  24328. result.addFirst$1(A._setArrayType([A._setArrayType([t2.removeLast$0(0)], type$.JSArray_ComplexSelectorComponent_2)], type$.JSArray_List_ComplexSelectorComponent_2));
  24329. break $label2$2;
  24330. }
  24331. return _null;
  24332. }
  24333. return A._mergeTrailingCombinators0(components1, components2, span, result);
  24334. },
  24335. _mustUnify0(complex1, complex2) {
  24336. var t2, t3, t4,
  24337. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2);
  24338. for (t2 = J.get$iterator$ax(complex1); t2.moveNext$0();)
  24339. 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();)
  24340. t1.add$1(0, t3.get$current(t3));
  24341. if (t1._collection$_length === 0)
  24342. return false;
  24343. return J.any$1$ax(complex2, new A._mustUnify_closure0(t1));
  24344. },
  24345. _isUnique0(simple) {
  24346. var t1;
  24347. if (!(simple instanceof A.IDSelector0))
  24348. t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
  24349. else
  24350. t1 = true;
  24351. return t1;
  24352. },
  24353. _chunks0(queue1, queue2, done, $T) {
  24354. var chunk2, _0_0, _0_1, _0_4, _0_5, _0_7, chunk, t2,
  24355. t1 = $T._eval$1("JSArray<0>"),
  24356. chunk1 = A._setArrayType([], t1);
  24357. for (; !done.call$1(queue1);)
  24358. chunk1.push(queue1.removeFirst$0());
  24359. chunk2 = A._setArrayType([], t1);
  24360. for (; !done.call$1(queue2);)
  24361. chunk2.push(queue2.removeFirst$0());
  24362. _0_0 = new A._Record_2(chunk1, chunk2);
  24363. _0_1 = A._InitializedCell$(new A._chunks_closure3(_0_0, $T));
  24364. _0_4 = A._InitializedCell$(new A._chunks_closure4(_0_1));
  24365. _0_5 = A._InitializedCell$(new A._chunks_closure5(_0_0, $T));
  24366. _0_7 = A._InitializedCell$(new A._chunks_closure6(_0_5));
  24367. $label0$0: {
  24368. if (_0_4._readFinal$0() && _0_7._readFinal$0()) {
  24369. t1 = A._setArrayType([], $T._eval$1("JSArray<List<0>>"));
  24370. break $label0$0;
  24371. }
  24372. if (_0_4._readFinal$0()) {
  24373. chunk = _0_5._readFinal$0();
  24374. t1 = true;
  24375. } else {
  24376. chunk = null;
  24377. t1 = false;
  24378. }
  24379. if (!t1) {
  24380. chunk = _0_1._readFinal$0();
  24381. t1 = _0_7._readFinal$0();
  24382. t1 = t1;
  24383. } else
  24384. t1 = true;
  24385. if (t1) {
  24386. t1 = A._setArrayType([chunk], $T._eval$1("JSArray<List<0>>"));
  24387. break $label0$0;
  24388. }
  24389. t1 = A.List_List$of(chunk1, true, $T);
  24390. B.JSArray_methods.addAll$1(t1, chunk2);
  24391. t2 = A.List_List$of(chunk2, true, $T);
  24392. B.JSArray_methods.addAll$1(t2, chunk1);
  24393. t2 = A._setArrayType([t1, t2], $T._eval$1("JSArray<List<0>>"));
  24394. t1 = t2;
  24395. break $label0$0;
  24396. }
  24397. return t1;
  24398. },
  24399. paths0(choices, $T) {
  24400. 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));
  24401. },
  24402. _groupSelectors0(complex) {
  24403. var t2, t3, t4,
  24404. groups = A.QueueList$(null, type$.List_ComplexSelectorComponent_2),
  24405. t1 = type$.JSArray_ComplexSelectorComponent_2,
  24406. group = A._setArrayType([], t1);
  24407. for (t2 = new A.ListIterator(complex, complex.get$length(complex)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  24408. t4 = t2.__internal$_current;
  24409. if (t4 == null)
  24410. t4 = t3._as(t4);
  24411. group.push(t4);
  24412. if (t4.combinators.length === 0) {
  24413. groups._queue_list$_add$1(group);
  24414. group = A._setArrayType([], t1);
  24415. }
  24416. }
  24417. if (group.length !== 0)
  24418. groups._queue_list$_add$1(group);
  24419. return groups;
  24420. },
  24421. listIsSuperselector0(list1, list2) {
  24422. return B.JSArray_methods.every$1(list2, new A.listIsSuperselector_closure0(list1));
  24423. },
  24424. _complexIsParentSuperselector0(complex1, complex2) {
  24425. var t1, base, t2;
  24426. if (J.get$length$asx(complex1) > J.get$length$asx(complex2))
  24427. return false;
  24428. t1 = $.$get$bogusSpan0();
  24429. base = new A.ComplexSelectorComponent0(A.CompoundSelector$0(A._setArrayType([new A.PlaceholderSelector0("<temp>", t1)], type$.JSArray_SimpleSelector_2), t1), A.List_List$unmodifiable(B.List_empty14, type$.CssValue_Combinator_2), t1);
  24430. t1 = type$.ComplexSelectorComponent_2;
  24431. t2 = A.List_List$of(complex1, true, t1);
  24432. t2.push(base);
  24433. t1 = A.List_List$of(complex2, true, t1);
  24434. t1.push(base);
  24435. return A.complexIsSuperselector0(t2, t1);
  24436. },
  24437. complexIsSuperselector0(complex1, complex2) {
  24438. var t1, t2, t3, i1, i2, previousCombinator, remaining1, t4, remaining2, component1, t5, parents, endOfSubselector, component2, combinator1;
  24439. if (B.JSArray_methods.get$last(complex1).combinators.length !== 0)
  24440. return false;
  24441. if (B.JSArray_methods.get$last(complex2).combinators.length !== 0)
  24442. return false;
  24443. for (t1 = type$.JSArray_ComplexSelectorComponent_2, t2 = A._arrayInstanceType(complex2), t3 = t2._precomputed1, t2 = t2._eval$1("SubListIterable<1>"), i1 = 0, i2 = 0, previousCombinator = null; true; previousCombinator = combinator1) {
  24444. remaining1 = complex1.length - i1;
  24445. t4 = complex2.length;
  24446. remaining2 = t4 - i2;
  24447. if (remaining1 === 0 || remaining2 === 0)
  24448. return false;
  24449. if (remaining1 > remaining2)
  24450. return false;
  24451. component1 = complex1[i1];
  24452. t5 = component1.combinators;
  24453. if (t5.length > 1)
  24454. return false;
  24455. if (remaining1 === 1) {
  24456. parents = B.JSArray_methods.sublist$2(complex2, i2, t4 - 1);
  24457. if (B.JSArray_methods.any$1(parents, new A.complexIsSuperselector_closure1()))
  24458. return false;
  24459. return A.compoundIsSuperselector0(component1.selector, B.JSArray_methods.get$last(complex2).selector, parents);
  24460. }
  24461. for (t4 = component1.selector, endOfSubselector = i2, parents = null; true;) {
  24462. component2 = complex2[endOfSubselector];
  24463. if (component2.combinators.length > 1)
  24464. return false;
  24465. if (A.compoundIsSuperselector0(t4, component2.selector, parents))
  24466. break;
  24467. ++endOfSubselector;
  24468. if (endOfSubselector === complex2.length - 1)
  24469. return false;
  24470. if (parents == null)
  24471. parents = A._setArrayType([], t1);
  24472. parents.push(component2);
  24473. }
  24474. if (!A._compatibleWithPreviousCombinator0(previousCombinator, parents == null ? B.List_empty13 : parents))
  24475. return false;
  24476. component2 = complex2[endOfSubselector];
  24477. combinator1 = A.IterableExtension_get_firstOrNull(t5);
  24478. if (!A._isSupercombinator0(combinator1, A.IterableExtension_get_firstOrNull(component2.combinators)))
  24479. return false;
  24480. ++i1;
  24481. i2 = endOfSubselector + 1;
  24482. if (complex1.length - i1 === 1) {
  24483. t4 = combinator1 == null;
  24484. if (J.$eq$(t4 ? null : combinator1.value, B.Combinator_Htt0)) {
  24485. t4 = complex2.length - 1;
  24486. t5 = new A.SubListIterable(complex2, 0, t4, t2);
  24487. t5.SubListIterable$3(complex2, 0, t4, t3);
  24488. if (!t5.skip$1(0, i2).every$1(0, new A.complexIsSuperselector_closure2(combinator1)))
  24489. return false;
  24490. } else if (!t4)
  24491. if (complex2.length - i2 > 1)
  24492. return false;
  24493. }
  24494. }
  24495. },
  24496. _compatibleWithPreviousCombinator0(previous, parents) {
  24497. if (parents.length === 0)
  24498. return true;
  24499. if (previous == null)
  24500. return true;
  24501. if (previous.value !== B.Combinator_Htt0)
  24502. return false;
  24503. return B.JSArray_methods.every$1(parents, new A._compatibleWithPreviousCombinator_closure0());
  24504. },
  24505. _isSupercombinator0(combinator1, combinator2) {
  24506. var t1, t2;
  24507. if (!J.$eq$(combinator1, combinator2)) {
  24508. t1 = combinator1 == null;
  24509. if (t1)
  24510. t2 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_Cht0);
  24511. else
  24512. t2 = false;
  24513. if (!t2)
  24514. if (J.$eq$(t1 ? null : combinator1.value, B.Combinator_Htt0))
  24515. t1 = J.$eq$(combinator2 == null ? null : combinator2.value, B.Combinator_4QF0);
  24516. else
  24517. t1 = false;
  24518. else
  24519. t1 = true;
  24520. } else
  24521. t1 = true;
  24522. return t1;
  24523. },
  24524. compoundIsSuperselector0(compound1, compound2, parents) {
  24525. var t2, pseudo1, index1, pseudo2, index2, t3, t4, t5, _i, simple1, _null = null,
  24526. _0_0 = new A._Record_2(A._findPseudoElementIndexed0(compound1), A._findPseudoElementIndexed0(compound2)),
  24527. _0_1 = A._InitializedCell$(new A.compoundIsSuperselector_closure1(_0_0)),
  24528. _0_5 = A._InitializedCell$(new A.compoundIsSuperselector_closure2(_0_0)),
  24529. t1 = type$.Record_2_nullable_Object_and_nullable_Object;
  24530. if (t1._is(_0_1._readFinal$0())) {
  24531. t2 = type$.PseudoSelector_2;
  24532. pseudo1 = t2._as(_0_1._readFinal$0()._0);
  24533. index1 = A._asInt(_0_1._readFinal$0()._1);
  24534. if (t1._is(_0_5._readFinal$0())) {
  24535. pseudo2 = t2._as(_0_5._readFinal$0()._0);
  24536. index2 = A._asInt(_0_5._readFinal$0()._1);
  24537. t1 = true;
  24538. } else {
  24539. index2 = _null;
  24540. pseudo2 = index2;
  24541. t1 = false;
  24542. }
  24543. } else {
  24544. index2 = _null;
  24545. pseudo2 = index2;
  24546. index1 = pseudo2;
  24547. pseudo1 = index1;
  24548. t1 = false;
  24549. }
  24550. if (t1) {
  24551. if (pseudo1.isSuperselector$1(pseudo2)) {
  24552. t1 = compound1.components;
  24553. t2 = type$.int;
  24554. t3 = A._arrayInstanceType(t1)._precomputed1;
  24555. t4 = compound2.components;
  24556. t5 = A._arrayInstanceType(t4)._precomputed1;
  24557. t1 = A._compoundComponentsIsSuperselector0(A.SubListIterable$(t1, 0, A.checkNotNullable(index1, "count", t2), t3), A.SubListIterable$(t4, 0, A.checkNotNullable(index2, "count", t2), t5), parents) && A._compoundComponentsIsSuperselector0(A.SubListIterable$(t1, index1 + 1, _null, t3), A.SubListIterable$(t4, index2 + 1, _null, t5), parents);
  24558. } else
  24559. t1 = false;
  24560. return t1;
  24561. }
  24562. if (!(_0_1._readFinal$0() != null && true))
  24563. t1 = _0_5._readFinal$0() != null && true;
  24564. else
  24565. t1 = true;
  24566. if (t1)
  24567. return false;
  24568. for (t1 = compound1.components, t2 = t1.length, t3 = compound2.components, _i = 0; _i < t2; ++_i) {
  24569. simple1 = t1[_i];
  24570. if (simple1 instanceof A.PseudoSelector0 && simple1.selector != null && true) {
  24571. if (!A._selectorPseudoIsSuperselector0(simple1, compound2, parents))
  24572. return false;
  24573. } else if (!B.JSArray_methods.any$1(t3, simple1.get$isSuperselector()))
  24574. return false;
  24575. }
  24576. return true;
  24577. },
  24578. _findPseudoElementIndexed0(compound) {
  24579. var t1, t2, i, simple;
  24580. for (t1 = compound.components, t2 = t1.length, i = 0; i < t2; ++i) {
  24581. simple = t1[i];
  24582. if (simple instanceof A.PseudoSelector0 && !simple.isClass)
  24583. return new A._Record_2(simple, i);
  24584. }
  24585. return null;
  24586. },
  24587. _compoundComponentsIsSuperselector0(compound1, compound2, parents) {
  24588. var t1;
  24589. if (compound1.get$length(compound1) === 0)
  24590. return true;
  24591. if (compound2.get$length(compound2) === 0)
  24592. compound2 = A._setArrayType([new A.UniversalSelector0("*", $.$get$bogusSpan0())], type$.JSArray_SimpleSelector_2);
  24593. t1 = $.$get$bogusSpan0();
  24594. return A.compoundIsSuperselector0(A.CompoundSelector$0(compound1, t1), A.CompoundSelector$0(compound2, t1), parents);
  24595. },
  24596. _selectorPseudoIsSuperselector0(pseudo1, compound2, parents) {
  24597. var selector1 = pseudo1.selector;
  24598. if (selector1 == null)
  24599. throw A.wrapException(A.ArgumentError$("Selector " + pseudo1.toString$0(0) + " must have a selector argument.", null));
  24600. switch (pseudo1.normalizedName) {
  24601. case "is":
  24602. case "matches":
  24603. case "any":
  24604. case "where":
  24605. 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));
  24606. case "has":
  24607. case "host":
  24608. case "host-context":
  24609. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure8(selector1));
  24610. case "slotted":
  24611. return A._selectorPseudoArgs0(compound2, pseudo1.name, false).any$1(0, new A._selectorPseudoIsSuperselector_closure9(selector1));
  24612. case "not":
  24613. return B.JSArray_methods.every$1(selector1.components, new A._selectorPseudoIsSuperselector_closure10(compound2, pseudo1));
  24614. case "current":
  24615. return A._selectorPseudoArgs0(compound2, pseudo1.name, true).any$1(0, new A._selectorPseudoIsSuperselector_closure11(selector1));
  24616. case "nth-child":
  24617. case "nth-last-child":
  24618. return B.JSArray_methods.any$1(compound2.components, new A._selectorPseudoIsSuperselector_closure12(pseudo1, selector1));
  24619. default:
  24620. throw A.wrapException("unreachable");
  24621. }
  24622. },
  24623. _selectorPseudoArgs0(compound, $name, isClass) {
  24624. var t1 = type$.WhereTypeIterable_PseudoSelector_2;
  24625. 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);
  24626. },
  24627. unifyComplex_closure2: function unifyComplex_closure2(t0) {
  24628. this._0_0 = t0;
  24629. },
  24630. unifyComplex_closure3: function unifyComplex_closure3(t0) {
  24631. this._1_0 = t0;
  24632. },
  24633. unifyComplex_closure4: function unifyComplex_closure4() {
  24634. },
  24635. _namespaceAndName_closure0: function _namespaceAndName_closure0(t0) {
  24636. this._0_0 = t0;
  24637. },
  24638. _weaveParents_closure5: function _weaveParents_closure5(t0) {
  24639. this._0_0 = t0;
  24640. },
  24641. _weaveParents_closure6: function _weaveParents_closure6(t0) {
  24642. this._0_0 = t0;
  24643. },
  24644. _weaveParents_closure7: function _weaveParents_closure7(t0) {
  24645. this.span = t0;
  24646. },
  24647. _weaveParents_closure8: function _weaveParents_closure8(t0) {
  24648. this.group = t0;
  24649. },
  24650. _weaveParents_closure9: function _weaveParents_closure9() {
  24651. },
  24652. _weaveParents_closure10: function _weaveParents_closure10() {
  24653. },
  24654. _mergeLeadingCombinators_closure3: function _mergeLeadingCombinators_closure3(t0) {
  24655. this._0_0 = t0;
  24656. },
  24657. _mergeLeadingCombinators_closure4: function _mergeLeadingCombinators_closure4(t0) {
  24658. this._0_0 = t0;
  24659. },
  24660. _mergeLeadingCombinators_closure5: function _mergeLeadingCombinators_closure5(t0) {
  24661. this._0_1 = t0;
  24662. },
  24663. _mergeLeadingCombinators_closure6: function _mergeLeadingCombinators_closure6(t0) {
  24664. this._0_4 = t0;
  24665. },
  24666. _mergeTrailingCombinators_closure9: function _mergeTrailingCombinators_closure9(t0) {
  24667. this._0_0 = t0;
  24668. },
  24669. _mergeTrailingCombinators_closure10: function _mergeTrailingCombinators_closure10(t0) {
  24670. this._1_0 = t0;
  24671. },
  24672. _mergeTrailingCombinators_closure11: function _mergeTrailingCombinators_closure11(t0) {
  24673. this._4_0 = t0;
  24674. },
  24675. _mergeTrailingCombinators_closure12: function _mergeTrailingCombinators_closure12(t0) {
  24676. this._4_1 = t0;
  24677. },
  24678. _mergeTrailingCombinators_closure13: function _mergeTrailingCombinators_closure13(t0) {
  24679. this._4_0 = t0;
  24680. },
  24681. _mergeTrailingCombinators_closure14: function _mergeTrailingCombinators_closure14(t0) {
  24682. this._4_4 = t0;
  24683. },
  24684. _mergeTrailingCombinators_closure16: function _mergeTrailingCombinators_closure16(t0) {
  24685. this._4_0 = t0;
  24686. },
  24687. _mergeTrailingCombinators_closure17: function _mergeTrailingCombinators_closure17(t0) {
  24688. this._4_0 = t0;
  24689. },
  24690. _mergeTrailingCombinators_closure15: function _mergeTrailingCombinators_closure15(t0) {
  24691. this._4_4 = t0;
  24692. },
  24693. _mergeTrailingCombinators_closure18: function _mergeTrailingCombinators_closure18(t0) {
  24694. this._4_1 = t0;
  24695. },
  24696. _mustUnify_closure0: function _mustUnify_closure0(t0) {
  24697. this.uniqueSelectors = t0;
  24698. },
  24699. _mustUnify__closure0: function _mustUnify__closure0(t0) {
  24700. this.uniqueSelectors = t0;
  24701. },
  24702. _chunks_closure3: function _chunks_closure3(t0, t1) {
  24703. this._0_0 = t0;
  24704. this.T = t1;
  24705. },
  24706. _chunks_closure4: function _chunks_closure4(t0) {
  24707. this._0_1 = t0;
  24708. },
  24709. _chunks_closure5: function _chunks_closure5(t0, t1) {
  24710. this._0_0 = t0;
  24711. this.T = t1;
  24712. },
  24713. _chunks_closure6: function _chunks_closure6(t0) {
  24714. this._0_5 = t0;
  24715. },
  24716. paths_closure0: function paths_closure0(t0) {
  24717. this.T = t0;
  24718. },
  24719. paths__closure0: function paths__closure0(t0, t1) {
  24720. this.paths = t0;
  24721. this.T = t1;
  24722. },
  24723. paths___closure0: function paths___closure0(t0, t1) {
  24724. this.option = t0;
  24725. this.T = t1;
  24726. },
  24727. listIsSuperselector_closure0: function listIsSuperselector_closure0(t0) {
  24728. this.list1 = t0;
  24729. },
  24730. listIsSuperselector__closure0: function listIsSuperselector__closure0(t0) {
  24731. this.complex1 = t0;
  24732. },
  24733. complexIsSuperselector_closure1: function complexIsSuperselector_closure1() {
  24734. },
  24735. complexIsSuperselector_closure2: function complexIsSuperselector_closure2(t0) {
  24736. this.combinator1 = t0;
  24737. },
  24738. _compatibleWithPreviousCombinator_closure0: function _compatibleWithPreviousCombinator_closure0() {
  24739. },
  24740. compoundIsSuperselector_closure1: function compoundIsSuperselector_closure1(t0) {
  24741. this._0_0 = t0;
  24742. },
  24743. compoundIsSuperselector_closure2: function compoundIsSuperselector_closure2(t0) {
  24744. this._0_0 = t0;
  24745. },
  24746. _selectorPseudoIsSuperselector_closure6: function _selectorPseudoIsSuperselector_closure6(t0) {
  24747. this.selector1 = t0;
  24748. },
  24749. _selectorPseudoIsSuperselector_closure7: function _selectorPseudoIsSuperselector_closure7(t0, t1) {
  24750. this.parents = t0;
  24751. this.compound2 = t1;
  24752. },
  24753. _selectorPseudoIsSuperselector_closure8: function _selectorPseudoIsSuperselector_closure8(t0) {
  24754. this.selector1 = t0;
  24755. },
  24756. _selectorPseudoIsSuperselector_closure9: function _selectorPseudoIsSuperselector_closure9(t0) {
  24757. this.selector1 = t0;
  24758. },
  24759. _selectorPseudoIsSuperselector_closure10: function _selectorPseudoIsSuperselector_closure10(t0, t1) {
  24760. this.compound2 = t0;
  24761. this.pseudo1 = t1;
  24762. },
  24763. _selectorPseudoIsSuperselector__closure0: function _selectorPseudoIsSuperselector__closure0(t0, t1) {
  24764. this.complex = t0;
  24765. this.pseudo1 = t1;
  24766. },
  24767. _selectorPseudoIsSuperselector___closure3: function _selectorPseudoIsSuperselector___closure3(t0) {
  24768. this.simple2 = t0;
  24769. },
  24770. _selectorPseudoIsSuperselector___closure4: function _selectorPseudoIsSuperselector___closure4(t0) {
  24771. this.simple2 = t0;
  24772. },
  24773. _selectorPseudoIsSuperselector___closure2: function _selectorPseudoIsSuperselector___closure2(t0) {
  24774. this._0_0 = t0;
  24775. },
  24776. _selectorPseudoIsSuperselector_closure11: function _selectorPseudoIsSuperselector_closure11(t0) {
  24777. this.selector1 = t0;
  24778. },
  24779. _selectorPseudoIsSuperselector_closure12: function _selectorPseudoIsSuperselector_closure12(t0, t1) {
  24780. this.pseudo1 = t0;
  24781. this.selector1 = t1;
  24782. },
  24783. _selectorPseudoArgs_closure1: function _selectorPseudoArgs_closure1(t0, t1) {
  24784. this.isClass = t0;
  24785. this.name = t1;
  24786. },
  24787. _selectorPseudoArgs_closure2: function _selectorPseudoArgs_closure2() {
  24788. },
  24789. globalFunctions_closure0: function globalFunctions_closure0() {
  24790. },
  24791. IDSelector0: function IDSelector0(t0, t1) {
  24792. this.name = t0;
  24793. this.span = t1;
  24794. },
  24795. IDSelector_unify_closure0: function IDSelector_unify_closure0(t0) {
  24796. this.$this = t0;
  24797. },
  24798. IfExpression0: function IfExpression0(t0, t1) {
  24799. this.$arguments = t0;
  24800. this.span = t1;
  24801. },
  24802. IfClause$0(expression, children) {
  24803. var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
  24804. return new A.IfClause0(expression, t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
  24805. },
  24806. ElseClause$0(children) {
  24807. var t1 = A.List_List$unmodifiable(children, type$.Statement_2);
  24808. return new A.ElseClause0(t1, B.JSArray_methods.any$1(t1, new A.IfRuleClause$__closure0()));
  24809. },
  24810. IfRule0: function IfRule0(t0, t1, t2) {
  24811. this.clauses = t0;
  24812. this.lastClause = t1;
  24813. this.span = t2;
  24814. },
  24815. IfRule_toString_closure0: function IfRule_toString_closure0() {
  24816. },
  24817. IfRuleClause0: function IfRuleClause0() {
  24818. },
  24819. IfRuleClause$__closure0: function IfRuleClause$__closure0() {
  24820. },
  24821. IfRuleClause$___closure0: function IfRuleClause$___closure0() {
  24822. },
  24823. IfClause0: function IfClause0(t0, t1, t2) {
  24824. this.expression = t0;
  24825. this.children = t1;
  24826. this.hasDeclarations = t2;
  24827. },
  24828. ElseClause0: function ElseClause0(t0, t1) {
  24829. this.children = t0;
  24830. this.hasDeclarations = t1;
  24831. },
  24832. jsToDartList(list) {
  24833. return self.immutable.isOrderedMap(list) ? J.toArray$0$x(type$.ImmutableList._as(list)) : type$.List_dynamic._as(list);
  24834. },
  24835. dartMapToImmutableMap(dartMap) {
  24836. var t1, t2,
  24837. immutableMap = J.asMutable$0$x(new self.immutable.OrderedMap());
  24838. for (t1 = A.MapExtensions_get_pairs0(dartMap, type$.Object, type$.nullable_Object), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  24839. t2 = t1.get$current(t1);
  24840. immutableMap = J.$set$2$x(immutableMap, t2._0, t2._1);
  24841. }
  24842. return J.asImmutable$0$x(immutableMap);
  24843. },
  24844. immutableMapToDartMap(immutableMap) {
  24845. var dartMap = A.LinkedHashMap_LinkedHashMap$_empty(type$.Object, type$.nullable_Object);
  24846. J.forEach$1$ax(immutableMap, A.allowInterop(new A.immutableMapToDartMap_closure(dartMap)));
  24847. return dartMap;
  24848. },
  24849. ImmutableList0: function ImmutableList0() {
  24850. },
  24851. ImmutableMap0: function ImmutableMap0() {
  24852. },
  24853. immutableMapToDartMap_closure: function immutableMapToDartMap_closure(t0) {
  24854. this.dartMap = t0;
  24855. },
  24856. NodeImporter__addSassPath(includePaths) {
  24857. return new A._SyncStarIterable(A.NodeImporter__addSassPath$body(includePaths), type$._SyncStarIterable_String);
  24858. },
  24859. NodeImporter__addSassPath$body($async$includePaths) {
  24860. return function() {
  24861. var includePaths = $async$includePaths;
  24862. var $async$goto = 0, $async$handler = 2, $async$currentError, sassPath, t1;
  24863. return function $async$NodeImporter__addSassPath($async$iterator, $async$errorCode, $async$result) {
  24864. if ($async$errorCode === 1) {
  24865. $async$currentError = $async$result;
  24866. $async$goto = $async$handler;
  24867. }
  24868. while (true)
  24869. switch ($async$goto) {
  24870. case 0:
  24871. // Function start
  24872. $async$goto = 3;
  24873. return $async$iterator._yieldStar$1(includePaths);
  24874. case 3:
  24875. // after yield
  24876. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  24877. if (sassPath == null) {
  24878. // goto return
  24879. $async$goto = 1;
  24880. break;
  24881. }
  24882. t1 = A.isNodeJs() ? self.process : null;
  24883. $async$goto = 4;
  24884. return $async$iterator._yieldStar$1(A._setArrayType(sassPath.split(J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32") ? ";" : ":"), type$.JSArray_String));
  24885. case 4:
  24886. // after yield
  24887. case 1:
  24888. // return
  24889. return 0;
  24890. case 2:
  24891. // rethrow
  24892. return $async$iterator._datum = $async$currentError, 3;
  24893. }
  24894. };
  24895. };
  24896. },
  24897. NodeImporter: function NodeImporter(t0, t1, t2) {
  24898. this._implementation$_options = t0;
  24899. this._includePaths = t1;
  24900. this._implementation$_importers = t2;
  24901. },
  24902. NodeImporter_load_closure: function NodeImporter_load_closure(t0, t1, t2, t3, t4) {
  24903. var _ = this;
  24904. _.$this = t0;
  24905. _.importer = t1;
  24906. _.forImport = t2;
  24907. _.url = t3;
  24908. _.previousString = t4;
  24909. },
  24910. NodeImporter__tryPath_closure: function NodeImporter__tryPath_closure(t0) {
  24911. this.path = t0;
  24912. },
  24913. NodeImporter__tryPath_closure0: function NodeImporter__tryPath_closure0() {
  24914. },
  24915. NodeImporter__callImporterAsync_closure: function NodeImporter__callImporterAsync_closure(t0, t1, t2, t3, t4, t5) {
  24916. var _ = this;
  24917. _.$this = t0;
  24918. _.importer = t1;
  24919. _.forImport = t2;
  24920. _.url = t3;
  24921. _.previousString = t4;
  24922. _.completer = t5;
  24923. },
  24924. ModifiableCssImport0: function ModifiableCssImport0(t0, t1, t2) {
  24925. var _ = this;
  24926. _.url = t0;
  24927. _.modifiers = t1;
  24928. _.span = t2;
  24929. _._node$_indexInParent = _._node$_parent = null;
  24930. _.isGroupEnd = false;
  24931. },
  24932. ImportCache$0(importers, loadPaths, logger, packageConfig) {
  24933. var t1 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2,
  24934. t2 = type$.Uri,
  24935. t3 = A.ImportCache__toImporters0(importers, loadPaths, packageConfig);
  24936. return new A.ImportCache0(t3, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_4_Uri_and_Importer_baseImporter_and_nullable_Uri_baseUrl_and_bool_forImport_2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult_2));
  24937. },
  24938. ImportCache$none(logger) {
  24939. var t1 = type$.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2,
  24940. t2 = type$.Uri;
  24941. return new A.ImportCache0(B.List_empty23, logger, A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_2_Uri_and_bool_forImport, t1), A.LinkedHashMap_LinkedHashMap$_empty(type$.Record_4_Uri_and_Importer_baseImporter_and_nullable_Uri_baseUrl_and_bool_forImport_2, t1), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.nullable_Stylesheet_2), A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.ImporterResult_2));
  24942. },
  24943. ImportCache__toImporters0(importers, loadPaths, packageConfig) {
  24944. var t1, t2, t3, t4, _i, path, _null = null,
  24945. sassPath = A.getEnvironmentVariable0("SASS_PATH");
  24946. if (A.isBrowser()) {
  24947. t1 = A._setArrayType([], type$.JSArray_Importer);
  24948. if (importers != null)
  24949. B.JSArray_methods.addAll$1(t1, importers);
  24950. return t1;
  24951. }
  24952. t1 = A._setArrayType([], type$.JSArray_Importer);
  24953. if (importers != null)
  24954. B.JSArray_methods.addAll$1(t1, importers);
  24955. if (loadPaths != null)
  24956. for (t2 = J.get$iterator$ax(loadPaths); t2.moveNext$0();) {
  24957. t3 = t2.get$current(t2);
  24958. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  24959. }
  24960. if (sassPath != null) {
  24961. t2 = A.isNodeJs() ? self.process : _null;
  24962. t3 = sassPath.split(J.$eq$(t2 == null ? _null : J.get$platform$x(t2), "win32") ? ";" : ":");
  24963. t4 = t3.length;
  24964. _i = 0;
  24965. for (; _i < t4; ++_i) {
  24966. path = t3[_i];
  24967. t1.push(new A.FilesystemImporter0($.$get$context().absolute$15(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null)));
  24968. }
  24969. }
  24970. return t1;
  24971. },
  24972. ImportCache0: function ImportCache0(t0, t1, t2, t3, t4, t5) {
  24973. var _ = this;
  24974. _._import_cache$_importers = t0;
  24975. _._import_cache$_logger = t1;
  24976. _._import_cache$_canonicalizeCache = t2;
  24977. _._import_cache$_relativeCanonicalizeCache = t3;
  24978. _._import_cache$_importCache = t4;
  24979. _._import_cache$_resultsCache = t5;
  24980. },
  24981. ImportCache_canonicalize_closure1: function ImportCache_canonicalize_closure1(t0, t1, t2, t3, t4) {
  24982. var _ = this;
  24983. _.$this = t0;
  24984. _.baseImporter = t1;
  24985. _.baseUrl = t2;
  24986. _.url = t3;
  24987. _.forImport = t4;
  24988. },
  24989. ImportCache_canonicalize_closure2: function ImportCache_canonicalize_closure2(t0, t1, t2, t3) {
  24990. var _ = this;
  24991. _.$this = t0;
  24992. _.url = t1;
  24993. _.baseUrl = t2;
  24994. _.forImport = t3;
  24995. },
  24996. ImportCache__canonicalize_closure1: function ImportCache__canonicalize_closure1(t0, t1) {
  24997. this.importer = t0;
  24998. this.resolved = t1;
  24999. },
  25000. ImportCache__canonicalize__closure0: function ImportCache__canonicalize__closure0(t0, t1) {
  25001. this.importer = t0;
  25002. this.resolved = t1;
  25003. },
  25004. ImportCache__canonicalize_closure2: function ImportCache__canonicalize_closure2(t0, t1) {
  25005. this.importer = t0;
  25006. this.resolved = t1;
  25007. },
  25008. ImportCache_importCanonical_closure0: function ImportCache_importCanonical_closure0(t0, t1, t2, t3, t4) {
  25009. var _ = this;
  25010. _.$this = t0;
  25011. _.importer = t1;
  25012. _.canonicalUrl = t2;
  25013. _.originalUrl = t3;
  25014. _.quiet = t4;
  25015. },
  25016. ImportCache_humanize_closure3: function ImportCache_humanize_closure3(t0) {
  25017. this.canonicalUrl = t0;
  25018. },
  25019. ImportCache_humanize_closure4: function ImportCache_humanize_closure4() {
  25020. },
  25021. ImportCache_humanize_closure5: function ImportCache_humanize_closure5() {
  25022. },
  25023. ImportCache_humanize_closure6: function ImportCache_humanize_closure6(t0) {
  25024. this.canonicalUrl = t0;
  25025. },
  25026. ImportRule0: function ImportRule0(t0, t1) {
  25027. this.imports = t0;
  25028. this.span = t1;
  25029. },
  25030. JSImporter: function JSImporter() {
  25031. },
  25032. CanonicalizeContext: function CanonicalizeContext() {
  25033. },
  25034. JSImporterResult: function JSImporterResult() {
  25035. },
  25036. Importer0: function Importer0() {
  25037. },
  25038. NodeImporterResult0: function NodeImporterResult0() {
  25039. },
  25040. IncludeRule0: function IncludeRule0(t0, t1, t2, t3, t4) {
  25041. var _ = this;
  25042. _.namespace = t0;
  25043. _.name = t1;
  25044. _.$arguments = t2;
  25045. _.content = t3;
  25046. _.span = t4;
  25047. },
  25048. InterpolatedFunctionExpression0: function InterpolatedFunctionExpression0(t0, t1, t2) {
  25049. this.name = t0;
  25050. this.$arguments = t1;
  25051. this.span = t2;
  25052. },
  25053. Interpolation$0(contents, span) {
  25054. var t1 = new A.Interpolation0(A.List_List$unmodifiable(contents, type$.Object), span);
  25055. t1.Interpolation$20(contents, span);
  25056. return t1;
  25057. },
  25058. Interpolation0: function Interpolation0(t0, t1) {
  25059. this.contents = t0;
  25060. this.span = t1;
  25061. },
  25062. Interpolation_asPlain_closure1: function Interpolation_asPlain_closure1(t0) {
  25063. this._0_0 = t0;
  25064. },
  25065. Interpolation_asPlain_closure2: function Interpolation_asPlain_closure2(t0) {
  25066. this._0_0 = t0;
  25067. },
  25068. Interpolation_initialPlain_closure0: function Interpolation_initialPlain_closure0(t0) {
  25069. this._0_0 = t0;
  25070. },
  25071. Interpolation_toString_closure0: function Interpolation_toString_closure0() {
  25072. },
  25073. SupportsInterpolation0: function SupportsInterpolation0(t0, t1) {
  25074. this.expression = t0;
  25075. this.span = t1;
  25076. },
  25077. InterpolationBuffer0: function InterpolationBuffer0(t0, t1) {
  25078. this._interpolation_buffer0$_text = t0;
  25079. this._interpolation_buffer0$_contents = t1;
  25080. },
  25081. InterpolationBuffer_addInterpolation_closure0: function InterpolationBuffer_addInterpolation_closure0(t0) {
  25082. this._0_0 = t0;
  25083. },
  25084. InterpolationMap$0(_interpolation, targetLocations) {
  25085. var t1 = A.List_List$unmodifiable(targetLocations, type$.SourceLocation),
  25086. t2 = _interpolation.contents.length,
  25087. expectedLocations = Math.max(0, t2 - 1);
  25088. if (t1.length !== expectedLocations)
  25089. A.throwExpression(A.ArgumentError$("InterpolationMap must have " + A.S(expectedLocations) + string$.x20targe + t2 + " components.", null));
  25090. return new A.InterpolationMap0(_interpolation, t1);
  25091. },
  25092. InterpolationMap0: function InterpolationMap0(t0, t1) {
  25093. this._interpolation_map$_interpolation = t0;
  25094. this._interpolation_map$_targetLocations = t1;
  25095. },
  25096. InterpolationMap_mapException_closure0: function InterpolationMap_mapException_closure0() {
  25097. },
  25098. InterpolationMap_mapSpan_closure1: function InterpolationMap_mapSpan_closure1(t0) {
  25099. this._0_0 = t0;
  25100. },
  25101. InterpolationMap_mapSpan_closure2: function InterpolationMap_mapSpan_closure2(t0) {
  25102. this._0_0 = t0;
  25103. },
  25104. _realCasePath0(path) {
  25105. var prefix, _null = null,
  25106. t1 = A.isNodeJs() ? self.process : _null;
  25107. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  25108. t1 = A.isNodeJs() ? self.process : _null;
  25109. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  25110. } else
  25111. t1 = true;
  25112. if (!t1)
  25113. return path;
  25114. t1 = A.isNodeJs() ? self.process : _null;
  25115. if (J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  25116. prefix = B.JSString_methods.substring$2(path, 0, $.$get$context().style.rootLength$1(path));
  25117. t1 = prefix.length;
  25118. if (t1 !== 0 && A.CharacterExtension_get_isAlphabetic0(prefix.charCodeAt(0)))
  25119. path = prefix.toUpperCase() + B.JSString_methods.substring$1(path, t1);
  25120. }
  25121. return new A._realCasePath_helper0().call$1(path);
  25122. },
  25123. _realCasePath_helper0: function _realCasePath_helper0() {
  25124. },
  25125. _realCasePath_helper_closure0: function _realCasePath_helper_closure0(t0, t1, t2) {
  25126. this.helper = t0;
  25127. this.dirname = t1;
  25128. this.path = t2;
  25129. },
  25130. _realCasePath_helper__closure0: function _realCasePath_helper__closure0(t0) {
  25131. this.basename = t0;
  25132. },
  25133. printError0(message) {
  25134. var t1,
  25135. process = A.isNodeJs() ? self.process : null;
  25136. if (process != null)
  25137. t1 = true;
  25138. else {
  25139. process = null;
  25140. t1 = false;
  25141. }
  25142. if (t1) {
  25143. t1 = J.get$stderr$x(process);
  25144. J.write$1$x(t1, A.S(message) + "\n");
  25145. } else {
  25146. t1 = self.console;
  25147. J.error$1$x(t1, message);
  25148. }
  25149. },
  25150. readFile0(path) {
  25151. var contents, sourceFile, t1, i;
  25152. if (!A.isNodeJs())
  25153. throw A.wrapException(A.UnsupportedError$("readFile() is only supported on Node.js"));
  25154. contents = A._asString(A._readFile0(path, "utf8"));
  25155. if (!B.JSString_methods.contains$1(contents, "\ufffd"))
  25156. return contents;
  25157. sourceFile = A.SourceFile$fromString(contents, $.$get$context().toUri$1(path));
  25158. for (t1 = contents.length, i = 0; i < t1; ++i) {
  25159. if (contents.charCodeAt(i) !== 65533)
  25160. continue;
  25161. throw A.wrapException(A.SassException$0("Invalid UTF-8.", A.FileLocation$_(sourceFile, i).pointSpan$0(), null));
  25162. }
  25163. return contents;
  25164. },
  25165. _readFile0(path, encoding) {
  25166. return A._systemErrorToFileSystemException0(new A._readFile_closure0(path, encoding));
  25167. },
  25168. fileExists0(path) {
  25169. if (!A.isNodeJs())
  25170. throw A.wrapException(A.UnsupportedError$(string$.fileEx));
  25171. return A._systemErrorToFileSystemException0(new A.fileExists_closure0(path));
  25172. },
  25173. dirExists0(path) {
  25174. if (!A.isNodeJs())
  25175. throw A.wrapException(A.UnsupportedError$("dirExists() is only supported on Node.js"));
  25176. return A._systemErrorToFileSystemException0(new A.dirExists_closure0(path));
  25177. },
  25178. listDir0(path) {
  25179. if (!A.isNodeJs())
  25180. throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));
  25181. return A._systemErrorToFileSystemException0(new A.listDir_closure0(false, path));
  25182. },
  25183. getEnvironmentVariable0($name) {
  25184. var t1 = A.isNodeJs() ? self.process : null,
  25185. env = t1 == null ? null : J.get$env$x(t1);
  25186. if (env == null)
  25187. t1 = null;
  25188. else
  25189. t1 = A._asStringQ(env[$name]);
  25190. return t1;
  25191. },
  25192. _systemErrorToFileSystemException0(callback) {
  25193. var error, t1, exception, t2;
  25194. try {
  25195. t1 = callback.call$0();
  25196. return t1;
  25197. } catch (exception) {
  25198. error = A.unwrapException(exception);
  25199. if (!type$.JsSystemError._is(error))
  25200. throw exception;
  25201. t1 = error;
  25202. t2 = J.getInterceptor$x(t1);
  25203. 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)));
  25204. }
  25205. },
  25206. hasTerminal0() {
  25207. var t1 = A.isNodeJs() ? self.process : null;
  25208. return J.$eq$(t1 == null ? null : J.get$isTTY$x(J.get$stdout$x(t1)), true);
  25209. },
  25210. FileSystemException0: function FileSystemException0(t0, t1) {
  25211. this.message = t0;
  25212. this.path = t1;
  25213. },
  25214. _readFile_closure0: function _readFile_closure0(t0, t1) {
  25215. this.path = t0;
  25216. this.encoding = t1;
  25217. },
  25218. fileExists_closure0: function fileExists_closure0(t0) {
  25219. this.path = t0;
  25220. },
  25221. dirExists_closure0: function dirExists_closure0(t0) {
  25222. this.path = t0;
  25223. },
  25224. listDir_closure0: function listDir_closure0(t0, t1) {
  25225. this.recursive = t0;
  25226. this.path = t1;
  25227. },
  25228. listDir__closure1: function listDir__closure1(t0) {
  25229. this.path = t0;
  25230. },
  25231. listDir__closure2: function listDir__closure2() {
  25232. },
  25233. listDir_closure_list0: function listDir_closure_list0() {
  25234. },
  25235. listDir__list_closure0: function listDir__list_closure0(t0, t1) {
  25236. this.parent = t0;
  25237. this.list = t1;
  25238. },
  25239. main() {
  25240. J.set$compile$x(self.exports, A.allowInteropNamed("sass.compile", A.compile__compile$closure()));
  25241. J.set$compileString$x(self.exports, A.allowInteropNamed("sass.compileString", A.compile__compileString$closure()));
  25242. J.set$compileAsync$x(self.exports, A.allowInteropNamed("sass.compileAsync", A.compile__compileAsync$closure()));
  25243. J.set$compileStringAsync$x(self.exports, A.allowInteropNamed("sass.compileStringAsync", A.compile__compileStringAsync$closure()));
  25244. J.set$Value$x(self.exports, $.$get$valueClass());
  25245. J.set$SassBoolean$x(self.exports, $.$get$booleanClass());
  25246. J.set$SassArgumentList$x(self.exports, $.$get$argumentListClass());
  25247. J.set$SassCalculation$x(self.exports, $.$get$calculationClass());
  25248. J.set$CalculationOperation$x(self.exports, $.$get$calculationOperationClass());
  25249. J.set$CalculationInterpolation$x(self.exports, $.$get$calculationInterpolationClass());
  25250. J.set$SassColor$x(self.exports, $.$get$colorClass());
  25251. J.set$SassFunction$x(self.exports, $.$get$functionClass());
  25252. J.set$SassMixin$x(self.exports, $.$get$mixinClass());
  25253. J.set$SassList$x(self.exports, $.$get$listClass());
  25254. J.set$SassMap$x(self.exports, $.$get$mapClass());
  25255. J.set$SassNumber$x(self.exports, $.$get$numberClass());
  25256. J.set$SassString$x(self.exports, $.$get$stringClass());
  25257. J.set$sassNull$x(self.exports, B.C__SassNull0);
  25258. J.set$sassTrue$x(self.exports, B.SassBoolean_true0);
  25259. J.set$sassFalse$x(self.exports, B.SassBoolean_false0);
  25260. J.set$Exception$x(self.exports, $.$get$exceptionClass());
  25261. J.set$Logger$x(self.exports, {silent: {warn: A.allowInteropNamed("sass.Logger.silent.warn", new A.main_closure()), debug: A.allowInteropNamed("sass.Logger.silent.debug", new A.main_closure0())}});
  25262. J.set$info$x(self.exports, "dart-sass\t1.69.7\t(Sass Compiler)\t[Dart]\ndart2js\t3.2.4\t(Dart Compiler)\t[Dart]");
  25263. A.updateSourceSpanPrototype();
  25264. J.set$render$x(self.exports, A.allowInteropNamed("sass.render", A.legacy__render$closure()));
  25265. J.set$renderSync$x(self.exports, A.allowInteropNamed("sass.renderSync", A.legacy__renderSync$closure()));
  25266. 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});
  25267. J.set$NULL$x(self.exports, B.C__SassNull0);
  25268. J.set$TRUE$x(self.exports, B.SassBoolean_true0);
  25269. J.set$FALSE$x(self.exports, B.SassBoolean_false0);
  25270. },
  25271. main_closure: function main_closure() {
  25272. },
  25273. main_closure0: function main_closure0() {
  25274. },
  25275. JSToDartLogger: function JSToDartLogger(t0, t1, t2) {
  25276. this._node = t0;
  25277. this._fallback = t1;
  25278. this._ascii = t2;
  25279. },
  25280. JSToDartLogger_warn_closure: function JSToDartLogger_warn_closure(t0, t1, t2, t3, t4) {
  25281. var _ = this;
  25282. _.$this = t0;
  25283. _.message = t1;
  25284. _.span = t2;
  25285. _.trace = t3;
  25286. _.deprecation = t4;
  25287. },
  25288. JSToDartLogger_debug_closure: function JSToDartLogger_debug_closure(t0, t1, t2) {
  25289. this.$this = t0;
  25290. this.message = t1;
  25291. this.span = t2;
  25292. },
  25293. ModifiableCssKeyframeBlock$0(selector, span) {
  25294. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  25295. return new A.ModifiableCssKeyframeBlock0(selector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  25296. },
  25297. ModifiableCssKeyframeBlock0: function ModifiableCssKeyframeBlock0(t0, t1, t2, t3) {
  25298. var _ = this;
  25299. _.selector = t0;
  25300. _.span = t1;
  25301. _.children = t2;
  25302. _._node$_children = t3;
  25303. _._node$_indexInParent = _._node$_parent = null;
  25304. _.isGroupEnd = false;
  25305. },
  25306. KeyframeSelectorParser$0(contents, interpolationMap, logger) {
  25307. var t1 = A.SpanScanner$(contents, null);
  25308. return new A.KeyframeSelectorParser0(t1, logger, interpolationMap);
  25309. },
  25310. KeyframeSelectorParser0: function KeyframeSelectorParser0(t0, t1, t2) {
  25311. this.scanner = t0;
  25312. this.logger = t1;
  25313. this._parser0$_interpolationMap = t2;
  25314. },
  25315. KeyframeSelectorParser_parse_closure0: function KeyframeSelectorParser_parse_closure0(t0) {
  25316. this.$this = t0;
  25317. },
  25318. LazyFileSpan0: function LazyFileSpan0(t0) {
  25319. this._lazy_file_span0$_builder = t0;
  25320. this._lazy_file_span0$_span = null;
  25321. },
  25322. render(options, callback) {
  25323. var _0_0, fiber, t1;
  25324. if (!A.isNodeJs())
  25325. A.jsThrow(new self.Error("The render() method is only available in Node.js."));
  25326. _0_0 = J.get$fiber$x(options);
  25327. if (_0_0 != null) {
  25328. fiber = _0_0;
  25329. t1 = true;
  25330. } else {
  25331. fiber = null;
  25332. t1 = false;
  25333. }
  25334. if (t1)
  25335. J.run$0$x(fiber.call$1(A.allowInterop(new A.render_closure(callback, options))));
  25336. else
  25337. A._renderAsync(options).then$1$2$onError(0, new A.render_closure0(callback), new A.render_closure1(callback), type$.Null);
  25338. },
  25339. _renderAsync(options) {
  25340. var $async$goto = 0,
  25341. $async$completer = A._makeAsyncAwaitCompleter(type$.RenderResult),
  25342. $async$returnValue, data, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, result, start, t1, file, _0_0;
  25343. var $async$_renderAsync = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  25344. if ($async$errorCode === 1)
  25345. return A._asyncRethrow($async$result, $async$completer);
  25346. while (true)
  25347. switch ($async$goto) {
  25348. case 0:
  25349. // Function start
  25350. start = new A.DateTime(Date.now(), false);
  25351. t1 = J.getInterceptor$x(options);
  25352. file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
  25353. _0_0 = t1.get$data(options);
  25354. if (_0_0 != null) {
  25355. data = _0_0;
  25356. t2 = true;
  25357. } else {
  25358. data = null;
  25359. t2 = false;
  25360. }
  25361. $async$goto = t2 ? 3 : 5;
  25362. break;
  25363. case 3:
  25364. // then
  25365. t2 = A._parseImporter(options, start);
  25366. t3 = A._parseFunctions(options, start, true);
  25367. t4 = t1.get$indentedSyntax(options);
  25368. t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass_sass0 : null;
  25369. t5 = A._parseOutputStyle(t1.get$outputStyle(options));
  25370. t6 = J.$eq$(t1.get$indentType(options), "tab");
  25371. t7 = A._parseIndentWidth(t1.get$indentWidth(options));
  25372. t8 = A._parseLineFeed(t1.get$linefeed(options));
  25373. t9 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
  25374. t10 = t1.get$quietDeps(options);
  25375. if (t10 == null)
  25376. t10 = false;
  25377. t11 = t1.get$verbose(options);
  25378. if (t11 == null)
  25379. t11 = false;
  25380. t12 = t1.get$charset(options);
  25381. if (t12 == null)
  25382. t12 = true;
  25383. t13 = A._enableSourceMaps(options);
  25384. t1 = t1.get$logger(options);
  25385. t14 = A.hasTerminal0();
  25386. t15 = $._glyphs;
  25387. $async$goto = 6;
  25388. return A._asyncAwait(A.compileStringAsync0(data, t12, t3, null, null, t7, t8, new A.JSToDartLogger(t1, new A.StderrLogger0(t14), t15 === B.C_AsciiGlyphSet), t2, t10, t13, t5, t4, t9, !t6, t11), $async$_renderAsync);
  25389. case 6:
  25390. // returning from await.
  25391. result = $async$result;
  25392. // goto join
  25393. $async$goto = 4;
  25394. break;
  25395. case 5:
  25396. // else
  25397. $async$goto = file != null ? 7 : 9;
  25398. break;
  25399. case 7:
  25400. // then
  25401. t2 = A._parseImporter(options, start);
  25402. t3 = A._parseFunctions(options, start, true);
  25403. t4 = t1.get$indentedSyntax(options);
  25404. t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass_sass0 : null;
  25405. t5 = A._parseOutputStyle(t1.get$outputStyle(options));
  25406. t6 = J.$eq$(t1.get$indentType(options), "tab");
  25407. t7 = A._parseIndentWidth(t1.get$indentWidth(options));
  25408. t8 = A._parseLineFeed(t1.get$linefeed(options));
  25409. t9 = t1.get$quietDeps(options);
  25410. if (t9 == null)
  25411. t9 = false;
  25412. t10 = t1.get$verbose(options);
  25413. if (t10 == null)
  25414. t10 = false;
  25415. t11 = t1.get$charset(options);
  25416. if (t11 == null)
  25417. t11 = true;
  25418. t12 = A._enableSourceMaps(options);
  25419. t1 = t1.get$logger(options);
  25420. t13 = A.hasTerminal0();
  25421. t14 = $._glyphs;
  25422. $async$goto = 10;
  25423. return A._asyncAwait(A.compileAsync0(file, t11, null, t3, null, null, t7, t8, new A.JSToDartLogger(t1, new A.StderrLogger0(t13), t14 === B.C_AsciiGlyphSet), t2, t9, t12, t5, t4, !t6, t10), $async$_renderAsync);
  25424. case 10:
  25425. // returning from await.
  25426. result = $async$result;
  25427. // goto join
  25428. $async$goto = 8;
  25429. break;
  25430. case 9:
  25431. // else
  25432. throw A.wrapException(A.ArgumentError$(string$.Either, null));
  25433. case 8:
  25434. // join
  25435. case 4:
  25436. // join
  25437. $async$returnValue = A._newRenderResult(options, result, start);
  25438. // goto return
  25439. $async$goto = 1;
  25440. break;
  25441. case 1:
  25442. // return
  25443. return A._asyncReturn($async$returnValue, $async$completer);
  25444. }
  25445. });
  25446. return A._asyncStartSync($async$_renderAsync, $async$completer);
  25447. },
  25448. renderSync(options) {
  25449. var start, result, file, data, _0_0, error, stackTrace, error0, stackTrace0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, exception, _null = null;
  25450. if (!A.isNodeJs())
  25451. A.jsThrow(new self.Error("The renderSync() method is only available in Node.js."));
  25452. try {
  25453. start = new A.DateTime(Date.now(), false);
  25454. result = null;
  25455. t1 = J.getInterceptor$x(options);
  25456. file = A.NullableExtension_andThen0(t1.get$file(options), A.path__absolute$closure());
  25457. data = null;
  25458. _0_0 = t1.get$data(options);
  25459. if (_0_0 != null) {
  25460. data = _0_0;
  25461. t2 = true;
  25462. } else
  25463. t2 = false;
  25464. if (t2) {
  25465. t2 = data;
  25466. t3 = A._parseImporter(options, start);
  25467. t4 = A._parseFunctions(options, start, false);
  25468. t5 = t1.get$indentedSyntax(options);
  25469. t5 = !J.$eq$(t5, false) && t5 != null ? B.Syntax_Sass_sass0 : _null;
  25470. t6 = A._parseOutputStyle(t1.get$outputStyle(options));
  25471. t7 = J.$eq$(t1.get$indentType(options), "tab");
  25472. t8 = A._parseIndentWidth(t1.get$indentWidth(options));
  25473. t9 = A._parseLineFeed(t1.get$linefeed(options));
  25474. t10 = file == null ? "stdin" : $.$get$context().toUri$1(file).toString$0(0);
  25475. t11 = t1.get$quietDeps(options);
  25476. if (t11 == null)
  25477. t11 = false;
  25478. t12 = t1.get$verbose(options);
  25479. if (t12 == null)
  25480. t12 = false;
  25481. t13 = t1.get$charset(options);
  25482. if (t13 == null)
  25483. t13 = true;
  25484. t14 = A._enableSourceMaps(options);
  25485. t1 = t1.get$logger(options);
  25486. t15 = A.hasTerminal0();
  25487. t16 = $._glyphs;
  25488. result = A.compileString(t2, t13, _null, new A.CastList(t4, A._arrayInstanceType(t4)._eval$1("CastList<1,Callable>")), _null, _null, _null, t8, t9, new A.JSToDartLogger(t1, new A.StderrLogger0(t15), t16 === B.C_AsciiGlyphSet), t3, t11, t14, t6, t5, t10, !t7, t12);
  25489. } else if (file != null) {
  25490. t2 = A._parseImporter(options, start);
  25491. t3 = A._parseFunctions(options, start, false);
  25492. t4 = t1.get$indentedSyntax(options);
  25493. t4 = !J.$eq$(t4, false) && t4 != null ? B.Syntax_Sass_sass0 : _null;
  25494. t5 = A._parseOutputStyle(t1.get$outputStyle(options));
  25495. t6 = J.$eq$(t1.get$indentType(options), "tab");
  25496. t7 = A._parseIndentWidth(t1.get$indentWidth(options));
  25497. t8 = A._parseLineFeed(t1.get$linefeed(options));
  25498. t9 = t1.get$quietDeps(options);
  25499. if (t9 == null)
  25500. t9 = false;
  25501. t10 = t1.get$verbose(options);
  25502. if (t10 == null)
  25503. t10 = false;
  25504. t11 = t1.get$charset(options);
  25505. if (t11 == null)
  25506. t11 = true;
  25507. t12 = A._enableSourceMaps(options);
  25508. t1 = t1.get$logger(options);
  25509. t13 = A.hasTerminal0();
  25510. t14 = $._glyphs;
  25511. result = A.compile(file, t11, _null, new A.CastList(t3, A._arrayInstanceType(t3)._eval$1("CastList<1,Callable>")), _null, _null, t7, t8, new A.JSToDartLogger(t1, new A.StderrLogger0(t13), t14 === B.C_AsciiGlyphSet), t2, t9, t12, t5, t4, !t6, t10);
  25512. } else {
  25513. t1 = A.ArgumentError$(string$.Either, _null);
  25514. throw A.wrapException(t1);
  25515. }
  25516. t1 = A._newRenderResult(options, result, start);
  25517. return t1;
  25518. } catch (exception) {
  25519. t1 = A.unwrapException(exception);
  25520. if (t1 instanceof A.SassException0) {
  25521. error = t1;
  25522. stackTrace = A.getTraceFromException(exception);
  25523. A.jsThrow(A._wrapException(error, stackTrace));
  25524. } else {
  25525. error0 = t1;
  25526. stackTrace0 = A.getTraceFromException(exception);
  25527. t1 = J.toString$0$(error0);
  25528. t2 = A.getTrace0(error0);
  25529. A.jsThrow(A._newRenderError(t1, t2 == null ? stackTrace0 : t2, _null, _null, _null, 3));
  25530. }
  25531. }
  25532. },
  25533. _wrapException(exception, stackTrace) {
  25534. var url, t2, t3, t4, t5,
  25535. t1 = A.SourceSpanException.prototype.get$span.call(exception, exception),
  25536. _0_0 = t1.get$sourceUrl(t1);
  25537. $label0$0: {
  25538. if (_0_0 == null) {
  25539. t1 = "stdin";
  25540. break $label0$0;
  25541. }
  25542. if ("file" === _0_0.get$scheme()) {
  25543. url = _0_0;
  25544. t1 = true;
  25545. } else {
  25546. url = null;
  25547. t1 = false;
  25548. }
  25549. if (t1) {
  25550. t1 = $.$get$context();
  25551. url.toString;
  25552. t1 = t1.style.pathFromUri$1(A._parseUri(url));
  25553. break $label0$0;
  25554. }
  25555. t1 = _0_0.toString$0(0);
  25556. break $label0$0;
  25557. }
  25558. t2 = B.JSString_methods.replaceFirst$2(exception.toString$0(0), "Error: ", "");
  25559. t3 = A.getTrace0(exception);
  25560. if (t3 == null)
  25561. t3 = stackTrace;
  25562. t4 = A.SourceSpanException.prototype.get$span.call(exception, exception);
  25563. t4 = t4.get$start(t4);
  25564. t4 = t4.file.getLine$1(t4.offset);
  25565. t5 = A.SourceSpanException.prototype.get$span.call(exception, exception);
  25566. t5 = t5.get$start(t5);
  25567. return A._newRenderError(t2, t3, t5.file.getColumn$1(t5.offset) + 1, t1, t4 + 1, 1);
  25568. },
  25569. _parseFunctions(options, start, asynch) {
  25570. var result,
  25571. functions = J.get$functions$x(options);
  25572. if (functions == null)
  25573. return B.List_empty24;
  25574. result = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  25575. A.jsForEach(functions, new A._parseFunctions_closure(options, start, result, asynch));
  25576. return result;
  25577. },
  25578. _parseImporter(options, start) {
  25579. var t2, importers, t3, contextOptions, _1_0, t4, _box_0 = {},
  25580. t1 = J.getInterceptor$x(options),
  25581. _0_0 = t1.get$importer(options);
  25582. $label0$0: {
  25583. if (_0_0 == null) {
  25584. t2 = A._setArrayType([], type$.JSArray_JSFunction);
  25585. break $label0$0;
  25586. }
  25587. if (type$.List_nullable_Object._is(_0_0)) {
  25588. importers = _0_0;
  25589. t2 = true;
  25590. } else {
  25591. importers = null;
  25592. t2 = false;
  25593. }
  25594. if (t2) {
  25595. t2 = J.cast$1$0$ax(importers, type$.JSFunction);
  25596. break $label0$0;
  25597. }
  25598. t2 = A._setArrayType([type$.JSFunction._as(_0_0)], type$.JSArray_JSFunction);
  25599. break $label0$0;
  25600. }
  25601. t3 = J.getInterceptor$asx(t2);
  25602. contextOptions = t3.get$isNotEmpty(t2) ? A._contextOptions(options, start) : new A.Object();
  25603. _box_0.fiber = null;
  25604. _1_0 = t1.get$fiber(options);
  25605. if (_1_0 != null) {
  25606. _box_0.fiber = _1_0;
  25607. t4 = true;
  25608. } else
  25609. t4 = false;
  25610. if (t4) {
  25611. t2 = t3.map$1$1(t2, new A._parseImporter_closure(_box_0), type$.JSFunction);
  25612. importers = A.List_List$of(t2, true, t2.$ti._eval$1("ListIterable.E"));
  25613. } else
  25614. importers = t2;
  25615. t1 = t1.get$includePaths(options);
  25616. if (t1 == null)
  25617. t1 = [];
  25618. t2 = type$.String;
  25619. 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));
  25620. },
  25621. _contextOptions(options, start) {
  25622. var includePaths, t3, t4, t5, t6, t7,
  25623. t1 = J.getInterceptor$x(options),
  25624. t2 = t1.get$includePaths(options);
  25625. if (t2 == null)
  25626. t2 = [];
  25627. includePaths = A.List_List$from(t2, true, type$.String);
  25628. t2 = t1.get$file(options);
  25629. t3 = t1.get$data(options);
  25630. t4 = A._setArrayType([A.current()], type$.JSArray_String);
  25631. B.JSArray_methods.addAll$1(t4, includePaths);
  25632. t5 = A.isNodeJs() ? self.process : null;
  25633. t4 = B.JSArray_methods.join$1(t4, J.$eq$(t5 == null ? null : J.get$platform$x(t5), "win32") ? ";" : ":");
  25634. t5 = J.$eq$(t1.get$indentType(options), "tab") ? 1 : 0;
  25635. t6 = A._parseIndentWidth(t1.get$indentWidth(options));
  25636. if (t6 == null)
  25637. t6 = 2;
  25638. t7 = A._parseLineFeed(t1.get$linefeed(options));
  25639. t1 = t1.get$file(options);
  25640. if (t1 == null)
  25641. t1 = "data";
  25642. 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}}};
  25643. },
  25644. _parseOutputStyle(style) {
  25645. var t1;
  25646. $label0$0: {
  25647. if (style == null || "expanded" === style) {
  25648. t1 = B.OutputStyle_00;
  25649. break $label0$0;
  25650. }
  25651. if ("compressed" === style) {
  25652. t1 = B.OutputStyle_10;
  25653. break $label0$0;
  25654. }
  25655. t1 = A.jsThrow(new self.Error('Unknown output style "' + A.S(style) + '".'));
  25656. }
  25657. return t1;
  25658. },
  25659. _parseIndentWidth(width) {
  25660. var t1;
  25661. $label0$0: {
  25662. if (width == null) {
  25663. t1 = null;
  25664. break $label0$0;
  25665. }
  25666. if (A._isInt(width)) {
  25667. t1 = width;
  25668. break $label0$0;
  25669. }
  25670. t1 = A.int_parse(J.toString$0$(width), null);
  25671. break $label0$0;
  25672. }
  25673. return t1;
  25674. },
  25675. _parseLineFeed(str) {
  25676. var t1;
  25677. $label0$0: {
  25678. if ("cr" === str) {
  25679. t1 = B.LineFeed_oyU;
  25680. break $label0$0;
  25681. }
  25682. if ("crlf" === str) {
  25683. t1 = B.LineFeed_gg4;
  25684. break $label0$0;
  25685. }
  25686. if ("lfcr" === str) {
  25687. t1 = B.LineFeed_t2a;
  25688. break $label0$0;
  25689. }
  25690. t1 = B.LineFeed_SsD;
  25691. break $label0$0;
  25692. }
  25693. return t1;
  25694. },
  25695. _newRenderResult(options, result, start) {
  25696. var t3, sourceMapOption, sourceMapPath, t4, sourceMapDir, outFile, _0_0, file, t5, sourceMapDirUrl, i, source, t6, buffer, indices, url, t7, t8, _null = null,
  25697. t1 = Date.now(),
  25698. t2 = result._compile_result$_serialize,
  25699. css = t2._0,
  25700. sourceMapBytes = type$.Null._as(self.undefined);
  25701. if (A._enableSourceMaps(options)) {
  25702. t3 = J.getInterceptor$x(options);
  25703. sourceMapOption = t3.get$sourceMap(options);
  25704. if (typeof sourceMapOption == "string")
  25705. sourceMapPath = sourceMapOption;
  25706. else {
  25707. t4 = t3.get$outFile(options);
  25708. t4.toString;
  25709. sourceMapPath = J.$add$ansx(t4, ".map");
  25710. }
  25711. t4 = $.$get$context();
  25712. sourceMapDir = t4.dirname$1(sourceMapPath);
  25713. t2 = t2._1;
  25714. t2.toString;
  25715. t2.sourceRoot = t3.get$sourceMapRoot(options);
  25716. outFile = t3.get$outFile(options);
  25717. if (outFile == null) {
  25718. _0_0 = t3.get$file(options);
  25719. $label0$0: {
  25720. if (_0_0 != null) {
  25721. file = _0_0;
  25722. t5 = true;
  25723. } else {
  25724. file = _null;
  25725. t5 = false;
  25726. }
  25727. if (t5) {
  25728. t5 = t4.toUri$1(t4.withoutExtension$1(file) + ".css").toString$0(0);
  25729. break $label0$0;
  25730. }
  25731. t5 = t2.targetUrl = "stdin.css";
  25732. break $label0$0;
  25733. }
  25734. t2.targetUrl = t5;
  25735. } else
  25736. t2.targetUrl = t4.toUri$1(t4.relative$2$from(outFile, sourceMapDir)).toString$0(0);
  25737. sourceMapDirUrl = t4.toUri$1(sourceMapDir).toString$0(0);
  25738. for (t4 = t2.urls, i = 0; i < t4.length; ++i) {
  25739. source = t4[i];
  25740. if (source === "stdin")
  25741. continue;
  25742. t5 = $.$get$url();
  25743. t6 = t5.style;
  25744. if (t6.rootLength$1(source) <= 0 || t6.isRootRelative$1(source))
  25745. continue;
  25746. t4[i] = t5.relative$2$from(source, sourceMapDirUrl);
  25747. }
  25748. t4 = t3.get$sourceMapContents(options);
  25749. sourceMapBytes = self.Buffer.from(B.C_JsonCodec.encode$2$toEncodable(t2.toJson$1$includeSourceContents(!J.$eq$(t4, false) && t4 != null), _null), "utf8");
  25750. t2 = t3.get$omitSourceMapUrl(options);
  25751. if (!(!J.$eq$(t2, false) && t2 != null)) {
  25752. t2 = t3.get$sourceMapEmbed(options);
  25753. if (!J.$eq$(t2, false) && t2 != null) {
  25754. buffer = new A.StringBuffer("");
  25755. indices = A._setArrayType([-1], type$.JSArray_int);
  25756. A.UriData__writeUri("application/json", _null, _null, buffer, indices);
  25757. indices.push(buffer._contents.length);
  25758. t2 = buffer._contents += ";base64,";
  25759. indices.push(t2.length - 1);
  25760. t2 = B.C_Base64Encoder.startChunkedConversion$1(new A._StringSinkConversionSink(buffer));
  25761. t3 = sourceMapBytes.length;
  25762. A.RangeError_checkValidRange(0, t3, t3);
  25763. t2._convert$_add$4(sourceMapBytes, 0, t3, true);
  25764. t2 = buffer._contents;
  25765. url = new A.UriData(t2.charCodeAt(0) == 0 ? t2 : t2, indices, _null).get$uri();
  25766. } else {
  25767. if (outFile == null)
  25768. t2 = sourceMapPath;
  25769. else {
  25770. t2 = $.$get$context();
  25771. t2 = t2.relative$2$from(sourceMapPath, t2.dirname$1(outFile));
  25772. }
  25773. url = $.$get$context().toUri$1(t2);
  25774. }
  25775. t2 = url.toString$0(0);
  25776. css += "\n\n/*# sourceMappingURL=" + A.stringReplaceAllUnchecked(t2, "*/", "%2A/") + " */";
  25777. }
  25778. }
  25779. t2 = self.Buffer.from(css, "utf8");
  25780. t3 = J.get$file$x(options);
  25781. if (t3 == null)
  25782. t3 = "data";
  25783. t4 = start._core$_value;
  25784. t1 = new A.DateTime(t1, false)._core$_value;
  25785. t5 = B.JSInt_methods._tdivFast$1(A.Duration$(t1 - t4)._duration, 1000);
  25786. t6 = A._setArrayType([], type$.JSArray_String);
  25787. for (t7 = result._evaluate._0, t7 = t7.get$iterator(t7); t7.moveNext$0();) {
  25788. t8 = t7.get$current(t7);
  25789. t6.push(t8.get$scheme() === "file" ? $.$get$context().style.pathFromUri$1(A._parseUri(t8)) : t8.toString$0(0));
  25790. }
  25791. return {css: t2, map: sourceMapBytes, stats: {entry: t3, start: t4, end: t1, duration: t5, includedFiles: t6}};
  25792. },
  25793. _enableSourceMaps(options) {
  25794. var t2,
  25795. t1 = J.getInterceptor$x(options);
  25796. if (typeof t1.get$sourceMap(options) != "string") {
  25797. t2 = t1.get$sourceMap(options);
  25798. t1 = !J.$eq$(t2, false) && t2 != null && t1.get$outFile(options) != null;
  25799. } else
  25800. t1 = true;
  25801. return t1;
  25802. },
  25803. _newRenderError(message, stackTrace, column, file, line, $status) {
  25804. var error = new self.Error(message);
  25805. error.formatted = "Error: " + message;
  25806. if (line != null)
  25807. error.line = line;
  25808. if (column != null)
  25809. error.column = column;
  25810. if (file != null)
  25811. error.file = file;
  25812. error.status = $status;
  25813. A.attachJsStack(error, stackTrace);
  25814. return error;
  25815. },
  25816. render_closure: function render_closure(t0, t1) {
  25817. this.callback = t0;
  25818. this.options = t1;
  25819. },
  25820. render_closure0: function render_closure0(t0) {
  25821. this.callback = t0;
  25822. },
  25823. render_closure1: function render_closure1(t0) {
  25824. this.callback = t0;
  25825. },
  25826. _parseFunctions_closure: function _parseFunctions_closure(t0, t1, t2, t3) {
  25827. var _ = this;
  25828. _.options = t0;
  25829. _.start = t1;
  25830. _.result = t2;
  25831. _.asynch = t3;
  25832. },
  25833. _parseFunctions__closure: function _parseFunctions__closure(t0, t1, t2) {
  25834. this._box_0 = t0;
  25835. this.callback = t1;
  25836. this.context = t2;
  25837. },
  25838. _parseFunctions___closure2: function _parseFunctions___closure2(t0) {
  25839. this.currentFiber = t0;
  25840. },
  25841. _parseFunctions____closure: function _parseFunctions____closure(t0, t1) {
  25842. this.currentFiber = t0;
  25843. this.result = t1;
  25844. },
  25845. _parseFunctions___closure3: function _parseFunctions___closure3(t0, t1, t2) {
  25846. this.callback = t0;
  25847. this.context = t1;
  25848. this.jsArguments = t2;
  25849. },
  25850. _parseFunctions___closure4: function _parseFunctions___closure4(t0) {
  25851. this._box_0 = t0;
  25852. },
  25853. _parseFunctions__closure0: function _parseFunctions__closure0(t0, t1) {
  25854. this.callback = t0;
  25855. this.context = t1;
  25856. },
  25857. _parseFunctions___closure1: function _parseFunctions___closure1(t0, t1, t2) {
  25858. this.callback = t0;
  25859. this.context = t1;
  25860. this.$arguments = t2;
  25861. },
  25862. _parseFunctions__closure1: function _parseFunctions__closure1(t0, t1) {
  25863. this.callback = t0;
  25864. this.context = t1;
  25865. },
  25866. _parseFunctions___closure: function _parseFunctions___closure(t0) {
  25867. this.completer = t0;
  25868. },
  25869. _parseFunctions___closure0: function _parseFunctions___closure0(t0, t1, t2) {
  25870. this.callback = t0;
  25871. this.context = t1;
  25872. this.jsArguments = t2;
  25873. },
  25874. _parseImporter_closure: function _parseImporter_closure(t0) {
  25875. this._box_0 = t0;
  25876. },
  25877. _parseImporter__closure: function _parseImporter__closure(t0, t1) {
  25878. this._box_0 = t0;
  25879. this.importer = t1;
  25880. },
  25881. _parseImporter___closure: function _parseImporter___closure(t0) {
  25882. this.currentFiber = t0;
  25883. },
  25884. _parseImporter____closure: function _parseImporter____closure(t0, t1) {
  25885. this.currentFiber = t0;
  25886. this.result = t1;
  25887. },
  25888. _parseImporter___closure0: function _parseImporter___closure0(t0) {
  25889. this._box_0 = t0;
  25890. },
  25891. LimitedMapView$blocklist0(_map, blocklist, $K, $V) {
  25892. var t2, key,
  25893. t1 = A.LinkedHashSet_LinkedHashSet$_empty($K);
  25894. for (t2 = J.get$iterator$ax(_map.get$keys(_map)); t2.moveNext$0();) {
  25895. key = t2.get$current(t2);
  25896. if (!blocklist.contains$1(0, key))
  25897. t1.add$1(0, key);
  25898. }
  25899. return new A.LimitedMapView0(_map, t1, $K._eval$1("@<0>")._bind$1($V)._eval$1("LimitedMapView0<1,2>"));
  25900. },
  25901. LimitedMapView0: function LimitedMapView0(t0, t1, t2) {
  25902. this._limited_map_view0$_map = t0;
  25903. this._limited_map_view0$_keys = t1;
  25904. this.$ti = t2;
  25905. },
  25906. ListExpression0: function ListExpression0(t0, t1, t2, t3) {
  25907. var _ = this;
  25908. _.contents = t0;
  25909. _.separator = t1;
  25910. _.hasBrackets = t2;
  25911. _.span = t3;
  25912. },
  25913. ListExpression_toString_closure0: function ListExpression_toString_closure0(t0) {
  25914. this.$this = t0;
  25915. },
  25916. ListExpression__elementNeedsParens_closure0: function ListExpression__elementNeedsParens_closure0(t0) {
  25917. this._0_0 = t0;
  25918. },
  25919. _function10($name, $arguments, callback) {
  25920. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:list");
  25921. },
  25922. _length_closure2: function _length_closure2() {
  25923. },
  25924. _nth_closure0: function _nth_closure0() {
  25925. },
  25926. _setNth_closure0: function _setNth_closure0() {
  25927. },
  25928. _join_closure0: function _join_closure0() {
  25929. },
  25930. _join__closure2: function _join__closure2(t0) {
  25931. this._0_0 = t0;
  25932. },
  25933. _join__closure3: function _join__closure3(t0) {
  25934. this._0_1 = t0;
  25935. },
  25936. _join__closure4: function _join__closure4(t0) {
  25937. this._0_0 = t0;
  25938. },
  25939. _append_closure2: function _append_closure2() {
  25940. },
  25941. _zip_closure0: function _zip_closure0() {
  25942. },
  25943. _zip__closure2: function _zip__closure2() {
  25944. },
  25945. _zip__closure3: function _zip__closure3(t0) {
  25946. this._box_0 = t0;
  25947. },
  25948. _zip__closure4: function _zip__closure4(t0) {
  25949. this._box_0 = t0;
  25950. },
  25951. _index_closure2: function _index_closure2() {
  25952. },
  25953. _separator_closure0: function _separator_closure0() {
  25954. },
  25955. _isBracketed_closure0: function _isBracketed_closure0() {
  25956. },
  25957. _slash_closure0: function _slash_closure0() {
  25958. },
  25959. SelectorList$0(components, span) {
  25960. var t1 = A.List_List$unmodifiable(components, type$.ComplexSelector_2);
  25961. if (t1.length === 0)
  25962. A.throwExpression(A.ArgumentError$("components may not be empty.", null));
  25963. return new A.SelectorList0(t1, span);
  25964. },
  25965. SelectorList_SelectorList$parse0(contents, allowParent, allowPlaceholder, interpolationMap, logger) {
  25966. return A.SelectorParser$0(contents, allowParent, allowPlaceholder, interpolationMap, logger, null).parse$0();
  25967. },
  25968. SelectorList0: function SelectorList0(t0, t1) {
  25969. this.components = t0;
  25970. this.span = t1;
  25971. },
  25972. SelectorList_asSassList_closure0: function SelectorList_asSassList_closure0() {
  25973. },
  25974. SelectorList_resolveParentSelectors_closure0: function SelectorList_resolveParentSelectors_closure0(t0, t1, t2) {
  25975. this.$this = t0;
  25976. this.implicitParent = t1;
  25977. this.parent = t2;
  25978. },
  25979. SelectorList_resolveParentSelectors__closure1: function SelectorList_resolveParentSelectors__closure1(t0) {
  25980. this.complex = t0;
  25981. },
  25982. SelectorList_resolveParentSelectors__closure2: function SelectorList_resolveParentSelectors__closure2(t0) {
  25983. this.complex = t0;
  25984. },
  25985. SelectorList__resolveParentSelectorsCompound_closure2: function SelectorList__resolveParentSelectorsCompound_closure2() {
  25986. },
  25987. SelectorList__resolveParentSelectorsCompound_closure3: function SelectorList__resolveParentSelectorsCompound_closure3(t0) {
  25988. this.parent = t0;
  25989. },
  25990. SelectorList__resolveParentSelectorsCompound__closure0: function SelectorList__resolveParentSelectorsCompound__closure0(t0) {
  25991. this._0_0 = t0;
  25992. },
  25993. SelectorList__resolveParentSelectorsCompound_closure4: function SelectorList__resolveParentSelectorsCompound_closure4(t0, t1, t2) {
  25994. this.parentSelector = t0;
  25995. this.resolvedSimples = t1;
  25996. this.component = t2;
  25997. },
  25998. SelectorList_withAdditionalCombinators_closure0: function SelectorList_withAdditionalCombinators_closure0(t0) {
  25999. this.combinators = t0;
  26000. },
  26001. _ParentSelectorVisitor0: function _ParentSelectorVisitor0() {
  26002. },
  26003. __ParentSelectorVisitor_Object_SelectorSearchVisitor0: function __ParentSelectorVisitor_Object_SelectorSearchVisitor0() {
  26004. },
  26005. listClass_closure: function listClass_closure() {
  26006. },
  26007. listClass__closure: function listClass__closure() {
  26008. },
  26009. listClass__closure0: function listClass__closure0() {
  26010. },
  26011. _ConstructorOptions: function _ConstructorOptions() {
  26012. },
  26013. _NodeSassList: function _NodeSassList() {
  26014. },
  26015. legacyListClass_closure: function legacyListClass_closure() {
  26016. },
  26017. legacyListClass__closure: function legacyListClass__closure() {
  26018. },
  26019. legacyListClass_closure0: function legacyListClass_closure0() {
  26020. },
  26021. legacyListClass_closure1: function legacyListClass_closure1() {
  26022. },
  26023. legacyListClass_closure2: function legacyListClass_closure2() {
  26024. },
  26025. legacyListClass_closure3: function legacyListClass_closure3() {
  26026. },
  26027. legacyListClass_closure4: function legacyListClass_closure4() {
  26028. },
  26029. SassList$0(contents, _separator, brackets) {
  26030. var t1 = new A.SassList0(A.List_List$unmodifiable(contents, type$.Value_2), _separator, brackets);
  26031. t1.SassList$3$brackets0(contents, _separator, brackets);
  26032. return t1;
  26033. },
  26034. SassList0: function SassList0(t0, t1, t2) {
  26035. this._list1$_contents = t0;
  26036. this._list1$_separator = t1;
  26037. this._list1$_hasBrackets = t2;
  26038. },
  26039. SassList_isBlank_closure0: function SassList_isBlank_closure0() {
  26040. },
  26041. ListSeparator0: function ListSeparator0(t0, t1, t2) {
  26042. this._list1$_name = t0;
  26043. this.separator = t1;
  26044. this._name = t2;
  26045. },
  26046. JSLogger: function JSLogger() {
  26047. },
  26048. WarnOptions: function WarnOptions() {
  26049. },
  26050. DebugOptions: function DebugOptions() {
  26051. },
  26052. WarnForDeprecation_warnForDeprecation0(_this, deprecation, message, span, trace) {
  26053. var $self, t1;
  26054. if (_this instanceof A.DeprecationHandlingLogger0) {
  26055. $self = _this;
  26056. t1 = true;
  26057. } else {
  26058. $self = null;
  26059. t1 = false;
  26060. }
  26061. if (t1)
  26062. $self.warnForDeprecation$4$span$trace(deprecation, message, span, trace);
  26063. else if (!deprecation.isFuture)
  26064. _this.warn$4$deprecation$span$trace(0, message, true, span, trace);
  26065. },
  26066. _QuietLogger0: function _QuietLogger0() {
  26067. },
  26068. LoudComment0: function LoudComment0(t0) {
  26069. this.text = t0;
  26070. },
  26071. MapExpression0: function MapExpression0(t0, t1) {
  26072. this.pairs = t0;
  26073. this.span = t1;
  26074. },
  26075. _modify0(map, keys, modify, addNesting) {
  26076. var keyIterator = J.get$iterator$ax(keys);
  26077. return keyIterator.moveNext$0() ? new A._modify_modifyNestedMap0(keyIterator, modify, addNesting).call$1(map) : modify.call$1(map);
  26078. },
  26079. _deepMergeImpl0(map1, map2) {
  26080. var t2, t3, result, key, value, _1_0, _1_1, _1_3, resultMap, valueMap, merged, _null = null,
  26081. t1 = map1._map0$_contents;
  26082. if (t1.get$isEmpty(t1))
  26083. return map2;
  26084. t2 = map2._map0$_contents;
  26085. if (t2.get$isEmpty(t2))
  26086. return map1;
  26087. t3 = type$.Value_2;
  26088. result = A.LinkedHashMap_LinkedHashMap$of(t1, t3, t3);
  26089. for (t1 = A.MapExtensions_get_pairs0(t2, t3, t3), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  26090. t2 = t1.get$current(t1);
  26091. key = t2._0;
  26092. value = t2._1;
  26093. t2 = result.$index(0, key);
  26094. t2 = t2 == null ? _null : t2.tryMap$0();
  26095. _1_0 = new A._Record_2(t2, value.tryMap$0());
  26096. _1_1 = A._InitializedCell$(new A._deepMergeImpl_closure1(_1_0));
  26097. _1_3 = A._InitializedCell$(new A._deepMergeImpl_closure2(_1_0));
  26098. if (_1_1._readFinal$0() != null) {
  26099. resultMap = _1_1._readFinal$0();
  26100. t2 = true;
  26101. } else {
  26102. resultMap = _null;
  26103. t2 = false;
  26104. }
  26105. if (t2)
  26106. if (_1_3._readFinal$0() != null) {
  26107. valueMap = _1_3._readFinal$0();
  26108. t2 = true;
  26109. } else {
  26110. valueMap = _null;
  26111. t2 = false;
  26112. }
  26113. else {
  26114. valueMap = _null;
  26115. t2 = false;
  26116. }
  26117. if (t2) {
  26118. merged = A._deepMergeImpl0(resultMap, valueMap);
  26119. if (merged === resultMap)
  26120. continue;
  26121. result.$indexSet(0, key, merged);
  26122. } else
  26123. result.$indexSet(0, key, value);
  26124. }
  26125. return new A.SassMap0(A.ConstantMap_ConstantMap$from(result, t3, t3));
  26126. },
  26127. _function9($name, $arguments, callback) {
  26128. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:map");
  26129. },
  26130. _get_closure0: function _get_closure0() {
  26131. },
  26132. _set_closure1: function _set_closure1() {
  26133. },
  26134. _set__closure4: function _set__closure4(t0) {
  26135. this.$arguments = t0;
  26136. },
  26137. _set_closure2: function _set_closure2() {
  26138. },
  26139. _set__closure2: function _set__closure2(t0) {
  26140. this._0_0 = t0;
  26141. },
  26142. _set__closure3: function _set__closure3(t0) {
  26143. this._box_0 = t0;
  26144. },
  26145. _merge_closure1: function _merge_closure1() {
  26146. },
  26147. _merge_closure2: function _merge_closure2() {
  26148. },
  26149. _merge__closure1: function _merge__closure1(t0) {
  26150. this._0_0 = t0;
  26151. },
  26152. _merge__closure2: function _merge__closure2(t0) {
  26153. this.map2 = t0;
  26154. },
  26155. _deepMerge_closure0: function _deepMerge_closure0() {
  26156. },
  26157. _deepRemove_closure0: function _deepRemove_closure0() {
  26158. },
  26159. _deepRemove__closure0: function _deepRemove__closure0(t0) {
  26160. this.keys = t0;
  26161. },
  26162. _remove_closure1: function _remove_closure1() {
  26163. },
  26164. _remove_closure2: function _remove_closure2() {
  26165. },
  26166. _keys_closure0: function _keys_closure0() {
  26167. },
  26168. _values_closure0: function _values_closure0() {
  26169. },
  26170. _hasKey_closure0: function _hasKey_closure0() {
  26171. },
  26172. _modify_modifyNestedMap0: function _modify_modifyNestedMap0(t0, t1, t2) {
  26173. this.keyIterator = t0;
  26174. this.modify = t1;
  26175. this.addNesting = t2;
  26176. },
  26177. _deepMergeImpl_closure1: function _deepMergeImpl_closure1(t0) {
  26178. this._1_0 = t0;
  26179. },
  26180. _deepMergeImpl_closure2: function _deepMergeImpl_closure2(t0) {
  26181. this._1_0 = t0;
  26182. },
  26183. MapExtensions_get_pairs0(_this, $K, $V) {
  26184. return _this.get$entries(_this).map$1$1(0, new A.MapExtensions_get_pairs_closure0($K, $V), $K._eval$1("@<0>")._bind$1($V)._eval$1("+(1,2)"));
  26185. },
  26186. MapExtensions_get_pairs_closure0: function MapExtensions_get_pairs_closure0(t0, t1) {
  26187. this.K = t0;
  26188. this.V = t1;
  26189. },
  26190. mapClass_closure: function mapClass_closure() {
  26191. },
  26192. mapClass__closure: function mapClass__closure() {
  26193. },
  26194. mapClass__closure0: function mapClass__closure0() {
  26195. },
  26196. mapClass__closure1: function mapClass__closure1() {
  26197. },
  26198. _NodeSassMap: function _NodeSassMap() {
  26199. },
  26200. legacyMapClass_closure: function legacyMapClass_closure() {
  26201. },
  26202. legacyMapClass__closure: function legacyMapClass__closure() {
  26203. },
  26204. legacyMapClass__closure0: function legacyMapClass__closure0() {
  26205. },
  26206. legacyMapClass_closure0: function legacyMapClass_closure0() {
  26207. },
  26208. legacyMapClass_closure1: function legacyMapClass_closure1() {
  26209. },
  26210. legacyMapClass_closure2: function legacyMapClass_closure2() {
  26211. },
  26212. legacyMapClass_closure3: function legacyMapClass_closure3() {
  26213. },
  26214. legacyMapClass_closure4: function legacyMapClass_closure4() {
  26215. },
  26216. SassMap0: function SassMap0(t0) {
  26217. this._map0$_contents = t0;
  26218. },
  26219. _singleArgumentMathFunc0($name, mathFunc) {
  26220. return A.BuiltInCallable$function0($name, "$number", new A._singleArgumentMathFunc_closure0(mathFunc), "sass:math");
  26221. },
  26222. _numberFunction0($name, transform) {
  26223. return A.BuiltInCallable$function0($name, "$number", new A._numberFunction_closure0(transform), "sass:math");
  26224. },
  26225. _function8($name, $arguments, callback) {
  26226. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:math");
  26227. },
  26228. global_closure31: function global_closure31() {
  26229. },
  26230. module_closure11: function module_closure11() {
  26231. },
  26232. _ceil_closure0: function _ceil_closure0() {
  26233. },
  26234. _clamp_closure0: function _clamp_closure0() {
  26235. },
  26236. _floor_closure0: function _floor_closure0() {
  26237. },
  26238. _max_closure0: function _max_closure0() {
  26239. },
  26240. _min_closure0: function _min_closure0() {
  26241. },
  26242. _round_closure0: function _round_closure0() {
  26243. },
  26244. _hypot_closure0: function _hypot_closure0() {
  26245. },
  26246. _hypot__closure0: function _hypot__closure0() {
  26247. },
  26248. _log_closure0: function _log_closure0() {
  26249. },
  26250. _pow_closure0: function _pow_closure0() {
  26251. },
  26252. _atan2_closure0: function _atan2_closure0() {
  26253. },
  26254. _compatible_closure0: function _compatible_closure0() {
  26255. },
  26256. _isUnitless_closure0: function _isUnitless_closure0() {
  26257. },
  26258. _unit_closure0: function _unit_closure0() {
  26259. },
  26260. _percentage_closure0: function _percentage_closure0() {
  26261. },
  26262. _randomFunction_closure0: function _randomFunction_closure0() {
  26263. },
  26264. _div_closure0: function _div_closure0() {
  26265. },
  26266. _singleArgumentMathFunc_closure0: function _singleArgumentMathFunc_closure0(t0) {
  26267. this.mathFunc = t0;
  26268. },
  26269. _numberFunction_closure0: function _numberFunction_closure0(t0) {
  26270. this.transform = t0;
  26271. },
  26272. CssMediaQuery_parseList0(contents, interpolationMap, logger) {
  26273. var t1 = A.SpanScanner$(contents, null);
  26274. return new A.MediaQueryParser0(t1, logger, interpolationMap).parse$0();
  26275. },
  26276. CssMediaQuery$type0(type, conditions, modifier) {
  26277. return new A.CssMediaQuery0(modifier, type, true, conditions == null ? B.List_empty : A.List_List$unmodifiable(conditions, type$.String));
  26278. },
  26279. CssMediaQuery$condition0(conditions, conjunction) {
  26280. var t1 = A.List_List$unmodifiable(conditions, type$.String);
  26281. if (t1.length > 1 && conjunction == null)
  26282. A.throwExpression(A.ArgumentError$(string$.If_con, null));
  26283. return new A.CssMediaQuery0(null, null, conjunction !== false, t1);
  26284. },
  26285. CssMediaQuery0: function CssMediaQuery0(t0, t1, t2, t3) {
  26286. var _ = this;
  26287. _.modifier = t0;
  26288. _.type = t1;
  26289. _.conjunction = t2;
  26290. _.conditions = t3;
  26291. },
  26292. _SingletonCssMediaQueryMergeResult0: function _SingletonCssMediaQueryMergeResult0(t0) {
  26293. this._name = t0;
  26294. },
  26295. MediaQuerySuccessfulMergeResult0: function MediaQuerySuccessfulMergeResult0(t0) {
  26296. this.query = t0;
  26297. },
  26298. MediaQueryParser0: function MediaQueryParser0(t0, t1, t2) {
  26299. this.scanner = t0;
  26300. this.logger = t1;
  26301. this._parser0$_interpolationMap = t2;
  26302. },
  26303. MediaQueryParser_parse_closure0: function MediaQueryParser_parse_closure0(t0) {
  26304. this.$this = t0;
  26305. },
  26306. ModifiableCssMediaRule$0(queries, span) {
  26307. var t1 = A.List_List$unmodifiable(queries, type$.CssMediaQuery_2),
  26308. t2 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  26309. if (J.get$isEmpty$asx(queries))
  26310. A.throwExpression(A.ArgumentError$value(queries, "queries", "may not be empty."));
  26311. return new A.ModifiableCssMediaRule0(t1, span, new A.UnmodifiableListView(t2, type$.UnmodifiableListView_ModifiableCssNode_2), t2);
  26312. },
  26313. ModifiableCssMediaRule0: function ModifiableCssMediaRule0(t0, t1, t2, t3) {
  26314. var _ = this;
  26315. _.queries = t0;
  26316. _.span = t1;
  26317. _.children = t2;
  26318. _._node$_children = t3;
  26319. _._node$_indexInParent = _._node$_parent = null;
  26320. _.isGroupEnd = false;
  26321. },
  26322. MediaRule$0(query, children, span) {
  26323. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  26324. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  26325. return new A.MediaRule0(query, span, t1, t2);
  26326. },
  26327. MediaRule0: function MediaRule0(t0, t1, t2, t3) {
  26328. var _ = this;
  26329. _.query = t0;
  26330. _.span = t1;
  26331. _.children = t2;
  26332. _.hasDeclarations = t3;
  26333. },
  26334. MergedExtension_merge0(left, right) {
  26335. var t2, t3, t4,
  26336. t1 = left.extender.selector;
  26337. if (!t1.$eq(0, right.extender.selector) || !left.target.$eq(0, right.target))
  26338. throw A.wrapException(A.ArgumentError$(left.toString$0(0) + " and " + right.toString$0(0) + " aren't the same extension.", null));
  26339. t2 = left.mediaContext;
  26340. t3 = t2 == null;
  26341. if (!t3) {
  26342. t4 = right.mediaContext;
  26343. t4 = t4 != null && !B.C_ListEquality.equals$2(0, t2, t4);
  26344. } else
  26345. t4 = false;
  26346. if (t4)
  26347. throw A.wrapException(A.SassException$0("From " + left.span.message$1(0, "") + string$.x0aYou_m, right.span, null));
  26348. if (right.isOptional && right.mediaContext == null)
  26349. return left;
  26350. if (left.isOptional && t3)
  26351. return right;
  26352. if (t3)
  26353. t2 = right.mediaContext;
  26354. t1.get$specificity();
  26355. t1 = new A.Extender0(t1, false);
  26356. return t1._extension$_extension = new A.MergedExtension0(left, right, t1, left.target, t2, true, left.span);
  26357. },
  26358. MergedExtension0: function MergedExtension0(t0, t1, t2, t3, t4, t5, t6) {
  26359. var _ = this;
  26360. _.left = t0;
  26361. _.right = t1;
  26362. _.extender = t2;
  26363. _.target = t3;
  26364. _.mediaContext = t4;
  26365. _.isOptional = t5;
  26366. _.span = t6;
  26367. },
  26368. MergedMapView$0(maps, $K, $V) {
  26369. var t1 = $K._eval$1("@<0>")._bind$1($V);
  26370. t1 = new A.MergedMapView0(A.LinkedHashMap_LinkedHashMap$_empty($K, t1._eval$1("Map<1,2>")), t1._eval$1("MergedMapView0<1,2>"));
  26371. t1.MergedMapView$10(maps, $K, $V);
  26372. return t1;
  26373. },
  26374. MergedMapView0: function MergedMapView0(t0, t1) {
  26375. this._merged_map_view$_mapsByKey = t0;
  26376. this.$ti = t1;
  26377. },
  26378. _function12($name, $arguments, callback) {
  26379. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:meta");
  26380. },
  26381. global_closure59: function global_closure59() {
  26382. },
  26383. global_closure60: function global_closure60() {
  26384. },
  26385. global_closure61: function global_closure61() {
  26386. },
  26387. global_closure62: function global_closure62() {
  26388. },
  26389. local_closure2: function local_closure2() {
  26390. },
  26391. local_closure3: function local_closure3() {
  26392. },
  26393. local__closure2: function local__closure2() {
  26394. },
  26395. local_closure4: function local_closure4() {
  26396. },
  26397. local__closure1: function local__closure1(t0) {
  26398. this._0_0 = t0;
  26399. },
  26400. mixinClass_closure: function mixinClass_closure() {
  26401. },
  26402. mixinClass__closure: function mixinClass__closure() {
  26403. },
  26404. mixinClass__closure0: function mixinClass__closure0() {
  26405. },
  26406. SassMixin0: function SassMixin0(t0) {
  26407. this.callable = t0;
  26408. },
  26409. MixinRule$0($name, $arguments, children, span, comment) {
  26410. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  26411. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  26412. return new A.MixinRule0($name, $arguments, span, t1, t2);
  26413. },
  26414. MixinRule0: function MixinRule0(t0, t1, t2, t3, t4) {
  26415. var _ = this;
  26416. _._mixin_rule$__MixinRule_hasContent_FI = $;
  26417. _.name = t0;
  26418. _.$arguments = t1;
  26419. _.span = t2;
  26420. _.children = t3;
  26421. _.hasDeclarations = t4;
  26422. },
  26423. _HasContentVisitor0: function _HasContentVisitor0() {
  26424. },
  26425. __HasContentVisitor_Object_StatementSearchVisitor0: function __HasContentVisitor_Object_StatementSearchVisitor0() {
  26426. },
  26427. ExtendMode0: function ExtendMode0(t0, t1) {
  26428. this.name = t0;
  26429. this._name = t1;
  26430. },
  26431. MultiSpan0: function MultiSpan0(t0, t1, t2) {
  26432. this._multi_span0$_primary = t0;
  26433. this.primaryLabel = t1;
  26434. this.secondarySpans = t2;
  26435. },
  26436. SupportsNegation0: function SupportsNegation0(t0, t1) {
  26437. this.condition = t0;
  26438. this.span = t1;
  26439. },
  26440. NoOpImporter0: function NoOpImporter0() {
  26441. },
  26442. NoSourceMapBuffer0: function NoSourceMapBuffer0(t0) {
  26443. this._no_source_map_buffer0$_buffer = t0;
  26444. },
  26445. _FakeAstNode0: function _FakeAstNode0(t0) {
  26446. this._node0$_callback = t0;
  26447. },
  26448. CssNode0: function CssNode0() {
  26449. },
  26450. CssParentNode0: function CssParentNode0() {
  26451. },
  26452. _IsInvisibleVisitor1: function _IsInvisibleVisitor1(t0, t1) {
  26453. this.includeBogus = t0;
  26454. this.includeComments = t1;
  26455. },
  26456. __IsInvisibleVisitor_Object_EveryCssVisitor0: function __IsInvisibleVisitor_Object_EveryCssVisitor0() {
  26457. },
  26458. ModifiableCssNode0: function ModifiableCssNode0() {
  26459. },
  26460. ModifiableCssNode_hasFollowingSibling_closure0: function ModifiableCssNode_hasFollowingSibling_closure0() {
  26461. },
  26462. ModifiableCssParentNode0: function ModifiableCssParentNode0() {
  26463. },
  26464. NullExpression0: function NullExpression0(t0) {
  26465. this.span = t0;
  26466. },
  26467. legacyNullClass_closure: function legacyNullClass_closure() {
  26468. },
  26469. legacyNullClass__closure: function legacyNullClass__closure() {
  26470. },
  26471. _SassNull0: function _SassNull0() {
  26472. },
  26473. NumberExpression0: function NumberExpression0(t0, t1, t2) {
  26474. this.value = t0;
  26475. this.unit = t1;
  26476. this.span = t2;
  26477. },
  26478. numberClass_closure: function numberClass_closure() {
  26479. },
  26480. numberClass__closure: function numberClass__closure() {
  26481. },
  26482. numberClass__closure0: function numberClass__closure0() {
  26483. },
  26484. numberClass__closure1: function numberClass__closure1() {
  26485. },
  26486. numberClass__closure2: function numberClass__closure2() {
  26487. },
  26488. numberClass__closure3: function numberClass__closure3() {
  26489. },
  26490. numberClass__closure4: function numberClass__closure4() {
  26491. },
  26492. numberClass__closure5: function numberClass__closure5() {
  26493. },
  26494. numberClass__closure6: function numberClass__closure6() {
  26495. },
  26496. numberClass__closure7: function numberClass__closure7() {
  26497. },
  26498. numberClass__closure8: function numberClass__closure8() {
  26499. },
  26500. numberClass__closure9: function numberClass__closure9() {
  26501. },
  26502. numberClass__closure10: function numberClass__closure10() {
  26503. },
  26504. numberClass__closure11: function numberClass__closure11() {
  26505. },
  26506. numberClass__closure12: function numberClass__closure12() {
  26507. },
  26508. numberClass__closure13: function numberClass__closure13() {
  26509. },
  26510. numberClass__closure14: function numberClass__closure14() {
  26511. },
  26512. numberClass__closure15: function numberClass__closure15() {
  26513. },
  26514. numberClass__closure16: function numberClass__closure16() {
  26515. },
  26516. numberClass__closure17: function numberClass__closure17() {
  26517. },
  26518. numberClass__closure18: function numberClass__closure18() {
  26519. },
  26520. numberClass__closure19: function numberClass__closure19() {
  26521. },
  26522. _ConstructorOptions0: function _ConstructorOptions0() {
  26523. },
  26524. _parseNumber(value, unit) {
  26525. var invalidUnit, operands, t1, numerator, denominator, numeratorUnits, denominatorUnits;
  26526. if (unit == null || unit.length === 0)
  26527. return A.SassNumber_SassNumber0(value, null);
  26528. if (!J.contains$1$asx(unit, "*") && !B.JSString_methods.contains$1(unit, "/"))
  26529. return A.SassNumber_SassNumber0(value, unit);
  26530. invalidUnit = new A.ArgumentError(true, unit, "unit", "is invalid.");
  26531. operands = unit.split("/");
  26532. t1 = operands.length;
  26533. if (t1 > 2)
  26534. throw A.wrapException(invalidUnit);
  26535. numerator = operands[0];
  26536. denominator = t1 === 1 ? null : operands[1];
  26537. t1 = type$.JSArray_String;
  26538. numeratorUnits = numerator.length === 0 ? A._setArrayType([], t1) : A._setArrayType(numerator.split("*"), t1);
  26539. if (B.JSArray_methods.any$1(numeratorUnits, new A._parseNumber_closure()))
  26540. throw A.wrapException(invalidUnit);
  26541. denominatorUnits = denominator == null ? A._setArrayType([], t1) : A._setArrayType(denominator.split("*"), t1);
  26542. if (B.JSArray_methods.any$1(denominatorUnits, new A._parseNumber_closure0()))
  26543. throw A.wrapException(invalidUnit);
  26544. return A.SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits);
  26545. },
  26546. _NodeSassNumber: function _NodeSassNumber() {
  26547. },
  26548. legacyNumberClass_closure: function legacyNumberClass_closure() {
  26549. },
  26550. legacyNumberClass_closure0: function legacyNumberClass_closure0() {
  26551. },
  26552. legacyNumberClass_closure1: function legacyNumberClass_closure1() {
  26553. },
  26554. legacyNumberClass_closure2: function legacyNumberClass_closure2() {
  26555. },
  26556. legacyNumberClass_closure3: function legacyNumberClass_closure3() {
  26557. },
  26558. _parseNumber_closure: function _parseNumber_closure() {
  26559. },
  26560. _parseNumber_closure0: function _parseNumber_closure0() {
  26561. },
  26562. conversionFactor0(unit1, unit2) {
  26563. var _0_0, innerMap, t1;
  26564. if (unit1 === unit2)
  26565. return 1;
  26566. _0_0 = B.Map_nfuzN.$index(0, unit1);
  26567. if (_0_0 != null) {
  26568. innerMap = _0_0;
  26569. t1 = true;
  26570. } else {
  26571. innerMap = null;
  26572. t1 = false;
  26573. }
  26574. if (t1)
  26575. return innerMap.$index(0, unit2);
  26576. return null;
  26577. },
  26578. SassNumber_SassNumber0(value, unit) {
  26579. return unit == null ? new A.UnitlessSassNumber0(value, null) : new A.SingleUnitSassNumber0(unit, value, null);
  26580. },
  26581. SassNumber_SassNumber$withUnits0(value, denominatorUnits, numeratorUnits) {
  26582. var t1, unit, numerators, denominators, unsimplifiedDenominators, valueDouble, _i, denominator, simplifiedAway, i, factor, _1_0, _1_1, _1_2, _1_7, _null = null,
  26583. _0_0 = new A._Record_2(numeratorUnits, denominatorUnits),
  26584. _0_1 = A._InitializedCell$(new A.SassNumber_SassNumber$withUnits_closure9(_0_0)),
  26585. _0_3 = A._InitializedCell$(new A.SassNumber_SassNumber$withUnits_closure10(_0_1)),
  26586. _0_4 = A._InitializedCell$(new A.SassNumber_SassNumber$withUnits_closure11(_0_1)),
  26587. _0_6 = A._InitializedCell$(new A.SassNumber_SassNumber$withUnits_closure12(_0_4)),
  26588. _0_7 = A._InitializedCell$(new A.SassNumber_SassNumber$withUnits_closure13(_0_0)),
  26589. _0_8 = A._InitializedCell$(new A.SassNumber_SassNumber$withUnits_closure14(_0_7)),
  26590. _0_10 = A._InitializedCell$(new A.SassNumber_SassNumber$withUnits_closure15(_0_7));
  26591. if (_0_3._readFinal$0() || _0_6._readFinal$0())
  26592. t1 = _0_8._readFinal$0() || _0_10._readFinal$0();
  26593. else
  26594. t1 = false;
  26595. if (t1)
  26596. return new A.UnitlessSassNumber0(value, _null);
  26597. if (type$.List_String._is(_0_1._readFinal$0()))
  26598. if (J.$eq$(_0_4._readFinal$0(), 1)) {
  26599. unit = J.$index$asx(_0_1._readFinal$0(), 0);
  26600. t1 = _0_8._readFinal$0() || _0_10._readFinal$0();
  26601. } else {
  26602. unit = _null;
  26603. t1 = false;
  26604. }
  26605. else {
  26606. unit = _null;
  26607. t1 = false;
  26608. }
  26609. if (t1)
  26610. return new A.SingleUnitSassNumber0(unit, value, _null);
  26611. if (_0_1._readFinal$0() != null) {
  26612. numerators = _0_1._readFinal$0();
  26613. t1 = true;
  26614. } else {
  26615. numerators = _null;
  26616. t1 = false;
  26617. }
  26618. if (t1)
  26619. t1 = _0_8._readFinal$0() || _0_10._readFinal$0();
  26620. else
  26621. t1 = false;
  26622. if (t1)
  26623. return new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, type$.String), B.List_empty, value, _null);
  26624. if (_0_3._readFinal$0() || _0_6._readFinal$0())
  26625. if (_0_7._readFinal$0() != null) {
  26626. denominators = _0_7._readFinal$0();
  26627. t1 = true;
  26628. } else {
  26629. denominators = _null;
  26630. t1 = false;
  26631. }
  26632. else {
  26633. denominators = _null;
  26634. t1 = false;
  26635. }
  26636. if (t1)
  26637. return new A.ComplexSassNumber0(B.List_empty, A.List_List$unmodifiable(denominators, type$.String), value, _null);
  26638. numeratorUnits.toString;
  26639. numerators = J.toList$0$ax(numeratorUnits);
  26640. denominatorUnits.toString;
  26641. unsimplifiedDenominators = J.toList$0$ax(denominatorUnits);
  26642. denominators = A._setArrayType([], type$.JSArray_String);
  26643. for (t1 = unsimplifiedDenominators.length, valueDouble = value, _i = 0; _i < unsimplifiedDenominators.length; unsimplifiedDenominators.length === t1 || (0, A.throwConcurrentModificationError)(unsimplifiedDenominators), ++_i) {
  26644. denominator = unsimplifiedDenominators[_i];
  26645. i = 0;
  26646. while (true) {
  26647. if (!(i < numerators.length)) {
  26648. simplifiedAway = false;
  26649. break;
  26650. }
  26651. c$0: {
  26652. factor = A.conversionFactor0(denominator, numerators[i]);
  26653. if (factor == null)
  26654. break c$0;
  26655. valueDouble *= factor;
  26656. B.JSArray_methods.removeAt$1(numerators, i);
  26657. simplifiedAway = true;
  26658. break;
  26659. }
  26660. ++i;
  26661. }
  26662. if (!simplifiedAway)
  26663. denominators.push(denominator);
  26664. }
  26665. _1_0 = new A._Record_2(numerators, denominators);
  26666. _1_1 = A._InitializedCell$(new A.SassNumber_SassNumber$withUnits_closure16(_1_0));
  26667. _1_2 = A._InitializedCell$(new A.SassNumber_SassNumber$withUnits_closure17(_1_1));
  26668. _1_7 = A._InitializedCell$(new A.SassNumber_SassNumber$withUnits_closure18(_1_0));
  26669. $label0$1: {
  26670. if (_1_2._readFinal$0() <= 0 && _1_7._readFinal$0()) {
  26671. t1 = new A.UnitlessSassNumber0(valueDouble, _null);
  26672. break $label0$1;
  26673. }
  26674. if (J.$eq$(_1_2._readFinal$0(), 1)) {
  26675. unit = J.$index$asx(_1_1._readFinal$0(), 0);
  26676. t1 = _1_7._readFinal$0();
  26677. t1 = t1;
  26678. } else {
  26679. unit = _null;
  26680. t1 = false;
  26681. }
  26682. if (t1) {
  26683. t1 = new A.SingleUnitSassNumber0(unit, valueDouble, _null);
  26684. break $label0$1;
  26685. }
  26686. t1 = type$.String;
  26687. t1 = new A.ComplexSassNumber0(A.List_List$unmodifiable(numerators, t1), A.List_List$unmodifiable(denominators, t1), valueDouble, _null);
  26688. break $label0$1;
  26689. }
  26690. return t1;
  26691. },
  26692. SassNumber0: function SassNumber0() {
  26693. },
  26694. SassNumber_SassNumber$withUnits_closure10: function SassNumber_SassNumber$withUnits_closure10(t0) {
  26695. this._0_1 = t0;
  26696. },
  26697. SassNumber_SassNumber$withUnits_closure9: function SassNumber_SassNumber$withUnits_closure9(t0) {
  26698. this._0_0 = t0;
  26699. },
  26700. SassNumber_SassNumber$withUnits_closure11: function SassNumber_SassNumber$withUnits_closure11(t0) {
  26701. this._0_1 = t0;
  26702. },
  26703. SassNumber_SassNumber$withUnits_closure12: function SassNumber_SassNumber$withUnits_closure12(t0) {
  26704. this._0_4 = t0;
  26705. },
  26706. SassNumber_SassNumber$withUnits_closure14: function SassNumber_SassNumber$withUnits_closure14(t0) {
  26707. this._0_7 = t0;
  26708. },
  26709. SassNumber_SassNumber$withUnits_closure13: function SassNumber_SassNumber$withUnits_closure13(t0) {
  26710. this._0_0 = t0;
  26711. },
  26712. SassNumber_SassNumber$withUnits_closure15: function SassNumber_SassNumber$withUnits_closure15(t0) {
  26713. this._0_7 = t0;
  26714. },
  26715. SassNumber_SassNumber$withUnits_closure16: function SassNumber_SassNumber$withUnits_closure16(t0) {
  26716. this._1_0 = t0;
  26717. },
  26718. SassNumber_SassNumber$withUnits_closure17: function SassNumber_SassNumber$withUnits_closure17(t0) {
  26719. this._1_1 = t0;
  26720. },
  26721. SassNumber_SassNumber$withUnits_closure18: function SassNumber_SassNumber$withUnits_closure18(t0) {
  26722. this._1_0 = t0;
  26723. },
  26724. SassNumber__coerceOrConvertValue_compatibilityException0: function SassNumber__coerceOrConvertValue_compatibilityException0(t0, t1, t2, t3, t4, t5, t6) {
  26725. var _ = this;
  26726. _.$this = t0;
  26727. _.other = t1;
  26728. _.otherName = t2;
  26729. _.otherHasUnits = t3;
  26730. _.name = t4;
  26731. _.newNumerators = t5;
  26732. _.newDenominators = t6;
  26733. },
  26734. SassNumber__coerceOrConvertValue_closure3: function SassNumber__coerceOrConvertValue_closure3(t0, t1) {
  26735. this._box_0 = t0;
  26736. this.newNumerator = t1;
  26737. },
  26738. SassNumber__coerceOrConvertValue_closure4: function SassNumber__coerceOrConvertValue_closure4(t0) {
  26739. this.compatibilityException = t0;
  26740. },
  26741. SassNumber__coerceOrConvertValue_closure5: function SassNumber__coerceOrConvertValue_closure5(t0, t1) {
  26742. this._box_0 = t0;
  26743. this.newDenominator = t1;
  26744. },
  26745. SassNumber__coerceOrConvertValue_closure6: function SassNumber__coerceOrConvertValue_closure6(t0) {
  26746. this.compatibilityException = t0;
  26747. },
  26748. SassNumber_plus_closure0: function SassNumber_plus_closure0() {
  26749. },
  26750. SassNumber_minus_closure0: function SassNumber_minus_closure0() {
  26751. },
  26752. SassNumber_multiplyUnits_closure11: function SassNumber_multiplyUnits_closure11(t0) {
  26753. this._0_0 = t0;
  26754. },
  26755. SassNumber_multiplyUnits_closure12: function SassNumber_multiplyUnits_closure12(t0) {
  26756. this._0_0 = t0;
  26757. },
  26758. SassNumber_multiplyUnits_closure13: function SassNumber_multiplyUnits_closure13(t0) {
  26759. this._0_0 = t0;
  26760. },
  26761. SassNumber_multiplyUnits_closure14: function SassNumber_multiplyUnits_closure14(t0) {
  26762. this._0_3 = t0;
  26763. },
  26764. SassNumber_multiplyUnits_closure15: function SassNumber_multiplyUnits_closure15(t0) {
  26765. this._0_0 = t0;
  26766. },
  26767. SassNumber_multiplyUnits_closure16: function SassNumber_multiplyUnits_closure16(t0) {
  26768. this._0_7 = t0;
  26769. },
  26770. SassNumber_multiplyUnits_closure17: function SassNumber_multiplyUnits_closure17(t0) {
  26771. this._0_1 = t0;
  26772. },
  26773. SassNumber_multiplyUnits_closure18: function SassNumber_multiplyUnits_closure18(t0) {
  26774. this._0_2 = t0;
  26775. },
  26776. SassNumber_multiplyUnits_closure19: function SassNumber_multiplyUnits_closure19(t0, t1) {
  26777. this._box_0 = t0;
  26778. this.numerator = t1;
  26779. },
  26780. SassNumber_multiplyUnits_closure20: function SassNumber_multiplyUnits_closure20(t0, t1) {
  26781. this.newNumerators = t0;
  26782. this.numerator = t1;
  26783. },
  26784. SassNumber_multiplyUnits_closure21: function SassNumber_multiplyUnits_closure21(t0, t1) {
  26785. this._box_0 = t0;
  26786. this.numerator = t1;
  26787. },
  26788. SassNumber_multiplyUnits_closure22: function SassNumber_multiplyUnits_closure22(t0, t1) {
  26789. this.newNumerators = t0;
  26790. this.numerator = t1;
  26791. },
  26792. SassNumber__areAnyConvertible_closure0: function SassNumber__areAnyConvertible_closure0(t0) {
  26793. this.units2 = t0;
  26794. },
  26795. SassNumber__unitString_closure3: function SassNumber__unitString_closure3(t0) {
  26796. this._0_0 = t0;
  26797. },
  26798. SassNumber__unitString_closure4: function SassNumber__unitString_closure4(t0) {
  26799. this._0_0 = t0;
  26800. },
  26801. SassNumber__unitString_closure5: function SassNumber__unitString_closure5(t0) {
  26802. this._0_5 = t0;
  26803. },
  26804. SassNumber__unitString_closure6: function SassNumber__unitString_closure6(t0) {
  26805. this._0_6 = t0;
  26806. },
  26807. SassNumber__canonicalizeUnitList_closure0: function SassNumber__canonicalizeUnitList_closure0() {
  26808. },
  26809. SassNumber__canonicalMultiplier_closure0: function SassNumber__canonicalMultiplier_closure0(t0) {
  26810. this.$this = t0;
  26811. },
  26812. SassNumber_unitSuggestion_closure1: function SassNumber_unitSuggestion_closure1() {
  26813. },
  26814. SassNumber_unitSuggestion_closure2: function SassNumber_unitSuggestion_closure2() {
  26815. },
  26816. SupportsOperation$0(left, right, operator, span) {
  26817. var lowerOperator = operator.toLowerCase();
  26818. if (lowerOperator !== "and" && lowerOperator !== "or")
  26819. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  26820. return new A.SupportsOperation0(left, right, operator, span);
  26821. },
  26822. SupportsOperation0: function SupportsOperation0(t0, t1, t2, t3) {
  26823. var _ = this;
  26824. _.left = t0;
  26825. _.right = t1;
  26826. _.operator = t2;
  26827. _.span = t3;
  26828. },
  26829. ParentSelector0: function ParentSelector0(t0, t1) {
  26830. this.suffix = t0;
  26831. this.span = t1;
  26832. },
  26833. ParentStatement0: function ParentStatement0() {
  26834. },
  26835. ParentStatement_closure0: function ParentStatement_closure0() {
  26836. },
  26837. ParentStatement__closure0: function ParentStatement__closure0() {
  26838. },
  26839. ParenthesizedExpression0: function ParenthesizedExpression0(t0, t1) {
  26840. this.expression = t0;
  26841. this.span = t1;
  26842. },
  26843. Parser_isIdentifier0(text) {
  26844. var t1, t2, exception, logger = null;
  26845. try {
  26846. t1 = logger;
  26847. t2 = A.SpanScanner$(text, null);
  26848. new A.Parser1(t2, t1 == null ? B.StderrLogger_false0 : t1, null)._parser0$_parseIdentifier$0();
  26849. return true;
  26850. } catch (exception) {
  26851. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  26852. return false;
  26853. else
  26854. throw exception;
  26855. }
  26856. },
  26857. Parser1: function Parser1(t0, t1, t2) {
  26858. this.scanner = t0;
  26859. this.logger = t1;
  26860. this._parser0$_interpolationMap = t2;
  26861. },
  26862. Parser__parseIdentifier_closure0: function Parser__parseIdentifier_closure0(t0) {
  26863. this.$this = t0;
  26864. },
  26865. Parser_escape_closure0: function Parser_escape_closure0() {
  26866. },
  26867. Parser_scanIdentChar_matches0: function Parser_scanIdentChar_matches0(t0, t1) {
  26868. this.caseSensitive = t0;
  26869. this.char = t1;
  26870. },
  26871. Parser_spanFrom_closure0: function Parser_spanFrom_closure0(t0, t1) {
  26872. this.$this = t0;
  26873. this.span = t1;
  26874. },
  26875. PlaceholderSelector0: function PlaceholderSelector0(t0, t1) {
  26876. this.name = t0;
  26877. this.span = t1;
  26878. },
  26879. PlainCssCallable0: function PlainCssCallable0(t0) {
  26880. this.name = t0;
  26881. },
  26882. PrefixedMapView0: function PrefixedMapView0(t0, t1, t2) {
  26883. this._prefixed_map_view0$_map = t0;
  26884. this._prefixed_map_view0$_prefix = t1;
  26885. this.$ti = t2;
  26886. },
  26887. _PrefixedKeys0: function _PrefixedKeys0(t0) {
  26888. this._prefixed_map_view0$_view = t0;
  26889. },
  26890. _PrefixedKeys_iterator_closure0: function _PrefixedKeys_iterator_closure0(t0) {
  26891. this.$this = t0;
  26892. },
  26893. PseudoSelector$0($name, span, argument, element, selector) {
  26894. var t1 = !element,
  26895. t2 = t1 && !A.PseudoSelector__isFakePseudoElement0($name);
  26896. return new A.PseudoSelector0($name, A.unvendor0($name), t2, t1, argument, selector, span);
  26897. },
  26898. PseudoSelector__isFakePseudoElement0($name) {
  26899. switch ($name.charCodeAt(0)) {
  26900. case 97:
  26901. case 65:
  26902. return A.equalsIgnoreCase0($name, "after");
  26903. case 98:
  26904. case 66:
  26905. return A.equalsIgnoreCase0($name, "before");
  26906. case 102:
  26907. case 70:
  26908. return A.equalsIgnoreCase0($name, "first-line") || A.equalsIgnoreCase0($name, "first-letter");
  26909. default:
  26910. return false;
  26911. }
  26912. },
  26913. PseudoSelector0: function PseudoSelector0(t0, t1, t2, t3, t4, t5, t6) {
  26914. var _ = this;
  26915. _.name = t0;
  26916. _.normalizedName = t1;
  26917. _.isClass = t2;
  26918. _.isSyntacticClass = t3;
  26919. _.argument = t4;
  26920. _.selector = t5;
  26921. _._pseudo$__PseudoSelector_specificity_FI = $;
  26922. _.span = t6;
  26923. },
  26924. PseudoSelector_specificity_closure0: function PseudoSelector_specificity_closure0(t0) {
  26925. this.$this = t0;
  26926. },
  26927. PseudoSelector_specificity__closure1: function PseudoSelector_specificity__closure1() {
  26928. },
  26929. PseudoSelector_specificity__closure2: function PseudoSelector_specificity__closure2() {
  26930. },
  26931. PseudoSelector_unify_closure0: function PseudoSelector_unify_closure0() {
  26932. },
  26933. PublicMemberMapView0: function PublicMemberMapView0(t0, t1) {
  26934. this._public_member_map_view0$_inner = t0;
  26935. this.$ti = t1;
  26936. },
  26937. QualifiedName0: function QualifiedName0(t0, t1) {
  26938. this.name = t0;
  26939. this.namespace = t1;
  26940. },
  26941. createJSClass($name, $constructor) {
  26942. return type$.JSClass._as(A.allowInteropCaptureThisNamed($name, $constructor));
  26943. },
  26944. JSClassExtension_injectSuperclass(_this, superclass) {
  26945. var t1 = J.getInterceptor$x(superclass),
  26946. t2 = J.getInterceptor$x(_this);
  26947. self.Object.setPrototypeOf(t1.get$$prototype(superclass), J.get$$prototype$x(type$.JSClass._as(self.Object.getPrototypeOf(t2.get$$prototype(_this)).constructor)));
  26948. self.Object.setPrototypeOf(t2.get$$prototype(_this), self.Object.create(t1.get$$prototype(superclass)));
  26949. },
  26950. JSClassExtension_setCustomInspect(_this, inspect) {
  26951. if (self.util == null)
  26952. return;
  26953. J.get$$prototype$x(_this)[self.util.inspect.custom] = A.allowInteropCaptureThis(new A.JSClassExtension_setCustomInspect_closure(inspect));
  26954. },
  26955. JSClassExtension_get_defineStaticMethod(_this) {
  26956. return new A.JSClassExtension_get_defineStaticMethod_closure(_this);
  26957. },
  26958. JSClassExtension_get_defineMethod(_this) {
  26959. return new A.JSClassExtension_get_defineMethod_closure(_this);
  26960. },
  26961. JSClassExtension_defineMethods(_this, methods) {
  26962. methods.forEach$1(0, A.JSClassExtension_get_defineMethod(_this));
  26963. },
  26964. JSClassExtension_get_defineGetter(_this) {
  26965. return new A.JSClassExtension_get_defineGetter_closure(_this);
  26966. },
  26967. JSClass0: function JSClass0() {
  26968. },
  26969. JSClassExtension_setCustomInspect_closure: function JSClassExtension_setCustomInspect_closure(t0) {
  26970. this.inspect = t0;
  26971. },
  26972. JSClassExtension_get_defineStaticMethod_closure: function JSClassExtension_get_defineStaticMethod_closure(t0) {
  26973. this._this = t0;
  26974. },
  26975. JSClassExtension_get_defineMethod_closure: function JSClassExtension_get_defineMethod_closure(t0) {
  26976. this._this = t0;
  26977. },
  26978. JSClassExtension_get_defineGetter_closure: function JSClassExtension_get_defineGetter_closure(t0) {
  26979. this._this = t0;
  26980. },
  26981. RenderContext0: function RenderContext0() {
  26982. },
  26983. RenderContextOptions0: function RenderContextOptions0() {
  26984. },
  26985. RenderContextResult0: function RenderContextResult0() {
  26986. },
  26987. RenderContextResultStats0: function RenderContextResultStats0() {
  26988. },
  26989. RenderOptions: function RenderOptions() {
  26990. },
  26991. RenderResult: function RenderResult() {
  26992. },
  26993. RenderResultStats: function RenderResultStats() {
  26994. },
  26995. ReplaceExpressionVisitor0: function ReplaceExpressionVisitor0() {
  26996. },
  26997. ReplaceExpressionVisitor_visitListExpression_closure0: function ReplaceExpressionVisitor_visitListExpression_closure0(t0) {
  26998. this.$this = t0;
  26999. },
  27000. ReplaceExpressionVisitor_visitArgumentInvocation_closure0: function ReplaceExpressionVisitor_visitArgumentInvocation_closure0(t0) {
  27001. this.$this = t0;
  27002. },
  27003. ReplaceExpressionVisitor_visitInterpolation_closure0: function ReplaceExpressionVisitor_visitInterpolation_closure0(t0) {
  27004. this.$this = t0;
  27005. },
  27006. ImporterResult$(contents, sourceMapUrl, syntax) {
  27007. if ((sourceMapUrl == null ? null : sourceMapUrl.get$scheme()) === "")
  27008. A.throwExpression(A.ArgumentError$value(sourceMapUrl, "sourceMapUrl", "must be absolute"));
  27009. return new A.ImporterResult0(contents, sourceMapUrl, syntax);
  27010. },
  27011. ImporterResult0: function ImporterResult0(t0, t1, t2) {
  27012. this.contents = t0;
  27013. this._result$_sourceMapUrl = t1;
  27014. this.syntax = t2;
  27015. },
  27016. ReturnRule0: function ReturnRule0(t0, t1) {
  27017. this.expression = t0;
  27018. this.span = t1;
  27019. },
  27020. SassParser0: function SassParser0(t0, t1, t2, t3) {
  27021. var _ = this;
  27022. _._sass0$_currentIndentation = 0;
  27023. _._sass0$_spaces = _._sass0$_nextIndentationEnd = _._sass0$_nextIndentation = null;
  27024. _._stylesheet0$_isUseAllowed = true;
  27025. _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  27026. _._stylesheet0$_globalVariables = t0;
  27027. _.lastSilentComment = null;
  27028. _.scanner = t1;
  27029. _.logger = t2;
  27030. _._parser0$_interpolationMap = t3;
  27031. },
  27032. SassParser_styleRuleSelector_closure0: function SassParser_styleRuleSelector_closure0() {
  27033. },
  27034. SassParser_children_closure0: function SassParser_children_closure0(t0, t1, t2) {
  27035. this.$this = t0;
  27036. this.child = t1;
  27037. this.children = t2;
  27038. },
  27039. SassParser__peekIndentation_closure1: function SassParser__peekIndentation_closure1() {
  27040. },
  27041. SassParser__peekIndentation_closure2: function SassParser__peekIndentation_closure2() {
  27042. },
  27043. _translateReturnValue(val) {
  27044. if (val instanceof A._Future)
  27045. return A.futureToPromise(val, type$.dynamic);
  27046. else
  27047. return val;
  27048. },
  27049. main2() {
  27050. new Uint8Array(0);
  27051. A.main();
  27052. J.set$cli_pkg_main_0_$x(self.exports, A._wrapMain(A.sass__main$closure()));
  27053. },
  27054. _wrapMain(main) {
  27055. if (type$.dynamic_Function._is(main))
  27056. return A.allowInterop(new A._wrapMain_closure(main));
  27057. else
  27058. return A.allowInterop(new A._wrapMain_closure0(main));
  27059. },
  27060. _Exports: function _Exports() {
  27061. },
  27062. _wrapMain_closure: function _wrapMain_closure(t0) {
  27063. this.main = t0;
  27064. },
  27065. _wrapMain_closure0: function _wrapMain_closure0(t0) {
  27066. this.main = t0;
  27067. },
  27068. ScssParser$0(contents, logger, url) {
  27069. var t1 = A.SpanScanner$(contents, url),
  27070. t2 = logger == null ? B.StderrLogger_false0 : logger;
  27071. return new A.ScssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, t2, null);
  27072. },
  27073. ScssParser0: function ScssParser0(t0, t1, t2, t3) {
  27074. var _ = this;
  27075. _._stylesheet0$_isUseAllowed = true;
  27076. _._stylesheet0$_inParentheses = _._stylesheet0$_inStyleRule = _._stylesheet0$_inUnknownAtRule = _._stylesheet0$_inControlDirective = _._stylesheet0$_inContentBlock = _._stylesheet0$_inMixin = false;
  27077. _._stylesheet0$_globalVariables = t0;
  27078. _.lastSilentComment = null;
  27079. _.scanner = t1;
  27080. _.logger = t2;
  27081. _._parser0$_interpolationMap = t3;
  27082. },
  27083. Selector0: function Selector0() {
  27084. },
  27085. _IsInvisibleVisitor2: function _IsInvisibleVisitor2(t0) {
  27086. this.includeBogus = t0;
  27087. },
  27088. _IsBogusVisitor0: function _IsBogusVisitor0(t0) {
  27089. this.includeLeadingCombinator = t0;
  27090. },
  27091. _IsBogusVisitor_visitComplexSelector_closure0: function _IsBogusVisitor_visitComplexSelector_closure0(t0) {
  27092. this.$this = t0;
  27093. },
  27094. _IsUselessVisitor0: function _IsUselessVisitor0() {
  27095. },
  27096. _IsUselessVisitor_visitComplexSelector_closure0: function _IsUselessVisitor_visitComplexSelector_closure0(t0) {
  27097. this.$this = t0;
  27098. },
  27099. __IsBogusVisitor_Object_AnySelectorVisitor0: function __IsBogusVisitor_Object_AnySelectorVisitor0() {
  27100. },
  27101. __IsInvisibleVisitor_Object_AnySelectorVisitor0: function __IsInvisibleVisitor_Object_AnySelectorVisitor0() {
  27102. },
  27103. __IsUselessVisitor_Object_AnySelectorVisitor0: function __IsUselessVisitor_Object_AnySelectorVisitor0() {
  27104. },
  27105. SelectorExpression0: function SelectorExpression0(t0) {
  27106. this.span = t0;
  27107. },
  27108. _prependParent0(compound) {
  27109. var t1, type, rest, _null = null,
  27110. span = A.EvaluationContext_current0().get$currentCallableSpan(),
  27111. _0_0 = compound.components,
  27112. _0_3 = A._InitializedCell$(new A._prependParent_closure1(_0_0)),
  27113. _0_4 = A._InitializedCell$(new A._prependParent_closure2(_0_0));
  27114. $label0$0: {
  27115. if (_0_3._readFinal$0() && _0_4._readFinal$0() instanceof A.UniversalSelector0) {
  27116. t1 = _null;
  27117. break $label0$0;
  27118. }
  27119. if (_0_3._readFinal$0())
  27120. if (_0_4._readFinal$0() instanceof A.TypeSelector0)
  27121. t1 = _0_4._readFinal$0().name.namespace != null;
  27122. else
  27123. t1 = false;
  27124. else
  27125. t1 = false;
  27126. if (t1) {
  27127. t1 = _null;
  27128. break $label0$0;
  27129. }
  27130. if (_0_3._readFinal$0())
  27131. if (_0_4._readFinal$0() instanceof A.TypeSelector0) {
  27132. type = _0_4._readFinal$0();
  27133. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  27134. t1 = true;
  27135. } else {
  27136. rest = _null;
  27137. type = rest;
  27138. t1 = false;
  27139. }
  27140. else {
  27141. rest = _null;
  27142. type = rest;
  27143. t1 = false;
  27144. }
  27145. if (t1) {
  27146. t1 = A._setArrayType([new A.ParentSelector0(type.name.name, span)], type$.JSArray_SimpleSelector_2);
  27147. B.JSArray_methods.addAll$1(t1, rest);
  27148. t1 = A.CompoundSelector$0(t1, span);
  27149. break $label0$0;
  27150. }
  27151. t1 = A._setArrayType([new A.ParentSelector0(_null, span)], type$.JSArray_SimpleSelector_2);
  27152. B.JSArray_methods.addAll$1(t1, _0_0);
  27153. t1 = A.CompoundSelector$0(t1, span);
  27154. break $label0$0;
  27155. }
  27156. return t1;
  27157. },
  27158. _function7($name, $arguments, callback) {
  27159. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:selector");
  27160. },
  27161. _nest_closure0: function _nest_closure0() {
  27162. },
  27163. _nest__closure1: function _nest__closure1(t0) {
  27164. this._box_0 = t0;
  27165. },
  27166. _nest__closure2: function _nest__closure2() {
  27167. },
  27168. _append_closure1: function _append_closure1() {
  27169. },
  27170. _append__closure1: function _append__closure1() {
  27171. },
  27172. _append__closure2: function _append__closure2(t0) {
  27173. this.span = t0;
  27174. },
  27175. _append___closure0: function _append___closure0(t0, t1) {
  27176. this.parent = t0;
  27177. this.span = t1;
  27178. },
  27179. _extend_closure0: function _extend_closure0() {
  27180. },
  27181. _replace_closure0: function _replace_closure0() {
  27182. },
  27183. _unify_closure0: function _unify_closure0() {
  27184. },
  27185. _isSuperselector_closure0: function _isSuperselector_closure0() {
  27186. },
  27187. _simpleSelectors_closure0: function _simpleSelectors_closure0() {
  27188. },
  27189. _simpleSelectors__closure0: function _simpleSelectors__closure0() {
  27190. },
  27191. _parse_closure0: function _parse_closure0() {
  27192. },
  27193. _prependParent_closure1: function _prependParent_closure1(t0) {
  27194. this._0_0 = t0;
  27195. },
  27196. _prependParent_closure2: function _prependParent_closure2(t0) {
  27197. this._0_0 = t0;
  27198. },
  27199. SelectorParser$0(contents, allowParent, allowPlaceholder, interpolationMap, logger, url) {
  27200. var t1 = A.SpanScanner$(contents, url);
  27201. return new A.SelectorParser0(allowParent, allowPlaceholder, t1, logger == null ? B.StderrLogger_false0 : logger, interpolationMap);
  27202. },
  27203. SelectorParser0: function SelectorParser0(t0, t1, t2, t3, t4) {
  27204. var _ = this;
  27205. _._selector$_allowParent = t0;
  27206. _._selector$_allowPlaceholder = t1;
  27207. _.scanner = t2;
  27208. _.logger = t3;
  27209. _._parser0$_interpolationMap = t4;
  27210. },
  27211. SelectorParser_parse_closure0: function SelectorParser_parse_closure0(t0) {
  27212. this.$this = t0;
  27213. },
  27214. SelectorParser_parseCompoundSelector_closure0: function SelectorParser_parseCompoundSelector_closure0(t0) {
  27215. this.$this = t0;
  27216. },
  27217. SelectorSearchVisitor0: function SelectorSearchVisitor0() {
  27218. },
  27219. SelectorSearchVisitor_visitComplexSelector_closure0: function SelectorSearchVisitor_visitComplexSelector_closure0(t0) {
  27220. this.$this = t0;
  27221. },
  27222. SelectorSearchVisitor_visitCompoundSelector_closure0: function SelectorSearchVisitor_visitCompoundSelector_closure0(t0) {
  27223. this.$this = t0;
  27224. },
  27225. serialize0(node, charset, indentWidth, inspect, lineFeed, sourceMap, style, useSpaces) {
  27226. var t1, css, t2, prefix,
  27227. visitor = A._SerializeVisitor$0(indentWidth == null ? 2 : indentWidth, inspect, lineFeed, true, sourceMap, style, useSpaces);
  27228. node.accept$1(visitor);
  27229. t1 = visitor._serialize0$_buffer;
  27230. css = t1.toString$0(0);
  27231. if (charset) {
  27232. t2 = new A.CodeUnits(css);
  27233. t2 = t2.any$1(t2, new A.serialize_closure0());
  27234. } else
  27235. t2 = false;
  27236. if (t2)
  27237. prefix = style === B.OutputStyle_10 ? "\ufeff" : '@charset "UTF-8";\n';
  27238. else
  27239. prefix = "";
  27240. t1 = sourceMap ? t1.buildSourceMap$1$prefix(prefix) : null;
  27241. return new A._Record_2_sourceMap(prefix + css, t1);
  27242. },
  27243. serializeValue0(value, inspect, quote) {
  27244. var visitor = A._SerializeVisitor$0(null, inspect, null, quote, false, null, true);
  27245. value.accept$1(visitor);
  27246. return visitor._serialize0$_buffer.toString$0(0);
  27247. },
  27248. serializeSelector0(selector, inspect) {
  27249. var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  27250. selector.accept$1(visitor);
  27251. return visitor._serialize0$_buffer.toString$0(0);
  27252. },
  27253. _SerializeVisitor$0(indentWidth, inspect, lineFeed, quote, sourceMap, style, useSpaces) {
  27254. var t1 = sourceMap ? new A.SourceMapBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Entry)) : new A.NoSourceMapBuffer0(new A.StringBuffer("")),
  27255. t2 = style == null ? B.OutputStyle_00 : style,
  27256. t3 = useSpaces ? 32 : 9,
  27257. t4 = indentWidth == null ? 2 : indentWidth,
  27258. t5 = lineFeed == null ? B.LineFeed_SsD : lineFeed;
  27259. A.RangeError_checkValueInInterval(t4, 0, 10, "indentWidth");
  27260. return new A._SerializeVisitor0(t1, t2, inspect, quote, t3, t4, t5);
  27261. },
  27262. serialize_closure0: function serialize_closure0() {
  27263. },
  27264. _SerializeVisitor0: function _SerializeVisitor0(t0, t1, t2, t3, t4, t5, t6) {
  27265. var _ = this;
  27266. _._serialize0$_buffer = t0;
  27267. _._serialize0$_indentation = 0;
  27268. _._serialize0$_style = t1;
  27269. _._serialize0$_inspect = t2;
  27270. _._serialize0$_quote = t3;
  27271. _._serialize0$_indentCharacter = t4;
  27272. _._serialize0$_indentWidth = t5;
  27273. _._lineFeed = t6;
  27274. },
  27275. _SerializeVisitor_visitCssComment_closure0: function _SerializeVisitor_visitCssComment_closure0(t0, t1) {
  27276. this.$this = t0;
  27277. this.node = t1;
  27278. },
  27279. _SerializeVisitor_visitCssAtRule_closure0: function _SerializeVisitor_visitCssAtRule_closure0(t0, t1) {
  27280. this.$this = t0;
  27281. this.node = t1;
  27282. },
  27283. _SerializeVisitor_visitCssMediaRule_closure0: function _SerializeVisitor_visitCssMediaRule_closure0(t0, t1) {
  27284. this.$this = t0;
  27285. this.node = t1;
  27286. },
  27287. _SerializeVisitor_visitCssImport_closure0: function _SerializeVisitor_visitCssImport_closure0(t0, t1) {
  27288. this.$this = t0;
  27289. this.node = t1;
  27290. },
  27291. _SerializeVisitor_visitCssImport__closure0: function _SerializeVisitor_visitCssImport__closure0(t0, t1) {
  27292. this.$this = t0;
  27293. this.node = t1;
  27294. },
  27295. _SerializeVisitor_visitCssKeyframeBlock_closure0: function _SerializeVisitor_visitCssKeyframeBlock_closure0(t0, t1) {
  27296. this.$this = t0;
  27297. this.node = t1;
  27298. },
  27299. _SerializeVisitor_visitCssStyleRule_closure0: function _SerializeVisitor_visitCssStyleRule_closure0(t0, t1) {
  27300. this.$this = t0;
  27301. this.node = t1;
  27302. },
  27303. _SerializeVisitor_visitCssSupportsRule_closure0: function _SerializeVisitor_visitCssSupportsRule_closure0(t0, t1) {
  27304. this.$this = t0;
  27305. this.node = t1;
  27306. },
  27307. _SerializeVisitor_visitCssDeclaration_closure1: function _SerializeVisitor_visitCssDeclaration_closure1(t0, t1) {
  27308. this.$this = t0;
  27309. this.node = t1;
  27310. },
  27311. _SerializeVisitor_visitCssDeclaration_closure2: function _SerializeVisitor_visitCssDeclaration_closure2(t0, t1) {
  27312. this.$this = t0;
  27313. this.node = t1;
  27314. },
  27315. _SerializeVisitor__writeCalculationValue_closure0: function _SerializeVisitor__writeCalculationValue_closure0(t0) {
  27316. this._2_0 = t0;
  27317. },
  27318. _SerializeVisitor_visitList_closure2: function _SerializeVisitor_visitList_closure2() {
  27319. },
  27320. _SerializeVisitor_visitList_closure3: function _SerializeVisitor_visitList_closure3(t0, t1) {
  27321. this.$this = t0;
  27322. this.value = t1;
  27323. },
  27324. _SerializeVisitor_visitList_closure4: function _SerializeVisitor_visitList_closure4(t0) {
  27325. this.$this = t0;
  27326. },
  27327. _SerializeVisitor_visitMap_closure0: function _SerializeVisitor_visitMap_closure0(t0) {
  27328. this.$this = t0;
  27329. },
  27330. _SerializeVisitor__visitQuotedString_closure1: function _SerializeVisitor__visitQuotedString_closure1(t0) {
  27331. this._1_0 = t0;
  27332. },
  27333. _SerializeVisitor__visitQuotedString_closure2: function _SerializeVisitor__visitQuotedString_closure2(t0) {
  27334. this._1_0 = t0;
  27335. },
  27336. _SerializeVisitor_visitSelectorList_closure0: function _SerializeVisitor_visitSelectorList_closure0() {
  27337. },
  27338. _SerializeVisitor_visitPseudoSelector_closure0: function _SerializeVisitor_visitPseudoSelector_closure0(t0) {
  27339. this._0_0 = t0;
  27340. },
  27341. _SerializeVisitor__write_closure0: function _SerializeVisitor__write_closure0(t0, t1) {
  27342. this.$this = t0;
  27343. this.value = t1;
  27344. },
  27345. _SerializeVisitor__visitChildren_closure1: function _SerializeVisitor__visitChildren_closure1(t0, t1) {
  27346. this.$this = t0;
  27347. this.child = t1;
  27348. },
  27349. _SerializeVisitor__visitChildren_closure2: function _SerializeVisitor__visitChildren_closure2(t0, t1) {
  27350. this.$this = t0;
  27351. this.child = t1;
  27352. },
  27353. OutputStyle0: function OutputStyle0(t0) {
  27354. this._name = t0;
  27355. },
  27356. LineFeed0: function LineFeed0(t0, t1, t2) {
  27357. this.name = t0;
  27358. this.text = t1;
  27359. this._name = t2;
  27360. },
  27361. ShadowedModuleView_ifNecessary0(inner, functions, mixins, variables, $T) {
  27362. 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;
  27363. },
  27364. ShadowedModuleView__shadowedMap0(map, blocklist, $V) {
  27365. var t1 = A.ShadowedModuleView__needsBlocklist0(map, blocklist);
  27366. return !t1 ? map : A.LimitedMapView$blocklist0(map, blocklist, type$.String, $V);
  27367. },
  27368. ShadowedModuleView__needsBlocklist0(map, blocklist) {
  27369. return map.get$isNotEmpty(map) && blocklist.any$1(0, map.get$containsKey());
  27370. },
  27371. ShadowedModuleView0: function ShadowedModuleView0(t0, t1, t2, t3, t4, t5) {
  27372. var _ = this;
  27373. _._shadowed_view0$_inner = t0;
  27374. _.variables = t1;
  27375. _.variableNodes = t2;
  27376. _.functions = t3;
  27377. _.mixins = t4;
  27378. _.$ti = t5;
  27379. },
  27380. SilentComment0: function SilentComment0(t0, t1) {
  27381. this.text = t0;
  27382. this.span = t1;
  27383. },
  27384. SimpleSelector0: function SimpleSelector0() {
  27385. },
  27386. SimpleSelector_isSuperselector_closure0: function SimpleSelector_isSuperselector_closure0(t0) {
  27387. this.$this = t0;
  27388. },
  27389. SimpleSelector_isSuperselector__closure0: function SimpleSelector_isSuperselector__closure0(t0) {
  27390. this.$this = t0;
  27391. },
  27392. SingleUnitSassNumber0: function SingleUnitSassNumber0(t0, t1, t2) {
  27393. var _ = this;
  27394. _._single_unit$_unit = t0;
  27395. _._number1$_value = t1;
  27396. _.hashCache = null;
  27397. _.asSlash = t2;
  27398. },
  27399. SingleUnitSassNumber__coerceToUnit_closure0: function SingleUnitSassNumber__coerceToUnit_closure0(t0, t1) {
  27400. this.$this = t0;
  27401. this.unit = t1;
  27402. },
  27403. SingleUnitSassNumber__coerceValueToUnit_closure0: function SingleUnitSassNumber__coerceValueToUnit_closure0(t0) {
  27404. this.$this = t0;
  27405. },
  27406. SingleUnitSassNumber_multiplyUnits_closure1: function SingleUnitSassNumber_multiplyUnits_closure1(t0, t1) {
  27407. this._box_0 = t0;
  27408. this.$this = t1;
  27409. },
  27410. SingleUnitSassNumber_multiplyUnits_closure2: function SingleUnitSassNumber_multiplyUnits_closure2(t0, t1) {
  27411. this._box_0 = t0;
  27412. this.$this = t1;
  27413. },
  27414. SourceMapBuffer0: function SourceMapBuffer0(t0, t1) {
  27415. var _ = this;
  27416. _._source_map_buffer0$_buffer = t0;
  27417. _._source_map_buffer0$_entries = t1;
  27418. _._source_map_buffer0$_column = _._source_map_buffer0$_line = 0;
  27419. _._source_map_buffer0$_inSpan = false;
  27420. },
  27421. SourceMapBuffer_buildSourceMap_closure0: function SourceMapBuffer_buildSourceMap_closure0(t0, t1) {
  27422. this._box_0 = t0;
  27423. this.prefixLength = t1;
  27424. },
  27425. updateSourceSpanPrototype() {
  27426. var t3, t4, _i, t5,
  27427. span = A.SourceFile$fromString("", null).span$1(0, 0),
  27428. t1 = type$.SourceSpan,
  27429. t2 = type$.String;
  27430. for (t1 = [span, new A.MultiSpan0(span, "", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_empty(t1, t2), t1, t2)), new A.LazyFileSpan0(new A.updateSourceSpanPrototype_closure(span))], t3 = type$.JSClass, t4 = type$.Function, _i = 0; _i < 3; ++_i) {
  27431. t5 = t3._as(t1[_i].constructor);
  27432. A.LinkedHashMap_LinkedHashMap$_literal(["start", new A.updateSourceSpanPrototype_closure0(), "end", new A.updateSourceSpanPrototype_closure1(), "url", new A.updateSourceSpanPrototype_closure2(), "text", new A.updateSourceSpanPrototype_closure3(), "context", new A.updateSourceSpanPrototype_closure4()], t2, t4).forEach$1(0, A.JSClassExtension_get_defineGetter(t5));
  27433. }
  27434. t1 = t3._as(A.FileLocation$_(span.file, span._file$_start).constructor);
  27435. A.LinkedHashMap_LinkedHashMap$_literal(["line", new A.updateSourceSpanPrototype_closure5(), "column", new A.updateSourceSpanPrototype_closure6()], t2, t4).forEach$1(0, A.JSClassExtension_get_defineGetter(t1));
  27436. },
  27437. updateSourceSpanPrototype_closure: function updateSourceSpanPrototype_closure(t0) {
  27438. this.span = t0;
  27439. },
  27440. updateSourceSpanPrototype_closure0: function updateSourceSpanPrototype_closure0() {
  27441. },
  27442. updateSourceSpanPrototype_closure1: function updateSourceSpanPrototype_closure1() {
  27443. },
  27444. updateSourceSpanPrototype_closure2: function updateSourceSpanPrototype_closure2() {
  27445. },
  27446. updateSourceSpanPrototype_closure3: function updateSourceSpanPrototype_closure3() {
  27447. },
  27448. updateSourceSpanPrototype_closure4: function updateSourceSpanPrototype_closure4() {
  27449. },
  27450. updateSourceSpanPrototype_closure5: function updateSourceSpanPrototype_closure5() {
  27451. },
  27452. updateSourceSpanPrototype_closure6: function updateSourceSpanPrototype_closure6() {
  27453. },
  27454. StatementSearchVisitor0: function StatementSearchVisitor0() {
  27455. },
  27456. StatementSearchVisitor_visitIfRule_closure1: function StatementSearchVisitor_visitIfRule_closure1(t0) {
  27457. this.$this = t0;
  27458. },
  27459. StatementSearchVisitor_visitIfRule__closure2: function StatementSearchVisitor_visitIfRule__closure2(t0) {
  27460. this.$this = t0;
  27461. },
  27462. StatementSearchVisitor_visitIfRule_closure2: function StatementSearchVisitor_visitIfRule_closure2(t0) {
  27463. this.$this = t0;
  27464. },
  27465. StatementSearchVisitor_visitIfRule__closure1: function StatementSearchVisitor_visitIfRule__closure1(t0) {
  27466. this.$this = t0;
  27467. },
  27468. StatementSearchVisitor_visitChildren_closure0: function StatementSearchVisitor_visitChildren_closure0(t0) {
  27469. this.$this = t0;
  27470. },
  27471. StaticImport0: function StaticImport0(t0, t1, t2) {
  27472. this.url = t0;
  27473. this.modifiers = t1;
  27474. this.span = t2;
  27475. },
  27476. StderrLogger0: function StderrLogger0(t0) {
  27477. this.color = t0;
  27478. },
  27479. StringExpression_quoteText0(text) {
  27480. var t1,
  27481. quote = A.StringExpression__bestQuote0(A._setArrayType([text], type$.JSArray_String)),
  27482. buffer = new A.StringBuffer("");
  27483. buffer._contents = "" + A.Primitives_stringFromCharCode(quote);
  27484. A.StringExpression__quoteInnerText0(text, quote, buffer, true);
  27485. t1 = buffer._contents += A.Primitives_stringFromCharCode(quote);
  27486. return t1.charCodeAt(0) == 0 ? t1 : t1;
  27487. },
  27488. StringExpression__quoteInnerText0(text, quote, buffer, $static) {
  27489. var t1, t2, i, _1_0, _0_0, t3, t4;
  27490. for (t1 = text.length, t2 = t1 - 1, i = 0; i < t1; ++i) {
  27491. _1_0 = text.charCodeAt(i);
  27492. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12) {
  27493. buffer.writeCharCode$1(92);
  27494. buffer.writeCharCode$1(97);
  27495. if (i !== t2) {
  27496. _0_0 = text.charCodeAt(i + 1);
  27497. if (!(_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12))
  27498. if (!(_0_0 >= 48 && _0_0 <= 57))
  27499. if (!(_0_0 >= 97 && _0_0 <= 102))
  27500. t3 = _0_0 >= 65 && _0_0 <= 70;
  27501. else
  27502. t3 = true;
  27503. else
  27504. t3 = true;
  27505. else
  27506. t3 = true;
  27507. if (t3)
  27508. buffer.writeCharCode$1(32);
  27509. }
  27510. continue;
  27511. }
  27512. if (92 === _1_0) {
  27513. t3 = _1_0;
  27514. t4 = true;
  27515. } else {
  27516. t3 = null;
  27517. t4 = false;
  27518. }
  27519. if (!t4) {
  27520. if (_1_0 === quote) {
  27521. t3 = _1_0;
  27522. t4 = true;
  27523. } else
  27524. t4 = false;
  27525. if (!t4)
  27526. if (35 === _1_0)
  27527. if ($static)
  27528. if (i < t2)
  27529. if (text.charCodeAt(i + 1) === 123) {
  27530. t3 = _1_0;
  27531. t4 = true;
  27532. } else
  27533. t4 = false;
  27534. else
  27535. t4 = false;
  27536. else
  27537. t4 = false;
  27538. else
  27539. t4 = false;
  27540. else
  27541. t4 = true;
  27542. } else
  27543. t4 = true;
  27544. if (t4) {
  27545. buffer.writeCharCode$1(92);
  27546. buffer.writeCharCode$1(t3);
  27547. continue;
  27548. }
  27549. buffer.writeCharCode$1(_1_0);
  27550. }
  27551. },
  27552. StringExpression__bestQuote0(strings) {
  27553. var t1, containsDoubleQuote, t2, t3, t4;
  27554. for (t1 = J.get$iterator$ax(strings), containsDoubleQuote = false; t1.moveNext$0();)
  27555. for (t2 = new A.CodeUnits(t1.get$current(t1)), t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  27556. t4 = t2.__internal$_current;
  27557. if (t4 == null)
  27558. t4 = t3._as(t4);
  27559. if (t4 === 39)
  27560. return 34;
  27561. if (t4 === 34)
  27562. containsDoubleQuote = true;
  27563. }
  27564. return containsDoubleQuote ? 39 : 34;
  27565. },
  27566. StringExpression0: function StringExpression0(t0, t1) {
  27567. this.text = t0;
  27568. this.hasQuotes = t1;
  27569. },
  27570. _codepointForIndex0(index, lengthInCodepoints, allowNegative) {
  27571. var result;
  27572. if (index === 0)
  27573. return 0;
  27574. if (index > 0)
  27575. return Math.min(index - 1, lengthInCodepoints);
  27576. result = lengthInCodepoints + index;
  27577. if (result < 0 && !allowNegative)
  27578. return 0;
  27579. return result;
  27580. },
  27581. _function6($name, $arguments, callback) {
  27582. return A.BuiltInCallable$function0($name, $arguments, callback, "sass:string");
  27583. },
  27584. module_closure10: function module_closure10() {
  27585. },
  27586. module__closure2: function module__closure2(t0) {
  27587. this.string = t0;
  27588. },
  27589. module__closure3: function module__closure3(t0) {
  27590. this.string = t0;
  27591. },
  27592. _unquote_closure0: function _unquote_closure0() {
  27593. },
  27594. _quote_closure0: function _quote_closure0() {
  27595. },
  27596. _length_closure1: function _length_closure1() {
  27597. },
  27598. _insert_closure0: function _insert_closure0() {
  27599. },
  27600. _index_closure1: function _index_closure1() {
  27601. },
  27602. _slice_closure0: function _slice_closure0() {
  27603. },
  27604. _toUpperCase_closure0: function _toUpperCase_closure0() {
  27605. },
  27606. _toLowerCase_closure0: function _toLowerCase_closure0() {
  27607. },
  27608. _uniqueId_closure0: function _uniqueId_closure0() {
  27609. },
  27610. stringClass_closure: function stringClass_closure() {
  27611. },
  27612. stringClass__closure: function stringClass__closure() {
  27613. },
  27614. stringClass__closure0: function stringClass__closure0() {
  27615. },
  27616. stringClass__closure1: function stringClass__closure1() {
  27617. },
  27618. stringClass__closure2: function stringClass__closure2() {
  27619. },
  27620. stringClass__closure3: function stringClass__closure3() {
  27621. },
  27622. _ConstructorOptions1: function _ConstructorOptions1() {
  27623. },
  27624. _NodeSassString: function _NodeSassString() {
  27625. },
  27626. legacyStringClass_closure: function legacyStringClass_closure() {
  27627. },
  27628. legacyStringClass_closure0: function legacyStringClass_closure0() {
  27629. },
  27630. legacyStringClass_closure1: function legacyStringClass_closure1() {
  27631. },
  27632. SassString$0(_text, quotes) {
  27633. return new A.SassString0(_text, quotes);
  27634. },
  27635. SassString0: function SassString0(t0, t1) {
  27636. var _ = this;
  27637. _._string0$_text = t0;
  27638. _._string0$_hasQuotes = t1;
  27639. _._string0$__SassString__sassLength_FI = $;
  27640. _._string0$_hashCache = null;
  27641. },
  27642. ModifiableCssStyleRule$0(_selector, span, originalSelector) {
  27643. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  27644. return new A.ModifiableCssStyleRule0(_selector, originalSelector, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  27645. },
  27646. ModifiableCssStyleRule0: function ModifiableCssStyleRule0(t0, t1, t2, t3, t4) {
  27647. var _ = this;
  27648. _._style_rule0$_selector = t0;
  27649. _.originalSelector = t1;
  27650. _.span = t2;
  27651. _.children = t3;
  27652. _._node$_children = t4;
  27653. _._node$_indexInParent = _._node$_parent = null;
  27654. _.isGroupEnd = false;
  27655. },
  27656. StyleRule$0(selector, children, span) {
  27657. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  27658. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  27659. return new A.StyleRule0(selector, span, t1, t2);
  27660. },
  27661. StyleRule0: function StyleRule0(t0, t1, t2, t3) {
  27662. var _ = this;
  27663. _.selector = t0;
  27664. _.span = t1;
  27665. _.children = t2;
  27666. _.hasDeclarations = t3;
  27667. },
  27668. CssStylesheet0: function CssStylesheet0(t0, t1) {
  27669. this.children = t0;
  27670. this.span = t1;
  27671. },
  27672. ModifiableCssStylesheet$0(span) {
  27673. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  27674. return new A.ModifiableCssStylesheet0(span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  27675. },
  27676. ModifiableCssStylesheet0: function ModifiableCssStylesheet0(t0, t1, t2) {
  27677. var _ = this;
  27678. _.span = t0;
  27679. _.children = t1;
  27680. _._node$_children = t2;
  27681. _._node$_indexInParent = _._node$_parent = null;
  27682. _.isGroupEnd = false;
  27683. },
  27684. StylesheetParser0: function StylesheetParser0() {
  27685. },
  27686. StylesheetParser_parse_closure0: function StylesheetParser_parse_closure0(t0) {
  27687. this.$this = t0;
  27688. },
  27689. StylesheetParser_parse__closure1: function StylesheetParser_parse__closure1(t0) {
  27690. this.$this = t0;
  27691. },
  27692. StylesheetParser_parse__closure2: function StylesheetParser_parse__closure2() {
  27693. },
  27694. StylesheetParser_parseArgumentDeclaration_closure0: function StylesheetParser_parseArgumentDeclaration_closure0(t0) {
  27695. this.$this = t0;
  27696. },
  27697. StylesheetParser__parseSingleProduction_closure0: function StylesheetParser__parseSingleProduction_closure0(t0, t1, t2) {
  27698. this.$this = t0;
  27699. this.production = t1;
  27700. this.T = t2;
  27701. },
  27702. StylesheetParser_parseSignature_closure: function StylesheetParser_parseSignature_closure(t0, t1) {
  27703. this.$this = t0;
  27704. this.requireParens = t1;
  27705. },
  27706. StylesheetParser__statement_closure0: function StylesheetParser__statement_closure0(t0) {
  27707. this.$this = t0;
  27708. },
  27709. StylesheetParser_variableDeclarationWithoutNamespace_closure1: function StylesheetParser_variableDeclarationWithoutNamespace_closure1(t0, t1) {
  27710. this.$this = t0;
  27711. this.start = t1;
  27712. },
  27713. StylesheetParser_variableDeclarationWithoutNamespace_closure2: function StylesheetParser_variableDeclarationWithoutNamespace_closure2(t0) {
  27714. this.declaration = t0;
  27715. },
  27716. StylesheetParser__declarationOrBuffer_closure1: function StylesheetParser__declarationOrBuffer_closure1(t0) {
  27717. this.name = t0;
  27718. },
  27719. StylesheetParser__declarationOrBuffer_closure2: function StylesheetParser__declarationOrBuffer_closure2(t0, t1) {
  27720. this._box_0 = t0;
  27721. this.name = t1;
  27722. },
  27723. StylesheetParser__styleRule_closure0: function StylesheetParser__styleRule_closure0(t0, t1, t2, t3) {
  27724. var _ = this;
  27725. _._box_0 = t0;
  27726. _.$this = t1;
  27727. _.wasInStyleRule = t2;
  27728. _.start = t3;
  27729. },
  27730. StylesheetParser__propertyOrVariableDeclaration_closure1: function StylesheetParser__propertyOrVariableDeclaration_closure1(t0) {
  27731. this._box_0 = t0;
  27732. },
  27733. StylesheetParser__propertyOrVariableDeclaration_closure2: function StylesheetParser__propertyOrVariableDeclaration_closure2(t0, t1) {
  27734. this._box_0 = t0;
  27735. this.value = t1;
  27736. },
  27737. StylesheetParser__atRootRule_closure1: function StylesheetParser__atRootRule_closure1(t0) {
  27738. this.query = t0;
  27739. },
  27740. StylesheetParser__atRootRule_closure2: function StylesheetParser__atRootRule_closure2() {
  27741. },
  27742. StylesheetParser__eachRule_closure0: function StylesheetParser__eachRule_closure0(t0, t1, t2, t3) {
  27743. var _ = this;
  27744. _.$this = t0;
  27745. _.wasInControlDirective = t1;
  27746. _.variables = t2;
  27747. _.list = t3;
  27748. },
  27749. StylesheetParser__functionRule_closure0: function StylesheetParser__functionRule_closure0(t0, t1, t2) {
  27750. this.name = t0;
  27751. this.$arguments = t1;
  27752. this.precedingComment = t2;
  27753. },
  27754. StylesheetParser__forRule_closure1: function StylesheetParser__forRule_closure1(t0, t1) {
  27755. this._box_0 = t0;
  27756. this.$this = t1;
  27757. },
  27758. StylesheetParser__forRule_closure2: function StylesheetParser__forRule_closure2(t0, t1, t2, t3, t4, t5) {
  27759. var _ = this;
  27760. _._box_0 = t0;
  27761. _.$this = t1;
  27762. _.wasInControlDirective = t2;
  27763. _.variable = t3;
  27764. _.from = t4;
  27765. _.to = t5;
  27766. },
  27767. StylesheetParser__memberList_closure0: function StylesheetParser__memberList_closure0(t0, t1, t2) {
  27768. this.$this = t0;
  27769. this.variables = t1;
  27770. this.identifiers = t2;
  27771. },
  27772. StylesheetParser__includeRule_closure0: function StylesheetParser__includeRule_closure0(t0) {
  27773. this.contentArguments_ = t0;
  27774. },
  27775. StylesheetParser_mediaRule_closure0: function StylesheetParser_mediaRule_closure0(t0) {
  27776. this.query = t0;
  27777. },
  27778. StylesheetParser__mixinRule_closure0: function StylesheetParser__mixinRule_closure0(t0, t1, t2, t3) {
  27779. var _ = this;
  27780. _.$this = t0;
  27781. _.name = t1;
  27782. _.$arguments = t2;
  27783. _.precedingComment = t3;
  27784. },
  27785. StylesheetParser_mozDocumentRule_closure0: function StylesheetParser_mozDocumentRule_closure0(t0, t1, t2, t3) {
  27786. var _ = this;
  27787. _._box_0 = t0;
  27788. _.$this = t1;
  27789. _.name = t2;
  27790. _.value = t3;
  27791. },
  27792. StylesheetParser_supportsRule_closure0: function StylesheetParser_supportsRule_closure0(t0) {
  27793. this.condition = t0;
  27794. },
  27795. StylesheetParser__whileRule_closure0: function StylesheetParser__whileRule_closure0(t0, t1, t2) {
  27796. this.$this = t0;
  27797. this.wasInControlDirective = t1;
  27798. this.condition = t2;
  27799. },
  27800. StylesheetParser_unknownAtRule_closure0: function StylesheetParser_unknownAtRule_closure0(t0, t1) {
  27801. this._box_0 = t0;
  27802. this.name = t1;
  27803. },
  27804. StylesheetParser__expression_resetState0: function StylesheetParser__expression_resetState0(t0, t1, t2) {
  27805. this._box_0 = t0;
  27806. this.$this = t1;
  27807. this.start = t2;
  27808. },
  27809. StylesheetParser__expression_resolveOneOperation0: function StylesheetParser__expression_resolveOneOperation0(t0, t1) {
  27810. this._box_0 = t0;
  27811. this.$this = t1;
  27812. },
  27813. StylesheetParser__expression_resolveOperations0: function StylesheetParser__expression_resolveOperations0(t0, t1) {
  27814. this._box_0 = t0;
  27815. this.resolveOneOperation = t1;
  27816. },
  27817. StylesheetParser__expression_addSingleExpression0: function StylesheetParser__expression_addSingleExpression0(t0, t1, t2, t3) {
  27818. var _ = this;
  27819. _._box_0 = t0;
  27820. _.$this = t1;
  27821. _.resetState = t2;
  27822. _.resolveOperations = t3;
  27823. },
  27824. StylesheetParser__expression_addOperator0: function StylesheetParser__expression_addOperator0(t0, t1, t2) {
  27825. this._box_0 = t0;
  27826. this.$this = t1;
  27827. this.resolveOneOperation = t2;
  27828. },
  27829. StylesheetParser__expression_resolveSpaceExpressions0: function StylesheetParser__expression_resolveSpaceExpressions0(t0, t1, t2) {
  27830. this._box_0 = t0;
  27831. this.$this = t1;
  27832. this.resolveOperations = t2;
  27833. },
  27834. StylesheetParser__expression_closure2: function StylesheetParser__expression_closure2(t0) {
  27835. this._3_0 = t0;
  27836. },
  27837. StylesheetParser__expression_closure3: function StylesheetParser__expression_closure3(t0) {
  27838. this._3_0 = t0;
  27839. },
  27840. StylesheetParser__expression_closure4: function StylesheetParser__expression_closure4(t0) {
  27841. this._3_0 = t0;
  27842. },
  27843. StylesheetParser_expressionUntilComma_closure0: function StylesheetParser_expressionUntilComma_closure0(t0) {
  27844. this.$this = t0;
  27845. },
  27846. StylesheetParser__isHexColor_closure1: function StylesheetParser__isHexColor_closure1(t0) {
  27847. this._0_0 = t0;
  27848. },
  27849. StylesheetParser__isHexColor_closure2: function StylesheetParser__isHexColor_closure2() {
  27850. },
  27851. StylesheetParser__unicodeRange_closure1: function StylesheetParser__unicodeRange_closure1() {
  27852. },
  27853. StylesheetParser__unicodeRange_closure2: function StylesheetParser__unicodeRange_closure2() {
  27854. },
  27855. StylesheetParser_identifierLike_closure1: function StylesheetParser_identifierLike_closure1(t0) {
  27856. this._2_0 = t0;
  27857. },
  27858. StylesheetParser_identifierLike_closure2: function StylesheetParser_identifierLike_closure2(t0) {
  27859. this._2_0 = t0;
  27860. },
  27861. StylesheetParser_namespacedExpression_closure0: function StylesheetParser_namespacedExpression_closure0(t0, t1) {
  27862. this.$this = t0;
  27863. this.start = t1;
  27864. },
  27865. StylesheetParser_trySpecialFunction_closure0: function StylesheetParser_trySpecialFunction_closure0() {
  27866. },
  27867. StylesheetParser__tryUrlContents_closure0: function StylesheetParser__tryUrlContents_closure0(t0) {
  27868. this._0_0 = t0;
  27869. },
  27870. StylesheetParser__interpolatedDeclarationValue_closure4: function StylesheetParser__interpolatedDeclarationValue_closure4(t0) {
  27871. this._1_0 = t0;
  27872. },
  27873. StylesheetParser__interpolatedDeclarationValue_closure5: function StylesheetParser__interpolatedDeclarationValue_closure5(t0) {
  27874. this._1_0 = t0;
  27875. },
  27876. StylesheetParser__interpolatedDeclarationValue_closure6: function StylesheetParser__interpolatedDeclarationValue_closure6(t0) {
  27877. this._1_0 = t0;
  27878. },
  27879. StylesheetParser__interpolatedDeclarationValue_closure7: function StylesheetParser__interpolatedDeclarationValue_closure7(t0) {
  27880. this._1_0 = t0;
  27881. },
  27882. StylesheetParser__interpolatedDeclarationValue_closure8: function StylesheetParser__interpolatedDeclarationValue_closure8(t0) {
  27883. this._1_0 = t0;
  27884. },
  27885. StylesheetParser__expressionUntilComparison_closure0: function StylesheetParser__expressionUntilComparison_closure0(t0) {
  27886. this.$this = t0;
  27887. },
  27888. StylesheetParser__supportsConditionInParens_closure0: function StylesheetParser__supportsConditionInParens_closure0(t0) {
  27889. this._0_0 = t0;
  27890. },
  27891. StylesheetParser__publicIdentifier_closure0: function StylesheetParser__publicIdentifier_closure0(t0, t1) {
  27892. this.$this = t0;
  27893. this.start = t1;
  27894. },
  27895. Stylesheet$internal0(children, span, plainCss) {
  27896. var t1 = A._setArrayType([], type$.JSArray_UseRule_2),
  27897. t2 = A._setArrayType([], type$.JSArray_ForwardRule_2),
  27898. t3 = A.List_List$unmodifiable(children, type$.Statement_2),
  27899. t4 = B.JSArray_methods.any$1(t3, new A.ParentStatement_closure0());
  27900. t1 = new A.Stylesheet0(span, plainCss, t1, t2, t3, t4);
  27901. t1.Stylesheet$internal$3$plainCss0(children, span, plainCss);
  27902. return t1;
  27903. },
  27904. Stylesheet_Stylesheet$parse0(contents, syntax, logger, url) {
  27905. var error, stackTrace, url0, t1, exception, t2;
  27906. try {
  27907. switch (syntax) {
  27908. case B.Syntax_Sass_sass0:
  27909. t1 = A.SpanScanner$(contents, url);
  27910. t1 = new A.SassParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, logger, null).parse$0();
  27911. return t1;
  27912. case B.Syntax_SCSS_scss0:
  27913. t1 = A.ScssParser$0(contents, logger, url).parse$0();
  27914. return t1;
  27915. case B.Syntax_CSS_css0:
  27916. t1 = A.SpanScanner$(contents, url);
  27917. t1 = new A.CssParser0(A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.VariableDeclaration_2), t1, logger, null).parse$0();
  27918. return t1;
  27919. default:
  27920. t1 = A.ArgumentError$("Unknown syntax " + syntax.toString$0(0) + ".", null);
  27921. throw A.wrapException(t1);
  27922. }
  27923. } catch (exception) {
  27924. t1 = A.unwrapException(exception);
  27925. if (t1 instanceof A.SassException0) {
  27926. error = t1;
  27927. stackTrace = A.getTraceFromException(exception);
  27928. t1 = error;
  27929. t2 = J.getInterceptor$z(t1);
  27930. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1);
  27931. url0 = t1.get$sourceUrl(t1);
  27932. if (url0 == null || J.toString$0$(url0) === "stdin")
  27933. throw exception;
  27934. t1 = type$.Uri;
  27935. throw A.wrapException(A.throwWithTrace0(error.withLoadedUrls$1(A.Set_Set$unmodifiable(A.LinkedHashSet_LinkedHashSet$_literal([url0], t1), t1)), error, stackTrace));
  27936. } else
  27937. throw exception;
  27938. }
  27939. },
  27940. Stylesheet0: function Stylesheet0(t0, t1, t2, t3, t4, t5) {
  27941. var _ = this;
  27942. _.span = t0;
  27943. _.plainCss = t1;
  27944. _._stylesheet1$_uses = t2;
  27945. _._stylesheet1$_forwards = t3;
  27946. _.children = t4;
  27947. _.hasDeclarations = t5;
  27948. },
  27949. SupportsExpression0: function SupportsExpression0(t0) {
  27950. this.condition = t0;
  27951. },
  27952. ModifiableCssSupportsRule$0(condition, span) {
  27953. var t1 = A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  27954. return new A.ModifiableCssSupportsRule0(condition, span, new A.UnmodifiableListView(t1, type$.UnmodifiableListView_ModifiableCssNode_2), t1);
  27955. },
  27956. ModifiableCssSupportsRule0: function ModifiableCssSupportsRule0(t0, t1, t2, t3) {
  27957. var _ = this;
  27958. _.condition = t0;
  27959. _.span = t1;
  27960. _.children = t2;
  27961. _._node$_children = t3;
  27962. _._node$_indexInParent = _._node$_parent = null;
  27963. _.isGroupEnd = false;
  27964. },
  27965. SupportsRule$0(condition, children, span) {
  27966. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  27967. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  27968. return new A.SupportsRule0(condition, span, t1, t2);
  27969. },
  27970. SupportsRule0: function SupportsRule0(t0, t1, t2, t3) {
  27971. var _ = this;
  27972. _.condition = t0;
  27973. _.span = t1;
  27974. _.children = t2;
  27975. _.hasDeclarations = t3;
  27976. },
  27977. JSToDartImporter: function JSToDartImporter(t0, t1, t2) {
  27978. this._sync$_canonicalize = t0;
  27979. this._sync$_load = t1;
  27980. this._sync$_nonCanonicalSchemes = t2;
  27981. },
  27982. JSToDartImporter_canonicalize_closure: function JSToDartImporter_canonicalize_closure(t0, t1) {
  27983. this.$this = t0;
  27984. this.url = t1;
  27985. },
  27986. JSToDartImporter_load_closure: function JSToDartImporter_load_closure(t0, t1) {
  27987. this.$this = t0;
  27988. this.url = t1;
  27989. },
  27990. Syntax_forPath0(path) {
  27991. var t1,
  27992. _0_0 = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  27993. $label0$0: {
  27994. if (".sass" === _0_0) {
  27995. t1 = B.Syntax_Sass_sass0;
  27996. break $label0$0;
  27997. }
  27998. if (".css" === _0_0) {
  27999. t1 = B.Syntax_CSS_css0;
  28000. break $label0$0;
  28001. }
  28002. t1 = B.Syntax_SCSS_scss0;
  28003. break $label0$0;
  28004. }
  28005. return t1;
  28006. },
  28007. Syntax0: function Syntax0(t0, t1) {
  28008. this._syntax0$_name = t0;
  28009. this._name = t1;
  28010. },
  28011. TypeSelector0: function TypeSelector0(t0, t1) {
  28012. this.name = t0;
  28013. this.span = t1;
  28014. },
  28015. Types: function Types() {
  28016. },
  28017. UnaryOperationExpression0: function UnaryOperationExpression0(t0, t1, t2) {
  28018. this.operator = t0;
  28019. this.operand = t1;
  28020. this.span = t2;
  28021. },
  28022. UnaryOperator0: function UnaryOperator0(t0, t1, t2) {
  28023. this.name = t0;
  28024. this.operator = t1;
  28025. this._name = t2;
  28026. },
  28027. UnitlessSassNumber0: function UnitlessSassNumber0(t0, t1) {
  28028. this._number1$_value = t0;
  28029. this.hashCache = null;
  28030. this.asSlash = t1;
  28031. },
  28032. UniversalSelector0: function UniversalSelector0(t0, t1) {
  28033. this.namespace = t0;
  28034. this.span = t1;
  28035. },
  28036. UniversalSelector_unify_closure1: function UniversalSelector_unify_closure1(t0) {
  28037. this._0_0 = t0;
  28038. },
  28039. UniversalSelector_unify_closure2: function UniversalSelector_unify_closure2(t0) {
  28040. this._0_0 = t0;
  28041. },
  28042. UnprefixedMapView0: function UnprefixedMapView0(t0, t1, t2) {
  28043. this._unprefixed_map_view0$_map = t0;
  28044. this._unprefixed_map_view0$_prefix = t1;
  28045. this.$ti = t2;
  28046. },
  28047. _UnprefixedKeys0: function _UnprefixedKeys0(t0) {
  28048. this._unprefixed_map_view0$_view = t0;
  28049. },
  28050. _UnprefixedKeys_iterator_closure1: function _UnprefixedKeys_iterator_closure1(t0) {
  28051. this.$this = t0;
  28052. },
  28053. _UnprefixedKeys_iterator_closure2: function _UnprefixedKeys_iterator_closure2(t0) {
  28054. this.$this = t0;
  28055. },
  28056. JSUrl0: function JSUrl0() {
  28057. },
  28058. UseRule0: function UseRule0(t0, t1, t2, t3) {
  28059. var _ = this;
  28060. _.url = t0;
  28061. _.namespace = t1;
  28062. _.configuration = t2;
  28063. _.span = t3;
  28064. },
  28065. UserDefinedCallable0: function UserDefinedCallable0(t0, t1, t2, t3) {
  28066. var _ = this;
  28067. _.declaration = t0;
  28068. _.environment = t1;
  28069. _.inDependency = t2;
  28070. _.$ti = t3;
  28071. },
  28072. fromImport0() {
  28073. var t1 = A._asBoolQ($.Zone__current.$index(0, B.Symbol__inImportRule));
  28074. return t1 === true;
  28075. },
  28076. containingUrl() {
  28077. var t1, url,
  28078. _0_0 = $.Zone__current.$index(0, B.Symbol__containingUrl);
  28079. $label0$0: {
  28080. if (_0_0 == null)
  28081. A.throwExpression(A.StateError$("containingUrl may only be accessed within a call to canonicalize()."));
  28082. if (B.Symbol__none.$eq(0, _0_0)) {
  28083. t1 = null;
  28084. break $label0$0;
  28085. }
  28086. if (type$.Uri._is(_0_0)) {
  28087. url = _0_0;
  28088. t1 = true;
  28089. } else {
  28090. url = null;
  28091. t1 = false;
  28092. }
  28093. if (t1) {
  28094. t1 = url;
  28095. break $label0$0;
  28096. }
  28097. t1 = A.throwExpression(A.StateError$("Unexpected Zone.current[#_containingUrl] value " + A.S(_0_0) + "."));
  28098. }
  28099. return t1;
  28100. },
  28101. withContainingUrl0(url, callback, $T) {
  28102. var t1 = url == null ? B.Symbol__none : url,
  28103. t2 = type$.nullable_Object;
  28104. return A.runZoned(callback, A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__containingUrl, t1], t2, t2), $T);
  28105. },
  28106. resolveImportPath0(path) {
  28107. var t1,
  28108. extension = A.ParsedPath_ParsedPath$parse(path, $.$get$context().style)._splitExtension$1(1)[1];
  28109. if (extension === ".sass" || extension === ".scss" || extension === ".css") {
  28110. t1 = A.fromImport0() ? new A.resolveImportPath_closure1(path, extension).call$0() : null;
  28111. return t1 == null ? A._exactlyOne0(A._tryPath0(path)) : t1;
  28112. }
  28113. t1 = A.fromImport0() ? new A.resolveImportPath_closure2(path).call$0() : null;
  28114. if (t1 == null)
  28115. t1 = A._exactlyOne0(A._tryPathWithExtensions0(path));
  28116. return t1 == null ? A._tryPathAsDirectory0(path) : t1;
  28117. },
  28118. _tryPathWithExtensions0(path) {
  28119. var result = A._tryPath0(path + ".sass");
  28120. B.JSArray_methods.addAll$1(result, A._tryPath0(path + ".scss"));
  28121. return result.length !== 0 ? result : A._tryPath0(path + ".css");
  28122. },
  28123. _tryPath0(path) {
  28124. var t1 = $.$get$context(),
  28125. partial = A.join(t1.dirname$1(path), "_" + A.ParsedPath_ParsedPath$parse(path, t1.style).get$basename(), null);
  28126. t1 = A._setArrayType([], type$.JSArray_String);
  28127. if (A.fileExists0(partial))
  28128. t1.push(partial);
  28129. if (A.fileExists0(path))
  28130. t1.push(path);
  28131. return t1;
  28132. },
  28133. _tryPathAsDirectory0(path) {
  28134. var t1;
  28135. if (!A.dirExists0(path))
  28136. return null;
  28137. t1 = A.fromImport0() ? new A._tryPathAsDirectory_closure0(path).call$0() : null;
  28138. return t1 == null ? A._exactlyOne0(A._tryPathWithExtensions0(A.join(path, "index", null))) : t1;
  28139. },
  28140. _exactlyOne0(paths) {
  28141. var t1, path,
  28142. _0_1 = A._InitializedCell$(new A._exactlyOne_closure1(paths));
  28143. $label0$0: {
  28144. if (_0_1._readFinal$0() <= 0) {
  28145. t1 = null;
  28146. break $label0$0;
  28147. }
  28148. if (J.$eq$(_0_1._readFinal$0(), 1)) {
  28149. path = paths[0];
  28150. t1 = true;
  28151. } else {
  28152. path = null;
  28153. t1 = false;
  28154. }
  28155. if (t1) {
  28156. t1 = path;
  28157. break $label0$0;
  28158. }
  28159. t1 = A.throwExpression(string$.It_s_n + B.JSArray_methods.map$1$1(paths, new A._exactlyOne_closure2(), type$.String).join$1(0, "\n"));
  28160. }
  28161. return t1;
  28162. },
  28163. resolveImportPath_closure1: function resolveImportPath_closure1(t0, t1) {
  28164. this.path = t0;
  28165. this.extension = t1;
  28166. },
  28167. resolveImportPath_closure2: function resolveImportPath_closure2(t0) {
  28168. this.path = t0;
  28169. },
  28170. _tryPathAsDirectory_closure0: function _tryPathAsDirectory_closure0(t0) {
  28171. this.path = t0;
  28172. },
  28173. _exactlyOne_closure1: function _exactlyOne_closure1(t0) {
  28174. this._0_0 = t0;
  28175. },
  28176. _exactlyOne_closure2: function _exactlyOne_closure2() {
  28177. },
  28178. jsThrow(error) {
  28179. return type$.Never._as($.$get$_jsThrow().call$1(error));
  28180. },
  28181. attachJsStack(error, trace) {
  28182. var traceString = trace.toString$0(0),
  28183. firstRealLine = B.JSString_methods.indexOf$1(traceString, "\n at");
  28184. if (firstRealLine !== -1)
  28185. traceString = B.JSString_methods.substring$1(traceString, firstRealLine + 1);
  28186. error.stack = "Error: " + A.S(J.get$message$x(error)) + "\n" + traceString;
  28187. },
  28188. jsForEach(object, callback) {
  28189. var t1, t2;
  28190. for (t1 = J.get$iterator$ax(self.Object.keys(object)); t1.moveNext$0();) {
  28191. t2 = t1.get$current(t1);
  28192. callback.call$2(t2, object[t2]);
  28193. }
  28194. },
  28195. jsType(value) {
  28196. var typeOf = A._asString(new self.Function("value", "return typeof value").call$1(value));
  28197. return typeOf !== "object" ? typeOf : A._asString(new self.Function("value", ' if (value && value.constructor && value.constructor.name) {\n return value.constructor.name;\n }\n return "object";\n ').call$1(value));
  28198. },
  28199. defineGetter(object, $name, get, value) {
  28200. self.Object.defineProperty(object, $name, get == null ? {value: value, enumerable: false} : {get: A.allowInteropCaptureThis(get), enumerable: false});
  28201. },
  28202. allowInteropNamed($name, $function) {
  28203. $function = A.allowInterop($function);
  28204. A.defineGetter($function, "name", null, $name);
  28205. A._hideDartProperties($function);
  28206. return $function;
  28207. },
  28208. allowInteropCaptureThisNamed($name, $function) {
  28209. $function = A.allowInteropCaptureThis($function);
  28210. A.defineGetter($function, "name", null, $name);
  28211. A._hideDartProperties($function);
  28212. return $function;
  28213. },
  28214. _hideDartProperties(object) {
  28215. var t1, t2, t3, t4;
  28216. 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();) {
  28217. t3 = t1.__internal$_current;
  28218. if (t3 == null)
  28219. t3 = t2._as(t3);
  28220. if (B.JSString_methods.startsWith$1(t3, "_")) {
  28221. t4 = {value: object[t3], enumerable: false};
  28222. self.Object.defineProperty(object, t3, t4);
  28223. }
  28224. }
  28225. },
  28226. futureToPromise0(future) {
  28227. return new self.Promise(A.allowInterop(new A.futureToPromise_closure0(future)));
  28228. },
  28229. jsToDartUrl(url) {
  28230. return A.Uri_parse(J.toString$0$(url));
  28231. },
  28232. dartToJSUrl(url) {
  28233. return new self.URL(url.toString$0(0));
  28234. },
  28235. toJSArray(iterable) {
  28236. var t1, t2,
  28237. array = new self.Array();
  28238. for (t1 = J.get$iterator$ax(iterable), t2 = J.getInterceptor$x(array); t1.moveNext$0();)
  28239. t2.push$1(array, t1.get$current(t1));
  28240. return array;
  28241. },
  28242. objectToMap(object) {
  28243. var map = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.nullable_Object);
  28244. A.jsForEach(object, new A.objectToMap_closure(map));
  28245. return map;
  28246. },
  28247. jsToDartSeparator(separator) {
  28248. var t1;
  28249. $label0$0: {
  28250. if (" " === separator) {
  28251. t1 = B.ListSeparator_EVt0;
  28252. break $label0$0;
  28253. }
  28254. if ("," === separator) {
  28255. t1 = B.ListSeparator_rXA0;
  28256. break $label0$0;
  28257. }
  28258. if ("/" === separator) {
  28259. t1 = B.ListSeparator_zg90;
  28260. break $label0$0;
  28261. }
  28262. if (separator == null) {
  28263. t1 = B.ListSeparator_undecided_null_undecided0;
  28264. break $label0$0;
  28265. }
  28266. t1 = A.jsThrow(new self.Error('Unknown separator "' + separator + '".'));
  28267. }
  28268. return t1;
  28269. },
  28270. parseSyntax(syntax) {
  28271. var t1;
  28272. $label0$0: {
  28273. if (syntax == null || "scss" === syntax) {
  28274. t1 = B.Syntax_SCSS_scss0;
  28275. break $label0$0;
  28276. }
  28277. if ("indented" === syntax) {
  28278. t1 = B.Syntax_Sass_sass0;
  28279. break $label0$0;
  28280. }
  28281. if ("css" === syntax) {
  28282. t1 = B.Syntax_CSS_css0;
  28283. break $label0$0;
  28284. }
  28285. t1 = A.jsThrow(new self.Error('Unknown syntax "' + A.S(syntax) + '".'));
  28286. }
  28287. return t1;
  28288. },
  28289. _PropertyDescriptor0: function _PropertyDescriptor0() {
  28290. },
  28291. futureToPromise_closure0: function futureToPromise_closure0(t0) {
  28292. this.future = t0;
  28293. },
  28294. futureToPromise__closure0: function futureToPromise__closure0(t0) {
  28295. this.resolve = t0;
  28296. },
  28297. futureToPromise__closure1: function futureToPromise__closure1(t0) {
  28298. this.reject = t0;
  28299. },
  28300. objectToMap_closure: function objectToMap_closure(t0) {
  28301. this.map = t0;
  28302. },
  28303. toSentence0(iter, conjunction) {
  28304. if (iter.get$length(iter) === 1)
  28305. return J.toString$0$(iter.get$first(iter));
  28306. return A.IterableExtension_get_exceptLast0(iter).join$1(0, ", ") + (" " + conjunction + " " + A.S(iter.get$last(iter)));
  28307. },
  28308. indent0(string, indentation) {
  28309. 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");
  28310. },
  28311. pluralize0($name, number, plural) {
  28312. if (number === 1)
  28313. return $name;
  28314. if (plural != null)
  28315. return plural;
  28316. return $name + "s";
  28317. },
  28318. trimAscii0(string, excludeEscape) {
  28319. var t1,
  28320. start = A._firstNonWhitespace0(string);
  28321. if (start == null)
  28322. t1 = "";
  28323. else {
  28324. t1 = A._lastNonWhitespace0(string, true);
  28325. t1.toString;
  28326. t1 = B.JSString_methods.substring$2(string, start, t1 + 1);
  28327. }
  28328. return t1;
  28329. },
  28330. trimAsciiRight0(string, excludeEscape) {
  28331. var end = A._lastNonWhitespace0(string, excludeEscape);
  28332. return end == null ? "" : B.JSString_methods.substring$2(string, 0, end + 1);
  28333. },
  28334. _firstNonWhitespace0(string) {
  28335. var t1, i, t2;
  28336. for (t1 = string.length, i = 0; i < t1; ++i) {
  28337. t2 = string.charCodeAt(i);
  28338. if (!(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12))
  28339. return i;
  28340. }
  28341. return null;
  28342. },
  28343. _lastNonWhitespace0(string, excludeEscape) {
  28344. var i, i0, codeUnit;
  28345. for (i = string.length - 1, i0 = i; i0 >= 0; --i0) {
  28346. codeUnit = string.charCodeAt(i0);
  28347. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12))
  28348. if (excludeEscape && i0 !== 0 && i0 !== i && codeUnit === 92)
  28349. return i0 + 1;
  28350. else
  28351. return i0;
  28352. }
  28353. return null;
  28354. },
  28355. isPublic0(member) {
  28356. var start = member.charCodeAt(0);
  28357. return start !== 45 && start !== 95;
  28358. },
  28359. flattenVertically0(iterable, $T) {
  28360. var result,
  28361. t1 = iterable.$ti._eval$1("@<ListIterable.E>")._bind$1($T._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),
  28362. queues = A.List_List$of(new A.MappedListIterable(iterable, new A.flattenVertically_closure1($T), t1), true, t1._eval$1("ListIterable.E"));
  28363. if (queues.length === 1)
  28364. return B.JSArray_methods.get$first(queues);
  28365. result = A._setArrayType([], $T._eval$1("JSArray<0>"));
  28366. for (; queues.length !== 0;) {
  28367. if (!!queues.fixed$length)
  28368. A.throwExpression(A.UnsupportedError$("removeWhere"));
  28369. B.JSArray_methods._removeWhere$2(queues, new A.flattenVertically_closure2(result, $T), true);
  28370. }
  28371. return result;
  28372. },
  28373. codepointIndexToCodeUnitIndex0(string, codepointIndex) {
  28374. var codeUnitIndex, i, codeUnitIndex0;
  28375. for (codeUnitIndex = 0, i = 0; i < codepointIndex; ++i) {
  28376. codeUnitIndex0 = codeUnitIndex + 1;
  28377. codeUnitIndex = string.charCodeAt(codeUnitIndex) >>> 10 === 54 ? codeUnitIndex0 + 1 : codeUnitIndex0;
  28378. }
  28379. return codeUnitIndex;
  28380. },
  28381. codeUnitIndexToCodepointIndex0(string, codeUnitIndex) {
  28382. var codepointIndex, i;
  28383. for (codepointIndex = 0, i = 0; i < codeUnitIndex; i = (string.charCodeAt(i) >>> 10 === 54 ? i + 1 : i) + 1)
  28384. ++codepointIndex;
  28385. return codepointIndex;
  28386. },
  28387. frameForSpan0(span, member, url) {
  28388. var t2, t3,
  28389. t1 = url == null ? span.get$sourceUrl(span) : url;
  28390. if (t1 == null)
  28391. t1 = $.$get$_noSourceUrl0();
  28392. t2 = span.get$start(span);
  28393. t2 = t2.file.getLine$1(t2.offset);
  28394. t3 = span.get$start(span);
  28395. return new A.Frame(t1, t2 + 1, t3.file.getColumn$1(t3.offset) + 1, member);
  28396. },
  28397. declarationName0(span) {
  28398. var text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(span.file._decodedChars, span._file$_start, span._end), 0, null);
  28399. return A.trimAsciiRight0(B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":")), false);
  28400. },
  28401. unvendor0($name) {
  28402. var i,
  28403. t1 = $name.length;
  28404. if (t1 < 2)
  28405. return $name;
  28406. if ($name.charCodeAt(0) !== 45)
  28407. return $name;
  28408. if ($name.charCodeAt(1) === 45)
  28409. return $name;
  28410. for (i = 2; i < t1; ++i)
  28411. if ($name.charCodeAt(i) === 45)
  28412. return B.JSString_methods.substring$1($name, i + 1);
  28413. return $name;
  28414. },
  28415. equalsIgnoreCase0(string1, string2) {
  28416. var t1, i;
  28417. if (string1 === string2)
  28418. return true;
  28419. if (string1 == null || false)
  28420. return false;
  28421. t1 = string1.length;
  28422. if (t1 !== string2.length)
  28423. return false;
  28424. for (i = 0; i < t1; ++i)
  28425. if (!A.characterEqualsIgnoreCase0(string1.charCodeAt(i), string2.charCodeAt(i)))
  28426. return false;
  28427. return true;
  28428. },
  28429. startsWithIgnoreCase0(string, prefix) {
  28430. var i,
  28431. t1 = prefix.length;
  28432. if (string.length < t1)
  28433. return false;
  28434. for (i = 0; i < t1; ++i)
  28435. if (!A.characterEqualsIgnoreCase0(string.charCodeAt(i), prefix.charCodeAt(i)))
  28436. return false;
  28437. return true;
  28438. },
  28439. mapInPlace0(list, $function) {
  28440. var i;
  28441. for (i = 0; i < list.length; ++i)
  28442. list[i] = $function.call$1(list[i]);
  28443. },
  28444. longestCommonSubsequence0(list1, list2, select, $T) {
  28445. var t1, _i, selections, i, i0, j, selection, j0,
  28446. _length = list1.get$length(list1) + 1,
  28447. lengths = J.JSArray_JSArray$allocateFixed(_length, type$.List_int);
  28448. for (t1 = type$.int, _i = 0; _i < _length; ++_i)
  28449. lengths[_i] = A.List_List$filled(((list2._queue_list$_tail - list2._queue_list$_head & J.get$length$asx(list2._queue_list$_table) - 1) >>> 0) + 1, 0, false, t1);
  28450. _length = list1.get$length(list1);
  28451. selections = J.JSArray_JSArray$allocateFixed(_length, $T._eval$1("List<0?>"));
  28452. for (t1 = $T._eval$1("0?"), _i = 0; _i < _length; ++_i)
  28453. selections[_i] = A.List_List$filled((list2._queue_list$_tail - list2._queue_list$_head & J.get$length$asx(list2._queue_list$_table) - 1) >>> 0, null, false, t1);
  28454. for (i = 0; i < (list1._queue_list$_tail - list1._queue_list$_head & J.get$length$asx(list1._queue_list$_table) - 1) >>> 0; i = i0)
  28455. for (i0 = i + 1, j = 0; j < (list2._queue_list$_tail - list2._queue_list$_head & J.get$length$asx(list2._queue_list$_table) - 1) >>> 0; j = j0) {
  28456. selection = select.call$2(list1.$index(0, i), list2.$index(0, j));
  28457. selections[i][j] = selection;
  28458. t1 = lengths[i0];
  28459. j0 = j + 1;
  28460. t1[j0] = selection == null ? Math.max(t1[j], lengths[i][j0]) : lengths[i][j] + 1;
  28461. }
  28462. return new A.longestCommonSubsequence_backtrack0(selections, lengths, $T).call$2(list1.get$length(list1) - 1, list2.get$length(list2) - 1);
  28463. },
  28464. removeFirstWhere0(list, test, orElse) {
  28465. var i;
  28466. for (i = 0; i < list.length; ++i) {
  28467. if (!test.call$1(list[i]))
  28468. continue;
  28469. B.JSArray_methods.removeAt$1(list, i);
  28470. return;
  28471. }
  28472. orElse.call$0();
  28473. },
  28474. mapAddAll20(destination, source, K1, K2, $V) {
  28475. source.forEach$1(0, new A.mapAddAll2_closure0(destination, K1, K2, $V));
  28476. },
  28477. setAll0(map, keys, value) {
  28478. var t1;
  28479. for (t1 = J.get$iterator$ax(keys); t1.moveNext$0();)
  28480. map.$indexSet(0, t1.get$current(t1), value);
  28481. },
  28482. rotateSlice0(list, start, end) {
  28483. var i, next,
  28484. element = list.$index(0, end - 1);
  28485. for (i = start; i < end; ++i, element = next) {
  28486. next = list.$index(0, i);
  28487. list.$indexSet(0, i, element);
  28488. }
  28489. },
  28490. mapAsync0(iterable, callback, $E, $F) {
  28491. return A.mapAsync$body0(iterable, callback, $E, $F, $F._eval$1("Iterable<0>"));
  28492. },
  28493. mapAsync$body0(iterable, callback, $E, $F, $async$type) {
  28494. var $async$goto = 0,
  28495. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  28496. $async$returnValue, t2, _i, t1, $async$temp1;
  28497. var $async$mapAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  28498. if ($async$errorCode === 1)
  28499. return A._asyncRethrow($async$result, $async$completer);
  28500. while (true)
  28501. switch ($async$goto) {
  28502. case 0:
  28503. // Function start
  28504. t1 = A._setArrayType([], $F._eval$1("JSArray<0>"));
  28505. t2 = iterable.length, _i = 0;
  28506. case 3:
  28507. // for condition
  28508. if (!(_i < t2)) {
  28509. // goto after for
  28510. $async$goto = 5;
  28511. break;
  28512. }
  28513. $async$temp1 = t1;
  28514. $async$goto = 6;
  28515. return A._asyncAwait(callback.call$1(iterable[_i]), $async$mapAsync0);
  28516. case 6:
  28517. // returning from await.
  28518. $async$temp1.push($async$result);
  28519. case 4:
  28520. // for update
  28521. ++_i;
  28522. // goto for condition
  28523. $async$goto = 3;
  28524. break;
  28525. case 5:
  28526. // after for
  28527. $async$returnValue = t1;
  28528. // goto return
  28529. $async$goto = 1;
  28530. break;
  28531. case 1:
  28532. // return
  28533. return A._asyncReturn($async$returnValue, $async$completer);
  28534. }
  28535. });
  28536. return A._asyncStartSync($async$mapAsync0, $async$completer);
  28537. },
  28538. putIfAbsentAsync0(map, key, ifAbsent, $K, $V) {
  28539. return A.putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $V);
  28540. },
  28541. putIfAbsentAsync$body0(map, key, ifAbsent, $K, $V, $async$type) {
  28542. var $async$goto = 0,
  28543. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  28544. $async$returnValue, t1, value;
  28545. var $async$putIfAbsentAsync0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  28546. if ($async$errorCode === 1)
  28547. return A._asyncRethrow($async$result, $async$completer);
  28548. while (true)
  28549. switch ($async$goto) {
  28550. case 0:
  28551. // Function start
  28552. if (map.containsKey$1(key)) {
  28553. t1 = map.$index(0, key);
  28554. $async$returnValue = t1 == null ? $V._as(t1) : t1;
  28555. // goto return
  28556. $async$goto = 1;
  28557. break;
  28558. }
  28559. $async$goto = 3;
  28560. return A._asyncAwait(ifAbsent.call$0(), $async$putIfAbsentAsync0);
  28561. case 3:
  28562. // returning from await.
  28563. value = $async$result;
  28564. map.$indexSet(0, key, value);
  28565. $async$returnValue = value;
  28566. // goto return
  28567. $async$goto = 1;
  28568. break;
  28569. case 1:
  28570. // return
  28571. return A._asyncReturn($async$returnValue, $async$completer);
  28572. }
  28573. });
  28574. return A._asyncStartSync($async$putIfAbsentAsync0, $async$completer);
  28575. },
  28576. copyMapOfMap0(map, K1, K2, $V) {
  28577. var t3, key, child,
  28578. t1 = K2._eval$1("@<0>")._bind$1($V)._eval$1("Map<1,2>"),
  28579. t2 = A.LinkedHashMap_LinkedHashMap$_empty(K1, t1);
  28580. for (t1 = A.MapExtensions_get_pairs0(map, K1, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  28581. t3 = t1.get$current(t1);
  28582. key = t3._0;
  28583. child = t3._1;
  28584. t3 = A.LinkedHashMap_LinkedHashMap(null, null, null, K2, $V);
  28585. t3.addAll$1(0, child);
  28586. t2.$indexSet(0, key, t3);
  28587. }
  28588. return t2;
  28589. },
  28590. copyMapOfList0(map, $K, $E) {
  28591. var t3,
  28592. t1 = $E._eval$1("List<0>"),
  28593. t2 = A.LinkedHashMap_LinkedHashMap$_empty($K, t1);
  28594. for (t1 = A.MapExtensions_get_pairs0(map, $K, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  28595. t3 = t1.get$current(t1);
  28596. t2.$indexSet(0, t3._0, J.toList$0$ax(t3._1));
  28597. }
  28598. return t2;
  28599. },
  28600. consumeEscapedCharacter0(scanner) {
  28601. var _1_0, value, i, next, t1;
  28602. scanner.expectChar$1(92);
  28603. _1_0 = scanner.peekChar$0();
  28604. if (_1_0 == null)
  28605. return 65533;
  28606. if (_1_0 === 10 || _1_0 === 13 || _1_0 === 12)
  28607. scanner.error$1(0, "Expected escape sequence.");
  28608. if (A.CharacterExtension_get_isHex0(_1_0)) {
  28609. for (value = 0, i = 0; i < 6; ++i) {
  28610. next = scanner.peekChar$0();
  28611. if (next != null) {
  28612. if (!(next >= 48 && next <= 57))
  28613. if (!(next >= 97 && next <= 102))
  28614. t1 = next >= 65 && next <= 70;
  28615. else
  28616. t1 = true;
  28617. else
  28618. t1 = true;
  28619. t1 = !t1;
  28620. } else
  28621. t1 = true;
  28622. if (t1)
  28623. break;
  28624. value = (value << 4 >>> 0) + A.asHex0(scanner.readChar$0());
  28625. }
  28626. t1 = scanner.peekChar$0();
  28627. if (t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12)
  28628. scanner.readChar$0();
  28629. $label0$1: {
  28630. if (0 !== value)
  28631. t1 = value >= 55296 && value <= 57343 || value >= 1114111;
  28632. else
  28633. t1 = true;
  28634. if (t1) {
  28635. t1 = 65533;
  28636. break $label0$1;
  28637. }
  28638. t1 = value;
  28639. break $label0$1;
  28640. }
  28641. return t1;
  28642. }
  28643. return scanner.readChar$0();
  28644. },
  28645. throwWithTrace0(error, originalError, trace) {
  28646. var t1 = A.getTrace0(originalError);
  28647. A.attachTrace0(error, t1 == null ? trace : t1);
  28648. throw A.wrapException(error);
  28649. },
  28650. attachTrace0(error, trace) {
  28651. var t1;
  28652. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  28653. return;
  28654. if (trace.toString$0(0).length === 0)
  28655. return;
  28656. t1 = $.$get$_traces0();
  28657. A.Expando__checkType(error);
  28658. if (t1._jsWeakMap.get(error) == null)
  28659. t1.$indexSet(0, error, trace);
  28660. },
  28661. getTrace0(error) {
  28662. var t1;
  28663. if (typeof error == "string" || typeof error == "number" || A._isBool(error))
  28664. t1 = null;
  28665. else {
  28666. t1 = $.$get$_traces0();
  28667. A.Expando__checkType(error);
  28668. t1 = t1._jsWeakMap.get(error);
  28669. }
  28670. return t1;
  28671. },
  28672. parseSignature(signature, requireParens) {
  28673. var error, stackTrace, t1, exception, t2;
  28674. try {
  28675. t1 = A.ScssParser$0(signature, null, null).parseSignature$1$requireParens(requireParens);
  28676. return t1;
  28677. } catch (exception) {
  28678. t1 = A.unwrapException(exception);
  28679. if (type$.SassFormatException_2._is(t1)) {
  28680. error = t1;
  28681. stackTrace = A.getTraceFromException(exception);
  28682. t1 = error._span_exception$_message;
  28683. t2 = J.get$span$z(error);
  28684. A.throwWithTrace0(new A.SassFormatException0(B.Set_empty, 'Invalid signature "' + signature + '": ' + t1, t2), error, stackTrace);
  28685. } else
  28686. throw exception;
  28687. }
  28688. },
  28689. indent_closure0: function indent_closure0(t0) {
  28690. this.indentation = t0;
  28691. },
  28692. flattenVertically_closure1: function flattenVertically_closure1(t0) {
  28693. this.T = t0;
  28694. },
  28695. flattenVertically_closure2: function flattenVertically_closure2(t0, t1) {
  28696. this.result = t0;
  28697. this.T = t1;
  28698. },
  28699. longestCommonSubsequence_backtrack0: function longestCommonSubsequence_backtrack0(t0, t1, t2) {
  28700. this.selections = t0;
  28701. this.lengths = t1;
  28702. this.T = t2;
  28703. },
  28704. mapAddAll2_closure0: function mapAddAll2_closure0(t0, t1, t2, t3) {
  28705. var _ = this;
  28706. _.destination = t0;
  28707. _.K1 = t1;
  28708. _.K2 = t2;
  28709. _.V = t3;
  28710. },
  28711. CssValue0: function CssValue0(t0, t1, t2) {
  28712. this.value = t0;
  28713. this.span = t1;
  28714. this.$ti = t2;
  28715. },
  28716. ValueExpression0: function ValueExpression0(t0, t1) {
  28717. this.value = t0;
  28718. this.span = t1;
  28719. },
  28720. valueClass_closure: function valueClass_closure() {
  28721. },
  28722. valueClass__closure: function valueClass__closure() {
  28723. },
  28724. valueClass__closure0: function valueClass__closure0() {
  28725. },
  28726. valueClass__closure1: function valueClass__closure1() {
  28727. },
  28728. valueClass__closure2: function valueClass__closure2() {
  28729. },
  28730. valueClass__closure3: function valueClass__closure3() {
  28731. },
  28732. valueClass__closure4: function valueClass__closure4() {
  28733. },
  28734. valueClass__closure5: function valueClass__closure5() {
  28735. },
  28736. valueClass__closure6: function valueClass__closure6() {
  28737. },
  28738. valueClass__closure7: function valueClass__closure7() {
  28739. },
  28740. valueClass__closure8: function valueClass__closure8() {
  28741. },
  28742. valueClass__closure9: function valueClass__closure9() {
  28743. },
  28744. valueClass__closure10: function valueClass__closure10() {
  28745. },
  28746. valueClass__closure11: function valueClass__closure11() {
  28747. },
  28748. valueClass__closure12: function valueClass__closure12() {
  28749. },
  28750. valueClass__closure13: function valueClass__closure13() {
  28751. },
  28752. valueClass__closure14: function valueClass__closure14() {
  28753. },
  28754. valueClass__closure15: function valueClass__closure15() {
  28755. },
  28756. valueClass__closure16: function valueClass__closure16() {
  28757. },
  28758. valueClass__closure17: function valueClass__closure17() {
  28759. },
  28760. valueClass__closure18: function valueClass__closure18() {
  28761. },
  28762. SassApiValue_assertSelector0(_this, allowParent, $name) {
  28763. var error, stackTrace, t1, exception,
  28764. string = _this._value$_selectorString$1($name);
  28765. try {
  28766. t1 = A.SelectorList_SelectorList$parse0(string, allowParent, true, null, null);
  28767. return t1;
  28768. } catch (exception) {
  28769. t1 = A.unwrapException(exception);
  28770. if (type$.SassFormatException_2._is(t1)) {
  28771. error = t1;
  28772. stackTrace = A.getTraceFromException(exception);
  28773. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  28774. A.throwWithTrace0(new A.SassScriptException0($name == null ? t1 : "$" + $name + ": " + t1), error, stackTrace);
  28775. } else
  28776. throw exception;
  28777. }
  28778. },
  28779. SassApiValue_assertCompoundSelector0(_this, $name) {
  28780. var error, stackTrace, t1, exception,
  28781. allowParent = false,
  28782. string = _this._value$_selectorString$1($name);
  28783. try {
  28784. t1 = A.SelectorParser$0(string, allowParent, true, null, null, null).parseCompoundSelector$0();
  28785. return t1;
  28786. } catch (exception) {
  28787. t1 = A.unwrapException(exception);
  28788. if (type$.SassFormatException_2._is(t1)) {
  28789. error = t1;
  28790. stackTrace = A.getTraceFromException(exception);
  28791. t1 = B.JSString_methods.replaceFirst$2(J.toString$0$(error), "Error: ", "");
  28792. A.throwWithTrace0(new A.SassScriptException0("$" + $name + ": " + t1), error, stackTrace);
  28793. } else
  28794. throw exception;
  28795. }
  28796. },
  28797. Value0: function Value0() {
  28798. },
  28799. VariableExpression0: function VariableExpression0(t0, t1, t2) {
  28800. this.namespace = t0;
  28801. this.name = t1;
  28802. this.span = t2;
  28803. },
  28804. VariableDeclaration$0($name, expression, span, comment, global, guarded, namespace) {
  28805. if (namespace != null && global)
  28806. A.throwExpression(A.ArgumentError$(string$.Other_, null));
  28807. return new A.VariableDeclaration0(namespace, $name, expression, guarded, global, span);
  28808. },
  28809. VariableDeclaration0: function VariableDeclaration0(t0, t1, t2, t3, t4, t5) {
  28810. var _ = this;
  28811. _.namespace = t0;
  28812. _.name = t1;
  28813. _.expression = t2;
  28814. _.isGuarded = t3;
  28815. _.isGlobal = t4;
  28816. _.span = t5;
  28817. },
  28818. WarnRule0: function WarnRule0(t0, t1) {
  28819. this.expression = t0;
  28820. this.span = t1;
  28821. },
  28822. WhileRule$0(condition, children, span) {
  28823. var t1 = A.List_List$unmodifiable(children, type$.Statement_2),
  28824. t2 = B.JSArray_methods.any$1(t1, new A.ParentStatement_closure0());
  28825. return new A.WhileRule0(condition, span, t1, t2);
  28826. },
  28827. WhileRule0: function WhileRule0(t0, t1, t2, t3) {
  28828. var _ = this;
  28829. _.condition = t0;
  28830. _.span = t1;
  28831. _.children = t2;
  28832. _.hasDeclarations = t3;
  28833. },
  28834. AsyncCallable_AsyncCallable$fromSignature(signature, callback, requireParens) {
  28835. var _0_0 = A.parseSignature(signature, requireParens);
  28836. return new A.AsyncBuiltInCallable0(_0_0._0, _0_0._1, callback, false);
  28837. },
  28838. Callable_Callable$fromSignature(signature, callback, requireParens) {
  28839. var _0_0 = A.parseSignature(signature, requireParens);
  28840. return new A.BuiltInCallable0(_0_0._0, A._setArrayType([new A._Record_2(_0_0._1, callback)], type$.JSArray_Record_2_ArgumentDeclaration_and_Value_Function_List_Value_2), false);
  28841. },
  28842. printString(string) {
  28843. if (typeof dartPrint == "function") {
  28844. dartPrint(string);
  28845. return;
  28846. }
  28847. if (typeof console == "object" && typeof console.log != "undefined") {
  28848. console.log(string);
  28849. return;
  28850. }
  28851. if (typeof print == "function") {
  28852. print(string);
  28853. return;
  28854. }
  28855. throw "Unable to print message: " + String(string);
  28856. },
  28857. mergeMaps(map1, map2, $K, $V) {
  28858. var result = A.LinkedHashMap_LinkedHashMap$of(map1, $K, $V);
  28859. result.addAll$1(0, map2);
  28860. return result;
  28861. },
  28862. groupBy(values, key, $S, $T) {
  28863. var t1, t2, _i, element, t3, t4,
  28864. map = A.LinkedHashMap_LinkedHashMap$_empty($T, $S._eval$1("List<0>"));
  28865. for (t1 = values.length, t2 = $S._eval$1("JSArray<0>"), _i = 0; _i < values.length; values.length === t1 || (0, A.throwConcurrentModificationError)(values), ++_i) {
  28866. element = values[_i];
  28867. t3 = key.call$1(element);
  28868. t4 = map.$index(0, t3);
  28869. if (t4 == null) {
  28870. t4 = A._setArrayType([], t2);
  28871. map.$indexSet(0, t3, t4);
  28872. t3 = t4;
  28873. } else
  28874. t3 = t4;
  28875. J.add$1$ax(t3, element);
  28876. }
  28877. return map;
  28878. },
  28879. minBy(values, orderBy) {
  28880. var t1, t2, minValue, minOrderBy, element, elementOrderBy;
  28881. 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();) {
  28882. element = t1.__internal$_current;
  28883. if (element == null)
  28884. element = t2._as(element);
  28885. elementOrderBy = orderBy.call$1(element);
  28886. if (minOrderBy == null || A.defaultCompare(elementOrderBy, minOrderBy) < 0) {
  28887. minOrderBy = elementOrderBy;
  28888. minValue = element;
  28889. }
  28890. }
  28891. return minValue;
  28892. },
  28893. IterableExtension_firstWhereOrNull(_this, test) {
  28894. var t1, element;
  28895. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  28896. element = t1.get$current(t1);
  28897. if (test.call$1(element))
  28898. return element;
  28899. }
  28900. return null;
  28901. },
  28902. IterableExtension_get_firstOrNull(_this) {
  28903. var iterator = J.get$iterator$ax(_this);
  28904. if (iterator.moveNext$0())
  28905. return iterator.get$current(iterator);
  28906. return null;
  28907. },
  28908. IterableExtension_get_lastOrNull(_this) {
  28909. if (_this.get$length(_this) === 0)
  28910. return null;
  28911. return _this.get$last(_this);
  28912. },
  28913. IterableExtension_get_singleOrNull(_this) {
  28914. var result,
  28915. iterator = J.get$iterator$ax(_this);
  28916. if (iterator.moveNext$0()) {
  28917. result = iterator.get$current(iterator);
  28918. if (!iterator.moveNext$0())
  28919. return result;
  28920. }
  28921. return null;
  28922. },
  28923. IterableNullableExtension_whereNotNull(_this, $T) {
  28924. return new A._SyncStarIterable(A.IterableNullableExtension_whereNotNull$body(_this, $T), $T._eval$1("_SyncStarIterable<0>"));
  28925. },
  28926. IterableNullableExtension_whereNotNull$body($async$_this, $async$$T) {
  28927. return function() {
  28928. var _this = $async$_this,
  28929. $T = $async$$T;
  28930. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, element;
  28931. return function $async$IterableNullableExtension_whereNotNull($async$iterator, $async$errorCode, $async$result) {
  28932. if ($async$errorCode === 1) {
  28933. $async$currentError = $async$result;
  28934. $async$goto = $async$handler;
  28935. }
  28936. while (true)
  28937. switch ($async$goto) {
  28938. case 0:
  28939. // Function start
  28940. t1 = J.get$iterator$ax(_this);
  28941. case 2:
  28942. // for condition
  28943. if (!t1.moveNext$0()) {
  28944. // goto after for
  28945. $async$goto = 3;
  28946. break;
  28947. }
  28948. element = t1.get$current(t1);
  28949. $async$goto = element != null ? 4 : 5;
  28950. break;
  28951. case 4:
  28952. // then
  28953. $async$goto = 6;
  28954. return $async$iterator._async$_current = element, 1;
  28955. case 6:
  28956. // after yield
  28957. case 5:
  28958. // join
  28959. // goto for condition
  28960. $async$goto = 2;
  28961. break;
  28962. case 3:
  28963. // after for
  28964. // implicit return
  28965. return 0;
  28966. case 1:
  28967. // rethrow
  28968. return $async$iterator._datum = $async$currentError, 3;
  28969. }
  28970. };
  28971. };
  28972. },
  28973. IterableIntegerExtension_get_maxOrNull(_this) {
  28974. var value, t1, newValue,
  28975. iterator = new A.ListIterator(_this, _this.get$length(_this));
  28976. if (iterator.moveNext$0()) {
  28977. value = iterator.__internal$_current;
  28978. if (value == null)
  28979. value = A._instanceType(iterator)._precomputed1._as(value);
  28980. for (t1 = A._instanceType(iterator)._precomputed1; iterator.moveNext$0();) {
  28981. newValue = iterator.__internal$_current;
  28982. if (newValue == null)
  28983. newValue = t1._as(newValue);
  28984. if (newValue > value)
  28985. value = newValue;
  28986. }
  28987. return value;
  28988. }
  28989. return null;
  28990. },
  28991. IterableIntegerExtension_get_max(_this) {
  28992. var t1 = A.IterableIntegerExtension_get_maxOrNull(_this);
  28993. return t1 == null ? A.throwExpression(A.StateError$("No element")) : t1;
  28994. },
  28995. IterableIntegerExtension_get_sum(_this) {
  28996. var t1, t2, result, t3;
  28997. 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();) {
  28998. t3 = t1.__internal$_current;
  28999. result += t3 == null ? t2._as(t3) : t3;
  29000. }
  29001. return result;
  29002. },
  29003. ListExtensions_mapIndexed(_this, convert, $E, $R) {
  29004. return new A._SyncStarIterable(A.ListExtensions_mapIndexed$body(_this, convert, $E, $R), $R._eval$1("_SyncStarIterable<0>"));
  29005. },
  29006. ListExtensions_mapIndexed$body($async$_this, $async$convert, $async$$E, $async$$R) {
  29007. return function() {
  29008. var _this = $async$_this,
  29009. convert = $async$convert,
  29010. $E = $async$$E,
  29011. $R = $async$$R;
  29012. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, index;
  29013. return function $async$ListExtensions_mapIndexed($async$iterator, $async$errorCode, $async$result) {
  29014. if ($async$errorCode === 1) {
  29015. $async$currentError = $async$result;
  29016. $async$goto = $async$handler;
  29017. }
  29018. while (true)
  29019. switch ($async$goto) {
  29020. case 0:
  29021. // Function start
  29022. t1 = _this.length, index = 0;
  29023. case 2:
  29024. // for condition
  29025. if (!(index < t1)) {
  29026. // goto after for
  29027. $async$goto = 4;
  29028. break;
  29029. }
  29030. $async$goto = 5;
  29031. return $async$iterator._async$_current = convert.call$2(index, _this[index]), 1;
  29032. case 5:
  29033. // after yield
  29034. case 3:
  29035. // for update
  29036. ++index;
  29037. // goto for condition
  29038. $async$goto = 2;
  29039. break;
  29040. case 4:
  29041. // after for
  29042. // implicit return
  29043. return 0;
  29044. case 1:
  29045. // rethrow
  29046. return $async$iterator._datum = $async$currentError, 3;
  29047. }
  29048. };
  29049. };
  29050. },
  29051. ListExtensions_elementAtOrNull(_this, index) {
  29052. var t1 = J.getInterceptor$asx(_this);
  29053. return index < t1.get$length(_this) ? t1.$index(_this, index) : null;
  29054. },
  29055. defaultCompare(value1, value2) {
  29056. return J.compareTo$1$ns(type$.Comparable_nullable_Object._as(value1), value2);
  29057. },
  29058. current() {
  29059. var exception, t1, path, lastIndex, uri = null;
  29060. try {
  29061. uri = A.Uri_base();
  29062. } catch (exception) {
  29063. if (type$.Exception._is(A.unwrapException(exception))) {
  29064. t1 = $._current;
  29065. if (t1 != null)
  29066. return t1;
  29067. throw exception;
  29068. } else
  29069. throw exception;
  29070. }
  29071. if (J.$eq$(uri, $._currentUriBase)) {
  29072. t1 = $._current;
  29073. t1.toString;
  29074. return t1;
  29075. }
  29076. $._currentUriBase = uri;
  29077. if ($.$get$Style_platform() === $.$get$Style_url())
  29078. t1 = $._current = uri.resolve$1(".").toString$0(0);
  29079. else {
  29080. path = uri.toFilePath$0();
  29081. lastIndex = path.length - 1;
  29082. t1 = $._current = lastIndex === 0 ? path : B.JSString_methods.substring$2(path, 0, lastIndex);
  29083. }
  29084. return t1;
  29085. },
  29086. absolute(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15) {
  29087. return $.$get$context().absolute$15(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15);
  29088. },
  29089. join(part1, part2, part3) {
  29090. var _null = null;
  29091. return $.$get$context().join$16(0, part1, part2, part3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  29092. },
  29093. prettyUri(uri) {
  29094. var t1 = $.$get$context();
  29095. uri.toString;
  29096. return t1.prettyUri$1(uri);
  29097. },
  29098. isAlphabetic(char) {
  29099. var t1;
  29100. if (!(char >= 65 && char <= 90))
  29101. t1 = char >= 97 && char <= 122;
  29102. else
  29103. t1 = true;
  29104. return t1;
  29105. },
  29106. driveLetterEnd(path, index) {
  29107. var t2, t3, _null = null,
  29108. t1 = path.length,
  29109. index0 = index + 2;
  29110. if (t1 < index0)
  29111. return _null;
  29112. if (!A.isAlphabetic(path.charCodeAt(index)))
  29113. return _null;
  29114. t2 = index + 1;
  29115. if (path.charCodeAt(t2) !== 58) {
  29116. t3 = index + 4;
  29117. if (t1 < t3)
  29118. return _null;
  29119. if (B.JSString_methods.substring$2(path, t2, t3).toLowerCase() !== "%3a")
  29120. return _null;
  29121. index = index0;
  29122. }
  29123. t2 = index + 2;
  29124. if (t1 === t2)
  29125. return t2;
  29126. if (path.charCodeAt(t2) !== 47)
  29127. return _null;
  29128. return index + 3;
  29129. },
  29130. main0(args) {
  29131. var $async$goto = 0,
  29132. $async$completer = A._makeAsyncAwaitCompleter(type$.dynamic),
  29133. t1;
  29134. var $async$main0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  29135. if ($async$errorCode === 1)
  29136. return A._asyncRethrow($async$result, $async$completer);
  29137. while (true)
  29138. switch ($async$goto) {
  29139. case 0:
  29140. // Function start
  29141. A.printError("sass --embedded is unavailable in pure JS mode.");
  29142. t1 = A.isNodeJs() ? self.process : null;
  29143. if (t1 != null)
  29144. J.set$exitCode$x(t1, 1);
  29145. // implicit return
  29146. return A._asyncReturn(null, $async$completer);
  29147. }
  29148. });
  29149. return A._asyncStartSync($async$main0, $async$completer);
  29150. },
  29151. EvaluationContext_current() {
  29152. var context, t1,
  29153. _0_0 = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  29154. if (type$.EvaluationContext._is(_0_0)) {
  29155. context = _0_0;
  29156. t1 = true;
  29157. } else {
  29158. context = null;
  29159. t1 = false;
  29160. }
  29161. if (t1)
  29162. return context;
  29163. else
  29164. throw A.wrapException(A.StateError$(string$.No_Sass));
  29165. },
  29166. repl(options) {
  29167. return A.repl$body(options);
  29168. },
  29169. repl$body(options) {
  29170. var $async$goto = 0,
  29171. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  29172. $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;
  29173. var $async$repl = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  29174. if ($async$errorCode === 1) {
  29175. $async$currentError = $async$result;
  29176. $async$goto = $async$handler;
  29177. }
  29178. while (true)
  29179. switch ($async$goto) {
  29180. case 0:
  29181. // Function start
  29182. t1 = A._setArrayType([], type$.JSArray_String);
  29183. t2 = B.JSString_methods.$mul(" ", 3);
  29184. t3 = $.$get$alwaysValid();
  29185. repl0 = new A.Repl(">> ", t2, t3, t1);
  29186. repl0.__Repl__adapter_A = new A.ReplAdapter(repl0);
  29187. repl = repl0;
  29188. t1 = options._options;
  29189. logger = new A.TrackingLogger(A._asBool(t1.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(options.get$color()));
  29190. t2 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  29191. 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));
  29192. t2 = repl.__Repl__adapter_A;
  29193. t2 === $ && A.throwUnnamedLateFieldNI();
  29194. t2 = new A._StreamIterator(A.checkNotNullable(t2.runAsync$0(), "stream", type$.Object));
  29195. $async$handler = 2;
  29196. t1 = type$.Expression, t3 = type$.String, t4 = type$.VariableDeclaration;
  29197. case 5:
  29198. // for condition
  29199. $async$goto = 7;
  29200. return A._asyncAwait(t2.moveNext$0(), $async$repl);
  29201. case 7:
  29202. // returning from await.
  29203. if (!$async$result) {
  29204. // goto after for
  29205. $async$goto = 6;
  29206. break;
  29207. }
  29208. line = t2.get$current(t2);
  29209. if (J.trim$0$s(line).length === 0) {
  29210. // goto for condition
  29211. $async$goto = 5;
  29212. break;
  29213. }
  29214. try {
  29215. if (J.startsWith$1$s(line, "@")) {
  29216. t5 = evaluator;
  29217. t6 = logger;
  29218. t7 = A.SpanScanner$(line, null);
  29219. if (t6 == null)
  29220. t6 = B.StderrLogger_false;
  29221. t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6, null).parseUseRule$0();
  29222. t5._visitor.runStatement$2(t5._importer, t6);
  29223. // goto for condition
  29224. $async$goto = 5;
  29225. break;
  29226. }
  29227. t5 = A.SpanScanner$(line, null);
  29228. if (new A.Parser(t5, B.StderrLogger_false, null)._isVariableDeclarationLike$0()) {
  29229. t5 = logger;
  29230. t6 = A.SpanScanner$(line, null);
  29231. if (t5 == null)
  29232. t5 = B.StderrLogger_false;
  29233. declaration = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t6, t5, null).parseVariableDeclaration$0();
  29234. t5 = evaluator;
  29235. t5._visitor.runStatement$2(t5._importer, declaration);
  29236. t5 = evaluator;
  29237. t6 = declaration.name;
  29238. t7 = declaration.span;
  29239. t8 = declaration.namespace;
  29240. line0 = t5._visitor.runExpression$2(t5._importer, new A.VariableExpression(t8, t6, t7)).toString$0(0);
  29241. toZone = $.printToZone;
  29242. if (toZone == null)
  29243. A.printString(line0);
  29244. else
  29245. toZone.call$1(line0);
  29246. } else {
  29247. t5 = evaluator;
  29248. t6 = logger;
  29249. t7 = A.SpanScanner$(line, null);
  29250. if (t6 == null)
  29251. t6 = B.StderrLogger_false;
  29252. t6 = new A.ScssParser(A.LinkedHashMap_LinkedHashMap$_empty(t3, t4), t7, t6, null);
  29253. t6 = t6._parseSingleProduction$1$1(t6.get$_expression(), t1);
  29254. line0 = t5._visitor.runExpression$2(t5._importer, t6).toString$0(0);
  29255. toZone = $.printToZone;
  29256. if (toZone == null)
  29257. A.printString(line0);
  29258. else
  29259. toZone.call$1(line0);
  29260. }
  29261. } catch (exception) {
  29262. t5 = A.unwrapException(exception);
  29263. if (t5 instanceof A.SassException) {
  29264. error = t5;
  29265. stackTrace = A.getTraceFromException(exception);
  29266. t5 = error;
  29267. t6 = typeof t5 != "string";
  29268. if (!t6 || typeof t5 == "number" || A._isBool(t5))
  29269. t5 = null;
  29270. else {
  29271. t7 = $.$get$_traces();
  29272. if (A._isBool(t5) || typeof t5 == "number" || !t6 || t5 instanceof A._Record)
  29273. A.Expando__badExpandoKey(t5);
  29274. t5 = t7._jsWeakMap.get(t5);
  29275. }
  29276. if (t5 == null)
  29277. t5 = stackTrace;
  29278. A._logError(error, t5, line, repl, options, logger);
  29279. } else
  29280. throw exception;
  29281. }
  29282. // goto for condition
  29283. $async$goto = 5;
  29284. break;
  29285. case 6:
  29286. // after for
  29287. $async$next.push(4);
  29288. // goto finally
  29289. $async$goto = 3;
  29290. break;
  29291. case 2:
  29292. // uncaught
  29293. $async$next = [1];
  29294. case 3:
  29295. // finally
  29296. $async$handler = 1;
  29297. $async$goto = 8;
  29298. return A._asyncAwait(t2.cancel$0(), $async$repl);
  29299. case 8:
  29300. // returning from await.
  29301. // goto the next finally handler
  29302. $async$goto = $async$next.pop();
  29303. break;
  29304. case 4:
  29305. // after finally
  29306. // implicit return
  29307. return A._asyncReturn(null, $async$completer);
  29308. case 1:
  29309. // rethrow
  29310. return A._asyncRethrow($async$currentError, $async$completer);
  29311. }
  29312. });
  29313. return A._asyncStartSync($async$repl, $async$completer);
  29314. },
  29315. _logError(error, stackTrace, line, repl, options, logger) {
  29316. var t2, spacesBeforeError, t3,
  29317. t1 = A.SourceSpanException.prototype.get$span.call(error, error);
  29318. if (t1.get$sourceUrl(t1) == null)
  29319. if (!A._asBool(options._options.$index(0, "quiet")))
  29320. t1 = logger._emittedDebug || logger._emittedWarning;
  29321. else
  29322. t1 = false;
  29323. else
  29324. t1 = true;
  29325. if (t1) {
  29326. A.print(error.toString$1$color(0, options.get$color()));
  29327. return;
  29328. }
  29329. t1 = options.get$color() ? "" + "\x1b[31m" : "";
  29330. t2 = A.SourceSpanException.prototype.get$span.call(error, error);
  29331. t2 = t2.get$start(t2);
  29332. spacesBeforeError = repl.prompt.length + t2.file.getColumn$1(t2.offset);
  29333. if (options.get$color()) {
  29334. t2 = A.SourceSpanException.prototype.get$span.call(error, error);
  29335. t2 = t2.get$start(t2);
  29336. t2 = t2.file.getColumn$1(t2.offset) < line.length;
  29337. } else
  29338. t2 = false;
  29339. if (t2)
  29340. t1 = t1 + ("\x1b[1F\x1b[" + spacesBeforeError + "C") + (A.SourceSpanException.prototype.get$span.call(error, error).get$text() + "\n");
  29341. t2 = B.JSString_methods.$mul(" ", spacesBeforeError);
  29342. t3 = A.SourceSpanException.prototype.get$span.call(error, error);
  29343. t3 = t1 + t2 + (B.JSString_methods.$mul("^", Math.max(1, t3.get$length(t3))) + "\n");
  29344. t1 = options.get$color() ? t3 + "\x1b[0m" : t3;
  29345. t1 += "Error: " + error._span_exception$_message + "\n";
  29346. if (A._asBool(options._options.$index(0, "trace")))
  29347. t1 += A.Trace_Trace$from(stackTrace).get$terse().toString$0(0);
  29348. A.print(B.JSString_methods.trimRight$0(t1.charCodeAt(0) == 0 ? t1 : t1));
  29349. },
  29350. CharacterExtension_get_isAlphabetic(_this) {
  29351. var t1;
  29352. if (!(_this >= 97 && _this <= 122))
  29353. t1 = _this >= 65 && _this <= 90;
  29354. else
  29355. t1 = true;
  29356. return t1;
  29357. },
  29358. CharacterExtension_get_isHex(_this) {
  29359. var t1;
  29360. if (!(_this >= 48 && _this <= 57))
  29361. if (!(_this >= 97 && _this <= 102))
  29362. t1 = _this >= 65 && _this <= 70;
  29363. else
  29364. t1 = true;
  29365. else
  29366. t1 = true;
  29367. return t1;
  29368. },
  29369. asHex(character) {
  29370. var t1;
  29371. $label0$0: {
  29372. if (character <= 57) {
  29373. t1 = character - 48;
  29374. break $label0$0;
  29375. }
  29376. if (character <= 70) {
  29377. t1 = 10 + character - 65;
  29378. break $label0$0;
  29379. }
  29380. t1 = 10 + character - 97;
  29381. break $label0$0;
  29382. }
  29383. return t1;
  29384. },
  29385. hexCharFor(number) {
  29386. return number < 10 ? 48 + number : 87 + number;
  29387. },
  29388. opposite(character) {
  29389. var t1;
  29390. $label0$0: {
  29391. if (40 === character) {
  29392. t1 = 41;
  29393. break $label0$0;
  29394. }
  29395. if (123 === character) {
  29396. t1 = 125;
  29397. break $label0$0;
  29398. }
  29399. if (91 === character) {
  29400. t1 = 93;
  29401. break $label0$0;
  29402. }
  29403. t1 = A.throwExpression(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  29404. }
  29405. return t1;
  29406. },
  29407. characterEqualsIgnoreCase(character1, character2) {
  29408. var upperCase1;
  29409. if (character1 === character2)
  29410. return true;
  29411. if ((character1 ^ character2) >>> 0 !== 32)
  29412. return false;
  29413. upperCase1 = (character1 & 4294967263) >>> 0;
  29414. return upperCase1 >= 65 && upperCase1 <= 90;
  29415. },
  29416. IterableExtension_search(_this, callback) {
  29417. var t1, _0_0, value, t2;
  29418. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  29419. _0_0 = callback.call$1(t1.get$current(t1));
  29420. if (_0_0 != null) {
  29421. value = _0_0;
  29422. t2 = true;
  29423. } else {
  29424. value = null;
  29425. t2 = false;
  29426. }
  29427. if (t2)
  29428. return value;
  29429. }
  29430. return null;
  29431. },
  29432. IterableExtension_get_exceptLast(_this) {
  29433. var t1 = J.getInterceptor$asx(_this),
  29434. size = t1.get$length(_this) - 1;
  29435. if (size < 0)
  29436. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  29437. return t1.take$1(_this, size);
  29438. },
  29439. NullableExtension_andThen(_this, fn) {
  29440. return _this == null ? null : fn.call$1(_this);
  29441. },
  29442. SetExtension_removeNull(_this, $T) {
  29443. _this.remove$1(0, null);
  29444. return A.Set_castFrom(_this, _this.get$_newSimilarSet(), A._instanceType(_this)._precomputed1, $T);
  29445. },
  29446. fuzzyEquals(number1, number2) {
  29447. var t1;
  29448. if (number1 === number2)
  29449. return true;
  29450. if (Math.abs(number1 - number2) <= $.$get$_epsilon()) {
  29451. t1 = $.$get$_inverseEpsilon();
  29452. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  29453. } else
  29454. t1 = false;
  29455. return t1;
  29456. },
  29457. fuzzyHashCode(number) {
  29458. if (!isFinite(number))
  29459. return B.JSNumber_methods.get$hashCode(number);
  29460. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon()));
  29461. },
  29462. fuzzyLessThan(number1, number2) {
  29463. return number1 < number2 && !A.fuzzyEquals(number1, number2);
  29464. },
  29465. fuzzyLessThanOrEquals(number1, number2) {
  29466. return number1 < number2 || A.fuzzyEquals(number1, number2);
  29467. },
  29468. fuzzyGreaterThan(number1, number2) {
  29469. return number1 > number2 && !A.fuzzyEquals(number1, number2);
  29470. },
  29471. fuzzyGreaterThanOrEquals(number1, number2) {
  29472. return number1 > number2 || A.fuzzyEquals(number1, number2);
  29473. },
  29474. fuzzyAsInt(number) {
  29475. var rounded;
  29476. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  29477. return null;
  29478. rounded = B.JSNumber_methods.round$0(number);
  29479. return A.fuzzyEquals(number, rounded) ? rounded : null;
  29480. },
  29481. fuzzyRound(number) {
  29482. var t1;
  29483. if (number > 0) {
  29484. t1 = B.JSNumber_methods.$mod(number, 1);
  29485. return t1 < 0.5 && !A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  29486. } else {
  29487. t1 = B.JSNumber_methods.$mod(number, 1);
  29488. return t1 < 0.5 || A.fuzzyEquals(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  29489. }
  29490. },
  29491. fuzzyCheckRange(number, min, max) {
  29492. if (A.fuzzyEquals(number, min))
  29493. return min;
  29494. if (A.fuzzyEquals(number, max))
  29495. return max;
  29496. if (number > min && number < max)
  29497. return number;
  29498. return null;
  29499. },
  29500. fuzzyAssertRange(number, min, max, $name) {
  29501. var result = A.fuzzyCheckRange(number, min, max);
  29502. if (result != null)
  29503. return result;
  29504. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  29505. },
  29506. moduloLikeSass(num1, num2) {
  29507. var result;
  29508. if (num1 == 1 / 0 || num1 == -1 / 0)
  29509. return 0 / 0;
  29510. if (num2 == 1 / 0 || num2 == -1 / 0)
  29511. return A.DoubleWithSignedZero_get_signIncludingZero(num1) === J.get$sign$in(num2) ? num1 : 0 / 0;
  29512. if (num2 > 0)
  29513. return B.JSNumber_methods.$mod(num1, num2);
  29514. if (num2 === 0)
  29515. return 0 / 0;
  29516. result = B.JSNumber_methods.$mod(num1, num2);
  29517. return result === 0 ? 0 : result + num2;
  29518. },
  29519. sqrt(number) {
  29520. number.assertNoUnits$1("number");
  29521. return A.SassNumber_SassNumber(Math.sqrt(number._number$_value), null);
  29522. },
  29523. sin(number) {
  29524. return A.SassNumber_SassNumber(Math.sin(number.coerceValueToUnit$2("rad", "number")), null);
  29525. },
  29526. cos(number) {
  29527. return A.SassNumber_SassNumber(Math.cos(number.coerceValueToUnit$2("rad", "number")), null);
  29528. },
  29529. tan(number) {
  29530. return A.SassNumber_SassNumber(Math.tan(number.coerceValueToUnit$2("rad", "number")), null);
  29531. },
  29532. atan(number) {
  29533. number.assertNoUnits$1("number");
  29534. return A.SassNumber_SassNumber$withUnits(Math.atan(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  29535. },
  29536. asin(number) {
  29537. number.assertNoUnits$1("number");
  29538. return A.SassNumber_SassNumber$withUnits(Math.asin(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  29539. },
  29540. acos(number) {
  29541. number.assertNoUnits$1("number");
  29542. return A.SassNumber_SassNumber$withUnits(Math.acos(number._number$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  29543. },
  29544. log(number, base) {
  29545. if (base != null)
  29546. return A.SassNumber_SassNumber(Math.log(number._number$_value) / Math.log(base._number$_value), null);
  29547. return A.SassNumber_SassNumber(Math.log(number._number$_value), null);
  29548. },
  29549. pow0(base, exponent) {
  29550. base.assertNoUnits$1("base");
  29551. exponent.assertNoUnits$1("exponent");
  29552. return A.SassNumber_SassNumber(Math.pow(base._number$_value, exponent._number$_value), null);
  29553. },
  29554. DoubleWithSignedZero_get_signIncludingZero(_this) {
  29555. if (_this === -0.0)
  29556. return -1;
  29557. if (_this === 0)
  29558. return 1;
  29559. return J.get$sign$in(_this);
  29560. },
  29561. SpanExtensions_trimLeft(_this) {
  29562. var t5,
  29563. t1 = _this._file$_start,
  29564. t2 = _this._end,
  29565. t3 = _this.file._decodedChars,
  29566. t4 = t3.length,
  29567. start = 0;
  29568. while (true) {
  29569. t5 = A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null).charCodeAt(start);
  29570. if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
  29571. break;
  29572. ++start;
  29573. }
  29574. return A.FileSpanExtension_subspan(_this, start, null);
  29575. },
  29576. SpanExtensions_trimRight(_this) {
  29577. var t1,
  29578. end = _this.get$text().length - 1;
  29579. while (true) {
  29580. t1 = _this.get$text().charCodeAt(end);
  29581. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  29582. break;
  29583. --end;
  29584. }
  29585. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  29586. },
  29587. encodeVlq(value) {
  29588. var res, signBit, digit, t1;
  29589. if (value < $.$get$minInt32() || value > $.$get$maxInt32())
  29590. throw A.wrapException(A.ArgumentError$("expected 32 bit int, got: " + value, null));
  29591. res = A._setArrayType([], type$.JSArray_String);
  29592. if (value < 0) {
  29593. value = -value;
  29594. signBit = 1;
  29595. } else
  29596. signBit = 0;
  29597. value = value << 1 | signBit;
  29598. do {
  29599. digit = value & 31;
  29600. value = value >>> 5;
  29601. t1 = value > 0;
  29602. res.push(string$.ABCDEF[t1 ? digit | 32 : digit]);
  29603. } while (t1);
  29604. return res;
  29605. },
  29606. isAllTheSame(iter) {
  29607. var firstValue, t1, t2, value;
  29608. if (iter.get$length(iter) === 0)
  29609. return true;
  29610. firstValue = iter.get$first(iter);
  29611. 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();) {
  29612. value = t1.__internal$_current;
  29613. if (!J.$eq$(value == null ? t2._as(value) : value, firstValue))
  29614. return false;
  29615. }
  29616. return true;
  29617. },
  29618. replaceFirstNull(list, element) {
  29619. var index = B.JSArray_methods.indexOf$1(list, null);
  29620. if (index < 0)
  29621. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no null elements.", null));
  29622. list[index] = element;
  29623. },
  29624. replaceWithNull(list, element) {
  29625. var index = B.JSArray_methods.indexOf$1(list, element);
  29626. if (index < 0)
  29627. throw A.wrapException(A.ArgumentError$(A.S(list) + " contains no elements matching " + element.toString$0(0) + ".", null));
  29628. list[index] = null;
  29629. },
  29630. countCodeUnits(string, codeUnit) {
  29631. var t1, t2, count, t3;
  29632. 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();) {
  29633. t3 = t1.__internal$_current;
  29634. if ((t3 == null ? t2._as(t3) : t3) === codeUnit)
  29635. ++count;
  29636. }
  29637. return count;
  29638. },
  29639. findLineStart(context, text, column) {
  29640. var beginningOfLine, index, lineStart;
  29641. if (text.length === 0)
  29642. for (beginningOfLine = 0; true;) {
  29643. index = B.JSString_methods.indexOf$2(context, "\n", beginningOfLine);
  29644. if (index === -1)
  29645. return context.length - beginningOfLine >= column ? beginningOfLine : null;
  29646. if (index - beginningOfLine >= column)
  29647. return beginningOfLine;
  29648. beginningOfLine = index + 1;
  29649. }
  29650. index = B.JSString_methods.indexOf$1(context, text);
  29651. for (; index !== -1;) {
  29652. lineStart = index === 0 ? 0 : B.JSString_methods.lastIndexOf$2(context, "\n", index - 1) + 1;
  29653. if (column === index - lineStart)
  29654. return lineStart;
  29655. index = B.JSString_methods.indexOf$2(context, text, index + 1);
  29656. }
  29657. return null;
  29658. },
  29659. validateErrorArgs(string, match, position, $length) {
  29660. var t2,
  29661. t1 = position != null;
  29662. if (t1)
  29663. if (position < 0)
  29664. throw A.wrapException(A.RangeError$("position must be greater than or equal to 0."));
  29665. else if (position > string.length)
  29666. throw A.wrapException(A.RangeError$("position must be less than or equal to the string length."));
  29667. t2 = $length != null;
  29668. if (t2 && $length < 0)
  29669. throw A.wrapException(A.RangeError$("length must be greater than or equal to 0."));
  29670. if (t1 && t2 && position + $length > string.length)
  29671. throw A.wrapException(A.RangeError$("position plus length must not go beyond the end of the string."));
  29672. },
  29673. CharacterExtension_get_isAlphabetic0(_this) {
  29674. var t1;
  29675. if (!(_this >= 97 && _this <= 122))
  29676. t1 = _this >= 65 && _this <= 90;
  29677. else
  29678. t1 = true;
  29679. return t1;
  29680. },
  29681. CharacterExtension_get_isHex0(_this) {
  29682. var t1;
  29683. if (!(_this >= 48 && _this <= 57))
  29684. if (!(_this >= 97 && _this <= 102))
  29685. t1 = _this >= 65 && _this <= 70;
  29686. else
  29687. t1 = true;
  29688. else
  29689. t1 = true;
  29690. return t1;
  29691. },
  29692. asHex0(character) {
  29693. var t1;
  29694. $label0$0: {
  29695. if (character <= 57) {
  29696. t1 = character - 48;
  29697. break $label0$0;
  29698. }
  29699. if (character <= 70) {
  29700. t1 = 10 + character - 65;
  29701. break $label0$0;
  29702. }
  29703. t1 = 10 + character - 97;
  29704. break $label0$0;
  29705. }
  29706. return t1;
  29707. },
  29708. hexCharFor0(number) {
  29709. return number < 10 ? 48 + number : 87 + number;
  29710. },
  29711. opposite0(character) {
  29712. var t1;
  29713. $label0$0: {
  29714. if (40 === character) {
  29715. t1 = 41;
  29716. break $label0$0;
  29717. }
  29718. if (123 === character) {
  29719. t1 = 125;
  29720. break $label0$0;
  29721. }
  29722. if (91 === character) {
  29723. t1 = 93;
  29724. break $label0$0;
  29725. }
  29726. t1 = A.throwExpression(A.ArgumentError$('"' + A.String_String$fromCharCode(character) + "\" isn't a brace-like character.", null));
  29727. }
  29728. return t1;
  29729. },
  29730. characterEqualsIgnoreCase0(character1, character2) {
  29731. var upperCase1;
  29732. if (character1 === character2)
  29733. return true;
  29734. if ((character1 ^ character2) >>> 0 !== 32)
  29735. return false;
  29736. upperCase1 = (character1 & 4294967263) >>> 0;
  29737. return upperCase1 >= 65 && upperCase1 <= 90;
  29738. },
  29739. EvaluationContext_current0() {
  29740. var context, t1,
  29741. _0_0 = $.Zone__current.$index(0, B.Symbol__evaluationContext);
  29742. if (type$.EvaluationContext_2._is(_0_0)) {
  29743. context = _0_0;
  29744. t1 = true;
  29745. } else {
  29746. context = null;
  29747. t1 = false;
  29748. }
  29749. if (t1)
  29750. return context;
  29751. else
  29752. throw A.wrapException(A.StateError$(string$.No_Sass));
  29753. },
  29754. IterableExtension_search0(_this, callback) {
  29755. var t1, _0_0, value, t2;
  29756. for (t1 = J.get$iterator$ax(_this); t1.moveNext$0();) {
  29757. _0_0 = callback.call$1(t1.get$current(t1));
  29758. if (_0_0 != null) {
  29759. value = _0_0;
  29760. t2 = true;
  29761. } else {
  29762. value = null;
  29763. t2 = false;
  29764. }
  29765. if (t2)
  29766. return value;
  29767. }
  29768. return null;
  29769. },
  29770. IterableExtension_get_exceptLast0(_this) {
  29771. var t1 = J.getInterceptor$asx(_this),
  29772. size = t1.get$length(_this) - 1;
  29773. if (size < 0)
  29774. throw A.wrapException(A.StateError$("Iterable may not be empty"));
  29775. return t1.take$1(_this, size);
  29776. },
  29777. NullableExtension_andThen0(_this, fn) {
  29778. return _this == null ? null : fn.call$1(_this);
  29779. },
  29780. fuzzyEquals0(number1, number2) {
  29781. var t1;
  29782. if (number1 === number2)
  29783. return true;
  29784. if (Math.abs(number1 - number2) <= $.$get$_epsilon0()) {
  29785. t1 = $.$get$_inverseEpsilon0();
  29786. t1 = B.JSNumber_methods.round$0(number1 * t1) === B.JSNumber_methods.round$0(number2 * t1);
  29787. } else
  29788. t1 = false;
  29789. return t1;
  29790. },
  29791. fuzzyHashCode0(number) {
  29792. if (!isFinite(number))
  29793. return B.JSNumber_methods.get$hashCode(number);
  29794. return B.JSInt_methods.get$hashCode(B.JSNumber_methods.round$0(number * $.$get$_inverseEpsilon0()));
  29795. },
  29796. fuzzyLessThan0(number1, number2) {
  29797. return number1 < number2 && !A.fuzzyEquals0(number1, number2);
  29798. },
  29799. fuzzyLessThanOrEquals0(number1, number2) {
  29800. return number1 < number2 || A.fuzzyEquals0(number1, number2);
  29801. },
  29802. fuzzyGreaterThan0(number1, number2) {
  29803. return number1 > number2 && !A.fuzzyEquals0(number1, number2);
  29804. },
  29805. fuzzyGreaterThanOrEquals0(number1, number2) {
  29806. return number1 > number2 || A.fuzzyEquals0(number1, number2);
  29807. },
  29808. fuzzyIsInt(number) {
  29809. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  29810. return false;
  29811. return A.fuzzyEquals0(number, B.JSNumber_methods.round$0(number));
  29812. },
  29813. fuzzyAsInt0(number) {
  29814. var rounded;
  29815. if (number == 1 / 0 || number == -1 / 0 || isNaN(number))
  29816. return null;
  29817. rounded = B.JSNumber_methods.round$0(number);
  29818. return A.fuzzyEquals0(number, rounded) ? rounded : null;
  29819. },
  29820. fuzzyRound0(number) {
  29821. var t1;
  29822. if (number > 0) {
  29823. t1 = B.JSNumber_methods.$mod(number, 1);
  29824. return t1 < 0.5 && !A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  29825. } else {
  29826. t1 = B.JSNumber_methods.$mod(number, 1);
  29827. return t1 < 0.5 || A.fuzzyEquals0(t1, 0.5) ? B.JSNumber_methods.floor$0(number) : B.JSNumber_methods.ceil$0(number);
  29828. }
  29829. },
  29830. fuzzyCheckRange0(number, min, max) {
  29831. if (A.fuzzyEquals0(number, min))
  29832. return min;
  29833. if (A.fuzzyEquals0(number, max))
  29834. return max;
  29835. if (number > min && number < max)
  29836. return number;
  29837. return null;
  29838. },
  29839. fuzzyAssertRange0(number, min, max, $name) {
  29840. var result = A.fuzzyCheckRange0(number, min, max);
  29841. if (result != null)
  29842. return result;
  29843. throw A.wrapException(A.RangeError$range(number, min, max, $name, "must be between " + min + " and " + max));
  29844. },
  29845. moduloLikeSass0(num1, num2) {
  29846. var result;
  29847. if (num1 == 1 / 0 || num1 == -1 / 0)
  29848. return 0 / 0;
  29849. if (num2 == 1 / 0 || num2 == -1 / 0)
  29850. return A.DoubleWithSignedZero_get_signIncludingZero0(num1) === J.get$sign$in(num2) ? num1 : 0 / 0;
  29851. if (num2 > 0)
  29852. return B.JSNumber_methods.$mod(num1, num2);
  29853. if (num2 === 0)
  29854. return 0 / 0;
  29855. result = B.JSNumber_methods.$mod(num1, num2);
  29856. return result === 0 ? 0 : result + num2;
  29857. },
  29858. sqrt0(number) {
  29859. number.assertNoUnits$1("number");
  29860. return A.SassNumber_SassNumber0(Math.sqrt(number._number1$_value), null);
  29861. },
  29862. sin0(number) {
  29863. return A.SassNumber_SassNumber0(Math.sin(number.coerceValueToUnit$2("rad", "number")), null);
  29864. },
  29865. cos0(number) {
  29866. return A.SassNumber_SassNumber0(Math.cos(number.coerceValueToUnit$2("rad", "number")), null);
  29867. },
  29868. tan0(number) {
  29869. return A.SassNumber_SassNumber0(Math.tan(number.coerceValueToUnit$2("rad", "number")), null);
  29870. },
  29871. atan0(number) {
  29872. number.assertNoUnits$1("number");
  29873. return A.SassNumber_SassNumber$withUnits0(Math.atan(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  29874. },
  29875. asin0(number) {
  29876. number.assertNoUnits$1("number");
  29877. return A.SassNumber_SassNumber$withUnits0(Math.asin(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  29878. },
  29879. acos0(number) {
  29880. number.assertNoUnits$1("number");
  29881. return A.SassNumber_SassNumber$withUnits0(Math.acos(number._number1$_value) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  29882. },
  29883. log0(number, base) {
  29884. if (base != null)
  29885. return A.SassNumber_SassNumber0(Math.log(number._number1$_value) / Math.log(base._number1$_value), null);
  29886. return A.SassNumber_SassNumber0(Math.log(number._number1$_value), null);
  29887. },
  29888. pow1(base, exponent) {
  29889. base.assertNoUnits$1("base");
  29890. exponent.assertNoUnits$1("exponent");
  29891. return A.SassNumber_SassNumber0(Math.pow(base._number1$_value, exponent._number1$_value), null);
  29892. },
  29893. DoubleWithSignedZero_get_signIncludingZero0(_this) {
  29894. if (_this === -0.0)
  29895. return -1;
  29896. if (_this === 0)
  29897. return 1;
  29898. return J.get$sign$in(_this);
  29899. },
  29900. main1(args) {
  29901. return A.main$body(args);
  29902. },
  29903. main$body(args) {
  29904. var $async$goto = 0,
  29905. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  29906. $async$returnValue, $async$handler = 2, $async$currentError, options, graph, error, error0, stackTrace, buffer, rest, t1, t2, t3, exception, $async$exception, $async$temp1;
  29907. var $async$main1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  29908. if ($async$errorCode === 1) {
  29909. $async$currentError = $async$result;
  29910. $async$goto = $async$handler;
  29911. }
  29912. while (true)
  29913. switch ($async$goto) {
  29914. case 0:
  29915. // Function start
  29916. if (args.length >= 1)
  29917. if ("--embedded" === args[0]) {
  29918. rest = B.JSArray_methods.sublist$1(args, 1);
  29919. t1 = true;
  29920. } else {
  29921. rest = null;
  29922. t1 = false;
  29923. }
  29924. else {
  29925. rest = null;
  29926. t1 = false;
  29927. }
  29928. if (t1) {
  29929. A.main0(rest);
  29930. // goto return
  29931. $async$goto = 1;
  29932. break;
  29933. }
  29934. options = null;
  29935. $async$handler = 4;
  29936. options = A.ExecutableOptions_ExecutableOptions$parse(args);
  29937. t1 = options._options;
  29938. $._glyphs = !(t1.wasParsed$1("unicode") ? A._asBool(t1.$index(0, "unicode")) : $._glyphs !== B.C_AsciiGlyphSet) ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  29939. $async$goto = A._asBool(options._options.$index(0, "version")) ? 7 : 8;
  29940. break;
  29941. case 7:
  29942. // then
  29943. $async$temp1 = A;
  29944. $async$goto = 9;
  29945. return A._asyncAwait(A._loadVersion(), $async$main1);
  29946. case 9:
  29947. // returning from await.
  29948. $async$temp1.print($async$result);
  29949. t1 = A.isNodeJs() ? self.process : null;
  29950. if (t1 != null)
  29951. J.set$exitCode$x(t1, 0);
  29952. // goto return
  29953. $async$goto = 1;
  29954. break;
  29955. case 8:
  29956. // join
  29957. $async$goto = options.get$interactive() ? 10 : 11;
  29958. break;
  29959. case 10:
  29960. // then
  29961. $async$goto = 12;
  29962. return A._asyncAwait(A.repl(options), $async$main1);
  29963. case 12:
  29964. // returning from await.
  29965. // goto return
  29966. $async$goto = 1;
  29967. break;
  29968. case 11:
  29969. // join
  29970. t1 = type$.List_String._as(options._options.$index(0, "load-path"));
  29971. t2 = options;
  29972. t2 = A._asBool(t2._options.$index(0, "quiet")) ? $.$get$Logger_quiet() : new A.StderrLogger(t2.get$color());
  29973. t3 = type$.Uri;
  29974. graph = new A.StylesheetGraph(A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.StylesheetNode), A.ImportCache$(t1, new A.DeprecationHandlingLogger(A.LinkedHashMap_LinkedHashMap$_empty(type$.Deprecation, type$.int), t2, options.get$fatalDeprecations(), options.get$futureDeprecations(), false)), A.LinkedHashMap_LinkedHashMap$_empty(t3, type$.DateTime));
  29975. $async$goto = A._asBool(options._options.$index(0, "watch")) ? 13 : 14;
  29976. break;
  29977. case 13:
  29978. // then
  29979. $async$goto = 15;
  29980. return A._asyncAwait(A.watch(options, graph), $async$main1);
  29981. case 15:
  29982. // returning from await.
  29983. // goto return
  29984. $async$goto = 1;
  29985. break;
  29986. case 14:
  29987. // join
  29988. t1 = options;
  29989. t2 = options;
  29990. t2._ensureSources$0();
  29991. t2 = t2._sourcesToDestinations;
  29992. t2.toString;
  29993. $async$goto = 16;
  29994. return A._asyncAwait(A.compileStylesheets(t1, graph, t2, A._asBool(options._options.$index(0, "update"))), $async$main1);
  29995. case 16:
  29996. // returning from await.
  29997. $async$handler = 2;
  29998. // goto after finally
  29999. $async$goto = 6;
  30000. break;
  30001. case 4:
  30002. // catch
  30003. $async$handler = 3;
  30004. $async$exception = $async$currentError;
  30005. t1 = A.unwrapException($async$exception);
  30006. if (t1 instanceof A.UsageException) {
  30007. error = t1;
  30008. A.print(error.message + "\n");
  30009. A.print("Usage: sass <input.scss> [output.css]\n sass <input.scss>:<output.css> <input/>:<output/> <dir/>\n");
  30010. t1 = $.$get$ExecutableOptions__parser();
  30011. A.print(new A._Usage(t1._optionsAndSeparators, new A.StringBuffer(""), t1.usageLineLength).generate$0());
  30012. t1 = A.isNodeJs() ? self.process : null;
  30013. if (t1 != null)
  30014. J.set$exitCode$x(t1, 64);
  30015. } else {
  30016. error0 = t1;
  30017. stackTrace = A.getTraceFromException($async$exception);
  30018. buffer = new A.StringBuffer("");
  30019. t1 = options;
  30020. t1 = t1 == null ? null : t1.get$color();
  30021. if (t1 === true)
  30022. buffer._contents += "\x1b[31m\x1b[1m";
  30023. buffer._contents += "Unexpected exception:";
  30024. t1 = options;
  30025. t1 = t1 == null ? null : t1.get$color();
  30026. if (t1 === true)
  30027. buffer._contents += "\x1b[0m";
  30028. buffer._contents += "\n";
  30029. buffer._contents += A.S(error0) + "\n";
  30030. buffer._contents += "\n";
  30031. buffer._contents += "\n";
  30032. t1 = A.getTrace(error0);
  30033. buffer._contents += B.JSString_methods.trimRight$0(A.Trace_Trace$from(t1 == null ? stackTrace : t1).get$terse().toString$0(0));
  30034. A.printError(buffer);
  30035. t1 = A.isNodeJs() ? self.process : null;
  30036. if (t1 != null)
  30037. J.set$exitCode$x(t1, 255);
  30038. }
  30039. // goto after finally
  30040. $async$goto = 6;
  30041. break;
  30042. case 3:
  30043. // uncaught
  30044. // goto rethrow
  30045. $async$goto = 2;
  30046. break;
  30047. case 6:
  30048. // after finally
  30049. case 1:
  30050. // return
  30051. return A._asyncReturn($async$returnValue, $async$completer);
  30052. case 2:
  30053. // rethrow
  30054. return A._asyncRethrow($async$currentError, $async$completer);
  30055. }
  30056. });
  30057. return A._asyncStartSync($async$main1, $async$completer);
  30058. },
  30059. _loadVersion() {
  30060. var $async$goto = 0,
  30061. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  30062. $async$returnValue;
  30063. var $async$_loadVersion = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  30064. if ($async$errorCode === 1)
  30065. return A._asyncRethrow($async$result, $async$completer);
  30066. while (true)
  30067. switch ($async$goto) {
  30068. case 0:
  30069. // Function start
  30070. $async$returnValue = "1.69.7 compiled with dart2js 3.2.4";
  30071. // goto return
  30072. $async$goto = 1;
  30073. break;
  30074. case 1:
  30075. // return
  30076. return A._asyncReturn($async$returnValue, $async$completer);
  30077. }
  30078. });
  30079. return A._asyncStartSync($async$_loadVersion, $async$completer);
  30080. },
  30081. SpanExtensions_trimLeft0(_this) {
  30082. var t5,
  30083. t1 = _this._file$_start,
  30084. t2 = _this._end,
  30085. t3 = _this.file._decodedChars,
  30086. t4 = t3.length,
  30087. start = 0;
  30088. while (true) {
  30089. t5 = A.String_String$fromCharCodes(new Uint32Array(t3.subarray(t1, A._checkValidRange(t1, t2, t4))), 0, null).charCodeAt(start);
  30090. if (!(t5 === 32 || t5 === 9 || t5 === 10 || t5 === 13 || t5 === 12))
  30091. break;
  30092. ++start;
  30093. }
  30094. return A.FileSpanExtension_subspan(_this, start, null);
  30095. },
  30096. SpanExtensions_trimRight0(_this) {
  30097. var t1,
  30098. end = _this.get$text().length - 1;
  30099. while (true) {
  30100. t1 = _this.get$text().charCodeAt(end);
  30101. if (!(t1 === 32 || t1 === 9 || t1 === 10 || t1 === 13 || t1 === 12))
  30102. break;
  30103. --end;
  30104. }
  30105. return A.FileSpanExtension_subspan(_this, 0, end + 1);
  30106. },
  30107. validateUrlScheme(scheme) {
  30108. var t1 = $.$get$_urlSchemeRegExp();
  30109. if (!t1._nativeRegExp.test(scheme))
  30110. A.jsThrow(new self.Error('"' + scheme + '" isn\'t a valid URL scheme (for example "file").'));
  30111. },
  30112. unwrapValue(object) {
  30113. var value;
  30114. if (object != null) {
  30115. if (object instanceof A.Value0)
  30116. return object;
  30117. value = object.dartValue;
  30118. if (value != null && value instanceof A.Value0)
  30119. return value;
  30120. if (object instanceof self.Error)
  30121. throw A.wrapException(object);
  30122. }
  30123. throw A.wrapException(A.S(object) + " must be a Sass value type.");
  30124. },
  30125. wrapValue(value) {
  30126. var t1;
  30127. $label0$0: {
  30128. if (value instanceof A.SassColor0) {
  30129. t1 = A.callConstructor($.$get$legacyColorClass(), [null, null, null, null, value]);
  30130. break $label0$0;
  30131. }
  30132. if (value instanceof A.SassList0) {
  30133. t1 = A.callConstructor($.$get$legacyListClass(), [null, null, value]);
  30134. break $label0$0;
  30135. }
  30136. if (value instanceof A.SassMap0) {
  30137. t1 = A.callConstructor($.$get$legacyMapClass(), [null, value]);
  30138. break $label0$0;
  30139. }
  30140. if (value instanceof A.SassNumber0) {
  30141. t1 = A.callConstructor($.$get$legacyNumberClass(), [null, null, value]);
  30142. break $label0$0;
  30143. }
  30144. if (value instanceof A.SassString0) {
  30145. t1 = A.callConstructor($.$get$legacyStringClass(), [null, value]);
  30146. break $label0$0;
  30147. }
  30148. t1 = value;
  30149. break $label0$0;
  30150. }
  30151. return t1;
  30152. }
  30153. },
  30154. B = {};
  30155. var holders = [A, J, B];
  30156. var $ = {};
  30157. A.JS_CONST.prototype = {};
  30158. J.Interceptor.prototype = {
  30159. $eq(receiver, other) {
  30160. return receiver === other;
  30161. },
  30162. get$hashCode(receiver) {
  30163. return A.Primitives_objectHashCode(receiver);
  30164. },
  30165. toString$0(receiver) {
  30166. return "Instance of '" + A.Primitives_objectTypeName(receiver) + "'";
  30167. },
  30168. noSuchMethod$1(receiver, invocation) {
  30169. throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(receiver, invocation));
  30170. },
  30171. get$runtimeType(receiver) {
  30172. return A.createRuntimeType(A._instanceTypeFromConstructor(this));
  30173. }
  30174. };
  30175. J.JSBool.prototype = {
  30176. toString$0(receiver) {
  30177. return String(receiver);
  30178. },
  30179. get$hashCode(receiver) {
  30180. return receiver ? 519018 : 218159;
  30181. },
  30182. get$runtimeType(receiver) {
  30183. return A.createRuntimeType(type$.bool);
  30184. },
  30185. $isTrustedGetRuntimeType: 1,
  30186. $isbool: 1
  30187. };
  30188. J.JSNull.prototype = {
  30189. $eq(receiver, other) {
  30190. return null == other;
  30191. },
  30192. toString$0(receiver) {
  30193. return "null";
  30194. },
  30195. get$hashCode(receiver) {
  30196. return 0;
  30197. },
  30198. get$runtimeType(receiver) {
  30199. return A.createRuntimeType(type$.Null);
  30200. },
  30201. $isTrustedGetRuntimeType: 1,
  30202. $isNull: 1
  30203. };
  30204. J.JavaScriptObject.prototype = {};
  30205. J.LegacyJavaScriptObject.prototype = {
  30206. get$hashCode(receiver) {
  30207. return 0;
  30208. },
  30209. toString$0(receiver) {
  30210. return String(receiver);
  30211. },
  30212. $isPromise: 1,
  30213. $isJsSystemError: 1,
  30214. $isImmutableList: 1,
  30215. $is_Channels: 1,
  30216. $is_NodeSassColor: 1,
  30217. $isCompileOptions: 1,
  30218. $isCompileStringOptions: 1,
  30219. $isNodeCompileResult: 1,
  30220. $is_NodeException: 1,
  30221. $isFiber: 1,
  30222. $isJSFunction1: 1,
  30223. $isImmutableList0: 1,
  30224. $isImmutableMap0: 1,
  30225. $isJSImporter: 1,
  30226. $isJSImporterResult: 1,
  30227. $isNodeImporterResult0: 1,
  30228. $is_ConstructorOptions: 1,
  30229. $is_NodeSassList: 1,
  30230. $isWarnOptions: 1,
  30231. $isDebugOptions: 1,
  30232. $is_NodeSassMap: 1,
  30233. $is_ConstructorOptions0: 1,
  30234. $is_NodeSassNumber: 1,
  30235. $isJSClass0: 1,
  30236. $isRenderContextOptions0: 1,
  30237. $isRenderOptions: 1,
  30238. $isRenderResult: 1,
  30239. $is_ConstructorOptions1: 1,
  30240. $is_NodeSassString: 1,
  30241. $isJSUrl0: 1,
  30242. get$isTTY(obj) {
  30243. return obj.isTTY;
  30244. },
  30245. get$write(obj) {
  30246. return obj.write;
  30247. },
  30248. write$1(receiver, p0) {
  30249. return receiver.write(p0);
  30250. },
  30251. createInterface$1(receiver, p0) {
  30252. return receiver.createInterface(p0);
  30253. },
  30254. on$2(receiver, p0, p1) {
  30255. return receiver.on(p0, p1);
  30256. },
  30257. get$close(obj) {
  30258. return obj.close;
  30259. },
  30260. close$0(receiver) {
  30261. return receiver.close();
  30262. },
  30263. setPrompt$1(receiver, p0) {
  30264. return receiver.setPrompt(p0);
  30265. },
  30266. get$length(obj) {
  30267. return obj.length;
  30268. },
  30269. toString$0(receiver) {
  30270. return receiver.toString();
  30271. },
  30272. get$debug(obj) {
  30273. return obj.debug;
  30274. },
  30275. debug$2(receiver, p0, p1) {
  30276. return receiver.debug(p0, p1);
  30277. },
  30278. get$error(obj) {
  30279. return obj.error;
  30280. },
  30281. error$1(receiver, p0) {
  30282. return receiver.error(p0);
  30283. },
  30284. error$2(receiver, p0, p1) {
  30285. return receiver.error(p0, p1);
  30286. },
  30287. log$1(receiver, p0) {
  30288. return receiver.log(p0);
  30289. },
  30290. get$warn(obj) {
  30291. return obj.warn;
  30292. },
  30293. warn$1(receiver, p0) {
  30294. return receiver.warn(p0);
  30295. },
  30296. warn$2(receiver, p0, p1) {
  30297. return receiver.warn(p0, p1);
  30298. },
  30299. existsSync$1(receiver, p0) {
  30300. return receiver.existsSync(p0);
  30301. },
  30302. mkdirSync$1(receiver, p0) {
  30303. return receiver.mkdirSync(p0);
  30304. },
  30305. readdirSync$1(receiver, p0) {
  30306. return receiver.readdirSync(p0);
  30307. },
  30308. readFileSync$2(receiver, p0, p1) {
  30309. return receiver.readFileSync(p0, p1);
  30310. },
  30311. statSync$1(receiver, p0) {
  30312. return receiver.statSync(p0);
  30313. },
  30314. unlinkSync$1(receiver, p0) {
  30315. return receiver.unlinkSync(p0);
  30316. },
  30317. watch$2(receiver, p0, p1) {
  30318. return receiver.watch(p0, p1);
  30319. },
  30320. writeFileSync$2(receiver, p0, p1) {
  30321. return receiver.writeFileSync(p0, p1);
  30322. },
  30323. get$path(obj) {
  30324. return obj.path;
  30325. },
  30326. isDirectory$0(receiver) {
  30327. return receiver.isDirectory();
  30328. },
  30329. isFile$0(receiver) {
  30330. return receiver.isFile();
  30331. },
  30332. get$mtime(obj) {
  30333. return obj.mtime;
  30334. },
  30335. then$1$1(receiver, p0) {
  30336. return receiver.then(p0);
  30337. },
  30338. then$2(receiver, p0, p1) {
  30339. return receiver.then(p0, p1);
  30340. },
  30341. getTime$0(receiver) {
  30342. return receiver.getTime();
  30343. },
  30344. get$message(obj) {
  30345. return obj.message;
  30346. },
  30347. message$1(receiver, p0) {
  30348. return receiver.message(p0);
  30349. },
  30350. get$code(obj) {
  30351. return obj.code;
  30352. },
  30353. get$syscall(obj) {
  30354. return obj.syscall;
  30355. },
  30356. get$env(obj) {
  30357. return obj.env;
  30358. },
  30359. get$exitCode(obj) {
  30360. return obj.exitCode;
  30361. },
  30362. set$exitCode(obj, v) {
  30363. return obj.exitCode = v;
  30364. },
  30365. get$platform(obj) {
  30366. return obj.platform;
  30367. },
  30368. get$release(obj) {
  30369. return obj.release;
  30370. },
  30371. get$stderr(obj) {
  30372. return obj.stderr;
  30373. },
  30374. get$stdin(obj) {
  30375. return obj.stdin;
  30376. },
  30377. get$stdout(obj) {
  30378. return obj.stdout;
  30379. },
  30380. get$name(obj) {
  30381. return obj.name;
  30382. },
  30383. push$1(receiver, p0) {
  30384. return receiver.push(p0);
  30385. },
  30386. call$0(receiver) {
  30387. return receiver.call();
  30388. },
  30389. call$1(receiver, p0) {
  30390. return receiver.call(p0);
  30391. },
  30392. call$2(receiver, p0, p1) {
  30393. return receiver.call(p0, p1);
  30394. },
  30395. call$3$1(receiver, p0) {
  30396. return receiver.call(p0);
  30397. },
  30398. call$2$1(receiver, p0) {
  30399. return receiver.call(p0);
  30400. },
  30401. call$1$1(receiver, p0) {
  30402. return receiver.call(p0);
  30403. },
  30404. call$3(receiver, p0, p1, p2) {
  30405. return receiver.call(p0, p1, p2);
  30406. },
  30407. call$3$3(receiver, p0, p1, p2) {
  30408. return receiver.call(p0, p1, p2);
  30409. },
  30410. call$2$2(receiver, p0, p1) {
  30411. return receiver.call(p0, p1);
  30412. },
  30413. call$2$0(receiver) {
  30414. return receiver.call();
  30415. },
  30416. call$1$0(receiver) {
  30417. return receiver.call();
  30418. },
  30419. call$1$2(receiver, p0, p1) {
  30420. return receiver.call(p0, p1);
  30421. },
  30422. call$2$3(receiver, p0, p1, p2) {
  30423. return receiver.call(p0, p1, p2);
  30424. },
  30425. apply$2(receiver, p0, p1) {
  30426. return receiver.apply(p0, p1);
  30427. },
  30428. toArray$0(receiver) {
  30429. return receiver.toArray();
  30430. },
  30431. asMutable$0(receiver) {
  30432. return receiver.asMutable();
  30433. },
  30434. asImmutable$0(receiver) {
  30435. return receiver.asImmutable();
  30436. },
  30437. $set$2(receiver, p0, p1) {
  30438. return receiver.set(p0, p1);
  30439. },
  30440. forEach$1(receiver, p0) {
  30441. return receiver.forEach(p0);
  30442. },
  30443. get$file(obj) {
  30444. return obj.file;
  30445. },
  30446. get$contents(obj) {
  30447. return obj.contents;
  30448. },
  30449. get$options(obj) {
  30450. return obj.options;
  30451. },
  30452. get$data(obj) {
  30453. return obj.data;
  30454. },
  30455. get$includePaths(obj) {
  30456. return obj.includePaths;
  30457. },
  30458. get$style(obj) {
  30459. return obj.style;
  30460. },
  30461. get$indentType(obj) {
  30462. return obj.indentType;
  30463. },
  30464. get$indentWidth(obj) {
  30465. return obj.indentWidth;
  30466. },
  30467. get$linefeed(obj) {
  30468. return obj.linefeed;
  30469. },
  30470. set$context(obj, v) {
  30471. return obj.context = v;
  30472. },
  30473. get$$prototype(obj) {
  30474. return obj.prototype;
  30475. },
  30476. get$red(obj) {
  30477. return obj.red;
  30478. },
  30479. get$green(obj) {
  30480. return obj.green;
  30481. },
  30482. get$blue(obj) {
  30483. return obj.blue;
  30484. },
  30485. get$hue(obj) {
  30486. return obj.hue;
  30487. },
  30488. get$saturation(obj) {
  30489. return obj.saturation;
  30490. },
  30491. get$lightness(obj) {
  30492. return obj.lightness;
  30493. },
  30494. get$whiteness(obj) {
  30495. return obj.whiteness;
  30496. },
  30497. get$blackness(obj) {
  30498. return obj.blackness;
  30499. },
  30500. get$alpha(obj) {
  30501. return obj.alpha;
  30502. },
  30503. get$dartValue(obj) {
  30504. return obj.dartValue;
  30505. },
  30506. set$dartValue(obj, v) {
  30507. return obj.dartValue = v;
  30508. },
  30509. get$alertAscii(obj) {
  30510. return obj.alertAscii;
  30511. },
  30512. get$alertColor(obj) {
  30513. return obj.alertColor;
  30514. },
  30515. get$loadPaths(obj) {
  30516. return obj.loadPaths;
  30517. },
  30518. get$quietDeps(obj) {
  30519. return obj.quietDeps;
  30520. },
  30521. get$verbose(obj) {
  30522. return obj.verbose;
  30523. },
  30524. get$charset(obj) {
  30525. return obj.charset;
  30526. },
  30527. get$sourceMap(obj) {
  30528. return obj.sourceMap;
  30529. },
  30530. get$sourceMapIncludeSources(obj) {
  30531. return obj.sourceMapIncludeSources;
  30532. },
  30533. get$logger(obj) {
  30534. return obj.logger;
  30535. },
  30536. get$importers(obj) {
  30537. return obj.importers;
  30538. },
  30539. get$functions(obj) {
  30540. return obj.functions;
  30541. },
  30542. get$syntax(obj) {
  30543. return obj.syntax;
  30544. },
  30545. get$url(obj) {
  30546. return obj.url;
  30547. },
  30548. get$importer(obj) {
  30549. return obj.importer;
  30550. },
  30551. get$_dartException(obj) {
  30552. return obj._dartException;
  30553. },
  30554. set$renderSync(obj, v) {
  30555. return obj.renderSync = v;
  30556. },
  30557. set$compileString(obj, v) {
  30558. return obj.compileString = v;
  30559. },
  30560. set$compileStringAsync(obj, v) {
  30561. return obj.compileStringAsync = v;
  30562. },
  30563. set$compile(obj, v) {
  30564. return obj.compile = v;
  30565. },
  30566. set$compileAsync(obj, v) {
  30567. return obj.compileAsync = v;
  30568. },
  30569. set$info(obj, v) {
  30570. return obj.info = v;
  30571. },
  30572. set$Exception(obj, v) {
  30573. return obj.Exception = v;
  30574. },
  30575. set$Logger(obj, v) {
  30576. return obj.Logger = v;
  30577. },
  30578. set$Value(obj, v) {
  30579. return obj.Value = v;
  30580. },
  30581. set$SassArgumentList(obj, v) {
  30582. return obj.SassArgumentList = v;
  30583. },
  30584. set$SassCalculation(obj, v) {
  30585. return obj.SassCalculation = v;
  30586. },
  30587. set$CalculationOperation(obj, v) {
  30588. return obj.CalculationOperation = v;
  30589. },
  30590. set$CalculationInterpolation(obj, v) {
  30591. return obj.CalculationInterpolation = v;
  30592. },
  30593. set$SassBoolean(obj, v) {
  30594. return obj.SassBoolean = v;
  30595. },
  30596. set$SassColor(obj, v) {
  30597. return obj.SassColor = v;
  30598. },
  30599. set$SassFunction(obj, v) {
  30600. return obj.SassFunction = v;
  30601. },
  30602. set$SassMixin(obj, v) {
  30603. return obj.SassMixin = v;
  30604. },
  30605. set$SassList(obj, v) {
  30606. return obj.SassList = v;
  30607. },
  30608. set$SassMap(obj, v) {
  30609. return obj.SassMap = v;
  30610. },
  30611. set$SassNumber(obj, v) {
  30612. return obj.SassNumber = v;
  30613. },
  30614. set$SassString(obj, v) {
  30615. return obj.SassString = v;
  30616. },
  30617. set$sassNull(obj, v) {
  30618. return obj.sassNull = v;
  30619. },
  30620. set$sassTrue(obj, v) {
  30621. return obj.sassTrue = v;
  30622. },
  30623. set$sassFalse(obj, v) {
  30624. return obj.sassFalse = v;
  30625. },
  30626. set$render(obj, v) {
  30627. return obj.render = v;
  30628. },
  30629. set$types(obj, v) {
  30630. return obj.types = v;
  30631. },
  30632. set$NULL(obj, v) {
  30633. return obj.NULL = v;
  30634. },
  30635. set$TRUE(obj, v) {
  30636. return obj.TRUE = v;
  30637. },
  30638. set$FALSE(obj, v) {
  30639. return obj.FALSE = v;
  30640. },
  30641. get$current(obj) {
  30642. return obj.current;
  30643. },
  30644. yield$0(receiver) {
  30645. return receiver.yield();
  30646. },
  30647. run$1$1(receiver, p0) {
  30648. return receiver.run(p0);
  30649. },
  30650. run$1(receiver, p0) {
  30651. return receiver.run(p0);
  30652. },
  30653. run$0(receiver) {
  30654. return receiver.run();
  30655. },
  30656. get$canonicalize(obj) {
  30657. return obj.canonicalize;
  30658. },
  30659. canonicalize$1(receiver, p0) {
  30660. return receiver.canonicalize(p0);
  30661. },
  30662. get$load(obj) {
  30663. return obj.load;
  30664. },
  30665. load$1(receiver, p0) {
  30666. return receiver.load(p0);
  30667. },
  30668. get$findFileUrl(obj) {
  30669. return obj.findFileUrl;
  30670. },
  30671. get$nonCanonicalScheme(obj) {
  30672. return obj.nonCanonicalScheme;
  30673. },
  30674. get$sourceMapUrl(obj) {
  30675. return obj.sourceMapUrl;
  30676. },
  30677. get$separator(obj) {
  30678. return obj.separator;
  30679. },
  30680. get$brackets(obj) {
  30681. return obj.brackets;
  30682. },
  30683. get$numeratorUnits(obj) {
  30684. return obj.numeratorUnits;
  30685. },
  30686. get$denominatorUnits(obj) {
  30687. return obj.denominatorUnits;
  30688. },
  30689. get$indentedSyntax(obj) {
  30690. return obj.indentedSyntax;
  30691. },
  30692. get$omitSourceMapUrl(obj) {
  30693. return obj.omitSourceMapUrl;
  30694. },
  30695. get$outFile(obj) {
  30696. return obj.outFile;
  30697. },
  30698. get$outputStyle(obj) {
  30699. return obj.outputStyle;
  30700. },
  30701. get$fiber(obj) {
  30702. return obj.fiber;
  30703. },
  30704. get$sourceMapContents(obj) {
  30705. return obj.sourceMapContents;
  30706. },
  30707. get$sourceMapEmbed(obj) {
  30708. return obj.sourceMapEmbed;
  30709. },
  30710. get$sourceMapRoot(obj) {
  30711. return obj.sourceMapRoot;
  30712. },
  30713. set$cli_pkg_main_0_(obj, v) {
  30714. return obj.cli_pkg_main_0_ = v;
  30715. },
  30716. get$quotes(obj) {
  30717. return obj.quotes;
  30718. }
  30719. };
  30720. J.PlainJavaScriptObject.prototype = {};
  30721. J.UnknownJavaScriptObject.prototype = {};
  30722. J.JavaScriptFunction.prototype = {
  30723. toString$0(receiver) {
  30724. var dartClosure = receiver[$.$get$DART_CLOSURE_PROPERTY_NAME()];
  30725. if (dartClosure == null)
  30726. return this.super$LegacyJavaScriptObject$toString(receiver);
  30727. return "JavaScript function for " + A.S(J.toString$0$(dartClosure));
  30728. },
  30729. $isFunction: 1
  30730. };
  30731. J.JavaScriptBigInt.prototype = {
  30732. get$hashCode(receiver) {
  30733. return 0;
  30734. },
  30735. toString$0(receiver) {
  30736. return String(receiver);
  30737. }
  30738. };
  30739. J.JavaScriptSymbol.prototype = {
  30740. get$hashCode(receiver) {
  30741. return 0;
  30742. },
  30743. toString$0(receiver) {
  30744. return String(receiver);
  30745. }
  30746. };
  30747. J.JSArray.prototype = {
  30748. cast$1$0(receiver, $R) {
  30749. return new A.CastList(receiver, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  30750. },
  30751. add$1(receiver, value) {
  30752. if (!!receiver.fixed$length)
  30753. A.throwExpression(A.UnsupportedError$("add"));
  30754. receiver.push(value);
  30755. },
  30756. removeAt$1(receiver, index) {
  30757. var t1;
  30758. if (!!receiver.fixed$length)
  30759. A.throwExpression(A.UnsupportedError$("removeAt"));
  30760. t1 = receiver.length;
  30761. if (index >= t1)
  30762. throw A.wrapException(A.RangeError$value(index, null, null));
  30763. return receiver.splice(index, 1)[0];
  30764. },
  30765. insert$2(receiver, index, value) {
  30766. var t1;
  30767. if (!!receiver.fixed$length)
  30768. A.throwExpression(A.UnsupportedError$("insert"));
  30769. t1 = receiver.length;
  30770. if (index > t1)
  30771. throw A.wrapException(A.RangeError$value(index, null, null));
  30772. receiver.splice(index, 0, value);
  30773. },
  30774. insertAll$2(receiver, index, iterable) {
  30775. var insertionLength, end;
  30776. if (!!receiver.fixed$length)
  30777. A.throwExpression(A.UnsupportedError$("insertAll"));
  30778. A.RangeError_checkValueInInterval(index, 0, receiver.length, "index");
  30779. if (!type$.EfficientLengthIterable_dynamic._is(iterable))
  30780. iterable = J.toList$0$ax(iterable);
  30781. insertionLength = J.get$length$asx(iterable);
  30782. receiver.length = receiver.length + insertionLength;
  30783. end = index + insertionLength;
  30784. this.setRange$4(receiver, end, receiver.length, receiver, index);
  30785. this.setRange$3(receiver, index, end, iterable);
  30786. },
  30787. removeLast$0(receiver) {
  30788. if (!!receiver.fixed$length)
  30789. A.throwExpression(A.UnsupportedError$("removeLast"));
  30790. if (receiver.length === 0)
  30791. throw A.wrapException(A.diagnoseIndexError(receiver, -1));
  30792. return receiver.pop();
  30793. },
  30794. _removeWhere$2(receiver, test, removeMatching) {
  30795. var i, element, t1, retained = [],
  30796. end = receiver.length;
  30797. for (i = 0; i < end; ++i) {
  30798. element = receiver[i];
  30799. if (!test.call$1(element))
  30800. retained.push(element);
  30801. if (receiver.length !== end)
  30802. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  30803. }
  30804. t1 = retained.length;
  30805. if (t1 === end)
  30806. return;
  30807. this.set$length(receiver, t1);
  30808. for (i = 0; i < retained.length; ++i)
  30809. receiver[i] = retained[i];
  30810. },
  30811. where$1(receiver, f) {
  30812. return new A.WhereIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("WhereIterable<1>"));
  30813. },
  30814. expand$1$1(receiver, f, $T) {
  30815. return new A.ExpandIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  30816. },
  30817. addAll$1(receiver, collection) {
  30818. var t1;
  30819. if (!!receiver.fixed$length)
  30820. A.throwExpression(A.UnsupportedError$("addAll"));
  30821. if (Array.isArray(collection)) {
  30822. this._addAllFromArray$1(receiver, collection);
  30823. return;
  30824. }
  30825. for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();)
  30826. receiver.push(t1.get$current(t1));
  30827. },
  30828. _addAllFromArray$1(receiver, array) {
  30829. var i,
  30830. len = array.length;
  30831. if (len === 0)
  30832. return;
  30833. if (receiver === array)
  30834. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  30835. for (i = 0; i < len; ++i)
  30836. receiver.push(array[i]);
  30837. },
  30838. clear$0(receiver) {
  30839. if (!!receiver.fixed$length)
  30840. A.throwExpression(A.UnsupportedError$("clear"));
  30841. receiver.length = 0;
  30842. },
  30843. map$1$1(receiver, f, $T) {
  30844. return new A.MappedListIterable(receiver, f, A._arrayInstanceType(receiver)._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  30845. },
  30846. join$1(receiver, separator) {
  30847. var i,
  30848. list = A.List_List$filled(receiver.length, "", false, type$.String);
  30849. for (i = 0; i < receiver.length; ++i)
  30850. list[i] = A.S(receiver[i]);
  30851. return list.join(separator);
  30852. },
  30853. join$0($receiver) {
  30854. return this.join$1($receiver, "");
  30855. },
  30856. take$1(receiver, n) {
  30857. return A.SubListIterable$(receiver, 0, A.checkNotNullable(n, "count", type$.int), A._arrayInstanceType(receiver)._precomputed1);
  30858. },
  30859. skip$1(receiver, n) {
  30860. return A.SubListIterable$(receiver, n, null, A._arrayInstanceType(receiver)._precomputed1);
  30861. },
  30862. fold$1$2(receiver, initialValue, combine) {
  30863. var value, i,
  30864. $length = receiver.length;
  30865. for (value = initialValue, i = 0; i < $length; ++i) {
  30866. value = combine.call$2(value, receiver[i]);
  30867. if (receiver.length !== $length)
  30868. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  30869. }
  30870. return value;
  30871. },
  30872. fold$2($receiver, initialValue, combine) {
  30873. return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
  30874. },
  30875. elementAt$1(receiver, index) {
  30876. return receiver[index];
  30877. },
  30878. sublist$2(receiver, start, end) {
  30879. var end0 = receiver.length;
  30880. if (start > end0)
  30881. throw A.wrapException(A.RangeError$range(start, 0, end0, "start", null));
  30882. if (end == null)
  30883. end = end0;
  30884. else if (end < start || end > end0)
  30885. throw A.wrapException(A.RangeError$range(end, start, end0, "end", null));
  30886. if (start === end)
  30887. return A._setArrayType([], A._arrayInstanceType(receiver));
  30888. return A._setArrayType(receiver.slice(start, end), A._arrayInstanceType(receiver));
  30889. },
  30890. sublist$1($receiver, start) {
  30891. return this.sublist$2($receiver, start, null);
  30892. },
  30893. getRange$2(receiver, start, end) {
  30894. A.RangeError_checkValidRange(start, end, receiver.length);
  30895. return A.SubListIterable$(receiver, start, end, A._arrayInstanceType(receiver)._precomputed1);
  30896. },
  30897. get$first(receiver) {
  30898. if (receiver.length > 0)
  30899. return receiver[0];
  30900. throw A.wrapException(A.IterableElementError_noElement());
  30901. },
  30902. get$last(receiver) {
  30903. var t1 = receiver.length;
  30904. if (t1 > 0)
  30905. return receiver[t1 - 1];
  30906. throw A.wrapException(A.IterableElementError_noElement());
  30907. },
  30908. get$single(receiver) {
  30909. var t1 = receiver.length;
  30910. if (t1 === 1)
  30911. return receiver[0];
  30912. if (t1 === 0)
  30913. throw A.wrapException(A.IterableElementError_noElement());
  30914. throw A.wrapException(A.IterableElementError_tooMany());
  30915. },
  30916. removeRange$2(receiver, start, end) {
  30917. if (!!receiver.fixed$length)
  30918. A.throwExpression(A.UnsupportedError$("removeRange"));
  30919. A.RangeError_checkValidRange(start, end, receiver.length);
  30920. receiver.splice(start, end - start);
  30921. },
  30922. setRange$4(receiver, start, end, iterable, skipCount) {
  30923. var $length, otherList, otherStart, t1, i;
  30924. if (!!receiver.immutable$list)
  30925. A.throwExpression(A.UnsupportedError$("setRange"));
  30926. A.RangeError_checkValidRange(start, end, receiver.length);
  30927. $length = end - start;
  30928. if ($length === 0)
  30929. return;
  30930. A.RangeError_checkNotNegative(skipCount, "skipCount");
  30931. if (type$.List_dynamic._is(iterable)) {
  30932. otherList = iterable;
  30933. otherStart = skipCount;
  30934. } else {
  30935. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  30936. otherStart = 0;
  30937. }
  30938. t1 = J.getInterceptor$asx(otherList);
  30939. if (otherStart + $length > t1.get$length(otherList))
  30940. throw A.wrapException(A.IterableElementError_tooFew());
  30941. if (otherStart < start)
  30942. for (i = $length - 1; i >= 0; --i)
  30943. receiver[start + i] = t1.$index(otherList, otherStart + i);
  30944. else
  30945. for (i = 0; i < $length; ++i)
  30946. receiver[start + i] = t1.$index(otherList, otherStart + i);
  30947. },
  30948. setRange$3($receiver, start, end, iterable) {
  30949. return this.setRange$4($receiver, start, end, iterable, 0);
  30950. },
  30951. fillRange$3(receiver, start, end, fillValue) {
  30952. var i;
  30953. if (!!receiver.immutable$list)
  30954. A.throwExpression(A.UnsupportedError$("fill range"));
  30955. A.RangeError_checkValidRange(start, end, receiver.length);
  30956. A._arrayInstanceType(receiver)._precomputed1._as(fillValue);
  30957. for (i = start; i < end; ++i)
  30958. receiver[i] = fillValue;
  30959. },
  30960. any$1(receiver, test) {
  30961. var i,
  30962. end = receiver.length;
  30963. for (i = 0; i < end; ++i) {
  30964. if (test.call$1(receiver[i]))
  30965. return true;
  30966. if (receiver.length !== end)
  30967. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  30968. }
  30969. return false;
  30970. },
  30971. every$1(receiver, test) {
  30972. var i,
  30973. end = receiver.length;
  30974. for (i = 0; i < end; ++i) {
  30975. if (!test.call$1(receiver[i]))
  30976. return false;
  30977. if (receiver.length !== end)
  30978. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  30979. }
  30980. return true;
  30981. },
  30982. get$reversed(receiver) {
  30983. return new A.ReversedListIterable(receiver, A._arrayInstanceType(receiver)._eval$1("ReversedListIterable<1>"));
  30984. },
  30985. sort$1(receiver, compare) {
  30986. var len, a, b, undefineds, i;
  30987. if (!!receiver.immutable$list)
  30988. A.throwExpression(A.UnsupportedError$("sort"));
  30989. len = receiver.length;
  30990. if (len < 2)
  30991. return;
  30992. if (compare == null)
  30993. compare = J._interceptors_JSArray__compareAny$closure();
  30994. if (len === 2) {
  30995. a = receiver[0];
  30996. b = receiver[1];
  30997. if (compare.call$2(a, b) > 0) {
  30998. receiver[0] = b;
  30999. receiver[1] = a;
  31000. }
  31001. return;
  31002. }
  31003. if (A._arrayInstanceType(receiver)._precomputed1._is(null)) {
  31004. for (undefineds = 0, i = 0; i < receiver.length; ++i)
  31005. if (receiver[i] === void 0) {
  31006. receiver[i] = null;
  31007. ++undefineds;
  31008. }
  31009. } else
  31010. undefineds = 0;
  31011. receiver.sort(A.convertDartClosureToJS(compare, 2));
  31012. if (undefineds > 0)
  31013. this._replaceSomeNullsWithUndefined$1(receiver, undefineds);
  31014. },
  31015. sort$0($receiver) {
  31016. return this.sort$1($receiver, null);
  31017. },
  31018. _replaceSomeNullsWithUndefined$1(receiver, count) {
  31019. var i0,
  31020. i = receiver.length;
  31021. for (; i0 = i - 1, i > 0; i = i0)
  31022. if (receiver[i0] === null) {
  31023. receiver[i0] = void 0;
  31024. --count;
  31025. if (count === 0)
  31026. break;
  31027. }
  31028. },
  31029. indexOf$1(receiver, element) {
  31030. var i,
  31031. $length = receiver.length;
  31032. if (0 >= $length)
  31033. return -1;
  31034. for (i = 0; i < $length; ++i)
  31035. if (J.$eq$(receiver[i], element))
  31036. return i;
  31037. return -1;
  31038. },
  31039. contains$1(receiver, other) {
  31040. var i;
  31041. for (i = 0; i < receiver.length; ++i)
  31042. if (J.$eq$(receiver[i], other))
  31043. return true;
  31044. return false;
  31045. },
  31046. get$isEmpty(receiver) {
  31047. return receiver.length === 0;
  31048. },
  31049. get$isNotEmpty(receiver) {
  31050. return receiver.length !== 0;
  31051. },
  31052. toString$0(receiver) {
  31053. return A.Iterable_iterableToFullString(receiver, "[", "]");
  31054. },
  31055. toList$1$growable(receiver, growable) {
  31056. var t1 = A._setArrayType(receiver.slice(0), A._arrayInstanceType(receiver));
  31057. return t1;
  31058. },
  31059. toList$0($receiver) {
  31060. return this.toList$1$growable($receiver, true);
  31061. },
  31062. toSet$0(receiver) {
  31063. return A.LinkedHashSet_LinkedHashSet$from(receiver, A._arrayInstanceType(receiver)._precomputed1);
  31064. },
  31065. get$iterator(receiver) {
  31066. return new J.ArrayIterator(receiver, receiver.length);
  31067. },
  31068. get$hashCode(receiver) {
  31069. return A.Primitives_objectHashCode(receiver);
  31070. },
  31071. get$length(receiver) {
  31072. return receiver.length;
  31073. },
  31074. set$length(receiver, newLength) {
  31075. if (!!receiver.fixed$length)
  31076. A.throwExpression(A.UnsupportedError$("set length"));
  31077. if (newLength < 0)
  31078. throw A.wrapException(A.RangeError$range(newLength, 0, null, "newLength", null));
  31079. if (newLength > receiver.length)
  31080. A._arrayInstanceType(receiver)._precomputed1._as(null);
  31081. receiver.length = newLength;
  31082. },
  31083. $index(receiver, index) {
  31084. if (!(index >= 0 && index < receiver.length))
  31085. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  31086. return receiver[index];
  31087. },
  31088. $indexSet(receiver, index, value) {
  31089. if (!!receiver.immutable$list)
  31090. A.throwExpression(A.UnsupportedError$("indexed set"));
  31091. if (!(index >= 0 && index < receiver.length))
  31092. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  31093. receiver[index] = value;
  31094. },
  31095. $add(receiver, other) {
  31096. var t1 = A.List_List$of(receiver, true, A._arrayInstanceType(receiver)._precomputed1);
  31097. this.addAll$1(t1, other);
  31098. return t1;
  31099. },
  31100. indexWhere$1(receiver, test) {
  31101. var i;
  31102. if (0 >= receiver.length)
  31103. return -1;
  31104. for (i = 0; i < receiver.length; ++i)
  31105. if (test.call$1(receiver[i]))
  31106. return i;
  31107. return -1;
  31108. },
  31109. $isEfficientLengthIterable: 1,
  31110. $isIterable: 1,
  31111. $isList: 1
  31112. };
  31113. J.JSUnmodifiableArray.prototype = {};
  31114. J.ArrayIterator.prototype = {
  31115. get$current(_) {
  31116. var t1 = this._current;
  31117. return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
  31118. },
  31119. moveNext$0() {
  31120. var t2, _this = this,
  31121. t1 = _this._iterable,
  31122. $length = t1.length;
  31123. if (_this._length !== $length)
  31124. throw A.wrapException(A.throwConcurrentModificationError(t1));
  31125. t2 = _this._index;
  31126. if (t2 >= $length) {
  31127. _this._current = null;
  31128. return false;
  31129. }
  31130. _this._current = t1[t2];
  31131. _this._index = t2 + 1;
  31132. return true;
  31133. }
  31134. };
  31135. J.JSNumber.prototype = {
  31136. compareTo$1(receiver, b) {
  31137. var bIsNegative;
  31138. if (receiver < b)
  31139. return -1;
  31140. else if (receiver > b)
  31141. return 1;
  31142. else if (receiver === b) {
  31143. if (receiver === 0) {
  31144. bIsNegative = this.get$isNegative(b);
  31145. if (this.get$isNegative(receiver) === bIsNegative)
  31146. return 0;
  31147. if (this.get$isNegative(receiver))
  31148. return -1;
  31149. return 1;
  31150. }
  31151. return 0;
  31152. } else if (isNaN(receiver)) {
  31153. if (isNaN(b))
  31154. return 0;
  31155. return 1;
  31156. } else
  31157. return -1;
  31158. },
  31159. get$isNegative(receiver) {
  31160. return receiver === 0 ? 1 / receiver < 0 : receiver < 0;
  31161. },
  31162. get$sign(receiver) {
  31163. var t1;
  31164. if (receiver > 0)
  31165. t1 = 1;
  31166. else
  31167. t1 = receiver < 0 ? -1 : receiver;
  31168. return t1;
  31169. },
  31170. ceil$0(receiver) {
  31171. var truncated, d;
  31172. if (receiver >= 0) {
  31173. if (receiver <= 2147483647) {
  31174. truncated = receiver | 0;
  31175. return receiver === truncated ? truncated : truncated + 1;
  31176. }
  31177. } else if (receiver >= -2147483648)
  31178. return receiver | 0;
  31179. d = Math.ceil(receiver);
  31180. if (isFinite(d))
  31181. return d;
  31182. throw A.wrapException(A.UnsupportedError$("" + receiver + ".ceil()"));
  31183. },
  31184. floor$0(receiver) {
  31185. var truncated, d;
  31186. if (receiver >= 0) {
  31187. if (receiver <= 2147483647)
  31188. return receiver | 0;
  31189. } else if (receiver >= -2147483648) {
  31190. truncated = receiver | 0;
  31191. return receiver === truncated ? truncated : truncated - 1;
  31192. }
  31193. d = Math.floor(receiver);
  31194. if (isFinite(d))
  31195. return d;
  31196. throw A.wrapException(A.UnsupportedError$("" + receiver + ".floor()"));
  31197. },
  31198. round$0(receiver) {
  31199. if (receiver > 0) {
  31200. if (receiver !== 1 / 0)
  31201. return Math.round(receiver);
  31202. } else if (receiver > -1 / 0)
  31203. return 0 - Math.round(0 - receiver);
  31204. throw A.wrapException(A.UnsupportedError$("" + receiver + ".round()"));
  31205. },
  31206. clamp$2(receiver, lowerLimit, upperLimit) {
  31207. if (B.JSInt_methods.compareTo$1(lowerLimit, upperLimit) > 0)
  31208. throw A.wrapException(A.argumentErrorValue(lowerLimit));
  31209. if (this.compareTo$1(receiver, lowerLimit) < 0)
  31210. return lowerLimit;
  31211. if (this.compareTo$1(receiver, upperLimit) > 0)
  31212. return upperLimit;
  31213. return receiver;
  31214. },
  31215. toRadixString$1(receiver, radix) {
  31216. var result, match, exponent, t1;
  31217. if (radix < 2 || radix > 36)
  31218. throw A.wrapException(A.RangeError$range(radix, 2, 36, "radix", null));
  31219. result = receiver.toString(radix);
  31220. if (result.charCodeAt(result.length - 1) !== 41)
  31221. return result;
  31222. match = /^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(result);
  31223. if (match == null)
  31224. A.throwExpression(A.UnsupportedError$("Unexpected toString result: " + result));
  31225. result = match[1];
  31226. exponent = +match[3];
  31227. t1 = match[2];
  31228. if (t1 != null) {
  31229. result += t1;
  31230. exponent -= t1.length;
  31231. }
  31232. return result + B.JSString_methods.$mul("0", exponent);
  31233. },
  31234. toString$0(receiver) {
  31235. if (receiver === 0 && 1 / receiver < 0)
  31236. return "-0.0";
  31237. else
  31238. return "" + receiver;
  31239. },
  31240. get$hashCode(receiver) {
  31241. var absolute, floorLog2, factor, scaled,
  31242. intValue = receiver | 0;
  31243. if (receiver === intValue)
  31244. return intValue & 536870911;
  31245. absolute = Math.abs(receiver);
  31246. floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0;
  31247. factor = Math.pow(2, floorLog2);
  31248. scaled = absolute < 1 ? absolute / factor : factor / absolute;
  31249. return ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259 & 536870911;
  31250. },
  31251. $mod(receiver, other) {
  31252. var result = receiver % other;
  31253. if (result === 0)
  31254. return 0;
  31255. if (result > 0)
  31256. return result;
  31257. if (other < 0)
  31258. return result - other;
  31259. else
  31260. return result + other;
  31261. },
  31262. $tdiv(receiver, other) {
  31263. if ((receiver | 0) === receiver)
  31264. if (other >= 1 || other < -1)
  31265. return receiver / other | 0;
  31266. return this._tdivSlow$1(receiver, other);
  31267. },
  31268. _tdivFast$1(receiver, other) {
  31269. return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow$1(receiver, other);
  31270. },
  31271. _tdivSlow$1(receiver, other) {
  31272. var quotient = receiver / other;
  31273. if (quotient >= -2147483648 && quotient <= 2147483647)
  31274. return quotient | 0;
  31275. if (quotient > 0) {
  31276. if (quotient !== 1 / 0)
  31277. return Math.floor(quotient);
  31278. } else if (quotient > -1 / 0)
  31279. return Math.ceil(quotient);
  31280. throw A.wrapException(A.UnsupportedError$("Result of truncating division is " + A.S(quotient) + ": " + A.S(receiver) + " ~/ " + other));
  31281. },
  31282. _shrOtherPositive$1(receiver, other) {
  31283. var t1;
  31284. if (receiver > 0)
  31285. t1 = this._shrBothPositive$1(receiver, other);
  31286. else {
  31287. t1 = other > 31 ? 31 : other;
  31288. t1 = receiver >> t1 >>> 0;
  31289. }
  31290. return t1;
  31291. },
  31292. _shrReceiverPositive$1(receiver, other) {
  31293. if (0 > other)
  31294. throw A.wrapException(A.argumentErrorValue(other));
  31295. return this._shrBothPositive$1(receiver, other);
  31296. },
  31297. _shrBothPositive$1(receiver, other) {
  31298. return other > 31 ? 0 : receiver >>> other;
  31299. },
  31300. get$runtimeType(receiver) {
  31301. return A.createRuntimeType(type$.num);
  31302. },
  31303. $isComparable: 1,
  31304. $isdouble: 1,
  31305. $isnum: 1
  31306. };
  31307. J.JSInt.prototype = {
  31308. get$sign(receiver) {
  31309. var t1;
  31310. if (receiver > 0)
  31311. t1 = 1;
  31312. else
  31313. t1 = receiver < 0 ? -1 : receiver;
  31314. return t1;
  31315. },
  31316. get$runtimeType(receiver) {
  31317. return A.createRuntimeType(type$.int);
  31318. },
  31319. $isTrustedGetRuntimeType: 1,
  31320. $isint: 1
  31321. };
  31322. J.JSNumNotInt.prototype = {
  31323. get$runtimeType(receiver) {
  31324. return A.createRuntimeType(type$.double);
  31325. },
  31326. $isTrustedGetRuntimeType: 1
  31327. };
  31328. J.JSString.prototype = {
  31329. codeUnitAt$1(receiver, index) {
  31330. if (index < 0)
  31331. throw A.wrapException(A.diagnoseIndexError(receiver, index));
  31332. if (index >= receiver.length)
  31333. A.throwExpression(A.diagnoseIndexError(receiver, index));
  31334. return receiver.charCodeAt(index);
  31335. },
  31336. allMatches$2(receiver, string, start) {
  31337. var t1 = string.length;
  31338. if (start > t1)
  31339. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  31340. return new A._StringAllMatchesIterable(string, receiver, start);
  31341. },
  31342. allMatches$1($receiver, string) {
  31343. return this.allMatches$2($receiver, string, 0);
  31344. },
  31345. matchAsPrefix$2(receiver, string, start) {
  31346. var t1, i, _null = null;
  31347. if (start < 0 || start > string.length)
  31348. throw A.wrapException(A.RangeError$range(start, 0, string.length, _null, _null));
  31349. t1 = receiver.length;
  31350. if (start + t1 > string.length)
  31351. return _null;
  31352. for (i = 0; i < t1; ++i)
  31353. if (string.charCodeAt(start + i) !== receiver.charCodeAt(i))
  31354. return _null;
  31355. return new A.StringMatch(start, receiver);
  31356. },
  31357. $add(receiver, other) {
  31358. return receiver + other;
  31359. },
  31360. endsWith$1(receiver, other) {
  31361. var otherLength = other.length,
  31362. t1 = receiver.length;
  31363. if (otherLength > t1)
  31364. return false;
  31365. return other === this.substring$1(receiver, t1 - otherLength);
  31366. },
  31367. replaceFirst$2(receiver, from, to) {
  31368. A.RangeError_checkValueInInterval(0, 0, receiver.length, "startIndex");
  31369. return A.stringReplaceFirstUnchecked(receiver, from, to, 0);
  31370. },
  31371. split$1(receiver, pattern) {
  31372. if (typeof pattern == "string")
  31373. return A._setArrayType(receiver.split(pattern), type$.JSArray_String);
  31374. else if (pattern instanceof A.JSSyntaxRegExp && pattern.get$_nativeAnchoredVersion().exec("").length - 2 === 0)
  31375. return A._setArrayType(receiver.split(pattern._nativeRegExp), type$.JSArray_String);
  31376. else
  31377. return this._defaultSplit$1(receiver, pattern);
  31378. },
  31379. replaceRange$3(receiver, start, end, replacement) {
  31380. var e = A.RangeError_checkValidRange(start, end, receiver.length);
  31381. return A.stringReplaceRangeUnchecked(receiver, start, e, replacement);
  31382. },
  31383. _defaultSplit$1(receiver, pattern) {
  31384. var t1, start, $length, match, matchStart, matchEnd,
  31385. result = A._setArrayType([], type$.JSArray_String);
  31386. for (t1 = J.allMatches$1$s(pattern, receiver), t1 = t1.get$iterator(t1), start = 0, $length = 1; t1.moveNext$0();) {
  31387. match = t1.get$current(t1);
  31388. matchStart = match.get$start(match);
  31389. matchEnd = match.get$end(match);
  31390. $length = matchEnd - matchStart;
  31391. if ($length === 0 && start === matchStart)
  31392. continue;
  31393. result.push(this.substring$2(receiver, start, matchStart));
  31394. start = matchEnd;
  31395. }
  31396. if (start < receiver.length || $length > 0)
  31397. result.push(this.substring$1(receiver, start));
  31398. return result;
  31399. },
  31400. startsWith$2(receiver, pattern, index) {
  31401. var endIndex;
  31402. if (index < 0 || index > receiver.length)
  31403. throw A.wrapException(A.RangeError$range(index, 0, receiver.length, null, null));
  31404. if (typeof pattern == "string") {
  31405. endIndex = index + pattern.length;
  31406. if (endIndex > receiver.length)
  31407. return false;
  31408. return pattern === receiver.substring(index, endIndex);
  31409. }
  31410. return J.matchAsPrefix$2$s(pattern, receiver, index) != null;
  31411. },
  31412. startsWith$1($receiver, pattern) {
  31413. return this.startsWith$2($receiver, pattern, 0);
  31414. },
  31415. substring$2(receiver, start, end) {
  31416. return receiver.substring(start, A.RangeError_checkValidRange(start, end, receiver.length));
  31417. },
  31418. substring$1($receiver, start) {
  31419. return this.substring$2($receiver, start, null);
  31420. },
  31421. trim$0(receiver) {
  31422. var startIndex, t1, endIndex0,
  31423. result = receiver.trim(),
  31424. endIndex = result.length;
  31425. if (endIndex === 0)
  31426. return result;
  31427. if (result.charCodeAt(0) === 133) {
  31428. startIndex = J.JSString__skipLeadingWhitespace(result, 1);
  31429. if (startIndex === endIndex)
  31430. return "";
  31431. } else
  31432. startIndex = 0;
  31433. t1 = endIndex - 1;
  31434. endIndex0 = result.charCodeAt(t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex;
  31435. if (startIndex === 0 && endIndex0 === endIndex)
  31436. return result;
  31437. return result.substring(startIndex, endIndex0);
  31438. },
  31439. trimLeft$0(receiver) {
  31440. var result = receiver.trimStart();
  31441. if (result.length === 0)
  31442. return result;
  31443. if (result.charCodeAt(0) !== 133)
  31444. return result;
  31445. return result.substring(J.JSString__skipLeadingWhitespace(result, 1));
  31446. },
  31447. trimRight$0(receiver) {
  31448. var t1,
  31449. result = receiver.trimEnd(),
  31450. endIndex = result.length;
  31451. if (endIndex === 0)
  31452. return result;
  31453. t1 = endIndex - 1;
  31454. if (result.charCodeAt(t1) !== 133)
  31455. return result;
  31456. return result.substring(0, J.JSString__skipTrailingWhitespace(result, t1));
  31457. },
  31458. $mul(receiver, times) {
  31459. var s, result;
  31460. if (0 >= times)
  31461. return "";
  31462. if (times === 1 || receiver.length === 0)
  31463. return receiver;
  31464. if (times !== times >>> 0)
  31465. throw A.wrapException(B.C_OutOfMemoryError);
  31466. for (s = receiver, result = ""; true;) {
  31467. if ((times & 1) === 1)
  31468. result = s + result;
  31469. times = times >>> 1;
  31470. if (times === 0)
  31471. break;
  31472. s += s;
  31473. }
  31474. return result;
  31475. },
  31476. padLeft$2(receiver, width, padding) {
  31477. var delta = width - receiver.length;
  31478. if (delta <= 0)
  31479. return receiver;
  31480. return this.$mul(padding, delta) + receiver;
  31481. },
  31482. padRight$1(receiver, width) {
  31483. var delta = width - receiver.length;
  31484. if (delta <= 0)
  31485. return receiver;
  31486. return receiver + this.$mul(" ", delta);
  31487. },
  31488. indexOf$2(receiver, pattern, start) {
  31489. var t1;
  31490. if (start < 0 || start > receiver.length)
  31491. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  31492. t1 = receiver.indexOf(pattern, start);
  31493. return t1;
  31494. },
  31495. indexOf$1($receiver, pattern) {
  31496. return this.indexOf$2($receiver, pattern, 0);
  31497. },
  31498. lastIndexOf$2(receiver, pattern, start) {
  31499. var t1, t2, i;
  31500. if (start == null)
  31501. start = receiver.length;
  31502. else if (start < 0 || start > receiver.length)
  31503. throw A.wrapException(A.RangeError$range(start, 0, receiver.length, null, null));
  31504. if (typeof pattern == "string") {
  31505. t1 = pattern.length;
  31506. t2 = receiver.length;
  31507. if (start + t1 > t2)
  31508. start = t2 - t1;
  31509. return receiver.lastIndexOf(pattern, start);
  31510. }
  31511. for (t1 = J.getInterceptor$s(pattern), i = start; i >= 0; --i)
  31512. if (t1.matchAsPrefix$2(pattern, receiver, i) != null)
  31513. return i;
  31514. return -1;
  31515. },
  31516. lastIndexOf$1($receiver, pattern) {
  31517. return this.lastIndexOf$2($receiver, pattern, null);
  31518. },
  31519. contains$2(receiver, other, startIndex) {
  31520. var t1 = receiver.length;
  31521. if (startIndex > t1)
  31522. throw A.wrapException(A.RangeError$range(startIndex, 0, t1, null, null));
  31523. return A.stringContainsUnchecked(receiver, other, startIndex);
  31524. },
  31525. contains$1($receiver, other) {
  31526. return this.contains$2($receiver, other, 0);
  31527. },
  31528. compareTo$1(receiver, other) {
  31529. var t1;
  31530. if (receiver === other)
  31531. t1 = 0;
  31532. else
  31533. t1 = receiver < other ? -1 : 1;
  31534. return t1;
  31535. },
  31536. toString$0(receiver) {
  31537. return receiver;
  31538. },
  31539. get$hashCode(receiver) {
  31540. var t1, hash, i;
  31541. for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) {
  31542. hash = hash + receiver.charCodeAt(i) & 536870911;
  31543. hash = hash + ((hash & 524287) << 10) & 536870911;
  31544. hash ^= hash >> 6;
  31545. }
  31546. hash = hash + ((hash & 67108863) << 3) & 536870911;
  31547. hash ^= hash >> 11;
  31548. return hash + ((hash & 16383) << 15) & 536870911;
  31549. },
  31550. get$runtimeType(receiver) {
  31551. return A.createRuntimeType(type$.String);
  31552. },
  31553. get$length(receiver) {
  31554. return receiver.length;
  31555. },
  31556. $isTrustedGetRuntimeType: 1,
  31557. $isComparable: 1,
  31558. $isString: 1
  31559. };
  31560. A._CastIterableBase.prototype = {
  31561. get$iterator(_) {
  31562. var t1 = A._instanceType(this);
  31563. 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>"));
  31564. },
  31565. get$length(_) {
  31566. return J.get$length$asx(this.get$_source());
  31567. },
  31568. get$isEmpty(_) {
  31569. return J.get$isEmpty$asx(this.get$_source());
  31570. },
  31571. get$isNotEmpty(_) {
  31572. return J.get$isNotEmpty$asx(this.get$_source());
  31573. },
  31574. skip$1(_, count) {
  31575. var t1 = A._instanceType(this);
  31576. return A.CastIterable_CastIterable(J.skip$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  31577. },
  31578. take$1(_, count) {
  31579. var t1 = A._instanceType(this);
  31580. return A.CastIterable_CastIterable(J.take$1$ax(this.get$_source(), count), t1._precomputed1, t1._rest[1]);
  31581. },
  31582. elementAt$1(_, index) {
  31583. return A._instanceType(this)._rest[1]._as(J.elementAt$1$ax(this.get$_source(), index));
  31584. },
  31585. get$first(_) {
  31586. return A._instanceType(this)._rest[1]._as(J.get$first$ax(this.get$_source()));
  31587. },
  31588. get$last(_) {
  31589. return A._instanceType(this)._rest[1]._as(J.get$last$ax(this.get$_source()));
  31590. },
  31591. get$single(_) {
  31592. return A._instanceType(this)._rest[1]._as(J.get$single$ax(this.get$_source()));
  31593. },
  31594. contains$1(_, other) {
  31595. return J.contains$1$asx(this.get$_source(), other);
  31596. },
  31597. toString$0(_) {
  31598. return J.toString$0$(this.get$_source());
  31599. }
  31600. };
  31601. A.CastIterator.prototype = {
  31602. moveNext$0() {
  31603. return this._source.moveNext$0();
  31604. },
  31605. get$current(_) {
  31606. var t1 = this._source;
  31607. return this.$ti._rest[1]._as(t1.get$current(t1));
  31608. }
  31609. };
  31610. A.CastIterable.prototype = {
  31611. get$_source() {
  31612. return this._source;
  31613. }
  31614. };
  31615. A._EfficientLengthCastIterable.prototype = {$isEfficientLengthIterable: 1};
  31616. A._CastListBase.prototype = {
  31617. $index(_, index) {
  31618. return this.$ti._rest[1]._as(J.$index$asx(this._source, index));
  31619. },
  31620. $indexSet(_, index, value) {
  31621. J.$indexSet$ax(this._source, index, this.$ti._precomputed1._as(value));
  31622. },
  31623. set$length(_, $length) {
  31624. J.set$length$asx(this._source, $length);
  31625. },
  31626. add$1(_, value) {
  31627. J.add$1$ax(this._source, this.$ti._precomputed1._as(value));
  31628. },
  31629. addAll$1(_, values) {
  31630. var t1 = this.$ti;
  31631. J.addAll$1$ax(this._source, A.CastIterable_CastIterable(values, t1._rest[1], t1._precomputed1));
  31632. },
  31633. sort$1(_, compare) {
  31634. var t1 = compare == null ? null : new A._CastListBase_sort_closure(this, compare);
  31635. J.sort$1$ax(this._source, t1);
  31636. },
  31637. getRange$2(_, start, end) {
  31638. var t1 = this.$ti;
  31639. return A.CastIterable_CastIterable(J.getRange$2$ax(this._source, start, end), t1._precomputed1, t1._rest[1]);
  31640. },
  31641. setRange$4(_, start, end, iterable, skipCount) {
  31642. var t1 = this.$ti;
  31643. J.setRange$4$ax(this._source, start, end, A.CastIterable_CastIterable(iterable, t1._rest[1], t1._precomputed1), skipCount);
  31644. },
  31645. removeRange$2(_, start, end) {
  31646. J.removeRange$2$ax(this._source, start, end);
  31647. },
  31648. fillRange$3(_, start, end, fillValue) {
  31649. J.fillRange$3$ax(this._source, start, end, this.$ti._precomputed1._as(fillValue));
  31650. },
  31651. $isEfficientLengthIterable: 1,
  31652. $isList: 1
  31653. };
  31654. A._CastListBase_sort_closure.prototype = {
  31655. call$2(v1, v2) {
  31656. var t1 = this.$this.$ti._rest[1];
  31657. return this.compare.call$2(t1._as(v1), t1._as(v2));
  31658. },
  31659. $signature() {
  31660. return this.$this.$ti._eval$1("int(1,1)");
  31661. }
  31662. };
  31663. A.CastList.prototype = {
  31664. cast$1$0(_, $R) {
  31665. return new A.CastList(this._source, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("CastList<1,2>"));
  31666. },
  31667. get$_source() {
  31668. return this._source;
  31669. }
  31670. };
  31671. A.CastSet.prototype = {
  31672. add$1(_, value) {
  31673. return this._source.add$1(0, this.$ti._precomputed1._as(value));
  31674. },
  31675. addAll$1(_, elements) {
  31676. var t1 = this.$ti;
  31677. this._source.addAll$1(0, A.CastIterable_CastIterable(elements, t1._rest[1], t1._precomputed1));
  31678. },
  31679. difference$1(other) {
  31680. var t1, _this = this;
  31681. if (_this._emptySet != null)
  31682. return _this._conditionalAdd$2(other, false);
  31683. t1 = _this.$ti;
  31684. return new A.CastSet(_this._source.difference$1(other), null, t1._eval$1("@<1>")._bind$1(t1._rest[1])._eval$1("CastSet<1,2>"));
  31685. },
  31686. _conditionalAdd$2(other, otherContains) {
  31687. var t3, castElement,
  31688. emptySet = this._emptySet,
  31689. t1 = this.$ti,
  31690. t2 = t1._rest[1],
  31691. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t2) : emptySet.call$1$0(t2);
  31692. for (t2 = this._source, t2 = t2.get$iterator(t2), t3 = other._source, t1 = t1._rest[1]; t2.moveNext$0();) {
  31693. castElement = t1._as(t2.get$current(t2));
  31694. if (otherContains === t3.contains$1(0, castElement))
  31695. result.add$1(0, castElement);
  31696. }
  31697. return result;
  31698. },
  31699. toSet$0(_) {
  31700. var emptySet = this._emptySet,
  31701. t1 = this.$ti._rest[1],
  31702. result = emptySet == null ? A.LinkedHashSet_LinkedHashSet(t1) : emptySet.call$1$0(t1);
  31703. result.addAll$1(0, this);
  31704. return result;
  31705. },
  31706. $isEfficientLengthIterable: 1,
  31707. $isSet: 1,
  31708. get$_source() {
  31709. return this._source;
  31710. }
  31711. };
  31712. A.CastMap.prototype = {
  31713. cast$2$0(_, RK, RV) {
  31714. var t1 = this.$ti;
  31715. 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>"));
  31716. },
  31717. containsKey$1(key) {
  31718. return this._source.containsKey$1(key);
  31719. },
  31720. $index(_, key) {
  31721. return this.$ti._eval$1("4?")._as(this._source.$index(0, key));
  31722. },
  31723. $indexSet(_, key, value) {
  31724. var t1 = this.$ti;
  31725. this._source.$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value));
  31726. },
  31727. addAll$1(_, other) {
  31728. var t1 = this.$ti;
  31729. 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>")));
  31730. },
  31731. remove$1(_, key) {
  31732. return this.$ti._eval$1("4?")._as(this._source.remove$1(0, key));
  31733. },
  31734. forEach$1(_, f) {
  31735. this._source.forEach$1(0, new A.CastMap_forEach_closure(this, f));
  31736. },
  31737. get$keys(_) {
  31738. var t1 = this._source,
  31739. t2 = this.$ti;
  31740. return A.CastIterable_CastIterable(t1.get$keys(t1), t2._precomputed1, t2._rest[2]);
  31741. },
  31742. get$values(_) {
  31743. var t1 = this._source,
  31744. t2 = this.$ti;
  31745. return A.CastIterable_CastIterable(t1.get$values(t1), t2._rest[1], t2._rest[3]);
  31746. },
  31747. get$length(_) {
  31748. var t1 = this._source;
  31749. return t1.get$length(t1);
  31750. },
  31751. get$isEmpty(_) {
  31752. var t1 = this._source;
  31753. return t1.get$isEmpty(t1);
  31754. },
  31755. get$isNotEmpty(_) {
  31756. var t1 = this._source;
  31757. return t1.get$isNotEmpty(t1);
  31758. },
  31759. get$entries(_) {
  31760. var t1 = this._source;
  31761. return t1.get$entries(t1).map$1$1(0, new A.CastMap_entries_closure(this), this.$ti._eval$1("MapEntry<3,4>"));
  31762. }
  31763. };
  31764. A.CastMap_forEach_closure.prototype = {
  31765. call$2(key, value) {
  31766. var t1 = this.$this.$ti;
  31767. this.f.call$2(t1._rest[2]._as(key), t1._rest[3]._as(value));
  31768. },
  31769. $signature() {
  31770. return this.$this.$ti._eval$1("~(1,2)");
  31771. }
  31772. };
  31773. A.CastMap_entries_closure.prototype = {
  31774. call$1(e) {
  31775. var t1 = this.$this.$ti,
  31776. t2 = t1._rest[3];
  31777. 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>"));
  31778. },
  31779. $signature() {
  31780. return this.$this.$ti._eval$1("MapEntry<3,4>(MapEntry<1,2>)");
  31781. }
  31782. };
  31783. A.LateError.prototype = {
  31784. toString$0(_) {
  31785. return "LateInitializationError: " + this._message;
  31786. }
  31787. };
  31788. A.CodeUnits.prototype = {
  31789. get$length(_) {
  31790. return this._string.length;
  31791. },
  31792. $index(_, i) {
  31793. return this._string.charCodeAt(i);
  31794. }
  31795. };
  31796. A.nullFuture_closure.prototype = {
  31797. call$0() {
  31798. return A.Future_Future$value(null, type$.Null);
  31799. },
  31800. $signature: 4
  31801. };
  31802. A.SentinelValue.prototype = {};
  31803. A.EfficientLengthIterable.prototype = {};
  31804. A.ListIterable.prototype = {
  31805. get$iterator(_) {
  31806. return new A.ListIterator(this, this.get$length(this));
  31807. },
  31808. get$isEmpty(_) {
  31809. return this.get$length(this) === 0;
  31810. },
  31811. get$first(_) {
  31812. if (this.get$length(this) === 0)
  31813. throw A.wrapException(A.IterableElementError_noElement());
  31814. return this.elementAt$1(0, 0);
  31815. },
  31816. get$last(_) {
  31817. var _this = this;
  31818. if (_this.get$length(_this) === 0)
  31819. throw A.wrapException(A.IterableElementError_noElement());
  31820. return _this.elementAt$1(0, _this.get$length(_this) - 1);
  31821. },
  31822. get$single(_) {
  31823. var _this = this;
  31824. if (_this.get$length(_this) === 0)
  31825. throw A.wrapException(A.IterableElementError_noElement());
  31826. if (_this.get$length(_this) > 1)
  31827. throw A.wrapException(A.IterableElementError_tooMany());
  31828. return _this.elementAt$1(0, 0);
  31829. },
  31830. contains$1(_, element) {
  31831. var i, _this = this,
  31832. $length = _this.get$length(_this);
  31833. for (i = 0; i < $length; ++i) {
  31834. if (J.$eq$(_this.elementAt$1(0, i), element))
  31835. return true;
  31836. if ($length !== _this.get$length(_this))
  31837. throw A.wrapException(A.ConcurrentModificationError$(_this));
  31838. }
  31839. return false;
  31840. },
  31841. every$1(_, test) {
  31842. var i, _this = this,
  31843. $length = _this.get$length(_this);
  31844. for (i = 0; i < $length; ++i) {
  31845. if (!test.call$1(_this.elementAt$1(0, i)))
  31846. return false;
  31847. if ($length !== _this.get$length(_this))
  31848. throw A.wrapException(A.ConcurrentModificationError$(_this));
  31849. }
  31850. return true;
  31851. },
  31852. any$1(_, test) {
  31853. var i, _this = this,
  31854. $length = _this.get$length(_this);
  31855. for (i = 0; i < $length; ++i) {
  31856. if (test.call$1(_this.elementAt$1(0, i)))
  31857. return true;
  31858. if ($length !== _this.get$length(_this))
  31859. throw A.wrapException(A.ConcurrentModificationError$(_this));
  31860. }
  31861. return false;
  31862. },
  31863. join$1(_, separator) {
  31864. var first, t1, i, _this = this,
  31865. $length = _this.get$length(_this);
  31866. if (separator.length !== 0) {
  31867. if ($length === 0)
  31868. return "";
  31869. first = A.S(_this.elementAt$1(0, 0));
  31870. if ($length !== _this.get$length(_this))
  31871. throw A.wrapException(A.ConcurrentModificationError$(_this));
  31872. for (t1 = first, i = 1; i < $length; ++i) {
  31873. t1 = t1 + separator + A.S(_this.elementAt$1(0, i));
  31874. if ($length !== _this.get$length(_this))
  31875. throw A.wrapException(A.ConcurrentModificationError$(_this));
  31876. }
  31877. return t1.charCodeAt(0) == 0 ? t1 : t1;
  31878. } else {
  31879. for (i = 0, t1 = ""; i < $length; ++i) {
  31880. t1 += A.S(_this.elementAt$1(0, i));
  31881. if ($length !== _this.get$length(_this))
  31882. throw A.wrapException(A.ConcurrentModificationError$(_this));
  31883. }
  31884. return t1.charCodeAt(0) == 0 ? t1 : t1;
  31885. }
  31886. },
  31887. join$0($receiver) {
  31888. return this.join$1($receiver, "");
  31889. },
  31890. where$1(_, test) {
  31891. return this.super$Iterable$where(0, test);
  31892. },
  31893. map$1$1(_, toElement, $T) {
  31894. return new A.MappedListIterable(this, toElement, A._instanceType(this)._eval$1("@<ListIterable.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  31895. },
  31896. reduce$1(_, combine) {
  31897. var value, i, _this = this,
  31898. $length = _this.get$length(_this);
  31899. if ($length === 0)
  31900. throw A.wrapException(A.IterableElementError_noElement());
  31901. value = _this.elementAt$1(0, 0);
  31902. for (i = 1; i < $length; ++i) {
  31903. value = combine.call$2(value, _this.elementAt$1(0, i));
  31904. if ($length !== _this.get$length(_this))
  31905. throw A.wrapException(A.ConcurrentModificationError$(_this));
  31906. }
  31907. return value;
  31908. },
  31909. fold$1$2(_, initialValue, combine) {
  31910. var value, i, _this = this,
  31911. $length = _this.get$length(_this);
  31912. for (value = initialValue, i = 0; i < $length; ++i) {
  31913. value = combine.call$2(value, _this.elementAt$1(0, i));
  31914. if ($length !== _this.get$length(_this))
  31915. throw A.wrapException(A.ConcurrentModificationError$(_this));
  31916. }
  31917. return value;
  31918. },
  31919. fold$2($receiver, initialValue, combine) {
  31920. return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
  31921. },
  31922. skip$1(_, count) {
  31923. return A.SubListIterable$(this, count, null, A._instanceType(this)._eval$1("ListIterable.E"));
  31924. },
  31925. take$1(_, count) {
  31926. return A.SubListIterable$(this, 0, A.checkNotNullable(count, "count", type$.int), A._instanceType(this)._eval$1("ListIterable.E"));
  31927. },
  31928. toList$1$growable(_, growable) {
  31929. return A.List_List$of(this, true, A._instanceType(this)._eval$1("ListIterable.E"));
  31930. },
  31931. toList$0($receiver) {
  31932. return this.toList$1$growable($receiver, true);
  31933. },
  31934. toSet$0(_) {
  31935. var i, _this = this,
  31936. result = A.LinkedHashSet_LinkedHashSet(A._instanceType(_this)._eval$1("ListIterable.E"));
  31937. for (i = 0; i < _this.get$length(_this); ++i)
  31938. result.add$1(0, _this.elementAt$1(0, i));
  31939. return result;
  31940. }
  31941. };
  31942. A.SubListIterable.prototype = {
  31943. SubListIterable$3(_iterable, _start, _endOrLength, $E) {
  31944. var endOrLength,
  31945. t1 = this.__internal$_start;
  31946. A.RangeError_checkNotNegative(t1, "start");
  31947. endOrLength = this._endOrLength;
  31948. if (endOrLength != null) {
  31949. A.RangeError_checkNotNegative(endOrLength, "end");
  31950. if (t1 > endOrLength)
  31951. throw A.wrapException(A.RangeError$range(t1, 0, endOrLength, "start", null));
  31952. }
  31953. },
  31954. get$_endIndex() {
  31955. var $length = J.get$length$asx(this.__internal$_iterable),
  31956. endOrLength = this._endOrLength;
  31957. if (endOrLength == null || endOrLength > $length)
  31958. return $length;
  31959. return endOrLength;
  31960. },
  31961. get$_startIndex() {
  31962. var $length = J.get$length$asx(this.__internal$_iterable),
  31963. t1 = this.__internal$_start;
  31964. if (t1 > $length)
  31965. return $length;
  31966. return t1;
  31967. },
  31968. get$length(_) {
  31969. var endOrLength,
  31970. $length = J.get$length$asx(this.__internal$_iterable),
  31971. t1 = this.__internal$_start;
  31972. if (t1 >= $length)
  31973. return 0;
  31974. endOrLength = this._endOrLength;
  31975. if (endOrLength == null || endOrLength >= $length)
  31976. return $length - t1;
  31977. return endOrLength - t1;
  31978. },
  31979. elementAt$1(_, index) {
  31980. var _this = this,
  31981. realIndex = _this.get$_startIndex() + index;
  31982. if (index < 0 || realIndex >= _this.get$_endIndex())
  31983. throw A.wrapException(A.IndexError$withLength(index, _this.get$length(_this), _this, null, "index"));
  31984. return J.elementAt$1$ax(_this.__internal$_iterable, realIndex);
  31985. },
  31986. skip$1(_, count) {
  31987. var newStart, endOrLength, _this = this;
  31988. A.RangeError_checkNotNegative(count, "count");
  31989. newStart = _this.__internal$_start + count;
  31990. endOrLength = _this._endOrLength;
  31991. if (endOrLength != null && newStart >= endOrLength)
  31992. return new A.EmptyIterable(_this.$ti._eval$1("EmptyIterable<1>"));
  31993. return A.SubListIterable$(_this.__internal$_iterable, newStart, endOrLength, _this.$ti._precomputed1);
  31994. },
  31995. take$1(_, count) {
  31996. var endOrLength, t1, newEnd, _this = this;
  31997. A.RangeError_checkNotNegative(count, "count");
  31998. endOrLength = _this._endOrLength;
  31999. t1 = _this.__internal$_start;
  32000. newEnd = t1 + count;
  32001. if (endOrLength == null)
  32002. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  32003. else {
  32004. if (endOrLength < newEnd)
  32005. return _this;
  32006. return A.SubListIterable$(_this.__internal$_iterable, t1, newEnd, _this.$ti._precomputed1);
  32007. }
  32008. },
  32009. toList$1$growable(_, growable) {
  32010. var $length, result, i, _this = this,
  32011. start = _this.__internal$_start,
  32012. t1 = _this.__internal$_iterable,
  32013. t2 = J.getInterceptor$asx(t1),
  32014. end = t2.get$length(t1),
  32015. endOrLength = _this._endOrLength;
  32016. if (endOrLength != null && endOrLength < end)
  32017. end = endOrLength;
  32018. $length = end - start;
  32019. if ($length <= 0) {
  32020. t1 = _this.$ti._precomputed1;
  32021. return growable ? J.JSArray_JSArray$growable(0, t1) : J.JSArray_JSArray$fixed(0, t1);
  32022. }
  32023. result = A.List_List$filled($length, t2.elementAt$1(t1, start), growable, _this.$ti._precomputed1);
  32024. for (i = 1; i < $length; ++i) {
  32025. result[i] = t2.elementAt$1(t1, start + i);
  32026. if (t2.get$length(t1) < end)
  32027. throw A.wrapException(A.ConcurrentModificationError$(_this));
  32028. }
  32029. return result;
  32030. },
  32031. toList$0($receiver) {
  32032. return this.toList$1$growable($receiver, true);
  32033. }
  32034. };
  32035. A.ListIterator.prototype = {
  32036. get$current(_) {
  32037. var t1 = this.__internal$_current;
  32038. return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
  32039. },
  32040. moveNext$0() {
  32041. var t3, _this = this,
  32042. t1 = _this.__internal$_iterable,
  32043. t2 = J.getInterceptor$asx(t1),
  32044. $length = t2.get$length(t1);
  32045. if (_this.__internal$_length !== $length)
  32046. throw A.wrapException(A.ConcurrentModificationError$(t1));
  32047. t3 = _this.__internal$_index;
  32048. if (t3 >= $length) {
  32049. _this.__internal$_current = null;
  32050. return false;
  32051. }
  32052. _this.__internal$_current = t2.elementAt$1(t1, t3);
  32053. ++_this.__internal$_index;
  32054. return true;
  32055. }
  32056. };
  32057. A.MappedIterable.prototype = {
  32058. get$iterator(_) {
  32059. return new A.MappedIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  32060. },
  32061. get$length(_) {
  32062. return J.get$length$asx(this.__internal$_iterable);
  32063. },
  32064. get$isEmpty(_) {
  32065. return J.get$isEmpty$asx(this.__internal$_iterable);
  32066. },
  32067. get$first(_) {
  32068. return this._f.call$1(J.get$first$ax(this.__internal$_iterable));
  32069. },
  32070. get$last(_) {
  32071. return this._f.call$1(J.get$last$ax(this.__internal$_iterable));
  32072. },
  32073. get$single(_) {
  32074. return this._f.call$1(J.get$single$ax(this.__internal$_iterable));
  32075. },
  32076. elementAt$1(_, index) {
  32077. return this._f.call$1(J.elementAt$1$ax(this.__internal$_iterable, index));
  32078. }
  32079. };
  32080. A.EfficientLengthMappedIterable.prototype = {$isEfficientLengthIterable: 1};
  32081. A.MappedIterator.prototype = {
  32082. moveNext$0() {
  32083. var _this = this,
  32084. t1 = _this._iterator;
  32085. if (t1.moveNext$0()) {
  32086. _this.__internal$_current = _this._f.call$1(t1.get$current(t1));
  32087. return true;
  32088. }
  32089. _this.__internal$_current = null;
  32090. return false;
  32091. },
  32092. get$current(_) {
  32093. var t1 = this.__internal$_current;
  32094. return t1 == null ? A._instanceType(this)._rest[1]._as(t1) : t1;
  32095. }
  32096. };
  32097. A.MappedListIterable.prototype = {
  32098. get$length(_) {
  32099. return J.get$length$asx(this._source);
  32100. },
  32101. elementAt$1(_, index) {
  32102. return this._f.call$1(J.elementAt$1$ax(this._source, index));
  32103. }
  32104. };
  32105. A.WhereIterable.prototype = {
  32106. get$iterator(_) {
  32107. return new A.WhereIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  32108. },
  32109. map$1$1(_, toElement, $T) {
  32110. return new A.MappedIterable(this, toElement, this.$ti._eval$1("@<1>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
  32111. }
  32112. };
  32113. A.WhereIterator.prototype = {
  32114. moveNext$0() {
  32115. var t1, t2;
  32116. for (t1 = this._iterator, t2 = this._f; t1.moveNext$0();)
  32117. if (t2.call$1(t1.get$current(t1)))
  32118. return true;
  32119. return false;
  32120. },
  32121. get$current(_) {
  32122. var t1 = this._iterator;
  32123. return t1.get$current(t1);
  32124. }
  32125. };
  32126. A.ExpandIterable.prototype = {
  32127. get$iterator(_) {
  32128. return new A.ExpandIterator(J.get$iterator$ax(this.__internal$_iterable), this._f, B.C_EmptyIterator);
  32129. }
  32130. };
  32131. A.ExpandIterator.prototype = {
  32132. get$current(_) {
  32133. var t1 = this.__internal$_current;
  32134. return t1 == null ? A._instanceType(this)._rest[1]._as(t1) : t1;
  32135. },
  32136. moveNext$0() {
  32137. var t2, t3, _this = this,
  32138. t1 = _this._currentExpansion;
  32139. if (t1 == null)
  32140. return false;
  32141. for (t2 = _this._iterator, t3 = _this._f; !t1.moveNext$0();) {
  32142. _this.__internal$_current = null;
  32143. if (t2.moveNext$0()) {
  32144. _this._currentExpansion = null;
  32145. t1 = J.get$iterator$ax(t3.call$1(t2.get$current(t2)));
  32146. _this._currentExpansion = t1;
  32147. } else
  32148. return false;
  32149. }
  32150. t1 = _this._currentExpansion;
  32151. _this.__internal$_current = t1.get$current(t1);
  32152. return true;
  32153. }
  32154. };
  32155. A.TakeIterable.prototype = {
  32156. get$iterator(_) {
  32157. return new A.TakeIterator(J.get$iterator$ax(this.__internal$_iterable), this._takeCount);
  32158. }
  32159. };
  32160. A.EfficientLengthTakeIterable.prototype = {
  32161. get$length(_) {
  32162. var iterableLength = J.get$length$asx(this.__internal$_iterable),
  32163. t1 = this._takeCount;
  32164. if (iterableLength > t1)
  32165. return t1;
  32166. return iterableLength;
  32167. },
  32168. $isEfficientLengthIterable: 1
  32169. };
  32170. A.TakeIterator.prototype = {
  32171. moveNext$0() {
  32172. if (--this._remaining >= 0)
  32173. return this._iterator.moveNext$0();
  32174. this._remaining = -1;
  32175. return false;
  32176. },
  32177. get$current(_) {
  32178. var t1;
  32179. if (this._remaining < 0) {
  32180. A._instanceType(this)._precomputed1._as(null);
  32181. return null;
  32182. }
  32183. t1 = this._iterator;
  32184. return t1.get$current(t1);
  32185. }
  32186. };
  32187. A.SkipIterable.prototype = {
  32188. skip$1(_, count) {
  32189. A.ArgumentError_checkNotNull(count, "count");
  32190. A.RangeError_checkNotNegative(count, "count");
  32191. return new A.SkipIterable(this.__internal$_iterable, this._skipCount + count, A._instanceType(this)._eval$1("SkipIterable<1>"));
  32192. },
  32193. get$iterator(_) {
  32194. return new A.SkipIterator(J.get$iterator$ax(this.__internal$_iterable), this._skipCount);
  32195. }
  32196. };
  32197. A.EfficientLengthSkipIterable.prototype = {
  32198. get$length(_) {
  32199. var $length = J.get$length$asx(this.__internal$_iterable) - this._skipCount;
  32200. if ($length >= 0)
  32201. return $length;
  32202. return 0;
  32203. },
  32204. skip$1(_, count) {
  32205. A.ArgumentError_checkNotNull(count, "count");
  32206. A.RangeError_checkNotNegative(count, "count");
  32207. return new A.EfficientLengthSkipIterable(this.__internal$_iterable, this._skipCount + count, this.$ti);
  32208. },
  32209. $isEfficientLengthIterable: 1
  32210. };
  32211. A.SkipIterator.prototype = {
  32212. moveNext$0() {
  32213. var t1, i;
  32214. for (t1 = this._iterator, i = 0; i < this._skipCount; ++i)
  32215. t1.moveNext$0();
  32216. this._skipCount = 0;
  32217. return t1.moveNext$0();
  32218. },
  32219. get$current(_) {
  32220. var t1 = this._iterator;
  32221. return t1.get$current(t1);
  32222. }
  32223. };
  32224. A.SkipWhileIterable.prototype = {
  32225. get$iterator(_) {
  32226. return new A.SkipWhileIterator(J.get$iterator$ax(this.__internal$_iterable), this._f);
  32227. }
  32228. };
  32229. A.SkipWhileIterator.prototype = {
  32230. moveNext$0() {
  32231. var t1, t2, _this = this;
  32232. if (!_this._hasSkipped) {
  32233. _this._hasSkipped = true;
  32234. for (t1 = _this._iterator, t2 = _this._f; t1.moveNext$0();)
  32235. if (!t2.call$1(t1.get$current(t1)))
  32236. return true;
  32237. }
  32238. return _this._iterator.moveNext$0();
  32239. },
  32240. get$current(_) {
  32241. var t1 = this._iterator;
  32242. return t1.get$current(t1);
  32243. }
  32244. };
  32245. A.EmptyIterable.prototype = {
  32246. get$iterator(_) {
  32247. return B.C_EmptyIterator;
  32248. },
  32249. get$isEmpty(_) {
  32250. return true;
  32251. },
  32252. get$length(_) {
  32253. return 0;
  32254. },
  32255. get$first(_) {
  32256. throw A.wrapException(A.IterableElementError_noElement());
  32257. },
  32258. get$last(_) {
  32259. throw A.wrapException(A.IterableElementError_noElement());
  32260. },
  32261. get$single(_) {
  32262. throw A.wrapException(A.IterableElementError_noElement());
  32263. },
  32264. elementAt$1(_, index) {
  32265. throw A.wrapException(A.RangeError$range(index, 0, 0, "index", null));
  32266. },
  32267. contains$1(_, element) {
  32268. return false;
  32269. },
  32270. every$1(_, test) {
  32271. return true;
  32272. },
  32273. join$1(_, separator) {
  32274. return "";
  32275. },
  32276. where$1(_, test) {
  32277. return this;
  32278. },
  32279. map$1$1(_, toElement, $T) {
  32280. return new A.EmptyIterable($T._eval$1("EmptyIterable<0>"));
  32281. },
  32282. skip$1(_, count) {
  32283. A.RangeError_checkNotNegative(count, "count");
  32284. return this;
  32285. },
  32286. take$1(_, count) {
  32287. A.RangeError_checkNotNegative(count, "count");
  32288. return this;
  32289. },
  32290. toList$1$growable(_, growable) {
  32291. var t1 = J.JSArray_JSArray$growable(0, this.$ti._precomputed1);
  32292. return t1;
  32293. },
  32294. toList$0($receiver) {
  32295. return this.toList$1$growable($receiver, true);
  32296. },
  32297. toSet$0(_) {
  32298. return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1);
  32299. }
  32300. };
  32301. A.EmptyIterator.prototype = {
  32302. moveNext$0() {
  32303. return false;
  32304. },
  32305. get$current(_) {
  32306. throw A.wrapException(A.IterableElementError_noElement());
  32307. }
  32308. };
  32309. A.FollowedByIterable.prototype = {
  32310. get$iterator(_) {
  32311. return new A.FollowedByIterator(J.get$iterator$ax(this.__internal$_first), this._second);
  32312. },
  32313. get$length(_) {
  32314. var t1 = this._second;
  32315. return J.get$length$asx(this.__internal$_first) + t1.get$length(t1);
  32316. },
  32317. get$isEmpty(_) {
  32318. var t1;
  32319. if (J.get$isEmpty$asx(this.__internal$_first)) {
  32320. t1 = this._second;
  32321. t1 = t1.get$isEmpty(t1);
  32322. } else
  32323. t1 = false;
  32324. return t1;
  32325. },
  32326. get$isNotEmpty(_) {
  32327. var t1;
  32328. if (!J.get$isNotEmpty$asx(this.__internal$_first)) {
  32329. t1 = this._second;
  32330. t1 = t1.get$isNotEmpty(t1);
  32331. } else
  32332. t1 = true;
  32333. return t1;
  32334. },
  32335. contains$1(_, value) {
  32336. var t1;
  32337. if (!J.contains$1$asx(this.__internal$_first, value)) {
  32338. t1 = this._second;
  32339. t1 = t1.contains$1(t1, value);
  32340. } else
  32341. t1 = true;
  32342. return t1;
  32343. },
  32344. get$first(_) {
  32345. var t1,
  32346. iterator = J.get$iterator$ax(this.__internal$_first);
  32347. if (iterator.moveNext$0())
  32348. return iterator.get$current(iterator);
  32349. t1 = this._second;
  32350. return t1.get$first(t1);
  32351. },
  32352. get$last(_) {
  32353. var last,
  32354. t1 = this._second,
  32355. iterator = t1.get$iterator(t1);
  32356. if (iterator.moveNext$0()) {
  32357. last = iterator.get$current(iterator);
  32358. for (; iterator.moveNext$0();)
  32359. last = iterator.get$current(iterator);
  32360. return last;
  32361. }
  32362. return J.get$last$ax(this.__internal$_first);
  32363. }
  32364. };
  32365. A.EfficientLengthFollowedByIterable.prototype = {
  32366. elementAt$1(_, index) {
  32367. var t1 = this.__internal$_first,
  32368. t2 = J.getInterceptor$asx(t1),
  32369. firstLength = t2.get$length(t1);
  32370. if (index < firstLength)
  32371. return t2.elementAt$1(t1, index);
  32372. t1 = this._second;
  32373. return t1.elementAt$1(t1, index - firstLength);
  32374. },
  32375. get$first(_) {
  32376. var t1 = this.__internal$_first,
  32377. t2 = J.getInterceptor$asx(t1);
  32378. if (t2.get$isNotEmpty(t1))
  32379. return t2.get$first(t1);
  32380. t1 = this._second;
  32381. return t1.get$first(t1);
  32382. },
  32383. get$last(_) {
  32384. var t1 = this._second;
  32385. if (t1.get$isNotEmpty(t1))
  32386. return t1.get$last(t1);
  32387. return J.get$last$ax(this.__internal$_first);
  32388. },
  32389. $isEfficientLengthIterable: 1
  32390. };
  32391. A.FollowedByIterator.prototype = {
  32392. moveNext$0() {
  32393. var t1, _this = this;
  32394. if (_this._currentIterator.moveNext$0())
  32395. return true;
  32396. t1 = _this._nextIterable;
  32397. if (t1 != null) {
  32398. t1 = t1.get$iterator(t1);
  32399. _this._currentIterator = t1;
  32400. _this._nextIterable = null;
  32401. return t1.moveNext$0();
  32402. }
  32403. return false;
  32404. },
  32405. get$current(_) {
  32406. var t1 = this._currentIterator;
  32407. return t1.get$current(t1);
  32408. }
  32409. };
  32410. A.WhereTypeIterable.prototype = {
  32411. get$iterator(_) {
  32412. return new A.WhereTypeIterator(J.get$iterator$ax(this._source), this.$ti._eval$1("WhereTypeIterator<1>"));
  32413. }
  32414. };
  32415. A.WhereTypeIterator.prototype = {
  32416. moveNext$0() {
  32417. var t1, t2;
  32418. for (t1 = this._source, t2 = this.$ti._precomputed1; t1.moveNext$0();)
  32419. if (t2._is(t1.get$current(t1)))
  32420. return true;
  32421. return false;
  32422. },
  32423. get$current(_) {
  32424. var t1 = this._source;
  32425. return this.$ti._precomputed1._as(t1.get$current(t1));
  32426. }
  32427. };
  32428. A.FixedLengthListMixin.prototype = {
  32429. set$length(receiver, newLength) {
  32430. throw A.wrapException(A.UnsupportedError$("Cannot change the length of a fixed-length list"));
  32431. },
  32432. add$1(receiver, value) {
  32433. throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
  32434. },
  32435. addAll$1(receiver, iterable) {
  32436. throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"));
  32437. },
  32438. removeRange$2(receiver, start, end) {
  32439. throw A.wrapException(A.UnsupportedError$("Cannot remove from a fixed-length list"));
  32440. }
  32441. };
  32442. A.UnmodifiableListMixin.prototype = {
  32443. $indexSet(_, index, value) {
  32444. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  32445. },
  32446. set$length(_, newLength) {
  32447. throw A.wrapException(A.UnsupportedError$("Cannot change the length of an unmodifiable list"));
  32448. },
  32449. add$1(_, value) {
  32450. throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
  32451. },
  32452. addAll$1(_, iterable) {
  32453. throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"));
  32454. },
  32455. sort$1(_, compare) {
  32456. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  32457. },
  32458. setRange$4(_, start, end, iterable, skipCount) {
  32459. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  32460. },
  32461. removeRange$2(_, start, end) {
  32462. throw A.wrapException(A.UnsupportedError$("Cannot remove from an unmodifiable list"));
  32463. },
  32464. fillRange$3(_, start, end, fillValue) {
  32465. throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"));
  32466. }
  32467. };
  32468. A.UnmodifiableListBase.prototype = {};
  32469. A.ReversedListIterable.prototype = {
  32470. get$length(_) {
  32471. return J.get$length$asx(this._source);
  32472. },
  32473. elementAt$1(_, index) {
  32474. var t1 = this._source,
  32475. t2 = J.getInterceptor$asx(t1);
  32476. return t2.elementAt$1(t1, t2.get$length(t1) - 1 - index);
  32477. }
  32478. };
  32479. A.Symbol.prototype = {
  32480. get$hashCode(_) {
  32481. var hash = this._hashCode;
  32482. if (hash != null)
  32483. return hash;
  32484. hash = 664597 * B.JSString_methods.get$hashCode(this.__internal$_name) & 536870911;
  32485. this._hashCode = hash;
  32486. return hash;
  32487. },
  32488. toString$0(_) {
  32489. return 'Symbol("' + this.__internal$_name + '")';
  32490. },
  32491. $eq(_, other) {
  32492. if (other == null)
  32493. return false;
  32494. return other instanceof A.Symbol && this.__internal$_name === other.__internal$_name;
  32495. },
  32496. $isSymbol0: 1
  32497. };
  32498. A.__CastListBase__CastIterableBase_ListMixin.prototype = {};
  32499. A._Record_2.prototype = {$recipe: "+(1,2)", $shape: 1};
  32500. A._Record_2_forImport.prototype = {$recipe: "+forImport(1,2)", $shape: 2};
  32501. A._Record_2_imports_modules.prototype = {$recipe: "+imports,modules(1,2)", $shape: 4};
  32502. A._Record_2_loadedUrls_stylesheet.prototype = {$recipe: "+loadedUrls,stylesheet(1,2)", $shape: 5};
  32503. A._Record_2_sourceMap.prototype = {$recipe: "+sourceMap(1,2)", $shape: 3};
  32504. A._Record_3.prototype = {$recipe: "+(1,2,3)", $shape: 6};
  32505. A._Record_3_importer_isDependency.prototype = {$recipe: "+importer,isDependency(1,2,3)", $shape: 8};
  32506. A._Record_3_originalUrl.prototype = {$recipe: "+originalUrl(1,2,3)", $shape: 7};
  32507. A._Record_4.prototype = {$recipe: "+(1,2,3,4)", $shape: 9};
  32508. A._Record_4_baseImporter_baseUrl_forImport.prototype = {$recipe: "+baseImporter,baseUrl,forImport(1,2,3,4)", $shape: 10};
  32509. A._Record_5_named_namedNodes_positional_positionalNodes_separator.prototype = {$recipe: "+named,namedNodes,positional,positionalNodes,separator(1,2,3,4,5)", $shape: 11};
  32510. A.ConstantMapView.prototype = {};
  32511. A.ConstantMap.prototype = {
  32512. cast$2$0(_, RK, RV) {
  32513. var t1 = A._instanceType(this);
  32514. return A.Map_castFrom(this, t1._precomputed1, t1._rest[1], RK, RV);
  32515. },
  32516. get$isEmpty(_) {
  32517. return this.get$length(this) === 0;
  32518. },
  32519. get$isNotEmpty(_) {
  32520. return this.get$length(this) !== 0;
  32521. },
  32522. toString$0(_) {
  32523. return A.MapBase_mapToString(this);
  32524. },
  32525. $indexSet(_, key, value) {
  32526. A.ConstantMap__throwUnmodifiable();
  32527. },
  32528. remove$1(_, key) {
  32529. A.ConstantMap__throwUnmodifiable();
  32530. },
  32531. addAll$1(_, other) {
  32532. A.ConstantMap__throwUnmodifiable();
  32533. },
  32534. get$entries(_) {
  32535. return new A._SyncStarIterable(this.entries$body$ConstantMap(0), A._instanceType(this)._eval$1("_SyncStarIterable<MapEntry<1,2>>"));
  32536. },
  32537. entries$body$ConstantMap($async$_) {
  32538. var $async$self = this;
  32539. return function() {
  32540. var _ = $async$_;
  32541. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, key;
  32542. return function $async$get$entries($async$iterator, $async$errorCode, $async$result) {
  32543. if ($async$errorCode === 1) {
  32544. $async$currentError = $async$result;
  32545. $async$goto = $async$handler;
  32546. }
  32547. while (true)
  32548. switch ($async$goto) {
  32549. case 0:
  32550. // Function start
  32551. 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>");
  32552. case 2:
  32553. // for condition
  32554. if (!t1.moveNext$0()) {
  32555. // goto after for
  32556. $async$goto = 3;
  32557. break;
  32558. }
  32559. key = t1.get$current(t1);
  32560. $async$goto = 4;
  32561. return $async$iterator._async$_current = new A.MapEntry(key, $async$self.$index(0, key), t2), 1;
  32562. case 4:
  32563. // after yield
  32564. // goto for condition
  32565. $async$goto = 2;
  32566. break;
  32567. case 3:
  32568. // after for
  32569. // implicit return
  32570. return 0;
  32571. case 1:
  32572. // rethrow
  32573. return $async$iterator._datum = $async$currentError, 3;
  32574. }
  32575. };
  32576. };
  32577. },
  32578. $isMap: 1
  32579. };
  32580. A.ConstantStringMap.prototype = {
  32581. get$length(_) {
  32582. return this._values.length;
  32583. },
  32584. get$_keys() {
  32585. var keys = this.$keys;
  32586. if (keys == null) {
  32587. keys = Object.keys(this._jsIndex);
  32588. this.$keys = keys;
  32589. }
  32590. return keys;
  32591. },
  32592. containsKey$1(key) {
  32593. if (typeof key != "string")
  32594. return false;
  32595. if ("__proto__" === key)
  32596. return false;
  32597. return this._jsIndex.hasOwnProperty(key);
  32598. },
  32599. $index(_, key) {
  32600. if (!this.containsKey$1(key))
  32601. return null;
  32602. return this._values[this._jsIndex[key]];
  32603. },
  32604. forEach$1(_, f) {
  32605. var t1, i,
  32606. keys = this.get$_keys(),
  32607. values = this._values;
  32608. for (t1 = keys.length, i = 0; i < t1; ++i)
  32609. f.call$2(keys[i], values[i]);
  32610. },
  32611. get$keys(_) {
  32612. return new A._KeysOrValues(this.get$_keys(), this.$ti._eval$1("_KeysOrValues<1>"));
  32613. },
  32614. get$values(_) {
  32615. return new A._KeysOrValues(this._values, this.$ti._eval$1("_KeysOrValues<2>"));
  32616. }
  32617. };
  32618. A._KeysOrValues.prototype = {
  32619. get$length(_) {
  32620. return this._elements.length;
  32621. },
  32622. get$isEmpty(_) {
  32623. return 0 === this._elements.length;
  32624. },
  32625. get$isNotEmpty(_) {
  32626. return 0 !== this._elements.length;
  32627. },
  32628. get$iterator(_) {
  32629. var t1 = this._elements;
  32630. return new A._KeysOrValuesOrElementsIterator(t1, t1.length);
  32631. }
  32632. };
  32633. A._KeysOrValuesOrElementsIterator.prototype = {
  32634. get$current(_) {
  32635. var t1 = this.__js_helper$_current;
  32636. return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
  32637. },
  32638. moveNext$0() {
  32639. var _this = this,
  32640. t1 = _this.__js_helper$_index;
  32641. if (t1 >= _this.__js_helper$_length) {
  32642. _this.__js_helper$_current = null;
  32643. return false;
  32644. }
  32645. _this.__js_helper$_current = _this._elements[t1];
  32646. _this.__js_helper$_index = t1 + 1;
  32647. return true;
  32648. }
  32649. };
  32650. A.ConstantSet.prototype = {
  32651. add$1(_, value) {
  32652. A.ConstantSet__throwUnmodifiable();
  32653. },
  32654. addAll$1(_, elements) {
  32655. A.ConstantSet__throwUnmodifiable();
  32656. },
  32657. remove$1(_, value) {
  32658. A.ConstantSet__throwUnmodifiable();
  32659. }
  32660. };
  32661. A.ConstantStringSet.prototype = {
  32662. get$length(_) {
  32663. return this.__js_helper$_length;
  32664. },
  32665. get$isEmpty(_) {
  32666. return this.__js_helper$_length === 0;
  32667. },
  32668. get$isNotEmpty(_) {
  32669. return this.__js_helper$_length !== 0;
  32670. },
  32671. get$iterator(_) {
  32672. var t1,
  32673. keys = this.$keys;
  32674. if (keys == null) {
  32675. keys = Object.keys(this._jsIndex);
  32676. this.$keys = keys;
  32677. }
  32678. t1 = keys;
  32679. return new A._KeysOrValuesOrElementsIterator(t1, t1.length);
  32680. },
  32681. contains$1(_, key) {
  32682. if (typeof key != "string")
  32683. return false;
  32684. if ("__proto__" === key)
  32685. return false;
  32686. return this._jsIndex.hasOwnProperty(key);
  32687. },
  32688. toSet$0(_) {
  32689. return A.LinkedHashSet_LinkedHashSet$of(this, this.$ti._precomputed1);
  32690. }
  32691. };
  32692. A.GeneralConstantSet.prototype = {
  32693. get$length(_) {
  32694. return this._elements.length;
  32695. },
  32696. get$isEmpty(_) {
  32697. return this._elements.length === 0;
  32698. },
  32699. get$isNotEmpty(_) {
  32700. return this._elements.length !== 0;
  32701. },
  32702. get$iterator(_) {
  32703. var t1 = this._elements;
  32704. return new A._KeysOrValuesOrElementsIterator(t1, t1.length);
  32705. },
  32706. _getMap$0() {
  32707. var t1, t2, _i, key, _this = this,
  32708. backingMap = _this.$map;
  32709. if (backingMap == null) {
  32710. t1 = _this.$ti;
  32711. backingMap = new A.JsConstantLinkedHashMap(t1._eval$1("@<1>")._bind$1(t1._precomputed1)._eval$1("JsConstantLinkedHashMap<1,2>"));
  32712. for (t1 = _this._elements, t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  32713. key = t1[_i];
  32714. backingMap.$indexSet(0, key, key);
  32715. }
  32716. _this.$map = backingMap;
  32717. }
  32718. return backingMap;
  32719. },
  32720. contains$1(_, key) {
  32721. return this._getMap$0().containsKey$1(key);
  32722. },
  32723. toSet$0(_) {
  32724. return A.LinkedHashSet_LinkedHashSet$of(this, this.$ti._precomputed1);
  32725. }
  32726. };
  32727. A.Instantiation.prototype = {
  32728. Instantiation$1(_genericClosure) {
  32729. if (false)
  32730. A.instantiatedGenericFunctionType(0, 0);
  32731. },
  32732. $eq(_, other) {
  32733. if (other == null)
  32734. return false;
  32735. return other instanceof A.Instantiation && this._genericClosure.$eq(0, other._genericClosure) && A.getRuntimeTypeOfClosure(this) === A.getRuntimeTypeOfClosure(other);
  32736. },
  32737. get$hashCode(_) {
  32738. return A.Object_hash(this._genericClosure, A.getRuntimeTypeOfClosure(this), B.C_SentinelValue, B.C_SentinelValue);
  32739. },
  32740. toString$0(_) {
  32741. var t1 = B.JSArray_methods.join$1(this.get$_types(), ", ");
  32742. return this._genericClosure.toString$0(0) + " with " + ("<" + t1 + ">");
  32743. }
  32744. };
  32745. A.Instantiation1.prototype = {
  32746. get$_types() {
  32747. return [A.createRuntimeType(this.$ti._precomputed1)];
  32748. },
  32749. call$0() {
  32750. return this._genericClosure.call$1$0(this.$ti._rest[0]);
  32751. },
  32752. call$2(a0, a1) {
  32753. return this._genericClosure.call$1$2(a0, a1, this.$ti._rest[0]);
  32754. },
  32755. call$3(a0, a1, a2) {
  32756. return this._genericClosure.call$1$3(a0, a1, a2, this.$ti._rest[0]);
  32757. },
  32758. call$4(a0, a1, a2, a3) {
  32759. return this._genericClosure.call$1$4(a0, a1, a2, a3, this.$ti._rest[0]);
  32760. },
  32761. $signature() {
  32762. return A.instantiatedGenericFunctionType(A.closureFunctionType(this._genericClosure), this.$ti);
  32763. }
  32764. };
  32765. A.JSInvocationMirror.prototype = {
  32766. get$memberName() {
  32767. var t1 = this.__js_helper$_memberName;
  32768. if (t1 instanceof A.Symbol)
  32769. return t1;
  32770. return this.__js_helper$_memberName = new A.Symbol(t1);
  32771. },
  32772. get$positionalArguments() {
  32773. var t1, t2, argumentCount, list, index, _this = this;
  32774. if (_this.__js_helper$_kind === 1)
  32775. return B.List_empty6;
  32776. t1 = _this._arguments;
  32777. t2 = J.getInterceptor$asx(t1);
  32778. argumentCount = t2.get$length(t1) - J.get$length$asx(_this._namedArgumentNames) - _this._typeArgumentCount;
  32779. if (argumentCount === 0)
  32780. return B.List_empty6;
  32781. list = [];
  32782. for (index = 0; index < argumentCount; ++index)
  32783. list.push(t2.$index(t1, index));
  32784. return J.JSArray_markUnmodifiableList(list);
  32785. },
  32786. get$namedArguments() {
  32787. var t1, t2, namedArgumentCount, t3, t4, namedArgumentsStartIndex, map, i, _this = this;
  32788. if (_this.__js_helper$_kind !== 0)
  32789. return B.Map_empty3;
  32790. t1 = _this._namedArgumentNames;
  32791. t2 = J.getInterceptor$asx(t1);
  32792. namedArgumentCount = t2.get$length(t1);
  32793. t3 = _this._arguments;
  32794. t4 = J.getInterceptor$asx(t3);
  32795. namedArgumentsStartIndex = t4.get$length(t3) - namedArgumentCount - _this._typeArgumentCount;
  32796. if (namedArgumentCount === 0)
  32797. return B.Map_empty3;
  32798. map = new A.JsLinkedHashMap(type$.JsLinkedHashMap_Symbol_dynamic);
  32799. for (i = 0; i < namedArgumentCount; ++i)
  32800. map.$indexSet(0, new A.Symbol(t2.$index(t1, i)), t4.$index(t3, namedArgumentsStartIndex + i));
  32801. return new A.ConstantMapView(map, type$.ConstantMapView_Symbol_dynamic);
  32802. }
  32803. };
  32804. A.Primitives_functionNoSuchMethod_closure.prototype = {
  32805. call$2($name, argument) {
  32806. var t1 = this._box_0;
  32807. t1.names = t1.names + "$" + $name;
  32808. this.namedArgumentList.push($name);
  32809. this.$arguments.push(argument);
  32810. ++t1.argumentCount;
  32811. },
  32812. $signature: 293
  32813. };
  32814. A.TypeErrorDecoder.prototype = {
  32815. matchTypeError$1(message) {
  32816. var result, t1, _this = this,
  32817. match = new RegExp(_this._pattern).exec(message);
  32818. if (match == null)
  32819. return null;
  32820. result = Object.create(null);
  32821. t1 = _this._arguments;
  32822. if (t1 !== -1)
  32823. result.arguments = match[t1 + 1];
  32824. t1 = _this._argumentsExpr;
  32825. if (t1 !== -1)
  32826. result.argumentsExpr = match[t1 + 1];
  32827. t1 = _this._expr;
  32828. if (t1 !== -1)
  32829. result.expr = match[t1 + 1];
  32830. t1 = _this._method;
  32831. if (t1 !== -1)
  32832. result.method = match[t1 + 1];
  32833. t1 = _this._receiver;
  32834. if (t1 !== -1)
  32835. result.receiver = match[t1 + 1];
  32836. return result;
  32837. }
  32838. };
  32839. A.NullError.prototype = {
  32840. toString$0(_) {
  32841. return "Null check operator used on a null value";
  32842. }
  32843. };
  32844. A.JsNoSuchMethodError.prototype = {
  32845. toString$0(_) {
  32846. var t2, _this = this,
  32847. _s38_ = "NoSuchMethodError: method not found: '",
  32848. t1 = _this._method;
  32849. if (t1 == null)
  32850. return "NoSuchMethodError: " + _this.__js_helper$_message;
  32851. t2 = _this._receiver;
  32852. if (t2 == null)
  32853. return _s38_ + t1 + "' (" + _this.__js_helper$_message + ")";
  32854. return _s38_ + t1 + "' on '" + t2 + "' (" + _this.__js_helper$_message + ")";
  32855. }
  32856. };
  32857. A.UnknownJsTypeError.prototype = {
  32858. toString$0(_) {
  32859. var t1 = this.__js_helper$_message;
  32860. return t1.length === 0 ? "Error" : "Error: " + t1;
  32861. }
  32862. };
  32863. A.NullThrownFromJavaScriptException.prototype = {
  32864. toString$0(_) {
  32865. return "Throw of null ('" + (this._irritant === null ? "null" : "undefined") + "' from JavaScript)";
  32866. },
  32867. $isException: 1
  32868. };
  32869. A.ExceptionAndStackTrace.prototype = {};
  32870. A._StackTrace.prototype = {
  32871. toString$0(_) {
  32872. var trace,
  32873. t1 = this._trace;
  32874. if (t1 != null)
  32875. return t1;
  32876. t1 = this._exception;
  32877. trace = t1 !== null && typeof t1 === "object" ? t1.stack : null;
  32878. return this._trace = trace == null ? "" : trace;
  32879. },
  32880. $isStackTrace: 1
  32881. };
  32882. A.Closure.prototype = {
  32883. toString$0(_) {
  32884. var $constructor = this.constructor,
  32885. $name = $constructor == null ? null : $constructor.name;
  32886. return "Closure '" + A.unminifyOrTag($name == null ? "unknown" : $name) + "'";
  32887. },
  32888. $isFunction: 1,
  32889. get$$call() {
  32890. return this;
  32891. },
  32892. "call*": "call$1",
  32893. $requiredArgCount: 1,
  32894. $defaultValues: null
  32895. };
  32896. A.Closure0Args.prototype = {"call*": "call$0", $requiredArgCount: 0};
  32897. A.Closure2Args.prototype = {"call*": "call$2", $requiredArgCount: 2};
  32898. A.TearOffClosure.prototype = {};
  32899. A.StaticClosure.prototype = {
  32900. toString$0(_) {
  32901. var $name = this.$static_name;
  32902. if ($name == null)
  32903. return "Closure of unknown static method";
  32904. return "Closure '" + A.unminifyOrTag($name) + "'";
  32905. }
  32906. };
  32907. A.BoundClosure.prototype = {
  32908. $eq(_, other) {
  32909. if (other == null)
  32910. return false;
  32911. if (this === other)
  32912. return true;
  32913. if (!(other instanceof A.BoundClosure))
  32914. return false;
  32915. return this.$_target === other.$_target && this._receiver === other._receiver;
  32916. },
  32917. get$hashCode(_) {
  32918. return (A.objectHashCode(this._receiver) ^ A.Primitives_objectHashCode(this.$_target)) >>> 0;
  32919. },
  32920. toString$0(_) {
  32921. return "Closure '" + this.$_name + "' of " + ("Instance of '" + A.Primitives_objectTypeName(this._receiver) + "'");
  32922. }
  32923. };
  32924. A._CyclicInitializationError.prototype = {
  32925. toString$0(_) {
  32926. return "Reading static variable '" + this.variableName + "' during its initialization";
  32927. }
  32928. };
  32929. A.RuntimeError.prototype = {
  32930. toString$0(_) {
  32931. return "RuntimeError: " + this.message;
  32932. },
  32933. get$message(receiver) {
  32934. return this.message;
  32935. }
  32936. };
  32937. A._Required.prototype = {};
  32938. A.JsLinkedHashMap.prototype = {
  32939. get$length(_) {
  32940. return this.__js_helper$_length;
  32941. },
  32942. get$isEmpty(_) {
  32943. return this.__js_helper$_length === 0;
  32944. },
  32945. get$isNotEmpty(_) {
  32946. return this.__js_helper$_length !== 0;
  32947. },
  32948. get$keys(_) {
  32949. return new A.LinkedHashMapKeyIterable(this, A._instanceType(this)._eval$1("LinkedHashMapKeyIterable<1>"));
  32950. },
  32951. get$values(_) {
  32952. var t1 = A._instanceType(this);
  32953. return A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(this, t1._eval$1("LinkedHashMapKeyIterable<1>")), new A.JsLinkedHashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
  32954. },
  32955. containsKey$1(key) {
  32956. var strings, nums;
  32957. if (typeof key == "string") {
  32958. strings = this._strings;
  32959. if (strings == null)
  32960. return false;
  32961. return strings[key] != null;
  32962. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  32963. nums = this._nums;
  32964. if (nums == null)
  32965. return false;
  32966. return nums[key] != null;
  32967. } else
  32968. return this.internalContainsKey$1(key);
  32969. },
  32970. internalContainsKey$1(key) {
  32971. var rest = this.__js_helper$_rest;
  32972. if (rest == null)
  32973. return false;
  32974. return this.internalFindBucketIndex$2(rest[this.internalComputeHashCode$1(key)], key) >= 0;
  32975. },
  32976. addAll$1(_, other) {
  32977. other.forEach$1(0, new A.JsLinkedHashMap_addAll_closure(this));
  32978. },
  32979. $index(_, key) {
  32980. var strings, cell, t1, nums, _null = null;
  32981. if (typeof key == "string") {
  32982. strings = this._strings;
  32983. if (strings == null)
  32984. return _null;
  32985. cell = strings[key];
  32986. t1 = cell == null ? _null : cell.hashMapCellValue;
  32987. return t1;
  32988. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  32989. nums = this._nums;
  32990. if (nums == null)
  32991. return _null;
  32992. cell = nums[key];
  32993. t1 = cell == null ? _null : cell.hashMapCellValue;
  32994. return t1;
  32995. } else
  32996. return this.internalGet$1(key);
  32997. },
  32998. internalGet$1(key) {
  32999. var bucket, index,
  33000. rest = this.__js_helper$_rest;
  33001. if (rest == null)
  33002. return null;
  33003. bucket = rest[this.internalComputeHashCode$1(key)];
  33004. index = this.internalFindBucketIndex$2(bucket, key);
  33005. if (index < 0)
  33006. return null;
  33007. return bucket[index].hashMapCellValue;
  33008. },
  33009. $indexSet(_, key, value) {
  33010. var strings, nums, _this = this;
  33011. if (typeof key == "string") {
  33012. strings = _this._strings;
  33013. _this._addHashTableEntry$3(strings == null ? _this._strings = _this._newHashTable$0() : strings, key, value);
  33014. } else if (typeof key == "number" && (key & 0x3fffffff) === key) {
  33015. nums = _this._nums;
  33016. _this._addHashTableEntry$3(nums == null ? _this._nums = _this._newHashTable$0() : nums, key, value);
  33017. } else
  33018. _this.internalSet$2(key, value);
  33019. },
  33020. internalSet$2(key, value) {
  33021. var hash, bucket, index, _this = this,
  33022. rest = _this.__js_helper$_rest;
  33023. if (rest == null)
  33024. rest = _this.__js_helper$_rest = _this._newHashTable$0();
  33025. hash = _this.internalComputeHashCode$1(key);
  33026. bucket = rest[hash];
  33027. if (bucket == null)
  33028. rest[hash] = [_this._newLinkedCell$2(key, value)];
  33029. else {
  33030. index = _this.internalFindBucketIndex$2(bucket, key);
  33031. if (index >= 0)
  33032. bucket[index].hashMapCellValue = value;
  33033. else
  33034. bucket.push(_this._newLinkedCell$2(key, value));
  33035. }
  33036. },
  33037. putIfAbsent$2(key, ifAbsent) {
  33038. var t1, value, _this = this;
  33039. if (_this.containsKey$1(key)) {
  33040. t1 = _this.$index(0, key);
  33041. return t1 == null ? A._instanceType(_this)._rest[1]._as(t1) : t1;
  33042. }
  33043. value = ifAbsent.call$0();
  33044. _this.$indexSet(0, key, value);
  33045. return value;
  33046. },
  33047. remove$1(_, key) {
  33048. var _this = this;
  33049. if (typeof key == "string")
  33050. return _this.__js_helper$_removeHashTableEntry$2(_this._strings, key);
  33051. else if (typeof key == "number" && (key & 0x3fffffff) === key)
  33052. return _this.__js_helper$_removeHashTableEntry$2(_this._nums, key);
  33053. else
  33054. return _this.internalRemove$1(key);
  33055. },
  33056. internalRemove$1(key) {
  33057. var hash, bucket, index, cell, _this = this,
  33058. rest = _this.__js_helper$_rest;
  33059. if (rest == null)
  33060. return null;
  33061. hash = _this.internalComputeHashCode$1(key);
  33062. bucket = rest[hash];
  33063. index = _this.internalFindBucketIndex$2(bucket, key);
  33064. if (index < 0)
  33065. return null;
  33066. cell = bucket.splice(index, 1)[0];
  33067. _this.__js_helper$_unlinkCell$1(cell);
  33068. if (bucket.length === 0)
  33069. delete rest[hash];
  33070. return cell.hashMapCellValue;
  33071. },
  33072. clear$0(_) {
  33073. var _this = this;
  33074. if (_this.__js_helper$_length > 0) {
  33075. _this._strings = _this._nums = _this.__js_helper$_rest = _this._first = _this._last = null;
  33076. _this.__js_helper$_length = 0;
  33077. _this._modified$0();
  33078. }
  33079. },
  33080. forEach$1(_, action) {
  33081. var _this = this,
  33082. cell = _this._first,
  33083. modifications = _this._modifications;
  33084. for (; cell != null;) {
  33085. action.call$2(cell.hashMapCellKey, cell.hashMapCellValue);
  33086. if (modifications !== _this._modifications)
  33087. throw A.wrapException(A.ConcurrentModificationError$(_this));
  33088. cell = cell._next;
  33089. }
  33090. },
  33091. _addHashTableEntry$3(table, key, value) {
  33092. var cell = table[key];
  33093. if (cell == null)
  33094. table[key] = this._newLinkedCell$2(key, value);
  33095. else
  33096. cell.hashMapCellValue = value;
  33097. },
  33098. __js_helper$_removeHashTableEntry$2(table, key) {
  33099. var cell;
  33100. if (table == null)
  33101. return null;
  33102. cell = table[key];
  33103. if (cell == null)
  33104. return null;
  33105. this.__js_helper$_unlinkCell$1(cell);
  33106. delete table[key];
  33107. return cell.hashMapCellValue;
  33108. },
  33109. _modified$0() {
  33110. this._modifications = this._modifications + 1 & 1073741823;
  33111. },
  33112. _newLinkedCell$2(key, value) {
  33113. var t1, _this = this,
  33114. cell = new A.LinkedHashMapCell(key, value);
  33115. if (_this._first == null)
  33116. _this._first = _this._last = cell;
  33117. else {
  33118. t1 = _this._last;
  33119. t1.toString;
  33120. cell._previous = t1;
  33121. _this._last = t1._next = cell;
  33122. }
  33123. ++_this.__js_helper$_length;
  33124. _this._modified$0();
  33125. return cell;
  33126. },
  33127. __js_helper$_unlinkCell$1(cell) {
  33128. var _this = this,
  33129. previous = cell._previous,
  33130. next = cell._next;
  33131. if (previous == null)
  33132. _this._first = next;
  33133. else
  33134. previous._next = next;
  33135. if (next == null)
  33136. _this._last = previous;
  33137. else
  33138. next._previous = previous;
  33139. --_this.__js_helper$_length;
  33140. _this._modified$0();
  33141. },
  33142. internalComputeHashCode$1(key) {
  33143. return J.get$hashCode$(key) & 1073741823;
  33144. },
  33145. internalFindBucketIndex$2(bucket, key) {
  33146. var $length, i;
  33147. if (bucket == null)
  33148. return -1;
  33149. $length = bucket.length;
  33150. for (i = 0; i < $length; ++i)
  33151. if (J.$eq$(bucket[i].hashMapCellKey, key))
  33152. return i;
  33153. return -1;
  33154. },
  33155. toString$0(_) {
  33156. return A.MapBase_mapToString(this);
  33157. },
  33158. _newHashTable$0() {
  33159. var table = Object.create(null);
  33160. table["<non-identifier-key>"] = table;
  33161. delete table["<non-identifier-key>"];
  33162. return table;
  33163. }
  33164. };
  33165. A.JsLinkedHashMap_values_closure.prototype = {
  33166. call$1(each) {
  33167. var t1 = this.$this,
  33168. t2 = t1.$index(0, each);
  33169. return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2;
  33170. },
  33171. $signature() {
  33172. return A._instanceType(this.$this)._eval$1("2(1)");
  33173. }
  33174. };
  33175. A.JsLinkedHashMap_addAll_closure.prototype = {
  33176. call$2(key, value) {
  33177. this.$this.$indexSet(0, key, value);
  33178. },
  33179. $signature() {
  33180. return A._instanceType(this.$this)._eval$1("~(1,2)");
  33181. }
  33182. };
  33183. A.LinkedHashMapCell.prototype = {};
  33184. A.LinkedHashMapKeyIterable.prototype = {
  33185. get$length(_) {
  33186. return this.__js_helper$_map.__js_helper$_length;
  33187. },
  33188. get$isEmpty(_) {
  33189. return this.__js_helper$_map.__js_helper$_length === 0;
  33190. },
  33191. get$iterator(_) {
  33192. var t1 = this.__js_helper$_map,
  33193. t2 = new A.LinkedHashMapKeyIterator(t1, t1._modifications);
  33194. t2._cell = t1._first;
  33195. return t2;
  33196. },
  33197. contains$1(_, element) {
  33198. return this.__js_helper$_map.containsKey$1(element);
  33199. }
  33200. };
  33201. A.LinkedHashMapKeyIterator.prototype = {
  33202. get$current(_) {
  33203. return this.__js_helper$_current;
  33204. },
  33205. moveNext$0() {
  33206. var cell, _this = this,
  33207. t1 = _this.__js_helper$_map;
  33208. if (_this._modifications !== t1._modifications)
  33209. throw A.wrapException(A.ConcurrentModificationError$(t1));
  33210. cell = _this._cell;
  33211. if (cell == null) {
  33212. _this.__js_helper$_current = null;
  33213. return false;
  33214. } else {
  33215. _this.__js_helper$_current = cell.hashMapCellKey;
  33216. _this._cell = cell._next;
  33217. return true;
  33218. }
  33219. }
  33220. };
  33221. A.JsIdentityLinkedHashMap.prototype = {
  33222. internalComputeHashCode$1(key) {
  33223. return A.objectHashCode(key) & 1073741823;
  33224. },
  33225. internalFindBucketIndex$2(bucket, key) {
  33226. var $length, i, t1;
  33227. if (bucket == null)
  33228. return -1;
  33229. $length = bucket.length;
  33230. for (i = 0; i < $length; ++i) {
  33231. t1 = bucket[i].hashMapCellKey;
  33232. if (t1 == null ? key == null : t1 === key)
  33233. return i;
  33234. }
  33235. return -1;
  33236. }
  33237. };
  33238. A.JsConstantLinkedHashMap.prototype = {
  33239. internalComputeHashCode$1(key) {
  33240. return A.constantHashCode(key) & 1073741823;
  33241. },
  33242. internalFindBucketIndex$2(bucket, key) {
  33243. var $length, i;
  33244. if (bucket == null)
  33245. return -1;
  33246. $length = bucket.length;
  33247. for (i = 0; i < $length; ++i)
  33248. if (J.$eq$(bucket[i].hashMapCellKey, key))
  33249. return i;
  33250. return -1;
  33251. }
  33252. };
  33253. A.initHooks_closure.prototype = {
  33254. call$1(o) {
  33255. return this.getTag(o);
  33256. },
  33257. $signature: 102
  33258. };
  33259. A.initHooks_closure0.prototype = {
  33260. call$2(o, tag) {
  33261. return this.getUnknownTag(o, tag);
  33262. },
  33263. $signature: 429
  33264. };
  33265. A.initHooks_closure1.prototype = {
  33266. call$1(tag) {
  33267. return this.prototypeForTag(tag);
  33268. },
  33269. $signature: 323
  33270. };
  33271. A._Record.prototype = {
  33272. toString$0(_) {
  33273. return this._toString$1(false);
  33274. },
  33275. _toString$1(safe) {
  33276. var t2, separator, i, key, value,
  33277. keys = this._fieldKeys$0(),
  33278. values = this._getFieldValues$0(),
  33279. t1 = (safe ? "" + "Record " : "") + "(";
  33280. for (t2 = keys.length, separator = "", i = 0; i < t2; ++i, separator = ", ") {
  33281. t1 += separator;
  33282. key = keys[i];
  33283. if (typeof key == "string")
  33284. t1 = t1 + key + ": ";
  33285. value = values[i];
  33286. t1 = safe ? t1 + A.Primitives_safeToString(value) : t1 + A.S(value);
  33287. }
  33288. t1 += ")";
  33289. return t1.charCodeAt(0) == 0 ? t1 : t1;
  33290. },
  33291. _fieldKeys$0() {
  33292. var t1,
  33293. shapeTag = this.$shape;
  33294. for (; $._Record__computedFieldKeys.length <= shapeTag;)
  33295. $._Record__computedFieldKeys.push(null);
  33296. t1 = $._Record__computedFieldKeys[shapeTag];
  33297. if (t1 == null) {
  33298. t1 = this._computeFieldKeys$0();
  33299. $._Record__computedFieldKeys[shapeTag] = t1;
  33300. }
  33301. return t1;
  33302. },
  33303. _computeFieldKeys$0() {
  33304. var i, names, last,
  33305. recipe = this.$recipe,
  33306. position = recipe.indexOf("("),
  33307. joinedNames = recipe.substring(1, position),
  33308. fields = recipe.substring(position),
  33309. arity = fields === "()" ? 0 : fields.replace(/[^,]/g, "").length + 1,
  33310. t1 = type$.Object,
  33311. result = J.JSArray_JSArray$allocateGrowable(arity, t1);
  33312. for (i = 0; i < arity; ++i)
  33313. result[i] = i;
  33314. if (joinedNames !== "") {
  33315. names = joinedNames.split(",");
  33316. i = names.length;
  33317. for (last = arity; i > 0;) {
  33318. --last;
  33319. --i;
  33320. result[last] = names[i];
  33321. }
  33322. }
  33323. return A.List_List$unmodifiable(result, t1);
  33324. }
  33325. };
  33326. A._Record2.prototype = {
  33327. _getFieldValues$0() {
  33328. return [this._0, this._1];
  33329. },
  33330. $eq(_, other) {
  33331. if (other == null)
  33332. return false;
  33333. return other instanceof A._Record2 && this.$shape === other.$shape && J.$eq$(this._0, other._0) && J.$eq$(this._1, other._1);
  33334. },
  33335. get$hashCode(_) {
  33336. return A.Object_hash(this.$shape, this._0, this._1, B.C_SentinelValue);
  33337. }
  33338. };
  33339. A._Record3.prototype = {
  33340. _getFieldValues$0() {
  33341. return [this._0, this._1, this._2];
  33342. },
  33343. $eq(_, other) {
  33344. var _this = this;
  33345. if (other == null)
  33346. return false;
  33347. return other instanceof A._Record3 && _this.$shape === other.$shape && J.$eq$(_this._0, other._0) && J.$eq$(_this._1, other._1) && J.$eq$(_this._2, other._2);
  33348. },
  33349. get$hashCode(_) {
  33350. var _this = this;
  33351. return A.Object_hash(_this.$shape, _this._0, _this._1, _this._2);
  33352. }
  33353. };
  33354. A._RecordN.prototype = {
  33355. _getFieldValues$0() {
  33356. return this._values;
  33357. },
  33358. $eq(_, other) {
  33359. if (other == null)
  33360. return false;
  33361. return other instanceof A._RecordN && this.$shape === other.$shape && A._RecordN__equalValues(this._values, other._values);
  33362. },
  33363. get$hashCode(_) {
  33364. return A.Object_hash(this.$shape, A.Object_hashAll(this._values), B.C_SentinelValue, B.C_SentinelValue);
  33365. }
  33366. };
  33367. A.JSSyntaxRegExp.prototype = {
  33368. toString$0(_) {
  33369. return "RegExp/" + this.pattern + "/" + this._nativeRegExp.flags;
  33370. },
  33371. get$_nativeGlobalVersion() {
  33372. var _this = this,
  33373. t1 = _this._nativeGlobalRegExp;
  33374. if (t1 != null)
  33375. return t1;
  33376. t1 = _this._nativeRegExp;
  33377. return _this._nativeGlobalRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
  33378. },
  33379. get$_nativeAnchoredVersion() {
  33380. var _this = this,
  33381. t1 = _this._nativeAnchoredRegExp;
  33382. if (t1 != null)
  33383. return t1;
  33384. t1 = _this._nativeRegExp;
  33385. return _this._nativeAnchoredRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern + "|()", t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, true);
  33386. },
  33387. firstMatch$1(string) {
  33388. var m = this._nativeRegExp.exec(string);
  33389. if (m == null)
  33390. return null;
  33391. return new A._MatchImplementation(m);
  33392. },
  33393. allMatches$2(_, string, start) {
  33394. var t1 = string.length;
  33395. if (start > t1)
  33396. throw A.wrapException(A.RangeError$range(start, 0, t1, null, null));
  33397. return new A._AllMatchesIterable(this, string, start);
  33398. },
  33399. allMatches$1($receiver, string) {
  33400. return this.allMatches$2($receiver, string, 0);
  33401. },
  33402. _execGlobal$2(string, start) {
  33403. var match,
  33404. regexp = this.get$_nativeGlobalVersion();
  33405. regexp.lastIndex = start;
  33406. match = regexp.exec(string);
  33407. if (match == null)
  33408. return null;
  33409. return new A._MatchImplementation(match);
  33410. },
  33411. _execAnchored$2(string, start) {
  33412. var match,
  33413. regexp = this.get$_nativeAnchoredVersion();
  33414. regexp.lastIndex = start;
  33415. match = regexp.exec(string);
  33416. if (match == null)
  33417. return null;
  33418. if (match.pop() != null)
  33419. return null;
  33420. return new A._MatchImplementation(match);
  33421. },
  33422. matchAsPrefix$2(_, string, start) {
  33423. if (start < 0 || start > string.length)
  33424. throw A.wrapException(A.RangeError$range(start, 0, string.length, null, null));
  33425. return this._execAnchored$2(string, start);
  33426. }
  33427. };
  33428. A._MatchImplementation.prototype = {
  33429. get$start(_) {
  33430. return this._match.index;
  33431. },
  33432. get$end(_) {
  33433. var t1 = this._match;
  33434. return t1.index + t1[0].length;
  33435. },
  33436. $isMatch: 1,
  33437. $isRegExpMatch: 1
  33438. };
  33439. A._AllMatchesIterable.prototype = {
  33440. get$iterator(_) {
  33441. return new A._AllMatchesIterator(this._re, this.__js_helper$_string, this._start);
  33442. }
  33443. };
  33444. A._AllMatchesIterator.prototype = {
  33445. get$current(_) {
  33446. var t1 = this.__js_helper$_current;
  33447. return t1 == null ? type$.RegExpMatch._as(t1) : t1;
  33448. },
  33449. moveNext$0() {
  33450. var t1, t2, t3, match, nextIndex, _this = this,
  33451. string = _this.__js_helper$_string;
  33452. if (string == null)
  33453. return false;
  33454. t1 = _this._nextIndex;
  33455. t2 = string.length;
  33456. if (t1 <= t2) {
  33457. t3 = _this._regExp;
  33458. match = t3._execGlobal$2(string, t1);
  33459. if (match != null) {
  33460. _this.__js_helper$_current = match;
  33461. nextIndex = match.get$end(match);
  33462. if (match._match.index === nextIndex) {
  33463. if (t3._nativeRegExp.unicode) {
  33464. t1 = _this._nextIndex;
  33465. t3 = t1 + 1;
  33466. if (t3 < t2) {
  33467. t1 = string.charCodeAt(t1);
  33468. if (t1 >= 55296 && t1 <= 56319) {
  33469. t1 = string.charCodeAt(t3);
  33470. t1 = t1 >= 56320 && t1 <= 57343;
  33471. } else
  33472. t1 = false;
  33473. } else
  33474. t1 = false;
  33475. } else
  33476. t1 = false;
  33477. nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1;
  33478. }
  33479. _this._nextIndex = nextIndex;
  33480. return true;
  33481. }
  33482. }
  33483. _this.__js_helper$_string = _this.__js_helper$_current = null;
  33484. return false;
  33485. }
  33486. };
  33487. A.StringMatch.prototype = {
  33488. get$end(_) {
  33489. return this.start + this.pattern.length;
  33490. },
  33491. $isMatch: 1,
  33492. get$start(receiver) {
  33493. return this.start;
  33494. }
  33495. };
  33496. A._StringAllMatchesIterable.prototype = {
  33497. get$iterator(_) {
  33498. return new A._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper$_index);
  33499. },
  33500. get$first(_) {
  33501. var t1 = this._pattern,
  33502. index = this._input.indexOf(t1, this.__js_helper$_index);
  33503. if (index >= 0)
  33504. return new A.StringMatch(index, t1);
  33505. throw A.wrapException(A.IterableElementError_noElement());
  33506. }
  33507. };
  33508. A._StringAllMatchesIterator.prototype = {
  33509. moveNext$0() {
  33510. var index, end, _this = this,
  33511. t1 = _this.__js_helper$_index,
  33512. t2 = _this._pattern,
  33513. t3 = t2.length,
  33514. t4 = _this._input,
  33515. t5 = t4.length;
  33516. if (t1 + t3 > t5) {
  33517. _this.__js_helper$_current = null;
  33518. return false;
  33519. }
  33520. index = t4.indexOf(t2, t1);
  33521. if (index < 0) {
  33522. _this.__js_helper$_index = t5 + 1;
  33523. _this.__js_helper$_current = null;
  33524. return false;
  33525. }
  33526. end = index + t3;
  33527. _this.__js_helper$_current = new A.StringMatch(index, t2);
  33528. _this.__js_helper$_index = end === _this.__js_helper$_index ? end + 1 : end;
  33529. return true;
  33530. },
  33531. get$current(_) {
  33532. var t1 = this.__js_helper$_current;
  33533. t1.toString;
  33534. return t1;
  33535. }
  33536. };
  33537. A._Cell.prototype = {
  33538. readLocal$1$0() {
  33539. var t1 = this._value;
  33540. if (t1 === this)
  33541. A.throwExpression(new A.LateError("Local '" + this.__late_helper$_name + "' has not been initialized."));
  33542. return t1;
  33543. },
  33544. readLocal$0() {
  33545. return this.readLocal$1$0(type$.dynamic);
  33546. },
  33547. _readLocal$0() {
  33548. var t1 = this._value;
  33549. if (t1 === this)
  33550. throw A.wrapException(new A.LateError("Local '" + this.__late_helper$_name + "' has not been initialized."));
  33551. return t1;
  33552. }
  33553. };
  33554. A._InitializedCell.prototype = {
  33555. readFinal$1$0() {
  33556. var result, _this = this,
  33557. t1 = _this._value;
  33558. if (t1 === _this) {
  33559. result = _this._initializer.call$0();
  33560. if (_this._value !== _this)
  33561. A.throwExpression(new A.LateError(string$.Local_));
  33562. _this._value = result;
  33563. t1 = result;
  33564. }
  33565. return t1;
  33566. },
  33567. readFinal$0() {
  33568. return this.readFinal$1$0(type$.dynamic);
  33569. },
  33570. _readFinal$0() {
  33571. var result, _this = this,
  33572. t1 = _this._value;
  33573. if (t1 === _this) {
  33574. result = _this._initializer.call$0();
  33575. if (_this._value !== _this)
  33576. throw A.wrapException(new A.LateError(string$.Local_));
  33577. _this._value = result;
  33578. t1 = result;
  33579. }
  33580. return t1;
  33581. }
  33582. };
  33583. A.NativeByteBuffer.prototype = {
  33584. get$runtimeType(receiver) {
  33585. return B.Type_ByteBuffer_RkP;
  33586. },
  33587. $isTrustedGetRuntimeType: 1,
  33588. $isByteBuffer: 1
  33589. };
  33590. A.NativeTypedData.prototype = {
  33591. _invalidPosition$3(receiver, position, $length, $name) {
  33592. var t1 = A.RangeError$range(position, 0, $length, $name, null);
  33593. throw A.wrapException(t1);
  33594. },
  33595. _checkPosition$3(receiver, position, $length, $name) {
  33596. if (position >>> 0 !== position || position > $length)
  33597. this._invalidPosition$3(receiver, position, $length, $name);
  33598. }
  33599. };
  33600. A.NativeByteData.prototype = {
  33601. get$runtimeType(receiver) {
  33602. return B.Type_ByteData_zNC;
  33603. },
  33604. $isTrustedGetRuntimeType: 1,
  33605. $isByteData: 1
  33606. };
  33607. A.NativeTypedArray.prototype = {
  33608. get$length(receiver) {
  33609. return receiver.length;
  33610. },
  33611. _setRangeFast$4(receiver, start, end, source, skipCount) {
  33612. var count, sourceLength,
  33613. targetLength = receiver.length;
  33614. this._checkPosition$3(receiver, start, targetLength, "start");
  33615. this._checkPosition$3(receiver, end, targetLength, "end");
  33616. if (start > end)
  33617. throw A.wrapException(A.RangeError$range(start, 0, end, null, null));
  33618. count = end - start;
  33619. if (skipCount < 0)
  33620. throw A.wrapException(A.ArgumentError$(skipCount, null));
  33621. sourceLength = source.length;
  33622. if (sourceLength - skipCount < count)
  33623. throw A.wrapException(A.StateError$("Not enough elements"));
  33624. if (skipCount !== 0 || sourceLength !== count)
  33625. source = source.subarray(skipCount, skipCount + count);
  33626. receiver.set(source, start);
  33627. },
  33628. $isJavaScriptIndexingBehavior: 1
  33629. };
  33630. A.NativeTypedArrayOfDouble.prototype = {
  33631. $index(receiver, index) {
  33632. A._checkValidIndex(index, receiver, receiver.length);
  33633. return receiver[index];
  33634. },
  33635. $indexSet(receiver, index, value) {
  33636. A._checkValidIndex(index, receiver, receiver.length);
  33637. receiver[index] = value;
  33638. },
  33639. setRange$4(receiver, start, end, iterable, skipCount) {
  33640. if (type$.NativeTypedArrayOfDouble._is(iterable)) {
  33641. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  33642. return;
  33643. }
  33644. this.super$ListBase$setRange(receiver, start, end, iterable, skipCount);
  33645. },
  33646. $isEfficientLengthIterable: 1,
  33647. $isIterable: 1,
  33648. $isList: 1
  33649. };
  33650. A.NativeTypedArrayOfInt.prototype = {
  33651. $indexSet(receiver, index, value) {
  33652. A._checkValidIndex(index, receiver, receiver.length);
  33653. receiver[index] = value;
  33654. },
  33655. setRange$4(receiver, start, end, iterable, skipCount) {
  33656. if (type$.NativeTypedArrayOfInt._is(iterable)) {
  33657. this._setRangeFast$4(receiver, start, end, iterable, skipCount);
  33658. return;
  33659. }
  33660. this.super$ListBase$setRange(receiver, start, end, iterable, skipCount);
  33661. },
  33662. $isEfficientLengthIterable: 1,
  33663. $isIterable: 1,
  33664. $isList: 1
  33665. };
  33666. A.NativeFloat32List.prototype = {
  33667. get$runtimeType(receiver) {
  33668. return B.Type_Float32List_LB7;
  33669. },
  33670. sublist$2(receiver, start, end) {
  33671. return new Float32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  33672. },
  33673. sublist$1($receiver, start) {
  33674. return this.sublist$2($receiver, start, null);
  33675. },
  33676. $isTrustedGetRuntimeType: 1,
  33677. $isFloat32List: 1
  33678. };
  33679. A.NativeFloat64List.prototype = {
  33680. get$runtimeType(receiver) {
  33681. return B.Type_Float64List_LB7;
  33682. },
  33683. sublist$2(receiver, start, end) {
  33684. return new Float64Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  33685. },
  33686. sublist$1($receiver, start) {
  33687. return this.sublist$2($receiver, start, null);
  33688. },
  33689. $isTrustedGetRuntimeType: 1,
  33690. $isFloat64List: 1
  33691. };
  33692. A.NativeInt16List.prototype = {
  33693. get$runtimeType(receiver) {
  33694. return B.Type_Int16List_uXf;
  33695. },
  33696. $index(receiver, index) {
  33697. A._checkValidIndex(index, receiver, receiver.length);
  33698. return receiver[index];
  33699. },
  33700. sublist$2(receiver, start, end) {
  33701. return new Int16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  33702. },
  33703. sublist$1($receiver, start) {
  33704. return this.sublist$2($receiver, start, null);
  33705. },
  33706. $isTrustedGetRuntimeType: 1,
  33707. $isInt16List: 1
  33708. };
  33709. A.NativeInt32List.prototype = {
  33710. get$runtimeType(receiver) {
  33711. return B.Type_Int32List_O50;
  33712. },
  33713. $index(receiver, index) {
  33714. A._checkValidIndex(index, receiver, receiver.length);
  33715. return receiver[index];
  33716. },
  33717. sublist$2(receiver, start, end) {
  33718. return new Int32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  33719. },
  33720. sublist$1($receiver, start) {
  33721. return this.sublist$2($receiver, start, null);
  33722. },
  33723. $isTrustedGetRuntimeType: 1,
  33724. $isInt32List: 1
  33725. };
  33726. A.NativeInt8List.prototype = {
  33727. get$runtimeType(receiver) {
  33728. return B.Type_Int8List_ekJ;
  33729. },
  33730. $index(receiver, index) {
  33731. A._checkValidIndex(index, receiver, receiver.length);
  33732. return receiver[index];
  33733. },
  33734. sublist$2(receiver, start, end) {
  33735. return new Int8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  33736. },
  33737. sublist$1($receiver, start) {
  33738. return this.sublist$2($receiver, start, null);
  33739. },
  33740. $isTrustedGetRuntimeType: 1,
  33741. $isInt8List: 1
  33742. };
  33743. A.NativeUint16List.prototype = {
  33744. get$runtimeType(receiver) {
  33745. return B.Type_Uint16List_2bx;
  33746. },
  33747. $index(receiver, index) {
  33748. A._checkValidIndex(index, receiver, receiver.length);
  33749. return receiver[index];
  33750. },
  33751. sublist$2(receiver, start, end) {
  33752. return new Uint16Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  33753. },
  33754. sublist$1($receiver, start) {
  33755. return this.sublist$2($receiver, start, null);
  33756. },
  33757. $isTrustedGetRuntimeType: 1,
  33758. $isUint16List: 1
  33759. };
  33760. A.NativeUint32List.prototype = {
  33761. get$runtimeType(receiver) {
  33762. return B.Type_Uint32List_2bx;
  33763. },
  33764. $index(receiver, index) {
  33765. A._checkValidIndex(index, receiver, receiver.length);
  33766. return receiver[index];
  33767. },
  33768. sublist$2(receiver, start, end) {
  33769. return new Uint32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  33770. },
  33771. sublist$1($receiver, start) {
  33772. return this.sublist$2($receiver, start, null);
  33773. },
  33774. $isTrustedGetRuntimeType: 1,
  33775. $isUint32List: 1
  33776. };
  33777. A.NativeUint8ClampedList.prototype = {
  33778. get$runtimeType(receiver) {
  33779. return B.Type_Uint8ClampedList_Jik;
  33780. },
  33781. get$length(receiver) {
  33782. return receiver.length;
  33783. },
  33784. $index(receiver, index) {
  33785. A._checkValidIndex(index, receiver, receiver.length);
  33786. return receiver[index];
  33787. },
  33788. sublist$2(receiver, start, end) {
  33789. return new Uint8ClampedArray(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  33790. },
  33791. sublist$1($receiver, start) {
  33792. return this.sublist$2($receiver, start, null);
  33793. },
  33794. $isTrustedGetRuntimeType: 1,
  33795. $isUint8ClampedList: 1
  33796. };
  33797. A.NativeUint8List.prototype = {
  33798. get$runtimeType(receiver) {
  33799. return B.Type_Uint8List_WLA;
  33800. },
  33801. get$length(receiver) {
  33802. return receiver.length;
  33803. },
  33804. $index(receiver, index) {
  33805. A._checkValidIndex(index, receiver, receiver.length);
  33806. return receiver[index];
  33807. },
  33808. sublist$2(receiver, start, end) {
  33809. return new Uint8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));
  33810. },
  33811. sublist$1($receiver, start) {
  33812. return this.sublist$2($receiver, start, null);
  33813. },
  33814. $isTrustedGetRuntimeType: 1,
  33815. $isNativeUint8List: 1,
  33816. $isUint8List: 1
  33817. };
  33818. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {};
  33819. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  33820. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {};
  33821. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};
  33822. A.Rti.prototype = {
  33823. _eval$1(recipe) {
  33824. return A._Universe_evalInEnvironment(init.typeUniverse, this, recipe);
  33825. },
  33826. _bind$1(typeOrTuple) {
  33827. return A._Universe_bind(init.typeUniverse, this, typeOrTuple);
  33828. }
  33829. };
  33830. A._FunctionParameters.prototype = {};
  33831. A._Type.prototype = {
  33832. toString$0(_) {
  33833. return A._rtiToString(this._rti, null);
  33834. }
  33835. };
  33836. A._Error.prototype = {
  33837. toString$0(_) {
  33838. return this.__rti$_message;
  33839. }
  33840. };
  33841. A._TypeError.prototype = {
  33842. get$message(_) {
  33843. return this.__rti$_message;
  33844. },
  33845. $isTypeError: 1
  33846. };
  33847. A._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = {
  33848. call$1(_) {
  33849. var t1 = this._box_0,
  33850. f = t1.storedCallback;
  33851. t1.storedCallback = null;
  33852. f.call$0();
  33853. },
  33854. $signature: 79
  33855. };
  33856. A._AsyncRun__initializeScheduleImmediate_closure.prototype = {
  33857. call$1(callback) {
  33858. var t1, t2;
  33859. this._box_0.storedCallback = callback;
  33860. t1 = this.div;
  33861. t2 = this.span;
  33862. t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2);
  33863. },
  33864. $signature: 40
  33865. };
  33866. A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = {
  33867. call$0() {
  33868. this.callback.call$0();
  33869. },
  33870. $signature: 2
  33871. };
  33872. A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = {
  33873. call$0() {
  33874. this.callback.call$0();
  33875. },
  33876. $signature: 2
  33877. };
  33878. A._TimerImpl.prototype = {
  33879. _TimerImpl$2(milliseconds, callback) {
  33880. if (self.setTimeout != null)
  33881. this._handle = self.setTimeout(A.convertDartClosureToJS(new A._TimerImpl_internalCallback(this, callback), 0), milliseconds);
  33882. else
  33883. throw A.wrapException(A.UnsupportedError$("`setTimeout()` not found."));
  33884. },
  33885. _TimerImpl$periodic$2(milliseconds, callback) {
  33886. if (self.setTimeout != null)
  33887. this._handle = self.setInterval(A.convertDartClosureToJS(new A._TimerImpl$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds);
  33888. else
  33889. throw A.wrapException(A.UnsupportedError$("Periodic timer."));
  33890. },
  33891. cancel$0() {
  33892. if (self.setTimeout != null) {
  33893. var t1 = this._handle;
  33894. if (t1 == null)
  33895. return;
  33896. if (this._once)
  33897. self.clearTimeout(t1);
  33898. else
  33899. self.clearInterval(t1);
  33900. this._handle = null;
  33901. } else
  33902. throw A.wrapException(A.UnsupportedError$("Canceling a timer."));
  33903. }
  33904. };
  33905. A._TimerImpl_internalCallback.prototype = {
  33906. call$0() {
  33907. var t1 = this.$this;
  33908. t1._handle = null;
  33909. t1._tick = 1;
  33910. this.callback.call$0();
  33911. },
  33912. $signature: 0
  33913. };
  33914. A._TimerImpl$periodic_closure.prototype = {
  33915. call$0() {
  33916. var duration, _this = this,
  33917. t1 = _this.$this,
  33918. tick = t1._tick + 1,
  33919. t2 = _this.milliseconds;
  33920. if (t2 > 0) {
  33921. duration = Date.now() - _this.start;
  33922. if (duration > (tick + 1) * t2)
  33923. tick = B.JSInt_methods.$tdiv(duration, t2);
  33924. }
  33925. t1._tick = tick;
  33926. _this.callback.call$1(t1);
  33927. },
  33928. $signature: 2
  33929. };
  33930. A._AsyncAwaitCompleter.prototype = {
  33931. complete$1(value) {
  33932. var t1, _this = this;
  33933. if (value == null)
  33934. value = _this.$ti._precomputed1._as(value);
  33935. if (!_this.isSync)
  33936. _this._future._asyncComplete$1(value);
  33937. else {
  33938. t1 = _this._future;
  33939. if (_this.$ti._eval$1("Future<1>")._is(value))
  33940. t1._chainFuture$1(value);
  33941. else
  33942. t1._completeWithValue$1(value);
  33943. }
  33944. },
  33945. completeError$2(e, st) {
  33946. var t1 = this._future;
  33947. if (this.isSync)
  33948. t1._completeError$2(e, st);
  33949. else
  33950. t1._asyncCompleteError$2(e, st);
  33951. }
  33952. };
  33953. A._awaitOnObject_closure.prototype = {
  33954. call$1(result) {
  33955. return this.bodyFunction.call$2(0, result);
  33956. },
  33957. $signature: 131
  33958. };
  33959. A._awaitOnObject_closure0.prototype = {
  33960. call$2(error, stackTrace) {
  33961. this.bodyFunction.call$2(1, new A.ExceptionAndStackTrace(error, stackTrace));
  33962. },
  33963. $signature: 430
  33964. };
  33965. A._wrapJsFunctionForAsync_closure.prototype = {
  33966. call$2(errorCode, result) {
  33967. this.$protected(errorCode, result);
  33968. },
  33969. $signature: 474
  33970. };
  33971. A._SyncStarIterator.prototype = {
  33972. get$current(_) {
  33973. return this._async$_current;
  33974. },
  33975. _resumeBody$2(errorCode, errorValue) {
  33976. var body, t1, exception;
  33977. errorCode = errorCode;
  33978. errorValue = errorValue;
  33979. body = this._body;
  33980. for (; true;)
  33981. try {
  33982. t1 = body(this, errorCode, errorValue);
  33983. return t1;
  33984. } catch (exception) {
  33985. errorValue = exception;
  33986. errorCode = 1;
  33987. }
  33988. },
  33989. moveNext$0() {
  33990. var nestedIterator, exception, value, suspendedBodies, _this = this, errorValue = null, errorCode = 0;
  33991. for (; true;) {
  33992. nestedIterator = _this._nestedIterator;
  33993. if (nestedIterator != null)
  33994. try {
  33995. if (nestedIterator.moveNext$0()) {
  33996. _this._async$_current = J.get$current$x(nestedIterator);
  33997. return true;
  33998. } else
  33999. _this._nestedIterator = null;
  34000. } catch (exception) {
  34001. errorValue = exception;
  34002. errorCode = 1;
  34003. _this._nestedIterator = null;
  34004. }
  34005. value = _this._resumeBody$2(errorCode, errorValue);
  34006. if (1 === value)
  34007. return true;
  34008. if (0 === value) {
  34009. _this._async$_current = null;
  34010. suspendedBodies = _this._suspendedBodies;
  34011. if (suspendedBodies == null || suspendedBodies.length === 0) {
  34012. _this._body = A._SyncStarIterator__terminatedBody;
  34013. return false;
  34014. }
  34015. _this._body = suspendedBodies.pop();
  34016. errorCode = 0;
  34017. errorValue = null;
  34018. continue;
  34019. }
  34020. if (2 === value) {
  34021. errorCode = 0;
  34022. errorValue = null;
  34023. continue;
  34024. }
  34025. if (3 === value) {
  34026. errorValue = _this._datum;
  34027. _this._datum = null;
  34028. suspendedBodies = _this._suspendedBodies;
  34029. if (suspendedBodies == null || suspendedBodies.length === 0) {
  34030. _this._async$_current = null;
  34031. _this._body = A._SyncStarIterator__terminatedBody;
  34032. throw errorValue;
  34033. return false;
  34034. }
  34035. _this._body = suspendedBodies.pop();
  34036. errorCode = 1;
  34037. continue;
  34038. }
  34039. throw A.wrapException(A.StateError$("sync*"));
  34040. }
  34041. return false;
  34042. },
  34043. _yieldStar$1(iterable) {
  34044. var t1, t2, _this = this;
  34045. if (iterable instanceof A._SyncStarIterable) {
  34046. t1 = iterable._outerHelper();
  34047. t2 = _this._suspendedBodies;
  34048. if (t2 == null)
  34049. t2 = _this._suspendedBodies = [];
  34050. t2.push(_this._body);
  34051. _this._body = t1;
  34052. return 2;
  34053. } else {
  34054. _this._nestedIterator = J.get$iterator$ax(iterable);
  34055. return 2;
  34056. }
  34057. }
  34058. };
  34059. A._SyncStarIterable.prototype = {
  34060. get$iterator(_) {
  34061. return new A._SyncStarIterator(this._outerHelper());
  34062. }
  34063. };
  34064. A.AsyncError.prototype = {
  34065. toString$0(_) {
  34066. return A.S(this.error);
  34067. },
  34068. $isError: 1,
  34069. get$stackTrace() {
  34070. return this.stackTrace;
  34071. }
  34072. };
  34073. A.Future_wait_handleError.prototype = {
  34074. call$2(theError, theStackTrace) {
  34075. var _this = this,
  34076. t1 = _this._box_0,
  34077. t2 = --t1.remaining;
  34078. if (t1.values != null) {
  34079. t1.values = null;
  34080. if (t1.remaining === 0 || _this.eagerError)
  34081. _this._future._completeError$2(theError, theStackTrace);
  34082. else {
  34083. _this.error._value = theError;
  34084. _this.stackTrace._value = theStackTrace;
  34085. }
  34086. } else if (t2 === 0 && !_this.eagerError)
  34087. _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0());
  34088. },
  34089. $signature: 77
  34090. };
  34091. A.Future_wait_closure.prototype = {
  34092. call$1(value) {
  34093. var valueList, _this = this,
  34094. t1 = _this._box_0;
  34095. --t1.remaining;
  34096. valueList = t1.values;
  34097. if (valueList != null) {
  34098. J.$indexSet$ax(valueList, _this.pos, value);
  34099. if (t1.remaining === 0)
  34100. _this._future._completeWithValue$1(A.List_List$from(valueList, true, _this.T));
  34101. } else if (t1.remaining === 0 && !_this.eagerError)
  34102. _this._future._completeError$2(_this.error._readLocal$0(), _this.stackTrace._readLocal$0());
  34103. },
  34104. $signature() {
  34105. return this.T._eval$1("Null(0)");
  34106. }
  34107. };
  34108. A._Completer.prototype = {
  34109. completeError$2(error, stackTrace) {
  34110. var replacement;
  34111. A.checkNotNullable(error, "error", type$.Object);
  34112. if ((this.future._state & 30) !== 0)
  34113. throw A.wrapException(A.StateError$("Future already completed"));
  34114. replacement = $.Zone__current.errorCallback$2(error, stackTrace);
  34115. if (replacement != null) {
  34116. error = replacement.error;
  34117. stackTrace = replacement.stackTrace;
  34118. } else if (stackTrace == null)
  34119. stackTrace = A.AsyncError_defaultStackTrace(error);
  34120. this._completeError$2(error, stackTrace);
  34121. },
  34122. completeError$1(error) {
  34123. return this.completeError$2(error, null);
  34124. }
  34125. };
  34126. A._AsyncCompleter.prototype = {
  34127. complete$1(value) {
  34128. var t1 = this.future;
  34129. if ((t1._state & 30) !== 0)
  34130. throw A.wrapException(A.StateError$("Future already completed"));
  34131. t1._asyncComplete$1(value);
  34132. },
  34133. complete$0() {
  34134. return this.complete$1(null);
  34135. },
  34136. _completeError$2(error, stackTrace) {
  34137. this.future._asyncCompleteError$2(error, stackTrace);
  34138. }
  34139. };
  34140. A._SyncCompleter.prototype = {
  34141. complete$1(value) {
  34142. var t1 = this.future;
  34143. if ((t1._state & 30) !== 0)
  34144. throw A.wrapException(A.StateError$("Future already completed"));
  34145. t1._complete$1(value);
  34146. },
  34147. _completeError$2(error, stackTrace) {
  34148. this.future._completeError$2(error, stackTrace);
  34149. }
  34150. };
  34151. A._FutureListener.prototype = {
  34152. matchesErrorTest$1(asyncError) {
  34153. if ((this.state & 15) !== 6)
  34154. return true;
  34155. return this.result._zone.runUnary$2$2(this.callback, asyncError.error, type$.bool, type$.Object);
  34156. },
  34157. handleError$1(asyncError) {
  34158. var exception,
  34159. errorCallback = this.errorCallback,
  34160. result = null,
  34161. t1 = type$.dynamic,
  34162. t2 = type$.Object,
  34163. t3 = asyncError.error,
  34164. t4 = this.result._zone;
  34165. if (type$.dynamic_Function_Object_StackTrace._is(errorCallback))
  34166. result = t4.runBinary$3$3(errorCallback, t3, asyncError.stackTrace, t1, t2, type$.StackTrace);
  34167. else
  34168. result = t4.runUnary$2$2(errorCallback, t3, t1, t2);
  34169. try {
  34170. t1 = result;
  34171. return t1;
  34172. } catch (exception) {
  34173. if (type$.TypeError._is(A.unwrapException(exception))) {
  34174. if ((this.state & 1) !== 0)
  34175. throw A.wrapException(A.ArgumentError$("The error handler of Future.then must return a value of the returned future's type", "onError"));
  34176. throw A.wrapException(A.ArgumentError$("The error handler of Future.catchError must return a value of the future's type", "onError"));
  34177. } else
  34178. throw exception;
  34179. }
  34180. }
  34181. };
  34182. A._Future.prototype = {
  34183. _setChained$1(source) {
  34184. this._state = this._state & 1 | 4;
  34185. this._resultOrListeners = source;
  34186. },
  34187. then$1$2$onError(_, f, onError, $R) {
  34188. var result, t1,
  34189. currentZone = $.Zone__current;
  34190. if (currentZone === B.C__RootZone) {
  34191. if (onError != null && !type$.dynamic_Function_Object_StackTrace._is(onError) && !type$.dynamic_Function_Object._is(onError))
  34192. throw A.wrapException(A.ArgumentError$value(onError, "onError", string$.Error_));
  34193. } else {
  34194. f = currentZone.registerUnaryCallback$2$1(f, $R._eval$1("0/"), this.$ti._precomputed1);
  34195. if (onError != null)
  34196. onError = A._registerErrorHandler(onError, currentZone);
  34197. }
  34198. result = new A._Future($.Zone__current, $R._eval$1("_Future<0>"));
  34199. t1 = onError == null ? 1 : 3;
  34200. this._addListener$1(new A._FutureListener(result, t1, f, onError, this.$ti._eval$1("@<1>")._bind$1($R)._eval$1("_FutureListener<1,2>")));
  34201. return result;
  34202. },
  34203. then$1$1($receiver, f, $R) {
  34204. return this.then$1$2$onError($receiver, f, null, $R);
  34205. },
  34206. _thenAwait$1$2(f, onError, $E) {
  34207. var result = new A._Future($.Zone__current, $E._eval$1("_Future<0>"));
  34208. this._addListener$1(new A._FutureListener(result, 19, f, onError, this.$ti._eval$1("@<1>")._bind$1($E)._eval$1("_FutureListener<1,2>")));
  34209. return result;
  34210. },
  34211. whenComplete$1(action) {
  34212. var t1 = this.$ti,
  34213. t2 = $.Zone__current,
  34214. result = new A._Future(t2, t1);
  34215. if (t2 !== B.C__RootZone)
  34216. action = t2.registerCallback$1$1(action, type$.dynamic);
  34217. this._addListener$1(new A._FutureListener(result, 8, action, null, t1._eval$1("@<1>")._bind$1(t1._precomputed1)._eval$1("_FutureListener<1,2>")));
  34218. return result;
  34219. },
  34220. _setErrorObject$1(error) {
  34221. this._state = this._state & 1 | 16;
  34222. this._resultOrListeners = error;
  34223. },
  34224. _cloneResult$1(source) {
  34225. this._state = source._state & 30 | this._state & 1;
  34226. this._resultOrListeners = source._resultOrListeners;
  34227. },
  34228. _addListener$1(listener) {
  34229. var _this = this,
  34230. t1 = _this._state;
  34231. if (t1 <= 3) {
  34232. listener._nextListener = _this._resultOrListeners;
  34233. _this._resultOrListeners = listener;
  34234. } else {
  34235. if ((t1 & 4) !== 0) {
  34236. t1 = _this._resultOrListeners;
  34237. if ((t1._state & 24) === 0) {
  34238. t1._addListener$1(listener);
  34239. return;
  34240. }
  34241. _this._cloneResult$1(t1);
  34242. }
  34243. _this._zone.scheduleMicrotask$1(new A._Future__addListener_closure(_this, listener));
  34244. }
  34245. },
  34246. _prependListeners$1(listeners) {
  34247. var t1, existingListeners, next, cursor, next0, _this = this, _box_0 = {};
  34248. _box_0.listeners = listeners;
  34249. if (listeners == null)
  34250. return;
  34251. t1 = _this._state;
  34252. if (t1 <= 3) {
  34253. existingListeners = _this._resultOrListeners;
  34254. _this._resultOrListeners = listeners;
  34255. if (existingListeners != null) {
  34256. next = listeners._nextListener;
  34257. for (cursor = listeners; next != null; cursor = next, next = next0)
  34258. next0 = next._nextListener;
  34259. cursor._nextListener = existingListeners;
  34260. }
  34261. } else {
  34262. if ((t1 & 4) !== 0) {
  34263. t1 = _this._resultOrListeners;
  34264. if ((t1._state & 24) === 0) {
  34265. t1._prependListeners$1(listeners);
  34266. return;
  34267. }
  34268. _this._cloneResult$1(t1);
  34269. }
  34270. _box_0.listeners = _this._reverseListeners$1(listeners);
  34271. _this._zone.scheduleMicrotask$1(new A._Future__prependListeners_closure(_box_0, _this));
  34272. }
  34273. },
  34274. _removeListeners$0() {
  34275. var current = this._resultOrListeners;
  34276. this._resultOrListeners = null;
  34277. return this._reverseListeners$1(current);
  34278. },
  34279. _reverseListeners$1(listeners) {
  34280. var current, prev, next;
  34281. for (current = listeners, prev = null; current != null; prev = current, current = next) {
  34282. next = current._nextListener;
  34283. current._nextListener = prev;
  34284. }
  34285. return prev;
  34286. },
  34287. _chainForeignFuture$1(source) {
  34288. var e, s, exception, _this = this;
  34289. _this._state ^= 2;
  34290. try {
  34291. source.then$1$2$onError(0, new A._Future__chainForeignFuture_closure(_this), new A._Future__chainForeignFuture_closure0(_this), type$.Null);
  34292. } catch (exception) {
  34293. e = A.unwrapException(exception);
  34294. s = A.getTraceFromException(exception);
  34295. A.scheduleMicrotask(new A._Future__chainForeignFuture_closure1(_this, e, s));
  34296. }
  34297. },
  34298. _complete$1(value) {
  34299. var listeners, _this = this,
  34300. t1 = _this.$ti;
  34301. if (t1._eval$1("Future<1>")._is(value))
  34302. if (t1._is(value))
  34303. A._Future__chainCoreFutureSync(value, _this);
  34304. else
  34305. _this._chainForeignFuture$1(value);
  34306. else {
  34307. listeners = _this._removeListeners$0();
  34308. _this._state = 8;
  34309. _this._resultOrListeners = value;
  34310. A._Future__propagateToListeners(_this, listeners);
  34311. }
  34312. },
  34313. _completeWithValue$1(value) {
  34314. var _this = this,
  34315. listeners = _this._removeListeners$0();
  34316. _this._state = 8;
  34317. _this._resultOrListeners = value;
  34318. A._Future__propagateToListeners(_this, listeners);
  34319. },
  34320. _completeError$2(error, stackTrace) {
  34321. var listeners = this._removeListeners$0();
  34322. this._setErrorObject$1(A.AsyncError$(error, stackTrace));
  34323. A._Future__propagateToListeners(this, listeners);
  34324. },
  34325. _asyncComplete$1(value) {
  34326. if (this.$ti._eval$1("Future<1>")._is(value)) {
  34327. this._chainFuture$1(value);
  34328. return;
  34329. }
  34330. this._asyncCompleteWithValue$1(value);
  34331. },
  34332. _asyncCompleteWithValue$1(value) {
  34333. this._state ^= 2;
  34334. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteWithValue_closure(this, value));
  34335. },
  34336. _chainFuture$1(value) {
  34337. if (this.$ti._is(value)) {
  34338. A._Future__chainCoreFutureAsync(value, this);
  34339. return;
  34340. }
  34341. this._chainForeignFuture$1(value);
  34342. },
  34343. _asyncCompleteError$2(error, stackTrace) {
  34344. this._state ^= 2;
  34345. this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteError_closure(this, error, stackTrace));
  34346. },
  34347. $isFuture: 1
  34348. };
  34349. A._Future__addListener_closure.prototype = {
  34350. call$0() {
  34351. A._Future__propagateToListeners(this.$this, this.listener);
  34352. },
  34353. $signature: 0
  34354. };
  34355. A._Future__prependListeners_closure.prototype = {
  34356. call$0() {
  34357. A._Future__propagateToListeners(this.$this, this._box_0.listeners);
  34358. },
  34359. $signature: 0
  34360. };
  34361. A._Future__chainForeignFuture_closure.prototype = {
  34362. call$1(value) {
  34363. var error, stackTrace, exception,
  34364. t1 = this.$this;
  34365. t1._state ^= 2;
  34366. try {
  34367. t1._completeWithValue$1(t1.$ti._precomputed1._as(value));
  34368. } catch (exception) {
  34369. error = A.unwrapException(exception);
  34370. stackTrace = A.getTraceFromException(exception);
  34371. t1._completeError$2(error, stackTrace);
  34372. }
  34373. },
  34374. $signature: 79
  34375. };
  34376. A._Future__chainForeignFuture_closure0.prototype = {
  34377. call$2(error, stackTrace) {
  34378. this.$this._completeError$2(error, stackTrace);
  34379. },
  34380. $signature: 61
  34381. };
  34382. A._Future__chainForeignFuture_closure1.prototype = {
  34383. call$0() {
  34384. this.$this._completeError$2(this.e, this.s);
  34385. },
  34386. $signature: 0
  34387. };
  34388. A._Future__chainCoreFutureAsync_closure.prototype = {
  34389. call$0() {
  34390. A._Future__chainCoreFutureSync(this._box_0.source, this.target);
  34391. },
  34392. $signature: 0
  34393. };
  34394. A._Future__asyncCompleteWithValue_closure.prototype = {
  34395. call$0() {
  34396. this.$this._completeWithValue$1(this.value);
  34397. },
  34398. $signature: 0
  34399. };
  34400. A._Future__asyncCompleteError_closure.prototype = {
  34401. call$0() {
  34402. this.$this._completeError$2(this.error, this.stackTrace);
  34403. },
  34404. $signature: 0
  34405. };
  34406. A._Future__propagateToListeners_handleWhenCompleteCallback.prototype = {
  34407. call$0() {
  34408. var e, s, t1, exception, t2, originalSource, _this = this, completeResult = null;
  34409. try {
  34410. t1 = _this._box_0.listener;
  34411. completeResult = t1.result._zone.run$1$1(0, t1.callback, type$.dynamic);
  34412. } catch (exception) {
  34413. e = A.unwrapException(exception);
  34414. s = A.getTraceFromException(exception);
  34415. t1 = _this.hasError && _this._box_1.source._resultOrListeners.error === e;
  34416. t2 = _this._box_0;
  34417. if (t1)
  34418. t2.listenerValueOrError = _this._box_1.source._resultOrListeners;
  34419. else
  34420. t2.listenerValueOrError = A.AsyncError$(e, s);
  34421. t2.listenerHasError = true;
  34422. return;
  34423. }
  34424. if (completeResult instanceof A._Future && (completeResult._state & 24) !== 0) {
  34425. if ((completeResult._state & 16) !== 0) {
  34426. t1 = _this._box_0;
  34427. t1.listenerValueOrError = completeResult._resultOrListeners;
  34428. t1.listenerHasError = true;
  34429. }
  34430. return;
  34431. }
  34432. if (completeResult instanceof A._Future) {
  34433. originalSource = _this._box_1.source;
  34434. t1 = _this._box_0;
  34435. t1.listenerValueOrError = J.then$1$1$x(completeResult, new A._Future__propagateToListeners_handleWhenCompleteCallback_closure(originalSource), type$.dynamic);
  34436. t1.listenerHasError = false;
  34437. }
  34438. },
  34439. $signature: 0
  34440. };
  34441. A._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = {
  34442. call$1(_) {
  34443. return this.originalSource;
  34444. },
  34445. $signature: 453
  34446. };
  34447. A._Future__propagateToListeners_handleValueCallback.prototype = {
  34448. call$0() {
  34449. var e, s, t1, t2, t3, exception;
  34450. try {
  34451. t1 = this._box_0;
  34452. t2 = t1.listener;
  34453. t3 = t2.$ti;
  34454. t1.listenerValueOrError = t2.result._zone.runUnary$2$2(t2.callback, this.sourceResult, t3._eval$1("2/"), t3._precomputed1);
  34455. } catch (exception) {
  34456. e = A.unwrapException(exception);
  34457. s = A.getTraceFromException(exception);
  34458. t1 = this._box_0;
  34459. t1.listenerValueOrError = A.AsyncError$(e, s);
  34460. t1.listenerHasError = true;
  34461. }
  34462. },
  34463. $signature: 0
  34464. };
  34465. A._Future__propagateToListeners_handleError.prototype = {
  34466. call$0() {
  34467. var asyncError, e, s, t1, exception, t2, _this = this;
  34468. try {
  34469. asyncError = _this._box_1.source._resultOrListeners;
  34470. t1 = _this._box_0;
  34471. if (t1.listener.matchesErrorTest$1(asyncError) && t1.listener.errorCallback != null) {
  34472. t1.listenerValueOrError = t1.listener.handleError$1(asyncError);
  34473. t1.listenerHasError = false;
  34474. }
  34475. } catch (exception) {
  34476. e = A.unwrapException(exception);
  34477. s = A.getTraceFromException(exception);
  34478. t1 = _this._box_1.source._resultOrListeners;
  34479. t2 = _this._box_0;
  34480. if (t1.error === e)
  34481. t2.listenerValueOrError = t1;
  34482. else
  34483. t2.listenerValueOrError = A.AsyncError$(e, s);
  34484. t2.listenerHasError = true;
  34485. }
  34486. },
  34487. $signature: 0
  34488. };
  34489. A._AsyncCallbackEntry.prototype = {};
  34490. A.Stream.prototype = {
  34491. get$isBroadcast() {
  34492. return false;
  34493. },
  34494. get$length(_) {
  34495. var t1 = {},
  34496. future = new A._Future($.Zone__current, type$._Future_int);
  34497. t1.count = 0;
  34498. 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());
  34499. return future;
  34500. }
  34501. };
  34502. A.Stream_Stream$fromFuture_closure.prototype = {
  34503. call$1(value) {
  34504. var t1 = this.controller;
  34505. t1._async$_add$1(value);
  34506. t1._closeUnchecked$0();
  34507. },
  34508. $signature() {
  34509. return this.T._eval$1("Null(0)");
  34510. }
  34511. };
  34512. A.Stream_Stream$fromFuture_closure0.prototype = {
  34513. call$2(error, stackTrace) {
  34514. var t1 = this.controller;
  34515. t1._addError$2(error, stackTrace);
  34516. t1._closeUnchecked$0();
  34517. },
  34518. $signature: 455
  34519. };
  34520. A.Stream_length_closure.prototype = {
  34521. call$1(_) {
  34522. ++this._box_0.count;
  34523. },
  34524. $signature() {
  34525. return A._instanceType(this.$this)._eval$1("~(Stream.T)");
  34526. }
  34527. };
  34528. A.Stream_length_closure0.prototype = {
  34529. call$0() {
  34530. this.future._complete$1(this._box_0.count);
  34531. },
  34532. $signature: 0
  34533. };
  34534. A._StreamController.prototype = {
  34535. get$stream() {
  34536. return new A._ControllerStream(this, A._instanceType(this)._eval$1("_ControllerStream<1>"));
  34537. },
  34538. get$_pendingEvents() {
  34539. if ((this._state & 8) === 0)
  34540. return this._varData;
  34541. return this._varData.varData;
  34542. },
  34543. _ensurePendingEvents$0() {
  34544. var events, state, _this = this;
  34545. if ((_this._state & 8) === 0) {
  34546. events = _this._varData;
  34547. return events == null ? _this._varData = new A._PendingEvents() : events;
  34548. }
  34549. state = _this._varData;
  34550. events = state.varData;
  34551. return events == null ? state.varData = new A._PendingEvents() : events;
  34552. },
  34553. get$_subscription() {
  34554. var varData = this._varData;
  34555. return (this._state & 8) !== 0 ? varData.varData : varData;
  34556. },
  34557. _badEventState$0() {
  34558. if ((this._state & 4) !== 0)
  34559. return new A.StateError("Cannot add event after closing");
  34560. return new A.StateError("Cannot add event while adding a stream");
  34561. },
  34562. addStream$2$cancelOnError(source, cancelOnError) {
  34563. var t2, t3, t4, _this = this,
  34564. t1 = _this._state;
  34565. if (t1 >= 4)
  34566. throw A.wrapException(_this._badEventState$0());
  34567. if ((t1 & 2) !== 0) {
  34568. t1 = new A._Future($.Zone__current, type$._Future_dynamic);
  34569. t1._asyncComplete$1(null);
  34570. return t1;
  34571. }
  34572. t1 = _this._varData;
  34573. t2 = cancelOnError === true;
  34574. t3 = new A._Future($.Zone__current, type$._Future_dynamic);
  34575. t4 = t2 ? A._AddStreamState_makeErrorHandler(_this) : _this.get$_addError();
  34576. t4 = source.listen$4$cancelOnError$onDone$onError(0, _this.get$_async$_add(), t2, _this.get$_close(), t4);
  34577. t2 = _this._state;
  34578. if ((t2 & 1) !== 0 ? (_this.get$_subscription()._state & 4) !== 0 : (t2 & 2) === 0)
  34579. t4.pause$0(0);
  34580. _this._varData = new A._StreamControllerAddStreamState(t1, t3, t4);
  34581. _this._state |= 8;
  34582. return t3;
  34583. },
  34584. _ensureDoneFuture$0() {
  34585. var t1 = this._doneFuture;
  34586. if (t1 == null)
  34587. t1 = this._doneFuture = (this._state & 2) !== 0 ? $.$get$Future__nullFuture() : new A._Future($.Zone__current, type$._Future_void);
  34588. return t1;
  34589. },
  34590. add$1(_, value) {
  34591. if (this._state >= 4)
  34592. throw A.wrapException(this._badEventState$0());
  34593. this._async$_add$1(value);
  34594. },
  34595. addError$2(error, stackTrace) {
  34596. var replacement;
  34597. A.checkNotNullable(error, "error", type$.Object);
  34598. if (this._state >= 4)
  34599. throw A.wrapException(this._badEventState$0());
  34600. replacement = $.Zone__current.errorCallback$2(error, stackTrace);
  34601. if (replacement != null) {
  34602. error = replacement.error;
  34603. stackTrace = replacement.stackTrace;
  34604. } else if (stackTrace == null)
  34605. stackTrace = A.AsyncError_defaultStackTrace(error);
  34606. this._addError$2(error, stackTrace);
  34607. },
  34608. addError$1(error) {
  34609. return this.addError$2(error, null);
  34610. },
  34611. close$0(_) {
  34612. var _this = this,
  34613. t1 = _this._state;
  34614. if ((t1 & 4) !== 0)
  34615. return _this._ensureDoneFuture$0();
  34616. if (t1 >= 4)
  34617. throw A.wrapException(_this._badEventState$0());
  34618. _this._closeUnchecked$0();
  34619. return _this._ensureDoneFuture$0();
  34620. },
  34621. _closeUnchecked$0() {
  34622. var t1 = this._state |= 4;
  34623. if ((t1 & 1) !== 0)
  34624. this._sendDone$0();
  34625. else if ((t1 & 3) === 0)
  34626. this._ensurePendingEvents$0().add$1(0, B.C__DelayedDone);
  34627. },
  34628. _async$_add$1(value) {
  34629. var t1 = this._state;
  34630. if ((t1 & 1) !== 0)
  34631. this._sendData$1(value);
  34632. else if ((t1 & 3) === 0)
  34633. this._ensurePendingEvents$0().add$1(0, new A._DelayedData(value));
  34634. },
  34635. _addError$2(error, stackTrace) {
  34636. var t1 = this._state;
  34637. if ((t1 & 1) !== 0)
  34638. this._sendError$2(error, stackTrace);
  34639. else if ((t1 & 3) === 0)
  34640. this._ensurePendingEvents$0().add$1(0, new A._DelayedError(error, stackTrace));
  34641. },
  34642. _close$0() {
  34643. var addState = this._varData;
  34644. this._varData = addState.varData;
  34645. this._state &= 4294967287;
  34646. addState.addStreamFuture._asyncComplete$1(null);
  34647. },
  34648. _subscribe$4(onData, onError, onDone, cancelOnError) {
  34649. var subscription, pendingEvents, t1, addState, _this = this;
  34650. if ((_this._state & 3) !== 0)
  34651. throw A.wrapException(A.StateError$("Stream has already been listened to."));
  34652. subscription = A._ControllerSubscription$(_this, onData, onError, onDone, cancelOnError, A._instanceType(_this)._precomputed1);
  34653. pendingEvents = _this.get$_pendingEvents();
  34654. t1 = _this._state |= 1;
  34655. if ((t1 & 8) !== 0) {
  34656. addState = _this._varData;
  34657. addState.varData = subscription;
  34658. addState.addSubscription.resume$0(0);
  34659. } else
  34660. _this._varData = subscription;
  34661. subscription._setPendingEvents$1(pendingEvents);
  34662. subscription._guardCallback$1(new A._StreamController__subscribe_closure(_this));
  34663. return subscription;
  34664. },
  34665. _recordCancel$1(subscription) {
  34666. var onCancel, cancelResult, e, s, exception, result0, t1, _this = this, result = null;
  34667. if ((_this._state & 8) !== 0)
  34668. result = _this._varData.cancel$0();
  34669. _this._varData = null;
  34670. _this._state = _this._state & 4294967286 | 2;
  34671. onCancel = _this.onCancel;
  34672. if (onCancel != null)
  34673. if (result == null)
  34674. try {
  34675. cancelResult = onCancel.call$0();
  34676. if (cancelResult instanceof A._Future)
  34677. result = cancelResult;
  34678. } catch (exception) {
  34679. e = A.unwrapException(exception);
  34680. s = A.getTraceFromException(exception);
  34681. result0 = new A._Future($.Zone__current, type$._Future_void);
  34682. result0._asyncCompleteError$2(e, s);
  34683. result = result0;
  34684. }
  34685. else
  34686. result = result.whenComplete$1(onCancel);
  34687. t1 = new A._StreamController__recordCancel_complete(_this);
  34688. if (result != null)
  34689. result = result.whenComplete$1(t1);
  34690. else
  34691. t1.call$0();
  34692. return result;
  34693. },
  34694. _recordPause$1(subscription) {
  34695. if ((this._state & 8) !== 0)
  34696. this._varData.addSubscription.pause$0(0);
  34697. A._runGuarded(this.onPause);
  34698. },
  34699. _recordResume$1(subscription) {
  34700. if ((this._state & 8) !== 0)
  34701. this._varData.addSubscription.resume$0(0);
  34702. A._runGuarded(this.onResume);
  34703. },
  34704. $isEventSink: 1,
  34705. set$onPause(val) {
  34706. return this.onPause = val;
  34707. },
  34708. set$onResume(val) {
  34709. return this.onResume = val;
  34710. },
  34711. set$onCancel(val) {
  34712. return this.onCancel = val;
  34713. }
  34714. };
  34715. A._StreamController__subscribe_closure.prototype = {
  34716. call$0() {
  34717. A._runGuarded(this.$this.onListen);
  34718. },
  34719. $signature: 0
  34720. };
  34721. A._StreamController__recordCancel_complete.prototype = {
  34722. call$0() {
  34723. var doneFuture = this.$this._doneFuture;
  34724. if (doneFuture != null && (doneFuture._state & 30) === 0)
  34725. doneFuture._asyncComplete$1(null);
  34726. },
  34727. $signature: 0
  34728. };
  34729. A._SyncStreamControllerDispatch.prototype = {
  34730. _sendData$1(data) {
  34731. this.get$_subscription()._async$_add$1(data);
  34732. },
  34733. _sendError$2(error, stackTrace) {
  34734. this.get$_subscription()._addError$2(error, stackTrace);
  34735. },
  34736. _sendDone$0() {
  34737. this.get$_subscription()._close$0();
  34738. }
  34739. };
  34740. A._AsyncStreamControllerDispatch.prototype = {
  34741. _sendData$1(data) {
  34742. this.get$_subscription()._addPending$1(new A._DelayedData(data));
  34743. },
  34744. _sendError$2(error, stackTrace) {
  34745. this.get$_subscription()._addPending$1(new A._DelayedError(error, stackTrace));
  34746. },
  34747. _sendDone$0() {
  34748. this.get$_subscription()._addPending$1(B.C__DelayedDone);
  34749. }
  34750. };
  34751. A._AsyncStreamController.prototype = {};
  34752. A._SyncStreamController.prototype = {};
  34753. A._ControllerStream.prototype = {
  34754. get$hashCode(_) {
  34755. return (A.Primitives_objectHashCode(this._controller) ^ 892482866) >>> 0;
  34756. },
  34757. $eq(_, other) {
  34758. if (other == null)
  34759. return false;
  34760. if (this === other)
  34761. return true;
  34762. return other instanceof A._ControllerStream && other._controller === this._controller;
  34763. }
  34764. };
  34765. A._ControllerSubscription.prototype = {
  34766. _async$_onCancel$0() {
  34767. return this._controller._recordCancel$1(this);
  34768. },
  34769. _async$_onPause$0() {
  34770. this._controller._recordPause$1(this);
  34771. },
  34772. _async$_onResume$0() {
  34773. this._controller._recordResume$1(this);
  34774. }
  34775. };
  34776. A._AddStreamState.prototype = {
  34777. cancel$0() {
  34778. var cancel = this.addSubscription.cancel$0();
  34779. return cancel.whenComplete$1(new A._AddStreamState_cancel_closure(this));
  34780. }
  34781. };
  34782. A._AddStreamState_makeErrorHandler_closure.prototype = {
  34783. call$2(e, s) {
  34784. var t1 = this.controller;
  34785. t1._addError$2(e, s);
  34786. t1._close$0();
  34787. },
  34788. $signature: 61
  34789. };
  34790. A._AddStreamState_cancel_closure.prototype = {
  34791. call$0() {
  34792. this.$this.addStreamFuture._asyncComplete$1(null);
  34793. },
  34794. $signature: 2
  34795. };
  34796. A._StreamControllerAddStreamState.prototype = {};
  34797. A._BufferingStreamSubscription.prototype = {
  34798. _setPendingEvents$1(pendingEvents) {
  34799. var _this = this;
  34800. if (pendingEvents == null)
  34801. return;
  34802. _this._pending = pendingEvents;
  34803. if (pendingEvents.lastPendingEvent != null) {
  34804. _this._state = (_this._state | 64) >>> 0;
  34805. pendingEvents.schedule$1(_this);
  34806. }
  34807. },
  34808. pause$1(_, resumeSignal) {
  34809. var t2, t3, _this = this,
  34810. t1 = _this._state;
  34811. if ((t1 & 8) !== 0)
  34812. return;
  34813. t2 = (t1 + 128 | 4) >>> 0;
  34814. _this._state = t2;
  34815. if (t1 < 128) {
  34816. t3 = _this._pending;
  34817. if (t3 != null)
  34818. if (t3._state === 1)
  34819. t3._state = 3;
  34820. }
  34821. if ((t1 & 4) === 0 && (t2 & 32) === 0)
  34822. _this._guardCallback$1(_this.get$_async$_onPause());
  34823. },
  34824. pause$0($receiver) {
  34825. return this.pause$1($receiver, null);
  34826. },
  34827. resume$0(_) {
  34828. var _this = this,
  34829. t1 = _this._state;
  34830. if ((t1 & 8) !== 0)
  34831. return;
  34832. if (t1 >= 128) {
  34833. t1 = _this._state = t1 - 128;
  34834. if (t1 < 128)
  34835. if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent != null)
  34836. _this._pending.schedule$1(_this);
  34837. else {
  34838. t1 = (t1 & 4294967291) >>> 0;
  34839. _this._state = t1;
  34840. if ((t1 & 32) === 0)
  34841. _this._guardCallback$1(_this.get$_async$_onResume());
  34842. }
  34843. }
  34844. },
  34845. cancel$0() {
  34846. var _this = this,
  34847. t1 = (_this._state & 4294967279) >>> 0;
  34848. _this._state = t1;
  34849. if ((t1 & 8) === 0)
  34850. _this._cancel$0();
  34851. t1 = _this._cancelFuture;
  34852. return t1 == null ? $.$get$Future__nullFuture() : t1;
  34853. },
  34854. _cancel$0() {
  34855. var t2, _this = this,
  34856. t1 = _this._state = (_this._state | 8) >>> 0;
  34857. if ((t1 & 64) !== 0) {
  34858. t2 = _this._pending;
  34859. if (t2._state === 1)
  34860. t2._state = 3;
  34861. }
  34862. if ((t1 & 32) === 0)
  34863. _this._pending = null;
  34864. _this._cancelFuture = _this._async$_onCancel$0();
  34865. },
  34866. _async$_add$1(data) {
  34867. var t1 = this._state;
  34868. if ((t1 & 8) !== 0)
  34869. return;
  34870. if (t1 < 32)
  34871. this._sendData$1(data);
  34872. else
  34873. this._addPending$1(new A._DelayedData(data));
  34874. },
  34875. _addError$2(error, stackTrace) {
  34876. var t1 = this._state;
  34877. if ((t1 & 8) !== 0)
  34878. return;
  34879. if (t1 < 32)
  34880. this._sendError$2(error, stackTrace);
  34881. else
  34882. this._addPending$1(new A._DelayedError(error, stackTrace));
  34883. },
  34884. _close$0() {
  34885. var _this = this,
  34886. t1 = _this._state;
  34887. if ((t1 & 8) !== 0)
  34888. return;
  34889. t1 = (t1 | 2) >>> 0;
  34890. _this._state = t1;
  34891. if (t1 < 32)
  34892. _this._sendDone$0();
  34893. else
  34894. _this._addPending$1(B.C__DelayedDone);
  34895. },
  34896. _async$_onPause$0() {
  34897. },
  34898. _async$_onResume$0() {
  34899. },
  34900. _async$_onCancel$0() {
  34901. return null;
  34902. },
  34903. _addPending$1($event) {
  34904. var t1, _this = this,
  34905. pending = _this._pending;
  34906. if (pending == null)
  34907. pending = _this._pending = new A._PendingEvents();
  34908. pending.add$1(0, $event);
  34909. t1 = _this._state;
  34910. if ((t1 & 64) === 0) {
  34911. t1 = (t1 | 64) >>> 0;
  34912. _this._state = t1;
  34913. if (t1 < 128)
  34914. pending.schedule$1(_this);
  34915. }
  34916. },
  34917. _sendData$1(data) {
  34918. var _this = this,
  34919. t1 = _this._state;
  34920. _this._state = (t1 | 32) >>> 0;
  34921. _this._zone.runUnaryGuarded$1$2(_this._onData, data, A._instanceType(_this)._eval$1("_BufferingStreamSubscription.T"));
  34922. _this._state = (_this._state & 4294967263) >>> 0;
  34923. _this._checkState$1((t1 & 4) !== 0);
  34924. },
  34925. _sendError$2(error, stackTrace) {
  34926. var cancelFuture, _this = this,
  34927. t1 = _this._state,
  34928. t2 = new A._BufferingStreamSubscription__sendError_sendError(_this, error, stackTrace);
  34929. if ((t1 & 1) !== 0) {
  34930. _this._state = (t1 | 16) >>> 0;
  34931. _this._cancel$0();
  34932. cancelFuture = _this._cancelFuture;
  34933. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  34934. cancelFuture.whenComplete$1(t2);
  34935. else
  34936. t2.call$0();
  34937. } else {
  34938. t2.call$0();
  34939. _this._checkState$1((t1 & 4) !== 0);
  34940. }
  34941. },
  34942. _sendDone$0() {
  34943. var cancelFuture, _this = this,
  34944. t1 = new A._BufferingStreamSubscription__sendDone_sendDone(_this);
  34945. _this._cancel$0();
  34946. _this._state = (_this._state | 16) >>> 0;
  34947. cancelFuture = _this._cancelFuture;
  34948. if (cancelFuture != null && cancelFuture !== $.$get$Future__nullFuture())
  34949. cancelFuture.whenComplete$1(t1);
  34950. else
  34951. t1.call$0();
  34952. },
  34953. _guardCallback$1(callback) {
  34954. var _this = this,
  34955. t1 = _this._state;
  34956. _this._state = (t1 | 32) >>> 0;
  34957. callback.call$0();
  34958. _this._state = (_this._state & 4294967263) >>> 0;
  34959. _this._checkState$1((t1 & 4) !== 0);
  34960. },
  34961. _checkState$1(wasInputPaused) {
  34962. var t2, isInputPaused, _this = this,
  34963. t1 = _this._state;
  34964. if ((t1 & 64) !== 0 && _this._pending.lastPendingEvent == null) {
  34965. t1 = _this._state = (t1 & 4294967231) >>> 0;
  34966. if ((t1 & 4) !== 0)
  34967. if (t1 < 128) {
  34968. t2 = _this._pending;
  34969. t2 = t2 == null ? null : t2.lastPendingEvent == null;
  34970. t2 = t2 !== false;
  34971. } else
  34972. t2 = false;
  34973. else
  34974. t2 = false;
  34975. if (t2) {
  34976. t1 = (t1 & 4294967291) >>> 0;
  34977. _this._state = t1;
  34978. }
  34979. }
  34980. for (; true; wasInputPaused = isInputPaused) {
  34981. if ((t1 & 8) !== 0) {
  34982. _this._pending = null;
  34983. return;
  34984. }
  34985. isInputPaused = (t1 & 4) !== 0;
  34986. if (wasInputPaused === isInputPaused)
  34987. break;
  34988. _this._state = (t1 ^ 32) >>> 0;
  34989. if (isInputPaused)
  34990. _this._async$_onPause$0();
  34991. else
  34992. _this._async$_onResume$0();
  34993. t1 = (_this._state & 4294967263) >>> 0;
  34994. _this._state = t1;
  34995. }
  34996. if ((t1 & 64) !== 0 && t1 < 128)
  34997. _this._pending.schedule$1(_this);
  34998. },
  34999. $isStreamSubscription: 1
  35000. };
  35001. A._BufferingStreamSubscription__sendError_sendError.prototype = {
  35002. call$0() {
  35003. var onError, t3, t4,
  35004. t1 = this.$this,
  35005. t2 = t1._state;
  35006. if ((t2 & 8) !== 0 && (t2 & 16) === 0)
  35007. return;
  35008. t1._state = (t2 | 32) >>> 0;
  35009. onError = t1._onError;
  35010. t2 = this.error;
  35011. t3 = type$.Object;
  35012. t4 = t1._zone;
  35013. if (type$.void_Function_Object_StackTrace._is(onError))
  35014. t4.runBinaryGuarded$2$3(onError, t2, this.stackTrace, t3, type$.StackTrace);
  35015. else
  35016. t4.runUnaryGuarded$1$2(onError, t2, t3);
  35017. t1._state = (t1._state & 4294967263) >>> 0;
  35018. },
  35019. $signature: 0
  35020. };
  35021. A._BufferingStreamSubscription__sendDone_sendDone.prototype = {
  35022. call$0() {
  35023. var t1 = this.$this,
  35024. t2 = t1._state;
  35025. if ((t2 & 16) === 0)
  35026. return;
  35027. t1._state = (t2 | 42) >>> 0;
  35028. t1._zone.runGuarded$1(t1._onDone);
  35029. t1._state = (t1._state & 4294967263) >>> 0;
  35030. },
  35031. $signature: 0
  35032. };
  35033. A._StreamImpl.prototype = {
  35034. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  35035. return this._controller._subscribe$4(onData, onError, onDone, cancelOnError === true);
  35036. },
  35037. listen$1($receiver, onData) {
  35038. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
  35039. },
  35040. listen$3$onDone$onError($receiver, onData, onDone, onError) {
  35041. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
  35042. }
  35043. };
  35044. A._DelayedEvent.prototype = {
  35045. get$next() {
  35046. return this.next;
  35047. },
  35048. set$next(val) {
  35049. return this.next = val;
  35050. }
  35051. };
  35052. A._DelayedData.prototype = {
  35053. perform$1(dispatch) {
  35054. dispatch._sendData$1(this.value);
  35055. }
  35056. };
  35057. A._DelayedError.prototype = {
  35058. perform$1(dispatch) {
  35059. dispatch._sendError$2(this.error, this.stackTrace);
  35060. }
  35061. };
  35062. A._DelayedDone.prototype = {
  35063. perform$1(dispatch) {
  35064. dispatch._sendDone$0();
  35065. },
  35066. get$next() {
  35067. return null;
  35068. },
  35069. set$next(_) {
  35070. throw A.wrapException(A.StateError$("No events after a done."));
  35071. }
  35072. };
  35073. A._PendingEvents.prototype = {
  35074. schedule$1(dispatch) {
  35075. var _this = this,
  35076. t1 = _this._state;
  35077. if (t1 === 1)
  35078. return;
  35079. if (t1 >= 1) {
  35080. _this._state = 1;
  35081. return;
  35082. }
  35083. A.scheduleMicrotask(new A._PendingEvents_schedule_closure(_this, dispatch));
  35084. _this._state = 1;
  35085. },
  35086. add$1(_, $event) {
  35087. var _this = this,
  35088. lastEvent = _this.lastPendingEvent;
  35089. if (lastEvent == null)
  35090. _this.firstPendingEvent = _this.lastPendingEvent = $event;
  35091. else {
  35092. lastEvent.set$next($event);
  35093. _this.lastPendingEvent = $event;
  35094. }
  35095. }
  35096. };
  35097. A._PendingEvents_schedule_closure.prototype = {
  35098. call$0() {
  35099. var $event, nextEvent,
  35100. t1 = this.$this,
  35101. oldState = t1._state;
  35102. t1._state = 0;
  35103. if (oldState === 3)
  35104. return;
  35105. $event = t1.firstPendingEvent;
  35106. nextEvent = $event.get$next();
  35107. t1.firstPendingEvent = nextEvent;
  35108. if (nextEvent == null)
  35109. t1.lastPendingEvent = null;
  35110. $event.perform$1(this.dispatch);
  35111. },
  35112. $signature: 0
  35113. };
  35114. A._StreamIterator.prototype = {
  35115. get$current(_) {
  35116. if (this._async$_hasValue)
  35117. return this._stateData;
  35118. return null;
  35119. },
  35120. moveNext$0() {
  35121. var future, _this = this,
  35122. subscription = _this._subscription;
  35123. if (subscription != null) {
  35124. if (_this._async$_hasValue) {
  35125. future = new A._Future($.Zone__current, type$._Future_bool);
  35126. _this._stateData = future;
  35127. _this._async$_hasValue = false;
  35128. subscription.resume$0(0);
  35129. return future;
  35130. }
  35131. throw A.wrapException(A.StateError$("Already waiting for next."));
  35132. }
  35133. return _this._initializeOrDone$0();
  35134. },
  35135. _initializeOrDone$0() {
  35136. var future, subscription, _this = this,
  35137. stateData = _this._stateData;
  35138. if (stateData != null) {
  35139. future = new A._Future($.Zone__current, type$._Future_bool);
  35140. _this._stateData = future;
  35141. subscription = stateData.listen$4$cancelOnError$onDone$onError(0, _this.get$_onData(), true, _this.get$_onDone(), _this.get$_onError());
  35142. if (_this._stateData != null)
  35143. _this._subscription = subscription;
  35144. return future;
  35145. }
  35146. return $.$get$Future__falseFuture();
  35147. },
  35148. cancel$0() {
  35149. var _this = this,
  35150. subscription = _this._subscription,
  35151. stateData = _this._stateData;
  35152. _this._stateData = null;
  35153. if (subscription != null) {
  35154. _this._subscription = null;
  35155. if (!_this._async$_hasValue)
  35156. stateData._asyncComplete$1(false);
  35157. else
  35158. _this._async$_hasValue = false;
  35159. return subscription.cancel$0();
  35160. }
  35161. return $.$get$Future__nullFuture();
  35162. },
  35163. _onData$1(data) {
  35164. var moveNextFuture, t1, _this = this;
  35165. if (_this._subscription == null)
  35166. return;
  35167. moveNextFuture = _this._stateData;
  35168. _this._stateData = data;
  35169. _this._async$_hasValue = true;
  35170. moveNextFuture._complete$1(true);
  35171. if (_this._async$_hasValue) {
  35172. t1 = _this._subscription;
  35173. if (t1 != null)
  35174. t1.pause$0(0);
  35175. }
  35176. },
  35177. _onError$2(error, stackTrace) {
  35178. var _this = this,
  35179. subscription = _this._subscription,
  35180. moveNextFuture = _this._stateData;
  35181. _this._stateData = _this._subscription = null;
  35182. if (subscription != null)
  35183. moveNextFuture._completeError$2(error, stackTrace);
  35184. else
  35185. moveNextFuture._asyncCompleteError$2(error, stackTrace);
  35186. },
  35187. _onDone$0() {
  35188. var _this = this,
  35189. subscription = _this._subscription,
  35190. moveNextFuture = _this._stateData;
  35191. _this._stateData = _this._subscription = null;
  35192. if (subscription != null)
  35193. moveNextFuture._completeWithValue$1(false);
  35194. else
  35195. moveNextFuture._asyncCompleteWithValue$1(false);
  35196. }
  35197. };
  35198. A._ForwardingStream.prototype = {
  35199. get$isBroadcast() {
  35200. return this._async$_source.get$isBroadcast();
  35201. },
  35202. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  35203. var t1 = this.$ti,
  35204. t2 = t1._rest[1],
  35205. t3 = $.Zone__current,
  35206. t4 = cancelOnError === true ? 1 : 0,
  35207. t5 = A._BufferingStreamSubscription__registerDataHandler(t3, onData, t2),
  35208. t6 = A._BufferingStreamSubscription__registerErrorHandler(t3, onError),
  35209. t7 = onDone == null ? A.async___nullDoneHandler$closure() : onDone;
  35210. 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>"));
  35211. t2._subscription = this._async$_source.listen$3$onDone$onError(0, t2.get$_handleData(), t2.get$_handleDone(), t2.get$_handleError());
  35212. return t2;
  35213. },
  35214. listen$1($receiver, onData) {
  35215. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
  35216. },
  35217. listen$3$onDone$onError($receiver, onData, onDone, onError) {
  35218. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
  35219. }
  35220. };
  35221. A._ForwardingStreamSubscription.prototype = {
  35222. _async$_add$1(data) {
  35223. if ((this._state & 2) !== 0)
  35224. return;
  35225. this.super$_BufferingStreamSubscription$_add(data);
  35226. },
  35227. _addError$2(error, stackTrace) {
  35228. if ((this._state & 2) !== 0)
  35229. return;
  35230. this.super$_BufferingStreamSubscription$_addError(error, stackTrace);
  35231. },
  35232. _async$_onPause$0() {
  35233. var t1 = this._subscription;
  35234. if (t1 != null)
  35235. t1.pause$0(0);
  35236. },
  35237. _async$_onResume$0() {
  35238. var t1 = this._subscription;
  35239. if (t1 != null)
  35240. t1.resume$0(0);
  35241. },
  35242. _async$_onCancel$0() {
  35243. var subscription = this._subscription;
  35244. if (subscription != null) {
  35245. this._subscription = null;
  35246. return subscription.cancel$0();
  35247. }
  35248. return null;
  35249. },
  35250. _handleData$1(data) {
  35251. this._stream._handleData$2(data, this);
  35252. },
  35253. _handleError$2(error, stackTrace) {
  35254. this._addError$2(error, stackTrace);
  35255. },
  35256. _handleDone$0() {
  35257. this._close$0();
  35258. }
  35259. };
  35260. A._ExpandStream.prototype = {
  35261. _handleData$2(inputEvent, sink) {
  35262. var value, e, s, t1, exception, error, stackTrace, replacement;
  35263. try {
  35264. for (t1 = J.get$iterator$ax(this._expand.call$1(inputEvent)); t1.moveNext$0();) {
  35265. value = t1.get$current(t1);
  35266. sink._async$_add$1(value);
  35267. }
  35268. } catch (exception) {
  35269. e = A.unwrapException(exception);
  35270. s = A.getTraceFromException(exception);
  35271. error = e;
  35272. stackTrace = s;
  35273. replacement = $.Zone__current.errorCallback$2(error, stackTrace);
  35274. if (replacement != null) {
  35275. error = replacement.error;
  35276. stackTrace = replacement.stackTrace;
  35277. }
  35278. sink._addError$2(error, stackTrace);
  35279. }
  35280. }
  35281. };
  35282. A._ZoneFunction.prototype = {};
  35283. A._ZoneSpecification.prototype = {$isZoneSpecification: 1};
  35284. A._ZoneDelegate.prototype = {$isZoneDelegate: 1};
  35285. A._Zone.prototype = {
  35286. _processUncaughtError$3(zone, error, stackTrace) {
  35287. var handler, parentDelegate, parentZone, currentZone, e, s, t1, exception,
  35288. implementation = this.get$_handleUncaughtError(),
  35289. implZone = implementation.zone;
  35290. if (implZone === B.C__RootZone) {
  35291. A._rootHandleError(error, stackTrace);
  35292. return;
  35293. }
  35294. handler = implementation.$function;
  35295. parentDelegate = implZone.get$_parentDelegate();
  35296. t1 = J.get$parent$z(implZone);
  35297. t1.toString;
  35298. parentZone = t1;
  35299. currentZone = $.Zone__current;
  35300. try {
  35301. $.Zone__current = parentZone;
  35302. handler.call$5(implZone, parentDelegate, zone, error, stackTrace);
  35303. $.Zone__current = currentZone;
  35304. } catch (exception) {
  35305. e = A.unwrapException(exception);
  35306. s = A.getTraceFromException(exception);
  35307. $.Zone__current = currentZone;
  35308. t1 = error === e ? stackTrace : s;
  35309. parentZone._processUncaughtError$3(implZone, e, t1);
  35310. }
  35311. },
  35312. $isZone: 1
  35313. };
  35314. A._CustomZone.prototype = {
  35315. get$_delegate() {
  35316. var t1 = this._delegateCache;
  35317. return t1 == null ? this._delegateCache = new A._ZoneDelegate(this) : t1;
  35318. },
  35319. get$_parentDelegate() {
  35320. return this.parent.get$_delegate();
  35321. },
  35322. get$errorZone() {
  35323. return this._handleUncaughtError.zone;
  35324. },
  35325. runGuarded$1(f) {
  35326. var e, s, exception;
  35327. try {
  35328. this.run$1$1(0, f, type$.void);
  35329. } catch (exception) {
  35330. e = A.unwrapException(exception);
  35331. s = A.getTraceFromException(exception);
  35332. this._processUncaughtError$3(this, e, s);
  35333. }
  35334. },
  35335. runUnaryGuarded$1$2(f, arg, $T) {
  35336. var e, s, exception;
  35337. try {
  35338. this.runUnary$2$2(f, arg, type$.void, $T);
  35339. } catch (exception) {
  35340. e = A.unwrapException(exception);
  35341. s = A.getTraceFromException(exception);
  35342. this._processUncaughtError$3(this, e, s);
  35343. }
  35344. },
  35345. runBinaryGuarded$2$3(f, arg1, arg2, T1, T2) {
  35346. var e, s, exception;
  35347. try {
  35348. this.runBinary$3$3(f, arg1, arg2, type$.void, T1, T2);
  35349. } catch (exception) {
  35350. e = A.unwrapException(exception);
  35351. s = A.getTraceFromException(exception);
  35352. this._processUncaughtError$3(this, e, s);
  35353. }
  35354. },
  35355. bindCallback$1$1(f, $R) {
  35356. return new A._CustomZone_bindCallback_closure(this, this.registerCallback$1$1(f, $R), $R);
  35357. },
  35358. bindUnaryCallback$2$1(f, $R, $T) {
  35359. return new A._CustomZone_bindUnaryCallback_closure(this, this.registerUnaryCallback$2$1(f, $R, $T), $T, $R);
  35360. },
  35361. bindCallbackGuarded$1(f) {
  35362. return new A._CustomZone_bindCallbackGuarded_closure(this, this.registerCallback$1$1(f, type$.void));
  35363. },
  35364. $index(_, key) {
  35365. var value,
  35366. t1 = this._async$_map,
  35367. result = t1.$index(0, key);
  35368. if (result != null || t1.containsKey$1(key))
  35369. return result;
  35370. value = this.parent.$index(0, key);
  35371. if (value != null)
  35372. t1.$indexSet(0, key, value);
  35373. return value;
  35374. },
  35375. handleUncaughtError$2(error, stackTrace) {
  35376. this._processUncaughtError$3(this, error, stackTrace);
  35377. },
  35378. fork$2$specification$zoneValues(specification, zoneValues) {
  35379. var implementation = this._fork,
  35380. t1 = implementation.zone;
  35381. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, specification, zoneValues);
  35382. },
  35383. run$1$1(_, f) {
  35384. var implementation = this._run,
  35385. t1 = implementation.zone;
  35386. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  35387. },
  35388. runUnary$2$2(f, arg) {
  35389. var implementation = this._runUnary,
  35390. t1 = implementation.zone;
  35391. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, f, arg);
  35392. },
  35393. runBinary$3$3(f, arg1, arg2) {
  35394. var implementation = this._runBinary,
  35395. t1 = implementation.zone;
  35396. return implementation.$function.call$6(t1, t1.get$_parentDelegate(), this, f, arg1, arg2);
  35397. },
  35398. registerCallback$1$1(callback) {
  35399. var implementation = this._registerCallback,
  35400. t1 = implementation.zone;
  35401. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  35402. },
  35403. registerUnaryCallback$2$1(callback) {
  35404. var implementation = this._registerUnaryCallback,
  35405. t1 = implementation.zone;
  35406. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  35407. },
  35408. registerBinaryCallback$3$1(callback) {
  35409. var implementation = this._registerBinaryCallback,
  35410. t1 = implementation.zone;
  35411. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, callback);
  35412. },
  35413. errorCallback$2(error, stackTrace) {
  35414. var implementation, implementationZone;
  35415. A.checkNotNullable(error, "error", type$.Object);
  35416. implementation = this._errorCallback;
  35417. implementationZone = implementation.zone;
  35418. if (implementationZone === B.C__RootZone)
  35419. return null;
  35420. return implementation.$function.call$5(implementationZone, implementationZone.get$_parentDelegate(), this, error, stackTrace);
  35421. },
  35422. scheduleMicrotask$1(f) {
  35423. var implementation = this._scheduleMicrotask,
  35424. t1 = implementation.zone;
  35425. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, f);
  35426. },
  35427. createTimer$2(duration, f) {
  35428. var implementation = this._createTimer,
  35429. t1 = implementation.zone;
  35430. return implementation.$function.call$5(t1, t1.get$_parentDelegate(), this, duration, f);
  35431. },
  35432. print$1(line) {
  35433. var implementation = this._print,
  35434. t1 = implementation.zone;
  35435. return implementation.$function.call$4(t1, t1.get$_parentDelegate(), this, line);
  35436. },
  35437. get$_run() {
  35438. return this._run;
  35439. },
  35440. get$_runUnary() {
  35441. return this._runUnary;
  35442. },
  35443. get$_runBinary() {
  35444. return this._runBinary;
  35445. },
  35446. get$_registerCallback() {
  35447. return this._registerCallback;
  35448. },
  35449. get$_registerUnaryCallback() {
  35450. return this._registerUnaryCallback;
  35451. },
  35452. get$_registerBinaryCallback() {
  35453. return this._registerBinaryCallback;
  35454. },
  35455. get$_errorCallback() {
  35456. return this._errorCallback;
  35457. },
  35458. get$_scheduleMicrotask() {
  35459. return this._scheduleMicrotask;
  35460. },
  35461. get$_createTimer() {
  35462. return this._createTimer;
  35463. },
  35464. get$_createPeriodicTimer() {
  35465. return this._createPeriodicTimer;
  35466. },
  35467. get$_print() {
  35468. return this._print;
  35469. },
  35470. get$_fork() {
  35471. return this._fork;
  35472. },
  35473. get$_handleUncaughtError() {
  35474. return this._handleUncaughtError;
  35475. },
  35476. get$parent(receiver) {
  35477. return this.parent;
  35478. },
  35479. get$_async$_map() {
  35480. return this._async$_map;
  35481. }
  35482. };
  35483. A._CustomZone_bindCallback_closure.prototype = {
  35484. call$0() {
  35485. return this.$this.run$1$1(0, this.registered, this.R);
  35486. },
  35487. $signature() {
  35488. return this.R._eval$1("0()");
  35489. }
  35490. };
  35491. A._CustomZone_bindUnaryCallback_closure.prototype = {
  35492. call$1(arg) {
  35493. var _this = this;
  35494. return _this.$this.runUnary$2$2(_this.registered, arg, _this.R, _this.T);
  35495. },
  35496. $signature() {
  35497. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  35498. }
  35499. };
  35500. A._CustomZone_bindCallbackGuarded_closure.prototype = {
  35501. call$0() {
  35502. return this.$this.runGuarded$1(this.registered);
  35503. },
  35504. $signature: 0
  35505. };
  35506. A._rootHandleError_closure.prototype = {
  35507. call$0() {
  35508. A.Error_throwWithStackTrace(this.error, this.stackTrace);
  35509. },
  35510. $signature: 0
  35511. };
  35512. A._RootZone.prototype = {
  35513. get$_run() {
  35514. return B._ZoneFunction__RootZone__rootRun;
  35515. },
  35516. get$_runUnary() {
  35517. return B._ZoneFunction__RootZone__rootRunUnary;
  35518. },
  35519. get$_runBinary() {
  35520. return B._ZoneFunction__RootZone__rootRunBinary;
  35521. },
  35522. get$_registerCallback() {
  35523. return B._ZoneFunction__RootZone__rootRegisterCallback;
  35524. },
  35525. get$_registerUnaryCallback() {
  35526. return B._ZoneFunction_Eeh;
  35527. },
  35528. get$_registerBinaryCallback() {
  35529. return B._ZoneFunction_7G2;
  35530. },
  35531. get$_errorCallback() {
  35532. return B._ZoneFunction__RootZone__rootErrorCallback;
  35533. },
  35534. get$_scheduleMicrotask() {
  35535. return B._ZoneFunction__RootZone__rootScheduleMicrotask;
  35536. },
  35537. get$_createTimer() {
  35538. return B._ZoneFunction__RootZone__rootCreateTimer;
  35539. },
  35540. get$_createPeriodicTimer() {
  35541. return B._ZoneFunction_3bB;
  35542. },
  35543. get$_print() {
  35544. return B._ZoneFunction__RootZone__rootPrint;
  35545. },
  35546. get$_fork() {
  35547. return B._ZoneFunction__RootZone__rootFork;
  35548. },
  35549. get$_handleUncaughtError() {
  35550. return B._ZoneFunction_NMc;
  35551. },
  35552. get$parent(_) {
  35553. return null;
  35554. },
  35555. get$_async$_map() {
  35556. return $.$get$_RootZone__rootMap();
  35557. },
  35558. get$_delegate() {
  35559. var t1 = $._RootZone__rootDelegate;
  35560. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  35561. },
  35562. get$_parentDelegate() {
  35563. var t1 = $._RootZone__rootDelegate;
  35564. return t1 == null ? $._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;
  35565. },
  35566. get$errorZone() {
  35567. return this;
  35568. },
  35569. runGuarded$1(f) {
  35570. var e, s, exception;
  35571. try {
  35572. if (B.C__RootZone === $.Zone__current) {
  35573. f.call$0();
  35574. return;
  35575. }
  35576. A._rootRun(null, null, this, f);
  35577. } catch (exception) {
  35578. e = A.unwrapException(exception);
  35579. s = A.getTraceFromException(exception);
  35580. A._rootHandleError(e, s);
  35581. }
  35582. },
  35583. runUnaryGuarded$1$2(f, arg) {
  35584. var e, s, exception;
  35585. try {
  35586. if (B.C__RootZone === $.Zone__current) {
  35587. f.call$1(arg);
  35588. return;
  35589. }
  35590. A._rootRunUnary(null, null, this, f, arg);
  35591. } catch (exception) {
  35592. e = A.unwrapException(exception);
  35593. s = A.getTraceFromException(exception);
  35594. A._rootHandleError(e, s);
  35595. }
  35596. },
  35597. runBinaryGuarded$2$3(f, arg1, arg2) {
  35598. var e, s, exception;
  35599. try {
  35600. if (B.C__RootZone === $.Zone__current) {
  35601. f.call$2(arg1, arg2);
  35602. return;
  35603. }
  35604. A._rootRunBinary(null, null, this, f, arg1, arg2);
  35605. } catch (exception) {
  35606. e = A.unwrapException(exception);
  35607. s = A.getTraceFromException(exception);
  35608. A._rootHandleError(e, s);
  35609. }
  35610. },
  35611. bindCallback$1$1(f, $R) {
  35612. return new A._RootZone_bindCallback_closure(this, f, $R);
  35613. },
  35614. bindUnaryCallback$2$1(f, $R, $T) {
  35615. return new A._RootZone_bindUnaryCallback_closure(this, f, $T, $R);
  35616. },
  35617. bindCallbackGuarded$1(f) {
  35618. return new A._RootZone_bindCallbackGuarded_closure(this, f);
  35619. },
  35620. $index(_, key) {
  35621. return null;
  35622. },
  35623. handleUncaughtError$2(error, stackTrace) {
  35624. A._rootHandleError(error, stackTrace);
  35625. },
  35626. fork$2$specification$zoneValues(specification, zoneValues) {
  35627. return A._rootFork(null, null, this, specification, zoneValues);
  35628. },
  35629. run$1$1(_, f) {
  35630. if ($.Zone__current === B.C__RootZone)
  35631. return f.call$0();
  35632. return A._rootRun(null, null, this, f);
  35633. },
  35634. runUnary$2$2(f, arg) {
  35635. if ($.Zone__current === B.C__RootZone)
  35636. return f.call$1(arg);
  35637. return A._rootRunUnary(null, null, this, f, arg);
  35638. },
  35639. runBinary$3$3(f, arg1, arg2) {
  35640. if ($.Zone__current === B.C__RootZone)
  35641. return f.call$2(arg1, arg2);
  35642. return A._rootRunBinary(null, null, this, f, arg1, arg2);
  35643. },
  35644. registerCallback$1$1(f) {
  35645. return f;
  35646. },
  35647. registerUnaryCallback$2$1(f) {
  35648. return f;
  35649. },
  35650. registerBinaryCallback$3$1(f) {
  35651. return f;
  35652. },
  35653. errorCallback$2(error, stackTrace) {
  35654. return null;
  35655. },
  35656. scheduleMicrotask$1(f) {
  35657. A._rootScheduleMicrotask(null, null, this, f);
  35658. },
  35659. createTimer$2(duration, f) {
  35660. return A.Timer__createTimer(duration, f);
  35661. },
  35662. print$1(line) {
  35663. A.printString(line);
  35664. }
  35665. };
  35666. A._RootZone_bindCallback_closure.prototype = {
  35667. call$0() {
  35668. return this.$this.run$1$1(0, this.f, this.R);
  35669. },
  35670. $signature() {
  35671. return this.R._eval$1("0()");
  35672. }
  35673. };
  35674. A._RootZone_bindUnaryCallback_closure.prototype = {
  35675. call$1(arg) {
  35676. var _this = this;
  35677. return _this.$this.runUnary$2$2(_this.f, arg, _this.R, _this.T);
  35678. },
  35679. $signature() {
  35680. return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)");
  35681. }
  35682. };
  35683. A._RootZone_bindCallbackGuarded_closure.prototype = {
  35684. call$0() {
  35685. return this.$this.runGuarded$1(this.f);
  35686. },
  35687. $signature: 0
  35688. };
  35689. A._HashMap.prototype = {
  35690. get$length(_) {
  35691. return this._collection$_length;
  35692. },
  35693. get$isEmpty(_) {
  35694. return this._collection$_length === 0;
  35695. },
  35696. get$isNotEmpty(_) {
  35697. return this._collection$_length !== 0;
  35698. },
  35699. get$keys(_) {
  35700. return new A._HashMapKeyIterable(this, A._instanceType(this)._eval$1("_HashMapKeyIterable<1>"));
  35701. },
  35702. get$values(_) {
  35703. var t1 = A._instanceType(this);
  35704. return A.MappedIterable_MappedIterable(new A._HashMapKeyIterable(this, t1._eval$1("_HashMapKeyIterable<1>")), new A._HashMap_values_closure(this), t1._precomputed1, t1._rest[1]);
  35705. },
  35706. containsKey$1(key) {
  35707. var strings, nums;
  35708. if (typeof key == "string" && key !== "__proto__") {
  35709. strings = this._collection$_strings;
  35710. return strings == null ? false : strings[key] != null;
  35711. } else if (typeof key == "number" && (key & 1073741823) === key) {
  35712. nums = this._collection$_nums;
  35713. return nums == null ? false : nums[key] != null;
  35714. } else
  35715. return this._containsKey$1(key);
  35716. },
  35717. _containsKey$1(key) {
  35718. var rest = this._collection$_rest;
  35719. if (rest == null)
  35720. return false;
  35721. return this._findBucketIndex$2(this._getBucket$2(rest, key), key) >= 0;
  35722. },
  35723. addAll$1(_, other) {
  35724. other.forEach$1(0, new A._HashMap_addAll_closure(this));
  35725. },
  35726. $index(_, key) {
  35727. var strings, t1, nums;
  35728. if (typeof key == "string" && key !== "__proto__") {
  35729. strings = this._collection$_strings;
  35730. t1 = strings == null ? null : A._HashMap__getTableEntry(strings, key);
  35731. return t1;
  35732. } else if (typeof key == "number" && (key & 1073741823) === key) {
  35733. nums = this._collection$_nums;
  35734. t1 = nums == null ? null : A._HashMap__getTableEntry(nums, key);
  35735. return t1;
  35736. } else
  35737. return this._get$1(key);
  35738. },
  35739. _get$1(key) {
  35740. var bucket, index,
  35741. rest = this._collection$_rest;
  35742. if (rest == null)
  35743. return null;
  35744. bucket = this._getBucket$2(rest, key);
  35745. index = this._findBucketIndex$2(bucket, key);
  35746. return index < 0 ? null : bucket[index + 1];
  35747. },
  35748. $indexSet(_, key, value) {
  35749. var strings, nums, _this = this;
  35750. if (typeof key == "string" && key !== "__proto__") {
  35751. strings = _this._collection$_strings;
  35752. _this._collection$_addHashTableEntry$3(strings == null ? _this._collection$_strings = A._HashMap__newHashTable() : strings, key, value);
  35753. } else if (typeof key == "number" && (key & 1073741823) === key) {
  35754. nums = _this._collection$_nums;
  35755. _this._collection$_addHashTableEntry$3(nums == null ? _this._collection$_nums = A._HashMap__newHashTable() : nums, key, value);
  35756. } else
  35757. _this._set$2(key, value);
  35758. },
  35759. _set$2(key, value) {
  35760. var hash, bucket, index, _this = this,
  35761. rest = _this._collection$_rest;
  35762. if (rest == null)
  35763. rest = _this._collection$_rest = A._HashMap__newHashTable();
  35764. hash = _this._computeHashCode$1(key);
  35765. bucket = rest[hash];
  35766. if (bucket == null) {
  35767. A._HashMap__setTableEntry(rest, hash, [key, value]);
  35768. ++_this._collection$_length;
  35769. _this._collection$_keys = null;
  35770. } else {
  35771. index = _this._findBucketIndex$2(bucket, key);
  35772. if (index >= 0)
  35773. bucket[index + 1] = value;
  35774. else {
  35775. bucket.push(key, value);
  35776. ++_this._collection$_length;
  35777. _this._collection$_keys = null;
  35778. }
  35779. }
  35780. },
  35781. remove$1(_, key) {
  35782. var _this = this;
  35783. if (typeof key == "string" && key !== "__proto__")
  35784. return _this._removeHashTableEntry$2(_this._collection$_strings, key);
  35785. else if (typeof key == "number" && (key & 1073741823) === key)
  35786. return _this._removeHashTableEntry$2(_this._collection$_nums, key);
  35787. else
  35788. return _this._remove$1(key);
  35789. },
  35790. _remove$1(key) {
  35791. var hash, bucket, index, result, _this = this,
  35792. rest = _this._collection$_rest;
  35793. if (rest == null)
  35794. return null;
  35795. hash = _this._computeHashCode$1(key);
  35796. bucket = rest[hash];
  35797. index = _this._findBucketIndex$2(bucket, key);
  35798. if (index < 0)
  35799. return null;
  35800. --_this._collection$_length;
  35801. _this._collection$_keys = null;
  35802. result = bucket.splice(index, 2)[1];
  35803. if (0 === bucket.length)
  35804. delete rest[hash];
  35805. return result;
  35806. },
  35807. forEach$1(_, action) {
  35808. var $length, t1, i, key, t2, _this = this,
  35809. keys = _this._computeKeys$0();
  35810. for ($length = keys.length, t1 = A._instanceType(_this)._rest[1], i = 0; i < $length; ++i) {
  35811. key = keys[i];
  35812. t2 = _this.$index(0, key);
  35813. action.call$2(key, t2 == null ? t1._as(t2) : t2);
  35814. if (keys !== _this._collection$_keys)
  35815. throw A.wrapException(A.ConcurrentModificationError$(_this));
  35816. }
  35817. },
  35818. _computeKeys$0() {
  35819. var strings, names, entries, index, i, nums, rest, bucket, $length, i0, _this = this,
  35820. result = _this._collection$_keys;
  35821. if (result != null)
  35822. return result;
  35823. result = A.List_List$filled(_this._collection$_length, null, false, type$.dynamic);
  35824. strings = _this._collection$_strings;
  35825. if (strings != null) {
  35826. names = Object.getOwnPropertyNames(strings);
  35827. entries = names.length;
  35828. for (index = 0, i = 0; i < entries; ++i) {
  35829. result[index] = names[i];
  35830. ++index;
  35831. }
  35832. } else
  35833. index = 0;
  35834. nums = _this._collection$_nums;
  35835. if (nums != null) {
  35836. names = Object.getOwnPropertyNames(nums);
  35837. entries = names.length;
  35838. for (i = 0; i < entries; ++i) {
  35839. result[index] = +names[i];
  35840. ++index;
  35841. }
  35842. }
  35843. rest = _this._collection$_rest;
  35844. if (rest != null) {
  35845. names = Object.getOwnPropertyNames(rest);
  35846. entries = names.length;
  35847. for (i = 0; i < entries; ++i) {
  35848. bucket = rest[names[i]];
  35849. $length = bucket.length;
  35850. for (i0 = 0; i0 < $length; i0 += 2) {
  35851. result[index] = bucket[i0];
  35852. ++index;
  35853. }
  35854. }
  35855. }
  35856. return _this._collection$_keys = result;
  35857. },
  35858. _collection$_addHashTableEntry$3(table, key, value) {
  35859. if (table[key] == null) {
  35860. ++this._collection$_length;
  35861. this._collection$_keys = null;
  35862. }
  35863. A._HashMap__setTableEntry(table, key, value);
  35864. },
  35865. _removeHashTableEntry$2(table, key) {
  35866. var value;
  35867. if (table != null && table[key] != null) {
  35868. value = A._HashMap__getTableEntry(table, key);
  35869. delete table[key];
  35870. --this._collection$_length;
  35871. this._collection$_keys = null;
  35872. return value;
  35873. } else
  35874. return null;
  35875. },
  35876. _computeHashCode$1(key) {
  35877. return J.get$hashCode$(key) & 1073741823;
  35878. },
  35879. _getBucket$2(table, key) {
  35880. return table[this._computeHashCode$1(key)];
  35881. },
  35882. _findBucketIndex$2(bucket, key) {
  35883. var $length, i;
  35884. if (bucket == null)
  35885. return -1;
  35886. $length = bucket.length;
  35887. for (i = 0; i < $length; i += 2)
  35888. if (J.$eq$(bucket[i], key))
  35889. return i;
  35890. return -1;
  35891. }
  35892. };
  35893. A._HashMap_values_closure.prototype = {
  35894. call$1(each) {
  35895. var t1 = this.$this,
  35896. t2 = t1.$index(0, each);
  35897. return t2 == null ? A._instanceType(t1)._rest[1]._as(t2) : t2;
  35898. },
  35899. $signature() {
  35900. return A._instanceType(this.$this)._eval$1("2(1)");
  35901. }
  35902. };
  35903. A._HashMap_addAll_closure.prototype = {
  35904. call$2(key, value) {
  35905. this.$this.$indexSet(0, key, value);
  35906. },
  35907. $signature() {
  35908. return A._instanceType(this.$this)._eval$1("~(1,2)");
  35909. }
  35910. };
  35911. A._IdentityHashMap.prototype = {
  35912. _computeHashCode$1(key) {
  35913. return A.objectHashCode(key) & 1073741823;
  35914. },
  35915. _findBucketIndex$2(bucket, key) {
  35916. var $length, i, t1;
  35917. if (bucket == null)
  35918. return -1;
  35919. $length = bucket.length;
  35920. for (i = 0; i < $length; i += 2) {
  35921. t1 = bucket[i];
  35922. if (t1 == null ? key == null : t1 === key)
  35923. return i;
  35924. }
  35925. return -1;
  35926. }
  35927. };
  35928. A._HashMapKeyIterable.prototype = {
  35929. get$length(_) {
  35930. return this._map._collection$_length;
  35931. },
  35932. get$isEmpty(_) {
  35933. return this._map._collection$_length === 0;
  35934. },
  35935. get$isNotEmpty(_) {
  35936. return this._map._collection$_length !== 0;
  35937. },
  35938. get$iterator(_) {
  35939. var t1 = this._map;
  35940. return new A._HashMapKeyIterator(t1, t1._computeKeys$0());
  35941. },
  35942. contains$1(_, element) {
  35943. return this._map.containsKey$1(element);
  35944. }
  35945. };
  35946. A._HashMapKeyIterator.prototype = {
  35947. get$current(_) {
  35948. var t1 = this._collection$_current;
  35949. return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
  35950. },
  35951. moveNext$0() {
  35952. var _this = this,
  35953. keys = _this._collection$_keys,
  35954. offset = _this._offset,
  35955. t1 = _this._map;
  35956. if (keys !== t1._collection$_keys)
  35957. throw A.wrapException(A.ConcurrentModificationError$(t1));
  35958. else if (offset >= keys.length) {
  35959. _this._collection$_current = null;
  35960. return false;
  35961. } else {
  35962. _this._collection$_current = keys[offset];
  35963. _this._offset = offset + 1;
  35964. return true;
  35965. }
  35966. }
  35967. };
  35968. A._LinkedCustomHashMap.prototype = {
  35969. $index(_, key) {
  35970. if (!this._validKey.call$1(key))
  35971. return null;
  35972. return this.super$JsLinkedHashMap$internalGet(key);
  35973. },
  35974. $indexSet(_, key, value) {
  35975. this.super$JsLinkedHashMap$internalSet(key, value);
  35976. },
  35977. containsKey$1(key) {
  35978. if (!this._validKey.call$1(key))
  35979. return false;
  35980. return this.super$JsLinkedHashMap$internalContainsKey(key);
  35981. },
  35982. remove$1(_, key) {
  35983. if (!this._validKey.call$1(key))
  35984. return null;
  35985. return this.super$JsLinkedHashMap$internalRemove(key);
  35986. },
  35987. internalComputeHashCode$1(key) {
  35988. return this._hashCode.call$1(key) & 1073741823;
  35989. },
  35990. internalFindBucketIndex$2(bucket, key) {
  35991. var $length, t1, i;
  35992. if (bucket == null)
  35993. return -1;
  35994. $length = bucket.length;
  35995. for (t1 = this._equals, i = 0; i < $length; ++i)
  35996. if (t1.call$2(bucket[i].hashMapCellKey, key))
  35997. return i;
  35998. return -1;
  35999. }
  36000. };
  36001. A._LinkedCustomHashMap_closure.prototype = {
  36002. call$1(v) {
  36003. return this.K._is(v);
  36004. },
  36005. $signature: 117
  36006. };
  36007. A._LinkedHashSet.prototype = {
  36008. _newSet$0() {
  36009. return new A._LinkedHashSet(A._instanceType(this)._eval$1("_LinkedHashSet<1>"));
  36010. },
  36011. _newSimilarSet$1$0($R) {
  36012. return new A._LinkedHashSet($R._eval$1("_LinkedHashSet<0>"));
  36013. },
  36014. _newSimilarSet$0() {
  36015. return this._newSimilarSet$1$0(type$.dynamic);
  36016. },
  36017. get$iterator(_) {
  36018. var t1 = new A._LinkedHashSetIterator(this, this._collection$_modifications);
  36019. t1._collection$_cell = this._collection$_first;
  36020. return t1;
  36021. },
  36022. get$length(_) {
  36023. return this._collection$_length;
  36024. },
  36025. get$isEmpty(_) {
  36026. return this._collection$_length === 0;
  36027. },
  36028. get$isNotEmpty(_) {
  36029. return this._collection$_length !== 0;
  36030. },
  36031. contains$1(_, object) {
  36032. var strings, nums;
  36033. if (typeof object == "string" && object !== "__proto__") {
  36034. strings = this._collection$_strings;
  36035. if (strings == null)
  36036. return false;
  36037. return strings[object] != null;
  36038. } else if (typeof object == "number" && (object & 1073741823) === object) {
  36039. nums = this._collection$_nums;
  36040. if (nums == null)
  36041. return false;
  36042. return nums[object] != null;
  36043. } else
  36044. return this._contains$1(object);
  36045. },
  36046. _contains$1(object) {
  36047. var rest = this._collection$_rest;
  36048. if (rest == null)
  36049. return false;
  36050. return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0;
  36051. },
  36052. get$first(_) {
  36053. var first = this._collection$_first;
  36054. if (first == null)
  36055. throw A.wrapException(A.StateError$("No elements"));
  36056. return first._element;
  36057. },
  36058. get$last(_) {
  36059. var last = this._collection$_last;
  36060. if (last == null)
  36061. throw A.wrapException(A.StateError$("No elements"));
  36062. return last._element;
  36063. },
  36064. add$1(_, element) {
  36065. var strings, nums, _this = this;
  36066. if (typeof element == "string" && element !== "__proto__") {
  36067. strings = _this._collection$_strings;
  36068. return _this._collection$_addHashTableEntry$2(strings == null ? _this._collection$_strings = A._LinkedHashSet__newHashTable() : strings, element);
  36069. } else if (typeof element == "number" && (element & 1073741823) === element) {
  36070. nums = _this._collection$_nums;
  36071. return _this._collection$_addHashTableEntry$2(nums == null ? _this._collection$_nums = A._LinkedHashSet__newHashTable() : nums, element);
  36072. } else
  36073. return _this._add$1(element);
  36074. },
  36075. _add$1(element) {
  36076. var hash, bucket, _this = this,
  36077. rest = _this._collection$_rest;
  36078. if (rest == null)
  36079. rest = _this._collection$_rest = A._LinkedHashSet__newHashTable();
  36080. hash = _this._computeHashCode$1(element);
  36081. bucket = rest[hash];
  36082. if (bucket == null)
  36083. rest[hash] = [_this._collection$_newLinkedCell$1(element)];
  36084. else {
  36085. if (_this._findBucketIndex$2(bucket, element) >= 0)
  36086. return false;
  36087. bucket.push(_this._collection$_newLinkedCell$1(element));
  36088. }
  36089. return true;
  36090. },
  36091. remove$1(_, object) {
  36092. var _this = this;
  36093. if (typeof object == "string" && object !== "__proto__")
  36094. return _this._removeHashTableEntry$2(_this._collection$_strings, object);
  36095. else if (typeof object == "number" && (object & 1073741823) === object)
  36096. return _this._removeHashTableEntry$2(_this._collection$_nums, object);
  36097. else
  36098. return _this._remove$1(object);
  36099. },
  36100. _remove$1(object) {
  36101. var hash, bucket, index, cell, _this = this,
  36102. rest = _this._collection$_rest;
  36103. if (rest == null)
  36104. return false;
  36105. hash = _this._computeHashCode$1(object);
  36106. bucket = rest[hash];
  36107. index = _this._findBucketIndex$2(bucket, object);
  36108. if (index < 0)
  36109. return false;
  36110. cell = bucket.splice(index, 1)[0];
  36111. if (0 === bucket.length)
  36112. delete rest[hash];
  36113. _this._unlinkCell$1(cell);
  36114. return true;
  36115. },
  36116. _collection$_addHashTableEntry$2(table, element) {
  36117. if (table[element] != null)
  36118. return false;
  36119. table[element] = this._collection$_newLinkedCell$1(element);
  36120. return true;
  36121. },
  36122. _removeHashTableEntry$2(table, element) {
  36123. var cell;
  36124. if (table == null)
  36125. return false;
  36126. cell = table[element];
  36127. if (cell == null)
  36128. return false;
  36129. this._unlinkCell$1(cell);
  36130. delete table[element];
  36131. return true;
  36132. },
  36133. _collection$_modified$0() {
  36134. this._collection$_modifications = this._collection$_modifications + 1 & 1073741823;
  36135. },
  36136. _collection$_newLinkedCell$1(element) {
  36137. var t1, _this = this,
  36138. cell = new A._LinkedHashSetCell(element);
  36139. if (_this._collection$_first == null)
  36140. _this._collection$_first = _this._collection$_last = cell;
  36141. else {
  36142. t1 = _this._collection$_last;
  36143. t1.toString;
  36144. cell._collection$_previous = t1;
  36145. _this._collection$_last = t1._collection$_next = cell;
  36146. }
  36147. ++_this._collection$_length;
  36148. _this._collection$_modified$0();
  36149. return cell;
  36150. },
  36151. _unlinkCell$1(cell) {
  36152. var _this = this,
  36153. previous = cell._collection$_previous,
  36154. next = cell._collection$_next;
  36155. if (previous == null)
  36156. _this._collection$_first = next;
  36157. else
  36158. previous._collection$_next = next;
  36159. if (next == null)
  36160. _this._collection$_last = previous;
  36161. else
  36162. next._collection$_previous = previous;
  36163. --_this._collection$_length;
  36164. _this._collection$_modified$0();
  36165. },
  36166. _computeHashCode$1(element) {
  36167. return J.get$hashCode$(element) & 1073741823;
  36168. },
  36169. _findBucketIndex$2(bucket, element) {
  36170. var $length, i;
  36171. if (bucket == null)
  36172. return -1;
  36173. $length = bucket.length;
  36174. for (i = 0; i < $length; ++i)
  36175. if (J.$eq$(bucket[i]._element, element))
  36176. return i;
  36177. return -1;
  36178. }
  36179. };
  36180. A._LinkedIdentityHashSet.prototype = {
  36181. _newSet$0() {
  36182. return new A._LinkedIdentityHashSet(this.$ti);
  36183. },
  36184. _newSimilarSet$1$0($R) {
  36185. return new A._LinkedIdentityHashSet($R._eval$1("_LinkedIdentityHashSet<0>"));
  36186. },
  36187. _newSimilarSet$0() {
  36188. return this._newSimilarSet$1$0(type$.dynamic);
  36189. },
  36190. _computeHashCode$1(key) {
  36191. return A.objectHashCode(key) & 1073741823;
  36192. },
  36193. _findBucketIndex$2(bucket, element) {
  36194. var $length, i, t1;
  36195. if (bucket == null)
  36196. return -1;
  36197. $length = bucket.length;
  36198. for (i = 0; i < $length; ++i) {
  36199. t1 = bucket[i]._element;
  36200. if (t1 == null ? element == null : t1 === element)
  36201. return i;
  36202. }
  36203. return -1;
  36204. }
  36205. };
  36206. A._LinkedHashSetCell.prototype = {};
  36207. A._LinkedHashSetIterator.prototype = {
  36208. get$current(_) {
  36209. var t1 = this._collection$_current;
  36210. return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
  36211. },
  36212. moveNext$0() {
  36213. var _this = this,
  36214. cell = _this._collection$_cell,
  36215. t1 = _this._set;
  36216. if (_this._collection$_modifications !== t1._collection$_modifications)
  36217. throw A.wrapException(A.ConcurrentModificationError$(t1));
  36218. else if (cell == null) {
  36219. _this._collection$_current = null;
  36220. return false;
  36221. } else {
  36222. _this._collection$_current = cell._element;
  36223. _this._collection$_cell = cell._collection$_next;
  36224. return true;
  36225. }
  36226. }
  36227. };
  36228. A.UnmodifiableListView.prototype = {
  36229. cast$1$0(_, $R) {
  36230. return new A.UnmodifiableListView(J.cast$1$0$ax(this._collection$_source, $R), $R._eval$1("UnmodifiableListView<0>"));
  36231. },
  36232. get$length(_) {
  36233. return J.get$length$asx(this._collection$_source);
  36234. },
  36235. $index(_, index) {
  36236. return J.elementAt$1$ax(this._collection$_source, index);
  36237. }
  36238. };
  36239. A.HashMap_HashMap$from_closure.prototype = {
  36240. call$2(k, v) {
  36241. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  36242. },
  36243. $signature: 283
  36244. };
  36245. A.LinkedHashMap_LinkedHashMap$from_closure.prototype = {
  36246. call$2(k, v) {
  36247. this.result.$indexSet(0, this.K._as(k), this.V._as(v));
  36248. },
  36249. $signature: 283
  36250. };
  36251. A.ListBase.prototype = {
  36252. get$iterator(receiver) {
  36253. return new A.ListIterator(receiver, this.get$length(receiver));
  36254. },
  36255. elementAt$1(receiver, index) {
  36256. return this.$index(receiver, index);
  36257. },
  36258. forEach$1(receiver, action) {
  36259. var i,
  36260. $length = this.get$length(receiver);
  36261. for (i = 0; i < $length; ++i) {
  36262. action.call$1(this.$index(receiver, i));
  36263. if ($length !== this.get$length(receiver))
  36264. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  36265. }
  36266. },
  36267. get$isEmpty(receiver) {
  36268. return this.get$length(receiver) === 0;
  36269. },
  36270. get$isNotEmpty(receiver) {
  36271. return !this.get$isEmpty(receiver);
  36272. },
  36273. get$first(receiver) {
  36274. if (this.get$length(receiver) === 0)
  36275. throw A.wrapException(A.IterableElementError_noElement());
  36276. return this.$index(receiver, 0);
  36277. },
  36278. get$last(receiver) {
  36279. if (this.get$length(receiver) === 0)
  36280. throw A.wrapException(A.IterableElementError_noElement());
  36281. return this.$index(receiver, this.get$length(receiver) - 1);
  36282. },
  36283. get$single(receiver) {
  36284. if (this.get$length(receiver) === 0)
  36285. throw A.wrapException(A.IterableElementError_noElement());
  36286. if (this.get$length(receiver) > 1)
  36287. throw A.wrapException(A.IterableElementError_tooMany());
  36288. return this.$index(receiver, 0);
  36289. },
  36290. contains$1(receiver, element) {
  36291. var i,
  36292. $length = this.get$length(receiver);
  36293. for (i = 0; i < $length; ++i) {
  36294. if (J.$eq$(this.$index(receiver, i), element))
  36295. return true;
  36296. if ($length !== this.get$length(receiver))
  36297. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  36298. }
  36299. return false;
  36300. },
  36301. every$1(receiver, test) {
  36302. var i,
  36303. $length = this.get$length(receiver);
  36304. for (i = 0; i < $length; ++i) {
  36305. if (!test.call$1(this.$index(receiver, i)))
  36306. return false;
  36307. if ($length !== this.get$length(receiver))
  36308. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  36309. }
  36310. return true;
  36311. },
  36312. any$1(receiver, test) {
  36313. var i,
  36314. $length = this.get$length(receiver);
  36315. for (i = 0; i < $length; ++i) {
  36316. if (test.call$1(this.$index(receiver, i)))
  36317. return true;
  36318. if ($length !== this.get$length(receiver))
  36319. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  36320. }
  36321. return false;
  36322. },
  36323. lastWhere$2$orElse(receiver, test, orElse) {
  36324. var i, element,
  36325. $length = this.get$length(receiver);
  36326. for (i = $length - 1; i >= 0; --i) {
  36327. element = this.$index(receiver, i);
  36328. if (test.call$1(element))
  36329. return element;
  36330. if ($length !== this.get$length(receiver))
  36331. throw A.wrapException(A.ConcurrentModificationError$(receiver));
  36332. }
  36333. if (orElse != null)
  36334. return orElse.call$0();
  36335. throw A.wrapException(A.IterableElementError_noElement());
  36336. },
  36337. join$1(receiver, separator) {
  36338. var t1;
  36339. if (this.get$length(receiver) === 0)
  36340. return "";
  36341. t1 = A.StringBuffer__writeAll("", receiver, separator);
  36342. return t1.charCodeAt(0) == 0 ? t1 : t1;
  36343. },
  36344. where$1(receiver, test) {
  36345. return new A.WhereIterable(receiver, test, A.instanceType(receiver)._eval$1("WhereIterable<ListBase.E>"));
  36346. },
  36347. map$1$1(receiver, f, $T) {
  36348. return new A.MappedListIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
  36349. },
  36350. expand$1$1(receiver, f, $T) {
  36351. return new A.ExpandIterable(receiver, f, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  36352. },
  36353. skip$1(receiver, count) {
  36354. return A.SubListIterable$(receiver, count, null, A.instanceType(receiver)._eval$1("ListBase.E"));
  36355. },
  36356. take$1(receiver, count) {
  36357. return A.SubListIterable$(receiver, 0, A.checkNotNullable(count, "count", type$.int), A.instanceType(receiver)._eval$1("ListBase.E"));
  36358. },
  36359. toList$1$growable(receiver, growable) {
  36360. var t1, first, result, i, _this = this;
  36361. if (_this.get$isEmpty(receiver)) {
  36362. t1 = J.JSArray_JSArray$growable(0, A.instanceType(receiver)._eval$1("ListBase.E"));
  36363. return t1;
  36364. }
  36365. first = _this.$index(receiver, 0);
  36366. result = A.List_List$filled(_this.get$length(receiver), first, true, A.instanceType(receiver)._eval$1("ListBase.E"));
  36367. for (i = 1; i < _this.get$length(receiver); ++i)
  36368. result[i] = _this.$index(receiver, i);
  36369. return result;
  36370. },
  36371. toList$0($receiver) {
  36372. return this.toList$1$growable($receiver, true);
  36373. },
  36374. toSet$0(receiver) {
  36375. var i,
  36376. result = A.LinkedHashSet_LinkedHashSet(A.instanceType(receiver)._eval$1("ListBase.E"));
  36377. for (i = 0; i < this.get$length(receiver); ++i)
  36378. result.add$1(0, this.$index(receiver, i));
  36379. return result;
  36380. },
  36381. add$1(receiver, element) {
  36382. var t1 = this.get$length(receiver);
  36383. this.set$length(receiver, t1 + 1);
  36384. this.$indexSet(receiver, t1, element);
  36385. },
  36386. addAll$1(receiver, iterable) {
  36387. var t1,
  36388. i = this.get$length(receiver);
  36389. for (t1 = iterable.get$iterator(iterable); t1.moveNext$0();) {
  36390. this.add$1(receiver, t1.get$current(t1));
  36391. ++i;
  36392. }
  36393. },
  36394. _closeGap$2(receiver, start, end) {
  36395. var i, _this = this,
  36396. $length = _this.get$length(receiver),
  36397. size = end - start;
  36398. for (i = end; i < $length; ++i)
  36399. _this.$indexSet(receiver, i - size, _this.$index(receiver, i));
  36400. _this.set$length(receiver, $length - size);
  36401. },
  36402. cast$1$0(receiver, $R) {
  36403. return new A.CastList(receiver, A.instanceType(receiver)._eval$1("@<ListBase.E>")._bind$1($R)._eval$1("CastList<1,2>"));
  36404. },
  36405. sort$1(receiver, compare) {
  36406. var t1 = compare == null ? A.collection_ListBase__compareAny$closure() : compare;
  36407. A.Sort__doSort(receiver, 0, this.get$length(receiver) - 1, t1);
  36408. },
  36409. sublist$2(receiver, start, end) {
  36410. var listLength = this.get$length(receiver);
  36411. A.RangeError_checkValidRange(start, listLength, listLength);
  36412. return A.List_List$from(this.getRange$2(receiver, start, listLength), true, A.instanceType(receiver)._eval$1("ListBase.E"));
  36413. },
  36414. sublist$1($receiver, start) {
  36415. return this.sublist$2($receiver, start, null);
  36416. },
  36417. getRange$2(receiver, start, end) {
  36418. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  36419. return A.SubListIterable$(receiver, start, end, A.instanceType(receiver)._eval$1("ListBase.E"));
  36420. },
  36421. removeRange$2(receiver, start, end) {
  36422. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  36423. if (end > start)
  36424. this._closeGap$2(receiver, start, end);
  36425. },
  36426. fillRange$3(receiver, start, end, fill) {
  36427. var i,
  36428. value = fill == null ? A.instanceType(receiver)._eval$1("ListBase.E")._as(fill) : fill;
  36429. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  36430. for (i = start; i < end; ++i)
  36431. this.$indexSet(receiver, i, value);
  36432. },
  36433. setRange$4(receiver, start, end, iterable, skipCount) {
  36434. var $length, otherStart, otherList, t1, i;
  36435. A.RangeError_checkValidRange(start, end, this.get$length(receiver));
  36436. $length = end - start;
  36437. if ($length === 0)
  36438. return;
  36439. A.RangeError_checkNotNegative(skipCount, "skipCount");
  36440. if (A.instanceType(receiver)._eval$1("List<ListBase.E>")._is(iterable)) {
  36441. otherStart = skipCount;
  36442. otherList = iterable;
  36443. } else {
  36444. otherList = J.skip$1$ax(iterable, skipCount).toList$1$growable(0, false);
  36445. otherStart = 0;
  36446. }
  36447. t1 = J.getInterceptor$asx(otherList);
  36448. if (otherStart + $length > t1.get$length(otherList))
  36449. throw A.wrapException(A.IterableElementError_tooFew());
  36450. if (otherStart < start)
  36451. for (i = $length - 1; i >= 0; --i)
  36452. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  36453. else
  36454. for (i = 0; i < $length; ++i)
  36455. this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i));
  36456. },
  36457. get$reversed(receiver) {
  36458. return new A.ReversedListIterable(receiver, A.instanceType(receiver)._eval$1("ReversedListIterable<ListBase.E>"));
  36459. },
  36460. toString$0(receiver) {
  36461. return A.Iterable_iterableToFullString(receiver, "[", "]");
  36462. },
  36463. $isEfficientLengthIterable: 1,
  36464. $isIterable: 1,
  36465. $isList: 1
  36466. };
  36467. A.MapBase.prototype = {
  36468. cast$2$0(_, RK, RV) {
  36469. var t1 = A._instanceType(this);
  36470. return A.Map_castFrom(this, t1._eval$1("MapBase.K"), t1._eval$1("MapBase.V"), RK, RV);
  36471. },
  36472. forEach$1(_, action) {
  36473. var t1, t2, key, t3, _this = this;
  36474. for (t1 = J.get$iterator$ax(_this.get$keys(_this)), t2 = A._instanceType(_this)._eval$1("MapBase.V"); t1.moveNext$0();) {
  36475. key = t1.get$current(t1);
  36476. t3 = _this.$index(0, key);
  36477. action.call$2(key, t3 == null ? t2._as(t3) : t3);
  36478. }
  36479. },
  36480. addAll$1(_, other) {
  36481. other.forEach$1(0, new A.MapBase_addAll_closure(this));
  36482. },
  36483. get$entries(_) {
  36484. var _this = this;
  36485. return J.map$1$1$ax(_this.get$keys(_this), new A.MapBase_entries_closure(_this), A._instanceType(_this)._eval$1("MapEntry<MapBase.K,MapBase.V>"));
  36486. },
  36487. removeWhere$1(_, test) {
  36488. var t2, key, t3, _i, _this = this,
  36489. t1 = A._instanceType(_this),
  36490. keysToRemove = A._setArrayType([], t1._eval$1("JSArray<MapBase.K>"));
  36491. for (t2 = J.get$iterator$ax(_this.get$keys(_this)), t1 = t1._eval$1("MapBase.V"); t2.moveNext$0();) {
  36492. key = t2.get$current(t2);
  36493. t3 = _this.$index(0, key);
  36494. if (test.call$2(key, t3 == null ? t1._as(t3) : t3))
  36495. keysToRemove.push(key);
  36496. }
  36497. for (t1 = keysToRemove.length, _i = 0; _i < keysToRemove.length; keysToRemove.length === t1 || (0, A.throwConcurrentModificationError)(keysToRemove), ++_i)
  36498. _this.remove$1(0, keysToRemove[_i]);
  36499. },
  36500. containsKey$1(key) {
  36501. return J.contains$1$asx(this.get$keys(this), key);
  36502. },
  36503. get$length(_) {
  36504. return J.get$length$asx(this.get$keys(this));
  36505. },
  36506. get$isEmpty(_) {
  36507. return J.get$isEmpty$asx(this.get$keys(this));
  36508. },
  36509. get$isNotEmpty(_) {
  36510. return J.get$isNotEmpty$asx(this.get$keys(this));
  36511. },
  36512. get$values(_) {
  36513. var t1 = A._instanceType(this);
  36514. return new A._MapBaseValueIterable(this, t1._eval$1("@<MapBase.K>")._bind$1(t1._eval$1("MapBase.V"))._eval$1("_MapBaseValueIterable<1,2>"));
  36515. },
  36516. toString$0(_) {
  36517. return A.MapBase_mapToString(this);
  36518. },
  36519. $isMap: 1
  36520. };
  36521. A.MapBase_addAll_closure.prototype = {
  36522. call$2(key, value) {
  36523. this.$this.$indexSet(0, key, value);
  36524. },
  36525. $signature() {
  36526. return A._instanceType(this.$this)._eval$1("~(MapBase.K,MapBase.V)");
  36527. }
  36528. };
  36529. A.MapBase_entries_closure.prototype = {
  36530. call$1(key) {
  36531. var t1 = this.$this,
  36532. t2 = t1.$index(0, key);
  36533. if (t2 == null)
  36534. t2 = A._instanceType(t1)._eval$1("MapBase.V")._as(t2);
  36535. t1 = A._instanceType(t1);
  36536. return new A.MapEntry(key, t2, t1._eval$1("@<MapBase.K>")._bind$1(t1._eval$1("MapBase.V"))._eval$1("MapEntry<1,2>"));
  36537. },
  36538. $signature() {
  36539. return A._instanceType(this.$this)._eval$1("MapEntry<MapBase.K,MapBase.V>(MapBase.K)");
  36540. }
  36541. };
  36542. A.MapBase_mapToString_closure.prototype = {
  36543. call$2(k, v) {
  36544. var t2,
  36545. t1 = this._box_0;
  36546. if (!t1.first)
  36547. this.result._contents += ", ";
  36548. t1.first = false;
  36549. t1 = this.result;
  36550. t2 = t1._contents += A.S(k);
  36551. t1._contents = t2 + ": ";
  36552. t1._contents += A.S(v);
  36553. },
  36554. $signature: 275
  36555. };
  36556. A.UnmodifiableMapBase.prototype = {};
  36557. A._MapBaseValueIterable.prototype = {
  36558. get$length(_) {
  36559. var t1 = this._map;
  36560. return t1.get$length(t1);
  36561. },
  36562. get$isEmpty(_) {
  36563. var t1 = this._map;
  36564. return t1.get$isEmpty(t1);
  36565. },
  36566. get$isNotEmpty(_) {
  36567. var t1 = this._map;
  36568. return t1.get$isNotEmpty(t1);
  36569. },
  36570. get$first(_) {
  36571. var t1 = this._map;
  36572. t1 = t1.$index(0, J.get$first$ax(t1.get$keys(t1)));
  36573. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  36574. },
  36575. get$single(_) {
  36576. var t1 = this._map;
  36577. t1 = t1.$index(0, J.get$single$ax(t1.get$keys(t1)));
  36578. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  36579. },
  36580. get$last(_) {
  36581. var t1 = this._map;
  36582. t1 = t1.$index(0, J.get$last$ax(t1.get$keys(t1)));
  36583. return t1 == null ? this.$ti._rest[1]._as(t1) : t1;
  36584. },
  36585. get$iterator(_) {
  36586. var t1 = this._map;
  36587. return new A._MapBaseValueIterator(J.get$iterator$ax(t1.get$keys(t1)), t1);
  36588. }
  36589. };
  36590. A._MapBaseValueIterator.prototype = {
  36591. moveNext$0() {
  36592. var _this = this,
  36593. t1 = _this._collection$_keys;
  36594. if (t1.moveNext$0()) {
  36595. _this._collection$_current = _this._map.$index(0, t1.get$current(t1));
  36596. return true;
  36597. }
  36598. _this._collection$_current = null;
  36599. return false;
  36600. },
  36601. get$current(_) {
  36602. var t1 = this._collection$_current;
  36603. return t1 == null ? A._instanceType(this)._rest[1]._as(t1) : t1;
  36604. }
  36605. };
  36606. A._UnmodifiableMapMixin.prototype = {
  36607. $indexSet(_, key, value) {
  36608. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  36609. },
  36610. addAll$1(_, other) {
  36611. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  36612. },
  36613. remove$1(_, key) {
  36614. throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"));
  36615. }
  36616. };
  36617. A.MapView.prototype = {
  36618. cast$2$0(_, RK, RV) {
  36619. return this._map.cast$2$0(0, RK, RV);
  36620. },
  36621. $index(_, key) {
  36622. return this._map.$index(0, key);
  36623. },
  36624. $indexSet(_, key, value) {
  36625. this._map.$indexSet(0, key, value);
  36626. },
  36627. addAll$1(_, other) {
  36628. this._map.addAll$1(0, other);
  36629. },
  36630. containsKey$1(key) {
  36631. return this._map.containsKey$1(key);
  36632. },
  36633. forEach$1(_, action) {
  36634. this._map.forEach$1(0, action);
  36635. },
  36636. get$isEmpty(_) {
  36637. var t1 = this._map;
  36638. return t1.get$isEmpty(t1);
  36639. },
  36640. get$isNotEmpty(_) {
  36641. var t1 = this._map;
  36642. return t1.get$isNotEmpty(t1);
  36643. },
  36644. get$length(_) {
  36645. var t1 = this._map;
  36646. return t1.get$length(t1);
  36647. },
  36648. get$keys(_) {
  36649. var t1 = this._map;
  36650. return t1.get$keys(t1);
  36651. },
  36652. remove$1(_, key) {
  36653. return this._map.remove$1(0, key);
  36654. },
  36655. toString$0(_) {
  36656. return this._map.toString$0(0);
  36657. },
  36658. get$values(_) {
  36659. var t1 = this._map;
  36660. return t1.get$values(t1);
  36661. },
  36662. get$entries(_) {
  36663. var t1 = this._map;
  36664. return t1.get$entries(t1);
  36665. },
  36666. $isMap: 1
  36667. };
  36668. A.UnmodifiableMapView.prototype = {
  36669. cast$2$0(_, RK, RV) {
  36670. return new A.UnmodifiableMapView(this._map.cast$2$0(0, RK, RV), RK._eval$1("@<0>")._bind$1(RV)._eval$1("UnmodifiableMapView<1,2>"));
  36671. }
  36672. };
  36673. A.ListQueue.prototype = {
  36674. get$iterator(_) {
  36675. var _this = this;
  36676. return new A._ListQueueIterator(_this, _this._tail, _this._modificationCount, _this._head);
  36677. },
  36678. get$isEmpty(_) {
  36679. return this._head === this._tail;
  36680. },
  36681. get$length(_) {
  36682. return (this._tail - this._head & this._table.length - 1) >>> 0;
  36683. },
  36684. get$first(_) {
  36685. var _this = this,
  36686. t1 = _this._head;
  36687. if (t1 === _this._tail)
  36688. throw A.wrapException(A.IterableElementError_noElement());
  36689. t1 = _this._table[t1];
  36690. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  36691. },
  36692. get$last(_) {
  36693. var _this = this,
  36694. t1 = _this._head,
  36695. t2 = _this._tail;
  36696. if (t1 === t2)
  36697. throw A.wrapException(A.IterableElementError_noElement());
  36698. t1 = _this._table;
  36699. t1 = t1[(t2 - 1 & t1.length - 1) >>> 0];
  36700. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  36701. },
  36702. get$single(_) {
  36703. var t1, _this = this;
  36704. if (_this._head === _this._tail)
  36705. throw A.wrapException(A.IterableElementError_noElement());
  36706. if (_this.get$length(_this) > 1)
  36707. throw A.wrapException(A.IterableElementError_tooMany());
  36708. t1 = _this._table[_this._head];
  36709. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  36710. },
  36711. elementAt$1(_, index) {
  36712. var t1, _this = this;
  36713. A.IndexError_check(index, _this.get$length(_this), _this, null, null);
  36714. t1 = _this._table;
  36715. t1 = t1[(_this._head + index & t1.length - 1) >>> 0];
  36716. return t1 == null ? _this.$ti._precomputed1._as(t1) : t1;
  36717. },
  36718. toList$1$growable(_, growable) {
  36719. var t1, list, t2, t3, i, t4, _this = this,
  36720. mask = _this._table.length - 1,
  36721. $length = (_this._tail - _this._head & mask) >>> 0;
  36722. if ($length === 0) {
  36723. t1 = J.JSArray_JSArray$growable(0, _this.$ti._precomputed1);
  36724. return t1;
  36725. }
  36726. t1 = _this.$ti._precomputed1;
  36727. list = A.List_List$filled($length, _this.get$first(_this), true, t1);
  36728. for (t2 = _this._table, t3 = _this._head, i = 0; i < $length; ++i) {
  36729. t4 = t2[(t3 + i & mask) >>> 0];
  36730. list[i] = t4 == null ? t1._as(t4) : t4;
  36731. }
  36732. return list;
  36733. },
  36734. toList$0($receiver) {
  36735. return this.toList$1$growable($receiver, true);
  36736. },
  36737. addAll$1(_, elements) {
  36738. var addCount, $length, t2, t3, t4, newTable, endSpace, preSpace, _i, _this = this,
  36739. t1 = _this.$ti;
  36740. if (t1._eval$1("List<1>")._is(elements)) {
  36741. addCount = elements.length;
  36742. $length = _this.get$length(_this);
  36743. t2 = $length + addCount;
  36744. t3 = _this._table;
  36745. t4 = t3.length;
  36746. if (t2 >= t4) {
  36747. newTable = A.List_List$filled(A.ListQueue__nextPowerOf2(t2 + (t2 >>> 1)), null, false, t1._eval$1("1?"));
  36748. _this._tail = _this._collection$_writeToList$1(newTable);
  36749. _this._table = newTable;
  36750. _this._head = 0;
  36751. B.JSArray_methods.setRange$4(newTable, $length, t2, elements, 0);
  36752. _this._tail += addCount;
  36753. } else {
  36754. t1 = _this._tail;
  36755. endSpace = t4 - t1;
  36756. if (addCount < endSpace) {
  36757. B.JSArray_methods.setRange$4(t3, t1, t1 + addCount, elements, 0);
  36758. _this._tail += addCount;
  36759. } else {
  36760. preSpace = addCount - endSpace;
  36761. B.JSArray_methods.setRange$4(t3, t1, t1 + endSpace, elements, 0);
  36762. B.JSArray_methods.setRange$4(_this._table, 0, preSpace, elements, endSpace);
  36763. _this._tail = preSpace;
  36764. }
  36765. }
  36766. ++_this._modificationCount;
  36767. } else
  36768. for (t1 = elements.length, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i)
  36769. _this._add$1(elements[_i]);
  36770. },
  36771. clear$0(_) {
  36772. var t2, t3, _this = this,
  36773. i = _this._head,
  36774. t1 = _this._tail;
  36775. if (i !== t1) {
  36776. for (t2 = _this._table, t3 = t2.length - 1; i !== t1; i = (i + 1 & t3) >>> 0)
  36777. t2[i] = null;
  36778. _this._head = _this._tail = 0;
  36779. ++_this._modificationCount;
  36780. }
  36781. },
  36782. toString$0(_) {
  36783. return A.Iterable_iterableToFullString(this, "{", "}");
  36784. },
  36785. addFirst$1(value) {
  36786. var _this = this,
  36787. t1 = _this._head,
  36788. t2 = _this._table;
  36789. t1 = _this._head = (t1 - 1 & t2.length - 1) >>> 0;
  36790. t2[t1] = value;
  36791. if (t1 === _this._tail)
  36792. _this._grow$0();
  36793. ++_this._modificationCount;
  36794. },
  36795. removeFirst$0() {
  36796. var t2, result, _this = this,
  36797. t1 = _this._head;
  36798. if (t1 === _this._tail)
  36799. throw A.wrapException(A.IterableElementError_noElement());
  36800. ++_this._modificationCount;
  36801. t2 = _this._table;
  36802. result = t2[t1];
  36803. if (result == null)
  36804. result = _this.$ti._precomputed1._as(result);
  36805. t2[t1] = null;
  36806. _this._head = (t1 + 1 & t2.length - 1) >>> 0;
  36807. return result;
  36808. },
  36809. _add$1(element) {
  36810. var _this = this,
  36811. t1 = _this._table,
  36812. t2 = _this._tail;
  36813. t1[t2] = element;
  36814. t1 = (t2 + 1 & t1.length - 1) >>> 0;
  36815. _this._tail = t1;
  36816. if (_this._head === t1)
  36817. _this._grow$0();
  36818. ++_this._modificationCount;
  36819. },
  36820. _grow$0() {
  36821. var _this = this,
  36822. newTable = A.List_List$filled(_this._table.length * 2, null, false, _this.$ti._eval$1("1?")),
  36823. t1 = _this._table,
  36824. t2 = _this._head,
  36825. split = t1.length - t2;
  36826. B.JSArray_methods.setRange$4(newTable, 0, split, t1, t2);
  36827. B.JSArray_methods.setRange$4(newTable, split, split + _this._head, _this._table, 0);
  36828. _this._head = 0;
  36829. _this._tail = _this._table.length;
  36830. _this._table = newTable;
  36831. },
  36832. _collection$_writeToList$1(target) {
  36833. var $length, firstPartSize, _this = this,
  36834. t1 = _this._head,
  36835. t2 = _this._tail,
  36836. t3 = _this._table;
  36837. if (t1 <= t2) {
  36838. $length = t2 - t1;
  36839. B.JSArray_methods.setRange$4(target, 0, $length, t3, t1);
  36840. return $length;
  36841. } else {
  36842. firstPartSize = t3.length - t1;
  36843. B.JSArray_methods.setRange$4(target, 0, firstPartSize, t3, t1);
  36844. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this._tail, _this._table, 0);
  36845. return _this._tail + firstPartSize;
  36846. }
  36847. },
  36848. $isQueue: 1
  36849. };
  36850. A._ListQueueIterator.prototype = {
  36851. get$current(_) {
  36852. var t1 = this._collection$_current;
  36853. return t1 == null ? A._instanceType(this)._precomputed1._as(t1) : t1;
  36854. },
  36855. moveNext$0() {
  36856. var t2, _this = this,
  36857. t1 = _this._queue;
  36858. if (_this._modificationCount !== t1._modificationCount)
  36859. A.throwExpression(A.ConcurrentModificationError$(t1));
  36860. t2 = _this._collection$_position;
  36861. if (t2 === _this._collection$_end) {
  36862. _this._collection$_current = null;
  36863. return false;
  36864. }
  36865. t1 = t1._table;
  36866. _this._collection$_current = t1[t2];
  36867. _this._collection$_position = (t2 + 1 & t1.length - 1) >>> 0;
  36868. return true;
  36869. }
  36870. };
  36871. A.SetBase.prototype = {
  36872. get$isEmpty(_) {
  36873. return this.get$length(this) === 0;
  36874. },
  36875. get$isNotEmpty(_) {
  36876. return this.get$length(this) !== 0;
  36877. },
  36878. addAll$1(_, elements) {
  36879. var t1;
  36880. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  36881. this.add$1(0, t1.get$current(t1));
  36882. },
  36883. removeAll$1(elements) {
  36884. var t1;
  36885. for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();)
  36886. this.remove$1(0, t1.get$current(t1));
  36887. },
  36888. difference$1(other) {
  36889. var t1, t2, element,
  36890. result = this.toSet$0(0);
  36891. for (t1 = this.get$iterator(this), t2 = other._source; t1.moveNext$0();) {
  36892. element = t1.get$current(t1);
  36893. if (t2.contains$1(0, element))
  36894. result.remove$1(0, element);
  36895. }
  36896. return result;
  36897. },
  36898. toList$1$growable(_, growable) {
  36899. return A.List_List$of(this, true, A._instanceType(this)._precomputed1);
  36900. },
  36901. toList$0($receiver) {
  36902. return this.toList$1$growable($receiver, true);
  36903. },
  36904. map$1$1(_, f, $T) {
  36905. return new A.EfficientLengthMappedIterable(this, f, A._instanceType(this)._eval$1("@<1>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
  36906. },
  36907. get$single(_) {
  36908. var it, _this = this;
  36909. if (_this.get$length(_this) > 1)
  36910. throw A.wrapException(A.IterableElementError_tooMany());
  36911. it = _this.get$iterator(_this);
  36912. if (!it.moveNext$0())
  36913. throw A.wrapException(A.IterableElementError_noElement());
  36914. return it.get$current(it);
  36915. },
  36916. toString$0(_) {
  36917. return A.Iterable_iterableToFullString(this, "{", "}");
  36918. },
  36919. where$1(_, f) {
  36920. return new A.WhereIterable(this, f, A._instanceType(this)._eval$1("WhereIterable<1>"));
  36921. },
  36922. forEach$1(_, f) {
  36923. var t1;
  36924. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  36925. f.call$1(t1.get$current(t1));
  36926. },
  36927. any$1(_, test) {
  36928. var t1;
  36929. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  36930. if (test.call$1(t1.get$current(t1)))
  36931. return true;
  36932. return false;
  36933. },
  36934. take$1(_, n) {
  36935. return A.TakeIterable_TakeIterable(this, n, A._instanceType(this)._precomputed1);
  36936. },
  36937. skip$1(_, n) {
  36938. return A.SkipIterable_SkipIterable(this, n, A._instanceType(this)._precomputed1);
  36939. },
  36940. get$first(_) {
  36941. var it = this.get$iterator(this);
  36942. if (!it.moveNext$0())
  36943. throw A.wrapException(A.IterableElementError_noElement());
  36944. return it.get$current(it);
  36945. },
  36946. get$last(_) {
  36947. var result,
  36948. it = this.get$iterator(this);
  36949. if (!it.moveNext$0())
  36950. throw A.wrapException(A.IterableElementError_noElement());
  36951. do
  36952. result = it.get$current(it);
  36953. while (it.moveNext$0());
  36954. return result;
  36955. },
  36956. elementAt$1(_, index) {
  36957. var iterator, skipCount;
  36958. A.RangeError_checkNotNegative(index, "index");
  36959. iterator = this.get$iterator(this);
  36960. for (skipCount = index; iterator.moveNext$0();) {
  36961. if (skipCount === 0)
  36962. return iterator.get$current(iterator);
  36963. --skipCount;
  36964. }
  36965. throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, null, "index"));
  36966. },
  36967. $isEfficientLengthIterable: 1,
  36968. $isIterable: 1,
  36969. $isSet: 1
  36970. };
  36971. A._SetBase.prototype = {
  36972. difference$1(other) {
  36973. var t1, t2, t3, element,
  36974. result = this._newSet$0();
  36975. for (t1 = A._LinkedHashSetIterator$(this, this._collection$_modifications), t2 = other._source, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  36976. element = t1._collection$_current;
  36977. if (element == null)
  36978. element = t3._as(element);
  36979. if (!t2.contains$1(0, element))
  36980. result.add$1(0, element);
  36981. }
  36982. return result;
  36983. },
  36984. intersection$1(other) {
  36985. var t1, t2, t3, element,
  36986. result = this._newSet$0();
  36987. for (t1 = A._LinkedHashSetIterator$(this, this._collection$_modifications), t2 = other._baseMap, t3 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  36988. element = t1._collection$_current;
  36989. if (element == null)
  36990. element = t3._as(element);
  36991. if (t2.containsKey$1(element))
  36992. result.add$1(0, element);
  36993. }
  36994. return result;
  36995. },
  36996. toSet$0(_) {
  36997. var t1 = this._newSet$0();
  36998. t1.addAll$1(0, this);
  36999. return t1;
  37000. }
  37001. };
  37002. A._UnmodifiableSetMixin.prototype = {
  37003. add$1(_, value) {
  37004. return A._UnmodifiableSetMixin__throwUnmodifiable();
  37005. },
  37006. addAll$1(_, elements) {
  37007. return A._UnmodifiableSetMixin__throwUnmodifiable();
  37008. },
  37009. remove$1(_, value) {
  37010. return A._UnmodifiableSetMixin__throwUnmodifiable();
  37011. }
  37012. };
  37013. A.UnmodifiableSetView.prototype = {
  37014. contains$1(_, element) {
  37015. return this._collection$_source.contains$1(0, element);
  37016. },
  37017. get$length(_) {
  37018. return this._collection$_source._collection$_length;
  37019. },
  37020. get$iterator(_) {
  37021. var t1 = this._collection$_source;
  37022. return A._LinkedHashSetIterator$(t1, t1._collection$_modifications);
  37023. },
  37024. toSet$0(_) {
  37025. return this._collection$_source.toSet$0(0);
  37026. }
  37027. };
  37028. A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {};
  37029. A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin.prototype = {};
  37030. A.Utf8Decoder__decoder_closure.prototype = {
  37031. call$0() {
  37032. var t1, exception;
  37033. try {
  37034. t1 = new TextDecoder("utf-8", {fatal: true});
  37035. return t1;
  37036. } catch (exception) {
  37037. }
  37038. return null;
  37039. },
  37040. $signature: 65
  37041. };
  37042. A.Utf8Decoder__decoderNonfatal_closure.prototype = {
  37043. call$0() {
  37044. var t1, exception;
  37045. try {
  37046. t1 = new TextDecoder("utf-8", {fatal: false});
  37047. return t1;
  37048. } catch (exception) {
  37049. }
  37050. return null;
  37051. },
  37052. $signature: 65
  37053. };
  37054. A.AsciiCodec.prototype = {
  37055. encode$1(source) {
  37056. return B.AsciiEncoder_127.convert$1(source);
  37057. }
  37058. };
  37059. A._UnicodeSubsetEncoder.prototype = {
  37060. convert$1(string) {
  37061. var t1, i, codeUnit,
  37062. $length = A.RangeError_checkValidRange(0, null, string.length) - 0,
  37063. result = new Uint8Array($length);
  37064. for (t1 = ~this._subsetMask, i = 0; i < $length; ++i) {
  37065. codeUnit = string.charCodeAt(i);
  37066. if ((codeUnit & t1) !== 0)
  37067. throw A.wrapException(A.ArgumentError$value(string, "string", "Contains invalid characters."));
  37068. result[i] = codeUnit;
  37069. }
  37070. return result;
  37071. }
  37072. };
  37073. A.AsciiEncoder.prototype = {};
  37074. A.Base64Codec.prototype = {
  37075. normalize$3(source, start, end) {
  37076. var inverseAlphabet, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, digit2, char0, value, t1, t2, endLength, $length,
  37077. _s31_ = "Invalid base64 encoding length ";
  37078. end = A.RangeError_checkValidRange(start, end, source.length);
  37079. inverseAlphabet = $.$get$_Base64Decoder__inverseAlphabet();
  37080. for (i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) {
  37081. i0 = i + 1;
  37082. char = source.charCodeAt(i);
  37083. if (char === 37) {
  37084. i1 = i0 + 2;
  37085. if (i1 <= end) {
  37086. digit1 = A.hexDigitValue(source.charCodeAt(i0));
  37087. digit2 = A.hexDigitValue(source.charCodeAt(i0 + 1));
  37088. char0 = digit1 * 16 + digit2 - (digit2 & 256);
  37089. if (char0 === 37)
  37090. char0 = -1;
  37091. i0 = i1;
  37092. } else
  37093. char0 = -1;
  37094. } else
  37095. char0 = char;
  37096. if (0 <= char0 && char0 <= 127) {
  37097. value = inverseAlphabet[char0];
  37098. if (value >= 0) {
  37099. char0 = string$.ABCDEF.charCodeAt(value);
  37100. if (char0 === char)
  37101. continue;
  37102. char = char0;
  37103. } else {
  37104. if (value === -1) {
  37105. if (firstPadding < 0) {
  37106. t1 = buffer == null ? null : buffer._contents.length;
  37107. if (t1 == null)
  37108. t1 = 0;
  37109. firstPadding = t1 + (i - sliceStart);
  37110. firstPaddingSourceIndex = i;
  37111. }
  37112. ++paddingCount;
  37113. if (char === 61)
  37114. continue;
  37115. }
  37116. char = char0;
  37117. }
  37118. if (value !== -2) {
  37119. if (buffer == null) {
  37120. buffer = new A.StringBuffer("");
  37121. t1 = buffer;
  37122. } else
  37123. t1 = buffer;
  37124. t1._contents += B.JSString_methods.substring$2(source, sliceStart, i);
  37125. t1._contents += A.Primitives_stringFromCharCode(char);
  37126. sliceStart = i0;
  37127. continue;
  37128. }
  37129. }
  37130. throw A.wrapException(A.FormatException$("Invalid base64 data", source, i));
  37131. }
  37132. if (buffer != null) {
  37133. t1 = buffer._contents += B.JSString_methods.substring$2(source, sliceStart, end);
  37134. t2 = t1.length;
  37135. if (firstPadding >= 0)
  37136. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2);
  37137. else {
  37138. endLength = B.JSInt_methods.$mod(t2 - 1, 4) + 1;
  37139. if (endLength === 1)
  37140. throw A.wrapException(A.FormatException$(_s31_, source, end));
  37141. for (; endLength < 4;) {
  37142. t1 += "=";
  37143. buffer._contents = t1;
  37144. ++endLength;
  37145. }
  37146. }
  37147. t1 = buffer._contents;
  37148. return B.JSString_methods.replaceRange$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1);
  37149. }
  37150. $length = end - start;
  37151. if (firstPadding >= 0)
  37152. A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, $length);
  37153. else {
  37154. endLength = B.JSInt_methods.$mod($length, 4);
  37155. if (endLength === 1)
  37156. throw A.wrapException(A.FormatException$(_s31_, source, end));
  37157. if (endLength > 1)
  37158. source = B.JSString_methods.replaceRange$3(source, end, end, endLength === 2 ? "==" : "=");
  37159. }
  37160. return source;
  37161. }
  37162. };
  37163. A.Base64Encoder.prototype = {
  37164. startChunkedConversion$1(sink) {
  37165. return new A._Utf8Base64EncoderSink(new A._Utf8StringSinkAdapter(new A._Utf8Decoder(false), sink, sink._stringSink), new A._Base64Encoder(string$.ABCDEF));
  37166. }
  37167. };
  37168. A._Base64Encoder.prototype = {
  37169. createBuffer$1(bufferLength) {
  37170. return new Uint8Array(bufferLength);
  37171. },
  37172. encode$4(bytes, start, end, isLast) {
  37173. var output, _this = this,
  37174. byteCount = (_this._convert$_state & 3) + (end - start),
  37175. fullChunks = B.JSInt_methods._tdivFast$1(byteCount, 3),
  37176. bufferLength = fullChunks * 4;
  37177. if (isLast && byteCount - fullChunks * 3 > 0)
  37178. bufferLength += 4;
  37179. output = _this.createBuffer$1(bufferLength);
  37180. _this._convert$_state = A._Base64Encoder_encodeChunk(_this._alphabet, bytes, start, end, isLast, output, 0, _this._convert$_state);
  37181. if (bufferLength > 0)
  37182. return output;
  37183. return null;
  37184. }
  37185. };
  37186. A._Base64EncoderSink.prototype = {};
  37187. A._Utf8Base64EncoderSink.prototype = {
  37188. _convert$_add$4(source, start, end, isLast) {
  37189. var buffer = this._encoder.encode$4(source, start, end, isLast);
  37190. if (buffer != null)
  37191. this._sink.addSlice$4(buffer, 0, buffer.length, isLast);
  37192. }
  37193. };
  37194. A.ByteConversionSink.prototype = {};
  37195. A.Codec.prototype = {};
  37196. A.Converter.prototype = {};
  37197. A.Encoding.prototype = {};
  37198. A.JsonUnsupportedObjectError.prototype = {
  37199. toString$0(_) {
  37200. var safeString = A.Error_safeToString(this.unsupportedObject);
  37201. return (this.cause != null ? "Converting object to an encodable object failed:" : "Converting object did not return an encodable object:") + " " + safeString;
  37202. }
  37203. };
  37204. A.JsonCyclicError.prototype = {
  37205. toString$0(_) {
  37206. return "Cyclic error in JSON stringify";
  37207. }
  37208. };
  37209. A.JsonCodec.prototype = {
  37210. encode$2$toEncodable(value, toEncodable) {
  37211. var t1 = A._JsonStringStringifier_stringify(value, this.get$encoder()._toEncodable, null);
  37212. return t1;
  37213. },
  37214. get$encoder() {
  37215. return B.JsonEncoder_null;
  37216. }
  37217. };
  37218. A.JsonEncoder.prototype = {};
  37219. A._JsonStringifier.prototype = {
  37220. writeStringContent$1(s) {
  37221. var offset, i, charCode, t1, t2, _this = this,
  37222. $length = s.length;
  37223. for (offset = 0, i = 0; i < $length; ++i) {
  37224. charCode = s.charCodeAt(i);
  37225. if (charCode > 92) {
  37226. if (charCode >= 55296) {
  37227. t1 = charCode & 64512;
  37228. if (t1 === 55296) {
  37229. t2 = i + 1;
  37230. t2 = !(t2 < $length && (s.charCodeAt(t2) & 64512) === 56320);
  37231. } else
  37232. t2 = false;
  37233. if (!t2)
  37234. if (t1 === 56320) {
  37235. t1 = i - 1;
  37236. t1 = !(t1 >= 0 && (s.charCodeAt(t1) & 64512) === 55296);
  37237. } else
  37238. t1 = false;
  37239. else
  37240. t1 = true;
  37241. if (t1) {
  37242. if (i > offset)
  37243. _this.writeStringSlice$3(s, offset, i);
  37244. offset = i + 1;
  37245. _this.writeCharCode$1(92);
  37246. _this.writeCharCode$1(117);
  37247. _this.writeCharCode$1(100);
  37248. t1 = charCode >>> 8 & 15;
  37249. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  37250. t1 = charCode >>> 4 & 15;
  37251. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  37252. t1 = charCode & 15;
  37253. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  37254. }
  37255. }
  37256. continue;
  37257. }
  37258. if (charCode < 32) {
  37259. if (i > offset)
  37260. _this.writeStringSlice$3(s, offset, i);
  37261. offset = i + 1;
  37262. _this.writeCharCode$1(92);
  37263. switch (charCode) {
  37264. case 8:
  37265. _this.writeCharCode$1(98);
  37266. break;
  37267. case 9:
  37268. _this.writeCharCode$1(116);
  37269. break;
  37270. case 10:
  37271. _this.writeCharCode$1(110);
  37272. break;
  37273. case 12:
  37274. _this.writeCharCode$1(102);
  37275. break;
  37276. case 13:
  37277. _this.writeCharCode$1(114);
  37278. break;
  37279. default:
  37280. _this.writeCharCode$1(117);
  37281. _this.writeCharCode$1(48);
  37282. _this.writeCharCode$1(48);
  37283. t1 = charCode >>> 4 & 15;
  37284. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  37285. t1 = charCode & 15;
  37286. _this.writeCharCode$1(t1 < 10 ? 48 + t1 : 87 + t1);
  37287. break;
  37288. }
  37289. } else if (charCode === 34 || charCode === 92) {
  37290. if (i > offset)
  37291. _this.writeStringSlice$3(s, offset, i);
  37292. offset = i + 1;
  37293. _this.writeCharCode$1(92);
  37294. _this.writeCharCode$1(charCode);
  37295. }
  37296. }
  37297. if (offset === 0)
  37298. _this.writeString$1(s);
  37299. else if (offset < $length)
  37300. _this.writeStringSlice$3(s, offset, $length);
  37301. },
  37302. _checkCycle$1(object) {
  37303. var t1, t2, i, t3;
  37304. for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) {
  37305. t3 = t1[i];
  37306. if (object == null ? t3 == null : object === t3)
  37307. throw A.wrapException(new A.JsonCyclicError(object, null));
  37308. }
  37309. t1.push(object);
  37310. },
  37311. writeObject$1(object) {
  37312. var customJson, e, t1, exception, _this = this;
  37313. if (_this.writeJsonValue$1(object))
  37314. return;
  37315. _this._checkCycle$1(object);
  37316. try {
  37317. customJson = _this._toEncodable.call$1(object);
  37318. if (!_this.writeJsonValue$1(customJson)) {
  37319. t1 = A.JsonUnsupportedObjectError$(object, null, _this.get$_partialResult());
  37320. throw A.wrapException(t1);
  37321. }
  37322. _this._seen.pop();
  37323. } catch (exception) {
  37324. e = A.unwrapException(exception);
  37325. t1 = A.JsonUnsupportedObjectError$(object, e, _this.get$_partialResult());
  37326. throw A.wrapException(t1);
  37327. }
  37328. },
  37329. writeJsonValue$1(object) {
  37330. var success, _this = this;
  37331. if (typeof object == "number") {
  37332. if (!isFinite(object))
  37333. return false;
  37334. _this.writeNumber$1(object);
  37335. return true;
  37336. } else if (object === true) {
  37337. _this.writeString$1("true");
  37338. return true;
  37339. } else if (object === false) {
  37340. _this.writeString$1("false");
  37341. return true;
  37342. } else if (object == null) {
  37343. _this.writeString$1("null");
  37344. return true;
  37345. } else if (typeof object == "string") {
  37346. _this.writeString$1('"');
  37347. _this.writeStringContent$1(object);
  37348. _this.writeString$1('"');
  37349. return true;
  37350. } else if (type$.List_dynamic._is(object)) {
  37351. _this._checkCycle$1(object);
  37352. _this.writeList$1(object);
  37353. _this._seen.pop();
  37354. return true;
  37355. } else if (type$.Map_dynamic_dynamic._is(object)) {
  37356. _this._checkCycle$1(object);
  37357. success = _this.writeMap$1(object);
  37358. _this._seen.pop();
  37359. return success;
  37360. } else
  37361. return false;
  37362. },
  37363. writeList$1(list) {
  37364. var t1, i, _this = this;
  37365. _this.writeString$1("[");
  37366. t1 = J.getInterceptor$asx(list);
  37367. if (t1.get$isNotEmpty(list)) {
  37368. _this.writeObject$1(t1.$index(list, 0));
  37369. for (i = 1; i < t1.get$length(list); ++i) {
  37370. _this.writeString$1(",");
  37371. _this.writeObject$1(t1.$index(list, i));
  37372. }
  37373. }
  37374. _this.writeString$1("]");
  37375. },
  37376. writeMap$1(map) {
  37377. var t1, keyValueList, i, separator, _this = this, _box_0 = {};
  37378. if (map.get$isEmpty(map)) {
  37379. _this.writeString$1("{}");
  37380. return true;
  37381. }
  37382. t1 = map.get$length(map) * 2;
  37383. keyValueList = A.List_List$filled(t1, null, false, type$.nullable_Object);
  37384. i = _box_0.i = 0;
  37385. _box_0.allStringKeys = true;
  37386. map.forEach$1(0, new A._JsonStringifier_writeMap_closure(_box_0, keyValueList));
  37387. if (!_box_0.allStringKeys)
  37388. return false;
  37389. _this.writeString$1("{");
  37390. for (separator = '"'; i < t1; i += 2, separator = ',"') {
  37391. _this.writeString$1(separator);
  37392. _this.writeStringContent$1(A._asString(keyValueList[i]));
  37393. _this.writeString$1('":');
  37394. _this.writeObject$1(keyValueList[i + 1]);
  37395. }
  37396. _this.writeString$1("}");
  37397. return true;
  37398. }
  37399. };
  37400. A._JsonStringifier_writeMap_closure.prototype = {
  37401. call$2(key, value) {
  37402. var t1, t2, t3, i;
  37403. if (typeof key != "string")
  37404. this._box_0.allStringKeys = false;
  37405. t1 = this.keyValueList;
  37406. t2 = this._box_0;
  37407. t3 = t2.i;
  37408. i = t2.i = t3 + 1;
  37409. t1[t3] = key;
  37410. t2.i = i + 1;
  37411. t1[i] = value;
  37412. },
  37413. $signature: 275
  37414. };
  37415. A._JsonStringStringifier.prototype = {
  37416. get$_partialResult() {
  37417. var t1 = this._sink._contents;
  37418. return t1.charCodeAt(0) == 0 ? t1 : t1;
  37419. },
  37420. writeNumber$1(number) {
  37421. this._sink._contents += B.JSNumber_methods.toString$0(number);
  37422. },
  37423. writeString$1(string) {
  37424. this._sink._contents += string;
  37425. },
  37426. writeStringSlice$3(string, start, end) {
  37427. this._sink._contents += B.JSString_methods.substring$2(string, start, end);
  37428. },
  37429. writeCharCode$1(charCode) {
  37430. this._sink._contents += A.Primitives_stringFromCharCode(charCode);
  37431. }
  37432. };
  37433. A.StringConversionSink.prototype = {};
  37434. A._StringSinkConversionSink.prototype = {
  37435. close$0(_) {
  37436. }
  37437. };
  37438. A._StringCallbackSink.prototype = {
  37439. close$0(_) {
  37440. var t1 = this._stringSink,
  37441. t2 = t1._contents;
  37442. t1._contents = "";
  37443. this._convert$_callback.call$1(t2.charCodeAt(0) == 0 ? t2 : t2);
  37444. },
  37445. asUtf8Sink$1(allowMalformed) {
  37446. return new A._Utf8StringSinkAdapter(new A._Utf8Decoder(allowMalformed), this, this._stringSink);
  37447. }
  37448. };
  37449. A._Utf8StringSinkAdapter.prototype = {
  37450. close$0(_) {
  37451. this._decoder.flush$1(this._stringSink);
  37452. this._sink.close$0(0);
  37453. },
  37454. add$1(_, chunk) {
  37455. this.addSlice$4(chunk, 0, J.get$length$asx(chunk), false);
  37456. },
  37457. addSlice$4(codeUnits, startIndex, endIndex, isLast) {
  37458. this._stringSink._contents += this._decoder.convertGeneral$4(codeUnits, startIndex, endIndex, false);
  37459. if (isLast)
  37460. this.close$0(0);
  37461. }
  37462. };
  37463. A.Utf8Codec.prototype = {
  37464. encode$1(string) {
  37465. return B.C_Utf8Encoder.convert$1(string);
  37466. }
  37467. };
  37468. A.Utf8Encoder.prototype = {
  37469. convert$1(string) {
  37470. var t1, encoder,
  37471. end = A.RangeError_checkValidRange(0, null, string.length),
  37472. $length = end - 0;
  37473. if ($length === 0)
  37474. return new Uint8Array(0);
  37475. t1 = new Uint8Array($length * 3);
  37476. encoder = new A._Utf8Encoder(t1);
  37477. if (encoder._fillBuffer$3(string, 0, end) !== end)
  37478. encoder._writeReplacementCharacter$0();
  37479. return B.NativeUint8List_methods.sublist$2(t1, 0, encoder._bufferIndex);
  37480. }
  37481. };
  37482. A._Utf8Encoder.prototype = {
  37483. _writeReplacementCharacter$0() {
  37484. var _this = this,
  37485. t1 = _this._buffer,
  37486. t2 = _this._bufferIndex,
  37487. t3 = _this._bufferIndex = t2 + 1;
  37488. t1[t2] = 239;
  37489. t2 = _this._bufferIndex = t3 + 1;
  37490. t1[t3] = 191;
  37491. _this._bufferIndex = t2 + 1;
  37492. t1[t2] = 189;
  37493. },
  37494. _writeSurrogate$2(leadingSurrogate, nextCodeUnit) {
  37495. var rune, t1, t2, t3, _this = this;
  37496. if ((nextCodeUnit & 64512) === 56320) {
  37497. rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023;
  37498. t1 = _this._buffer;
  37499. t2 = _this._bufferIndex;
  37500. t3 = _this._bufferIndex = t2 + 1;
  37501. t1[t2] = rune >>> 18 | 240;
  37502. t2 = _this._bufferIndex = t3 + 1;
  37503. t1[t3] = rune >>> 12 & 63 | 128;
  37504. t3 = _this._bufferIndex = t2 + 1;
  37505. t1[t2] = rune >>> 6 & 63 | 128;
  37506. _this._bufferIndex = t3 + 1;
  37507. t1[t3] = rune & 63 | 128;
  37508. return true;
  37509. } else {
  37510. _this._writeReplacementCharacter$0();
  37511. return false;
  37512. }
  37513. },
  37514. _fillBuffer$3(str, start, end) {
  37515. var t1, t2, stringIndex, codeUnit, t3, stringIndex0, t4, _this = this;
  37516. if (start !== end && (str.charCodeAt(end - 1) & 64512) === 55296)
  37517. --end;
  37518. for (t1 = _this._buffer, t2 = t1.length, stringIndex = start; stringIndex < end; ++stringIndex) {
  37519. codeUnit = str.charCodeAt(stringIndex);
  37520. if (codeUnit <= 127) {
  37521. t3 = _this._bufferIndex;
  37522. if (t3 >= t2)
  37523. break;
  37524. _this._bufferIndex = t3 + 1;
  37525. t1[t3] = codeUnit;
  37526. } else {
  37527. t3 = codeUnit & 64512;
  37528. if (t3 === 55296) {
  37529. if (_this._bufferIndex + 4 > t2)
  37530. break;
  37531. stringIndex0 = stringIndex + 1;
  37532. if (_this._writeSurrogate$2(codeUnit, str.charCodeAt(stringIndex0)))
  37533. stringIndex = stringIndex0;
  37534. } else if (t3 === 56320) {
  37535. if (_this._bufferIndex + 3 > t2)
  37536. break;
  37537. _this._writeReplacementCharacter$0();
  37538. } else if (codeUnit <= 2047) {
  37539. t3 = _this._bufferIndex;
  37540. t4 = t3 + 1;
  37541. if (t4 >= t2)
  37542. break;
  37543. _this._bufferIndex = t4;
  37544. t1[t3] = codeUnit >>> 6 | 192;
  37545. _this._bufferIndex = t4 + 1;
  37546. t1[t4] = codeUnit & 63 | 128;
  37547. } else {
  37548. t3 = _this._bufferIndex;
  37549. if (t3 + 2 >= t2)
  37550. break;
  37551. t4 = _this._bufferIndex = t3 + 1;
  37552. t1[t3] = codeUnit >>> 12 | 224;
  37553. t3 = _this._bufferIndex = t4 + 1;
  37554. t1[t4] = codeUnit >>> 6 & 63 | 128;
  37555. _this._bufferIndex = t3 + 1;
  37556. t1[t3] = codeUnit & 63 | 128;
  37557. }
  37558. }
  37559. }
  37560. return stringIndex;
  37561. }
  37562. };
  37563. A.Utf8Decoder.prototype = {
  37564. convert$1(codeUnits) {
  37565. var t1 = this._allowMalformed,
  37566. result = A.Utf8Decoder__convertIntercepted(t1, codeUnits, 0, null);
  37567. if (result != null)
  37568. return result;
  37569. return new A._Utf8Decoder(t1).convertGeneral$4(codeUnits, 0, null, true);
  37570. }
  37571. };
  37572. A._Utf8Decoder.prototype = {
  37573. convertGeneral$4(codeUnits, start, maybeEnd, single) {
  37574. var bytes, errorOffset, result, t1, message, _this = this,
  37575. end = A.RangeError_checkValidRange(start, maybeEnd, J.get$length$asx(codeUnits));
  37576. if (start === end)
  37577. return "";
  37578. if (type$.Uint8List._is(codeUnits)) {
  37579. bytes = codeUnits;
  37580. errorOffset = 0;
  37581. } else {
  37582. bytes = A._Utf8Decoder__makeUint8List(codeUnits, start, end);
  37583. end -= start;
  37584. errorOffset = start;
  37585. start = 0;
  37586. }
  37587. result = _this._convertRecursive$4(bytes, start, end, single);
  37588. t1 = _this._convert$_state;
  37589. if ((t1 & 1) !== 0) {
  37590. message = A._Utf8Decoder_errorDescription(t1);
  37591. _this._convert$_state = 0;
  37592. throw A.wrapException(A.FormatException$(message, codeUnits, errorOffset + _this._charOrIndex));
  37593. }
  37594. return result;
  37595. },
  37596. _convertRecursive$4(bytes, start, end, single) {
  37597. var mid, s1, _this = this;
  37598. if (end - start > 1000) {
  37599. mid = B.JSInt_methods._tdivFast$1(start + end, 2);
  37600. s1 = _this._convertRecursive$4(bytes, start, mid, false);
  37601. if ((_this._convert$_state & 1) !== 0)
  37602. return s1;
  37603. return s1 + _this._convertRecursive$4(bytes, mid, end, single);
  37604. }
  37605. return _this.decodeGeneral$4(bytes, start, end, single);
  37606. },
  37607. flush$1(sink) {
  37608. var state = this._convert$_state;
  37609. this._convert$_state = 0;
  37610. if (state <= 32)
  37611. return;
  37612. if (this.allowMalformed)
  37613. sink._contents += A.Primitives_stringFromCharCode(65533);
  37614. else
  37615. throw A.wrapException(A.FormatException$(A._Utf8Decoder_errorDescription(77), null, null));
  37616. },
  37617. decodeGeneral$4(bytes, start, end, single) {
  37618. var t1, type, t2, i0, markEnd, i1, m, _this = this, _65533 = 65533,
  37619. state = _this._convert$_state,
  37620. char = _this._charOrIndex,
  37621. buffer = new A.StringBuffer(""),
  37622. i = start + 1,
  37623. byte = bytes[start];
  37624. $label0$0:
  37625. for (t1 = _this.allowMalformed; true;) {
  37626. for (; true; i = i0) {
  37627. type = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE".charCodeAt(byte) & 31;
  37628. char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0;
  37629. state = " \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\x00\x00\x00\x00\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\x800AAAAA\x00\x00\x00\x00 AAAAA".charCodeAt(state + type);
  37630. if (state === 0) {
  37631. buffer._contents += A.Primitives_stringFromCharCode(char);
  37632. if (i === end)
  37633. break $label0$0;
  37634. break;
  37635. } else if ((state & 1) !== 0) {
  37636. if (t1)
  37637. switch (state) {
  37638. case 69:
  37639. case 67:
  37640. buffer._contents += A.Primitives_stringFromCharCode(_65533);
  37641. break;
  37642. case 65:
  37643. buffer._contents += A.Primitives_stringFromCharCode(_65533);
  37644. --i;
  37645. break;
  37646. default:
  37647. t2 = buffer._contents += A.Primitives_stringFromCharCode(_65533);
  37648. buffer._contents = t2 + A.Primitives_stringFromCharCode(_65533);
  37649. break;
  37650. }
  37651. else {
  37652. _this._convert$_state = state;
  37653. _this._charOrIndex = i - 1;
  37654. return "";
  37655. }
  37656. state = 0;
  37657. }
  37658. if (i === end)
  37659. break $label0$0;
  37660. i0 = i + 1;
  37661. byte = bytes[i];
  37662. }
  37663. i0 = i + 1;
  37664. byte = bytes[i];
  37665. if (byte < 128) {
  37666. while (true) {
  37667. if (!(i0 < end)) {
  37668. markEnd = end;
  37669. break;
  37670. }
  37671. i1 = i0 + 1;
  37672. byte = bytes[i0];
  37673. if (byte >= 128) {
  37674. markEnd = i1 - 1;
  37675. i0 = i1;
  37676. break;
  37677. }
  37678. i0 = i1;
  37679. }
  37680. if (markEnd - i < 20)
  37681. for (m = i; m < markEnd; ++m)
  37682. buffer._contents += A.Primitives_stringFromCharCode(bytes[m]);
  37683. else
  37684. buffer._contents += A.String_String$fromCharCodes(bytes, i, markEnd);
  37685. if (markEnd === end)
  37686. break $label0$0;
  37687. i = i0;
  37688. } else
  37689. i = i0;
  37690. }
  37691. if (single && state > 32)
  37692. if (t1)
  37693. buffer._contents += A.Primitives_stringFromCharCode(_65533);
  37694. else {
  37695. _this._convert$_state = 77;
  37696. _this._charOrIndex = end;
  37697. return "";
  37698. }
  37699. _this._convert$_state = state;
  37700. _this._charOrIndex = char;
  37701. t1 = buffer._contents;
  37702. return t1.charCodeAt(0) == 0 ? t1 : t1;
  37703. }
  37704. };
  37705. A.NoSuchMethodError_toString_closure.prototype = {
  37706. call$2(key, value) {
  37707. var t1 = this.sb,
  37708. t2 = this._box_0,
  37709. t3 = t1._contents += t2.comma;
  37710. t3 += key.__internal$_name;
  37711. t1._contents = t3;
  37712. t1._contents = t3 + ": ";
  37713. t1._contents += A.Error_safeToString(value);
  37714. t2.comma = ", ";
  37715. },
  37716. $signature: 535
  37717. };
  37718. A.DateTime.prototype = {
  37719. $eq(_, other) {
  37720. if (other == null)
  37721. return false;
  37722. return other instanceof A.DateTime && this._core$_value === other._core$_value && true;
  37723. },
  37724. compareTo$1(_, other) {
  37725. return B.JSInt_methods.compareTo$1(this._core$_value, other._core$_value);
  37726. },
  37727. get$hashCode(_) {
  37728. var t1 = this._core$_value;
  37729. return (t1 ^ B.JSInt_methods._shrOtherPositive$1(t1, 30)) & 1073741823;
  37730. },
  37731. toString$0(_) {
  37732. var _this = this,
  37733. y = A.DateTime__fourDigits(A.Primitives_getYear(_this)),
  37734. m = A.DateTime__twoDigits(A.Primitives_getMonth(_this)),
  37735. d = A.DateTime__twoDigits(A.Primitives_getDay(_this)),
  37736. h = A.DateTime__twoDigits(A.Primitives_getHours(_this)),
  37737. min = A.DateTime__twoDigits(A.Primitives_getMinutes(_this)),
  37738. sec = A.DateTime__twoDigits(A.Primitives_getSeconds(_this)),
  37739. ms = A.DateTime__threeDigits(A.Primitives_getMilliseconds(_this));
  37740. return y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms;
  37741. },
  37742. $isComparable: 1
  37743. };
  37744. A.Duration.prototype = {
  37745. $eq(_, other) {
  37746. if (other == null)
  37747. return false;
  37748. return other instanceof A.Duration && this._duration === other._duration;
  37749. },
  37750. get$hashCode(_) {
  37751. return B.JSInt_methods.get$hashCode(this._duration);
  37752. },
  37753. compareTo$1(_, other) {
  37754. return B.JSInt_methods.compareTo$1(this._duration, other._duration);
  37755. },
  37756. toString$0(_) {
  37757. var sign, minutes, minutesPadding, seconds, secondsPadding,
  37758. microseconds = this._duration,
  37759. hours = B.JSInt_methods._tdivFast$1(microseconds, 3600000000),
  37760. microseconds0 = microseconds % 3600000000;
  37761. if (microseconds < 0) {
  37762. hours = 0 - hours;
  37763. microseconds = 0 - microseconds0;
  37764. sign = "-";
  37765. } else {
  37766. microseconds = microseconds0;
  37767. sign = "";
  37768. }
  37769. minutes = B.JSInt_methods._tdivFast$1(microseconds, 60000000);
  37770. microseconds %= 60000000;
  37771. minutesPadding = minutes < 10 ? "0" : "";
  37772. seconds = B.JSInt_methods._tdivFast$1(microseconds, 1000000);
  37773. secondsPadding = seconds < 10 ? "0" : "";
  37774. return sign + hours + ":" + minutesPadding + minutes + ":" + secondsPadding + seconds + "." + B.JSString_methods.padLeft$2(B.JSInt_methods.toString$0(microseconds % 1000000), 6, "0");
  37775. },
  37776. $isComparable: 1
  37777. };
  37778. A._Enum.prototype = {
  37779. toString$0(_) {
  37780. return this._enumToString$0();
  37781. }
  37782. };
  37783. A.Error.prototype = {
  37784. get$stackTrace() {
  37785. return A.getTraceFromException(this.$thrownJsError);
  37786. }
  37787. };
  37788. A.AssertionError.prototype = {
  37789. toString$0(_) {
  37790. var t1 = this.message;
  37791. if (t1 != null)
  37792. return "Assertion failed: " + A.Error_safeToString(t1);
  37793. return "Assertion failed";
  37794. },
  37795. get$message(receiver) {
  37796. return this.message;
  37797. }
  37798. };
  37799. A.TypeError.prototype = {};
  37800. A.ArgumentError.prototype = {
  37801. get$_errorName() {
  37802. return "Invalid argument" + (!this._hasValue ? "(s)" : "");
  37803. },
  37804. get$_errorExplanation() {
  37805. return "";
  37806. },
  37807. toString$0(_) {
  37808. var _this = this,
  37809. $name = _this.name,
  37810. nameString = $name == null ? "" : " (" + $name + ")",
  37811. message = _this.message,
  37812. messageString = message == null ? "" : ": " + A.S(message),
  37813. prefix = _this.get$_errorName() + nameString + messageString;
  37814. if (!_this._hasValue)
  37815. return prefix;
  37816. return prefix + _this.get$_errorExplanation() + ": " + A.Error_safeToString(_this.get$invalidValue());
  37817. },
  37818. get$invalidValue() {
  37819. return this.invalidValue;
  37820. },
  37821. get$message(receiver) {
  37822. return this.message;
  37823. }
  37824. };
  37825. A.RangeError.prototype = {
  37826. get$invalidValue() {
  37827. return this.invalidValue;
  37828. },
  37829. get$_errorName() {
  37830. return "RangeError";
  37831. },
  37832. get$_errorExplanation() {
  37833. var explanation,
  37834. start = this.start,
  37835. end = this.end;
  37836. if (start == null)
  37837. explanation = end != null ? ": Not less than or equal to " + A.S(end) : "";
  37838. else if (end == null)
  37839. explanation = ": Not greater than or equal to " + A.S(start);
  37840. else if (end > start)
  37841. explanation = ": Not in inclusive range " + A.S(start) + ".." + A.S(end);
  37842. else
  37843. explanation = end < start ? ": Valid value range is empty" : ": Only valid value is " + A.S(start);
  37844. return explanation;
  37845. }
  37846. };
  37847. A.IndexError.prototype = {
  37848. get$invalidValue() {
  37849. return this.invalidValue;
  37850. },
  37851. get$_errorName() {
  37852. return "RangeError";
  37853. },
  37854. get$_errorExplanation() {
  37855. if (this.invalidValue < 0)
  37856. return ": index must not be negative";
  37857. var t1 = this.length;
  37858. if (t1 === 0)
  37859. return ": no indices are valid";
  37860. return ": index should be less than " + t1;
  37861. },
  37862. $isRangeError: 1,
  37863. get$length(receiver) {
  37864. return this.length;
  37865. }
  37866. };
  37867. A.NoSuchMethodError.prototype = {
  37868. toString$0(_) {
  37869. var $arguments, t1, _i, t2, t3, argument, receiverText, actualParameters, _this = this, _box_0 = {},
  37870. sb = new A.StringBuffer("");
  37871. _box_0.comma = "";
  37872. $arguments = _this._core$_arguments;
  37873. for (t1 = $arguments.length, _i = 0, t2 = "", t3 = ""; _i < t1; ++_i, t3 = ", ") {
  37874. argument = $arguments[_i];
  37875. sb._contents = t2 + t3;
  37876. t2 = sb._contents += A.Error_safeToString(argument);
  37877. _box_0.comma = ", ";
  37878. }
  37879. _this._namedArguments.forEach$1(0, new A.NoSuchMethodError_toString_closure(_box_0, sb));
  37880. receiverText = A.Error_safeToString(_this._core$_receiver);
  37881. actualParameters = sb.toString$0(0);
  37882. return "NoSuchMethodError: method not found: '" + _this._memberName.__internal$_name + "'\nReceiver: " + receiverText + "\nArguments: [" + actualParameters + "]";
  37883. }
  37884. };
  37885. A.UnsupportedError.prototype = {
  37886. toString$0(_) {
  37887. return "Unsupported operation: " + this.message;
  37888. },
  37889. get$message(receiver) {
  37890. return this.message;
  37891. }
  37892. };
  37893. A.UnimplementedError.prototype = {
  37894. toString$0(_) {
  37895. return "UnimplementedError: " + this.message;
  37896. },
  37897. get$message(receiver) {
  37898. return this.message;
  37899. }
  37900. };
  37901. A.StateError.prototype = {
  37902. toString$0(_) {
  37903. return "Bad state: " + this.message;
  37904. },
  37905. get$message(receiver) {
  37906. return this.message;
  37907. }
  37908. };
  37909. A.ConcurrentModificationError.prototype = {
  37910. toString$0(_) {
  37911. var t1 = this.modifiedObject;
  37912. if (t1 == null)
  37913. return "Concurrent modification during iteration.";
  37914. return "Concurrent modification during iteration: " + A.Error_safeToString(t1) + ".";
  37915. }
  37916. };
  37917. A.OutOfMemoryError.prototype = {
  37918. toString$0(_) {
  37919. return "Out of Memory";
  37920. },
  37921. get$stackTrace() {
  37922. return null;
  37923. },
  37924. $isError: 1
  37925. };
  37926. A.StackOverflowError.prototype = {
  37927. toString$0(_) {
  37928. return "Stack Overflow";
  37929. },
  37930. get$stackTrace() {
  37931. return null;
  37932. },
  37933. $isError: 1
  37934. };
  37935. A._Exception.prototype = {
  37936. toString$0(_) {
  37937. return "Exception: " + this.message;
  37938. },
  37939. $isException: 1,
  37940. get$message(receiver) {
  37941. return this.message;
  37942. }
  37943. };
  37944. A.FormatException.prototype = {
  37945. toString$0(_) {
  37946. var t1, lineNum, lineStart, previousCharWasCR, i, char, lineEnd, end, start, prefix, postfix,
  37947. message = this.message,
  37948. report = "" !== message ? "FormatException: " + message : "FormatException",
  37949. offset = this.offset,
  37950. source = this.source;
  37951. if (typeof source == "string") {
  37952. if (offset != null)
  37953. t1 = offset < 0 || offset > source.length;
  37954. else
  37955. t1 = false;
  37956. if (t1)
  37957. offset = null;
  37958. if (offset == null) {
  37959. if (source.length > 78)
  37960. source = B.JSString_methods.substring$2(source, 0, 75) + "...";
  37961. return report + "\n" + source;
  37962. }
  37963. for (lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) {
  37964. char = source.charCodeAt(i);
  37965. if (char === 10) {
  37966. if (lineStart !== i || !previousCharWasCR)
  37967. ++lineNum;
  37968. lineStart = i + 1;
  37969. previousCharWasCR = false;
  37970. } else if (char === 13) {
  37971. ++lineNum;
  37972. lineStart = i + 1;
  37973. previousCharWasCR = true;
  37974. }
  37975. }
  37976. report = lineNum > 1 ? report + (" (at line " + lineNum + ", character " + (offset - lineStart + 1) + ")\n") : report + (" (at character " + (offset + 1) + ")\n");
  37977. lineEnd = source.length;
  37978. for (i = offset; i < lineEnd; ++i) {
  37979. char = source.charCodeAt(i);
  37980. if (char === 10 || char === 13) {
  37981. lineEnd = i;
  37982. break;
  37983. }
  37984. }
  37985. if (lineEnd - lineStart > 78)
  37986. if (offset - lineStart < 75) {
  37987. end = lineStart + 75;
  37988. start = lineStart;
  37989. prefix = "";
  37990. postfix = "...";
  37991. } else {
  37992. if (lineEnd - offset < 75) {
  37993. start = lineEnd - 75;
  37994. end = lineEnd;
  37995. postfix = "";
  37996. } else {
  37997. start = offset - 36;
  37998. end = offset + 36;
  37999. postfix = "...";
  38000. }
  38001. prefix = "...";
  38002. }
  38003. else {
  38004. end = lineEnd;
  38005. start = lineStart;
  38006. prefix = "";
  38007. postfix = "";
  38008. }
  38009. return report + prefix + B.JSString_methods.substring$2(source, start, end) + postfix + "\n" + B.JSString_methods.$mul(" ", offset - start + prefix.length) + "^\n";
  38010. } else
  38011. return offset != null ? report + (" (at offset " + A.S(offset) + ")") : report;
  38012. },
  38013. $isException: 1,
  38014. get$message(receiver) {
  38015. return this.message;
  38016. }
  38017. };
  38018. A.Iterable.prototype = {
  38019. cast$1$0(_, $R) {
  38020. return A.CastIterable_CastIterable(this, A._instanceType(this)._eval$1("Iterable.E"), $R);
  38021. },
  38022. followedBy$1(_, other) {
  38023. var _this = this,
  38024. t1 = A._instanceType(_this);
  38025. if (t1._eval$1("EfficientLengthIterable<Iterable.E>")._is(_this))
  38026. return A.FollowedByIterable_FollowedByIterable$firstEfficient(_this, other, t1._eval$1("Iterable.E"));
  38027. return new A.FollowedByIterable(_this, other, t1._eval$1("FollowedByIterable<Iterable.E>"));
  38028. },
  38029. map$1$1(_, toElement, $T) {
  38030. return A.MappedIterable_MappedIterable(this, toElement, A._instanceType(this)._eval$1("Iterable.E"), $T);
  38031. },
  38032. where$1(_, test) {
  38033. return new A.WhereIterable(this, test, A._instanceType(this)._eval$1("WhereIterable<Iterable.E>"));
  38034. },
  38035. expand$1$1(_, toElements, $T) {
  38036. return new A.ExpandIterable(this, toElements, A._instanceType(this)._eval$1("@<Iterable.E>")._bind$1($T)._eval$1("ExpandIterable<1,2>"));
  38037. },
  38038. contains$1(_, element) {
  38039. var t1;
  38040. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  38041. if (J.$eq$(t1.get$current(t1), element))
  38042. return true;
  38043. return false;
  38044. },
  38045. forEach$1(_, action) {
  38046. var t1;
  38047. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  38048. action.call$1(t1.get$current(t1));
  38049. },
  38050. fold$1$2(_, initialValue, combine) {
  38051. var t1, value;
  38052. for (t1 = this.get$iterator(this), value = initialValue; t1.moveNext$0();)
  38053. value = combine.call$2(value, t1.get$current(t1));
  38054. return value;
  38055. },
  38056. fold$2($receiver, initialValue, combine) {
  38057. return this.fold$1$2($receiver, initialValue, combine, type$.dynamic);
  38058. },
  38059. join$1(_, separator) {
  38060. var first, t1,
  38061. iterator = this.get$iterator(this);
  38062. if (!iterator.moveNext$0())
  38063. return "";
  38064. first = J.toString$0$(iterator.get$current(iterator));
  38065. if (!iterator.moveNext$0())
  38066. return first;
  38067. if (separator.length === 0) {
  38068. t1 = first;
  38069. do
  38070. t1 += A.S(J.toString$0$(iterator.get$current(iterator)));
  38071. while (iterator.moveNext$0());
  38072. } else {
  38073. t1 = first;
  38074. do
  38075. t1 = t1 + separator + A.S(J.toString$0$(iterator.get$current(iterator)));
  38076. while (iterator.moveNext$0());
  38077. }
  38078. return t1.charCodeAt(0) == 0 ? t1 : t1;
  38079. },
  38080. any$1(_, test) {
  38081. var t1;
  38082. for (t1 = this.get$iterator(this); t1.moveNext$0();)
  38083. if (test.call$1(t1.get$current(t1)))
  38084. return true;
  38085. return false;
  38086. },
  38087. toList$1$growable(_, growable) {
  38088. return A.List_List$of(this, growable, A._instanceType(this)._eval$1("Iterable.E"));
  38089. },
  38090. toList$0($receiver) {
  38091. return this.toList$1$growable($receiver, true);
  38092. },
  38093. toSet$0(_) {
  38094. return A.LinkedHashSet_LinkedHashSet$of(this, A._instanceType(this)._eval$1("Iterable.E"));
  38095. },
  38096. get$length(_) {
  38097. var count,
  38098. it = this.get$iterator(this);
  38099. for (count = 0; it.moveNext$0();)
  38100. ++count;
  38101. return count;
  38102. },
  38103. get$isEmpty(_) {
  38104. return !this.get$iterator(this).moveNext$0();
  38105. },
  38106. get$isNotEmpty(_) {
  38107. return !this.get$isEmpty(this);
  38108. },
  38109. take$1(_, count) {
  38110. return A.TakeIterable_TakeIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  38111. },
  38112. skip$1(_, count) {
  38113. return A.SkipIterable_SkipIterable(this, count, A._instanceType(this)._eval$1("Iterable.E"));
  38114. },
  38115. skipWhile$1(_, test) {
  38116. return new A.SkipWhileIterable(this, test, A._instanceType(this)._eval$1("SkipWhileIterable<Iterable.E>"));
  38117. },
  38118. get$first(_) {
  38119. var it = this.get$iterator(this);
  38120. if (!it.moveNext$0())
  38121. throw A.wrapException(A.IterableElementError_noElement());
  38122. return it.get$current(it);
  38123. },
  38124. get$last(_) {
  38125. var result,
  38126. it = this.get$iterator(this);
  38127. if (!it.moveNext$0())
  38128. throw A.wrapException(A.IterableElementError_noElement());
  38129. do
  38130. result = it.get$current(it);
  38131. while (it.moveNext$0());
  38132. return result;
  38133. },
  38134. get$single(_) {
  38135. var result,
  38136. it = this.get$iterator(this);
  38137. if (!it.moveNext$0())
  38138. throw A.wrapException(A.IterableElementError_noElement());
  38139. result = it.get$current(it);
  38140. if (it.moveNext$0())
  38141. throw A.wrapException(A.IterableElementError_tooMany());
  38142. return result;
  38143. },
  38144. elementAt$1(_, index) {
  38145. var iterator, skipCount;
  38146. A.RangeError_checkNotNegative(index, "index");
  38147. iterator = this.get$iterator(this);
  38148. for (skipCount = index; iterator.moveNext$0();) {
  38149. if (skipCount === 0)
  38150. return iterator.get$current(iterator);
  38151. --skipCount;
  38152. }
  38153. throw A.wrapException(A.IndexError$withLength(index, index - skipCount, this, null, "index"));
  38154. },
  38155. toString$0(_) {
  38156. return A.Iterable_iterableToShortString(this, "(", ")");
  38157. }
  38158. };
  38159. A._GeneratorIterable.prototype = {
  38160. elementAt$1(_, index) {
  38161. A.IndexError_check(index, this.length, this, null, null);
  38162. return this._generator.call$1(index);
  38163. },
  38164. get$length(receiver) {
  38165. return this.length;
  38166. }
  38167. };
  38168. A.MapEntry.prototype = {
  38169. toString$0(_) {
  38170. return "MapEntry(" + A.S(this.key) + ": " + A.S(this.value) + ")";
  38171. }
  38172. };
  38173. A.Null.prototype = {
  38174. get$hashCode(_) {
  38175. return A.Object.prototype.get$hashCode.call(this, this);
  38176. },
  38177. toString$0(_) {
  38178. return "null";
  38179. }
  38180. };
  38181. A.Object.prototype = {$isObject: 1,
  38182. $eq(_, other) {
  38183. return this === other;
  38184. },
  38185. get$hashCode(_) {
  38186. return A.Primitives_objectHashCode(this);
  38187. },
  38188. toString$0(_) {
  38189. return "Instance of '" + A.Primitives_objectTypeName(this) + "'";
  38190. },
  38191. noSuchMethod$1(_, invocation) {
  38192. throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, invocation));
  38193. },
  38194. get$runtimeType(_) {
  38195. return A.getRuntimeTypeOfDartObject(this);
  38196. },
  38197. toString() {
  38198. return this.toString$0(this);
  38199. }
  38200. };
  38201. A._StringStackTrace.prototype = {
  38202. toString$0(_) {
  38203. return this._stackTrace;
  38204. },
  38205. $isStackTrace: 1
  38206. };
  38207. A.Runes.prototype = {
  38208. get$iterator(_) {
  38209. return new A.RuneIterator(this.string);
  38210. },
  38211. get$last(_) {
  38212. var code, previousCode,
  38213. t1 = this.string,
  38214. t2 = t1.length;
  38215. if (t2 === 0)
  38216. throw A.wrapException(A.StateError$("No elements."));
  38217. code = t1.charCodeAt(t2 - 1);
  38218. if ((code & 64512) === 56320 && t2 > 1) {
  38219. previousCode = t1.charCodeAt(t2 - 2);
  38220. if ((previousCode & 64512) === 55296)
  38221. return A._combineSurrogatePair(previousCode, code);
  38222. }
  38223. return code;
  38224. }
  38225. };
  38226. A.RuneIterator.prototype = {
  38227. get$current(_) {
  38228. return this._currentCodePoint;
  38229. },
  38230. moveNext$0() {
  38231. var codeUnit, nextPosition, nextCodeUnit, _this = this,
  38232. t1 = _this._position = _this._nextPosition,
  38233. t2 = _this.string,
  38234. t3 = t2.length;
  38235. if (t1 === t3) {
  38236. _this._currentCodePoint = -1;
  38237. return false;
  38238. }
  38239. codeUnit = t2.charCodeAt(t1);
  38240. nextPosition = t1 + 1;
  38241. if ((codeUnit & 64512) === 55296 && nextPosition < t3) {
  38242. nextCodeUnit = t2.charCodeAt(nextPosition);
  38243. if ((nextCodeUnit & 64512) === 56320) {
  38244. _this._nextPosition = nextPosition + 1;
  38245. _this._currentCodePoint = A._combineSurrogatePair(codeUnit, nextCodeUnit);
  38246. return true;
  38247. }
  38248. }
  38249. _this._nextPosition = nextPosition;
  38250. _this._currentCodePoint = codeUnit;
  38251. return true;
  38252. }
  38253. };
  38254. A.StringBuffer.prototype = {
  38255. get$length(_) {
  38256. return this._contents.length;
  38257. },
  38258. write$1(_, obj) {
  38259. this._contents += A.S(obj);
  38260. },
  38261. writeCharCode$1(charCode) {
  38262. this._contents += A.Primitives_stringFromCharCode(charCode);
  38263. },
  38264. toString$0(_) {
  38265. var t1 = this._contents;
  38266. return t1.charCodeAt(0) == 0 ? t1 : t1;
  38267. }
  38268. };
  38269. A.Uri__parseIPv4Address_error.prototype = {
  38270. call$2(msg, position) {
  38271. throw A.wrapException(A.FormatException$("Illegal IPv4 address, " + msg, this.host, position));
  38272. },
  38273. $signature: 629
  38274. };
  38275. A.Uri_parseIPv6Address_error.prototype = {
  38276. call$2(msg, position) {
  38277. throw A.wrapException(A.FormatException$("Illegal IPv6 address, " + msg, this.host, position));
  38278. },
  38279. $signature: 310
  38280. };
  38281. A.Uri_parseIPv6Address_parseHex.prototype = {
  38282. call$2(start, end) {
  38283. var value;
  38284. if (end - start > 4)
  38285. this.error.call$2("an IPv6 part can only contain a maximum of 4 hex digits", start);
  38286. value = A.int_parse(B.JSString_methods.substring$2(this.host, start, end), 16);
  38287. if (value < 0 || value > 65535)
  38288. this.error.call$2("each part must be in the range of `0x0..0xFFFF`", start);
  38289. return value;
  38290. },
  38291. $signature: 311
  38292. };
  38293. A._Uri.prototype = {
  38294. get$_text() {
  38295. var t1, t2, t3, t4, _this = this,
  38296. value = _this.___Uri__text_FI;
  38297. if (value === $) {
  38298. t1 = _this.scheme;
  38299. t2 = t1.length !== 0 ? "" + t1 + ":" : "";
  38300. t3 = _this._host;
  38301. t4 = t3 == null;
  38302. if (!t4 || t1 === "file") {
  38303. t1 = t2 + "//";
  38304. t2 = _this._userInfo;
  38305. if (t2.length !== 0)
  38306. t1 = t1 + t2 + "@";
  38307. if (!t4)
  38308. t1 += t3;
  38309. t2 = _this._port;
  38310. if (t2 != null)
  38311. t1 = t1 + ":" + A.S(t2);
  38312. } else
  38313. t1 = t2;
  38314. t1 += _this.path;
  38315. t2 = _this._query;
  38316. if (t2 != null)
  38317. t1 = t1 + "?" + t2;
  38318. t2 = _this._fragment;
  38319. if (t2 != null)
  38320. t1 = t1 + "#" + t2;
  38321. value !== $ && A.throwUnnamedLateFieldADI();
  38322. value = _this.___Uri__text_FI = t1.charCodeAt(0) == 0 ? t1 : t1;
  38323. }
  38324. return value;
  38325. },
  38326. get$pathSegments() {
  38327. var pathToSplit, result, _this = this,
  38328. value = _this.___Uri_pathSegments_FI;
  38329. if (value === $) {
  38330. pathToSplit = _this.path;
  38331. if (pathToSplit.length !== 0 && pathToSplit.charCodeAt(0) === 47)
  38332. pathToSplit = B.JSString_methods.substring$1(pathToSplit, 1);
  38333. 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);
  38334. _this.___Uri_pathSegments_FI !== $ && A.throwUnnamedLateFieldADI();
  38335. value = _this.___Uri_pathSegments_FI = result;
  38336. }
  38337. return value;
  38338. },
  38339. get$hashCode(_) {
  38340. var result, _this = this,
  38341. value = _this.___Uri_hashCode_FI;
  38342. if (value === $) {
  38343. result = B.JSString_methods.get$hashCode(_this.get$_text());
  38344. _this.___Uri_hashCode_FI !== $ && A.throwUnnamedLateFieldADI();
  38345. _this.___Uri_hashCode_FI = result;
  38346. value = result;
  38347. }
  38348. return value;
  38349. },
  38350. get$userInfo() {
  38351. return this._userInfo;
  38352. },
  38353. get$host() {
  38354. var host = this._host;
  38355. if (host == null)
  38356. return "";
  38357. if (B.JSString_methods.startsWith$1(host, "["))
  38358. return B.JSString_methods.substring$2(host, 1, host.length - 1);
  38359. return host;
  38360. },
  38361. get$port(_) {
  38362. var t1 = this._port;
  38363. return t1 == null ? A._Uri__defaultPort(this.scheme) : t1;
  38364. },
  38365. get$query() {
  38366. var t1 = this._query;
  38367. return t1 == null ? "" : t1;
  38368. },
  38369. get$fragment() {
  38370. var t1 = this._fragment;
  38371. return t1 == null ? "" : t1;
  38372. },
  38373. isScheme$1(scheme) {
  38374. var thisScheme = this.scheme;
  38375. if (scheme.length !== thisScheme.length)
  38376. return false;
  38377. return A._caseInsensitiveCompareStart(scheme, thisScheme, 0) >= 0;
  38378. },
  38379. _mergePaths$2(base, reference) {
  38380. var backCount, refStart, baseEnd, newEnd, delta, t1;
  38381. for (backCount = 0, refStart = 0; B.JSString_methods.startsWith$2(reference, "../", refStart);) {
  38382. refStart += 3;
  38383. ++backCount;
  38384. }
  38385. baseEnd = B.JSString_methods.lastIndexOf$1(base, "/");
  38386. while (true) {
  38387. if (!(baseEnd > 0 && backCount > 0))
  38388. break;
  38389. newEnd = B.JSString_methods.lastIndexOf$2(base, "/", baseEnd - 1);
  38390. if (newEnd < 0)
  38391. break;
  38392. delta = baseEnd - newEnd;
  38393. t1 = delta !== 2;
  38394. if (!t1 || delta === 3)
  38395. if (base.charCodeAt(newEnd + 1) === 46)
  38396. t1 = !t1 || base.charCodeAt(newEnd + 2) === 46;
  38397. else
  38398. t1 = false;
  38399. else
  38400. t1 = false;
  38401. if (t1)
  38402. break;
  38403. --backCount;
  38404. baseEnd = newEnd;
  38405. }
  38406. return B.JSString_methods.replaceRange$3(base, baseEnd + 1, null, B.JSString_methods.substring$1(reference, refStart - 3 * backCount));
  38407. },
  38408. resolve$1(reference) {
  38409. return this.resolveUri$1(A.Uri_parse(reference));
  38410. },
  38411. resolveUri$1(reference) {
  38412. var targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, packageNameEnd, packageName, mergedPath, t1, _this = this, _null = null;
  38413. if (reference.get$scheme().length !== 0) {
  38414. targetScheme = reference.get$scheme();
  38415. if (reference.get$hasAuthority()) {
  38416. targetUserInfo = reference.get$userInfo();
  38417. targetHost = reference.get$host();
  38418. targetPort = reference.get$hasPort() ? reference.get$port(reference) : _null;
  38419. } else {
  38420. targetPort = _null;
  38421. targetHost = targetPort;
  38422. targetUserInfo = "";
  38423. }
  38424. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  38425. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  38426. } else {
  38427. targetScheme = _this.scheme;
  38428. if (reference.get$hasAuthority()) {
  38429. targetUserInfo = reference.get$userInfo();
  38430. targetHost = reference.get$host();
  38431. targetPort = A._Uri__makePort(reference.get$hasPort() ? reference.get$port(reference) : _null, targetScheme);
  38432. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  38433. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  38434. } else {
  38435. targetUserInfo = _this._userInfo;
  38436. targetHost = _this._host;
  38437. targetPort = _this._port;
  38438. targetPath = _this.path;
  38439. if (reference.get$path(reference) === "")
  38440. targetQuery = reference.get$hasQuery() ? reference.get$query() : _this._query;
  38441. else {
  38442. packageNameEnd = A._Uri__packageNameEnd(_this, targetPath);
  38443. if (packageNameEnd > 0) {
  38444. packageName = B.JSString_methods.substring$2(targetPath, 0, packageNameEnd);
  38445. 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)));
  38446. } else if (reference.get$hasAbsolutePath())
  38447. targetPath = A._Uri__removeDotSegments(reference.get$path(reference));
  38448. else if (targetPath.length === 0)
  38449. if (targetHost == null)
  38450. targetPath = targetScheme.length === 0 ? reference.get$path(reference) : A._Uri__removeDotSegments(reference.get$path(reference));
  38451. else
  38452. targetPath = A._Uri__removeDotSegments("/" + reference.get$path(reference));
  38453. else {
  38454. mergedPath = _this._mergePaths$2(targetPath, reference.get$path(reference));
  38455. t1 = targetScheme.length === 0;
  38456. if (!t1 || targetHost != null || B.JSString_methods.startsWith$1(targetPath, "/"))
  38457. targetPath = A._Uri__removeDotSegments(mergedPath);
  38458. else
  38459. targetPath = A._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null);
  38460. }
  38461. targetQuery = reference.get$hasQuery() ? reference.get$query() : _null;
  38462. }
  38463. }
  38464. }
  38465. return A._Uri$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, reference.get$hasFragment() ? reference.get$fragment() : _null);
  38466. },
  38467. get$hasAuthority() {
  38468. return this._host != null;
  38469. },
  38470. get$hasPort() {
  38471. return this._port != null;
  38472. },
  38473. get$hasQuery() {
  38474. return this._query != null;
  38475. },
  38476. get$hasFragment() {
  38477. return this._fragment != null;
  38478. },
  38479. get$hasAbsolutePath() {
  38480. return B.JSString_methods.startsWith$1(this.path, "/");
  38481. },
  38482. toFilePath$0() {
  38483. var pathSegments, _this = this,
  38484. t1 = _this.scheme;
  38485. if (t1 !== "" && t1 !== "file")
  38486. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + t1 + " URI"));
  38487. t1 = _this._query;
  38488. if ((t1 == null ? "" : t1) !== "")
  38489. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  38490. t1 = _this._fragment;
  38491. if ((t1 == null ? "" : t1) !== "")
  38492. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  38493. t1 = $.$get$_Uri__isWindowsCached();
  38494. if (t1)
  38495. t1 = A._Uri__toWindowsFilePath(_this);
  38496. else {
  38497. if (_this._host != null && _this.get$host() !== "")
  38498. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  38499. pathSegments = _this.get$pathSegments();
  38500. A._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false);
  38501. t1 = A.StringBuffer__writeAll(B.JSString_methods.startsWith$1(_this.path, "/") ? "" + "/" : "", pathSegments, "/");
  38502. t1 = t1.charCodeAt(0) == 0 ? t1 : t1;
  38503. }
  38504. return t1;
  38505. },
  38506. toString$0(_) {
  38507. return this.get$_text();
  38508. },
  38509. $eq(_, other) {
  38510. var t1, t2, _this = this;
  38511. if (other == null)
  38512. return false;
  38513. if (_this === other)
  38514. return true;
  38515. if (type$.Uri._is(other))
  38516. if (_this.scheme === other.get$scheme())
  38517. if (_this._host != null === other.get$hasAuthority())
  38518. if (_this._userInfo === other.get$userInfo())
  38519. if (_this.get$host() === other.get$host())
  38520. if (_this.get$port(_this) === other.get$port(other))
  38521. if (_this.path === other.get$path(other)) {
  38522. t1 = _this._query;
  38523. t2 = t1 == null;
  38524. if (!t2 === other.get$hasQuery()) {
  38525. if (t2)
  38526. t1 = "";
  38527. if (t1 === other.get$query()) {
  38528. t1 = _this._fragment;
  38529. t2 = t1 == null;
  38530. if (!t2 === other.get$hasFragment()) {
  38531. if (t2)
  38532. t1 = "";
  38533. t1 = t1 === other.get$fragment();
  38534. } else
  38535. t1 = false;
  38536. } else
  38537. t1 = false;
  38538. } else
  38539. t1 = false;
  38540. } else
  38541. t1 = false;
  38542. else
  38543. t1 = false;
  38544. else
  38545. t1 = false;
  38546. else
  38547. t1 = false;
  38548. else
  38549. t1 = false;
  38550. else
  38551. t1 = false;
  38552. else
  38553. t1 = false;
  38554. return t1;
  38555. },
  38556. $isUri: 1,
  38557. get$scheme() {
  38558. return this.scheme;
  38559. },
  38560. get$path(receiver) {
  38561. return this.path;
  38562. }
  38563. };
  38564. A._Uri__makePath_closure.prototype = {
  38565. call$1(s) {
  38566. return A._Uri__uriEncode(B.List_XRg0, s, B.C_Utf8Codec, false);
  38567. },
  38568. $signature: 7
  38569. };
  38570. A.UriData.prototype = {
  38571. get$uri() {
  38572. var t2, queryIndex, end, query, _this = this, _null = null,
  38573. t1 = _this._uriCache;
  38574. if (t1 == null) {
  38575. t1 = _this._text;
  38576. t2 = _this._separatorIndices[0] + 1;
  38577. queryIndex = B.JSString_methods.indexOf$2(t1, "?", t2);
  38578. end = t1.length;
  38579. if (queryIndex >= 0) {
  38580. query = A._Uri__normalizeOrSubstring(t1, queryIndex + 1, end, B.List_oFp, false, false);
  38581. end = queryIndex;
  38582. } else
  38583. query = _null;
  38584. t1 = _this._uriCache = new A._DataUri("data", "", _null, _null, A._Uri__normalizeOrSubstring(t1, t2, end, B.List_XRg, false, false), query, _null);
  38585. }
  38586. return t1;
  38587. },
  38588. toString$0(_) {
  38589. var t1 = this._text;
  38590. return this._separatorIndices[0] === -1 ? "data:" + t1 : t1;
  38591. }
  38592. };
  38593. A._createTables_build.prototype = {
  38594. call$2(state, defaultTransition) {
  38595. var t1 = this.tables[state];
  38596. B.NativeUint8List_methods.fillRange$3(t1, 0, 96, defaultTransition);
  38597. return t1;
  38598. },
  38599. $signature: 326
  38600. };
  38601. A._createTables_setChars.prototype = {
  38602. call$3(target, chars, transition) {
  38603. var t1, i;
  38604. for (t1 = chars.length, i = 0; i < t1; ++i)
  38605. target[chars.charCodeAt(i) ^ 96] = transition;
  38606. },
  38607. $signature: 260
  38608. };
  38609. A._createTables_setRange.prototype = {
  38610. call$3(target, range, transition) {
  38611. var i, n;
  38612. for (i = range.charCodeAt(0), n = range.charCodeAt(1); i <= n; ++i)
  38613. target[(i ^ 96) >>> 0] = transition;
  38614. },
  38615. $signature: 260
  38616. };
  38617. A._SimpleUri.prototype = {
  38618. get$hasAuthority() {
  38619. return this._hostStart > 0;
  38620. },
  38621. get$hasPort() {
  38622. return this._hostStart > 0 && this._portStart + 1 < this._pathStart;
  38623. },
  38624. get$hasQuery() {
  38625. return this._queryStart < this._fragmentStart;
  38626. },
  38627. get$hasFragment() {
  38628. return this._fragmentStart < this._uri.length;
  38629. },
  38630. get$hasAbsolutePath() {
  38631. return B.JSString_methods.startsWith$2(this._uri, "/", this._pathStart);
  38632. },
  38633. get$scheme() {
  38634. var t1 = this._schemeCache;
  38635. return t1 == null ? this._schemeCache = this._computeScheme$0() : t1;
  38636. },
  38637. _computeScheme$0() {
  38638. var t2, _this = this,
  38639. t1 = _this._schemeEnd;
  38640. if (t1 <= 0)
  38641. return "";
  38642. t2 = t1 === 4;
  38643. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  38644. return "http";
  38645. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  38646. return "https";
  38647. if (t2 && B.JSString_methods.startsWith$1(_this._uri, "file"))
  38648. return "file";
  38649. if (t1 === 7 && B.JSString_methods.startsWith$1(_this._uri, "package"))
  38650. return "package";
  38651. return B.JSString_methods.substring$2(_this._uri, 0, t1);
  38652. },
  38653. get$userInfo() {
  38654. var t1 = this._hostStart,
  38655. t2 = this._schemeEnd + 3;
  38656. return t1 > t2 ? B.JSString_methods.substring$2(this._uri, t2, t1 - 1) : "";
  38657. },
  38658. get$host() {
  38659. var t1 = this._hostStart;
  38660. return t1 > 0 ? B.JSString_methods.substring$2(this._uri, t1, this._portStart) : "";
  38661. },
  38662. get$port(_) {
  38663. var t1, _this = this;
  38664. if (_this.get$hasPort())
  38665. return A.int_parse(B.JSString_methods.substring$2(_this._uri, _this._portStart + 1, _this._pathStart), null);
  38666. t1 = _this._schemeEnd;
  38667. if (t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "http"))
  38668. return 80;
  38669. if (t1 === 5 && B.JSString_methods.startsWith$1(_this._uri, "https"))
  38670. return 443;
  38671. return 0;
  38672. },
  38673. get$path(_) {
  38674. return B.JSString_methods.substring$2(this._uri, this._pathStart, this._queryStart);
  38675. },
  38676. get$query() {
  38677. var t1 = this._queryStart,
  38678. t2 = this._fragmentStart;
  38679. return t1 < t2 ? B.JSString_methods.substring$2(this._uri, t1 + 1, t2) : "";
  38680. },
  38681. get$fragment() {
  38682. var t1 = this._fragmentStart,
  38683. t2 = this._uri;
  38684. return t1 < t2.length ? B.JSString_methods.substring$1(t2, t1 + 1) : "";
  38685. },
  38686. get$pathSegments() {
  38687. var parts, i,
  38688. start = this._pathStart,
  38689. end = this._queryStart,
  38690. t1 = this._uri;
  38691. if (B.JSString_methods.startsWith$2(t1, "/", start))
  38692. ++start;
  38693. if (start === end)
  38694. return B.List_empty;
  38695. parts = A._setArrayType([], type$.JSArray_String);
  38696. for (i = start; i < end; ++i)
  38697. if (t1.charCodeAt(i) === 47) {
  38698. parts.push(B.JSString_methods.substring$2(t1, start, i));
  38699. start = i + 1;
  38700. }
  38701. parts.push(B.JSString_methods.substring$2(t1, start, end));
  38702. return A.List_List$unmodifiable(parts, type$.String);
  38703. },
  38704. _isPort$1(port) {
  38705. var portDigitStart = this._portStart + 1;
  38706. return portDigitStart + port.length === this._pathStart && B.JSString_methods.startsWith$2(this._uri, port, portDigitStart);
  38707. },
  38708. removeFragment$0() {
  38709. var _this = this,
  38710. t1 = _this._fragmentStart,
  38711. t2 = _this._uri;
  38712. if (t1 >= t2.length)
  38713. return _this;
  38714. 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);
  38715. },
  38716. resolve$1(reference) {
  38717. return this.resolveUri$1(A.Uri_parse(reference));
  38718. },
  38719. resolveUri$1(reference) {
  38720. if (reference instanceof A._SimpleUri)
  38721. return this._simpleMerge$2(this, reference);
  38722. return this._toNonSimple$0().resolveUri$1(reference);
  38723. },
  38724. _simpleMerge$2(base, ref) {
  38725. var t2, t3, t4, isSimple, delta, refStart, basePathStart, packageNameEnd, basePathStart0, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert,
  38726. t1 = ref._schemeEnd;
  38727. if (t1 > 0)
  38728. return ref;
  38729. t2 = ref._hostStart;
  38730. if (t2 > 0) {
  38731. t3 = base._schemeEnd;
  38732. if (t3 <= 0)
  38733. return ref;
  38734. t4 = t3 === 4;
  38735. if (t4 && B.JSString_methods.startsWith$1(base._uri, "file"))
  38736. isSimple = ref._pathStart !== ref._queryStart;
  38737. else if (t4 && B.JSString_methods.startsWith$1(base._uri, "http"))
  38738. isSimple = !ref._isPort$1("80");
  38739. else
  38740. isSimple = !(t3 === 5 && B.JSString_methods.startsWith$1(base._uri, "https")) || !ref._isPort$1("443");
  38741. if (isSimple) {
  38742. delta = t3 + 1;
  38743. 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);
  38744. } else
  38745. return this._toNonSimple$0().resolveUri$1(ref);
  38746. }
  38747. refStart = ref._pathStart;
  38748. t1 = ref._queryStart;
  38749. if (refStart === t1) {
  38750. t2 = ref._fragmentStart;
  38751. if (t1 < t2) {
  38752. t3 = base._queryStart;
  38753. delta = t3 - t1;
  38754. 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);
  38755. }
  38756. t1 = ref._uri;
  38757. if (t2 < t1.length) {
  38758. t3 = base._fragmentStart;
  38759. 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);
  38760. }
  38761. return base.removeFragment$0();
  38762. }
  38763. t2 = ref._uri;
  38764. if (B.JSString_methods.startsWith$2(t2, "/", refStart)) {
  38765. basePathStart = base._pathStart;
  38766. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  38767. basePathStart0 = packageNameEnd > 0 ? packageNameEnd : basePathStart;
  38768. delta = basePathStart0 - refStart;
  38769. 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);
  38770. }
  38771. baseStart = base._pathStart;
  38772. baseEnd = base._queryStart;
  38773. if (baseStart === baseEnd && base._hostStart > 0) {
  38774. for (; B.JSString_methods.startsWith$2(t2, "../", refStart);)
  38775. refStart += 3;
  38776. delta = baseStart - refStart + 1;
  38777. 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);
  38778. }
  38779. baseUri = base._uri;
  38780. packageNameEnd = A._SimpleUri__packageNameEnd(this);
  38781. if (packageNameEnd >= 0)
  38782. baseStart0 = packageNameEnd;
  38783. else
  38784. for (baseStart0 = baseStart; B.JSString_methods.startsWith$2(baseUri, "../", baseStart0);)
  38785. baseStart0 += 3;
  38786. backCount = 0;
  38787. while (true) {
  38788. refStart0 = refStart + 3;
  38789. if (!(refStart0 <= t1 && B.JSString_methods.startsWith$2(t2, "../", refStart)))
  38790. break;
  38791. ++backCount;
  38792. refStart = refStart0;
  38793. }
  38794. for (insert = ""; baseEnd > baseStart0;) {
  38795. --baseEnd;
  38796. if (baseUri.charCodeAt(baseEnd) === 47) {
  38797. if (backCount === 0) {
  38798. insert = "/";
  38799. break;
  38800. }
  38801. --backCount;
  38802. insert = "/";
  38803. }
  38804. }
  38805. if (baseEnd === baseStart0 && base._schemeEnd <= 0 && !B.JSString_methods.startsWith$2(baseUri, "/", baseStart)) {
  38806. refStart -= backCount * 3;
  38807. insert = "";
  38808. }
  38809. delta = baseEnd - refStart + insert.length;
  38810. 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);
  38811. },
  38812. toFilePath$0() {
  38813. var t2, t3, _this = this,
  38814. t1 = _this._schemeEnd;
  38815. if (t1 >= 0) {
  38816. t2 = !(t1 === 4 && B.JSString_methods.startsWith$1(_this._uri, "file"));
  38817. t1 = t2;
  38818. } else
  38819. t1 = false;
  38820. if (t1)
  38821. throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a " + _this.get$scheme() + " URI"));
  38822. t1 = _this._queryStart;
  38823. t2 = _this._uri;
  38824. if (t1 < t2.length) {
  38825. if (t1 < _this._fragmentStart)
  38826. throw A.wrapException(A.UnsupportedError$(string$.Cannotfq));
  38827. throw A.wrapException(A.UnsupportedError$(string$.Cannotff));
  38828. }
  38829. t3 = $.$get$_Uri__isWindowsCached();
  38830. if (t3)
  38831. t1 = A._Uri__toWindowsFilePath(_this);
  38832. else {
  38833. if (_this._hostStart < _this._portStart)
  38834. A.throwExpression(A.UnsupportedError$(string$.Cannotn));
  38835. t1 = B.JSString_methods.substring$2(t2, _this._pathStart, t1);
  38836. }
  38837. return t1;
  38838. },
  38839. get$hashCode(_) {
  38840. var t1 = this._hashCodeCache;
  38841. return t1 == null ? this._hashCodeCache = B.JSString_methods.get$hashCode(this._uri) : t1;
  38842. },
  38843. $eq(_, other) {
  38844. if (other == null)
  38845. return false;
  38846. if (this === other)
  38847. return true;
  38848. return type$.Uri._is(other) && this._uri === other.toString$0(0);
  38849. },
  38850. _toNonSimple$0() {
  38851. var _this = this, _null = null,
  38852. t1 = _this.get$scheme(),
  38853. t2 = _this.get$userInfo(),
  38854. t3 = _this._hostStart > 0 ? _this.get$host() : _null,
  38855. t4 = _this.get$hasPort() ? _this.get$port(_this) : _null,
  38856. t5 = _this._uri,
  38857. t6 = _this._queryStart,
  38858. t7 = B.JSString_methods.substring$2(t5, _this._pathStart, t6),
  38859. t8 = _this._fragmentStart;
  38860. t6 = t6 < t8 ? _this.get$query() : _null;
  38861. return A._Uri$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get$fragment() : _null);
  38862. },
  38863. toString$0(_) {
  38864. return this._uri;
  38865. },
  38866. $isUri: 1
  38867. };
  38868. A._DataUri.prototype = {};
  38869. A.Expando.prototype = {
  38870. $indexSet(_, object, value) {
  38871. if (object instanceof A._Record)
  38872. A.Expando__badExpandoKey(object);
  38873. this._jsWeakMap.set(object, value);
  38874. },
  38875. toString$0(_) {
  38876. return "Expando:null";
  38877. }
  38878. };
  38879. A.jsify__convert.prototype = {
  38880. call$1(o) {
  38881. var t1, convertedMap, key, convertedList;
  38882. if (A._noJsifyRequired(o))
  38883. return o;
  38884. t1 = this._convertedObjects;
  38885. if (t1.containsKey$1(o))
  38886. return t1.$index(0, o);
  38887. if (type$.Map_of_nullable_Object_and_nullable_Object._is(o)) {
  38888. convertedMap = {};
  38889. t1.$indexSet(0, o, convertedMap);
  38890. for (t1 = J.get$iterator$ax(o.get$keys(o)); t1.moveNext$0();) {
  38891. key = t1.get$current(t1);
  38892. convertedMap[key] = this.call$1(o.$index(0, key));
  38893. }
  38894. return convertedMap;
  38895. } else if (type$.Iterable_nullable_Object._is(o)) {
  38896. convertedList = [];
  38897. t1.$indexSet(0, o, convertedList);
  38898. B.JSArray_methods.addAll$1(convertedList, J.map$1$1$ax(o, this, type$.dynamic));
  38899. return convertedList;
  38900. } else
  38901. return o;
  38902. },
  38903. $signature: 336
  38904. };
  38905. A._JSRandom.prototype = {
  38906. nextInt$1(max) {
  38907. if (max <= 0 || max > 4294967296)
  38908. throw A.wrapException(A.RangeError$("max must be in range 0 < max \u2264 2^32, was " + max));
  38909. return Math.random() * max >>> 0;
  38910. },
  38911. nextDouble$0() {
  38912. return Math.random();
  38913. }
  38914. };
  38915. A.ArgParser.prototype = {
  38916. addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, defaultsTo, help, hide, negatable) {
  38917. var _null = null;
  38918. this._addOption$12$aliases$hide$negatable($name, abbr, help, _null, _null, _null, defaultsTo, _null, B.OptionType_nMZ, B.List_empty, hide, negatable);
  38919. },
  38920. addFlag$2$hide($name, hide) {
  38921. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, null, hide, true);
  38922. },
  38923. addFlag$2$help($name, help) {
  38924. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, true);
  38925. },
  38926. addFlag$3$defaultsTo$help($name, defaultsTo, help) {
  38927. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, defaultsTo, help, false, true);
  38928. },
  38929. addFlag$3$help$negatable($name, help, negatable) {
  38930. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, null, false, help, false, negatable);
  38931. },
  38932. addFlag$3$abbr$help($name, abbr, help) {
  38933. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, true);
  38934. },
  38935. addFlag$4$abbr$help$negatable($name, abbr, help, negatable) {
  38936. return this.addFlag$6$abbr$defaultsTo$help$hide$negatable($name, abbr, false, help, false, negatable);
  38937. },
  38938. addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, hide, valueHelp) {
  38939. this._addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, null, defaultsTo, null, B.OptionType_YwU, B.List_empty, hide, false);
  38940. },
  38941. addOption$2$hide($name, hide) {
  38942. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, null, null, null, hide, null);
  38943. },
  38944. addOption$6$abbr$allowed$defaultsTo$help$valueHelp($name, abbr, allowed, defaultsTo, help, valueHelp) {
  38945. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, abbr, allowed, defaultsTo, help, false, valueHelp);
  38946. },
  38947. addOption$4$allowed$defaultsTo$help($name, allowed, defaultsTo, help) {
  38948. return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp($name, null, allowed, defaultsTo, help, false, null);
  38949. },
  38950. addMultiOption$6$abbr$allowedHelp$help$splitCommas$valueHelp($name, abbr, allowedHelp, help, splitCommas, valueHelp) {
  38951. var t1 = A._setArrayType([], type$.JSArray_String);
  38952. this._addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, null, allowedHelp, t1, null, B.OptionType_qyr, B.List_empty, false, splitCommas);
  38953. },
  38954. addMultiOption$5$abbr$help$splitCommas$valueHelp($name, abbr, help, splitCommas, valueHelp) {
  38955. return this.addMultiOption$6$abbr$allowedHelp$help$splitCommas$valueHelp($name, abbr, null, help, splitCommas, valueHelp);
  38956. },
  38957. addMultiOption$3$allowedHelp$help($name, allowedHelp, help) {
  38958. return this.addMultiOption$6$abbr$allowedHelp$help$splitCommas$valueHelp($name, null, allowedHelp, help, true, null);
  38959. },
  38960. _addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, negatable, splitCommas) {
  38961. var existing, t2, t3, option, _i, _this = this, _null = null,
  38962. t1 = A._setArrayType([$name], type$.JSArray_String);
  38963. B.JSArray_methods.addAll$1(t1, aliases);
  38964. if (B.JSArray_methods.any$1(t1, new A.ArgParser__addOption_closure(_this)))
  38965. throw A.wrapException(A.ArgumentError$('Duplicate option or alias "' + $name + '".', _null));
  38966. t1 = abbr != null;
  38967. if (t1) {
  38968. existing = _this.findByAbbreviation$1(abbr);
  38969. if (existing != null)
  38970. throw A.wrapException(A.ArgumentError$('Abbreviation "' + abbr + '" is already used by "' + existing.name + '".', _null));
  38971. }
  38972. t2 = allowed == null ? _null : A.List_List$unmodifiable(allowed, type$.String);
  38973. if (allowedHelp == null)
  38974. t3 = _null;
  38975. else {
  38976. t3 = type$.String;
  38977. t3 = A.ConstantMap_ConstantMap$from(allowedHelp, t3, t3);
  38978. }
  38979. option = new A.Option($name, abbr, help, valueHelp, t2, t3, defaultsTo, negatable, callback, type, splitCommas == null ? type === B.OptionType_qyr : splitCommas, false, hide);
  38980. if ($name.length === 0)
  38981. A.throwExpression(A.ArgumentError$("Name cannot be empty.", _null));
  38982. else if (B.JSString_methods.startsWith$1($name, "-"))
  38983. A.throwExpression(A.ArgumentError$("Name " + $name + ' cannot start with "-".', _null));
  38984. t2 = $.$get$Option__invalidChars()._nativeRegExp;
  38985. if (t2.test($name))
  38986. A.throwExpression(A.ArgumentError$('Name "' + $name + '" contains invalid characters.', _null));
  38987. if (t1) {
  38988. if (abbr.length !== 1)
  38989. A.throwExpression(A.ArgumentError$("Abbreviation must be null or have length 1.", _null));
  38990. else if (abbr === "-")
  38991. A.throwExpression(A.ArgumentError$('Abbreviation cannot be "-".', _null));
  38992. if (t2.test(abbr))
  38993. A.throwExpression(A.ArgumentError$("Abbreviation is an invalid character.", _null));
  38994. }
  38995. _this._arg_parser$_options.$indexSet(0, $name, option);
  38996. _this._optionsAndSeparators.push(option);
  38997. for (t1 = _this._aliases, _i = 0; false; ++_i)
  38998. t1.$indexSet(0, aliases[_i], $name);
  38999. },
  39000. _addOption$12$aliases$hide$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, splitCommas) {
  39001. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, false, splitCommas);
  39002. },
  39003. _addOption$12$aliases$hide$mandatory($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory) {
  39004. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, mandatory, false, null);
  39005. },
  39006. _addOption$12$aliases$hide$negatable($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, negatable) {
  39007. return this._addOption$14$aliases$hide$mandatory$negatable$splitCommas($name, abbr, help, valueHelp, allowed, allowedHelp, defaultsTo, callback, type, aliases, hide, false, negatable, null);
  39008. },
  39009. findByAbbreviation$1(abbr) {
  39010. var t1, t2;
  39011. for (t1 = this.options._map, t1 = t1.get$values(t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  39012. t2 = t1.get$current(t1);
  39013. if (t2.abbr === abbr)
  39014. return t2;
  39015. }
  39016. return null;
  39017. },
  39018. findByNameOrAlias$1($name) {
  39019. var t1 = this._aliases.$index(0, $name);
  39020. if (t1 == null)
  39021. t1 = $name;
  39022. return this.options._map.$index(0, t1);
  39023. }
  39024. };
  39025. A.ArgParser__addOption_closure.prototype = {
  39026. call$1($name) {
  39027. return this.$this.findByNameOrAlias$1($name) != null;
  39028. },
  39029. $signature: 10
  39030. };
  39031. A.ArgParserException.prototype = {};
  39032. A.ArgResults.prototype = {
  39033. $index(_, $name) {
  39034. var t1 = this._parser.options._map;
  39035. if (!t1.containsKey$1($name))
  39036. throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
  39037. t1 = t1.$index(0, $name);
  39038. t1.toString;
  39039. return t1.valueOrDefault$1(this._parsed.$index(0, $name));
  39040. },
  39041. wasParsed$1($name) {
  39042. if (!this._parser.options._map.containsKey$1($name))
  39043. throw A.wrapException(A.ArgumentError$('Could not find an option named "' + $name + '".', null));
  39044. return this._parsed.containsKey$1($name);
  39045. }
  39046. };
  39047. A.Option.prototype = {
  39048. valueOrDefault$1(value) {
  39049. var t1;
  39050. if (value != null)
  39051. return value;
  39052. if (this.type === B.OptionType_qyr) {
  39053. t1 = this.defaultsTo;
  39054. return t1 == null ? A._setArrayType([], type$.JSArray_String) : t1;
  39055. }
  39056. return this.defaultsTo;
  39057. }
  39058. };
  39059. A.OptionType.prototype = {};
  39060. A.Parser0.prototype = {
  39061. parse$0() {
  39062. var commandResults, commandName, commandParser, error, t1, t3, t4, t5, t6, t7, t8, command, exception, _this = this,
  39063. t2 = _this._args;
  39064. t2.toList$0(0);
  39065. commandResults = null;
  39066. for (t3 = _this._parser$_rest, t4 = _this._grammar, t5 = t4.commands, t6 = t2.$ti._precomputed1; !t2.get$isEmpty(t2);) {
  39067. t7 = t2._head;
  39068. if (t7 === t2._tail)
  39069. A.throwExpression(A.IterableElementError_noElement());
  39070. t7 = t2._table[t7];
  39071. t8 = t7 == null;
  39072. if ((t8 ? t6._as(t7) : t7) === "--") {
  39073. t2.removeFirst$0();
  39074. break;
  39075. }
  39076. if (t8)
  39077. t7 = t6._as(t7);
  39078. command = t5._map.$index(0, t7);
  39079. if (command != null) {
  39080. if (t3.length !== 0)
  39081. A.throwExpression(A.ArgParserException$("Cannot specify arguments before a command.", null));
  39082. commandName = t2.removeFirst$0();
  39083. t5 = type$.JSArray_String;
  39084. t6 = A._setArrayType([], t5);
  39085. B.JSArray_methods.addAll$1(t6, t3);
  39086. commandParser = new A.Parser0(commandName, _this, command, t2, t6, A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.dynamic));
  39087. try {
  39088. commandResults = commandParser.parse$0();
  39089. } catch (exception) {
  39090. t2 = A.unwrapException(exception);
  39091. if (t2 instanceof A.ArgParserException) {
  39092. error = t2;
  39093. t2 = error.message;
  39094. t1 = A._setArrayType([commandName], t5);
  39095. J.addAll$1$ax(t1, error.commands);
  39096. throw A.wrapException(A.ArgParserException$(t2, t1));
  39097. } else
  39098. throw exception;
  39099. }
  39100. B.JSArray_methods.clear$0(t3);
  39101. break;
  39102. }
  39103. if (_this._parseSoloOption$0())
  39104. continue;
  39105. if (_this._parseAbbreviation$1(_this))
  39106. continue;
  39107. if (_this._parseLongOption$0())
  39108. continue;
  39109. t3.push(t2.removeFirst$0());
  39110. }
  39111. t4.options._map.forEach$1(0, new A.Parser_parse_closure(_this));
  39112. B.JSArray_methods.addAll$1(t3, t2);
  39113. t2.clear$0(0);
  39114. return new A.ArgResults(t4, _this._results, _this._commandName, new A.UnmodifiableListView(t3, type$.UnmodifiableListView_String));
  39115. },
  39116. _readNextArgAsValue$1(option) {
  39117. var t1 = this._args;
  39118. if (t1.get$isEmpty(t1))
  39119. A.throwExpression(A.ArgParserException$('Missing argument for "' + option.name + '".', null));
  39120. this._setOption$3(this._results, option, t1.get$first(t1));
  39121. t1.removeFirst$0();
  39122. },
  39123. _parseSoloOption$0() {
  39124. var opt,
  39125. t1 = this._args;
  39126. if (t1.get$first(t1).length !== 2)
  39127. return false;
  39128. if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "-"))
  39129. return false;
  39130. opt = t1.get$first(t1)[1];
  39131. if (!A._isLetterOrDigit(opt.charCodeAt(0)))
  39132. return false;
  39133. this._handleSoloOption$1(opt);
  39134. return true;
  39135. },
  39136. _handleSoloOption$1(opt) {
  39137. var t1, _this = this,
  39138. option = _this._grammar.findByAbbreviation$1(opt);
  39139. if (option == null) {
  39140. t1 = _this._parser$_parent;
  39141. if (t1 == null)
  39142. A.throwExpression(A.ArgParserException$('Could not find an option or flag "-' + opt + '".', null));
  39143. t1._handleSoloOption$1(opt);
  39144. return true;
  39145. }
  39146. _this._args.removeFirst$0();
  39147. if (option.type === B.OptionType_nMZ)
  39148. _this._results.$indexSet(0, option.name, true);
  39149. else
  39150. _this._readNextArgAsValue$1(option);
  39151. return true;
  39152. },
  39153. _parseAbbreviation$1(innermostCommand) {
  39154. var t2, index, t3, t4, lettersAndDigits, rest,
  39155. t1 = this._args;
  39156. if (t1.get$first(t1).length < 2)
  39157. return false;
  39158. if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "-"))
  39159. return false;
  39160. t2 = t1.$ti._precomputed1;
  39161. index = 1;
  39162. while (true) {
  39163. t3 = t1._head;
  39164. if (t3 === t1._tail)
  39165. A.throwExpression(A.IterableElementError_noElement());
  39166. t3 = t1._table[t3];
  39167. t4 = t3 == null;
  39168. if (index < (t4 ? t2._as(t3) : t3).length) {
  39169. t3 = (t4 ? t2._as(t3) : t3).charCodeAt(index);
  39170. if (!(t3 >= 65 && t3 <= 90))
  39171. if (!(t3 >= 97 && t3 <= 122))
  39172. t3 = t3 >= 48 && t3 <= 57;
  39173. else
  39174. t3 = true;
  39175. else
  39176. t3 = true;
  39177. } else
  39178. t3 = false;
  39179. if (!t3)
  39180. break;
  39181. ++index;
  39182. }
  39183. if (index === 1)
  39184. return false;
  39185. lettersAndDigits = B.JSString_methods.substring$2(t1.get$first(t1), 1, index);
  39186. rest = B.JSString_methods.substring$1(t1.get$first(t1), index);
  39187. if (B.JSString_methods.contains$1(rest, "\n") || B.JSString_methods.contains$1(rest, "\r"))
  39188. return false;
  39189. this._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  39190. return true;
  39191. },
  39192. _handleAbbreviation$3(lettersAndDigits, rest, innermostCommand) {
  39193. var t1, i, i0, _this = this,
  39194. c = B.JSString_methods.substring$2(lettersAndDigits, 0, 1),
  39195. first = _this._grammar.findByAbbreviation$1(c);
  39196. if (first == null) {
  39197. t1 = _this._parser$_parent;
  39198. if (t1 == null)
  39199. A.throwExpression(A.ArgParserException$(string$.Could_ + c + '".', null));
  39200. t1._handleAbbreviation$3(lettersAndDigits, rest, innermostCommand);
  39201. return true;
  39202. } else if (first.type !== B.OptionType_nMZ)
  39203. _this._setOption$3(_this._results, first, B.JSString_methods.substring$1(lettersAndDigits, 1) + rest);
  39204. else {
  39205. t1 = B.JSString_methods.substring$1(lettersAndDigits, 1);
  39206. if (rest !== "")
  39207. A.throwExpression(A.ArgParserException$('Option "-' + c + '" is a flag and cannot handle value "' + t1 + rest + '".', null));
  39208. for (t1 = lettersAndDigits.length, i = 0; i < t1; i = i0) {
  39209. i0 = i + 1;
  39210. innermostCommand._parseShortFlag$1(B.JSString_methods.substring$2(lettersAndDigits, i, i0));
  39211. }
  39212. }
  39213. _this._args.removeFirst$0();
  39214. return true;
  39215. },
  39216. _parseShortFlag$1(c) {
  39217. var t1,
  39218. option = this._grammar.findByAbbreviation$1(c);
  39219. if (option == null) {
  39220. t1 = this._parser$_parent;
  39221. if (t1 == null)
  39222. A.throwExpression(A.ArgParserException$(string$.Could_ + c + '".', null));
  39223. t1._parseShortFlag$1(c);
  39224. return;
  39225. }
  39226. if (option.type !== B.OptionType_nMZ)
  39227. A.throwExpression(A.ArgParserException$('Option "-' + c + '" must be a flag to be in a collapsed "-".', null));
  39228. this._results.$indexSet(0, option.name, true);
  39229. },
  39230. _parseLongOption$0() {
  39231. var index, t2, $name, t3, i, t4, t5, value,
  39232. t1 = this._args;
  39233. if (!B.JSString_methods.startsWith$1(t1.get$first(t1), "--"))
  39234. return false;
  39235. index = B.JSString_methods.indexOf$1(t1.get$first(t1), "=");
  39236. t2 = index === -1;
  39237. $name = t2 ? B.JSString_methods.substring$1(t1.get$first(t1), 2) : B.JSString_methods.substring$2(t1.get$first(t1), 2, index);
  39238. for (t3 = $name.length, i = 0; i !== t3; ++i) {
  39239. t4 = $name.charCodeAt(i);
  39240. if (!(t4 >= 65 && t4 <= 90))
  39241. if (!(t4 >= 97 && t4 <= 122))
  39242. t5 = t4 >= 48 && t4 <= 57;
  39243. else
  39244. t5 = true;
  39245. else
  39246. t5 = true;
  39247. if (!(t5 || t4 === 45 || t4 === 95))
  39248. return false;
  39249. }
  39250. value = t2 ? null : B.JSString_methods.substring$1(t1.get$first(t1), index + 1);
  39251. if (value != null)
  39252. t1 = B.JSString_methods.contains$1(value, "\n") || B.JSString_methods.contains$1(value, "\r");
  39253. else
  39254. t1 = false;
  39255. if (t1)
  39256. return false;
  39257. this._handleLongOption$2($name, value);
  39258. return true;
  39259. },
  39260. _handleLongOption$2($name, value) {
  39261. var _this = this, _null = null,
  39262. _s32_ = 'Could not find an option named "',
  39263. t1 = _this._grammar,
  39264. option = t1.findByNameOrAlias$1($name);
  39265. if (option != null) {
  39266. _this._args.removeFirst$0();
  39267. if (option.type === B.OptionType_nMZ) {
  39268. if (value != null)
  39269. A.throwExpression(A.ArgParserException$('Flag option "' + $name + '" should not be given a value.', _null));
  39270. _this._results.$indexSet(0, option.name, true);
  39271. } else if (value != null)
  39272. _this._setOption$3(_this._results, option, value);
  39273. else
  39274. _this._readNextArgAsValue$1(option);
  39275. } else if (B.JSString_methods.startsWith$1($name, "no-")) {
  39276. option = t1.findByNameOrAlias$1(B.JSString_methods.substring$1($name, 3));
  39277. if (option == null) {
  39278. t1 = _this._parser$_parent;
  39279. if (t1 == null)
  39280. A.throwExpression(A.ArgParserException$(_s32_ + $name + '".', _null));
  39281. t1._handleLongOption$2($name, value);
  39282. return true;
  39283. }
  39284. _this._args.removeFirst$0();
  39285. if (option.type !== B.OptionType_nMZ)
  39286. A.throwExpression(A.ArgParserException$('Cannot negate non-flag option "' + $name + '".', _null));
  39287. if (!option.negatable)
  39288. A.throwExpression(A.ArgParserException$('Cannot negate option "' + $name + '".', _null));
  39289. _this._results.$indexSet(0, option.name, false);
  39290. } else {
  39291. t1 = _this._parser$_parent;
  39292. if (t1 == null)
  39293. A.throwExpression(A.ArgParserException$(_s32_ + $name + '".', _null));
  39294. t1._handleLongOption$2($name, value);
  39295. return true;
  39296. }
  39297. return true;
  39298. },
  39299. _setOption$3(results, option, value) {
  39300. var list, t1, t2, t3, _i, element;
  39301. if (option.type !== B.OptionType_qyr) {
  39302. this._validateAllowed$2(option, value);
  39303. results.$indexSet(0, option.name, value);
  39304. return;
  39305. }
  39306. list = type$.List_dynamic._as(results.putIfAbsent$2(option.name, new A.Parser__setOption_closure()));
  39307. if (option.splitCommas)
  39308. for (t1 = value.split(","), t2 = t1.length, t3 = J.getInterceptor$ax(list), _i = 0; _i < t2; ++_i) {
  39309. element = t1[_i];
  39310. this._validateAllowed$2(option, element);
  39311. t3.add$1(list, element);
  39312. }
  39313. else {
  39314. this._validateAllowed$2(option, value);
  39315. J.add$1$ax(list, value);
  39316. }
  39317. },
  39318. _validateAllowed$2(option, value) {
  39319. var t1 = option.allowed;
  39320. if (t1 == null)
  39321. return;
  39322. if (!B.JSArray_methods.contains$1(t1, value))
  39323. A.throwExpression(A.ArgParserException$('"' + value + '" is not an allowed value for option "' + option.name + '".', null));
  39324. }
  39325. };
  39326. A.Parser_parse_closure.prototype = {
  39327. call$2($name, option) {
  39328. var parsedOption = this.$this._results.$index(0, $name),
  39329. callback = option.callback;
  39330. if (callback == null)
  39331. return;
  39332. callback.call$1(option.valueOrDefault$1(parsedOption));
  39333. },
  39334. $signature: 349
  39335. };
  39336. A.Parser__setOption_closure.prototype = {
  39337. call$0() {
  39338. return A._setArrayType([], type$.JSArray_String);
  39339. },
  39340. $signature: 28
  39341. };
  39342. A._Usage.prototype = {
  39343. get$_columnWidths() {
  39344. var result, _this = this,
  39345. value = _this.___Usage__columnWidths_FI;
  39346. if (value === $) {
  39347. result = _this._calculateColumnWidths$0();
  39348. _this.___Usage__columnWidths_FI !== $ && A.throwUnnamedLateFieldADI();
  39349. _this.___Usage__columnWidths_FI = result;
  39350. value = result;
  39351. }
  39352. return value;
  39353. },
  39354. generate$0() {
  39355. var t1, t2, t3, t4, _i, optionOrSeparator, t5, _this = this;
  39356. for (t1 = _this._usage$_optionsAndSeparators, t2 = t1.length, t3 = type$.Option, t4 = _this._usage$_buffer, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  39357. optionOrSeparator = t1[_i];
  39358. if (typeof optionOrSeparator == "string") {
  39359. t5 = t4._contents;
  39360. t4._contents = (t5.length !== 0 ? t4._contents = t5 + "\n\n" : t5) + optionOrSeparator;
  39361. _this._newlinesNeeded = 1;
  39362. continue;
  39363. }
  39364. t3._as(optionOrSeparator);
  39365. if (optionOrSeparator.hide)
  39366. continue;
  39367. _this._writeOption$1(optionOrSeparator);
  39368. }
  39369. t1 = t4._contents;
  39370. return t1.charCodeAt(0) == 0 ? t1 : t1;
  39371. },
  39372. _writeOption$1(option) {
  39373. var allowedNames, t2, t3, t4, _i, $name, t5, _this = this,
  39374. t1 = option.abbr;
  39375. _this._write$2(0, t1 == null ? "" : "-" + t1 + ", ");
  39376. t1 = _this._longOption$1(option);
  39377. _this._write$2(1, t1);
  39378. t1 = option.help;
  39379. if (t1 != null)
  39380. _this._write$2(2, t1);
  39381. t1 = option.allowedHelp;
  39382. if (t1 != null) {
  39383. allowedNames = J.toList$0$ax(t1.get$keys(t1));
  39384. B.JSArray_methods.sort$0(allowedNames);
  39385. _this._newline$0();
  39386. 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) {
  39387. $name = allowedNames[_i];
  39388. t5 = (t4 ? B.JSArray_methods.contains$1(t3, $name) : t3 === $name) ? " (default)" : "";
  39389. _this._write$2(1, " [" + $name + "]" + t5);
  39390. t5 = t1.$index(0, $name);
  39391. t5.toString;
  39392. _this._write$2(2, t5);
  39393. }
  39394. _this._newline$0();
  39395. } else if (option.allowed != null)
  39396. _this._write$2(2, _this._buildAllowedList$1(option));
  39397. else {
  39398. t1 = option.type;
  39399. if (t1 === B.OptionType_nMZ) {
  39400. if (option.defaultsTo === true)
  39401. _this._write$2(2, "(defaults to on)");
  39402. } else if (t1 === B.OptionType_qyr) {
  39403. t1 = option.defaultsTo;
  39404. if (t1 != null && type$.Iterable_dynamic._as(t1).length !== 0) {
  39405. type$.List_dynamic._as(t1);
  39406. _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, ", ") + ")");
  39407. }
  39408. } else {
  39409. t1 = option.defaultsTo;
  39410. if (t1 != null)
  39411. _this._write$2(2, '(defaults to "' + A.S(t1) + '")');
  39412. }
  39413. }
  39414. },
  39415. _longOption$1(option) {
  39416. var t1 = option.name,
  39417. result = option.negatable ? "--[no-]" + t1 : "--" + t1;
  39418. t1 = option.valueHelp;
  39419. return t1 != null ? result + ("=<" + t1 + ">") : result;
  39420. },
  39421. _calculateColumnWidths$0() {
  39422. var t1, t2, t3, abbr, title, _i, option, t4, t5, t6, t7, t8;
  39423. 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) {
  39424. option = t1[_i];
  39425. if (!(option instanceof A.Option))
  39426. continue;
  39427. if (option.hide)
  39428. continue;
  39429. t4 = option.abbr;
  39430. abbr = Math.max(abbr, (t4 == null ? "" : "-" + t4 + ", ").length);
  39431. t4 = this._longOption$1(option);
  39432. title = Math.max(title, t4.length);
  39433. t4 = option.allowedHelp;
  39434. if (t4 != null)
  39435. for (t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = option.defaultsTo, t6 = t3._is(t5); t4.moveNext$0();) {
  39436. t7 = t4.get$current(t4);
  39437. t8 = (t6 ? B.JSArray_methods.contains$1(t5, t7) : t5 === t7) ? " (default)" : "";
  39438. title = Math.max(title, (" [" + t7 + "]" + t8).length);
  39439. }
  39440. }
  39441. return A._setArrayType([abbr, title + 4], type$.JSArray_int);
  39442. },
  39443. _newline$0() {
  39444. ++this._newlinesNeeded;
  39445. this._currentColumn = 0;
  39446. },
  39447. _write$2(column, text) {
  39448. var t1, _i,
  39449. lines = A._setArrayType(text.split("\n"), type$.JSArray_String);
  39450. this.get$_columnWidths();
  39451. while (true) {
  39452. if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$first(lines)) === ""))
  39453. break;
  39454. B.JSArray_methods.removeAt$1(lines, 0);
  39455. }
  39456. while (true) {
  39457. if (!(lines.length !== 0 && J.trim$0$s(B.JSArray_methods.get$last(lines)) === ""))
  39458. break;
  39459. lines.pop();
  39460. }
  39461. for (t1 = lines.length, _i = 0; _i < lines.length; lines.length === t1 || (0, A.throwConcurrentModificationError)(lines), ++_i)
  39462. this._writeLine$2(column, lines[_i]);
  39463. },
  39464. _writeLine$2(column, text) {
  39465. var t1, t2, _this = this;
  39466. for (t1 = _this._usage$_buffer; t2 = _this._newlinesNeeded, t2 > 0;) {
  39467. t1._contents += "\n";
  39468. _this._newlinesNeeded = t2 - 1;
  39469. }
  39470. for (; t2 = _this._currentColumn, t2 !== column;) {
  39471. if (t2 < 2)
  39472. t1._contents += B.JSString_methods.$mul(" ", _this.get$_columnWidths()[_this._currentColumn]);
  39473. else
  39474. t1._contents += "\n";
  39475. _this._currentColumn = (_this._currentColumn + 1) % 3;
  39476. }
  39477. _this.get$_columnWidths();
  39478. if (column < 2)
  39479. t1._contents += B.JSString_methods.padRight$1(text, _this.get$_columnWidths()[column]);
  39480. else
  39481. t1._contents += text;
  39482. _this._currentColumn = (_this._currentColumn + 1) % 3;
  39483. if (column === 2)
  39484. ++_this._newlinesNeeded;
  39485. },
  39486. _buildAllowedList$1(option) {
  39487. var t2, t3, first, _i, allowed,
  39488. t1 = option.defaultsTo,
  39489. isDefault = type$.List_dynamic._is(t1) ? B.JSArray_methods.get$contains(t1) : new A._Usage__buildAllowedList_closure(option);
  39490. t1 = "" + "[";
  39491. for (t2 = option.allowed, t3 = t2.length, first = true, _i = 0; _i < t3; ++_i, first = false) {
  39492. allowed = t2[_i];
  39493. if (!first)
  39494. t1 += ", ";
  39495. t1 += A.S(allowed);
  39496. if (isDefault.call$1(allowed))
  39497. t1 += " (default)";
  39498. }
  39499. t1 += "]";
  39500. return t1.charCodeAt(0) == 0 ? t1 : t1;
  39501. }
  39502. };
  39503. A._Usage__writeOption_closure.prototype = {
  39504. call$1(value) {
  39505. return '"' + A.S(value) + '"';
  39506. },
  39507. $signature: 120
  39508. };
  39509. A._Usage__buildAllowedList_closure.prototype = {
  39510. call$1(value) {
  39511. return value === this.option.defaultsTo;
  39512. },
  39513. $signature: 117
  39514. };
  39515. A.ErrorResult.prototype = {
  39516. complete$1(completer) {
  39517. completer.completeError$2(this.error, this.stackTrace);
  39518. },
  39519. get$hashCode(_) {
  39520. return (J.get$hashCode$(this.error) ^ A.Primitives_objectHashCode(this.stackTrace) ^ 492929599) >>> 0;
  39521. },
  39522. $eq(_, other) {
  39523. if (other == null)
  39524. return false;
  39525. return other instanceof A.ErrorResult && J.$eq$(this.error, other.error) && this.stackTrace === other.stackTrace;
  39526. },
  39527. $isResult: 1
  39528. };
  39529. A.ValueResult.prototype = {
  39530. complete$1(completer) {
  39531. completer.complete$1(this.value);
  39532. },
  39533. get$hashCode(_) {
  39534. return (J.get$hashCode$(this.value) ^ 842997089) >>> 0;
  39535. },
  39536. $eq(_, other) {
  39537. if (other == null)
  39538. return false;
  39539. return other instanceof A.ValueResult && J.$eq$(this.value, other.value);
  39540. },
  39541. $isResult: 1
  39542. };
  39543. A.StreamCompleter.prototype = {
  39544. setSourceStream$1(sourceStream) {
  39545. var t1 = this._stream_completer$_stream;
  39546. if (t1._sourceStream != null)
  39547. throw A.wrapException(A.StateError$("Source stream already set"));
  39548. t1._sourceStream = sourceStream;
  39549. if (t1._stream_completer$_controller != null)
  39550. t1._linkStreamToController$0();
  39551. },
  39552. setError$2(error, stackTrace) {
  39553. var t1 = this.$ti._precomputed1;
  39554. this.setSourceStream$1(A.Stream_Stream$fromFuture(A.Future_Future$error(error, stackTrace, t1), t1));
  39555. },
  39556. setError$1(error) {
  39557. return this.setError$2(error, null);
  39558. }
  39559. };
  39560. A._CompleterStream.prototype = {
  39561. listen$4$cancelOnError$onDone$onError(_, onData, cancelOnError, onDone, onError) {
  39562. var sourceStream, t1, _this = this, _null = null;
  39563. if (_this._stream_completer$_controller == null) {
  39564. sourceStream = _this._sourceStream;
  39565. if (sourceStream != null && !sourceStream.get$isBroadcast())
  39566. return sourceStream.listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  39567. if (_this._stream_completer$_controller == null)
  39568. _this._stream_completer$_controller = A.StreamController_StreamController(_null, _null, _null, _null, true, _this.$ti._precomputed1);
  39569. if (_this._sourceStream != null)
  39570. _this._linkStreamToController$0();
  39571. }
  39572. t1 = _this._stream_completer$_controller;
  39573. t1.toString;
  39574. return new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>")).listen$4$cancelOnError$onDone$onError(0, onData, cancelOnError, onDone, onError);
  39575. },
  39576. listen$1($receiver, onData) {
  39577. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, null, null);
  39578. },
  39579. listen$3$onDone$onError($receiver, onData, onDone, onError) {
  39580. return this.listen$4$cancelOnError$onDone$onError($receiver, onData, null, onDone, onError);
  39581. },
  39582. _linkStreamToController$0() {
  39583. var t2,
  39584. t1 = this._stream_completer$_controller;
  39585. t1.toString;
  39586. t2 = this._sourceStream;
  39587. t2.toString;
  39588. t1.addStream$2$cancelOnError(t2, false).whenComplete$1(t1.get$close(t1));
  39589. }
  39590. };
  39591. A.StreamGroup.prototype = {
  39592. add$1(_, stream) {
  39593. var t1, _this = this;
  39594. if (_this._closed)
  39595. throw A.wrapException(A.StateError$("Can't add a Stream to a closed StreamGroup."));
  39596. t1 = _this._stream_group$_state;
  39597. if (t1 === B._StreamGroupState_dormant)
  39598. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure());
  39599. else if (t1 === B._StreamGroupState_canceled)
  39600. return stream.listen$1(0, null).cancel$0();
  39601. else
  39602. _this._subscriptions.putIfAbsent$2(stream, new A.StreamGroup_add_closure0(_this, stream));
  39603. return null;
  39604. },
  39605. remove$1(_, stream) {
  39606. var t1 = this._subscriptions,
  39607. subscription = t1.remove$1(0, stream),
  39608. future = subscription == null ? null : subscription.cancel$0();
  39609. if (t1.__js_helper$_length === 0)
  39610. if (this._closed) {
  39611. t1 = this.__StreamGroup__controller_A;
  39612. t1 === $ && A.throwUnnamedLateFieldNI();
  39613. A.scheduleMicrotask(t1.get$close(t1));
  39614. }
  39615. return future;
  39616. },
  39617. _onListen$0() {
  39618. var stream, t1, t2, t3, _i, entry, exception, onError, _this = this;
  39619. _this._stream_group$_state = B._StreamGroupState_listening;
  39620. 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) {
  39621. entry = t2[_i];
  39622. if (entry.value != null)
  39623. continue;
  39624. stream = entry.key;
  39625. try {
  39626. t1.$indexSet(0, stream, _this._listenToStream$1(stream));
  39627. } catch (exception) {
  39628. t1 = _this._onCancel$0();
  39629. if (t1 != null) {
  39630. onError = new A.StreamGroup__onListen_closure();
  39631. t2 = t1.$ti;
  39632. t3 = $.Zone__current;
  39633. if (t3 !== B.C__RootZone)
  39634. onError = A._registerErrorHandler(onError, t3);
  39635. 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>")));
  39636. }
  39637. throw exception;
  39638. }
  39639. }
  39640. },
  39641. _onPause$0() {
  39642. var t1, t2, t3;
  39643. this._stream_group$_state = B._StreamGroupState_paused;
  39644. 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();) {
  39645. t3 = t1.__internal$_current;
  39646. (t3 == null ? t2._as(t3) : t3).pause$0(0);
  39647. }
  39648. },
  39649. _onResume$0() {
  39650. var t1, t2, t3;
  39651. this._stream_group$_state = B._StreamGroupState_listening;
  39652. 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();) {
  39653. t3 = t1.__internal$_current;
  39654. (t3 == null ? t2._as(t3) : t3).resume$0(0);
  39655. }
  39656. },
  39657. _onCancel$0() {
  39658. var t1, t2, futures;
  39659. this._stream_group$_state = B._StreamGroupState_canceled;
  39660. t1 = this._subscriptions;
  39661. 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);
  39662. futures = A.List_List$of(t2, true, t2.$ti._eval$1("Iterable.E"));
  39663. t1.clear$0(0);
  39664. return futures.length === 0 ? null : A.Future_wait(futures, false, type$.void);
  39665. },
  39666. _listenToStream$1(stream) {
  39667. var subscription,
  39668. t1 = this.__StreamGroup__controller_A;
  39669. t1 === $ && A.throwUnnamedLateFieldNI();
  39670. subscription = stream.listen$3$onDone$onError(0, t1.get$add(t1), new A.StreamGroup__listenToStream_closure(this, stream), t1.get$addError());
  39671. if (this._stream_group$_state === B._StreamGroupState_paused)
  39672. subscription.pause$0(0);
  39673. return subscription;
  39674. }
  39675. };
  39676. A.StreamGroup_add_closure.prototype = {
  39677. call$0() {
  39678. return null;
  39679. },
  39680. $signature: 2
  39681. };
  39682. A.StreamGroup_add_closure0.prototype = {
  39683. call$0() {
  39684. return this.$this._listenToStream$1(this.stream);
  39685. },
  39686. $signature() {
  39687. return this.$this.$ti._eval$1("StreamSubscription<1>()");
  39688. }
  39689. };
  39690. A.StreamGroup__onListen_closure.prototype = {
  39691. call$1(_) {
  39692. },
  39693. $signature: 79
  39694. };
  39695. A.StreamGroup__onCancel_closure.prototype = {
  39696. call$1(entry) {
  39697. var t1, exception,
  39698. subscription = entry.value;
  39699. try {
  39700. if (subscription != null) {
  39701. t1 = subscription.cancel$0();
  39702. return t1;
  39703. }
  39704. t1 = J.listen$1$z(entry.key, null).cancel$0();
  39705. return t1;
  39706. } catch (exception) {
  39707. return null;
  39708. }
  39709. },
  39710. $signature() {
  39711. return this.$this.$ti._eval$1("Future<~>?(MapEntry<Stream<1>,StreamSubscription<1>?>)");
  39712. }
  39713. };
  39714. A.StreamGroup__listenToStream_closure.prototype = {
  39715. call$0() {
  39716. return this.$this.remove$1(0, this.stream);
  39717. },
  39718. $signature: 0
  39719. };
  39720. A._StreamGroupState.prototype = {
  39721. toString$0(_) {
  39722. return this.name;
  39723. }
  39724. };
  39725. A.StreamQueue.prototype = {
  39726. _updateRequests$0() {
  39727. var t1, t2, t3, t4, _this = this;
  39728. for (t1 = _this._requestQueue, t2 = _this._eventQueue, t3 = t1.$ti._precomputed1; !t1.get$isEmpty(t1);) {
  39729. t4 = t1._head;
  39730. if (t4 === t1._tail)
  39731. A.throwExpression(A.IterableElementError_noElement());
  39732. t4 = t1._table[t4];
  39733. if (t4 == null)
  39734. t4 = t3._as(t4);
  39735. if (t4.update$2(t2, _this._isDone))
  39736. t1.removeFirst$0();
  39737. else
  39738. return;
  39739. }
  39740. if (!_this._isDone)
  39741. _this._stream_queue$_subscription.pause$0(0);
  39742. },
  39743. _ensureListening$0() {
  39744. var t1, _this = this;
  39745. if (_this._isDone)
  39746. return;
  39747. t1 = _this._stream_queue$_subscription;
  39748. if (t1 == null)
  39749. _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));
  39750. else
  39751. t1.resume$0(0);
  39752. },
  39753. _addResult$1(result) {
  39754. ++this._eventsReceived;
  39755. this._eventQueue._queue_list$_add$1(result);
  39756. this._updateRequests$0();
  39757. },
  39758. _addRequest$1(request) {
  39759. var _this = this,
  39760. t1 = _this._requestQueue;
  39761. if (t1._head === t1._tail) {
  39762. if (request.update$2(_this._eventQueue, _this._isDone))
  39763. return;
  39764. _this._ensureListening$0();
  39765. }
  39766. t1._add$1(request);
  39767. }
  39768. };
  39769. A.StreamQueue__ensureListening_closure.prototype = {
  39770. call$1(data) {
  39771. var t1 = this.$this;
  39772. t1._addResult$1(new A.ValueResult(data, t1.$ti._eval$1("ValueResult<1>")));
  39773. },
  39774. $signature() {
  39775. return this.$this.$ti._eval$1("~(1)");
  39776. }
  39777. };
  39778. A.StreamQueue__ensureListening_closure1.prototype = {
  39779. call$2(error, stackTrace) {
  39780. this.$this._addResult$1(new A.ErrorResult(error, stackTrace));
  39781. },
  39782. $signature: 61
  39783. };
  39784. A.StreamQueue__ensureListening_closure0.prototype = {
  39785. call$0() {
  39786. var t1 = this.$this;
  39787. t1._stream_queue$_subscription = null;
  39788. t1._isDone = true;
  39789. t1._updateRequests$0();
  39790. },
  39791. $signature: 0
  39792. };
  39793. A._NextRequest.prototype = {
  39794. update$2(events, isDone) {
  39795. if (!events.get$isEmpty(events)) {
  39796. events.removeFirst$0().complete$1(this._completer);
  39797. return true;
  39798. }
  39799. if (isDone) {
  39800. this._completer.completeError$2(new A.StateError("No elements"), A.StackTrace_current());
  39801. return true;
  39802. }
  39803. return false;
  39804. },
  39805. $is_EventRequest: 1
  39806. };
  39807. A._isStrictMode_closure.prototype = {
  39808. call$0() {
  39809. var exception;
  39810. try {
  39811. "".name = null;
  39812. return false;
  39813. } catch (exception) {
  39814. return true;
  39815. }
  39816. },
  39817. $signature: 1
  39818. };
  39819. A.Repl.prototype = {};
  39820. A.alwaysValid_closure.prototype = {
  39821. call$1(text) {
  39822. return true;
  39823. },
  39824. $signature: 10
  39825. };
  39826. A.ReplAdapter.prototype = {
  39827. runAsync$0() {
  39828. var rl, runController, _this = this, t1 = {},
  39829. t2 = J.get$isTTY$x(self.process.stdin),
  39830. output = (t2 == null ? false : t2) ? self.process.stdout : null;
  39831. t2 = _this.repl.prompt;
  39832. rl = J.createInterface$1$x($.$get$readline(), {input: self.process.stdin, output: output, prompt: t2});
  39833. _this.rl = rl;
  39834. t1.statement = "";
  39835. t1.prompt = t2;
  39836. runController = A._Cell$();
  39837. runController._value = A.StreamController_StreamController(_this.get$exit(_this), new A.ReplAdapter_runAsync_closure(t1, _this, rl, runController), null, null, false, type$.String);
  39838. return runController._readLocal$0().get$stream();
  39839. },
  39840. exit$0(_) {
  39841. var t1 = this.rl;
  39842. if (t1 != null)
  39843. J.close$0$x(t1);
  39844. this.rl = null;
  39845. }
  39846. };
  39847. A.ReplAdapter_runAsync_closure.prototype = {
  39848. call$0() {
  39849. var $async$goto = 0,
  39850. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  39851. $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;
  39852. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  39853. if ($async$errorCode === 1) {
  39854. $async$currentError = $async$result;
  39855. $async$goto = $async$handler;
  39856. }
  39857. while (true)
  39858. switch ($async$goto) {
  39859. case 0:
  39860. // Function start
  39861. $async$handler = 3;
  39862. lineController = A.StreamController_StreamController(null, null, null, null, false, type$.String);
  39863. t1 = lineController;
  39864. t2 = A.QueueList$(null, type$.Result_String);
  39865. t3 = A.ListQueue$(type$._EventRequest_dynamic);
  39866. lineQueue = new A.StreamQueue(new A._ControllerStream(t1, A.instanceType(t1)._eval$1("_ControllerStream<1>")), t2, t3, type$.StreamQueue_String);
  39867. t1 = $async$self.rl;
  39868. t2 = J.getInterceptor$x(t1);
  39869. t2.on$2(t1, "line", A.allowInterop(new A.ReplAdapter_runAsync__closure(lineController)));
  39870. 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;
  39871. case 6:
  39872. // for condition
  39873. // trivial condition
  39874. t7 = J.get$isTTY$x(self.process.stdin);
  39875. if (t7 == null ? false : t7)
  39876. J.write$1$x(self.process.stdout, t3.prompt);
  39877. t7 = lineQueue;
  39878. t8 = A.instanceType(t7);
  39879. t9 = new A._Future($.Zone__current, t8._eval$1("_Future<1>"));
  39880. t7._addRequest$1(new A._NextRequest(new A._AsyncCompleter(t9, t8._eval$1("_AsyncCompleter<1>")), t8._eval$1("_NextRequest<1>")));
  39881. $async$goto = 8;
  39882. return A._asyncAwait(t9, $async$call$0);
  39883. case 8:
  39884. // returning from await.
  39885. line = $async$result;
  39886. t7 = J.get$isTTY$x(self.process.stdin);
  39887. if (!(t7 == null ? false : t7)) {
  39888. line0 = t3.prompt + A.S(line);
  39889. toZone = $.printToZone;
  39890. if (toZone == null)
  39891. A.printString(line0);
  39892. else
  39893. toZone.call$1(line0);
  39894. }
  39895. statement = B.JSString_methods.$add(t3.statement, line);
  39896. t3.statement = statement;
  39897. if (t4.validator.call$1(statement)) {
  39898. t7 = t5._value;
  39899. if (t7 === t5)
  39900. A.throwExpression(A.LateError$localNI(t6));
  39901. J.add$1$ax(t7, t3.statement);
  39902. t3.statement = "";
  39903. t3.prompt = prompt0;
  39904. t2.setPrompt$1(t1, prompt0);
  39905. } else {
  39906. t3.statement += "\n";
  39907. t3.prompt = $prompt;
  39908. t2.setPrompt$1(t1, $prompt);
  39909. }
  39910. // goto for condition
  39911. $async$goto = 6;
  39912. break;
  39913. case 7:
  39914. // after for
  39915. $async$handler = 1;
  39916. // goto after finally
  39917. $async$goto = 5;
  39918. break;
  39919. case 3:
  39920. // catch
  39921. $async$handler = 2;
  39922. $async$exception = $async$currentError;
  39923. error = A.unwrapException($async$exception);
  39924. stackTrace = A.getTraceFromException($async$exception);
  39925. t1 = $async$self.runController;
  39926. t1._readLocal$0().addError$2(error, stackTrace);
  39927. t2 = $async$self.$this.exit$0(0);
  39928. t2 = A._Future$value(t2, type$.void);
  39929. $async$goto = 9;
  39930. return A._asyncAwait(t2, $async$call$0);
  39931. case 9:
  39932. // returning from await.
  39933. J.close$0$x(t1._readLocal$0());
  39934. // goto after finally
  39935. $async$goto = 5;
  39936. break;
  39937. case 2:
  39938. // uncaught
  39939. // goto rethrow
  39940. $async$goto = 1;
  39941. break;
  39942. case 5:
  39943. // after finally
  39944. // implicit return
  39945. return A._asyncReturn(null, $async$completer);
  39946. case 1:
  39947. // rethrow
  39948. return A._asyncRethrow($async$currentError, $async$completer);
  39949. }
  39950. });
  39951. return A._asyncStartSync($async$call$0, $async$completer);
  39952. },
  39953. $signature: 31
  39954. };
  39955. A.ReplAdapter_runAsync__closure.prototype = {
  39956. call$1(value) {
  39957. return this.lineController.add$1(0, A._asString(value));
  39958. },
  39959. $signature: 131
  39960. };
  39961. A.Stdin.prototype = {};
  39962. A.Stdout.prototype = {};
  39963. A.ReadlineModule.prototype = {};
  39964. A.ReadlineOptions.prototype = {};
  39965. A.ReadlineInterface.prototype = {};
  39966. A.EmptyUnmodifiableSet.prototype = {
  39967. get$iterator(_) {
  39968. return B.C_EmptyIterator;
  39969. },
  39970. get$length(_) {
  39971. return 0;
  39972. },
  39973. contains$1(_, element) {
  39974. return false;
  39975. },
  39976. toSet$0(_) {
  39977. return A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
  39978. },
  39979. $isEfficientLengthIterable: 1,
  39980. $isSet: 1
  39981. };
  39982. A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin.prototype = {};
  39983. A.DefaultEquality.prototype = {};
  39984. A.IterableEquality.prototype = {
  39985. equals$2(_, elements1, elements2) {
  39986. var it1, it2, hasNext;
  39987. if (elements1 === elements2)
  39988. return true;
  39989. it1 = J.get$iterator$ax(elements1);
  39990. it2 = J.get$iterator$ax(elements2);
  39991. for (; true;) {
  39992. hasNext = it1.moveNext$0();
  39993. if (hasNext !== it2.moveNext$0())
  39994. return false;
  39995. if (!hasNext)
  39996. return true;
  39997. if (!J.$eq$(it1.get$current(it1), it2.get$current(it2)))
  39998. return false;
  39999. }
  40000. },
  40001. hash$1(elements) {
  40002. var t1, hash, _i;
  40003. for (t1 = elements.length, hash = 0, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i) {
  40004. hash = hash + J.get$hashCode$(elements[_i]) & 2147483647;
  40005. hash = hash + (hash << 10 >>> 0) & 2147483647;
  40006. hash ^= hash >>> 6;
  40007. }
  40008. hash = hash + (hash << 3 >>> 0) & 2147483647;
  40009. hash ^= hash >>> 11;
  40010. return hash + (hash << 15 >>> 0) & 2147483647;
  40011. }
  40012. };
  40013. A.ListEquality.prototype = {
  40014. equals$2(_, list1, list2) {
  40015. var t1, $length, t2, i;
  40016. if (list1 == null ? list2 == null : list1 === list2)
  40017. return true;
  40018. if (list1 == null || list2 == null)
  40019. return false;
  40020. t1 = J.getInterceptor$asx(list1);
  40021. $length = t1.get$length(list1);
  40022. t2 = J.getInterceptor$asx(list2);
  40023. if ($length !== t2.get$length(list2))
  40024. return false;
  40025. for (i = 0; i < $length; ++i)
  40026. if (!J.$eq$(t1.$index(list1, i), t2.$index(list2, i)))
  40027. return false;
  40028. return true;
  40029. },
  40030. hash$1(list) {
  40031. var hash, i;
  40032. for (hash = 0, i = 0; i < list.length; ++i) {
  40033. hash = hash + J.get$hashCode$(list[i]) & 2147483647;
  40034. hash = hash + (hash << 10 >>> 0) & 2147483647;
  40035. hash ^= hash >>> 6;
  40036. }
  40037. hash = hash + (hash << 3 >>> 0) & 2147483647;
  40038. hash ^= hash >>> 11;
  40039. return hash + (hash << 15 >>> 0) & 2147483647;
  40040. }
  40041. };
  40042. A._MapEntry.prototype = {
  40043. get$hashCode(_) {
  40044. return 3 * J.get$hashCode$(this.key) + 7 * J.get$hashCode$(this.value) & 2147483647;
  40045. },
  40046. $eq(_, other) {
  40047. if (other == null)
  40048. return false;
  40049. return other instanceof A._MapEntry && J.$eq$(this.key, other.key) && J.$eq$(this.value, other.value);
  40050. }
  40051. };
  40052. A.MapEquality.prototype = {
  40053. equals$2(_, map1, map2) {
  40054. var equalElementCounts, t1, key, entry, count;
  40055. if (map1 === map2)
  40056. return true;
  40057. if (map1.get$length(map1) !== map2.get$length(map2))
  40058. return false;
  40059. equalElementCounts = A.HashMap_HashMap(type$._MapEntry, type$.int);
  40060. for (t1 = J.get$iterator$ax(map1.get$keys(map1)); t1.moveNext$0();) {
  40061. key = t1.get$current(t1);
  40062. entry = new A._MapEntry(this, key, map1.$index(0, key));
  40063. count = equalElementCounts.$index(0, entry);
  40064. equalElementCounts.$indexSet(0, entry, (count == null ? 0 : count) + 1);
  40065. }
  40066. for (t1 = J.get$iterator$ax(map2.get$keys(map2)); t1.moveNext$0();) {
  40067. key = t1.get$current(t1);
  40068. entry = new A._MapEntry(this, key, map2.$index(0, key));
  40069. count = equalElementCounts.$index(0, entry);
  40070. if (count == null || count === 0)
  40071. return false;
  40072. equalElementCounts.$indexSet(0, entry, count - 1);
  40073. }
  40074. return true;
  40075. },
  40076. hash$1(map) {
  40077. var t1, t2, hash, key, keyHash, t3;
  40078. for (t1 = J.get$iterator$ax(map.get$keys(map)), t2 = A._instanceType(this)._rest[1], hash = 0; t1.moveNext$0();) {
  40079. key = t1.get$current(t1);
  40080. keyHash = J.get$hashCode$(key);
  40081. t3 = map.$index(0, key);
  40082. hash = hash + 3 * keyHash + 7 * J.get$hashCode$(t3 == null ? t2._as(t3) : t3) & 2147483647;
  40083. }
  40084. hash = hash + (hash << 3 >>> 0) & 2147483647;
  40085. hash ^= hash >>> 11;
  40086. return hash + (hash << 15 >>> 0) & 2147483647;
  40087. }
  40088. };
  40089. A.QueueList.prototype = {
  40090. add$1(_, element) {
  40091. this._queue_list$_add$1(element);
  40092. },
  40093. addAll$1(_, iterable) {
  40094. var addCount, $length, t1, endSpace, t2, preSpace, _this = this;
  40095. if (type$.List_dynamic._is(iterable)) {
  40096. addCount = J.get$length$asx(iterable);
  40097. $length = _this.get$length(_this);
  40098. t1 = $length + addCount;
  40099. if (t1 >= J.get$length$asx(_this._queue_list$_table)) {
  40100. _this._preGrow$1(t1);
  40101. J.setRange$4$ax(_this._queue_list$_table, $length, t1, iterable, 0);
  40102. _this.set$_queue_list$_tail(_this.get$_queue_list$_tail() + addCount);
  40103. } else {
  40104. endSpace = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_tail();
  40105. t1 = _this._queue_list$_table;
  40106. t2 = J.getInterceptor$ax(t1);
  40107. if (addCount < endSpace) {
  40108. t2.setRange$4(t1, _this.get$_queue_list$_tail(), _this.get$_queue_list$_tail() + addCount, iterable, 0);
  40109. _this.set$_queue_list$_tail(_this.get$_queue_list$_tail() + addCount);
  40110. } else {
  40111. preSpace = addCount - endSpace;
  40112. t2.setRange$4(t1, _this.get$_queue_list$_tail(), _this.get$_queue_list$_tail() + endSpace, iterable, 0);
  40113. J.setRange$4$ax(_this._queue_list$_table, 0, preSpace, iterable, endSpace);
  40114. _this.set$_queue_list$_tail(preSpace);
  40115. }
  40116. }
  40117. } else
  40118. for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0();)
  40119. _this._queue_list$_add$1(t1.get$current(t1));
  40120. },
  40121. cast$1$0(_, $T) {
  40122. return new A._CastQueueList(this, J.cast$1$0$ax(this._queue_list$_table, $T), -1, -1, A._instanceType(this)._eval$1("@<QueueList.E>")._bind$1($T)._eval$1("_CastQueueList<1,2>"));
  40123. },
  40124. toString$0(_) {
  40125. return A.Iterable_iterableToFullString(this, "{", "}");
  40126. },
  40127. addFirst$1(element) {
  40128. var _this = this;
  40129. _this.set$_queue_list$_head((_this.get$_queue_list$_head() - 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  40130. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_head(), element);
  40131. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  40132. _this._queue_list$_grow$0();
  40133. },
  40134. removeFirst$0() {
  40135. var result, _this = this;
  40136. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  40137. throw A.wrapException(A.StateError$("No element"));
  40138. result = J.$index$asx(_this._queue_list$_table, _this.get$_queue_list$_head());
  40139. if (result == null)
  40140. result = A._instanceType(_this)._eval$1("QueueList.E")._as(result);
  40141. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_head(), null);
  40142. _this.set$_queue_list$_head((_this.get$_queue_list$_head() + 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  40143. return result;
  40144. },
  40145. removeLast$0(_) {
  40146. var result, _this = this;
  40147. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  40148. throw A.wrapException(A.StateError$("No element"));
  40149. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() - 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  40150. result = J.$index$asx(_this._queue_list$_table, _this.get$_queue_list$_tail());
  40151. if (result == null)
  40152. result = A._instanceType(_this)._eval$1("QueueList.E")._as(result);
  40153. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_tail(), null);
  40154. return result;
  40155. },
  40156. get$length(_) {
  40157. return (this.get$_queue_list$_tail() - this.get$_queue_list$_head() & J.get$length$asx(this._queue_list$_table) - 1) >>> 0;
  40158. },
  40159. set$length(_, value) {
  40160. var delta, newTail, t1, t2, _this = this;
  40161. if (value < 0)
  40162. throw A.wrapException(A.RangeError$("Length " + value + " may not be negative."));
  40163. if (value > _this.get$length(_this) && !A._instanceType(_this)._eval$1("QueueList.E")._is(null))
  40164. 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) + "`."));
  40165. delta = value - _this.get$length(_this);
  40166. if (delta >= 0) {
  40167. if (J.get$length$asx(_this._queue_list$_table) <= value)
  40168. _this._preGrow$1(value);
  40169. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() + delta & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  40170. return;
  40171. }
  40172. newTail = _this.get$_queue_list$_tail() + delta;
  40173. t1 = _this._queue_list$_table;
  40174. if (newTail >= 0)
  40175. J.fillRange$3$ax(t1, newTail, _this.get$_queue_list$_tail(), null);
  40176. else {
  40177. newTail += J.get$length$asx(t1);
  40178. J.fillRange$3$ax(_this._queue_list$_table, 0, _this.get$_queue_list$_tail(), null);
  40179. t1 = _this._queue_list$_table;
  40180. t2 = J.getInterceptor$asx(t1);
  40181. t2.fillRange$3(t1, newTail, t2.get$length(t1), null);
  40182. }
  40183. _this.set$_queue_list$_tail(newTail);
  40184. },
  40185. $index(_, index) {
  40186. var t1, _this = this;
  40187. if (index < 0 || index >= _this.get$length(_this))
  40188. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(_this) + ")."));
  40189. t1 = J.$index$asx(_this._queue_list$_table, (_this.get$_queue_list$_head() + index & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  40190. return t1 == null ? A._instanceType(_this)._eval$1("QueueList.E")._as(t1) : t1;
  40191. },
  40192. $indexSet(_, index, value) {
  40193. var _this = this;
  40194. if (index < 0 || index >= _this.get$length(_this))
  40195. throw A.wrapException(A.RangeError$("Index " + index + " must be in the range [0.." + _this.get$length(_this) + ")."));
  40196. J.$indexSet$ax(_this._queue_list$_table, (_this.get$_queue_list$_head() + index & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0, value);
  40197. },
  40198. _queue_list$_add$1(element) {
  40199. var _this = this;
  40200. J.$indexSet$ax(_this._queue_list$_table, _this.get$_queue_list$_tail(), element);
  40201. _this.set$_queue_list$_tail((_this.get$_queue_list$_tail() + 1 & J.get$length$asx(_this._queue_list$_table) - 1) >>> 0);
  40202. if (_this.get$_queue_list$_head() === _this.get$_queue_list$_tail())
  40203. _this._queue_list$_grow$0();
  40204. },
  40205. _queue_list$_grow$0() {
  40206. var _this = this,
  40207. newTable = A.List_List$filled(J.get$length$asx(_this._queue_list$_table) * 2, null, false, A._instanceType(_this)._eval$1("QueueList.E?")),
  40208. split = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_head();
  40209. B.JSArray_methods.setRange$4(newTable, 0, split, _this._queue_list$_table, _this.get$_queue_list$_head());
  40210. B.JSArray_methods.setRange$4(newTable, split, split + _this.get$_queue_list$_head(), _this._queue_list$_table, 0);
  40211. _this.set$_queue_list$_head(0);
  40212. _this.set$_queue_list$_tail(J.get$length$asx(_this._queue_list$_table));
  40213. _this._queue_list$_table = newTable;
  40214. },
  40215. _writeToList$1(target) {
  40216. var $length, firstPartSize, _this = this;
  40217. if (_this.get$_queue_list$_head() <= _this.get$_queue_list$_tail()) {
  40218. $length = _this.get$_queue_list$_tail() - _this.get$_queue_list$_head();
  40219. B.JSArray_methods.setRange$4(target, 0, $length, _this._queue_list$_table, _this.get$_queue_list$_head());
  40220. return $length;
  40221. } else {
  40222. firstPartSize = J.get$length$asx(_this._queue_list$_table) - _this.get$_queue_list$_head();
  40223. B.JSArray_methods.setRange$4(target, 0, firstPartSize, _this._queue_list$_table, _this.get$_queue_list$_head());
  40224. B.JSArray_methods.setRange$4(target, firstPartSize, firstPartSize + _this.get$_queue_list$_tail(), _this._queue_list$_table, 0);
  40225. return _this.get$_queue_list$_tail() + firstPartSize;
  40226. }
  40227. },
  40228. _preGrow$1(newElementCount) {
  40229. var _this = this,
  40230. 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?"));
  40231. _this.set$_queue_list$_tail(_this._writeToList$1(newTable));
  40232. _this._queue_list$_table = newTable;
  40233. _this.set$_queue_list$_head(0);
  40234. },
  40235. $isEfficientLengthIterable: 1,
  40236. $isQueue: 1,
  40237. $isIterable: 1,
  40238. $isList: 1,
  40239. get$_queue_list$_head() {
  40240. return this._queue_list$_head;
  40241. },
  40242. get$_queue_list$_tail() {
  40243. return this._queue_list$_tail;
  40244. },
  40245. set$_queue_list$_head(val) {
  40246. return this._queue_list$_head = val;
  40247. },
  40248. set$_queue_list$_tail(val) {
  40249. return this._queue_list$_tail = val;
  40250. }
  40251. };
  40252. A._CastQueueList.prototype = {
  40253. get$_queue_list$_head() {
  40254. return this._queue_list$_delegate.get$_queue_list$_head();
  40255. },
  40256. set$_queue_list$_head(value) {
  40257. this._queue_list$_delegate.set$_queue_list$_head(value);
  40258. },
  40259. get$_queue_list$_tail() {
  40260. return this._queue_list$_delegate.get$_queue_list$_tail();
  40261. },
  40262. set$_queue_list$_tail(value) {
  40263. this._queue_list$_delegate.set$_queue_list$_tail(value);
  40264. }
  40265. };
  40266. A._QueueList_Object_ListMixin.prototype = {};
  40267. A.UnionSet.prototype = {
  40268. get$length(_) {
  40269. var t1 = this.get$_union_set$_iterable();
  40270. t1 = t1.get$length(t1);
  40271. return t1;
  40272. },
  40273. get$iterator(_) {
  40274. var t1 = this.get$_union_set$_iterable();
  40275. return t1.get$iterator(t1);
  40276. },
  40277. get$_union_set$_iterable() {
  40278. var t1 = this._sets,
  40279. t2 = this.$ti._precomputed1,
  40280. t3 = A._instanceType(t1)._eval$1("@<1>")._bind$1(t2)._eval$1("ExpandIterable<1,2>");
  40281. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t2);
  40282. return new A.WhereIterable(new A.ExpandIterable(t1, new A.UnionSet__iterable_closure(this), t3), t2.get$add(t2), t3._eval$1("WhereIterable<Iterable.E>"));
  40283. },
  40284. contains$1(_, element) {
  40285. return this._sets.any$1(0, new A.UnionSet_contains_closure(this, element));
  40286. },
  40287. toSet$0(_) {
  40288. var t2, t3, t4,
  40289. t1 = A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);
  40290. for (t2 = this._sets, t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  40291. t4 = t2._collection$_current;
  40292. t1.addAll$1(0, t4 == null ? t3._as(t4) : t4);
  40293. }
  40294. return t1;
  40295. }
  40296. };
  40297. A.UnionSet__iterable_closure.prototype = {
  40298. call$1(set) {
  40299. return set;
  40300. },
  40301. $signature() {
  40302. return this.$this.$ti._eval$1("Set<1>(Set<1>)");
  40303. }
  40304. };
  40305. A.UnionSet_contains_closure.prototype = {
  40306. call$1(set) {
  40307. return set.contains$1(0, this.element);
  40308. },
  40309. $signature() {
  40310. return this.$this.$ti._eval$1("bool(Set<1>)");
  40311. }
  40312. };
  40313. A._UnionSet_SetBase_UnmodifiableSetMixin.prototype = {};
  40314. A.UnmodifiableSetView0.prototype = {};
  40315. A.UnmodifiableSetMixin.prototype = {
  40316. add$1(_, value) {
  40317. return A.UnmodifiableSetMixin__throw();
  40318. },
  40319. addAll$1(_, elements) {
  40320. return A.UnmodifiableSetMixin__throw();
  40321. },
  40322. remove$1(_, value) {
  40323. return A.UnmodifiableSetMixin__throw();
  40324. }
  40325. };
  40326. A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin.prototype = {};
  40327. A._DelegatingIterableBase.prototype = {
  40328. contains$1(_, element) {
  40329. return J.contains$1$asx(this.get$_base(), element);
  40330. },
  40331. elementAt$1(_, index) {
  40332. return J.elementAt$1$ax(this.get$_base(), index);
  40333. },
  40334. get$first(_) {
  40335. return J.get$first$ax(this.get$_base());
  40336. },
  40337. get$isEmpty(_) {
  40338. return J.get$isEmpty$asx(this.get$_base());
  40339. },
  40340. get$isNotEmpty(_) {
  40341. return J.get$isNotEmpty$asx(this.get$_base());
  40342. },
  40343. get$iterator(_) {
  40344. return J.get$iterator$ax(this.get$_base());
  40345. },
  40346. get$last(_) {
  40347. return J.get$last$ax(this.get$_base());
  40348. },
  40349. get$length(_) {
  40350. return J.get$length$asx(this.get$_base());
  40351. },
  40352. map$1$1(_, f, $T) {
  40353. return J.map$1$1$ax(this.get$_base(), f, $T);
  40354. },
  40355. get$single(_) {
  40356. return J.get$single$ax(this.get$_base());
  40357. },
  40358. skip$1(_, n) {
  40359. return J.skip$1$ax(this.get$_base(), n);
  40360. },
  40361. take$1(_, n) {
  40362. return J.take$1$ax(this.get$_base(), n);
  40363. },
  40364. toList$1$growable(_, growable) {
  40365. return J.toList$1$growable$ax(this.get$_base(), true);
  40366. },
  40367. toList$0($receiver) {
  40368. return this.toList$1$growable($receiver, true);
  40369. },
  40370. toSet$0(_) {
  40371. return J.toSet$0$ax(this.get$_base());
  40372. },
  40373. where$1(_, test) {
  40374. return J.where$1$ax(this.get$_base(), test);
  40375. },
  40376. toString$0(_) {
  40377. return J.toString$0$(this.get$_base());
  40378. },
  40379. $isIterable: 1
  40380. };
  40381. A.DelegatingSet.prototype = {
  40382. add$1(_, value) {
  40383. return this._base.add$1(0, value);
  40384. },
  40385. addAll$1(_, elements) {
  40386. this._base.addAll$1(0, elements);
  40387. },
  40388. toSet$0(_) {
  40389. return new A.DelegatingSet(this._base.toSet$0(0), A._instanceType(this)._eval$1("DelegatingSet<1>"));
  40390. },
  40391. $isEfficientLengthIterable: 1,
  40392. $isSet: 1,
  40393. get$_base() {
  40394. return this._base;
  40395. }
  40396. };
  40397. A.MapKeySet.prototype = {
  40398. get$_base() {
  40399. var t1 = this._baseMap;
  40400. return t1.get$keys(t1);
  40401. },
  40402. contains$1(_, element) {
  40403. return this._baseMap.containsKey$1(element);
  40404. },
  40405. get$isEmpty(_) {
  40406. var t1 = this._baseMap;
  40407. return t1.get$isEmpty(t1);
  40408. },
  40409. get$isNotEmpty(_) {
  40410. var t1 = this._baseMap;
  40411. return t1.get$isNotEmpty(t1);
  40412. },
  40413. get$length(_) {
  40414. var t1 = this._baseMap;
  40415. return t1.get$length(t1);
  40416. },
  40417. toString$0(_) {
  40418. return A.Iterable_iterableToFullString(this, "{", "}");
  40419. },
  40420. difference$1(other) {
  40421. return J.where$1$ax(this.get$_base(), new A.MapKeySet_difference_closure(this, other)).toSet$0(0);
  40422. },
  40423. $isEfficientLengthIterable: 1,
  40424. $isSet: 1
  40425. };
  40426. A.MapKeySet_difference_closure.prototype = {
  40427. call$1(element) {
  40428. return !this.other._source.contains$1(0, element);
  40429. },
  40430. $signature() {
  40431. return this.$this.$ti._eval$1("bool(1)");
  40432. }
  40433. };
  40434. A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin.prototype = {};
  40435. A.BufferModule.prototype = {};
  40436. A.BufferConstants.prototype = {};
  40437. A.Buffer.prototype = {};
  40438. A.ConsoleModule.prototype = {};
  40439. A.Console.prototype = {};
  40440. A.EventEmitter.prototype = {};
  40441. A.FS.prototype = {};
  40442. A.FSConstants.prototype = {};
  40443. A.FSWatcher.prototype = {};
  40444. A.ReadStream.prototype = {};
  40445. A.ReadStreamOptions.prototype = {};
  40446. A.WriteStream.prototype = {};
  40447. A.WriteStreamOptions.prototype = {};
  40448. A.FileOptions.prototype = {};
  40449. A.StatOptions.prototype = {};
  40450. A.MkdirOptions.prototype = {};
  40451. A.RmdirOptions.prototype = {};
  40452. A.WatchOptions.prototype = {};
  40453. A.WatchFileOptions.prototype = {};
  40454. A.Stats.prototype = {};
  40455. A.Promise.prototype = {};
  40456. A.Date.prototype = {};
  40457. A.JsError.prototype = {};
  40458. A.Atomics.prototype = {};
  40459. A.Modules.prototype = {};
  40460. A.Module.prototype = {};
  40461. A.Net.prototype = {};
  40462. A.Socket.prototype = {};
  40463. A.NetAddress.prototype = {};
  40464. A.NetServer.prototype = {};
  40465. A.NodeJsError.prototype = {};
  40466. A.JsAssertionError.prototype = {};
  40467. A.JsRangeError.prototype = {};
  40468. A.JsReferenceError.prototype = {};
  40469. A.JsSyntaxError.prototype = {};
  40470. A.JsTypeError.prototype = {};
  40471. A.JsSystemError.prototype = {};
  40472. A.Process.prototype = {};
  40473. A.CPUUsage.prototype = {};
  40474. A.Release.prototype = {};
  40475. A.StreamModule.prototype = {};
  40476. A.Readable.prototype = {};
  40477. A.Writable.prototype = {};
  40478. A.Duplex.prototype = {};
  40479. A.Transform.prototype = {};
  40480. A.WritableOptions.prototype = {};
  40481. A.ReadableOptions.prototype = {};
  40482. A.Immediate.prototype = {};
  40483. A.Timeout.prototype = {};
  40484. A.TTY.prototype = {};
  40485. A.TTYReadStream.prototype = {};
  40486. A.TTYWriteStream.prototype = {};
  40487. A.Util.prototype = {};
  40488. A.promiseToFuture_closure.prototype = {
  40489. call$1(value) {
  40490. this.completer.complete$1(value);
  40491. },
  40492. $signature: 79
  40493. };
  40494. A.promiseToFuture_closure0.prototype = {
  40495. call$1(error) {
  40496. this.completer.completeError$1(error);
  40497. },
  40498. $signature: 79
  40499. };
  40500. A.futureToPromise_closure.prototype = {
  40501. call$2(resolve, reject) {
  40502. this.future.then$1$2$onError(0, new A.futureToPromise__closure(resolve, this.T), reject, type$.dynamic);
  40503. },
  40504. $signature: 457
  40505. };
  40506. A.futureToPromise__closure.prototype = {
  40507. call$1(result) {
  40508. return this.resolve.call$1(result);
  40509. },
  40510. $signature() {
  40511. return this.T._eval$1("@(0)");
  40512. }
  40513. };
  40514. A.Context.prototype = {
  40515. absolute$15(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15) {
  40516. var t1;
  40517. A._validateArgList("absolute", A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15], type$.JSArray_nullable_String));
  40518. if (part2 == null) {
  40519. t1 = this.style;
  40520. t1 = t1.rootLength$1(part1) > 0 && !t1.isRootRelative$1(part1);
  40521. } else
  40522. t1 = false;
  40523. if (t1)
  40524. return part1;
  40525. t1 = this._context$_current;
  40526. return this.join$16(0, t1 == null ? A.current() : t1, part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15);
  40527. },
  40528. absolute$1(part1) {
  40529. return this.absolute$15(part1, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  40530. },
  40531. dirname$1(path) {
  40532. var t1, t2,
  40533. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  40534. parsed.removeTrailingSeparators$0();
  40535. t1 = parsed.parts;
  40536. t2 = t1.length;
  40537. if (t2 === 0) {
  40538. t1 = parsed.root;
  40539. return t1 == null ? "." : t1;
  40540. }
  40541. if (t2 === 1) {
  40542. t1 = parsed.root;
  40543. return t1 == null ? "." : t1;
  40544. }
  40545. B.JSArray_methods.removeLast$0(t1);
  40546. parsed.separators.pop();
  40547. parsed.removeTrailingSeparators$0();
  40548. return parsed.toString$0(0);
  40549. },
  40550. join$16(_, part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16) {
  40551. var parts = A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16], type$.JSArray_nullable_String);
  40552. A._validateArgList("join", parts);
  40553. return this.joinAll$1(new A.WhereTypeIterable(parts, type$.WhereTypeIterable_String));
  40554. },
  40555. join$2($receiver, part1, part2) {
  40556. return this.join$16($receiver, part1, part2, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  40557. },
  40558. joinAll$1(parts) {
  40559. var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path;
  40560. 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();) {
  40561. t5 = t1.get$current(t1);
  40562. if (t3.isRootRelative$1(t5) && isAbsoluteAndNotRootRelative) {
  40563. parsed = A.ParsedPath_ParsedPath$parse(t5, t3);
  40564. path = t4.charCodeAt(0) == 0 ? t4 : t4;
  40565. t4 = B.JSString_methods.substring$2(path, 0, t3.rootLength$2$withDrive(path, true));
  40566. parsed.root = t4;
  40567. if (t3.needsSeparator$1(t4))
  40568. parsed.separators[0] = t3.get$separator(t3);
  40569. t4 = "" + parsed.toString$0(0);
  40570. } else if (t3.rootLength$1(t5) > 0) {
  40571. isAbsoluteAndNotRootRelative = !t3.isRootRelative$1(t5);
  40572. t4 = "" + t5;
  40573. } else {
  40574. if (!(t5.length !== 0 && t3.containsSeparator$1(t5[0])))
  40575. if (needsSeparator)
  40576. t4 += t3.get$separator(t3);
  40577. t4 += t5;
  40578. }
  40579. needsSeparator = t3.needsSeparator$1(t5);
  40580. }
  40581. return t4.charCodeAt(0) == 0 ? t4 : t4;
  40582. },
  40583. split$1(_, path) {
  40584. var parsed = A.ParsedPath_ParsedPath$parse(path, this.style),
  40585. t1 = parsed.parts,
  40586. t2 = A._arrayInstanceType(t1)._eval$1("WhereIterable<1>");
  40587. t2 = A.List_List$of(new A.WhereIterable(t1, new A.Context_split_closure(), t2), true, t2._eval$1("Iterable.E"));
  40588. parsed.parts = t2;
  40589. t1 = parsed.root;
  40590. if (t1 != null)
  40591. B.JSArray_methods.insert$2(t2, 0, t1);
  40592. return parsed.parts;
  40593. },
  40594. canonicalize$1(_, path) {
  40595. var t1, parsed;
  40596. path = this.absolute$1(path);
  40597. t1 = this.style;
  40598. if (t1 !== $.$get$Style_windows() && !this._needsNormalization$1(path))
  40599. return path;
  40600. parsed = A.ParsedPath_ParsedPath$parse(path, t1);
  40601. parsed.normalize$1$canonicalize(true);
  40602. return parsed.toString$0(0);
  40603. },
  40604. normalize$1(path) {
  40605. var parsed;
  40606. if (!this._needsNormalization$1(path))
  40607. return path;
  40608. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  40609. parsed.normalize$0();
  40610. return parsed.toString$0(0);
  40611. },
  40612. _needsNormalization$1(path) {
  40613. var i, start, previous, t2, t3, previousPrevious, codeUnit, t4,
  40614. t1 = this.style,
  40615. root = t1.rootLength$1(path);
  40616. if (root !== 0) {
  40617. if (t1 === $.$get$Style_windows())
  40618. for (i = 0; i < root; ++i)
  40619. if (path.charCodeAt(i) === 47)
  40620. return true;
  40621. start = root;
  40622. previous = 47;
  40623. } else {
  40624. start = 0;
  40625. previous = null;
  40626. }
  40627. for (t2 = new A.CodeUnits(path)._string, t3 = t2.length, i = start, previousPrevious = null; i < t3; ++i, previousPrevious = previous, previous = codeUnit) {
  40628. codeUnit = t2.charCodeAt(i);
  40629. if (t1.isSeparator$1(codeUnit)) {
  40630. if (t1 === $.$get$Style_windows() && codeUnit === 47)
  40631. return true;
  40632. if (previous != null && t1.isSeparator$1(previous))
  40633. return true;
  40634. if (previous === 46)
  40635. t4 = previousPrevious == null || previousPrevious === 46 || t1.isSeparator$1(previousPrevious);
  40636. else
  40637. t4 = false;
  40638. if (t4)
  40639. return true;
  40640. }
  40641. }
  40642. if (previous == null)
  40643. return true;
  40644. if (t1.isSeparator$1(previous))
  40645. return true;
  40646. if (previous === 46)
  40647. t1 = previousPrevious == null || t1.isSeparator$1(previousPrevious) || previousPrevious === 46;
  40648. else
  40649. t1 = false;
  40650. if (t1)
  40651. return true;
  40652. return false;
  40653. },
  40654. relative$2$from(path, from) {
  40655. var fromParsed, pathParsed, t2, t3, _this = this,
  40656. _s26_ = 'Unable to find a path to "',
  40657. t1 = from == null;
  40658. if (t1 && _this.style.rootLength$1(path) <= 0)
  40659. return _this.normalize$1(path);
  40660. if (t1) {
  40661. t1 = _this._context$_current;
  40662. from = t1 == null ? A.current() : t1;
  40663. } else
  40664. from = _this.absolute$1(from);
  40665. t1 = _this.style;
  40666. if (t1.rootLength$1(from) <= 0 && t1.rootLength$1(path) > 0)
  40667. return _this.normalize$1(path);
  40668. if (t1.rootLength$1(path) <= 0 || t1.isRootRelative$1(path))
  40669. path = _this.absolute$1(path);
  40670. if (t1.rootLength$1(path) <= 0 && t1.rootLength$1(from) > 0)
  40671. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  40672. fromParsed = A.ParsedPath_ParsedPath$parse(from, t1);
  40673. fromParsed.normalize$0();
  40674. pathParsed = A.ParsedPath_ParsedPath$parse(path, t1);
  40675. pathParsed.normalize$0();
  40676. t2 = fromParsed.parts;
  40677. if (t2.length !== 0 && J.$eq$(t2[0], "."))
  40678. return pathParsed.toString$0(0);
  40679. t2 = fromParsed.root;
  40680. t3 = pathParsed.root;
  40681. if (t2 != t3)
  40682. t2 = t2 == null || t3 == null || !t1.pathsEqual$2(t2, t3);
  40683. else
  40684. t2 = false;
  40685. if (t2)
  40686. return pathParsed.toString$0(0);
  40687. while (true) {
  40688. t2 = fromParsed.parts;
  40689. if (t2.length !== 0) {
  40690. t3 = pathParsed.parts;
  40691. t2 = t3.length !== 0 && t1.pathsEqual$2(t2[0], t3[0]);
  40692. } else
  40693. t2 = false;
  40694. if (!t2)
  40695. break;
  40696. B.JSArray_methods.removeAt$1(fromParsed.parts, 0);
  40697. B.JSArray_methods.removeAt$1(fromParsed.separators, 1);
  40698. B.JSArray_methods.removeAt$1(pathParsed.parts, 0);
  40699. B.JSArray_methods.removeAt$1(pathParsed.separators, 1);
  40700. }
  40701. t2 = fromParsed.parts;
  40702. if (t2.length !== 0 && J.$eq$(t2[0], ".."))
  40703. throw A.wrapException(A.PathException$(_s26_ + path + '" from "' + from + '".'));
  40704. t2 = type$.String;
  40705. B.JSArray_methods.insertAll$2(pathParsed.parts, 0, A.List_List$filled(fromParsed.parts.length, "..", false, t2));
  40706. t3 = pathParsed.separators;
  40707. t3[0] = "";
  40708. B.JSArray_methods.insertAll$2(t3, 1, A.List_List$filled(fromParsed.parts.length, t1.get$separator(t1), false, t2));
  40709. t1 = pathParsed.parts;
  40710. t2 = t1.length;
  40711. if (t2 === 0)
  40712. return ".";
  40713. if (t2 > 1 && J.$eq$(B.JSArray_methods.get$last(t1), ".")) {
  40714. B.JSArray_methods.removeLast$0(pathParsed.parts);
  40715. t1 = pathParsed.separators;
  40716. t1.pop();
  40717. t1.pop();
  40718. t1.push("");
  40719. }
  40720. pathParsed.root = "";
  40721. pathParsed.removeTrailingSeparators$0();
  40722. return pathParsed.toString$0(0);
  40723. },
  40724. relative$1(path) {
  40725. return this.relative$2$from(path, null);
  40726. },
  40727. _isWithinOrEquals$2($parent, child) {
  40728. var relative, t1, parentIsAbsolute, childIsAbsolute, childIsRootRelative, parentIsRootRelative, result, exception, _this = this;
  40729. $parent = $parent;
  40730. child = child;
  40731. t1 = _this.style;
  40732. parentIsAbsolute = t1.rootLength$1($parent) > 0;
  40733. childIsAbsolute = t1.rootLength$1(child) > 0;
  40734. if (parentIsAbsolute && !childIsAbsolute) {
  40735. child = _this.absolute$1(child);
  40736. if (t1.isRootRelative$1($parent))
  40737. $parent = _this.absolute$1($parent);
  40738. } else if (childIsAbsolute && !parentIsAbsolute) {
  40739. $parent = _this.absolute$1($parent);
  40740. if (t1.isRootRelative$1(child))
  40741. child = _this.absolute$1(child);
  40742. } else if (childIsAbsolute && parentIsAbsolute) {
  40743. childIsRootRelative = t1.isRootRelative$1(child);
  40744. parentIsRootRelative = t1.isRootRelative$1($parent);
  40745. if (childIsRootRelative && !parentIsRootRelative)
  40746. child = _this.absolute$1(child);
  40747. else if (parentIsRootRelative && !childIsRootRelative)
  40748. $parent = _this.absolute$1($parent);
  40749. }
  40750. result = _this._isWithinOrEqualsFast$2($parent, child);
  40751. if (result !== B._PathRelation_inconclusive)
  40752. return result;
  40753. relative = null;
  40754. try {
  40755. relative = _this.relative$2$from(child, $parent);
  40756. } catch (exception) {
  40757. if (A.unwrapException(exception) instanceof A.PathException)
  40758. return B._PathRelation_different;
  40759. else
  40760. throw exception;
  40761. }
  40762. if (t1.rootLength$1(relative) > 0)
  40763. return B._PathRelation_different;
  40764. if (J.$eq$(relative, "."))
  40765. return B._PathRelation_equal;
  40766. if (J.$eq$(relative, ".."))
  40767. return B._PathRelation_different;
  40768. 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;
  40769. },
  40770. _isWithinOrEqualsFast$2($parent, child) {
  40771. var t1, parentRootLength, childRootLength, i, t2, t3, childIndex, parentIndex, lastCodeUnit, lastParentSeparator, parentCodeUnit, childCodeUnit, parentIndex0, direction, _this = this;
  40772. if ($parent === ".")
  40773. $parent = "";
  40774. t1 = _this.style;
  40775. parentRootLength = t1.rootLength$1($parent);
  40776. childRootLength = t1.rootLength$1(child);
  40777. if (parentRootLength !== childRootLength)
  40778. return B._PathRelation_different;
  40779. for (i = 0; i < parentRootLength; ++i)
  40780. if (!t1.codeUnitsEqual$2($parent.charCodeAt(i), child.charCodeAt(i)))
  40781. return B._PathRelation_different;
  40782. t2 = child.length;
  40783. t3 = $parent.length;
  40784. childIndex = childRootLength;
  40785. parentIndex = parentRootLength;
  40786. lastCodeUnit = 47;
  40787. lastParentSeparator = null;
  40788. while (true) {
  40789. if (!(parentIndex < t3 && childIndex < t2))
  40790. break;
  40791. c$0: {
  40792. parentCodeUnit = $parent.charCodeAt(parentIndex);
  40793. childCodeUnit = child.charCodeAt(childIndex);
  40794. if (t1.codeUnitsEqual$2(parentCodeUnit, childCodeUnit)) {
  40795. if (t1.isSeparator$1(parentCodeUnit))
  40796. lastParentSeparator = parentIndex;
  40797. ++parentIndex;
  40798. ++childIndex;
  40799. lastCodeUnit = parentCodeUnit;
  40800. break c$0;
  40801. }
  40802. if (t1.isSeparator$1(parentCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  40803. parentIndex0 = parentIndex + 1;
  40804. lastParentSeparator = parentIndex;
  40805. parentIndex = parentIndex0;
  40806. break c$0;
  40807. } else if (t1.isSeparator$1(childCodeUnit) && t1.isSeparator$1(lastCodeUnit)) {
  40808. ++childIndex;
  40809. break c$0;
  40810. }
  40811. if (parentCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  40812. ++parentIndex;
  40813. if (parentIndex === t3)
  40814. break;
  40815. parentCodeUnit = $parent.charCodeAt(parentIndex);
  40816. if (t1.isSeparator$1(parentCodeUnit)) {
  40817. parentIndex0 = parentIndex + 1;
  40818. lastParentSeparator = parentIndex;
  40819. parentIndex = parentIndex0;
  40820. break c$0;
  40821. }
  40822. if (parentCodeUnit === 46) {
  40823. ++parentIndex;
  40824. if (parentIndex === t3 || t1.isSeparator$1($parent.charCodeAt(parentIndex)))
  40825. return B._PathRelation_inconclusive;
  40826. }
  40827. }
  40828. if (childCodeUnit === 46 && t1.isSeparator$1(lastCodeUnit)) {
  40829. ++childIndex;
  40830. if (childIndex === t2)
  40831. break;
  40832. childCodeUnit = child.charCodeAt(childIndex);
  40833. if (t1.isSeparator$1(childCodeUnit)) {
  40834. ++childIndex;
  40835. break c$0;
  40836. }
  40837. if (childCodeUnit === 46) {
  40838. ++childIndex;
  40839. if (childIndex === t2 || t1.isSeparator$1(child.charCodeAt(childIndex)))
  40840. return B._PathRelation_inconclusive;
  40841. }
  40842. }
  40843. if (_this._pathDirection$2(child, childIndex) !== B._PathDirection_988)
  40844. return B._PathRelation_inconclusive;
  40845. if (_this._pathDirection$2($parent, parentIndex) !== B._PathDirection_988)
  40846. return B._PathRelation_inconclusive;
  40847. return B._PathRelation_different;
  40848. }
  40849. }
  40850. if (childIndex === t2) {
  40851. if (parentIndex === t3 || t1.isSeparator$1($parent.charCodeAt(parentIndex)))
  40852. lastParentSeparator = parentIndex;
  40853. else if (lastParentSeparator == null)
  40854. lastParentSeparator = Math.max(0, parentRootLength - 1);
  40855. direction = _this._pathDirection$2($parent, lastParentSeparator);
  40856. if (direction === B._PathDirection_8Gl)
  40857. return B._PathRelation_equal;
  40858. return direction === B._PathDirection_ZGD ? B._PathRelation_inconclusive : B._PathRelation_different;
  40859. }
  40860. direction = _this._pathDirection$2(child, childIndex);
  40861. if (direction === B._PathDirection_8Gl)
  40862. return B._PathRelation_equal;
  40863. if (direction === B._PathDirection_ZGD)
  40864. return B._PathRelation_inconclusive;
  40865. return t1.isSeparator$1(child.charCodeAt(childIndex)) || t1.isSeparator$1(lastCodeUnit) ? B._PathRelation_within : B._PathRelation_different;
  40866. },
  40867. _pathDirection$2(path, index) {
  40868. var t1, t2, i, depth, reachedRoot, i0, t3;
  40869. for (t1 = path.length, t2 = this.style, i = index, depth = 0, reachedRoot = false; i < t1;) {
  40870. while (true) {
  40871. if (!(i < t1 && t2.isSeparator$1(path.charCodeAt(i))))
  40872. break;
  40873. ++i;
  40874. }
  40875. if (i === t1)
  40876. break;
  40877. i0 = i;
  40878. while (true) {
  40879. if (!(i0 < t1 && !t2.isSeparator$1(path.charCodeAt(i0))))
  40880. break;
  40881. ++i0;
  40882. }
  40883. t3 = i0 - i;
  40884. if (!(t3 === 1 && path.charCodeAt(i) === 46))
  40885. if (t3 === 2 && path.charCodeAt(i) === 46 && path.charCodeAt(i + 1) === 46) {
  40886. --depth;
  40887. if (depth < 0)
  40888. break;
  40889. if (depth === 0)
  40890. reachedRoot = true;
  40891. } else
  40892. ++depth;
  40893. if (i0 === t1)
  40894. break;
  40895. i = i0 + 1;
  40896. }
  40897. if (depth < 0)
  40898. return B._PathDirection_ZGD;
  40899. if (depth === 0)
  40900. return B._PathDirection_8Gl;
  40901. if (reachedRoot)
  40902. return B._PathDirection_FIw;
  40903. return B._PathDirection_988;
  40904. },
  40905. hash$1(path) {
  40906. var result, parsed, t1, _this = this;
  40907. path = _this.absolute$1(path);
  40908. result = _this._hashFast$1(path);
  40909. if (result != null)
  40910. return result;
  40911. parsed = A.ParsedPath_ParsedPath$parse(path, _this.style);
  40912. parsed.normalize$0();
  40913. t1 = _this._hashFast$1(parsed.toString$0(0));
  40914. t1.toString;
  40915. return t1;
  40916. },
  40917. _hashFast$1(path) {
  40918. var t1, t2, hash, beginning, wasSeparator, i, codeUnit, t3, next;
  40919. for (t1 = path.length, t2 = this.style, hash = 4603, beginning = true, wasSeparator = true, i = 0; i < t1; ++i) {
  40920. codeUnit = t2.canonicalizeCodeUnit$1(path.charCodeAt(i));
  40921. if (t2.isSeparator$1(codeUnit)) {
  40922. wasSeparator = true;
  40923. continue;
  40924. }
  40925. if (codeUnit === 46 && wasSeparator) {
  40926. t3 = i + 1;
  40927. if (t3 === t1)
  40928. break;
  40929. next = path.charCodeAt(t3);
  40930. if (t2.isSeparator$1(next))
  40931. continue;
  40932. if (!beginning)
  40933. if (next === 46) {
  40934. t3 = i + 2;
  40935. t3 = t3 === t1 || t2.isSeparator$1(path.charCodeAt(t3));
  40936. } else
  40937. t3 = false;
  40938. else
  40939. t3 = false;
  40940. if (t3)
  40941. return null;
  40942. }
  40943. hash = ((hash & 67108863) * 33 ^ codeUnit) >>> 0;
  40944. beginning = false;
  40945. wasSeparator = false;
  40946. }
  40947. return hash;
  40948. },
  40949. withoutExtension$1(path) {
  40950. var i,
  40951. parsed = A.ParsedPath_ParsedPath$parse(path, this.style);
  40952. for (i = parsed.parts.length - 1; i >= 0; --i)
  40953. if (J.get$length$asx(parsed.parts[i]) !== 0) {
  40954. parsed.parts[i] = parsed._splitExtension$0()[0];
  40955. break;
  40956. }
  40957. return parsed.toString$0(0);
  40958. },
  40959. toUri$1(path) {
  40960. var t2,
  40961. t1 = this.style;
  40962. if (t1.rootLength$1(path) <= 0)
  40963. return t1.relativePathToUri$1(path);
  40964. else {
  40965. t2 = this._context$_current;
  40966. return t1.absolutePathToUri$1(this.join$2(0, t2 == null ? A.current() : t2, path));
  40967. }
  40968. },
  40969. prettyUri$1(uri) {
  40970. var path, rel, _this = this,
  40971. typedUri = A._parseUri(uri);
  40972. if (typedUri.get$scheme() === "file" && _this.style === $.$get$Style_url())
  40973. return typedUri.toString$0(0);
  40974. else if (typedUri.get$scheme() !== "file" && typedUri.get$scheme() !== "" && _this.style !== $.$get$Style_url())
  40975. return typedUri.toString$0(0);
  40976. path = _this.normalize$1(_this.style.pathFromUri$1(A._parseUri(typedUri)));
  40977. rel = _this.relative$1(path);
  40978. return _this.split$1(0, rel).length > _this.split$1(0, path).length ? path : rel;
  40979. }
  40980. };
  40981. A.Context_joinAll_closure.prototype = {
  40982. call$1(part) {
  40983. return part !== "";
  40984. },
  40985. $signature: 10
  40986. };
  40987. A.Context_split_closure.prototype = {
  40988. call$1(part) {
  40989. return part.length !== 0;
  40990. },
  40991. $signature: 10
  40992. };
  40993. A._validateArgList_closure.prototype = {
  40994. call$1(arg) {
  40995. return arg == null ? "null" : '"' + arg + '"';
  40996. },
  40997. $signature: 466
  40998. };
  40999. A._PathDirection.prototype = {
  41000. toString$0(_) {
  41001. return this.name;
  41002. }
  41003. };
  41004. A._PathRelation.prototype = {
  41005. toString$0(_) {
  41006. return this.name;
  41007. }
  41008. };
  41009. A.InternalStyle.prototype = {
  41010. getRoot$1(path) {
  41011. var $length = this.rootLength$1(path);
  41012. if ($length > 0)
  41013. return B.JSString_methods.substring$2(path, 0, $length);
  41014. return this.isRootRelative$1(path) ? path[0] : null;
  41015. },
  41016. relativePathToUri$1(path) {
  41017. var segments, _null = null,
  41018. t1 = path.length;
  41019. if (t1 === 0)
  41020. return A._Uri__Uri(_null, _null, _null, _null);
  41021. segments = A.Context_Context(this).split$1(0, path);
  41022. if (this.isSeparator$1(path.charCodeAt(t1 - 1)))
  41023. B.JSArray_methods.add$1(segments, "");
  41024. return A._Uri__Uri(_null, _null, segments, _null);
  41025. },
  41026. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  41027. return codeUnit1 === codeUnit2;
  41028. },
  41029. pathsEqual$2(path1, path2) {
  41030. return path1 === path2;
  41031. },
  41032. canonicalizeCodeUnit$1(codeUnit) {
  41033. return codeUnit;
  41034. },
  41035. canonicalizePart$1(part) {
  41036. return part;
  41037. }
  41038. };
  41039. A.ParsedPath.prototype = {
  41040. get$basename() {
  41041. var _this = this,
  41042. t1 = type$.String,
  41043. 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));
  41044. copy.removeTrailingSeparators$0();
  41045. t1 = copy.parts;
  41046. if (t1.length === 0) {
  41047. t1 = _this.root;
  41048. return t1 == null ? "" : t1;
  41049. }
  41050. return B.JSArray_methods.get$last(t1);
  41051. },
  41052. get$hasTrailingSeparator() {
  41053. var t1 = this.parts;
  41054. if (t1.length !== 0)
  41055. t1 = J.$eq$(B.JSArray_methods.get$last(t1), "") || !J.$eq$(B.JSArray_methods.get$last(this.separators), "");
  41056. else
  41057. t1 = false;
  41058. return t1;
  41059. },
  41060. removeTrailingSeparators$0() {
  41061. var t1, t2, _this = this;
  41062. while (true) {
  41063. t1 = _this.parts;
  41064. if (!(t1.length !== 0 && J.$eq$(B.JSArray_methods.get$last(t1), "")))
  41065. break;
  41066. B.JSArray_methods.removeLast$0(_this.parts);
  41067. _this.separators.pop();
  41068. }
  41069. t1 = _this.separators;
  41070. t2 = t1.length;
  41071. if (t2 !== 0)
  41072. t1[t2 - 1] = "";
  41073. },
  41074. normalize$1$canonicalize(canonicalize) {
  41075. var t1, t2, t3, leadingDoubles, _i, part, t4, _this = this,
  41076. newParts = A._setArrayType([], type$.JSArray_String);
  41077. 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) {
  41078. part = t1[_i];
  41079. t4 = J.getInterceptor$(part);
  41080. if (!(t4.$eq(part, ".") || t4.$eq(part, "")))
  41081. if (t4.$eq(part, ".."))
  41082. if (newParts.length !== 0)
  41083. newParts.pop();
  41084. else
  41085. ++leadingDoubles;
  41086. else
  41087. newParts.push(canonicalize ? t3.canonicalizePart$1(part) : part);
  41088. }
  41089. if (_this.root == null)
  41090. B.JSArray_methods.insertAll$2(newParts, 0, A.List_List$filled(leadingDoubles, "..", false, type$.String));
  41091. if (newParts.length === 0 && _this.root == null)
  41092. newParts.push(".");
  41093. _this.parts = newParts;
  41094. _this.separators = A.List_List$filled(newParts.length + 1, t3.get$separator(t3), true, type$.String);
  41095. t1 = _this.root;
  41096. if (t1 == null || newParts.length === 0 || !t3.needsSeparator$1(t1))
  41097. _this.separators[0] = "";
  41098. t1 = _this.root;
  41099. if (t1 != null && t3 === $.$get$Style_windows()) {
  41100. if (canonicalize)
  41101. t1 = _this.root = t1.toLowerCase();
  41102. t1.toString;
  41103. _this.root = A.stringReplaceAllUnchecked(t1, "/", "\\");
  41104. }
  41105. _this.removeTrailingSeparators$0();
  41106. },
  41107. normalize$0() {
  41108. return this.normalize$1$canonicalize(false);
  41109. },
  41110. toString$0(_) {
  41111. var i, _this = this,
  41112. t1 = _this.root;
  41113. t1 = t1 != null ? "" + t1 : "";
  41114. for (i = 0; i < _this.parts.length; ++i)
  41115. t1 = t1 + A.S(_this.separators[i]) + A.S(_this.parts[i]);
  41116. t1 += A.S(B.JSArray_methods.get$last(_this.separators));
  41117. return t1.charCodeAt(0) == 0 ? t1 : t1;
  41118. },
  41119. _kthLastIndexOf$3(path, character, k) {
  41120. var index, count, leftMostIndexedCharacter;
  41121. for (index = path.length - 1, count = 0, leftMostIndexedCharacter = 0; index >= 0; --index)
  41122. if (path[index] === character) {
  41123. ++count;
  41124. if (count === k)
  41125. return index;
  41126. leftMostIndexedCharacter = index;
  41127. }
  41128. return leftMostIndexedCharacter;
  41129. },
  41130. _splitExtension$1(level) {
  41131. var t1, file, lastDot;
  41132. if (level <= 0)
  41133. throw A.wrapException(A.RangeError$value(level, "level", "level's value must be greater than 0"));
  41134. t1 = this.parts;
  41135. t1 = new A.CastList(t1, A._arrayInstanceType(t1)._eval$1("CastList<1,String?>"));
  41136. file = t1.lastWhere$2$orElse(t1, new A.ParsedPath__splitExtension_closure(), new A.ParsedPath__splitExtension_closure0());
  41137. if (file == null)
  41138. return A._setArrayType(["", ""], type$.JSArray_String);
  41139. if (file === "..")
  41140. return A._setArrayType(["..", ""], type$.JSArray_String);
  41141. lastDot = this._kthLastIndexOf$3(file, ".", level);
  41142. if (lastDot <= 0)
  41143. return A._setArrayType([file, ""], type$.JSArray_String);
  41144. return A._setArrayType([B.JSString_methods.substring$2(file, 0, lastDot), B.JSString_methods.substring$1(file, lastDot)], type$.JSArray_String);
  41145. },
  41146. _splitExtension$0() {
  41147. return this._splitExtension$1(1);
  41148. }
  41149. };
  41150. A.ParsedPath__splitExtension_closure.prototype = {
  41151. call$1(p) {
  41152. return p !== "";
  41153. },
  41154. $signature: 248
  41155. };
  41156. A.ParsedPath__splitExtension_closure0.prototype = {
  41157. call$0() {
  41158. return null;
  41159. },
  41160. $signature: 2
  41161. };
  41162. A.PathException.prototype = {
  41163. toString$0(_) {
  41164. return "PathException: " + this.message;
  41165. },
  41166. $isException: 1,
  41167. get$message(receiver) {
  41168. return this.message;
  41169. }
  41170. };
  41171. A.PathMap.prototype = {};
  41172. A.PathMap__create_closure.prototype = {
  41173. call$2(path1, path2) {
  41174. if (path1 == null)
  41175. return path2 == null;
  41176. if (path2 == null)
  41177. return false;
  41178. return this._box_0.context._isWithinOrEquals$2(path1, path2) === B._PathRelation_equal;
  41179. },
  41180. $signature: 475
  41181. };
  41182. A.PathMap__create_closure0.prototype = {
  41183. call$1(path) {
  41184. return path == null ? 0 : this._box_0.context.hash$1(path);
  41185. },
  41186. $signature: 504
  41187. };
  41188. A.PathMap__create_closure1.prototype = {
  41189. call$1(path) {
  41190. return typeof path == "string" || path == null;
  41191. },
  41192. $signature: 117
  41193. };
  41194. A.Style.prototype = {
  41195. toString$0(_) {
  41196. return this.get$name(this);
  41197. }
  41198. };
  41199. A.PosixStyle.prototype = {
  41200. containsSeparator$1(path) {
  41201. return B.JSString_methods.contains$1(path, "/");
  41202. },
  41203. isSeparator$1(codeUnit) {
  41204. return codeUnit === 47;
  41205. },
  41206. needsSeparator$1(path) {
  41207. var t1 = path.length;
  41208. return t1 !== 0 && path.charCodeAt(t1 - 1) !== 47;
  41209. },
  41210. rootLength$2$withDrive(path, withDrive) {
  41211. if (path.length !== 0 && path.charCodeAt(0) === 47)
  41212. return 1;
  41213. return 0;
  41214. },
  41215. rootLength$1(path) {
  41216. return this.rootLength$2$withDrive(path, false);
  41217. },
  41218. isRootRelative$1(path) {
  41219. return false;
  41220. },
  41221. pathFromUri$1(uri) {
  41222. var t1;
  41223. if (uri.get$scheme() === "" || uri.get$scheme() === "file") {
  41224. t1 = uri.get$path(uri);
  41225. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  41226. }
  41227. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  41228. },
  41229. absolutePathToUri$1(path) {
  41230. var parsed = A.ParsedPath_ParsedPath$parse(path, this),
  41231. t1 = parsed.parts;
  41232. if (t1.length === 0)
  41233. B.JSArray_methods.addAll$1(t1, A._setArrayType(["", ""], type$.JSArray_String));
  41234. else if (parsed.get$hasTrailingSeparator())
  41235. B.JSArray_methods.add$1(parsed.parts, "");
  41236. return A._Uri__Uri(null, null, parsed.parts, "file");
  41237. },
  41238. get$name() {
  41239. return "posix";
  41240. },
  41241. get$separator() {
  41242. return "/";
  41243. }
  41244. };
  41245. A.UrlStyle.prototype = {
  41246. containsSeparator$1(path) {
  41247. return B.JSString_methods.contains$1(path, "/");
  41248. },
  41249. isSeparator$1(codeUnit) {
  41250. return codeUnit === 47;
  41251. },
  41252. needsSeparator$1(path) {
  41253. var t1 = path.length;
  41254. if (t1 === 0)
  41255. return false;
  41256. if (path.charCodeAt(t1 - 1) !== 47)
  41257. return true;
  41258. return B.JSString_methods.endsWith$1(path, "://") && this.rootLength$1(path) === t1;
  41259. },
  41260. rootLength$2$withDrive(path, withDrive) {
  41261. var i, codeUnit, index,
  41262. t1 = path.length;
  41263. if (t1 === 0)
  41264. return 0;
  41265. if (path.charCodeAt(0) === 47)
  41266. return 1;
  41267. for (i = 0; i < t1; ++i) {
  41268. codeUnit = path.charCodeAt(i);
  41269. if (codeUnit === 47)
  41270. return 0;
  41271. if (codeUnit === 58) {
  41272. if (i === 0)
  41273. return 0;
  41274. index = B.JSString_methods.indexOf$2(path, "/", B.JSString_methods.startsWith$2(path, "//", i + 1) ? i + 3 : i);
  41275. if (index <= 0)
  41276. return t1;
  41277. if (!withDrive || t1 < index + 3)
  41278. return index;
  41279. if (!B.JSString_methods.startsWith$1(path, "file://"))
  41280. return index;
  41281. t1 = A.driveLetterEnd(path, index + 1);
  41282. return t1 == null ? index : t1;
  41283. }
  41284. }
  41285. return 0;
  41286. },
  41287. rootLength$1(path) {
  41288. return this.rootLength$2$withDrive(path, false);
  41289. },
  41290. isRootRelative$1(path) {
  41291. return path.length !== 0 && path.charCodeAt(0) === 47;
  41292. },
  41293. pathFromUri$1(uri) {
  41294. return uri.toString$0(0);
  41295. },
  41296. relativePathToUri$1(path) {
  41297. return A.Uri_parse(path);
  41298. },
  41299. absolutePathToUri$1(path) {
  41300. return A.Uri_parse(path);
  41301. },
  41302. get$name() {
  41303. return "url";
  41304. },
  41305. get$separator() {
  41306. return "/";
  41307. }
  41308. };
  41309. A.WindowsStyle.prototype = {
  41310. containsSeparator$1(path) {
  41311. return B.JSString_methods.contains$1(path, "/");
  41312. },
  41313. isSeparator$1(codeUnit) {
  41314. return codeUnit === 47 || codeUnit === 92;
  41315. },
  41316. needsSeparator$1(path) {
  41317. var t1 = path.length;
  41318. if (t1 === 0)
  41319. return false;
  41320. t1 = path.charCodeAt(t1 - 1);
  41321. return !(t1 === 47 || t1 === 92);
  41322. },
  41323. rootLength$2$withDrive(path, withDrive) {
  41324. var index,
  41325. t1 = path.length;
  41326. if (t1 === 0)
  41327. return 0;
  41328. if (path.charCodeAt(0) === 47)
  41329. return 1;
  41330. if (path.charCodeAt(0) === 92) {
  41331. if (t1 < 2 || path.charCodeAt(1) !== 92)
  41332. return 1;
  41333. index = B.JSString_methods.indexOf$2(path, "\\", 2);
  41334. if (index > 0) {
  41335. index = B.JSString_methods.indexOf$2(path, "\\", index + 1);
  41336. if (index > 0)
  41337. return index;
  41338. }
  41339. return t1;
  41340. }
  41341. if (t1 < 3)
  41342. return 0;
  41343. if (!A.isAlphabetic(path.charCodeAt(0)))
  41344. return 0;
  41345. if (path.charCodeAt(1) !== 58)
  41346. return 0;
  41347. t1 = path.charCodeAt(2);
  41348. if (!(t1 === 47 || t1 === 92))
  41349. return 0;
  41350. return 3;
  41351. },
  41352. rootLength$1(path) {
  41353. return this.rootLength$2$withDrive(path, false);
  41354. },
  41355. isRootRelative$1(path) {
  41356. return this.rootLength$1(path) === 1;
  41357. },
  41358. pathFromUri$1(uri) {
  41359. var path, t1;
  41360. if (uri.get$scheme() !== "" && uri.get$scheme() !== "file")
  41361. throw A.wrapException(A.ArgumentError$("Uri " + uri.toString$0(0) + " must have scheme 'file:'.", null));
  41362. path = uri.get$path(uri);
  41363. if (uri.get$host() === "") {
  41364. if (path.length >= 3 && B.JSString_methods.startsWith$1(path, "/") && A.driveLetterEnd(path, 1) != null)
  41365. path = B.JSString_methods.replaceFirst$2(path, "/", "");
  41366. } else
  41367. path = "\\\\" + uri.get$host() + path;
  41368. t1 = A.stringReplaceAllUnchecked(path, "/", "\\");
  41369. return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);
  41370. },
  41371. absolutePathToUri$1(path) {
  41372. var rootParts, t2,
  41373. parsed = A.ParsedPath_ParsedPath$parse(path, this),
  41374. t1 = parsed.root;
  41375. t1.toString;
  41376. if (B.JSString_methods.startsWith$1(t1, "\\\\")) {
  41377. rootParts = new A.WhereIterable(A._setArrayType(t1.split("\\"), type$.JSArray_String), new A.WindowsStyle_absolutePathToUri_closure(), type$.WhereIterable_String);
  41378. B.JSArray_methods.insert$2(parsed.parts, 0, rootParts.get$last(rootParts));
  41379. if (parsed.get$hasTrailingSeparator())
  41380. B.JSArray_methods.add$1(parsed.parts, "");
  41381. return A._Uri__Uri(rootParts.get$first(rootParts), null, parsed.parts, "file");
  41382. } else {
  41383. if (parsed.parts.length === 0 || parsed.get$hasTrailingSeparator())
  41384. B.JSArray_methods.add$1(parsed.parts, "");
  41385. t1 = parsed.parts;
  41386. t2 = parsed.root;
  41387. t2.toString;
  41388. t2 = A.stringReplaceAllUnchecked(t2, "/", "");
  41389. B.JSArray_methods.insert$2(t1, 0, A.stringReplaceAllUnchecked(t2, "\\", ""));
  41390. return A._Uri__Uri(null, null, parsed.parts, "file");
  41391. }
  41392. },
  41393. codeUnitsEqual$2(codeUnit1, codeUnit2) {
  41394. var upperCase1;
  41395. if (codeUnit1 === codeUnit2)
  41396. return true;
  41397. if (codeUnit1 === 47)
  41398. return codeUnit2 === 92;
  41399. if (codeUnit1 === 92)
  41400. return codeUnit2 === 47;
  41401. if ((codeUnit1 ^ codeUnit2) !== 32)
  41402. return false;
  41403. upperCase1 = codeUnit1 | 32;
  41404. return upperCase1 >= 97 && upperCase1 <= 122;
  41405. },
  41406. pathsEqual$2(path1, path2) {
  41407. var t1, i;
  41408. if (path1 === path2)
  41409. return true;
  41410. t1 = path1.length;
  41411. if (t1 !== path2.length)
  41412. return false;
  41413. for (i = 0; i < t1; ++i)
  41414. if (!this.codeUnitsEqual$2(path1.charCodeAt(i), path2.charCodeAt(i)))
  41415. return false;
  41416. return true;
  41417. },
  41418. canonicalizeCodeUnit$1(codeUnit) {
  41419. if (codeUnit === 47)
  41420. return 92;
  41421. if (codeUnit < 65)
  41422. return codeUnit;
  41423. if (codeUnit > 90)
  41424. return codeUnit;
  41425. return codeUnit | 32;
  41426. },
  41427. canonicalizePart$1(part) {
  41428. return part.toLowerCase();
  41429. },
  41430. get$name() {
  41431. return "windows";
  41432. },
  41433. get$separator() {
  41434. return "\\";
  41435. }
  41436. };
  41437. A.WindowsStyle_absolutePathToUri_closure.prototype = {
  41438. call$1(part) {
  41439. return part !== "";
  41440. },
  41441. $signature: 10
  41442. };
  41443. A.Version.prototype = {
  41444. get$min() {
  41445. return this;
  41446. },
  41447. get$max() {
  41448. return this;
  41449. },
  41450. get$includeMin() {
  41451. return true;
  41452. },
  41453. get$includeMax() {
  41454. return true;
  41455. },
  41456. $eq(_, other) {
  41457. var _this = this;
  41458. if (other == null)
  41459. return false;
  41460. return other instanceof A.Version && _this.major === other.major && _this.minor === other.minor && _this.patch === other.patch && B.C_IterableEquality.equals$2(0, _this.preRelease, other.preRelease) && B.C_IterableEquality.equals$2(0, _this.build, other.build);
  41461. },
  41462. get$hashCode(_) {
  41463. var _this = this;
  41464. return (_this.major ^ _this.minor ^ _this.patch ^ B.C_IterableEquality.hash$1(_this.preRelease) ^ B.C_IterableEquality.hash$1(_this.build)) >>> 0;
  41465. },
  41466. compareTo$1(_, other) {
  41467. var t1, t2, t3, comparison, _this = this;
  41468. if (other instanceof A.Version) {
  41469. t1 = _this.major;
  41470. t2 = other.major;
  41471. if (t1 !== t2)
  41472. return B.JSInt_methods.compareTo$1(t1, t2);
  41473. t1 = _this.minor;
  41474. t2 = other.minor;
  41475. if (t1 !== t2)
  41476. return B.JSInt_methods.compareTo$1(t1, t2);
  41477. t1 = _this.patch;
  41478. t2 = other.patch;
  41479. if (t1 !== t2)
  41480. return B.JSInt_methods.compareTo$1(t1, t2);
  41481. t1 = _this.preRelease;
  41482. t2 = t1.length === 0;
  41483. if (t2 && other.preRelease.length !== 0)
  41484. return 1;
  41485. t3 = other.preRelease;
  41486. if (t3.length === 0 && !t2)
  41487. return -1;
  41488. comparison = _this._compareLists$2(t1, t3);
  41489. if (comparison !== 0)
  41490. return comparison;
  41491. t1 = _this.build;
  41492. t2 = t1.length === 0;
  41493. if (t2 && other.build.length !== 0)
  41494. return -1;
  41495. t3 = other.build;
  41496. if (t3.length === 0 && !t2)
  41497. return 1;
  41498. return _this._compareLists$2(t1, t3);
  41499. } else
  41500. return -other.compareTo$1(0, _this);
  41501. },
  41502. toString$0(_) {
  41503. return this._version$_text;
  41504. },
  41505. _compareLists$2(a, b) {
  41506. var i, t1, t2, aPart, bPart;
  41507. for (i = 0; t1 = a.length, t2 = b.length, i < Math.max(t1, t2); ++i) {
  41508. aPart = i < t1 ? a[i] : null;
  41509. bPart = i < t2 ? b[i] : null;
  41510. if (J.$eq$(aPart, bPart))
  41511. continue;
  41512. if (aPart == null)
  41513. return -1;
  41514. if (bPart == null)
  41515. return 1;
  41516. if (typeof aPart == "number")
  41517. if (typeof bPart == "number")
  41518. return B.JSNumber_methods.compareTo$1(aPart, bPart);
  41519. else
  41520. return -1;
  41521. else if (typeof bPart == "number")
  41522. return 1;
  41523. else {
  41524. A._asString(aPart);
  41525. A._asString(bPart);
  41526. if (aPart === bPart)
  41527. t1 = 0;
  41528. else
  41529. t1 = aPart < bPart ? -1 : 1;
  41530. return t1;
  41531. }
  41532. }
  41533. return 0;
  41534. },
  41535. $isComparable: 1,
  41536. $isVersionRange: 1
  41537. };
  41538. A.Version__splitParts_closure.prototype = {
  41539. call$1(part) {
  41540. var t1 = A.Primitives_parseInt(part, null);
  41541. return t1 == null ? part : t1;
  41542. },
  41543. $signature: 527
  41544. };
  41545. A.VersionRange.prototype = {
  41546. $eq(_, other) {
  41547. var t1;
  41548. if (other == null)
  41549. return false;
  41550. if (!type$.VersionRange._is(other))
  41551. return false;
  41552. if (this.min == other.get$min())
  41553. if (J.$eq$(this.max, other.get$max()))
  41554. if (!other.get$includeMin()) {
  41555. other.get$includeMax();
  41556. t1 = true;
  41557. } else
  41558. t1 = false;
  41559. else
  41560. t1 = false;
  41561. else
  41562. t1 = false;
  41563. return t1;
  41564. },
  41565. get$hashCode(_) {
  41566. var t1 = B.JSNull_methods.get$hashCode(this.min),
  41567. t2 = J.get$hashCode$(this.max);
  41568. return (t1 ^ t2 * 3 ^ 1090795 ^ 3633126) >>> 0;
  41569. },
  41570. allows$1(other) {
  41571. var t1 = this.max;
  41572. if (t1 != null)
  41573. if (other.compareTo$1(0, t1) > 0)
  41574. return false;
  41575. return true;
  41576. },
  41577. compareTo$1(_, other) {
  41578. if (other.get$min() == null)
  41579. return this._compareMax$1(other);
  41580. return -1;
  41581. },
  41582. _compareMax$1(other) {
  41583. var t2, result,
  41584. t1 = this.max;
  41585. if (t1 == null) {
  41586. if (other.get$max() == null)
  41587. return 0;
  41588. return 1;
  41589. } else if (other.get$max() == null)
  41590. return -1;
  41591. t2 = other.get$max();
  41592. t2.toString;
  41593. result = t1.compareTo$1(0, t2);
  41594. if (result !== 0)
  41595. return result;
  41596. other.get$includeMax();
  41597. return 0;
  41598. },
  41599. toString$0(_) {
  41600. var t2,
  41601. max = this.max,
  41602. t1 = max == null;
  41603. if (!t1)
  41604. t2 = "" + "<=" + max.toString$0(0);
  41605. else
  41606. t2 = "";
  41607. t1 = t1 ? t2 + "any" : t2;
  41608. return t1.charCodeAt(0) == 0 ? t1 : t1;
  41609. },
  41610. $isComparable: 1,
  41611. get$min() {
  41612. return this.min;
  41613. },
  41614. get$max() {
  41615. return this.max;
  41616. },
  41617. get$includeMin() {
  41618. return this.includeMin;
  41619. },
  41620. get$includeMax() {
  41621. return this.includeMax;
  41622. }
  41623. };
  41624. A.CssMediaQuery.prototype = {
  41625. merge$1(other) {
  41626. 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";
  41627. if (!_this.conjunction || !other.conjunction)
  41628. return B._SingletonCssMediaQueryMergeResult_1;
  41629. t1 = _this.modifier;
  41630. ourModifier = t1 == null ? _null : t1.toLowerCase();
  41631. t2 = _this.type;
  41632. t3 = t2 == null;
  41633. ourType = t3 ? _null : t2.toLowerCase();
  41634. t4 = other.modifier;
  41635. theirModifier = t4 == null ? _null : t4.toLowerCase();
  41636. t5 = other.type;
  41637. t6 = t5 == null;
  41638. theirType = t6 ? _null : t5.toLowerCase();
  41639. t7 = ourType == null;
  41640. if (t7 && theirType == null) {
  41641. t1 = A.List_List$of(_this.conditions, true, type$.String);
  41642. B.JSArray_methods.addAll$1(t1, other.conditions);
  41643. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$condition(t1, true));
  41644. }
  41645. t8 = ourModifier === "not";
  41646. if (t8 !== (theirModifier === "not")) {
  41647. if (ourType == theirType) {
  41648. negativeConditions = t8 ? _this.conditions : other.conditions;
  41649. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  41650. return B._SingletonCssMediaQueryMergeResult_0;
  41651. else
  41652. return B._SingletonCssMediaQueryMergeResult_1;
  41653. } else if (t3 || A.equalsIgnoreCase(t2, _s3_) || t6 || A.equalsIgnoreCase(t5, _s3_))
  41654. return B._SingletonCssMediaQueryMergeResult_1;
  41655. if (t8) {
  41656. conditions = other.conditions;
  41657. type = theirType;
  41658. modifier = theirModifier;
  41659. } else {
  41660. conditions = _this.conditions;
  41661. type = ourType;
  41662. modifier = ourModifier;
  41663. }
  41664. } else if (t8) {
  41665. if (ourType != theirType)
  41666. return B._SingletonCssMediaQueryMergeResult_1;
  41667. fewerConditions = _this.conditions;
  41668. fewerConditions0 = other.conditions;
  41669. t3 = fewerConditions.length > fewerConditions0.length;
  41670. moreConditions = t3 ? fewerConditions : fewerConditions0;
  41671. if (t3)
  41672. fewerConditions = fewerConditions0;
  41673. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  41674. return B._SingletonCssMediaQueryMergeResult_1;
  41675. conditions = moreConditions;
  41676. type = ourType;
  41677. modifier = ourModifier;
  41678. } else if (t3 || A.equalsIgnoreCase(t2, _s3_)) {
  41679. type = (t6 || A.equalsIgnoreCase(t5, _s3_)) && t7 ? _null : theirType;
  41680. t3 = A.List_List$of(_this.conditions, true, type$.String);
  41681. B.JSArray_methods.addAll$1(t3, other.conditions);
  41682. conditions = t3;
  41683. modifier = theirModifier;
  41684. } else {
  41685. if (t6 || A.equalsIgnoreCase(t5, _s3_)) {
  41686. t3 = A.List_List$of(_this.conditions, true, type$.String);
  41687. B.JSArray_methods.addAll$1(t3, other.conditions);
  41688. conditions = t3;
  41689. modifier = ourModifier;
  41690. } else {
  41691. if (ourType != theirType)
  41692. return B._SingletonCssMediaQueryMergeResult_0;
  41693. else {
  41694. modifier = ourModifier == null ? theirModifier : ourModifier;
  41695. t3 = A.List_List$of(_this.conditions, true, type$.String);
  41696. B.JSArray_methods.addAll$1(t3, other.conditions);
  41697. }
  41698. conditions = t3;
  41699. }
  41700. type = ourType;
  41701. }
  41702. t2 = type == ourType ? t2 : t5;
  41703. return new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$type(t2, conditions, modifier == ourModifier ? t1 : t4));
  41704. },
  41705. $eq(_, other) {
  41706. if (other == null)
  41707. return false;
  41708. return other instanceof A.CssMediaQuery && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  41709. },
  41710. get$hashCode(_) {
  41711. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  41712. },
  41713. toString$0(_) {
  41714. var t2, _this = this,
  41715. t1 = _this.modifier;
  41716. t1 = t1 != null ? "" + (t1 + " ") : "";
  41717. t2 = _this.type;
  41718. if (t2 != null) {
  41719. t1 += t2;
  41720. if (_this.conditions.length !== 0)
  41721. t1 += " and ";
  41722. }
  41723. t2 = _this.conjunction ? " and " : " or ";
  41724. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  41725. return t2.charCodeAt(0) == 0 ? t2 : t2;
  41726. }
  41727. };
  41728. A._SingletonCssMediaQueryMergeResult.prototype = {
  41729. _enumToString$0() {
  41730. return "_SingletonCssMediaQueryMergeResult." + this._name;
  41731. }
  41732. };
  41733. A.MediaQuerySuccessfulMergeResult.prototype = {
  41734. toString$0(_) {
  41735. return this.query.toString$0(0);
  41736. }
  41737. };
  41738. A.ModifiableCssAtRule.prototype = {
  41739. accept$1$1(visitor) {
  41740. return visitor.visitCssAtRule$1(this);
  41741. },
  41742. accept$1(visitor) {
  41743. return this.accept$1$1(visitor, type$.dynamic);
  41744. },
  41745. equalsIgnoringChildren$1(other) {
  41746. var t1, t2;
  41747. if (other instanceof A.ModifiableCssAtRule) {
  41748. t1 = this.name;
  41749. t2 = other.name;
  41750. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value) && J.$eq$(this.value, other.value) && this.isChildless === other.isChildless;
  41751. } else
  41752. t1 = false;
  41753. return t1;
  41754. },
  41755. copyWithoutChildren$0() {
  41756. var _this = this;
  41757. return A.ModifiableCssAtRule$(_this.name, _this.span, _this.isChildless, _this.value);
  41758. },
  41759. addChild$1(child) {
  41760. this.super$ModifiableCssParentNode$addChild(child);
  41761. },
  41762. get$isChildless() {
  41763. return this.isChildless;
  41764. },
  41765. get$span(receiver) {
  41766. return this.span;
  41767. }
  41768. };
  41769. A.ModifiableCssComment.prototype = {
  41770. accept$1$1(visitor) {
  41771. return visitor.visitCssComment$1(this);
  41772. },
  41773. accept$1(visitor) {
  41774. return this.accept$1$1(visitor, type$.dynamic);
  41775. },
  41776. $isCssComment: 1,
  41777. get$span(receiver) {
  41778. return this.span;
  41779. }
  41780. };
  41781. A.ModifiableCssDeclaration.prototype = {
  41782. accept$1$1(visitor) {
  41783. return visitor.visitCssDeclaration$1(this);
  41784. },
  41785. accept$1(visitor) {
  41786. return this.accept$1$1(visitor, type$.dynamic);
  41787. },
  41788. toString$0(_) {
  41789. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  41790. },
  41791. get$span(receiver) {
  41792. return this.span;
  41793. }
  41794. };
  41795. A.ModifiableCssImport.prototype = {
  41796. accept$1$1(visitor) {
  41797. return visitor.visitCssImport$1(this);
  41798. },
  41799. accept$1(visitor) {
  41800. return this.accept$1$1(visitor, type$.dynamic);
  41801. },
  41802. get$span(receiver) {
  41803. return this.span;
  41804. }
  41805. };
  41806. A.ModifiableCssKeyframeBlock.prototype = {
  41807. accept$1$1(visitor) {
  41808. return visitor.visitCssKeyframeBlock$1(this);
  41809. },
  41810. accept$1(visitor) {
  41811. return this.accept$1$1(visitor, type$.dynamic);
  41812. },
  41813. equalsIgnoringChildren$1(other) {
  41814. return other instanceof A.ModifiableCssKeyframeBlock && B.C_ListEquality.equals$2(0, this.selector.value, other.selector.value);
  41815. },
  41816. copyWithoutChildren$0() {
  41817. return A.ModifiableCssKeyframeBlock$(this.selector, this.span);
  41818. },
  41819. get$span(receiver) {
  41820. return this.span;
  41821. }
  41822. };
  41823. A.ModifiableCssMediaRule.prototype = {
  41824. accept$1$1(visitor) {
  41825. return visitor.visitCssMediaRule$1(this);
  41826. },
  41827. accept$1(visitor) {
  41828. return this.accept$1$1(visitor, type$.dynamic);
  41829. },
  41830. equalsIgnoringChildren$1(other) {
  41831. return other instanceof A.ModifiableCssMediaRule && B.C_ListEquality.equals$2(0, this.queries, other.queries);
  41832. },
  41833. copyWithoutChildren$0() {
  41834. return A.ModifiableCssMediaRule$(this.queries, this.span);
  41835. },
  41836. get$span(receiver) {
  41837. return this.span;
  41838. }
  41839. };
  41840. A.ModifiableCssNode.prototype = {
  41841. get$hasFollowingSibling() {
  41842. var t2,
  41843. t1 = this._parent;
  41844. if (t1 == null)
  41845. t1 = null;
  41846. else {
  41847. t1 = t1.children;
  41848. t2 = this._indexInParent;
  41849. t2.toString;
  41850. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListBase.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure());
  41851. }
  41852. return t1 === true;
  41853. },
  41854. get$isGroupEnd() {
  41855. return this.isGroupEnd;
  41856. }
  41857. };
  41858. A.ModifiableCssNode_hasFollowingSibling_closure.prototype = {
  41859. call$1(sibling) {
  41860. return !sibling.accept$1(B._IsInvisibleVisitor_true_false);
  41861. },
  41862. $signature: 146
  41863. };
  41864. A.ModifiableCssParentNode.prototype = {
  41865. get$isChildless() {
  41866. return false;
  41867. },
  41868. addChild$1(child) {
  41869. var t1;
  41870. child._parent = this;
  41871. t1 = this._children;
  41872. child._indexInParent = t1.length;
  41873. t1.push(child);
  41874. },
  41875. clearChildren$0() {
  41876. var t1, t2, _i, child;
  41877. for (t1 = this._children, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  41878. child = t1[_i];
  41879. child._indexInParent = child._parent = null;
  41880. }
  41881. B.JSArray_methods.clear$0(t1);
  41882. },
  41883. $isCssParentNode: 1,
  41884. get$children(receiver) {
  41885. return this.children;
  41886. }
  41887. };
  41888. A.ModifiableCssStyleRule.prototype = {
  41889. accept$1$1(visitor) {
  41890. return visitor.visitCssStyleRule$1(this);
  41891. },
  41892. accept$1(visitor) {
  41893. return this.accept$1$1(visitor, type$.dynamic);
  41894. },
  41895. equalsIgnoringChildren$1(other) {
  41896. var t1;
  41897. if (other instanceof A.ModifiableCssStyleRule)
  41898. t1 = B.C_ListEquality.equals$2(0, other._style_rule$_selector._box$_inner.value.components, this._style_rule$_selector._box$_inner.value.components);
  41899. else
  41900. t1 = false;
  41901. return t1;
  41902. },
  41903. copyWithoutChildren$0() {
  41904. return A.ModifiableCssStyleRule$(this._style_rule$_selector, this.span, this.originalSelector);
  41905. },
  41906. get$span(receiver) {
  41907. return this.span;
  41908. }
  41909. };
  41910. A.ModifiableCssStylesheet.prototype = {
  41911. accept$1$1(visitor) {
  41912. return visitor.visitCssStylesheet$1(this);
  41913. },
  41914. accept$1(visitor) {
  41915. return this.accept$1$1(visitor, type$.dynamic);
  41916. },
  41917. equalsIgnoringChildren$1(other) {
  41918. return other instanceof A.ModifiableCssStylesheet;
  41919. },
  41920. copyWithoutChildren$0() {
  41921. return A.ModifiableCssStylesheet$(this.span);
  41922. },
  41923. $isCssStylesheet: 1,
  41924. get$span(receiver) {
  41925. return this.span;
  41926. }
  41927. };
  41928. A.ModifiableCssSupportsRule.prototype = {
  41929. accept$1$1(visitor) {
  41930. return visitor.visitCssSupportsRule$1(this);
  41931. },
  41932. accept$1(visitor) {
  41933. return this.accept$1$1(visitor, type$.dynamic);
  41934. },
  41935. equalsIgnoringChildren$1(other) {
  41936. var t1, t2;
  41937. if (other instanceof A.ModifiableCssSupportsRule) {
  41938. t1 = this.condition;
  41939. t2 = other.condition;
  41940. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value);
  41941. } else
  41942. t1 = false;
  41943. return t1;
  41944. },
  41945. copyWithoutChildren$0() {
  41946. return A.ModifiableCssSupportsRule$(this.condition, this.span);
  41947. },
  41948. get$span(receiver) {
  41949. return this.span;
  41950. }
  41951. };
  41952. A.CssNode.prototype = {
  41953. toString$0(_) {
  41954. return A.serialize(this, true, null, true, null, false, null, true)._0;
  41955. },
  41956. $isAstNode: 1
  41957. };
  41958. A.CssParentNode.prototype = {};
  41959. A._IsInvisibleVisitor.prototype = {
  41960. visitCssAtRule$1(rule) {
  41961. return false;
  41962. },
  41963. visitCssComment$1(comment) {
  41964. return this.includeComments && comment.text.charCodeAt(2) !== 33;
  41965. },
  41966. visitCssStyleRule$1(rule) {
  41967. var t1 = rule._style_rule$_selector._box$_inner;
  41968. return (this.includeBogus ? t1.value.accept$1(B._IsInvisibleVisitor_true) : t1.value.accept$1(B._IsInvisibleVisitor_false)) || this.super$EveryCssVisitor$visitCssStyleRule(rule);
  41969. }
  41970. };
  41971. A.__IsInvisibleVisitor_Object_EveryCssVisitor.prototype = {};
  41972. A.CssStylesheet.prototype = {
  41973. get$isGroupEnd() {
  41974. return false;
  41975. },
  41976. get$isChildless() {
  41977. return false;
  41978. },
  41979. accept$1$1(visitor) {
  41980. return visitor.visitCssStylesheet$1(this);
  41981. },
  41982. accept$1(visitor) {
  41983. return this.accept$1$1(visitor, type$.dynamic);
  41984. },
  41985. get$children(receiver) {
  41986. return this.children;
  41987. },
  41988. get$span(receiver) {
  41989. return this.span;
  41990. }
  41991. };
  41992. A.CssValue.prototype = {
  41993. $eq(_, other) {
  41994. if (other == null)
  41995. return false;
  41996. return this.$ti._is(other) && J.$eq$(other.value, this.value);
  41997. },
  41998. get$hashCode(_) {
  41999. return J.get$hashCode$(this.value);
  42000. },
  42001. toString$0(_) {
  42002. return J.toString$0$(this.value);
  42003. },
  42004. $isAstNode: 1,
  42005. get$span(receiver) {
  42006. return this.span;
  42007. }
  42008. };
  42009. A._FakeAstNode.prototype = {
  42010. get$span(_) {
  42011. return this._callback.call$0();
  42012. },
  42013. $isAstNode: 1
  42014. };
  42015. A.Argument.prototype = {
  42016. toString$0(_) {
  42017. var t1 = this.defaultValue,
  42018. t2 = this.name;
  42019. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  42020. },
  42021. $isAstNode: 1,
  42022. get$span(receiver) {
  42023. return this.span;
  42024. }
  42025. };
  42026. A.ArgumentDeclaration.prototype = {
  42027. get$spanWithName() {
  42028. var t3, t4,
  42029. t1 = this.span,
  42030. t2 = t1.file,
  42031. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
  42032. i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
  42033. while (true) {
  42034. if (i > 0) {
  42035. t3 = text.charCodeAt(i);
  42036. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  42037. } else
  42038. t3 = false;
  42039. if (!t3)
  42040. break;
  42041. --i;
  42042. }
  42043. t3 = text.charCodeAt(i);
  42044. if (!(t3 === 95 || A.CharacterExtension_get_isAlphabetic(t3) || t3 >= 128))
  42045. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  42046. else
  42047. t3 = true;
  42048. if (!t3)
  42049. return t1;
  42050. --i;
  42051. while (true) {
  42052. if (i >= 0) {
  42053. t3 = text.charCodeAt(i);
  42054. if (t3 !== 95) {
  42055. if (!(t3 >= 97 && t3 <= 122))
  42056. t4 = t3 >= 65 && t3 <= 90;
  42057. else
  42058. t4 = true;
  42059. t4 = t4 || t3 >= 128;
  42060. } else
  42061. t4 = true;
  42062. if (!t4)
  42063. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  42064. else
  42065. t3 = true;
  42066. } else
  42067. t3 = false;
  42068. if (!t3)
  42069. break;
  42070. --i;
  42071. }
  42072. t3 = i + 1;
  42073. t4 = text.charCodeAt(t3);
  42074. if (!(t4 === 95 || A.CharacterExtension_get_isAlphabetic(t4) || t4 >= 128))
  42075. return t1;
  42076. return A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
  42077. },
  42078. verify$2(positional, names) {
  42079. var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
  42080. _s10_ = "invocation",
  42081. _s8_ = "argument";
  42082. for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  42083. argument = t1[i];
  42084. if (i < positional) {
  42085. t4 = argument.name;
  42086. if (t3.containsKey$1(t4))
  42087. throw A.wrapException(A.SassScriptException$("Argument " + _this._originalArgumentName$1(t4) + string$.x20was_p, null));
  42088. } else {
  42089. t4 = argument.name;
  42090. if (t3.containsKey$1(t4))
  42091. ++namedUsed;
  42092. else if (argument.defaultValue == null)
  42093. throw A.wrapException(A.MultiSpanSassScriptException$("Missing argument " + _this._originalArgumentName$1(t4) + ".", _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_this.get$spanWithName(), "declaration"], type$.FileSpan, type$.String)));
  42094. }
  42095. }
  42096. if (_this.restArgument != null)
  42097. return;
  42098. if (positional > t2) {
  42099. t1 = names.get$isEmpty(names) ? "" : "positional ";
  42100. 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)));
  42101. }
  42102. if (namedUsed < t3.get$length(t3)) {
  42103. t2 = type$.String;
  42104. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  42105. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  42106. throw A.wrapException(A.MultiSpanSassScriptException$("No " + A.pluralize(_s8_, unknownNames._collection$_length, null) + " named " + 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)));
  42107. }
  42108. },
  42109. _originalArgumentName$1($name) {
  42110. var t1, text, t2, _i, argument, t3, t4, end, _null = null;
  42111. if ($name === this.restArgument) {
  42112. t1 = this.span;
  42113. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
  42114. 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, "."));
  42115. }
  42116. for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  42117. argument = t1[_i];
  42118. if (argument.name === $name) {
  42119. t1 = argument.defaultValue;
  42120. t2 = argument.span;
  42121. t3 = t2.file;
  42122. t4 = t2._file$_start;
  42123. t2 = t2._end;
  42124. if (t1 == null) {
  42125. t1 = t3._decodedChars;
  42126. t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  42127. } else {
  42128. t1 = t3._decodedChars;
  42129. text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  42130. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  42131. end = A._lastNonWhitespace(t1, false);
  42132. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  42133. }
  42134. return t1;
  42135. }
  42136. }
  42137. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
  42138. },
  42139. matches$2(positional, names) {
  42140. var t1, t2, t3, namedUsed, i, argument;
  42141. for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  42142. argument = t1[i];
  42143. if (i < positional) {
  42144. if (t3.containsKey$1(argument.name))
  42145. return false;
  42146. } else if (t3.containsKey$1(argument.name))
  42147. ++namedUsed;
  42148. else if (argument.defaultValue == null)
  42149. return false;
  42150. }
  42151. if (this.restArgument != null)
  42152. return true;
  42153. if (positional > t2)
  42154. return false;
  42155. if (namedUsed < t3.get$length(t3))
  42156. return false;
  42157. return true;
  42158. },
  42159. toString$0(_) {
  42160. var t2, t3, _i,
  42161. t1 = A._setArrayType([], type$.JSArray_String);
  42162. for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i)
  42163. t1.push("$" + A.S(t2[_i]));
  42164. t2 = this.restArgument;
  42165. if (t2 != null)
  42166. t1.push("$" + t2 + "...");
  42167. return B.JSArray_methods.join$1(t1, ", ");
  42168. },
  42169. $isAstNode: 1,
  42170. get$span(receiver) {
  42171. return this.span;
  42172. }
  42173. };
  42174. A.ArgumentDeclaration_verify_closure.prototype = {
  42175. call$1(argument) {
  42176. return argument.name;
  42177. },
  42178. $signature: 581
  42179. };
  42180. A.ArgumentDeclaration_verify_closure0.prototype = {
  42181. call$1($name) {
  42182. return "$" + $name;
  42183. },
  42184. $signature: 7
  42185. };
  42186. A.ArgumentInvocation.prototype = {
  42187. get$isEmpty(_) {
  42188. var t1;
  42189. if (this.positional.length === 0) {
  42190. t1 = this.named;
  42191. t1 = t1.get$isEmpty(t1) && this.rest == null;
  42192. } else
  42193. t1 = false;
  42194. return t1;
  42195. },
  42196. toString$0(_) {
  42197. var t2, t3, _i, _1_0, rest, _2_0, keywordRest, _this = this,
  42198. t1 = A._setArrayType([], type$.JSArray_String);
  42199. for (t2 = _this.positional, t3 = t2.length, _i = 0; _i < t3; ++_i)
  42200. t1.push(_this._parenthesizeArgument$1(t2[_i]));
  42201. for (t2 = A.MapExtensions_get_pairs(_this.named, type$.String, type$.Expression), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  42202. t3 = t2.get$current(t2);
  42203. t1.push("$" + t3._0 + ": " + _this._parenthesizeArgument$1(t3._1));
  42204. }
  42205. _1_0 = _this.rest;
  42206. if (_1_0 != null) {
  42207. rest = _1_0;
  42208. t2 = true;
  42209. } else {
  42210. rest = null;
  42211. t2 = false;
  42212. }
  42213. if (t2)
  42214. t1.push(_this._parenthesizeArgument$1(rest) + "...");
  42215. _2_0 = _this.keywordRest;
  42216. if (_2_0 != null) {
  42217. keywordRest = _2_0;
  42218. t2 = true;
  42219. } else {
  42220. keywordRest = null;
  42221. t2 = false;
  42222. }
  42223. if (t2)
  42224. t1.push(_this._parenthesizeArgument$1(keywordRest) + "...");
  42225. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  42226. },
  42227. _parenthesizeArgument$1(argument) {
  42228. var t1;
  42229. $label0$0: {
  42230. if (argument instanceof A.ListExpression && B.ListSeparator_rXA === argument.separator && !argument.hasBrackets && argument.contents.length >= 2) {
  42231. t1 = "(" + argument.toString$0(0) + ")";
  42232. break $label0$0;
  42233. }
  42234. t1 = argument.toString$0(0);
  42235. break $label0$0;
  42236. }
  42237. return t1;
  42238. },
  42239. $isAstNode: 1,
  42240. get$span(receiver) {
  42241. return this.span;
  42242. }
  42243. };
  42244. A.AtRootQuery.prototype = {
  42245. excludes$1(node) {
  42246. var t1, _this = this;
  42247. if (_this._all)
  42248. return !_this.include;
  42249. $label0$0: {
  42250. if (node instanceof A.ModifiableCssStyleRule) {
  42251. t1 = _this._at_root_query$_rule !== _this.include;
  42252. break $label0$0;
  42253. }
  42254. if (node instanceof A.ModifiableCssMediaRule) {
  42255. t1 = _this.excludesName$1("media");
  42256. break $label0$0;
  42257. }
  42258. if (node instanceof A.ModifiableCssSupportsRule) {
  42259. t1 = _this.excludesName$1("supports");
  42260. break $label0$0;
  42261. }
  42262. if (node instanceof A.ModifiableCssAtRule) {
  42263. t1 = _this.excludesName$1(node.name.value.toLowerCase());
  42264. break $label0$0;
  42265. }
  42266. t1 = false;
  42267. break $label0$0;
  42268. }
  42269. return t1;
  42270. },
  42271. excludesName$1($name) {
  42272. var t1 = this._all || this.names.contains$1(0, $name);
  42273. return t1 !== this.include;
  42274. }
  42275. };
  42276. A.ConfiguredVariable.prototype = {
  42277. toString$0(_) {
  42278. var t1 = this.expression.toString$0(0),
  42279. t2 = this.isGuarded ? " !default" : "";
  42280. return "$" + this.name + ": " + t1 + t2;
  42281. },
  42282. $isAstNode: 1,
  42283. get$span(receiver) {
  42284. return this.span;
  42285. }
  42286. };
  42287. A._IsCalculationSafeVisitor.prototype = {
  42288. visitBinaryOperationExpression$1(node) {
  42289. var t1;
  42290. if (B.Set_FIwG4.contains$1(0, node.operator))
  42291. t1 = node.left.accept$1(this) || node.right.accept$1(this);
  42292. else
  42293. t1 = false;
  42294. return t1;
  42295. },
  42296. visitBooleanExpression$1(node) {
  42297. return false;
  42298. },
  42299. visitColorExpression$1(node) {
  42300. return false;
  42301. },
  42302. visitFunctionExpression$1(node) {
  42303. return true;
  42304. },
  42305. visitInterpolatedFunctionExpression$1(node) {
  42306. return true;
  42307. },
  42308. visitIfExpression$1(node) {
  42309. return true;
  42310. },
  42311. visitListExpression$1(node) {
  42312. var t1;
  42313. if (node.separator === B.ListSeparator_EVt)
  42314. if (!node.hasBrackets) {
  42315. t1 = node.contents;
  42316. t1 = t1.length > 1 && B.JSArray_methods.every$1(t1, new A._IsCalculationSafeVisitor_visitListExpression_closure(this));
  42317. } else
  42318. t1 = false;
  42319. else
  42320. t1 = false;
  42321. return t1;
  42322. },
  42323. visitMapExpression$1(node) {
  42324. return false;
  42325. },
  42326. visitNullExpression$1(node) {
  42327. return false;
  42328. },
  42329. visitNumberExpression$1(node) {
  42330. return true;
  42331. },
  42332. visitParenthesizedExpression$1(node) {
  42333. return node.expression.accept$1(this);
  42334. },
  42335. visitSelectorExpression$1(node) {
  42336. return false;
  42337. },
  42338. visitStringExpression$1(node) {
  42339. var text, t1, t2;
  42340. if (node.hasQuotes)
  42341. return false;
  42342. text = node.text.get$initialPlain();
  42343. if (!B.JSString_methods.startsWith$1(text, "!"))
  42344. if (!B.JSString_methods.startsWith$1(text, "#")) {
  42345. t1 = text.length;
  42346. if ((1 >= t1 ? null : text.charCodeAt(1)) !== 43) {
  42347. t2 = (3 >= t1 ? null : text.charCodeAt(3)) !== 40;
  42348. t1 = t2;
  42349. } else
  42350. t1 = false;
  42351. } else
  42352. t1 = false;
  42353. else
  42354. t1 = false;
  42355. return t1;
  42356. },
  42357. visitSupportsExpression$1(node) {
  42358. return false;
  42359. },
  42360. visitUnaryOperationExpression$1(node) {
  42361. return false;
  42362. },
  42363. visitValueExpression$1(node) {
  42364. return false;
  42365. },
  42366. visitVariableExpression$1(node) {
  42367. return true;
  42368. }
  42369. };
  42370. A._IsCalculationSafeVisitor_visitListExpression_closure.prototype = {
  42371. call$1(expression) {
  42372. return expression.accept$1(this.$this);
  42373. },
  42374. $signature: 142
  42375. };
  42376. A.BinaryOperationExpression.prototype = {
  42377. get$span(_) {
  42378. var right,
  42379. left = this.left;
  42380. for (; left instanceof A.BinaryOperationExpression;)
  42381. left = left.left;
  42382. right = this.right;
  42383. for (; right instanceof A.BinaryOperationExpression;)
  42384. right = right.right;
  42385. return left.get$span(left).expand$1(0, right.get$span(right));
  42386. },
  42387. get$operatorSpan() {
  42388. var t3, t4, _this = this,
  42389. t1 = _this.left,
  42390. t2 = t1.get$span(t1);
  42391. t2 = t2.get$file(t2);
  42392. t3 = _this.right;
  42393. t4 = t3.get$span(t3);
  42394. if (t2 === t4.get$file(t4)) {
  42395. t2 = t1.get$span(t1);
  42396. t2 = t2.get$end(t2);
  42397. t4 = t3.get$span(t3);
  42398. t4 = t2.offset < t4.get$start(t4).offset;
  42399. t2 = t4;
  42400. } else
  42401. t2 = false;
  42402. if (t2) {
  42403. t2 = t1.get$span(t1);
  42404. t2 = t2.get$file(t2);
  42405. t1 = t1.get$span(t1);
  42406. t1 = t1.get$end(t1);
  42407. t3 = t3.get$span(t3);
  42408. t3 = A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, t1.offset, t3.get$start(t3).offset)));
  42409. t1 = t3;
  42410. } else
  42411. t1 = _this.get$span(_this);
  42412. return t1;
  42413. },
  42414. accept$1$1(visitor) {
  42415. return visitor.visitBinaryOperationExpression$1(this);
  42416. },
  42417. accept$1(visitor) {
  42418. return this.accept$1$1(visitor, type$.dynamic);
  42419. },
  42420. toString$0(_) {
  42421. var precedence, t1, t2, right, operator, t3, _this = this,
  42422. _0_0 = _this.left;
  42423. $label0$0: {
  42424. if (_0_0 instanceof A.BinaryOperationExpression) {
  42425. precedence = _0_0.operator.precedence;
  42426. t1 = true;
  42427. } else {
  42428. precedence = null;
  42429. t1 = false;
  42430. }
  42431. if (t1) {
  42432. t1 = precedence < _this.operator.precedence;
  42433. break $label0$0;
  42434. }
  42435. if (_0_0 instanceof A.ListExpression && !_0_0.hasBrackets && _0_0.contents.length >= 2) {
  42436. t1 = true;
  42437. break $label0$0;
  42438. }
  42439. t1 = false;
  42440. break $label0$0;
  42441. }
  42442. t2 = t1 ? "" + A.Primitives_stringFromCharCode(40) : "";
  42443. t2 += _0_0.toString$0(0);
  42444. t1 = t1 ? t2 + A.Primitives_stringFromCharCode(41) : t2;
  42445. t2 = _this.operator;
  42446. t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
  42447. right = _this.right;
  42448. $label1$1: {
  42449. if (right instanceof A.BinaryOperationExpression) {
  42450. operator = right.operator;
  42451. t3 = true;
  42452. } else {
  42453. operator = null;
  42454. t3 = false;
  42455. }
  42456. if (t3) {
  42457. if (operator.precedence <= t2.precedence) {
  42458. t3 = !(operator === t2 && operator.isAssociative);
  42459. t2 = t3;
  42460. } else
  42461. t2 = false;
  42462. break $label1$1;
  42463. }
  42464. if (right instanceof A.ListExpression && !right.hasBrackets && right.contents.length >= 2) {
  42465. t2 = true;
  42466. break $label1$1;
  42467. }
  42468. t2 = false;
  42469. break $label1$1;
  42470. }
  42471. if (t2)
  42472. t1 += A.Primitives_stringFromCharCode(40);
  42473. t1 += right.toString$0(0);
  42474. if (t2)
  42475. t1 += A.Primitives_stringFromCharCode(41);
  42476. return t1.charCodeAt(0) == 0 ? t1 : t1;
  42477. },
  42478. $isAstNode: 1,
  42479. $isExpression: 1
  42480. };
  42481. A.BinaryOperator.prototype = {
  42482. _enumToString$0() {
  42483. return "BinaryOperator." + this._name;
  42484. },
  42485. toString$0(_) {
  42486. return this.name;
  42487. }
  42488. };
  42489. A.BooleanExpression.prototype = {
  42490. accept$1$1(visitor) {
  42491. return visitor.visitBooleanExpression$1(this);
  42492. },
  42493. accept$1(visitor) {
  42494. return this.accept$1$1(visitor, type$.dynamic);
  42495. },
  42496. toString$0(_) {
  42497. return String(this.value);
  42498. },
  42499. $isAstNode: 1,
  42500. $isExpression: 1,
  42501. get$span(receiver) {
  42502. return this.span;
  42503. }
  42504. };
  42505. A.ColorExpression.prototype = {
  42506. accept$1$1(visitor) {
  42507. return visitor.visitColorExpression$1(this);
  42508. },
  42509. accept$1(visitor) {
  42510. return this.accept$1$1(visitor, type$.dynamic);
  42511. },
  42512. toString$0(_) {
  42513. return A.serializeValue(this.value, true, true);
  42514. },
  42515. $isAstNode: 1,
  42516. $isExpression: 1,
  42517. get$span(receiver) {
  42518. return this.span;
  42519. }
  42520. };
  42521. A.FunctionExpression.prototype = {
  42522. get$name(_) {
  42523. return A.stringReplaceAllUnchecked(this.originalName, "_", "-");
  42524. },
  42525. accept$1$1(visitor) {
  42526. return visitor.visitFunctionExpression$1(this);
  42527. },
  42528. accept$1(visitor) {
  42529. return this.accept$1$1(visitor, type$.dynamic);
  42530. },
  42531. toString$0(_) {
  42532. var t1 = this.namespace;
  42533. t1 = t1 != null ? "" + (t1 + ".") : "";
  42534. t1 += this.originalName + this.$arguments.toString$0(0);
  42535. return t1.charCodeAt(0) == 0 ? t1 : t1;
  42536. },
  42537. $isAstNode: 1,
  42538. $isExpression: 1,
  42539. get$span(receiver) {
  42540. return this.span;
  42541. }
  42542. };
  42543. A.IfExpression.prototype = {
  42544. accept$1$1(visitor) {
  42545. return visitor.visitIfExpression$1(this);
  42546. },
  42547. accept$1(visitor) {
  42548. return this.accept$1$1(visitor, type$.dynamic);
  42549. },
  42550. toString$0(_) {
  42551. return "if" + this.$arguments.toString$0(0);
  42552. },
  42553. $isAstNode: 1,
  42554. $isExpression: 1,
  42555. get$span(receiver) {
  42556. return this.span;
  42557. }
  42558. };
  42559. A.InterpolatedFunctionExpression.prototype = {
  42560. accept$1$1(visitor) {
  42561. return visitor.visitInterpolatedFunctionExpression$1(this);
  42562. },
  42563. accept$1(visitor) {
  42564. return this.accept$1$1(visitor, type$.dynamic);
  42565. },
  42566. toString$0(_) {
  42567. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  42568. },
  42569. $isAstNode: 1,
  42570. $isExpression: 1,
  42571. get$span(receiver) {
  42572. return this.span;
  42573. }
  42574. };
  42575. A.ListExpression.prototype = {
  42576. accept$1$1(visitor) {
  42577. return visitor.visitListExpression$1(this);
  42578. },
  42579. accept$1(visitor) {
  42580. return this.accept$1$1(visitor, type$.dynamic);
  42581. },
  42582. toString$0(_) {
  42583. var t2, t3, t4, t5, _this = this,
  42584. t1 = _this.hasBrackets;
  42585. if (t1)
  42586. t2 = "" + A.Primitives_stringFromCharCode(91);
  42587. else {
  42588. t2 = _this.contents.length;
  42589. if (t2 !== 0)
  42590. t2 = t2 === 1 && _this.separator === B.ListSeparator_rXA;
  42591. else
  42592. t2 = true;
  42593. t2 = t2 ? "" + A.Primitives_stringFromCharCode(40) : "";
  42594. }
  42595. t3 = _this.contents;
  42596. t4 = _this.separator === B.ListSeparator_rXA;
  42597. t5 = t4 ? ", " : " ";
  42598. t5 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t5);
  42599. if (t1)
  42600. t1 = t5 + A.Primitives_stringFromCharCode(93);
  42601. else {
  42602. t1 = t3.length;
  42603. if (t1 === 0)
  42604. t1 = t5 + A.Primitives_stringFromCharCode(41);
  42605. else
  42606. t1 = t1 === 1 && t4 ? t5 + ",)" : t5;
  42607. }
  42608. return t1.charCodeAt(0) == 0 ? t1 : t1;
  42609. },
  42610. _list0$_elementNeedsParens$1(expression) {
  42611. var childSeparator, t1,
  42612. _0_13 = A._InitializedCell$(new A.ListExpression__elementNeedsParens_closure(expression));
  42613. $label0$0: {
  42614. if (expression instanceof A.ListExpression)
  42615. if (expression.contents.length >= 2)
  42616. if (!expression.hasBrackets) {
  42617. childSeparator = expression.separator;
  42618. t1 = true;
  42619. } else {
  42620. childSeparator = null;
  42621. t1 = false;
  42622. }
  42623. else {
  42624. childSeparator = null;
  42625. t1 = false;
  42626. }
  42627. else {
  42628. childSeparator = null;
  42629. t1 = false;
  42630. }
  42631. if (t1) {
  42632. t1 = this.separator === B.ListSeparator_rXA ? childSeparator === B.ListSeparator_rXA : childSeparator !== B.ListSeparator_undecided_null_undecided;
  42633. break $label0$0;
  42634. }
  42635. if (expression instanceof A.UnaryOperationExpression)
  42636. t1 = B.UnaryOperator_gg4 === _0_13._readFinal$0() || B.UnaryOperator_TLI === _0_13._readFinal$0();
  42637. else
  42638. t1 = false;
  42639. if (t1) {
  42640. t1 = this.separator === B.ListSeparator_EVt;
  42641. break $label0$0;
  42642. }
  42643. t1 = false;
  42644. break $label0$0;
  42645. }
  42646. return t1;
  42647. },
  42648. $isAstNode: 1,
  42649. $isExpression: 1,
  42650. get$span(receiver) {
  42651. return this.span;
  42652. }
  42653. };
  42654. A.ListExpression_toString_closure.prototype = {
  42655. call$1(element) {
  42656. return this.$this._list0$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  42657. },
  42658. $signature: 135
  42659. };
  42660. A.ListExpression__elementNeedsParens_closure.prototype = {
  42661. call$0() {
  42662. return type$.UnaryOperationExpression._as(this._0_0).operator;
  42663. },
  42664. $signature: 134
  42665. };
  42666. A.MapExpression.prototype = {
  42667. accept$1$1(visitor) {
  42668. return visitor.visitMapExpression$1(this);
  42669. },
  42670. accept$1(visitor) {
  42671. return this.accept$1$1(visitor, type$.dynamic);
  42672. },
  42673. toString$0(_) {
  42674. var t2, t3, _i, t4, key, value,
  42675. t1 = A._setArrayType([], type$.JSArray_String);
  42676. for (t2 = this.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  42677. t4 = t2[_i];
  42678. key = t4._0;
  42679. value = t4._1;
  42680. t1.push(key.toString$0(0) + ": " + value.toString$0(0));
  42681. }
  42682. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  42683. },
  42684. $isAstNode: 1,
  42685. $isExpression: 1,
  42686. get$span(receiver) {
  42687. return this.span;
  42688. }
  42689. };
  42690. A.NullExpression.prototype = {
  42691. accept$1$1(visitor) {
  42692. return visitor.visitNullExpression$1(this);
  42693. },
  42694. accept$1(visitor) {
  42695. return this.accept$1$1(visitor, type$.dynamic);
  42696. },
  42697. toString$0(_) {
  42698. return "null";
  42699. },
  42700. $isAstNode: 1,
  42701. $isExpression: 1,
  42702. get$span(receiver) {
  42703. return this.span;
  42704. }
  42705. };
  42706. A.NumberExpression.prototype = {
  42707. accept$1$1(visitor) {
  42708. return visitor.visitNumberExpression$1(this);
  42709. },
  42710. accept$1(visitor) {
  42711. return this.accept$1$1(visitor, type$.dynamic);
  42712. },
  42713. toString$0(_) {
  42714. return A.serializeValue(A.SassNumber_SassNumber(this.value, this.unit), true, true);
  42715. },
  42716. $isAstNode: 1,
  42717. $isExpression: 1,
  42718. get$span(receiver) {
  42719. return this.span;
  42720. }
  42721. };
  42722. A.ParenthesizedExpression.prototype = {
  42723. accept$1$1(visitor) {
  42724. return visitor.visitParenthesizedExpression$1(this);
  42725. },
  42726. accept$1(visitor) {
  42727. return this.accept$1$1(visitor, type$.dynamic);
  42728. },
  42729. toString$0(_) {
  42730. return "(" + this.expression.toString$0(0) + ")";
  42731. },
  42732. $isAstNode: 1,
  42733. $isExpression: 1,
  42734. get$span(receiver) {
  42735. return this.span;
  42736. }
  42737. };
  42738. A.SelectorExpression.prototype = {
  42739. accept$1$1(visitor) {
  42740. return visitor.visitSelectorExpression$1(this);
  42741. },
  42742. accept$1(visitor) {
  42743. return this.accept$1$1(visitor, type$.dynamic);
  42744. },
  42745. toString$0(_) {
  42746. return "&";
  42747. },
  42748. $isAstNode: 1,
  42749. $isExpression: 1,
  42750. get$span(receiver) {
  42751. return this.span;
  42752. }
  42753. };
  42754. A.StringExpression.prototype = {
  42755. get$span(_) {
  42756. return this.text.span;
  42757. },
  42758. accept$1$1(visitor) {
  42759. return visitor.visitStringExpression$1(this);
  42760. },
  42761. accept$1(visitor) {
  42762. return this.accept$1$1(visitor, type$.dynamic);
  42763. },
  42764. asInterpolation$1$static($static) {
  42765. var t1, t2, quote, t3, t4, buffer, t5, t6, _i, value;
  42766. if (!this.hasQuotes)
  42767. return this.text;
  42768. t1 = this.text;
  42769. t2 = t1.contents;
  42770. quote = A.StringExpression__bestQuote(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  42771. t3 = new A.StringBuffer("");
  42772. t4 = A._setArrayType([], type$.JSArray_Object);
  42773. buffer = new A.InterpolationBuffer(t3, t4);
  42774. t3._contents += A.Primitives_stringFromCharCode(quote);
  42775. for (t5 = t2.length, t6 = type$.Expression, _i = 0; _i < t5; ++_i) {
  42776. value = t2[_i];
  42777. if (t6._is(value)) {
  42778. buffer._flushText$0();
  42779. t4.push(value);
  42780. continue;
  42781. }
  42782. if (typeof value == "string")
  42783. A.StringExpression__quoteInnerText(value, quote, buffer, $static);
  42784. }
  42785. t3._contents += A.Primitives_stringFromCharCode(quote);
  42786. return buffer.interpolation$1(t1.span);
  42787. },
  42788. asInterpolation$0() {
  42789. return this.asInterpolation$1$static(false);
  42790. },
  42791. toString$0(_) {
  42792. return this.asInterpolation$0().toString$0(0);
  42793. },
  42794. $isAstNode: 1,
  42795. $isExpression: 1
  42796. };
  42797. A.SupportsExpression.prototype = {
  42798. get$span(_) {
  42799. var t1 = this.condition;
  42800. return t1.get$span(t1);
  42801. },
  42802. accept$1$1(visitor) {
  42803. return visitor.visitSupportsExpression$1(this);
  42804. },
  42805. accept$1(visitor) {
  42806. return this.accept$1$1(visitor, type$.dynamic);
  42807. },
  42808. toString$0(_) {
  42809. return this.condition.toString$0(0);
  42810. },
  42811. $isAstNode: 1,
  42812. $isExpression: 1
  42813. };
  42814. A.UnaryOperationExpression.prototype = {
  42815. accept$1$1(visitor) {
  42816. return visitor.visitUnaryOperationExpression$1(this);
  42817. },
  42818. accept$1(visitor) {
  42819. return this.accept$1$1(visitor, type$.dynamic);
  42820. },
  42821. toString$0(_) {
  42822. var operand,
  42823. t1 = this.operator,
  42824. t2 = t1.operator;
  42825. t1 = t1 === B.UnaryOperator_not_not_not ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  42826. operand = this.operand;
  42827. $label0$0: {
  42828. if (!(operand instanceof A.BinaryOperationExpression))
  42829. if (!(operand instanceof A.UnaryOperationExpression))
  42830. t2 = operand instanceof A.ListExpression && !operand.hasBrackets && operand.contents.length >= 2;
  42831. else
  42832. t2 = true;
  42833. else
  42834. t2 = true;
  42835. if (t2) {
  42836. t2 = true;
  42837. break $label0$0;
  42838. }
  42839. t2 = false;
  42840. break $label0$0;
  42841. }
  42842. if (t2)
  42843. t1 += "40";
  42844. t1 += operand.toString$0(0);
  42845. if (t2)
  42846. t1 += "41";
  42847. return t1.charCodeAt(0) == 0 ? t1 : t1;
  42848. },
  42849. $isAstNode: 1,
  42850. $isExpression: 1,
  42851. get$span(receiver) {
  42852. return this.span;
  42853. }
  42854. };
  42855. A.UnaryOperator.prototype = {
  42856. _enumToString$0() {
  42857. return "UnaryOperator." + this._name;
  42858. },
  42859. toString$0(_) {
  42860. return this.name;
  42861. }
  42862. };
  42863. A.ValueExpression.prototype = {
  42864. accept$1$1(visitor) {
  42865. return visitor.visitValueExpression$1(this);
  42866. },
  42867. accept$1(visitor) {
  42868. return this.accept$1$1(visitor, type$.dynamic);
  42869. },
  42870. toString$0(_) {
  42871. return A.serializeValue(this.value, true, true);
  42872. },
  42873. $isAstNode: 1,
  42874. $isExpression: 1,
  42875. get$span(receiver) {
  42876. return this.span;
  42877. }
  42878. };
  42879. A.VariableExpression.prototype = {
  42880. accept$1$1(visitor) {
  42881. return visitor.visitVariableExpression$1(this);
  42882. },
  42883. accept$1(visitor) {
  42884. return this.accept$1$1(visitor, type$.dynamic);
  42885. },
  42886. toString$0(_) {
  42887. var t1 = this.namespace,
  42888. t2 = this.name;
  42889. return t1 == null ? "$" + t2 : t1 + ".$" + t2;
  42890. },
  42891. $isAstNode: 1,
  42892. $isExpression: 1,
  42893. get$span(receiver) {
  42894. return this.span;
  42895. }
  42896. };
  42897. A.DynamicImport.prototype = {
  42898. toString$0(_) {
  42899. return A.StringExpression_quoteText(this.urlString);
  42900. },
  42901. $isAstNode: 1,
  42902. $isImport: 1,
  42903. get$span(receiver) {
  42904. return this.span;
  42905. }
  42906. };
  42907. A.StaticImport.prototype = {
  42908. toString$0(_) {
  42909. var t1 = this.url.toString$0(0),
  42910. t2 = this.modifiers;
  42911. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  42912. },
  42913. $isAstNode: 1,
  42914. $isImport: 1,
  42915. get$span(receiver) {
  42916. return this.span;
  42917. }
  42918. };
  42919. A.Interpolation.prototype = {
  42920. get$asPlain() {
  42921. var t1, first,
  42922. _0_0 = this.contents,
  42923. _0_1 = A._InitializedCell$(new A.Interpolation_asPlain_closure(_0_0)),
  42924. _0_6 = A._InitializedCell$(new A.Interpolation_asPlain_closure0(_0_0));
  42925. $label0$0: {
  42926. if (_0_1._readFinal$0() <= 0) {
  42927. t1 = "";
  42928. break $label0$0;
  42929. }
  42930. if (J.$eq$(_0_1._readFinal$0(), 1))
  42931. if (typeof _0_6._readFinal$0() == "string") {
  42932. first = _0_6._readFinal$0();
  42933. t1 = true;
  42934. } else {
  42935. first = null;
  42936. t1 = false;
  42937. }
  42938. else {
  42939. first = null;
  42940. t1 = false;
  42941. }
  42942. if (t1) {
  42943. t1 = first;
  42944. break $label0$0;
  42945. }
  42946. t1 = null;
  42947. break $label0$0;
  42948. }
  42949. return t1;
  42950. },
  42951. get$initialPlain() {
  42952. var first, t1,
  42953. _0_0 = this.contents,
  42954. _0_4 = A._InitializedCell$(new A.Interpolation_initialPlain_closure(_0_0));
  42955. $label0$0: {
  42956. if (_0_0.length >= 1)
  42957. if (typeof _0_4._readFinal$0() == "string") {
  42958. first = _0_4._readFinal$0();
  42959. t1 = true;
  42960. } else {
  42961. first = null;
  42962. t1 = false;
  42963. }
  42964. else {
  42965. first = null;
  42966. t1 = false;
  42967. }
  42968. if (t1) {
  42969. t1 = first;
  42970. break $label0$0;
  42971. }
  42972. t1 = "";
  42973. break $label0$0;
  42974. }
  42975. return t1;
  42976. },
  42977. Interpolation$2(contents, span) {
  42978. var t1, t2, t3, i, t4, t5,
  42979. _s8_ = "contents";
  42980. for (t1 = this.contents, t2 = t1.length, t3 = type$.Expression, i = 0; i < t2; ++i) {
  42981. t4 = t1[i];
  42982. t5 = typeof t4 == "string";
  42983. if (!t5 && !t3._is(t4))
  42984. throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
  42985. if (i !== 0 && typeof t1[i - 1] == "string" && t5)
  42986. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  42987. }
  42988. },
  42989. toString$0(_) {
  42990. var t1 = this.contents;
  42991. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  42992. },
  42993. $isAstNode: 1,
  42994. get$span(receiver) {
  42995. return this.span;
  42996. }
  42997. };
  42998. A.Interpolation_asPlain_closure.prototype = {
  42999. call$0() {
  43000. return this._0_0.length;
  43001. },
  43002. $signature: 3
  43003. };
  43004. A.Interpolation_asPlain_closure0.prototype = {
  43005. call$0() {
  43006. return this._0_0[0];
  43007. },
  43008. $signature: 14
  43009. };
  43010. A.Interpolation_initialPlain_closure.prototype = {
  43011. call$0() {
  43012. return this._0_0[0];
  43013. },
  43014. $signature: 14
  43015. };
  43016. A.Interpolation_toString_closure.prototype = {
  43017. call$1(value) {
  43018. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  43019. },
  43020. $signature: 129
  43021. };
  43022. A.AtRootRule.prototype = {
  43023. accept$1$1(visitor) {
  43024. return visitor.visitAtRootRule$1(this);
  43025. },
  43026. accept$1(visitor) {
  43027. return this.accept$1$1(visitor, type$.dynamic);
  43028. },
  43029. toString$0(_) {
  43030. var buffer = new A.StringBuffer("@at-root "),
  43031. t1 = this.query;
  43032. if (t1 != null)
  43033. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  43034. t1 = this.children;
  43035. return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  43036. },
  43037. get$span(receiver) {
  43038. return this.span;
  43039. }
  43040. };
  43041. A.AtRule.prototype = {
  43042. accept$1$1(visitor) {
  43043. return visitor.visitAtRule$1(this);
  43044. },
  43045. accept$1(visitor) {
  43046. return this.accept$1$1(visitor, type$.dynamic);
  43047. },
  43048. toString$0(_) {
  43049. var children,
  43050. t1 = "@" + this.name.toString$0(0),
  43051. buffer = new A.StringBuffer(t1),
  43052. t2 = this.value;
  43053. if (t2 != null)
  43054. buffer._contents = t1 + (" " + t2.toString$0(0));
  43055. children = this.children;
  43056. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  43057. },
  43058. get$span(receiver) {
  43059. return this.span;
  43060. }
  43061. };
  43062. A.CallableDeclaration.prototype = {
  43063. get$span(receiver) {
  43064. return this.span;
  43065. }
  43066. };
  43067. A.ContentBlock.prototype = {
  43068. accept$1$1(visitor) {
  43069. return visitor.visitContentBlock$1(this);
  43070. },
  43071. accept$1(visitor) {
  43072. return this.accept$1$1(visitor, type$.dynamic);
  43073. },
  43074. toString$0(_) {
  43075. var t2,
  43076. t1 = this.$arguments;
  43077. t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
  43078. t2 = this.children;
  43079. return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  43080. }
  43081. };
  43082. A.ContentRule.prototype = {
  43083. accept$1$1(visitor) {
  43084. return visitor.visitContentRule$1(this);
  43085. },
  43086. accept$1(visitor) {
  43087. return this.accept$1$1(visitor, type$.dynamic);
  43088. },
  43089. toString$0(_) {
  43090. var t1 = this.$arguments;
  43091. return t1.get$isEmpty(t1) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  43092. },
  43093. $isAstNode: 1,
  43094. $isStatement: 1,
  43095. get$span(receiver) {
  43096. return this.span;
  43097. }
  43098. };
  43099. A.DebugRule.prototype = {
  43100. accept$1$1(visitor) {
  43101. return visitor.visitDebugRule$1(this);
  43102. },
  43103. accept$1(visitor) {
  43104. return this.accept$1$1(visitor, type$.dynamic);
  43105. },
  43106. toString$0(_) {
  43107. return "@debug " + this.expression.toString$0(0) + ";";
  43108. },
  43109. $isAstNode: 1,
  43110. $isStatement: 1,
  43111. get$span(receiver) {
  43112. return this.span;
  43113. }
  43114. };
  43115. A.Declaration.prototype = {
  43116. accept$1$1(visitor) {
  43117. return visitor.visitDeclaration$1(this);
  43118. },
  43119. accept$1(visitor) {
  43120. return this.accept$1$1(visitor, type$.dynamic);
  43121. },
  43122. toString$0(_) {
  43123. var t3, _0_0, children,
  43124. buffer = new A.StringBuffer(""),
  43125. t1 = this.name,
  43126. t2 = "" + t1.toString$0(0);
  43127. buffer._contents = t2;
  43128. t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
  43129. t3 = this.value;
  43130. if (t3 != null) {
  43131. t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
  43132. buffer._contents = t1 + t3.toString$0(0);
  43133. }
  43134. _0_0 = this.children;
  43135. if (_0_0 != null) {
  43136. children = _0_0;
  43137. t1 = true;
  43138. } else {
  43139. children = null;
  43140. t1 = false;
  43141. }
  43142. if (t1)
  43143. return buffer.toString$0(0) + " {" + (children && B.JSArray_methods).join$1(children, " ") + "}";
  43144. else
  43145. return buffer.toString$0(0) + ";";
  43146. },
  43147. get$span(receiver) {
  43148. return this.span;
  43149. }
  43150. };
  43151. A.EachRule.prototype = {
  43152. accept$1$1(visitor) {
  43153. return visitor.visitEachRule$1(this);
  43154. },
  43155. accept$1(visitor) {
  43156. return this.accept$1$1(visitor, type$.dynamic);
  43157. },
  43158. toString$0(_) {
  43159. var t1 = this.variables,
  43160. t2 = this.children;
  43161. 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, " ") + "}";
  43162. },
  43163. get$span(receiver) {
  43164. return this.span;
  43165. }
  43166. };
  43167. A.EachRule_toString_closure.prototype = {
  43168. call$1(variable) {
  43169. return "$" + variable;
  43170. },
  43171. $signature: 7
  43172. };
  43173. A.ErrorRule.prototype = {
  43174. accept$1$1(visitor) {
  43175. return visitor.visitErrorRule$1(this);
  43176. },
  43177. accept$1(visitor) {
  43178. return this.accept$1$1(visitor, type$.dynamic);
  43179. },
  43180. toString$0(_) {
  43181. return "@error " + this.expression.toString$0(0) + ";";
  43182. },
  43183. $isAstNode: 1,
  43184. $isStatement: 1,
  43185. get$span(receiver) {
  43186. return this.span;
  43187. }
  43188. };
  43189. A.ExtendRule.prototype = {
  43190. accept$1$1(visitor) {
  43191. return visitor.visitExtendRule$1(this);
  43192. },
  43193. accept$1(visitor) {
  43194. return this.accept$1$1(visitor, type$.dynamic);
  43195. },
  43196. toString$0(_) {
  43197. var t1 = this.selector.toString$0(0),
  43198. t2 = this.isOptional ? " !optional" : "";
  43199. return "@extend " + t1 + t2 + ";";
  43200. },
  43201. $isAstNode: 1,
  43202. $isStatement: 1,
  43203. get$span(receiver) {
  43204. return this.span;
  43205. }
  43206. };
  43207. A.ForRule.prototype = {
  43208. accept$1$1(visitor) {
  43209. return visitor.visitForRule$1(this);
  43210. },
  43211. accept$1(visitor) {
  43212. return this.accept$1$1(visitor, type$.dynamic);
  43213. },
  43214. toString$0(_) {
  43215. var _this = this,
  43216. t1 = _this.from.toString$0(0),
  43217. t2 = _this.isExclusive ? "to" : "through",
  43218. t3 = _this.children;
  43219. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
  43220. },
  43221. get$span(receiver) {
  43222. return this.span;
  43223. }
  43224. };
  43225. A.ForwardRule.prototype = {
  43226. accept$1$1(visitor) {
  43227. return visitor.visitForwardRule$1(this);
  43228. },
  43229. accept$1(visitor) {
  43230. return this.accept$1$1(visitor, type$.dynamic);
  43231. },
  43232. toString$0(_) {
  43233. var t2, prefix, _this = this,
  43234. t1 = "@forward " + A.StringExpression_quoteText(_this.url.toString$0(0)),
  43235. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  43236. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  43237. if (shownMixinsAndFunctions != null) {
  43238. t2 = _this.shownVariables;
  43239. t2.toString;
  43240. t2 = t1 + " show " + _this._forward_rule$_memberList$2(shownMixinsAndFunctions, t2);
  43241. t1 = t2;
  43242. } else {
  43243. if (hiddenMixinsAndFunctions != null) {
  43244. t2 = hiddenMixinsAndFunctions._base;
  43245. t2 = t2.get$isNotEmpty(t2);
  43246. } else
  43247. t2 = false;
  43248. if (t2) {
  43249. t2 = _this.hiddenVariables;
  43250. t2.toString;
  43251. t2 = t1 + " hide " + _this._forward_rule$_memberList$2(hiddenMixinsAndFunctions, t2);
  43252. t1 = t2;
  43253. }
  43254. }
  43255. prefix = _this.prefix;
  43256. if (prefix != null)
  43257. t1 += " as " + prefix + "*";
  43258. t2 = _this.configuration;
  43259. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  43260. return t1.charCodeAt(0) == 0 ? t1 : t1;
  43261. },
  43262. _forward_rule$_memberList$2(mixinsAndFunctions, variables) {
  43263. var t2,
  43264. t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
  43265. for (t2 = variables._base, t2 = t2.get$iterator(t2); t2.moveNext$0();)
  43266. t1.push("$" + t2.get$current(t2));
  43267. return B.JSArray_methods.join$1(t1, ", ");
  43268. },
  43269. $isAstNode: 1,
  43270. $isStatement: 1,
  43271. get$span(receiver) {
  43272. return this.span;
  43273. }
  43274. };
  43275. A.FunctionRule.prototype = {
  43276. accept$1$1(visitor) {
  43277. return visitor.visitFunctionRule$1(this);
  43278. },
  43279. accept$1(visitor) {
  43280. return this.accept$1$1(visitor, type$.dynamic);
  43281. },
  43282. toString$0(_) {
  43283. var t1 = this.children;
  43284. return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  43285. }
  43286. };
  43287. A.IfRule.prototype = {
  43288. accept$1$1(visitor) {
  43289. return visitor.visitIfRule$1(this);
  43290. },
  43291. accept$1(visitor) {
  43292. return this.accept$1$1(visitor, type$.dynamic);
  43293. },
  43294. toString$0(_) {
  43295. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure(), type$.IfClause, type$.String).join$1(0, " "),
  43296. lastClause = this.lastClause;
  43297. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  43298. },
  43299. $isAstNode: 1,
  43300. $isStatement: 1,
  43301. get$span(receiver) {
  43302. return this.span;
  43303. }
  43304. };
  43305. A.IfRule_toString_closure.prototype = {
  43306. call$2(index, clause) {
  43307. var t1 = index === 0 ? "if" : "else if";
  43308. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  43309. },
  43310. $signature: 333
  43311. };
  43312. A.IfRuleClause.prototype = {};
  43313. A.IfRuleClause$__closure.prototype = {
  43314. call$1(child) {
  43315. var t1, imports;
  43316. $label0$0: {
  43317. if (child instanceof A.VariableDeclaration || child instanceof A.FunctionRule || child instanceof A.MixinRule) {
  43318. t1 = true;
  43319. break $label0$0;
  43320. }
  43321. if (child instanceof A.ImportRule) {
  43322. imports = child.imports;
  43323. t1 = true;
  43324. } else {
  43325. imports = null;
  43326. t1 = false;
  43327. }
  43328. if (t1) {
  43329. t1 = (imports && B.JSArray_methods).any$1(imports, new A.IfRuleClause$___closure());
  43330. break $label0$0;
  43331. }
  43332. t1 = false;
  43333. break $label0$0;
  43334. }
  43335. return t1;
  43336. },
  43337. $signature: 246
  43338. };
  43339. A.IfRuleClause$___closure.prototype = {
  43340. call$1($import) {
  43341. return $import instanceof A.DynamicImport;
  43342. },
  43343. $signature: 242
  43344. };
  43345. A.IfClause.prototype = {
  43346. toString$0(_) {
  43347. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  43348. }
  43349. };
  43350. A.ElseClause.prototype = {
  43351. toString$0(_) {
  43352. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  43353. }
  43354. };
  43355. A.ImportRule.prototype = {
  43356. accept$1$1(visitor) {
  43357. return visitor.visitImportRule$1(this);
  43358. },
  43359. accept$1(visitor) {
  43360. return this.accept$1$1(visitor, type$.dynamic);
  43361. },
  43362. toString$0(_) {
  43363. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  43364. },
  43365. $isAstNode: 1,
  43366. $isStatement: 1,
  43367. get$span(receiver) {
  43368. return this.span;
  43369. }
  43370. };
  43371. A.IncludeRule.prototype = {
  43372. get$spanWithoutContent() {
  43373. var t2, t3,
  43374. t1 = this.span;
  43375. if (!(this.content == null)) {
  43376. t2 = t1.file;
  43377. t3 = this.$arguments.span;
  43378. t3 = A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, t3.get$end(t3).offset)));
  43379. t1 = t3;
  43380. }
  43381. return t1;
  43382. },
  43383. accept$1$1(visitor) {
  43384. return visitor.visitIncludeRule$1(this);
  43385. },
  43386. accept$1(visitor) {
  43387. return this.accept$1$1(visitor, type$.dynamic);
  43388. },
  43389. toString$0(_) {
  43390. var t2, _this = this,
  43391. t1 = _this.namespace;
  43392. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  43393. t1 += _this.name;
  43394. t2 = _this.$arguments;
  43395. if (!t2.get$isEmpty(t2))
  43396. t1 += "(" + t2.toString$0(0) + ")";
  43397. t2 = _this.content;
  43398. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  43399. return t1.charCodeAt(0) == 0 ? t1 : t1;
  43400. },
  43401. $isAstNode: 1,
  43402. $isStatement: 1,
  43403. get$span(receiver) {
  43404. return this.span;
  43405. }
  43406. };
  43407. A.LoudComment.prototype = {
  43408. get$span(_) {
  43409. return this.text.span;
  43410. },
  43411. accept$1$1(visitor) {
  43412. return visitor.visitLoudComment$1(this);
  43413. },
  43414. accept$1(visitor) {
  43415. return this.accept$1$1(visitor, type$.dynamic);
  43416. },
  43417. toString$0(_) {
  43418. return this.text.toString$0(0);
  43419. },
  43420. $isAstNode: 1,
  43421. $isStatement: 1
  43422. };
  43423. A.MediaRule.prototype = {
  43424. accept$1$1(visitor) {
  43425. return visitor.visitMediaRule$1(this);
  43426. },
  43427. accept$1(visitor) {
  43428. return this.accept$1$1(visitor, type$.dynamic);
  43429. },
  43430. toString$0(_) {
  43431. var t1 = this.children;
  43432. return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  43433. },
  43434. get$span(receiver) {
  43435. return this.span;
  43436. }
  43437. };
  43438. A.MixinRule.prototype = {
  43439. get$hasContent() {
  43440. var result, _this = this,
  43441. value = _this.__MixinRule_hasContent_FI;
  43442. if (value === $) {
  43443. result = J.$eq$(B.C__HasContentVisitor.visitChildren$1(_this.children), true);
  43444. _this.__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  43445. _this.__MixinRule_hasContent_FI = result;
  43446. value = result;
  43447. }
  43448. return value;
  43449. },
  43450. accept$1$1(visitor) {
  43451. return visitor.visitMixinRule$1(this);
  43452. },
  43453. accept$1(visitor) {
  43454. return this.accept$1$1(visitor, type$.dynamic);
  43455. },
  43456. toString$0(_) {
  43457. var t1 = "@mixin " + this.name,
  43458. t2 = this.$arguments;
  43459. if (!(t2.$arguments.length === 0 && t2.restArgument == null))
  43460. t1 += "(" + t2.toString$0(0) + ")";
  43461. t2 = this.children;
  43462. t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  43463. return t2.charCodeAt(0) == 0 ? t2 : t2;
  43464. }
  43465. };
  43466. A._HasContentVisitor.prototype = {
  43467. visitContentRule$1(_) {
  43468. return true;
  43469. }
  43470. };
  43471. A.__HasContentVisitor_Object_StatementSearchVisitor.prototype = {};
  43472. A.ParentStatement.prototype = {$isAstNode: 1, $isStatement: 1};
  43473. A.ParentStatement_closure.prototype = {
  43474. call$1(child) {
  43475. var t1, imports;
  43476. $label0$0: {
  43477. if (child instanceof A.VariableDeclaration || child instanceof A.FunctionRule || child instanceof A.MixinRule) {
  43478. t1 = true;
  43479. break $label0$0;
  43480. }
  43481. if (child instanceof A.ImportRule) {
  43482. imports = child.imports;
  43483. t1 = true;
  43484. } else {
  43485. imports = null;
  43486. t1 = false;
  43487. }
  43488. if (t1) {
  43489. t1 = (imports && B.JSArray_methods).any$1(imports, new A.ParentStatement__closure());
  43490. break $label0$0;
  43491. }
  43492. t1 = false;
  43493. break $label0$0;
  43494. }
  43495. return t1;
  43496. },
  43497. $signature: 246
  43498. };
  43499. A.ParentStatement__closure.prototype = {
  43500. call$1($import) {
  43501. return $import instanceof A.DynamicImport;
  43502. },
  43503. $signature: 242
  43504. };
  43505. A.ReturnRule.prototype = {
  43506. accept$1$1(visitor) {
  43507. return visitor.visitReturnRule$1(this);
  43508. },
  43509. accept$1(visitor) {
  43510. return this.accept$1$1(visitor, type$.dynamic);
  43511. },
  43512. toString$0(_) {
  43513. return "@return " + this.expression.toString$0(0) + ";";
  43514. },
  43515. $isAstNode: 1,
  43516. $isStatement: 1,
  43517. get$span(receiver) {
  43518. return this.span;
  43519. }
  43520. };
  43521. A.SilentComment.prototype = {
  43522. accept$1$1(visitor) {
  43523. return visitor.visitSilentComment$1(this);
  43524. },
  43525. accept$1(visitor) {
  43526. return this.accept$1$1(visitor, type$.dynamic);
  43527. },
  43528. toString$0(_) {
  43529. return this.text;
  43530. },
  43531. $isAstNode: 1,
  43532. $isStatement: 1,
  43533. get$span(receiver) {
  43534. return this.span;
  43535. }
  43536. };
  43537. A.StyleRule.prototype = {
  43538. accept$1$1(visitor) {
  43539. return visitor.visitStyleRule$1(this);
  43540. },
  43541. accept$1(visitor) {
  43542. return this.accept$1$1(visitor, type$.dynamic);
  43543. },
  43544. toString$0(_) {
  43545. var t1 = this.children;
  43546. return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  43547. },
  43548. get$span(receiver) {
  43549. return this.span;
  43550. }
  43551. };
  43552. A.Stylesheet.prototype = {
  43553. Stylesheet$internal$3$plainCss(children, span, plainCss) {
  43554. var t1, t2, t3, t4, _i, child;
  43555. for (t1 = this.children, t2 = t1.length, t3 = this._forwards, t4 = this._uses, _i = 0; _i < t2; ++_i) {
  43556. child = t1[_i];
  43557. if (child instanceof A.UseRule) {
  43558. t4.push(child);
  43559. continue;
  43560. }
  43561. if (child instanceof A.ForwardRule) {
  43562. t3.push(child);
  43563. continue;
  43564. }
  43565. if (child instanceof A.SilentComment || child instanceof A.LoudComment || child instanceof A.VariableDeclaration)
  43566. continue;
  43567. break;
  43568. }
  43569. },
  43570. accept$1$1(visitor) {
  43571. return visitor.visitStylesheet$1(this);
  43572. },
  43573. accept$1(visitor) {
  43574. return this.accept$1$1(visitor, type$.dynamic);
  43575. },
  43576. toString$0(_) {
  43577. var t1 = this.children;
  43578. return (t1 && B.JSArray_methods).join$1(t1, " ");
  43579. },
  43580. get$span(receiver) {
  43581. return this.span;
  43582. }
  43583. };
  43584. A.SupportsRule.prototype = {
  43585. accept$1$1(visitor) {
  43586. return visitor.visitSupportsRule$1(this);
  43587. },
  43588. accept$1(visitor) {
  43589. return this.accept$1$1(visitor, type$.dynamic);
  43590. },
  43591. toString$0(_) {
  43592. var t1 = this.children;
  43593. return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  43594. },
  43595. get$span(receiver) {
  43596. return this.span;
  43597. }
  43598. };
  43599. A.UseRule.prototype = {
  43600. UseRule$4$configuration(url, namespace, span, configuration) {
  43601. var t1, t2, _i, variable;
  43602. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  43603. variable = t1[_i];
  43604. if (variable.isGuarded)
  43605. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  43606. }
  43607. },
  43608. accept$1$1(visitor) {
  43609. return visitor.visitUseRule$1(this);
  43610. },
  43611. accept$1(visitor) {
  43612. return this.accept$1$1(visitor, type$.dynamic);
  43613. },
  43614. toString$0(_) {
  43615. var t1 = this.url,
  43616. t2 = "@use " + A.StringExpression_quoteText(t1.toString$0(0)),
  43617. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  43618. dot = B.JSString_methods.indexOf$1(basename, ".");
  43619. t1 = this.namespace;
  43620. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  43621. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  43622. else
  43623. t1 = t2;
  43624. t2 = this.configuration;
  43625. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  43626. return t1.charCodeAt(0) == 0 ? t1 : t1;
  43627. },
  43628. $isAstNode: 1,
  43629. $isStatement: 1,
  43630. get$span(receiver) {
  43631. return this.span;
  43632. }
  43633. };
  43634. A.VariableDeclaration.prototype = {
  43635. accept$1$1(visitor) {
  43636. return visitor.visitVariableDeclaration$1(this);
  43637. },
  43638. accept$1(visitor) {
  43639. return this.accept$1$1(visitor, type$.dynamic);
  43640. },
  43641. toString$0(_) {
  43642. var t1 = this.namespace;
  43643. t1 = t1 != null ? "" + (t1 + ".") : "";
  43644. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  43645. return t1.charCodeAt(0) == 0 ? t1 : t1;
  43646. },
  43647. $isAstNode: 1,
  43648. $isStatement: 1,
  43649. get$span(receiver) {
  43650. return this.span;
  43651. }
  43652. };
  43653. A.WarnRule.prototype = {
  43654. accept$1$1(visitor) {
  43655. return visitor.visitWarnRule$1(this);
  43656. },
  43657. accept$1(visitor) {
  43658. return this.accept$1$1(visitor, type$.dynamic);
  43659. },
  43660. toString$0(_) {
  43661. return "@warn " + this.expression.toString$0(0) + ";";
  43662. },
  43663. $isAstNode: 1,
  43664. $isStatement: 1,
  43665. get$span(receiver) {
  43666. return this.span;
  43667. }
  43668. };
  43669. A.WhileRule.prototype = {
  43670. accept$1$1(visitor) {
  43671. return visitor.visitWhileRule$1(this);
  43672. },
  43673. accept$1(visitor) {
  43674. return this.accept$1$1(visitor, type$.dynamic);
  43675. },
  43676. toString$0(_) {
  43677. var t1 = this.children;
  43678. return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  43679. },
  43680. get$span(receiver) {
  43681. return this.span;
  43682. }
  43683. };
  43684. A.SupportsAnything.prototype = {
  43685. toString$0(_) {
  43686. return "(" + this.contents.toString$0(0) + ")";
  43687. },
  43688. $isAstNode: 1,
  43689. get$span(receiver) {
  43690. return this.span;
  43691. }
  43692. };
  43693. A.SupportsDeclaration.prototype = {
  43694. get$isCustomProperty() {
  43695. var text, t1,
  43696. _0_0 = this.name;
  43697. $label0$0: {
  43698. if (_0_0 instanceof A.StringExpression)
  43699. if (!_0_0.hasQuotes) {
  43700. text = _0_0.text;
  43701. t1 = true;
  43702. } else {
  43703. text = null;
  43704. t1 = false;
  43705. }
  43706. else {
  43707. text = null;
  43708. t1 = false;
  43709. }
  43710. if (t1) {
  43711. t1 = B.JSString_methods.startsWith$1(text.get$initialPlain(), "--");
  43712. break $label0$0;
  43713. }
  43714. t1 = false;
  43715. break $label0$0;
  43716. }
  43717. return t1;
  43718. },
  43719. toString$0(_) {
  43720. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  43721. },
  43722. $isAstNode: 1,
  43723. get$span(receiver) {
  43724. return this.span;
  43725. }
  43726. };
  43727. A.SupportsFunction.prototype = {
  43728. toString$0(_) {
  43729. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  43730. },
  43731. $isAstNode: 1,
  43732. get$span(receiver) {
  43733. return this.span;
  43734. }
  43735. };
  43736. A.SupportsInterpolation.prototype = {
  43737. toString$0(_) {
  43738. return "#{" + this.expression.toString$0(0) + "}";
  43739. },
  43740. $isAstNode: 1,
  43741. get$span(receiver) {
  43742. return this.span;
  43743. }
  43744. };
  43745. A.SupportsNegation.prototype = {
  43746. toString$0(_) {
  43747. var t1 = this.condition;
  43748. if (t1 instanceof A.SupportsNegation || t1 instanceof A.SupportsOperation)
  43749. return "not (" + t1.toString$0(0) + ")";
  43750. else
  43751. return "not " + t1.toString$0(0);
  43752. },
  43753. $isAstNode: 1,
  43754. get$span(receiver) {
  43755. return this.span;
  43756. }
  43757. };
  43758. A.SupportsOperation.prototype = {
  43759. toString$0(_) {
  43760. var _this = this;
  43761. return _this._operation$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation$_parenthesize$1(_this.right);
  43762. },
  43763. _operation$_parenthesize$1(condition) {
  43764. var t1;
  43765. if (!(condition instanceof A.SupportsNegation))
  43766. t1 = condition instanceof A.SupportsOperation && condition.operator === this.operator;
  43767. else
  43768. t1 = true;
  43769. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  43770. },
  43771. $isAstNode: 1,
  43772. get$span(receiver) {
  43773. return this.span;
  43774. }
  43775. };
  43776. A.Selector.prototype = {
  43777. assertNotBogus$1$name($name) {
  43778. var t1;
  43779. if (!this.accept$1(B._IsBogusVisitor_true))
  43780. return;
  43781. t1 = this.toString$0(0);
  43782. A.EvaluationContext_current().warn$2(0, "$" + $name + ": " + (t1 + string$.x20is_nov), B.Deprecation_vrR);
  43783. },
  43784. toString$0(_) {
  43785. var visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  43786. this.accept$1(visitor);
  43787. return visitor._serialize$_buffer.toString$0(0);
  43788. },
  43789. $isAstNode: 1,
  43790. get$span(receiver) {
  43791. return this.span;
  43792. }
  43793. };
  43794. A._IsInvisibleVisitor0.prototype = {
  43795. visitSelectorList$1(list) {
  43796. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  43797. },
  43798. visitComplexSelector$1(complex) {
  43799. var t1;
  43800. if (!this.super$AnySelectorVisitor$visitComplexSelector(complex))
  43801. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false);
  43802. else
  43803. t1 = true;
  43804. return t1;
  43805. },
  43806. visitPlaceholderSelector$1(placeholder) {
  43807. return true;
  43808. },
  43809. visitPseudoSelector$1(pseudo) {
  43810. var selector, t1,
  43811. _0_0 = pseudo.selector;
  43812. if (_0_0 != null) {
  43813. selector = _0_0;
  43814. t1 = true;
  43815. } else {
  43816. selector = null;
  43817. t1 = false;
  43818. }
  43819. if (t1) {
  43820. if (pseudo.name === "not")
  43821. t1 = this.includeBogus && selector.accept$1(B._IsBogusVisitor_true);
  43822. else
  43823. t1 = this.visitSelectorList$1(selector);
  43824. return t1;
  43825. } else
  43826. return false;
  43827. }
  43828. };
  43829. A._IsBogusVisitor.prototype = {
  43830. visitComplexSelector$1(complex) {
  43831. var t2,
  43832. t1 = complex.components;
  43833. if (t1.length === 0)
  43834. return complex.leadingCombinators.length !== 0;
  43835. else {
  43836. t2 = this.includeLeadingCombinator ? 0 : 1;
  43837. return complex.leadingCombinators.length > t2 || B.JSArray_methods.get$last(t1).combinators.length !== 0 || B.JSArray_methods.any$1(t1, new A._IsBogusVisitor_visitComplexSelector_closure(this));
  43838. }
  43839. },
  43840. visitPseudoSelector$1(pseudo) {
  43841. var selector = pseudo.selector;
  43842. if (selector == null)
  43843. return false;
  43844. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false) : selector.accept$1(B._IsBogusVisitor_true);
  43845. }
  43846. };
  43847. A._IsBogusVisitor_visitComplexSelector_closure.prototype = {
  43848. call$1(component) {
  43849. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  43850. },
  43851. $signature: 54
  43852. };
  43853. A._IsUselessVisitor.prototype = {
  43854. visitComplexSelector$1(complex) {
  43855. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure(this));
  43856. },
  43857. visitPseudoSelector$1(pseudo) {
  43858. return pseudo.accept$1(B._IsBogusVisitor_true);
  43859. }
  43860. };
  43861. A._IsUselessVisitor_visitComplexSelector_closure.prototype = {
  43862. call$1(component) {
  43863. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  43864. },
  43865. $signature: 54
  43866. };
  43867. A.__IsBogusVisitor_Object_AnySelectorVisitor.prototype = {};
  43868. A.__IsInvisibleVisitor_Object_AnySelectorVisitor.prototype = {};
  43869. A.__IsUselessVisitor_Object_AnySelectorVisitor.prototype = {};
  43870. A.AttributeSelector.prototype = {
  43871. accept$1$1(visitor) {
  43872. return visitor.visitAttributeSelector$1(this);
  43873. },
  43874. accept$1(visitor) {
  43875. return this.accept$1$1(visitor, type$.dynamic);
  43876. },
  43877. $eq(_, other) {
  43878. var _this = this;
  43879. if (other == null)
  43880. return false;
  43881. return other instanceof A.AttributeSelector && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  43882. },
  43883. get$hashCode(_) {
  43884. var _this = this,
  43885. t1 = _this.name;
  43886. 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;
  43887. }
  43888. };
  43889. A.AttributeOperator.prototype = {
  43890. _enumToString$0() {
  43891. return "AttributeOperator." + this._name;
  43892. },
  43893. toString$0(_) {
  43894. return this._attribute$_text;
  43895. }
  43896. };
  43897. A.ClassSelector.prototype = {
  43898. $eq(_, other) {
  43899. if (other == null)
  43900. return false;
  43901. return other instanceof A.ClassSelector && other.name === this.name;
  43902. },
  43903. accept$1$1(visitor) {
  43904. return visitor.visitClassSelector$1(this);
  43905. },
  43906. accept$1(visitor) {
  43907. return this.accept$1$1(visitor, type$.dynamic);
  43908. },
  43909. addSuffix$1(suffix) {
  43910. return new A.ClassSelector(this.name + suffix, this.span);
  43911. },
  43912. get$hashCode(_) {
  43913. return B.JSString_methods.get$hashCode(this.name);
  43914. }
  43915. };
  43916. A.Combinator.prototype = {
  43917. _enumToString$0() {
  43918. return "Combinator." + this._name;
  43919. },
  43920. toString$0(_) {
  43921. return this._combinator$_text;
  43922. }
  43923. };
  43924. A.ComplexSelector.prototype = {
  43925. get$specificity() {
  43926. var result, _this = this,
  43927. value = _this.__ComplexSelector_specificity_FI;
  43928. if (value === $) {
  43929. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure());
  43930. _this.__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  43931. _this.__ComplexSelector_specificity_FI = result;
  43932. value = result;
  43933. }
  43934. return value;
  43935. },
  43936. get$singleCompound() {
  43937. var _0_0, _0_4, selector, t1;
  43938. if (this.leadingCombinators.length !== 0)
  43939. return null;
  43940. _0_0 = this.components;
  43941. _0_4 = A._InitializedCell$(new A.ComplexSelector_singleCompound_closure(_0_0));
  43942. $label0$0: {
  43943. if (_0_0.length === 1) {
  43944. selector = _0_4._readFinal$0().selector;
  43945. t1 = _0_4._readFinal$0().combinators.length <= 0;
  43946. } else {
  43947. selector = null;
  43948. t1 = false;
  43949. }
  43950. if (t1) {
  43951. t1 = selector;
  43952. break $label0$0;
  43953. }
  43954. t1 = null;
  43955. break $label0$0;
  43956. }
  43957. return t1;
  43958. },
  43959. accept$1$1(visitor) {
  43960. return visitor.visitComplexSelector$1(this);
  43961. },
  43962. accept$1(visitor) {
  43963. return this.accept$1$1(visitor, type$.dynamic);
  43964. },
  43965. isSuperselector$1(other) {
  43966. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector(this.components, other.components);
  43967. },
  43968. withAdditionalCombinators$1(combinators) {
  43969. var _0_0, _0_1, initial, last, t1, t2, _this = this, _null = null;
  43970. if (combinators.length === 0)
  43971. return _this;
  43972. _0_0 = _this.components;
  43973. _0_1 = A._InitializedCell$(new A.ComplexSelector_withAdditionalCombinators_closure(_0_0));
  43974. $label0$0: {
  43975. if (_0_1._readFinal$0() >= 1) {
  43976. initial = B.JSArray_methods.sublist$2(_0_0, 0, _0_1._readFinal$0() - 1);
  43977. last = _0_0[_0_1._readFinal$0() - 1];
  43978. last = last;
  43979. t1 = true;
  43980. } else {
  43981. last = _null;
  43982. initial = last;
  43983. t1 = false;
  43984. }
  43985. if (t1) {
  43986. t1 = A.List_List$of(initial, true, type$.ComplexSelectorComponent);
  43987. t1.push(last.withAdditionalCombinators$1(combinators));
  43988. t2 = _this.lineBreak || false;
  43989. t2 = A.ComplexSelector$(_this.leadingCombinators, t1, _this.span, t2);
  43990. t1 = t2;
  43991. break $label0$0;
  43992. }
  43993. if (_0_1._readFinal$0() <= 0) {
  43994. t1 = A.List_List$of(_this.leadingCombinators, true, type$.CssValue_Combinator);
  43995. B.JSArray_methods.addAll$1(t1, combinators);
  43996. t2 = _this.lineBreak || false;
  43997. t2 = A.ComplexSelector$(t1, B.List_empty0, _this.span, t2);
  43998. t1 = t2;
  43999. break $label0$0;
  44000. }
  44001. t1 = _null;
  44002. }
  44003. return t1;
  44004. },
  44005. concatenate$3$forceLineBreak(child, span, forceLineBreak) {
  44006. var t2, _0_1, initial, last, t3, t4, _this = this,
  44007. t1 = child.leadingCombinators,
  44008. _0_0 = _this.components;
  44009. if (t1.length === 0) {
  44010. t1 = A.List_List$of(_0_0, true, type$.ComplexSelectorComponent);
  44011. B.JSArray_methods.addAll$1(t1, child.components);
  44012. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  44013. return A.ComplexSelector$(_this.leadingCombinators, t1, span, t2);
  44014. } else {
  44015. _0_1 = A._InitializedCell$(new A.ComplexSelector_concatenate_closure(_0_0));
  44016. if (_0_1._readFinal$0() >= 1) {
  44017. initial = B.JSArray_methods.sublist$2(_0_0, 0, _0_1._readFinal$0() - 1);
  44018. last = _0_0[_0_1._readFinal$0() - 1];
  44019. last = last;
  44020. t2 = true;
  44021. } else {
  44022. initial = null;
  44023. last = null;
  44024. t2 = false;
  44025. }
  44026. t3 = _this.leadingCombinators;
  44027. t4 = child.components;
  44028. if (t2) {
  44029. t2 = A.List_List$of(initial, true, type$.ComplexSelectorComponent);
  44030. t2.push(last.withAdditionalCombinators$1(t1));
  44031. B.JSArray_methods.addAll$1(t2, t4);
  44032. return A.ComplexSelector$(t3, t2, span, _this.lineBreak || child.lineBreak || forceLineBreak);
  44033. } else {
  44034. t2 = A.List_List$of(t3, true, type$.CssValue_Combinator);
  44035. B.JSArray_methods.addAll$1(t2, t1);
  44036. return A.ComplexSelector$(t2, t4, span, _this.lineBreak || child.lineBreak || forceLineBreak);
  44037. }
  44038. }
  44039. },
  44040. concatenate$2(child, span) {
  44041. return this.concatenate$3$forceLineBreak(child, span, false);
  44042. },
  44043. get$hashCode(_) {
  44044. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  44045. },
  44046. $eq(_, other) {
  44047. if (other == null)
  44048. return false;
  44049. 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);
  44050. }
  44051. };
  44052. A.ComplexSelector_specificity_closure.prototype = {
  44053. call$2(sum, component) {
  44054. return sum + component.selector.get$specificity();
  44055. },
  44056. $signature: 366
  44057. };
  44058. A.ComplexSelector_singleCompound_closure.prototype = {
  44059. call$0() {
  44060. return this._0_0[0];
  44061. },
  44062. $signature: 405
  44063. };
  44064. A.ComplexSelector_withAdditionalCombinators_closure.prototype = {
  44065. call$0() {
  44066. return this._0_0.length;
  44067. },
  44068. $signature: 3
  44069. };
  44070. A.ComplexSelector_concatenate_closure.prototype = {
  44071. call$0() {
  44072. return this._0_0.length;
  44073. },
  44074. $signature: 3
  44075. };
  44076. A.ComplexSelectorComponent.prototype = {
  44077. withAdditionalCombinators$1(combinators) {
  44078. var t1, t2, _this = this;
  44079. if (combinators.length === 0)
  44080. t1 = _this;
  44081. else {
  44082. t1 = type$.CssValue_Combinator;
  44083. t2 = A.List_List$of(_this.combinators, true, t1);
  44084. B.JSArray_methods.addAll$1(t2, combinators);
  44085. t1 = new A.ComplexSelectorComponent(_this.selector, A.List_List$unmodifiable(t2, t1), _this.span);
  44086. }
  44087. return t1;
  44088. },
  44089. get$hashCode(_) {
  44090. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  44091. },
  44092. $eq(_, other) {
  44093. var t1;
  44094. if (other == null)
  44095. return false;
  44096. if (other instanceof A.ComplexSelectorComponent) {
  44097. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  44098. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  44099. } else
  44100. t1 = false;
  44101. return t1;
  44102. },
  44103. toString$0(_) {
  44104. var t1 = this.combinators;
  44105. 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, "");
  44106. }
  44107. };
  44108. A.ComplexSelectorComponent_toString_closure.prototype = {
  44109. call$1(combinator) {
  44110. return " " + combinator.toString$0(0);
  44111. },
  44112. $signature: 411
  44113. };
  44114. A.CompoundSelector.prototype = {
  44115. get$specificity() {
  44116. var result, _this = this,
  44117. value = _this.__CompoundSelector_specificity_FI;
  44118. if (value === $) {
  44119. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure());
  44120. _this.__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  44121. _this.__CompoundSelector_specificity_FI = result;
  44122. value = result;
  44123. }
  44124. return value;
  44125. },
  44126. accept$1$1(visitor) {
  44127. return visitor.visitCompoundSelector$1(this);
  44128. },
  44129. accept$1(visitor) {
  44130. return this.accept$1$1(visitor, type$.dynamic);
  44131. },
  44132. get$hashCode(_) {
  44133. return B.C_ListEquality0.hash$1(this.components);
  44134. },
  44135. $eq(_, other) {
  44136. if (other == null)
  44137. return false;
  44138. return other instanceof A.CompoundSelector && B.C_ListEquality.equals$2(0, this.components, other.components);
  44139. }
  44140. };
  44141. A.CompoundSelector_specificity_closure.prototype = {
  44142. call$2(sum, component) {
  44143. return sum + component.get$specificity();
  44144. },
  44145. $signature: 416
  44146. };
  44147. A.IDSelector.prototype = {
  44148. get$specificity() {
  44149. return A._asInt(Math.pow(A.SimpleSelector.prototype.get$specificity.call(this), 2));
  44150. },
  44151. accept$1$1(visitor) {
  44152. return visitor.visitIDSelector$1(this);
  44153. },
  44154. accept$1(visitor) {
  44155. return this.accept$1$1(visitor, type$.dynamic);
  44156. },
  44157. addSuffix$1(suffix) {
  44158. return new A.IDSelector(this.name + suffix, this.span);
  44159. },
  44160. unify$1(compound) {
  44161. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure(this)))
  44162. return null;
  44163. return this.super$SimpleSelector$unify(compound);
  44164. },
  44165. $eq(_, other) {
  44166. if (other == null)
  44167. return false;
  44168. return other instanceof A.IDSelector && other.name === this.name;
  44169. },
  44170. get$hashCode(_) {
  44171. return B.JSString_methods.get$hashCode(this.name);
  44172. }
  44173. };
  44174. A.IDSelector_unify_closure.prototype = {
  44175. call$1(simple) {
  44176. var t1;
  44177. if (simple instanceof A.IDSelector)
  44178. t1 = this.$this.name !== simple.name;
  44179. else
  44180. t1 = false;
  44181. return t1;
  44182. },
  44183. $signature: 15
  44184. };
  44185. A.SelectorList.prototype = {
  44186. get$asSassList() {
  44187. var t1 = this.components;
  44188. return A.SassList$(new A.MappedListIterable(t1, new A.SelectorList_asSassList_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_rXA, false);
  44189. },
  44190. accept$1$1(visitor) {
  44191. return visitor.visitSelectorList$1(this);
  44192. },
  44193. accept$1(visitor) {
  44194. return this.accept$1$1(visitor, type$.dynamic);
  44195. },
  44196. unify$1(other) {
  44197. var t3, t4, t5, t6, _i, complex1, _i0, t7,
  44198. t1 = type$.JSArray_ComplexSelector,
  44199. t2 = A._setArrayType([], t1);
  44200. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  44201. complex1 = t3[_i];
  44202. for (_i0 = 0; _i0 < t6; ++_i0) {
  44203. t7 = A.unifyComplex(A._setArrayType([complex1, t5[_i0]], t1), complex1.span);
  44204. if (t7 != null)
  44205. B.JSArray_methods.addAll$1(t2, t7);
  44206. }
  44207. }
  44208. return t2.length === 0 ? null : A.SelectorList$(t2, this.span);
  44209. },
  44210. resolveParentSelectors$2$implicitParent($parent, implicitParent) {
  44211. var parentSelector, t1, _this = this;
  44212. if ($parent == null) {
  44213. parentSelector = B.C__ParentSelectorVisitor.visitSelectorList$1(_this);
  44214. if (parentSelector == null)
  44215. return _this;
  44216. throw A.wrapException(A.SassException$(string$.Top_le, parentSelector.span, null));
  44217. }
  44218. t1 = _this.components;
  44219. 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), _this.span);
  44220. },
  44221. resolveParentSelectors$1($parent) {
  44222. return this.resolveParentSelectors$2$implicitParent($parent, true);
  44223. },
  44224. _resolveParentSelectorsCompound$2(component, $parent) {
  44225. var resolvedSimples, parentSelector, error, stackTrace, t2, resolvedSimples0, exception,
  44226. t1 = component.selector,
  44227. simples = t1.components,
  44228. containsSelectorPseudo = J.any$1$ax(simples, new A.SelectorList__resolveParentSelectorsCompound_closure());
  44229. if (!containsSelectorPseudo && !(J.get$first$ax(simples) instanceof A.ParentSelector))
  44230. return null;
  44231. if (containsSelectorPseudo) {
  44232. t2 = simples;
  44233. resolvedSimples0 = new A.MappedListIterable(t2, new A.SelectorList__resolveParentSelectorsCompound_closure0($parent), A.instanceType(t2)._eval$1("MappedListIterable<1,SimpleSelector>"));
  44234. } else
  44235. resolvedSimples0 = simples;
  44236. resolvedSimples = resolvedSimples0;
  44237. parentSelector = J.get$first$ax(simples);
  44238. try {
  44239. if (!(parentSelector instanceof A.ParentSelector)) {
  44240. t2 = component.span;
  44241. t2 = A._setArrayType([A.ComplexSelector$(B.List_empty1, A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(resolvedSimples, t1.span), A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator), t2)], type$.JSArray_ComplexSelectorComponent), t2, false)], type$.JSArray_ComplexSelector);
  44242. return t2;
  44243. } else if (J.get$length$asx(simples) === 1 && parentSelector.suffix == null) {
  44244. t1 = $parent.withAdditionalCombinators$1(component.combinators);
  44245. return t1.components;
  44246. }
  44247. } catch (exception) {
  44248. t1 = A.unwrapException(exception);
  44249. if (t1 instanceof A.SassException) {
  44250. error = t1;
  44251. stackTrace = A.getTraceFromException(exception);
  44252. A.throwWithTrace(error.withAdditionalSpan$2(parentSelector.span, "parent selector"), error, stackTrace);
  44253. } else
  44254. throw exception;
  44255. }
  44256. t1 = $parent.components;
  44257. return new A.MappedListIterable(t1, new A.SelectorList__resolveParentSelectorsCompound_closure1(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  44258. },
  44259. isSuperselector$1(other) {
  44260. return A.listIsSuperselector(this.components, other.components);
  44261. },
  44262. withAdditionalCombinators$1(combinators) {
  44263. var t1;
  44264. if (combinators.length === 0)
  44265. t1 = this;
  44266. else {
  44267. t1 = this.components;
  44268. t1 = A.SelectorList$(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>")), this.span);
  44269. }
  44270. return t1;
  44271. },
  44272. get$hashCode(_) {
  44273. return B.C_ListEquality0.hash$1(this.components);
  44274. },
  44275. $eq(_, other) {
  44276. if (other == null)
  44277. return false;
  44278. return other instanceof A.SelectorList && B.C_ListEquality.equals$2(0, this.components, other.components);
  44279. }
  44280. };
  44281. A.SelectorList_asSassList_closure.prototype = {
  44282. call$1(complex) {
  44283. var t3, t4, _i, component, t5, visitor, t6, t7, _i0,
  44284. t1 = type$.JSArray_Value,
  44285. t2 = A._setArrayType([], t1);
  44286. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  44287. t2.push(new A.SassString(J.toString$0$(t3[_i].value), false));
  44288. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  44289. component = t3[_i];
  44290. t5 = component.selector;
  44291. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  44292. t5.accept$1(visitor);
  44293. t5 = A._setArrayType([new A.SassString(visitor._serialize$_buffer.toString$0(0), false)], t1);
  44294. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  44295. t5.push(new A.SassString(J.toString$0$(t6[_i0].value), false));
  44296. B.JSArray_methods.addAll$1(t2, t5);
  44297. }
  44298. return A.SassList$(t2, B.ListSeparator_EVt, false);
  44299. },
  44300. $signature: 434
  44301. };
  44302. A.SelectorList_resolveParentSelectors_closure.prototype = {
  44303. call$1(complex) {
  44304. var t1, newComplexes, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, _i, component, resolved, i, t12, t13, t14, _i0, newComplex, t15, _this = this;
  44305. if (complex.accept$1(B.C__ParentSelectorVisitor) == null) {
  44306. if (!_this.implicitParent)
  44307. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  44308. t1 = _this.parent.components;
  44309. return new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors__closure(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>"));
  44310. }
  44311. t1 = type$.JSArray_ComplexSelector;
  44312. newComplexes = A._setArrayType([], t1);
  44313. for (t2 = complex.components, t3 = t2.length, t4 = _this.$this, t5 = _this.parent, t6 = type$.ComplexSelector, t7 = complex.leadingCombinators, t8 = t7.length === 0, t9 = complex.span, t10 = type$.ComplexSelectorComponent, t11 = type$.JSArray_ComplexSelectorComponent, _i = 0; _i < t3; ++_i) {
  44314. component = t2[_i];
  44315. resolved = t4._resolveParentSelectorsCompound$2(component, t5);
  44316. if (resolved == null)
  44317. if (newComplexes.length === 0)
  44318. newComplexes.push(A.ComplexSelector$(t7, A._setArrayType([component], t11), t9, false));
  44319. else
  44320. for (i = 0; i < newComplexes.length; ++i) {
  44321. t12 = newComplexes[i];
  44322. t13 = t12.leadingCombinators;
  44323. t14 = A.List_List$of(t12.components, true, t10);
  44324. t14.push(component);
  44325. newComplexes[i] = A.ComplexSelector$(t13, t14, t9, t12.lineBreak || false);
  44326. }
  44327. else if (newComplexes.length === 0)
  44328. B.JSArray_methods.addAll$1(newComplexes, t8 ? resolved : J.map$1$1$ax(resolved, new A.SelectorList_resolveParentSelectors__closure0(complex), t6));
  44329. else {
  44330. t12 = A._setArrayType([], t1);
  44331. for (t13 = newComplexes.length, t14 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t13 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  44332. newComplex = newComplexes[_i0];
  44333. for (t15 = t14.get$iterator(resolved); t15.moveNext$0();)
  44334. t12.push(newComplex.concatenate$2(t15.get$current(t15), newComplex.span));
  44335. }
  44336. newComplexes = t12;
  44337. }
  44338. }
  44339. return newComplexes;
  44340. },
  44341. $signature: 436
  44342. };
  44343. A.SelectorList_resolveParentSelectors__closure.prototype = {
  44344. call$1(parentComplex) {
  44345. var t1 = this.complex;
  44346. return parentComplex.concatenate$2(t1, t1.span);
  44347. },
  44348. $signature: 59
  44349. };
  44350. A.SelectorList_resolveParentSelectors__closure0.prototype = {
  44351. call$1(resolvedComplex) {
  44352. var t1 = resolvedComplex.leadingCombinators,
  44353. t2 = this.complex,
  44354. t3 = t2.leadingCombinators;
  44355. if (t1.length === 0)
  44356. t1 = t3;
  44357. else {
  44358. t3 = A.List_List$of(t3, true, type$.CssValue_Combinator);
  44359. B.JSArray_methods.addAll$1(t3, t1);
  44360. t1 = t3;
  44361. }
  44362. return A.ComplexSelector$(t1, resolvedComplex.components, t2.span, resolvedComplex.lineBreak);
  44363. },
  44364. $signature: 59
  44365. };
  44366. A.SelectorList__resolveParentSelectorsCompound_closure.prototype = {
  44367. call$1(simple) {
  44368. var selector;
  44369. if (!(simple instanceof A.PseudoSelector))
  44370. return false;
  44371. selector = simple.selector;
  44372. return selector != null && selector.accept$1(B.C__ParentSelectorVisitor) != null;
  44373. },
  44374. $signature: 15
  44375. };
  44376. A.SelectorList__resolveParentSelectorsCompound_closure0.prototype = {
  44377. call$1(simple) {
  44378. var selector, t1,
  44379. _0_2 = A._InitializedCell$(new A.SelectorList__resolveParentSelectorsCompound__closure(simple));
  44380. $label0$0: {
  44381. if (simple instanceof A.PseudoSelector) {
  44382. if (_0_2._readFinal$0() != null) {
  44383. selector = _0_2._readFinal$0();
  44384. t1 = true;
  44385. } else {
  44386. selector = null;
  44387. t1 = false;
  44388. }
  44389. t1 = t1 && selector.accept$1(B.C__ParentSelectorVisitor) != null;
  44390. } else {
  44391. selector = null;
  44392. t1 = false;
  44393. }
  44394. if (t1) {
  44395. t1 = simple.withSelector$1(selector.resolveParentSelectors$2$implicitParent(this.parent, false));
  44396. break $label0$0;
  44397. }
  44398. t1 = simple;
  44399. break $label0$0;
  44400. }
  44401. return t1;
  44402. },
  44403. $signature: 454
  44404. };
  44405. A.SelectorList__resolveParentSelectorsCompound__closure.prototype = {
  44406. call$0() {
  44407. return type$.PseudoSelector._as(this._0_0).selector;
  44408. },
  44409. $signature: 72
  44410. };
  44411. A.SelectorList__resolveParentSelectorsCompound_closure1.prototype = {
  44412. call$1(complex) {
  44413. var lastComponent, suffix, lastSimples, t1, t2, last, t3, error, stackTrace, t4, t5, t6, t7, exception, _this = this;
  44414. try {
  44415. t4 = complex.components;
  44416. lastComponent = B.JSArray_methods.get$last(t4);
  44417. if (lastComponent.combinators.length !== 0) {
  44418. t1 = A.MultiSpanSassException$('Selector "' + complex.toString$0(0) + string$.x22x20can_, A.SpanExtensions_trimRight(lastComponent.span), "outer selector", A.LinkedHashMap_LinkedHashMap$_literal([_this.parentSelector.span, "parent selector"], type$.FileSpan, type$.String), null);
  44419. throw A.wrapException(t1);
  44420. }
  44421. suffix = _this.parentSelector.suffix;
  44422. lastSimples = lastComponent.selector.components;
  44423. t5 = type$.SimpleSelector;
  44424. t6 = _this.resolvedSimples;
  44425. t7 = J.getInterceptor$ax(t6);
  44426. if (suffix == null) {
  44427. t1 = A.List_List$of(lastSimples, true, t5);
  44428. J.addAll$1$ax(t1, t7.skip$1(t6, 1));
  44429. t1 = t1;
  44430. } else {
  44431. t2 = A.List_List$of(A.IterableExtension_get_exceptLast(lastSimples), true, t5);
  44432. J.add$1$ax(t2, J.get$last$ax(lastSimples).addSuffix$1(suffix));
  44433. J.addAll$1$ax(t2, t7.skip$1(t6, 1));
  44434. t1 = t2;
  44435. }
  44436. t2 = _this.component;
  44437. last = A.CompoundSelector$(t1, t2.selector.span);
  44438. t3 = A.List_List$of(A.IterableExtension_get_exceptLast(t4), true, type$.ComplexSelectorComponent);
  44439. t4 = t2.span;
  44440. J.add$1$ax(t3, new A.ComplexSelectorComponent(last, A.List_List$unmodifiable(t2.combinators, type$.CssValue_Combinator), t4));
  44441. t4 = A.ComplexSelector$(complex.leadingCombinators, t3, t4, complex.lineBreak);
  44442. return t4;
  44443. } catch (exception) {
  44444. t1 = A.unwrapException(exception);
  44445. if (t1 instanceof A.SassException) {
  44446. error = t1;
  44447. stackTrace = A.getTraceFromException(exception);
  44448. A.throwWithTrace(error.withAdditionalSpan$2(_this.parentSelector.span, "parent selector"), error, stackTrace);
  44449. } else
  44450. throw exception;
  44451. }
  44452. },
  44453. $signature: 59
  44454. };
  44455. A.SelectorList_withAdditionalCombinators_closure.prototype = {
  44456. call$1(complex) {
  44457. return complex.withAdditionalCombinators$1(this.combinators);
  44458. },
  44459. $signature: 59
  44460. };
  44461. A._ParentSelectorVisitor.prototype = {
  44462. visitParentSelector$1(selector) {
  44463. return selector;
  44464. }
  44465. };
  44466. A.__ParentSelectorVisitor_Object_SelectorSearchVisitor.prototype = {};
  44467. A.ParentSelector.prototype = {
  44468. accept$1$1(visitor) {
  44469. return visitor.visitParentSelector$1(this);
  44470. },
  44471. accept$1(visitor) {
  44472. return this.accept$1$1(visitor, type$.dynamic);
  44473. },
  44474. unify$1(compound) {
  44475. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  44476. }
  44477. };
  44478. A.PlaceholderSelector.prototype = {
  44479. accept$1$1(visitor) {
  44480. return visitor.visitPlaceholderSelector$1(this);
  44481. },
  44482. accept$1(visitor) {
  44483. return this.accept$1$1(visitor, type$.dynamic);
  44484. },
  44485. addSuffix$1(suffix) {
  44486. return new A.PlaceholderSelector(this.name + suffix, this.span);
  44487. },
  44488. $eq(_, other) {
  44489. if (other == null)
  44490. return false;
  44491. return other instanceof A.PlaceholderSelector && other.name === this.name;
  44492. },
  44493. get$hashCode(_) {
  44494. return B.JSString_methods.get$hashCode(this.name);
  44495. }
  44496. };
  44497. A.PseudoSelector.prototype = {
  44498. get$isHostContext() {
  44499. return this.isClass && this.name === "host-context" && this.selector != null;
  44500. },
  44501. get$specificity() {
  44502. var result, _this = this,
  44503. value = _this.__PseudoSelector_specificity_FI;
  44504. if (value === $) {
  44505. result = new A.PseudoSelector_specificity_closure(_this).call$0();
  44506. _this.__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  44507. _this.__PseudoSelector_specificity_FI = result;
  44508. value = result;
  44509. }
  44510. return value;
  44511. },
  44512. withSelector$1(selector) {
  44513. var _this = this;
  44514. return A.PseudoSelector$(_this.name, _this.span, _this.argument, !_this.isClass, selector);
  44515. },
  44516. addSuffix$1(suffix) {
  44517. var _this = this;
  44518. if (_this.argument != null || _this.selector != null)
  44519. _this.super$SimpleSelector$addSuffix(suffix);
  44520. return A.PseudoSelector$(_this.name + suffix, _this.span, null, !_this.isClass, null);
  44521. },
  44522. unify$1(compound) {
  44523. var other, result, t2, addedThis, _i, simple, _this = this,
  44524. t1 = _this.name;
  44525. if (t1 === "host" || t1 === "host-context") {
  44526. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure()))
  44527. return null;
  44528. } else {
  44529. if (compound.length === 1) {
  44530. other = compound[0];
  44531. if (!(other instanceof A.UniversalSelector))
  44532. if (other instanceof A.PseudoSelector)
  44533. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  44534. else
  44535. t1 = false;
  44536. else
  44537. t1 = true;
  44538. } else {
  44539. other = null;
  44540. t1 = false;
  44541. }
  44542. if (t1)
  44543. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  44544. }
  44545. if (B.JSArray_methods.contains$1(compound, _this))
  44546. return compound;
  44547. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  44548. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  44549. simple = compound[_i];
  44550. if (simple instanceof A.PseudoSelector && !simple.isClass) {
  44551. if (t2)
  44552. return null;
  44553. result.push(_this);
  44554. addedThis = true;
  44555. }
  44556. result.push(simple);
  44557. }
  44558. if (!addedThis)
  44559. result.push(_this);
  44560. return result;
  44561. },
  44562. isSuperselector$1(other) {
  44563. var selector, t1, t2, _this = this;
  44564. if (_this.super$SimpleSelector$isSuperselector(other))
  44565. return true;
  44566. selector = _this.selector;
  44567. if (selector == null)
  44568. return _this.$eq(0, other);
  44569. if (other instanceof A.PseudoSelector && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  44570. t1 = A.NullableExtension_andThen(other.selector, selector.get$isSuperselector());
  44571. return t1 == null ? false : t1;
  44572. }
  44573. t1 = type$.JSArray_SimpleSelector;
  44574. t2 = _this.span;
  44575. return A.compoundIsSuperselector(A.CompoundSelector$(A._setArrayType([_this], t1), t2), A.CompoundSelector$(A._setArrayType([other], t1), t2), null);
  44576. },
  44577. accept$1$1(visitor) {
  44578. return visitor.visitPseudoSelector$1(this);
  44579. },
  44580. accept$1(visitor) {
  44581. return this.accept$1$1(visitor, type$.dynamic);
  44582. },
  44583. $eq(_, other) {
  44584. var _this = this;
  44585. if (other == null)
  44586. return false;
  44587. return other instanceof A.PseudoSelector && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  44588. },
  44589. get$hashCode(_) {
  44590. var _this = this,
  44591. t1 = B.JSString_methods.get$hashCode(_this.name),
  44592. t2 = !_this.isClass ? 519018 : 218159;
  44593. return t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector);
  44594. }
  44595. };
  44596. A.PseudoSelector_specificity_closure.prototype = {
  44597. call$0() {
  44598. var selector, t2,
  44599. t1 = this.$this;
  44600. if (!t1.isClass)
  44601. return 1;
  44602. selector = t1.selector;
  44603. if (selector == null)
  44604. return A.SimpleSelector.prototype.get$specificity.call(t1);
  44605. switch (t1.normalizedName) {
  44606. case "where":
  44607. return 0;
  44608. case "is":
  44609. case "not":
  44610. case "has":
  44611. case "matches":
  44612. t1 = selector.components;
  44613. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  44614. case "nth-child":
  44615. case "nth-last-child":
  44616. t1 = A.SimpleSelector.prototype.get$specificity.call(t1);
  44617. t2 = selector.components;
  44618. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  44619. default:
  44620. return A.SimpleSelector.prototype.get$specificity.call(t1);
  44621. }
  44622. },
  44623. $signature: 3
  44624. };
  44625. A.PseudoSelector_specificity__closure.prototype = {
  44626. call$1(component) {
  44627. return component.get$specificity();
  44628. },
  44629. $signature: 240
  44630. };
  44631. A.PseudoSelector_specificity__closure0.prototype = {
  44632. call$1(component) {
  44633. return component.get$specificity();
  44634. },
  44635. $signature: 240
  44636. };
  44637. A.PseudoSelector_unify_closure.prototype = {
  44638. call$1(simple) {
  44639. var t1;
  44640. if (simple instanceof A.PseudoSelector)
  44641. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  44642. else
  44643. t1 = false;
  44644. return t1;
  44645. },
  44646. $signature: 15
  44647. };
  44648. A.QualifiedName.prototype = {
  44649. $eq(_, other) {
  44650. if (other == null)
  44651. return false;
  44652. return other instanceof A.QualifiedName && other.name === this.name && other.namespace == this.namespace;
  44653. },
  44654. get$hashCode(_) {
  44655. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  44656. },
  44657. toString$0(_) {
  44658. var t1 = this.namespace,
  44659. t2 = this.name;
  44660. return t1 == null ? t2 : t1 + "|" + t2;
  44661. }
  44662. };
  44663. A.SimpleSelector.prototype = {
  44664. get$specificity() {
  44665. return 1000;
  44666. },
  44667. addSuffix$1(suffix) {
  44668. return A.throwExpression(A.MultiSpanSassException$('Selector "' + this.toString$0(0) + "\" can't have a suffix", this.span, "outer selector", A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String), null));
  44669. },
  44670. unify$1(compound) {
  44671. var other, t1, result, addedThis, _i, simple, _this = this;
  44672. if (compound.length === 1) {
  44673. other = compound[0];
  44674. if (!(other instanceof A.UniversalSelector))
  44675. if (other instanceof A.PseudoSelector)
  44676. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  44677. else
  44678. t1 = false;
  44679. else
  44680. t1 = true;
  44681. } else {
  44682. other = null;
  44683. t1 = false;
  44684. }
  44685. if (t1)
  44686. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector));
  44687. if (B.JSArray_methods.contains$1(compound, _this))
  44688. return compound;
  44689. result = A._setArrayType([], type$.JSArray_SimpleSelector);
  44690. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  44691. simple = compound[_i];
  44692. if (!addedThis && simple instanceof A.PseudoSelector) {
  44693. result.push(_this);
  44694. addedThis = true;
  44695. }
  44696. result.push(simple);
  44697. }
  44698. if (!addedThis)
  44699. result.push(_this);
  44700. return result;
  44701. },
  44702. isSuperselector$1(other) {
  44703. var list;
  44704. if (this.$eq(0, other))
  44705. return true;
  44706. if (other instanceof A.PseudoSelector && other.isClass) {
  44707. list = other.selector;
  44708. if (list != null && $._subselectorPseudos.contains$1(0, other.normalizedName))
  44709. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure(this));
  44710. }
  44711. return false;
  44712. }
  44713. };
  44714. A.SimpleSelector_isSuperselector_closure.prototype = {
  44715. call$1(complex) {
  44716. var t1 = complex.components;
  44717. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure(this.$this));
  44718. },
  44719. $signature: 17
  44720. };
  44721. A.SimpleSelector_isSuperselector__closure.prototype = {
  44722. call$1(simple) {
  44723. return this.$this.isSuperselector$1(simple);
  44724. },
  44725. $signature: 15
  44726. };
  44727. A.TypeSelector.prototype = {
  44728. get$specificity() {
  44729. return 1;
  44730. },
  44731. accept$1$1(visitor) {
  44732. return visitor.visitTypeSelector$1(this);
  44733. },
  44734. accept$1(visitor) {
  44735. return this.accept$1$1(visitor, type$.dynamic);
  44736. },
  44737. addSuffix$1(suffix) {
  44738. var t1 = this.name;
  44739. return new A.TypeSelector(new A.QualifiedName(t1.name + suffix, t1.namespace), this.span);
  44740. },
  44741. unify$1(compound) {
  44742. var unified, t1,
  44743. _0_0 = B.JSArray_methods.get$first(compound);
  44744. if (_0_0 instanceof A.UniversalSelector || _0_0 instanceof A.TypeSelector) {
  44745. unified = A.unifyUniversalAndElement(this, B.JSArray_methods.get$first(compound));
  44746. if (unified == null)
  44747. return null;
  44748. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  44749. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  44750. return t1;
  44751. } else {
  44752. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector);
  44753. B.JSArray_methods.addAll$1(t1, compound);
  44754. return t1;
  44755. }
  44756. },
  44757. isSuperselector$1(other) {
  44758. var t1, t2;
  44759. if (!this.super$SimpleSelector$isSuperselector(other))
  44760. if (other instanceof A.TypeSelector) {
  44761. t1 = this.name;
  44762. t2 = other.name;
  44763. if (t1.name === t2.name) {
  44764. t1 = t1.namespace;
  44765. t1 = t1 === "*" || t1 == t2.namespace;
  44766. } else
  44767. t1 = false;
  44768. } else
  44769. t1 = false;
  44770. else
  44771. t1 = true;
  44772. return t1;
  44773. },
  44774. $eq(_, other) {
  44775. if (other == null)
  44776. return false;
  44777. return other instanceof A.TypeSelector && other.name.$eq(0, this.name);
  44778. },
  44779. get$hashCode(_) {
  44780. var t1 = this.name;
  44781. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  44782. }
  44783. };
  44784. A.UniversalSelector.prototype = {
  44785. get$specificity() {
  44786. return 0;
  44787. },
  44788. accept$1$1(visitor) {
  44789. return visitor.visitUniversalSelector$1(this);
  44790. },
  44791. accept$1(visitor) {
  44792. return this.accept$1$1(visitor, type$.dynamic);
  44793. },
  44794. unify$1(compound) {
  44795. var rest, t1, unified, first, _this = this, _null = null,
  44796. _0_1 = A._InitializedCell$(new A.UniversalSelector_unify_closure(compound)),
  44797. _0_4 = A._InitializedCell$(new A.UniversalSelector_unify_closure0(compound));
  44798. if (_0_1._readFinal$0() >= 1)
  44799. if (_0_4._readFinal$0() instanceof A.UniversalSelector || _0_4._readFinal$0() instanceof A.TypeSelector) {
  44800. rest = B.JSArray_methods.sublist$1(compound, 1);
  44801. t1 = true;
  44802. } else {
  44803. rest = _null;
  44804. t1 = false;
  44805. }
  44806. else {
  44807. rest = _null;
  44808. t1 = false;
  44809. }
  44810. if (t1) {
  44811. unified = A.unifyUniversalAndElement(_this, B.JSArray_methods.get$first(compound));
  44812. if (unified == null)
  44813. return _null;
  44814. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector);
  44815. B.JSArray_methods.addAll$1(t1, rest);
  44816. return t1;
  44817. }
  44818. if (J.$eq$(_0_1._readFinal$0(), 1))
  44819. if (_0_4._readFinal$0() instanceof A.PseudoSelector) {
  44820. first = _0_4._readFinal$0();
  44821. t1 = first.isClass && first.name === "host" || first.get$isHostContext();
  44822. } else
  44823. t1 = false;
  44824. else
  44825. t1 = false;
  44826. if (t1)
  44827. return _null;
  44828. if (_0_1._readFinal$0() <= 0)
  44829. return A._setArrayType([_this], type$.JSArray_SimpleSelector);
  44830. t1 = _this.namespace;
  44831. if (t1 == null || t1 === "*")
  44832. t1 = compound;
  44833. else {
  44834. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector);
  44835. B.JSArray_methods.addAll$1(t1, compound);
  44836. }
  44837. return t1;
  44838. },
  44839. isSuperselector$1(other) {
  44840. var t1 = this.namespace;
  44841. if (t1 === "*")
  44842. return true;
  44843. if (other instanceof A.TypeSelector)
  44844. return t1 == other.name.namespace;
  44845. if (other instanceof A.UniversalSelector)
  44846. return t1 == other.namespace;
  44847. return t1 == null || this.super$SimpleSelector$isSuperselector(other);
  44848. },
  44849. $eq(_, other) {
  44850. if (other == null)
  44851. return false;
  44852. return other instanceof A.UniversalSelector && other.namespace == this.namespace;
  44853. },
  44854. get$hashCode(_) {
  44855. return J.get$hashCode$(this.namespace);
  44856. }
  44857. };
  44858. A.UniversalSelector_unify_closure.prototype = {
  44859. call$0() {
  44860. return this._0_0.length;
  44861. },
  44862. $signature: 3
  44863. };
  44864. A.UniversalSelector_unify_closure0.prototype = {
  44865. call$0() {
  44866. return this._0_0[0];
  44867. },
  44868. $signature: 238
  44869. };
  44870. A._compileStylesheet_closure0.prototype = {
  44871. call$1(url) {
  44872. var t1;
  44873. if (url === "") {
  44874. t1 = this.stylesheet.span;
  44875. 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();
  44876. } else
  44877. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  44878. return t1;
  44879. },
  44880. $signature: 7
  44881. };
  44882. A.AsyncEnvironment.prototype = {
  44883. closure$0() {
  44884. var t4, t5, t6, _this = this,
  44885. t1 = _this._async_environment$_forwardedModules,
  44886. t2 = _this._async_environment$_nestedForwardedModules,
  44887. t3 = _this._async_environment$_variables;
  44888. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  44889. t4 = _this._async_environment$_variableNodes;
  44890. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  44891. t5 = _this._async_environment$_functions;
  44892. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  44893. t6 = _this._async_environment$_mixins;
  44894. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  44895. 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);
  44896. },
  44897. forwardModule$2(module, rule) {
  44898. var view, t1, t2, _this = this,
  44899. forwardedModules = _this._async_environment$_forwardedModules;
  44900. if (forwardedModules == null)
  44901. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  44902. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.AsyncCallable);
  44903. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
  44904. t2 = t1.__js_helper$_current;
  44905. _this._async_environment$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  44906. _this._async_environment$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  44907. _this._async_environment$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  44908. }
  44909. _this._async_environment$_allModules.push(module);
  44910. forwardedModules.$indexSet(0, view, rule);
  44911. },
  44912. _async_environment$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  44913. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  44914. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  44915. larger = oldMembers;
  44916. smaller = newMembers;
  44917. } else {
  44918. larger = newMembers;
  44919. smaller = oldMembers;
  44920. }
  44921. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  44922. t4 = t2.get$current(t2);
  44923. $name = t4._0;
  44924. small = t4._1;
  44925. large = larger.$index(0, $name);
  44926. if (large == null)
  44927. continue;
  44928. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  44929. continue;
  44930. if (t3)
  44931. $name = "$" + $name;
  44932. t2 = this._async_environment$_forwardedModules;
  44933. if (t2 == null)
  44934. span = null;
  44935. else {
  44936. t2 = t2.$index(0, oldModule);
  44937. span = t2 == null ? null : J.get$span$z(t2);
  44938. }
  44939. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  44940. if (span != null)
  44941. t2.$indexSet(0, span, "original @forward");
  44942. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  44943. }
  44944. },
  44945. importForwards$1(module) {
  44946. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, _length, _list, _this = this,
  44947. forwarded = module._async_environment$_environment._async_environment$_forwardedModules;
  44948. if (forwarded == null)
  44949. return;
  44950. forwardedModules = _this._async_environment$_forwardedModules;
  44951. if (forwardedModules != null) {
  44952. t1 = type$.Module_AsyncCallable;
  44953. t2 = type$.AstNode;
  44954. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  44955. for (t1 = A.MapExtensions_get_pairs(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._async_environment$_globalModules; t1.moveNext$0();) {
  44956. t4 = t1.get$current(t1);
  44957. module = t4._0;
  44958. node = t4._1;
  44959. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  44960. t3.$indexSet(0, module, node);
  44961. }
  44962. forwarded = t3;
  44963. } else
  44964. forwardedModules = _this._async_environment$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.AstNode);
  44965. t1 = type$.String;
  44966. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  44967. for (t3 = A.LinkedHashMapKeyIterator$(forwarded, forwarded._modifications); t3.moveNext$0();)
  44968. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  44969. t2.add$1(0, t4.get$current(t4));
  44970. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  44971. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded._modifications); t4.moveNext$0();) {
  44972. t5 = t4.__js_helper$_current;
  44973. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  44974. t3.add$1(0, t5.get$current(t5));
  44975. }
  44976. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  44977. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded._modifications); t4.moveNext$0();)
  44978. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  44979. t1.add$1(0, t5.get$current(t5));
  44980. t4 = _this._async_environment$_variables;
  44981. t5 = t4.length;
  44982. if (t5 === 1) {
  44983. for (t5 = _this._async_environment$_importedModules, t6 = type$.Module_AsyncCallable, t7 = type$.AstNode, t8 = A.MapExtensions_get_pairs(t5, t6, t7).toList$0(0), t9 = t8.length, t10 = type$.AsyncCallable, _i = 0; _i < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i) {
  44984. t11 = t8[_i];
  44985. module = t11._0;
  44986. node = t11._1;
  44987. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  44988. if (shadowed != null) {
  44989. t5.remove$1(0, module);
  44990. t11 = shadowed.variables;
  44991. if (t11.get$isEmpty(t11)) {
  44992. t11 = shadowed.functions;
  44993. if (t11.get$isEmpty(t11)) {
  44994. t11 = shadowed.mixins;
  44995. if (t11.get$isEmpty(t11)) {
  44996. t11 = shadowed._shadowed_view$_inner;
  44997. t11 = t11.get$css(t11);
  44998. t11 = J.get$isEmpty$asx(t11.get$children(t11));
  44999. } else
  45000. t11 = false;
  45001. } else
  45002. t11 = false;
  45003. } else
  45004. t11 = false;
  45005. if (!t11)
  45006. t5.$indexSet(0, shadowed, node);
  45007. }
  45008. }
  45009. for (t6 = A.MapExtensions_get_pairs(forwardedModules, t6, t7).toList$0(0), t7 = t6.length, _i = 0; _i < t6.length; t6.length === t7 || (0, A.throwConcurrentModificationError)(t6), ++_i) {
  45010. t8 = t6[_i];
  45011. module = t8._0;
  45012. node = t8._1;
  45013. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  45014. if (shadowed != null) {
  45015. forwardedModules.remove$1(0, module);
  45016. t8 = shadowed.variables;
  45017. if (t8.get$isEmpty(t8)) {
  45018. t8 = shadowed.functions;
  45019. if (t8.get$isEmpty(t8)) {
  45020. t8 = shadowed.mixins;
  45021. if (t8.get$isEmpty(t8)) {
  45022. t8 = shadowed._shadowed_view$_inner;
  45023. t8 = t8.get$css(t8);
  45024. t8 = J.get$isEmpty$asx(t8.get$children(t8));
  45025. } else
  45026. t8 = false;
  45027. } else
  45028. t8 = false;
  45029. } else
  45030. t8 = false;
  45031. if (!t8)
  45032. forwardedModules.$indexSet(0, shadowed, node);
  45033. }
  45034. }
  45035. t5.addAll$1(0, forwarded);
  45036. forwardedModules.addAll$1(0, forwarded);
  45037. } else {
  45038. t6 = _this._async_environment$_nestedForwardedModules;
  45039. if (t6 == null) {
  45040. _length = t5 - 1;
  45041. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable);
  45042. for (t5 = type$.JSArray_Module_AsyncCallable, _i = 0; _i < _length; ++_i)
  45043. _list[_i] = A._setArrayType([], t5);
  45044. _this._async_environment$_nestedForwardedModules = _list;
  45045. t5 = _list;
  45046. } else
  45047. t5 = t6;
  45048. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeyIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>")));
  45049. }
  45050. for (t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications), t5 = _this._async_environment$_variableIndices, t6 = _this._async_environment$_variableNodes, t7 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  45051. t8 = t2._collection$_current;
  45052. if (t8 == null)
  45053. t8 = t7._as(t8);
  45054. t5.remove$1(0, t8);
  45055. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  45056. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  45057. }
  45058. for (t2 = A._LinkedHashSetIterator$(t3, t3._collection$_modifications), t3 = _this._async_environment$_functionIndices, t4 = _this._async_environment$_functions, t5 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  45059. t6 = t2._collection$_current;
  45060. if (t6 == null)
  45061. t6 = t5._as(t6);
  45062. t3.remove$1(0, t6);
  45063. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  45064. }
  45065. for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications), t2 = _this._async_environment$_mixinIndices, t3 = _this._async_environment$_mixins, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  45066. t5 = t1._collection$_current;
  45067. if (t5 == null)
  45068. t5 = t4._as(t5);
  45069. t2.remove$1(0, t5);
  45070. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  45071. }
  45072. },
  45073. getVariable$2$namespace($name, namespace) {
  45074. var t1, _0_0, index, t2, _1_0, _this = this;
  45075. if (namespace != null)
  45076. return _this._async_environment$_getModule$1(namespace).get$variables().$index(0, $name);
  45077. if (_this._async_environment$_lastVariableName === $name) {
  45078. t1 = _this._async_environment$_lastVariableIndex;
  45079. t1.toString;
  45080. t1 = J.$index$asx(_this._async_environment$_variables[t1], $name);
  45081. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  45082. }
  45083. t1 = _this._async_environment$_variableIndices;
  45084. _0_0 = t1.$index(0, $name);
  45085. if (_0_0 != null) {
  45086. index = _0_0;
  45087. t2 = true;
  45088. } else {
  45089. index = null;
  45090. t2 = false;
  45091. }
  45092. if (t2) {
  45093. _this._async_environment$_lastVariableName = $name;
  45094. _this._async_environment$_lastVariableIndex = index;
  45095. t1 = J.$index$asx(_this._async_environment$_variables[index], $name);
  45096. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  45097. } else {
  45098. _1_0 = _this._async_environment$_variableIndex$1($name);
  45099. if (_1_0 != null) {
  45100. index = _1_0;
  45101. t2 = true;
  45102. } else {
  45103. index = null;
  45104. t2 = false;
  45105. }
  45106. if (t2) {
  45107. _this._async_environment$_lastVariableName = $name;
  45108. _this._async_environment$_lastVariableIndex = index;
  45109. t1.$indexSet(0, $name, index);
  45110. t1 = J.$index$asx(_this._async_environment$_variables[index], $name);
  45111. return t1 == null ? _this._async_environment$_getVariableFromGlobalModule$1($name) : t1;
  45112. } else
  45113. return _this._async_environment$_getVariableFromGlobalModule$1($name);
  45114. }
  45115. },
  45116. getVariable$1($name) {
  45117. return this.getVariable$2$namespace($name, null);
  45118. },
  45119. _async_environment$_getVariableFromGlobalModule$1($name) {
  45120. return this._async_environment$_fromOneModule$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure($name));
  45121. },
  45122. getVariableNode$2$namespace($name, namespace) {
  45123. var t1, _0_0, index, t2, _1_0, _this = this;
  45124. if (namespace != null)
  45125. return _this._async_environment$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  45126. if (_this._async_environment$_lastVariableName === $name) {
  45127. t1 = _this._async_environment$_lastVariableIndex;
  45128. t1.toString;
  45129. t1 = J.$index$asx(_this._async_environment$_variableNodes[t1], $name);
  45130. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  45131. }
  45132. t1 = _this._async_environment$_variableIndices;
  45133. _0_0 = t1.$index(0, $name);
  45134. if (_0_0 != null) {
  45135. index = _0_0;
  45136. t2 = true;
  45137. } else {
  45138. index = null;
  45139. t2 = false;
  45140. }
  45141. if (t2) {
  45142. _this._async_environment$_lastVariableName = $name;
  45143. _this._async_environment$_lastVariableIndex = index;
  45144. t1 = J.$index$asx(_this._async_environment$_variableNodes[index], $name);
  45145. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  45146. } else {
  45147. _1_0 = _this._async_environment$_variableIndex$1($name);
  45148. if (_1_0 != null) {
  45149. index = _1_0;
  45150. t2 = true;
  45151. } else {
  45152. index = null;
  45153. t2 = false;
  45154. }
  45155. if (t2) {
  45156. _this._async_environment$_lastVariableName = $name;
  45157. _this._async_environment$_lastVariableIndex = index;
  45158. t1.$indexSet(0, $name, index);
  45159. t1 = J.$index$asx(_this._async_environment$_variableNodes[index], $name);
  45160. return t1 == null ? _this._async_environment$_getVariableNodeFromGlobalModule$1($name) : t1;
  45161. } else
  45162. return _this._async_environment$_getVariableNodeFromGlobalModule$1($name);
  45163. }
  45164. },
  45165. _async_environment$_getVariableNodeFromGlobalModule$1($name) {
  45166. var t1, t2, _0_0, value;
  45167. 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();) {
  45168. t1 = t2._currentIterator;
  45169. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  45170. if (_0_0 != null) {
  45171. value = _0_0;
  45172. t1 = true;
  45173. } else {
  45174. value = null;
  45175. t1 = false;
  45176. }
  45177. if (t1)
  45178. return value;
  45179. }
  45180. return null;
  45181. },
  45182. globalVariableExists$2$namespace($name, namespace) {
  45183. if (namespace != null)
  45184. return this._async_environment$_getModule$1(namespace).get$variables().containsKey$1($name);
  45185. if (B.JSArray_methods.get$first(this._async_environment$_variables).containsKey$1($name))
  45186. return true;
  45187. return this._async_environment$_getVariableFromGlobalModule$1($name) != null;
  45188. },
  45189. globalVariableExists$1($name) {
  45190. return this.globalVariableExists$2$namespace($name, null);
  45191. },
  45192. _async_environment$_variableIndex$1($name) {
  45193. var t1, i;
  45194. for (t1 = this._async_environment$_variables, i = t1.length - 1; i >= 0; --i)
  45195. if (t1[i].containsKey$1($name))
  45196. return i;
  45197. return null;
  45198. },
  45199. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  45200. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  45201. if (namespace != null) {
  45202. _this._async_environment$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  45203. return;
  45204. }
  45205. if (global || _this._async_environment$_variables.length === 1) {
  45206. _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure(_this, $name));
  45207. t1 = _this._async_environment$_variables;
  45208. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  45209. moduleWithName = _this._async_environment$_fromOneModule$3($name, "variable", new A.AsyncEnvironment_setVariable_closure0($name));
  45210. if (moduleWithName != null) {
  45211. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  45212. return;
  45213. }
  45214. }
  45215. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  45216. J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment$_variableNodes), $name, nodeWithSpan);
  45217. return;
  45218. }
  45219. nestedForwardedModules = _this._async_environment$_nestedForwardedModules;
  45220. if (nestedForwardedModules != null && !_this._async_environment$_variableIndices.containsKey$1($name) && _this._async_environment$_variableIndex$1($name) == null)
  45221. 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();) {
  45222. t3 = t1.__internal$_current;
  45223. 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();) {
  45224. t5 = t3.__internal$_current;
  45225. if (t5 == null)
  45226. t5 = t4._as(t5);
  45227. if (t5.get$variables().containsKey$1($name)) {
  45228. t5.setVariable$3($name, value, nodeWithSpan);
  45229. return;
  45230. }
  45231. }
  45232. }
  45233. if (_this._async_environment$_lastVariableName === $name) {
  45234. t1 = _this._async_environment$_lastVariableIndex;
  45235. t1.toString;
  45236. index = t1;
  45237. } else
  45238. index = _this._async_environment$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure1(_this, $name));
  45239. if (!_this._async_environment$_inSemiGlobalScope && index === 0) {
  45240. index = _this._async_environment$_variables.length - 1;
  45241. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  45242. }
  45243. _this._async_environment$_lastVariableName = $name;
  45244. _this._async_environment$_lastVariableIndex = index;
  45245. J.$indexSet$ax(_this._async_environment$_variables[index], $name, value);
  45246. J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
  45247. },
  45248. setVariable$4$global($name, value, nodeWithSpan, global) {
  45249. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  45250. },
  45251. setLocalVariable$3($name, value, nodeWithSpan) {
  45252. var index, _this = this,
  45253. t1 = _this._async_environment$_variables,
  45254. t2 = t1.length;
  45255. _this._async_environment$_lastVariableName = $name;
  45256. index = _this._async_environment$_lastVariableIndex = t2 - 1;
  45257. _this._async_environment$_variableIndices.$indexSet(0, $name, index);
  45258. J.$indexSet$ax(t1[index], $name, value);
  45259. J.$indexSet$ax(_this._async_environment$_variableNodes[index], $name, nodeWithSpan);
  45260. },
  45261. getFunction$2$namespace($name, namespace) {
  45262. var t1, _0_0, index, t2, _1_0, _this = this;
  45263. if (namespace != null) {
  45264. t1 = _this._async_environment$_getModule$1(namespace);
  45265. return t1.get$functions(t1).$index(0, $name);
  45266. }
  45267. t1 = _this._async_environment$_functionIndices;
  45268. _0_0 = t1.$index(0, $name);
  45269. if (_0_0 != null) {
  45270. index = _0_0;
  45271. t2 = true;
  45272. } else {
  45273. index = null;
  45274. t2 = false;
  45275. }
  45276. if (t2) {
  45277. t1 = J.$index$asx(_this._async_environment$_functions[index], $name);
  45278. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  45279. } else {
  45280. _1_0 = _this._async_environment$_functionIndex$1($name);
  45281. if (_1_0 != null) {
  45282. index = _1_0;
  45283. t2 = true;
  45284. } else {
  45285. index = null;
  45286. t2 = false;
  45287. }
  45288. if (t2) {
  45289. t1.$indexSet(0, $name, index);
  45290. t1 = J.$index$asx(_this._async_environment$_functions[index], $name);
  45291. return t1 == null ? _this._async_environment$_getFunctionFromGlobalModule$1($name) : t1;
  45292. } else
  45293. return _this._async_environment$_getFunctionFromGlobalModule$1($name);
  45294. }
  45295. },
  45296. getFunction$1($name) {
  45297. return this.getFunction$2$namespace($name, null);
  45298. },
  45299. _async_environment$_getFunctionFromGlobalModule$1($name) {
  45300. return this._async_environment$_fromOneModule$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure($name));
  45301. },
  45302. _async_environment$_functionIndex$1($name) {
  45303. var t1, i;
  45304. for (t1 = this._async_environment$_functions, i = t1.length - 1; i >= 0; --i)
  45305. if (t1[i].containsKey$1($name))
  45306. return i;
  45307. return null;
  45308. },
  45309. getMixin$2$namespace($name, namespace) {
  45310. var t1, _0_0, index, t2, _1_0, _this = this;
  45311. if (namespace != null)
  45312. return _this._async_environment$_getModule$1(namespace).get$mixins().$index(0, $name);
  45313. t1 = _this._async_environment$_mixinIndices;
  45314. _0_0 = t1.$index(0, $name);
  45315. if (_0_0 != null) {
  45316. index = _0_0;
  45317. t2 = true;
  45318. } else {
  45319. index = null;
  45320. t2 = false;
  45321. }
  45322. if (t2) {
  45323. t1 = J.$index$asx(_this._async_environment$_mixins[index], $name);
  45324. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  45325. } else {
  45326. _1_0 = _this._async_environment$_mixinIndex$1($name);
  45327. if (_1_0 != null) {
  45328. index = _1_0;
  45329. t2 = true;
  45330. } else {
  45331. index = null;
  45332. t2 = false;
  45333. }
  45334. if (t2) {
  45335. t1.$indexSet(0, $name, index);
  45336. t1 = J.$index$asx(_this._async_environment$_mixins[index], $name);
  45337. return t1 == null ? _this._async_environment$_getMixinFromGlobalModule$1($name) : t1;
  45338. } else
  45339. return _this._async_environment$_getMixinFromGlobalModule$1($name);
  45340. }
  45341. },
  45342. _async_environment$_getMixinFromGlobalModule$1($name) {
  45343. return this._async_environment$_fromOneModule$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure($name));
  45344. },
  45345. _async_environment$_mixinIndex$1($name) {
  45346. var t1, i;
  45347. for (t1 = this._async_environment$_mixins, i = t1.length - 1; i >= 0; --i)
  45348. if (t1[i].containsKey$1($name))
  45349. return i;
  45350. return null;
  45351. },
  45352. withContent$2($content, callback) {
  45353. return this.withContent$body$AsyncEnvironment($content, callback);
  45354. },
  45355. withContent$body$AsyncEnvironment($content, callback) {
  45356. var $async$goto = 0,
  45357. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  45358. $async$self = this, oldContent;
  45359. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  45360. if ($async$errorCode === 1)
  45361. return A._asyncRethrow($async$result, $async$completer);
  45362. while (true)
  45363. switch ($async$goto) {
  45364. case 0:
  45365. // Function start
  45366. oldContent = $async$self._async_environment$_content;
  45367. $async$self._async_environment$_content = $content;
  45368. $async$goto = 2;
  45369. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  45370. case 2:
  45371. // returning from await.
  45372. $async$self._async_environment$_content = oldContent;
  45373. // implicit return
  45374. return A._asyncReturn(null, $async$completer);
  45375. }
  45376. });
  45377. return A._asyncStartSync($async$withContent$2, $async$completer);
  45378. },
  45379. asMixin$1(callback) {
  45380. var $async$goto = 0,
  45381. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  45382. $async$self = this, oldInMixin;
  45383. var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  45384. if ($async$errorCode === 1)
  45385. return A._asyncRethrow($async$result, $async$completer);
  45386. while (true)
  45387. switch ($async$goto) {
  45388. case 0:
  45389. // Function start
  45390. oldInMixin = $async$self._async_environment$_inMixin;
  45391. $async$self._async_environment$_inMixin = true;
  45392. $async$goto = 2;
  45393. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  45394. case 2:
  45395. // returning from await.
  45396. $async$self._async_environment$_inMixin = oldInMixin;
  45397. // implicit return
  45398. return A._asyncReturn(null, $async$completer);
  45399. }
  45400. });
  45401. return A._asyncStartSync($async$asMixin$1, $async$completer);
  45402. },
  45403. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  45404. return this.scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $T);
  45405. },
  45406. scope$1$1(callback, $T) {
  45407. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  45408. },
  45409. scope$1$2$when(callback, when, $T) {
  45410. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  45411. },
  45412. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  45413. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  45414. },
  45415. scope$body$AsyncEnvironment(callback, semiGlobal, when, $T, $async$type) {
  45416. var $async$goto = 0,
  45417. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  45418. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  45419. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  45420. if ($async$errorCode === 1) {
  45421. $async$currentError = $async$result;
  45422. $async$goto = $async$handler;
  45423. }
  45424. while (true)
  45425. switch ($async$goto) {
  45426. case 0:
  45427. // Function start
  45428. semiGlobal = semiGlobal && $async$self._async_environment$_inSemiGlobalScope;
  45429. wasInSemiGlobalScope = $async$self._async_environment$_inSemiGlobalScope;
  45430. $async$self._async_environment$_inSemiGlobalScope = semiGlobal;
  45431. $async$goto = !when ? 3 : 4;
  45432. break;
  45433. case 3:
  45434. // then
  45435. $async$handler = 5;
  45436. $async$goto = 8;
  45437. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  45438. case 8:
  45439. // returning from await.
  45440. t1 = $async$result;
  45441. $async$returnValue = t1;
  45442. $async$next = [1];
  45443. // goto finally
  45444. $async$goto = 6;
  45445. break;
  45446. $async$next.push(7);
  45447. // goto finally
  45448. $async$goto = 6;
  45449. break;
  45450. case 5:
  45451. // uncaught
  45452. $async$next = [2];
  45453. case 6:
  45454. // finally
  45455. $async$handler = 2;
  45456. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  45457. // goto the next finally handler
  45458. $async$goto = $async$next.pop();
  45459. break;
  45460. case 7:
  45461. // after finally
  45462. case 4:
  45463. // join
  45464. t1 = $async$self._async_environment$_variables;
  45465. t2 = type$.String;
  45466. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  45467. t3 = $async$self._async_environment$_variableNodes;
  45468. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  45469. t4 = $async$self._async_environment$_functions;
  45470. t5 = type$.AsyncCallable;
  45471. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  45472. t6 = $async$self._async_environment$_mixins;
  45473. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  45474. t5 = $async$self._async_environment$_nestedForwardedModules;
  45475. if (t5 != null)
  45476. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable));
  45477. $async$handler = 9;
  45478. $async$goto = 12;
  45479. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  45480. case 12:
  45481. // returning from await.
  45482. t2 = $async$result;
  45483. $async$returnValue = t2;
  45484. $async$next = [1];
  45485. // goto finally
  45486. $async$goto = 10;
  45487. break;
  45488. $async$next.push(11);
  45489. // goto finally
  45490. $async$goto = 10;
  45491. break;
  45492. case 9:
  45493. // uncaught
  45494. $async$next = [2];
  45495. case 10:
  45496. // finally
  45497. $async$handler = 2;
  45498. $async$self._async_environment$_inSemiGlobalScope = wasInSemiGlobalScope;
  45499. $async$self._async_environment$_lastVariableIndex = $async$self._async_environment$_lastVariableName = null;
  45500. 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();) {
  45501. $name = t1.get$current(t1);
  45502. t2.remove$1(0, $name);
  45503. }
  45504. B.JSArray_methods.removeLast$0(t3);
  45505. 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();) {
  45506. name0 = t1.get$current(t1);
  45507. t2.remove$1(0, name0);
  45508. }
  45509. 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();) {
  45510. name1 = t1.get$current(t1);
  45511. t2.remove$1(0, name1);
  45512. }
  45513. t1 = $async$self._async_environment$_nestedForwardedModules;
  45514. if (t1 != null)
  45515. t1.pop();
  45516. // goto the next finally handler
  45517. $async$goto = $async$next.pop();
  45518. break;
  45519. case 11:
  45520. // after finally
  45521. case 1:
  45522. // return
  45523. return A._asyncReturn($async$returnValue, $async$completer);
  45524. case 2:
  45525. // rethrow
  45526. return A._asyncRethrow($async$currentError, $async$completer);
  45527. }
  45528. });
  45529. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  45530. },
  45531. toImplicitConfiguration$0() {
  45532. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  45533. t1 = type$.String,
  45534. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue);
  45535. for (t2 = this._async_environment$_variables, t3 = type$.Value, t4 = this._async_environment$_variableNodes, i = 0; i < t2.length; ++i) {
  45536. values = t2[i];
  45537. nodes = t4[i];
  45538. for (t5 = A.MapExtensions_get_pairs(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  45539. t6 = t5.get$current(t5);
  45540. $name = t6._0;
  45541. value = t6._1;
  45542. t6 = nodes.$index(0, $name);
  45543. t6.toString;
  45544. configuration.$indexSet(0, $name, new A.ConfiguredValue(value, null, t6));
  45545. }
  45546. }
  45547. return new A.Configuration(configuration, null);
  45548. },
  45549. toModule$3(css, preModuleComments, extensionStore) {
  45550. return A._EnvironmentModule__EnvironmentModule0(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toModule_closure()));
  45551. },
  45552. toDummyModule$0() {
  45553. 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.Map_empty7, B.C_EmptyExtensionStore, A.NullableExtension_andThen(this._async_environment$_forwardedModules, new A.AsyncEnvironment_toDummyModule_closure()));
  45554. },
  45555. _async_environment$_getModule$1(namespace) {
  45556. var module, t1,
  45557. _0_0 = this._async_environment$_modules.$index(0, namespace);
  45558. if (_0_0 != null) {
  45559. module = _0_0;
  45560. t1 = true;
  45561. } else {
  45562. module = null;
  45563. t1 = false;
  45564. }
  45565. if (t1)
  45566. return module;
  45567. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  45568. },
  45569. _async_environment$_fromOneModule$1$3($name, type, callback) {
  45570. var nestedForwardedModules, t1, t2, t3, t4, t5, _1_0, value, _2_0, identity, valueInModule, identityFromModule, module, node, _null = null,
  45571. _0_0 = this._async_environment$_nestedForwardedModules;
  45572. if (_0_0 != null) {
  45573. nestedForwardedModules = _0_0;
  45574. t1 = true;
  45575. } else {
  45576. nestedForwardedModules = _null;
  45577. t1 = false;
  45578. }
  45579. if (t1)
  45580. 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();) {
  45581. t3 = t1.__internal$_current;
  45582. 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();) {
  45583. t5 = t3.__internal$_current;
  45584. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  45585. if (_1_0 != null) {
  45586. value = _1_0;
  45587. t5 = true;
  45588. } else {
  45589. value = _null;
  45590. t5 = false;
  45591. }
  45592. if (t5)
  45593. return value;
  45594. }
  45595. }
  45596. for (t1 = this._async_environment$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
  45597. _2_0 = callback.call$1(t1.__js_helper$_current);
  45598. if (_2_0 != null) {
  45599. value = _2_0;
  45600. t2 = true;
  45601. } else {
  45602. value = _null;
  45603. t2 = false;
  45604. }
  45605. if (t2)
  45606. return value;
  45607. }
  45608. for (t1 = this._async_environment$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.AsyncCallable, identity = _null, value = identity; t2.moveNext$0();) {
  45609. t4 = t2.__js_helper$_current;
  45610. valueInModule = callback.call$1(t4);
  45611. if (valueInModule == null)
  45612. continue;
  45613. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  45614. if (identityFromModule.$eq(0, identity))
  45615. continue;
  45616. if (value != null) {
  45617. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  45618. for (t3 = A.MapExtensions_get_pairs(t1, type$.Module_AsyncCallable, type$.AstNode), t3 = t3.get$iterator(t3), t4 = "includes " + type; t3.moveNext$0();) {
  45619. t1 = t3.get$current(t3);
  45620. module = t1._0;
  45621. node = t1._1;
  45622. if (callback.call$1(module) != null)
  45623. t2.$indexSet(0, node.get$span(node), t4);
  45624. }
  45625. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  45626. }
  45627. identity = identityFromModule;
  45628. value = valueInModule;
  45629. }
  45630. return value;
  45631. },
  45632. _async_environment$_fromOneModule$3($name, type, callback) {
  45633. return this._async_environment$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  45634. }
  45635. };
  45636. A.AsyncEnvironment__getVariableFromGlobalModule_closure.prototype = {
  45637. call$1(module) {
  45638. return module.get$variables().$index(0, this.name);
  45639. },
  45640. $signature: 470
  45641. };
  45642. A.AsyncEnvironment_setVariable_closure.prototype = {
  45643. call$0() {
  45644. var t1 = this.$this;
  45645. t1._async_environment$_lastVariableName = this.name;
  45646. return t1._async_environment$_lastVariableIndex = 0;
  45647. },
  45648. $signature: 3
  45649. };
  45650. A.AsyncEnvironment_setVariable_closure0.prototype = {
  45651. call$1(module) {
  45652. return module.get$variables().containsKey$1(this.name) ? module : null;
  45653. },
  45654. $signature: 473
  45655. };
  45656. A.AsyncEnvironment_setVariable_closure1.prototype = {
  45657. call$0() {
  45658. var t1 = this.$this,
  45659. t2 = t1._async_environment$_variableIndex$1(this.name);
  45660. return t2 == null ? t1._async_environment$_variables.length - 1 : t2;
  45661. },
  45662. $signature: 3
  45663. };
  45664. A.AsyncEnvironment__getFunctionFromGlobalModule_closure.prototype = {
  45665. call$1(module) {
  45666. return module.get$functions(module).$index(0, this.name);
  45667. },
  45668. $signature: 237
  45669. };
  45670. A.AsyncEnvironment__getMixinFromGlobalModule_closure.prototype = {
  45671. call$1(module) {
  45672. return module.get$mixins().$index(0, this.name);
  45673. },
  45674. $signature: 237
  45675. };
  45676. A.AsyncEnvironment_toModule_closure.prototype = {
  45677. call$1(modules) {
  45678. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  45679. },
  45680. $signature: 233
  45681. };
  45682. A.AsyncEnvironment_toDummyModule_closure.prototype = {
  45683. call$1(modules) {
  45684. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable);
  45685. },
  45686. $signature: 233
  45687. };
  45688. A._EnvironmentModule0.prototype = {
  45689. get$url(_) {
  45690. var t1 = this.css;
  45691. t1 = t1.get$span(t1);
  45692. return t1.get$sourceUrl(t1);
  45693. },
  45694. setVariable$3($name, value, nodeWithSpan) {
  45695. var module, t1, t2,
  45696. _0_0 = this._async_environment$_modulesByVariable.$index(0, $name);
  45697. if (_0_0 != null) {
  45698. module = _0_0;
  45699. t1 = true;
  45700. } else {
  45701. module = null;
  45702. t1 = false;
  45703. }
  45704. if (t1) {
  45705. module.setVariable$3($name, value, nodeWithSpan);
  45706. return;
  45707. }
  45708. t1 = this._async_environment$_environment;
  45709. t2 = t1._async_environment$_variables;
  45710. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  45711. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  45712. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  45713. J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment$_variableNodes), $name, nodeWithSpan);
  45714. return;
  45715. },
  45716. variableIdentity$1($name) {
  45717. var module = this._async_environment$_modulesByVariable.$index(0, $name);
  45718. return module == null ? this : module.variableIdentity$1($name);
  45719. },
  45720. cloneCss$0() {
  45721. var _0_0, _this = this;
  45722. if (!_this.transitivelyContainsCss)
  45723. return _this;
  45724. _0_0 = A.cloneCssStylesheet(_this.css, _this.extensionStore);
  45725. return A._EnvironmentModule$_0(_this._async_environment$_environment, _0_0._0, _this.preModuleComments, _0_0._1, _this._async_environment$_modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, true, _this.transitivelyContainsExtensions);
  45726. },
  45727. toString$0(_) {
  45728. var t1 = this.css,
  45729. t2 = t1.get$span(t1);
  45730. if (t2.get$sourceUrl(t2) == null)
  45731. t1 = "<unknown url>";
  45732. else {
  45733. t1 = t1.get$span(t1);
  45734. t1 = t1.get$sourceUrl(t1);
  45735. t2 = $.$get$context();
  45736. t1.toString;
  45737. t1 = t2.prettyUri$1(t1);
  45738. }
  45739. return t1;
  45740. },
  45741. $isModule0: 1,
  45742. get$upstream() {
  45743. return this.upstream;
  45744. },
  45745. get$variables() {
  45746. return this.variables;
  45747. },
  45748. get$variableNodes() {
  45749. return this.variableNodes;
  45750. },
  45751. get$functions(receiver) {
  45752. return this.functions;
  45753. },
  45754. get$mixins() {
  45755. return this.mixins;
  45756. },
  45757. get$extensionStore() {
  45758. return this.extensionStore;
  45759. },
  45760. get$css(receiver) {
  45761. return this.css;
  45762. },
  45763. get$preModuleComments() {
  45764. return this.preModuleComments;
  45765. },
  45766. get$transitivelyContainsCss() {
  45767. return this.transitivelyContainsCss;
  45768. },
  45769. get$transitivelyContainsExtensions() {
  45770. return this.transitivelyContainsExtensions;
  45771. }
  45772. };
  45773. A._EnvironmentModule__EnvironmentModule_closure5.prototype = {
  45774. call$1(module) {
  45775. return module.get$variables();
  45776. },
  45777. $signature: 484
  45778. };
  45779. A._EnvironmentModule__EnvironmentModule_closure6.prototype = {
  45780. call$1(module) {
  45781. return module.get$variableNodes();
  45782. },
  45783. $signature: 502
  45784. };
  45785. A._EnvironmentModule__EnvironmentModule_closure7.prototype = {
  45786. call$1(module) {
  45787. return module.get$functions(module);
  45788. },
  45789. $signature: 230
  45790. };
  45791. A._EnvironmentModule__EnvironmentModule_closure8.prototype = {
  45792. call$1(module) {
  45793. return module.get$mixins();
  45794. },
  45795. $signature: 230
  45796. };
  45797. A._EnvironmentModule__EnvironmentModule_closure9.prototype = {
  45798. call$1(module) {
  45799. return module.get$transitivelyContainsCss();
  45800. },
  45801. $signature: 130
  45802. };
  45803. A._EnvironmentModule__EnvironmentModule_closure10.prototype = {
  45804. call$1(module) {
  45805. return module.get$transitivelyContainsExtensions();
  45806. },
  45807. $signature: 130
  45808. };
  45809. A.AsyncImportCache.prototype = {
  45810. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  45811. return this.canonicalize$body$AsyncImportCache(0, url, baseImporter, baseUrl, forImport);
  45812. },
  45813. canonicalize$body$AsyncImportCache(_, url, baseImporter, baseUrl, forImport) {
  45814. var $async$goto = 0,
  45815. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),
  45816. $async$returnValue, $async$self = this, t1, relativeResult;
  45817. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  45818. if ($async$errorCode === 1)
  45819. return A._asyncRethrow($async$result, $async$completer);
  45820. while (true)
  45821. switch ($async$goto) {
  45822. case 0:
  45823. // Function start
  45824. if (A.isBrowser())
  45825. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter) && $async$self._async_import_cache$_importers.length === 0;
  45826. else
  45827. t1 = false;
  45828. if (t1)
  45829. throw A.wrapException(string$.Custom);
  45830. $async$goto = baseImporter != null && url.get$scheme() === "" ? 3 : 4;
  45831. break;
  45832. case 3:
  45833. // then
  45834. $async$goto = 5;
  45835. return A._asyncAwait(A.putIfAbsentAsync($async$self._async_import_cache$_relativeCanonicalizeCache, new A._Record_4_baseImporter_baseUrl_forImport([url, baseImporter, baseUrl, forImport]), new A.AsyncImportCache_canonicalize_closure($async$self, baseImporter, baseUrl, url, forImport), type$.Record_4_Uri_and_AsyncImporter_baseImporter_and_nullable_Uri_baseUrl_and_bool_forImport, type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  45836. case 5:
  45837. // returning from await.
  45838. relativeResult = $async$result;
  45839. if (relativeResult != null) {
  45840. $async$returnValue = relativeResult;
  45841. // goto return
  45842. $async$goto = 1;
  45843. break;
  45844. }
  45845. case 4:
  45846. // join
  45847. $async$goto = 6;
  45848. return A._asyncAwait(A.putIfAbsentAsync($async$self._async_import_cache$_canonicalizeCache, new A._Record_2_forImport(url, forImport), new A.AsyncImportCache_canonicalize_closure0($async$self, url, baseUrl, forImport), type$.Record_2_Uri_and_bool_forImport, type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  45849. case 6:
  45850. // returning from await.
  45851. $async$returnValue = $async$result;
  45852. // goto return
  45853. $async$goto = 1;
  45854. break;
  45855. case 1:
  45856. // return
  45857. return A._asyncReturn($async$returnValue, $async$completer);
  45858. }
  45859. });
  45860. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  45861. },
  45862. _async_import_cache$_canonicalize$4(importer, url, baseUrl, forImport) {
  45863. return this._canonicalize$body$AsyncImportCache(importer, url, baseUrl, forImport);
  45864. },
  45865. _canonicalize$body$AsyncImportCache(importer, url, baseUrl, forImport) {
  45866. var $async$goto = 0,
  45867. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),
  45868. $async$returnValue, $async$self = this, t1, passContainingUrl, result, canonicalize;
  45869. var $async$_async_import_cache$_canonicalize$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  45870. if ($async$errorCode === 1)
  45871. return A._asyncRethrow($async$result, $async$completer);
  45872. while (true)
  45873. switch ($async$goto) {
  45874. case 0:
  45875. // Function start
  45876. canonicalize = forImport ? new A.AsyncImportCache__canonicalize_closure(importer, url) : new A.AsyncImportCache__canonicalize_closure0(importer, url);
  45877. $async$goto = baseUrl != null ? 3 : 5;
  45878. break;
  45879. case 3:
  45880. // then
  45881. $async$goto = url.get$scheme() !== "" ? 6 : 8;
  45882. break;
  45883. case 6:
  45884. // then
  45885. url.get$scheme();
  45886. t1 = A._Future$value(false, type$.bool);
  45887. $async$goto = 9;
  45888. return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$4);
  45889. case 9:
  45890. // returning from await.
  45891. t1 = $async$result;
  45892. passContainingUrl = t1;
  45893. // goto join
  45894. $async$goto = 7;
  45895. break;
  45896. case 8:
  45897. // else
  45898. passContainingUrl = true;
  45899. case 7:
  45900. // join
  45901. // goto join
  45902. $async$goto = 4;
  45903. break;
  45904. case 5:
  45905. // else
  45906. passContainingUrl = false;
  45907. case 4:
  45908. // join
  45909. t1 = passContainingUrl ? baseUrl : null;
  45910. t1 = A.withContainingUrl(t1, canonicalize, type$.FutureOr_nullable_Uri);
  45911. $async$goto = 10;
  45912. return A._asyncAwait(type$.Future_nullable_Uri._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Uri), $async$_async_import_cache$_canonicalize$4);
  45913. case 10:
  45914. // returning from await.
  45915. result = $async$result;
  45916. if (result == null) {
  45917. $async$returnValue = null;
  45918. // goto return
  45919. $async$goto = 1;
  45920. break;
  45921. }
  45922. $async$goto = result.get$scheme() === "" ? 11 : 13;
  45923. break;
  45924. case 11:
  45925. // then
  45926. A.WarnForDeprecation_warnForDeprecation($async$self._async_import_cache$_logger, B.Deprecation_mFp, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2e_Rela, null, null);
  45927. // goto join
  45928. $async$goto = 12;
  45929. break;
  45930. case 13:
  45931. // else
  45932. result.get$scheme();
  45933. t1 = A._Future$value(false, type$.bool);
  45934. $async$goto = 14;
  45935. return A._asyncAwait(t1, $async$_async_import_cache$_canonicalize$4);
  45936. case 14:
  45937. // returning from await.
  45938. if ($async$result)
  45939. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  45940. case 12:
  45941. // join
  45942. $async$returnValue = new A._Record_3_originalUrl(importer, result, url);
  45943. // goto return
  45944. $async$goto = 1;
  45945. break;
  45946. case 1:
  45947. // return
  45948. return A._asyncReturn($async$returnValue, $async$completer);
  45949. }
  45950. });
  45951. return A._asyncStartSync($async$_async_import_cache$_canonicalize$4, $async$completer);
  45952. },
  45953. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  45954. return this.importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet);
  45955. },
  45956. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  45957. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  45958. },
  45959. importCanonical$body$AsyncImportCache(importer, canonicalUrl, originalUrl, quiet) {
  45960. var $async$goto = 0,
  45961. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  45962. $async$returnValue, $async$self = this;
  45963. var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  45964. if ($async$errorCode === 1)
  45965. return A._asyncRethrow($async$result, $async$completer);
  45966. while (true)
  45967. switch ($async$goto) {
  45968. case 0:
  45969. // Function start
  45970. $async$goto = 3;
  45971. 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);
  45972. case 3:
  45973. // returning from await.
  45974. $async$returnValue = $async$result;
  45975. // goto return
  45976. $async$goto = 1;
  45977. break;
  45978. case 1:
  45979. // return
  45980. return A._asyncReturn($async$returnValue, $async$completer);
  45981. }
  45982. });
  45983. return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
  45984. },
  45985. humanize$1(canonicalUrl) {
  45986. var t2,
  45987. t1 = this._async_import_cache$_canonicalizeCache;
  45988. t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl);
  45989. t2 = t1.$ti;
  45990. t2 = A.NullableExtension_andThen(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()), new A.AsyncImportCache_humanize_closure2(canonicalUrl));
  45991. return t2 == null ? canonicalUrl : t2;
  45992. },
  45993. sourceMapUrl$1(_, canonicalUrl) {
  45994. var t1 = this._async_import_cache$_resultsCache.$index(0, canonicalUrl);
  45995. t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
  45996. return t1 == null ? canonicalUrl : t1;
  45997. }
  45998. };
  45999. A.AsyncImportCache_canonicalize_closure.prototype = {
  46000. call$0() {
  46001. var _this = this,
  46002. t1 = _this.baseUrl,
  46003. t2 = t1 == null ? null : t1.resolveUri$1(_this.url);
  46004. if (t2 == null)
  46005. t2 = _this.url;
  46006. return _this.$this._async_import_cache$_canonicalize$4(_this.baseImporter, t2, t1, _this.forImport);
  46007. },
  46008. $signature: 294
  46009. };
  46010. A.AsyncImportCache_canonicalize_closure0.prototype = {
  46011. call$0() {
  46012. var $async$goto = 0,
  46013. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),
  46014. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, _i, _0_0, result, t7;
  46015. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  46016. if ($async$errorCode === 1)
  46017. return A._asyncRethrow($async$result, $async$completer);
  46018. while (true)
  46019. switch ($async$goto) {
  46020. case 0:
  46021. // Function start
  46022. t1 = $async$self.$this, t2 = t1._async_import_cache$_importers, t3 = t2.length, t4 = $async$self.url, t5 = $async$self.baseUrl, t6 = $async$self.forImport, _i = 0;
  46023. case 3:
  46024. // for condition
  46025. if (!(_i < t2.length)) {
  46026. // goto after for
  46027. $async$goto = 5;
  46028. break;
  46029. }
  46030. $async$goto = 6;
  46031. return A._asyncAwait(t1._async_import_cache$_canonicalize$4(t2[_i], t4, t5, t6), $async$call$0);
  46032. case 6:
  46033. // returning from await.
  46034. _0_0 = $async$result;
  46035. if (_0_0 != null) {
  46036. result = _0_0;
  46037. t7 = true;
  46038. } else {
  46039. result = null;
  46040. t7 = false;
  46041. }
  46042. if (t7) {
  46043. $async$returnValue = result;
  46044. // goto return
  46045. $async$goto = 1;
  46046. break;
  46047. }
  46048. case 4:
  46049. // for update
  46050. t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i;
  46051. // goto for condition
  46052. $async$goto = 3;
  46053. break;
  46054. case 5:
  46055. // after for
  46056. $async$returnValue = null;
  46057. // goto return
  46058. $async$goto = 1;
  46059. break;
  46060. case 1:
  46061. // return
  46062. return A._asyncReturn($async$returnValue, $async$completer);
  46063. }
  46064. });
  46065. return A._asyncStartSync($async$call$0, $async$completer);
  46066. },
  46067. $signature: 294
  46068. };
  46069. A.AsyncImportCache__canonicalize_closure.prototype = {
  46070. call$0() {
  46071. var t1 = type$.nullable_Object;
  46072. return A.runZoned(new A.AsyncImportCache__canonicalize__closure(this.importer, this.resolved), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.FutureOr_nullable_Uri);
  46073. },
  46074. $signature: 56
  46075. };
  46076. A.AsyncImportCache__canonicalize__closure.prototype = {
  46077. call$0() {
  46078. return this.importer.canonicalize$1(0, this.resolved);
  46079. },
  46080. $signature: 56
  46081. };
  46082. A.AsyncImportCache__canonicalize_closure0.prototype = {
  46083. call$0() {
  46084. return this.importer.canonicalize$1(0, this.resolved);
  46085. },
  46086. $signature: 56
  46087. };
  46088. A.AsyncImportCache_importCanonical_closure.prototype = {
  46089. call$0() {
  46090. var $async$goto = 0,
  46091. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet),
  46092. $async$returnValue, $async$self = this, t3, t4, t1, t2, result;
  46093. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  46094. if ($async$errorCode === 1)
  46095. return A._asyncRethrow($async$result, $async$completer);
  46096. while (true)
  46097. switch ($async$goto) {
  46098. case 0:
  46099. // Function start
  46100. t1 = $async$self.canonicalUrl;
  46101. t2 = A._Future$value($async$self.importer.load$1(0, t1), type$.nullable_ImporterResult);
  46102. $async$goto = 3;
  46103. return A._asyncAwait(t2, $async$call$0);
  46104. case 3:
  46105. // returning from await.
  46106. result = $async$result;
  46107. if (result == null) {
  46108. $async$returnValue = null;
  46109. // goto return
  46110. $async$goto = 1;
  46111. break;
  46112. }
  46113. t2 = $async$self.$this;
  46114. t2._async_import_cache$_resultsCache.$indexSet(0, t1, result);
  46115. t3 = result.contents;
  46116. t4 = result.syntax;
  46117. t1 = $async$self.originalUrl.resolveUri$1(t1);
  46118. $async$returnValue = A.Stylesheet_Stylesheet$parse(t3, t4, $async$self.quiet ? $.$get$Logger_quiet() : t2._async_import_cache$_logger, t1);
  46119. // goto return
  46120. $async$goto = 1;
  46121. break;
  46122. case 1:
  46123. // return
  46124. return A._asyncReturn($async$returnValue, $async$completer);
  46125. }
  46126. });
  46127. return A._asyncStartSync($async$call$0, $async$completer);
  46128. },
  46129. $signature: 538
  46130. };
  46131. A.AsyncImportCache_humanize_closure.prototype = {
  46132. call$1(result) {
  46133. return J.$eq$(result._1, this.canonicalUrl);
  46134. },
  46135. $signature: 547
  46136. };
  46137. A.AsyncImportCache_humanize_closure0.prototype = {
  46138. call$1(result) {
  46139. return result._2;
  46140. },
  46141. $signature: 562
  46142. };
  46143. A.AsyncImportCache_humanize_closure1.prototype = {
  46144. call$1(url) {
  46145. return url.get$path(url).length;
  46146. },
  46147. $signature: 85
  46148. };
  46149. A.AsyncImportCache_humanize_closure2.prototype = {
  46150. call$1(url) {
  46151. var t1 = $.$get$url(),
  46152. t2 = this.canonicalUrl;
  46153. return url.resolve$1(A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  46154. },
  46155. $signature: 49
  46156. };
  46157. A.AsyncBuiltInCallable.prototype = {
  46158. callbackFor$2(positional, names) {
  46159. return new A._Record_2(this._async_built_in$_arguments, this._async_built_in$_callback);
  46160. },
  46161. $isAsyncCallable: 1,
  46162. get$name(receiver) {
  46163. return this.name;
  46164. },
  46165. get$acceptsContent() {
  46166. return this.acceptsContent;
  46167. }
  46168. };
  46169. A.AsyncBuiltInCallable$mixin_closure.prototype = {
  46170. call$1($arguments) {
  46171. return this.$call$body$AsyncBuiltInCallable$mixin_closure($arguments);
  46172. },
  46173. $call$body$AsyncBuiltInCallable$mixin_closure($arguments) {
  46174. var $async$goto = 0,
  46175. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  46176. $async$returnValue, $async$self = this, t1;
  46177. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  46178. if ($async$errorCode === 1)
  46179. return A._asyncRethrow($async$result, $async$completer);
  46180. while (true)
  46181. switch ($async$goto) {
  46182. case 0:
  46183. // Function start
  46184. t1 = $async$self.callback.call$1($arguments);
  46185. $async$goto = 3;
  46186. return A._asyncAwait(t1 instanceof A._Future ? t1 : A._Future$value(t1, type$.void), $async$call$1);
  46187. case 3:
  46188. // returning from await.
  46189. $async$returnValue = B.C__SassNull;
  46190. // goto return
  46191. $async$goto = 1;
  46192. break;
  46193. case 1:
  46194. // return
  46195. return A._asyncReturn($async$returnValue, $async$completer);
  46196. }
  46197. });
  46198. return A._asyncStartSync($async$call$1, $async$completer);
  46199. },
  46200. $signature: 229
  46201. };
  46202. A.BuiltInCallable.prototype = {
  46203. callbackFor$2(positional, names) {
  46204. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  46205. for (t1 = this._overloads, t2 = t1.length, fuzzyMatch = null, minMismatchDistance = null, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  46206. overload = t1[_i];
  46207. t3 = overload._0;
  46208. if (t3.matches$2(positional, names))
  46209. return overload;
  46210. mismatchDistance = t3.$arguments.length - positional;
  46211. if (minMismatchDistance != null) {
  46212. t3 = Math.abs(mismatchDistance);
  46213. t4 = Math.abs(minMismatchDistance);
  46214. if (t3 > t4)
  46215. continue;
  46216. if (t3 === t4 && mismatchDistance < 0)
  46217. continue;
  46218. }
  46219. minMismatchDistance = mismatchDistance;
  46220. fuzzyMatch = overload;
  46221. }
  46222. if (fuzzyMatch != null)
  46223. return fuzzyMatch;
  46224. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  46225. },
  46226. withName$1($name) {
  46227. return new A.BuiltInCallable($name, this._overloads, this.acceptsContent);
  46228. },
  46229. $isCallable0: 1,
  46230. $isAsyncCallable: 1,
  46231. $isAsyncBuiltInCallable: 1,
  46232. get$name(receiver) {
  46233. return this.name;
  46234. },
  46235. get$acceptsContent() {
  46236. return this.acceptsContent;
  46237. }
  46238. };
  46239. A.BuiltInCallable$mixin_closure.prototype = {
  46240. call$1($arguments) {
  46241. this.callback.call$1($arguments);
  46242. return B.C__SassNull;
  46243. },
  46244. $signature: 6
  46245. };
  46246. A.PlainCssCallable.prototype = {
  46247. $eq(_, other) {
  46248. if (other == null)
  46249. return false;
  46250. return other instanceof A.PlainCssCallable && this.name === other.name;
  46251. },
  46252. get$hashCode(_) {
  46253. return B.JSString_methods.get$hashCode(this.name);
  46254. },
  46255. $isCallable0: 1,
  46256. $isAsyncCallable: 1,
  46257. get$name(receiver) {
  46258. return this.name;
  46259. }
  46260. };
  46261. A.UserDefinedCallable.prototype = {
  46262. get$name(_) {
  46263. return this.declaration.name;
  46264. },
  46265. $isCallable0: 1,
  46266. $isAsyncCallable: 1
  46267. };
  46268. A._compileStylesheet_closure.prototype = {
  46269. call$1(url) {
  46270. var t1;
  46271. if (url === "") {
  46272. t1 = this.stylesheet.span;
  46273. 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();
  46274. } else
  46275. t1 = this.importCache.sourceMapUrl$1(0, A.Uri_parse(url)).toString$0(0);
  46276. return t1;
  46277. },
  46278. $signature: 7
  46279. };
  46280. A.CompileResult.prototype = {};
  46281. A.Configuration.prototype = {
  46282. throughForward$1($forward) {
  46283. var _0_0, prefix, t1, _1_0, shownVariables, _2_0, hiddenVariables,
  46284. newValues = this._configuration$_values;
  46285. if (newValues.get$isEmpty(newValues))
  46286. return B.Configuration_Map_empty_null;
  46287. _0_0 = $forward.prefix;
  46288. if (_0_0 != null) {
  46289. prefix = _0_0;
  46290. t1 = true;
  46291. } else {
  46292. prefix = null;
  46293. t1 = false;
  46294. }
  46295. if (t1)
  46296. newValues = new A.UnprefixedMapView(newValues, prefix, type$.UnprefixedMapView_ConfiguredValue);
  46297. _1_0 = $forward.shownVariables;
  46298. if (_1_0 != null) {
  46299. shownVariables = _1_0;
  46300. t1 = true;
  46301. } else {
  46302. shownVariables = null;
  46303. t1 = false;
  46304. }
  46305. if (t1)
  46306. newValues = new A.LimitedMapView(newValues, shownVariables._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue);
  46307. else {
  46308. _2_0 = $forward.hiddenVariables;
  46309. if (_2_0 != null) {
  46310. hiddenVariables = _2_0;
  46311. t1 = true;
  46312. } else {
  46313. hiddenVariables = null;
  46314. t1 = false;
  46315. }
  46316. if (t1) {
  46317. t1 = hiddenVariables._base;
  46318. t1 = t1.get$isNotEmpty(t1);
  46319. } else
  46320. t1 = false;
  46321. if (t1)
  46322. newValues = A.LimitedMapView$blocklist(newValues, hiddenVariables, type$.String, type$.ConfiguredValue);
  46323. }
  46324. return this._withValues$1(newValues);
  46325. },
  46326. _withValues$1(values) {
  46327. var t1 = this.__originalConfiguration;
  46328. return new A.Configuration(values, t1 == null ? this : t1);
  46329. },
  46330. toString$0(_) {
  46331. var t2, t3,
  46332. t1 = A._setArrayType([], type$.JSArray_String);
  46333. for (t2 = A.MapExtensions_get_pairs(new A.UnmodifiableMapView(this._configuration$_values, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  46334. t3 = t2.get$current(t2);
  46335. t1.push("$" + t3._0 + ": " + t3._1.toString$0(0));
  46336. }
  46337. return "(" + B.JSArray_methods.join$1(t1, ",") + ")";
  46338. }
  46339. };
  46340. A.ExplicitConfiguration.prototype = {
  46341. _withValues$1(values) {
  46342. var t1 = this.__originalConfiguration;
  46343. if (t1 == null)
  46344. t1 = this;
  46345. return new A.ExplicitConfiguration(this.nodeWithSpan, values, t1);
  46346. }
  46347. };
  46348. A.ConfiguredValue.prototype = {
  46349. toString$0(_) {
  46350. return A.serializeValue(this.value, true, true);
  46351. }
  46352. };
  46353. A.Deprecation.prototype = {
  46354. _enumToString$0() {
  46355. return "Deprecation." + this._name;
  46356. },
  46357. toString$0(_) {
  46358. return this.id;
  46359. }
  46360. };
  46361. A.Deprecation_fromId_closure.prototype = {
  46362. call$1(deprecation) {
  46363. return deprecation.id === this.id;
  46364. },
  46365. $signature: 313
  46366. };
  46367. A.Environment.prototype = {
  46368. closure$0() {
  46369. var t4, t5, t6, _this = this,
  46370. t1 = _this._forwardedModules,
  46371. t2 = _this._nestedForwardedModules,
  46372. t3 = _this._variables;
  46373. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  46374. t4 = _this._variableNodes;
  46375. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  46376. t5 = _this._functions;
  46377. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  46378. t6 = _this._mixins;
  46379. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  46380. return A.Environment$_(_this._environment$_modules, _this._namespaceNodes, _this._globalModules, _this._importedModules, t1, t2, _this._allModules, t3, t4, t5, t6, _this._content);
  46381. },
  46382. forwardModule$2(module, rule) {
  46383. var view, t1, t2, _this = this,
  46384. forwardedModules = _this._forwardedModules;
  46385. if (forwardedModules == null)
  46386. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  46387. view = A.ForwardedModuleView_ifNecessary(module, rule, type$.Callable);
  46388. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
  46389. t2 = t1.__js_helper$_current;
  46390. _this._assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  46391. _this._assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  46392. _this._assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  46393. }
  46394. _this._allModules.push(module);
  46395. forwardedModules.$indexSet(0, view, rule);
  46396. },
  46397. _assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  46398. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  46399. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  46400. larger = oldMembers;
  46401. smaller = newMembers;
  46402. } else {
  46403. larger = newMembers;
  46404. smaller = oldMembers;
  46405. }
  46406. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  46407. t4 = t2.get$current(t2);
  46408. $name = t4._0;
  46409. small = t4._1;
  46410. large = larger.$index(0, $name);
  46411. if (large == null)
  46412. continue;
  46413. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  46414. continue;
  46415. if (t3)
  46416. $name = "$" + $name;
  46417. t2 = this._forwardedModules;
  46418. if (t2 == null)
  46419. span = null;
  46420. else {
  46421. t2 = t2.$index(0, oldModule);
  46422. span = t2 == null ? null : J.get$span$z(t2);
  46423. }
  46424. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  46425. if (span != null)
  46426. t2.$indexSet(0, span, "original @forward");
  46427. throw A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  46428. }
  46429. },
  46430. importForwards$1(module) {
  46431. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, _length, _list, _this = this,
  46432. forwarded = module._environment$_environment._forwardedModules;
  46433. if (forwarded == null)
  46434. return;
  46435. forwardedModules = _this._forwardedModules;
  46436. if (forwardedModules != null) {
  46437. t1 = type$.Module_Callable;
  46438. t2 = type$.AstNode;
  46439. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  46440. for (t1 = A.MapExtensions_get_pairs(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._globalModules; t1.moveNext$0();) {
  46441. t4 = t1.get$current(t1);
  46442. module = t4._0;
  46443. node = t4._1;
  46444. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  46445. t3.$indexSet(0, module, node);
  46446. }
  46447. forwarded = t3;
  46448. } else
  46449. forwardedModules = _this._forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.AstNode);
  46450. t1 = type$.String;
  46451. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  46452. for (t3 = A.LinkedHashMapKeyIterator$(forwarded, forwarded._modifications); t3.moveNext$0();)
  46453. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  46454. t2.add$1(0, t4.get$current(t4));
  46455. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  46456. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded._modifications); t4.moveNext$0();) {
  46457. t5 = t4.__js_helper$_current;
  46458. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  46459. t3.add$1(0, t5.get$current(t5));
  46460. }
  46461. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  46462. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded._modifications); t4.moveNext$0();)
  46463. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  46464. t1.add$1(0, t5.get$current(t5));
  46465. t4 = _this._variables;
  46466. t5 = t4.length;
  46467. if (t5 === 1) {
  46468. for (t5 = _this._importedModules, t6 = type$.Module_Callable, t7 = type$.AstNode, t8 = A.MapExtensions_get_pairs(t5, t6, t7).toList$0(0), t9 = t8.length, t10 = type$.Callable, _i = 0; _i < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i) {
  46469. t11 = t8[_i];
  46470. module = t11._0;
  46471. node = t11._1;
  46472. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  46473. if (shadowed != null) {
  46474. t5.remove$1(0, module);
  46475. t11 = shadowed.variables;
  46476. if (t11.get$isEmpty(t11)) {
  46477. t11 = shadowed.functions;
  46478. if (t11.get$isEmpty(t11)) {
  46479. t11 = shadowed.mixins;
  46480. if (t11.get$isEmpty(t11)) {
  46481. t11 = shadowed._shadowed_view$_inner;
  46482. t11 = t11.get$css(t11);
  46483. t11 = J.get$isEmpty$asx(t11.get$children(t11));
  46484. } else
  46485. t11 = false;
  46486. } else
  46487. t11 = false;
  46488. } else
  46489. t11 = false;
  46490. if (!t11)
  46491. t5.$indexSet(0, shadowed, node);
  46492. }
  46493. }
  46494. for (t6 = A.MapExtensions_get_pairs(forwardedModules, t6, t7).toList$0(0), t7 = t6.length, _i = 0; _i < t6.length; t6.length === t7 || (0, A.throwConcurrentModificationError)(t6), ++_i) {
  46495. t8 = t6[_i];
  46496. module = t8._0;
  46497. node = t8._1;
  46498. shadowed = A.ShadowedModuleView_ifNecessary(module, t3, t1, t2, t10);
  46499. if (shadowed != null) {
  46500. forwardedModules.remove$1(0, module);
  46501. t8 = shadowed.variables;
  46502. if (t8.get$isEmpty(t8)) {
  46503. t8 = shadowed.functions;
  46504. if (t8.get$isEmpty(t8)) {
  46505. t8 = shadowed.mixins;
  46506. if (t8.get$isEmpty(t8)) {
  46507. t8 = shadowed._shadowed_view$_inner;
  46508. t8 = t8.get$css(t8);
  46509. t8 = J.get$isEmpty$asx(t8.get$children(t8));
  46510. } else
  46511. t8 = false;
  46512. } else
  46513. t8 = false;
  46514. } else
  46515. t8 = false;
  46516. if (!t8)
  46517. forwardedModules.$indexSet(0, shadowed, node);
  46518. }
  46519. }
  46520. t5.addAll$1(0, forwarded);
  46521. forwardedModules.addAll$1(0, forwarded);
  46522. } else {
  46523. t6 = _this._nestedForwardedModules;
  46524. if (t6 == null) {
  46525. _length = t5 - 1;
  46526. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable);
  46527. for (t5 = type$.JSArray_Module_Callable, _i = 0; _i < _length; ++_i)
  46528. _list[_i] = A._setArrayType([], t5);
  46529. _this._nestedForwardedModules = _list;
  46530. t5 = _list;
  46531. } else
  46532. t5 = t6;
  46533. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeyIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>")));
  46534. }
  46535. for (t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications), t5 = _this._variableIndices, t6 = _this._variableNodes, t7 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  46536. t8 = t2._collection$_current;
  46537. if (t8 == null)
  46538. t8 = t7._as(t8);
  46539. t5.remove$1(0, t8);
  46540. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  46541. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  46542. }
  46543. for (t2 = A._LinkedHashSetIterator$(t3, t3._collection$_modifications), t3 = _this._functionIndices, t4 = _this._functions, t5 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  46544. t6 = t2._collection$_current;
  46545. if (t6 == null)
  46546. t6 = t5._as(t6);
  46547. t3.remove$1(0, t6);
  46548. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  46549. }
  46550. for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications), t2 = _this._mixinIndices, t3 = _this._mixins, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  46551. t5 = t1._collection$_current;
  46552. if (t5 == null)
  46553. t5 = t4._as(t5);
  46554. t2.remove$1(0, t5);
  46555. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  46556. }
  46557. },
  46558. getVariable$2$namespace($name, namespace) {
  46559. var t1, _0_0, index, t2, _1_0, _this = this;
  46560. if (namespace != null)
  46561. return _this._getModule$1(namespace).get$variables().$index(0, $name);
  46562. if (_this._lastVariableName === $name) {
  46563. t1 = _this._lastVariableIndex;
  46564. t1.toString;
  46565. t1 = J.$index$asx(_this._variables[t1], $name);
  46566. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  46567. }
  46568. t1 = _this._variableIndices;
  46569. _0_0 = t1.$index(0, $name);
  46570. if (_0_0 != null) {
  46571. index = _0_0;
  46572. t2 = true;
  46573. } else {
  46574. index = null;
  46575. t2 = false;
  46576. }
  46577. if (t2) {
  46578. _this._lastVariableName = $name;
  46579. _this._lastVariableIndex = index;
  46580. t1 = J.$index$asx(_this._variables[index], $name);
  46581. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  46582. } else {
  46583. _1_0 = _this._variableIndex$1($name);
  46584. if (_1_0 != null) {
  46585. index = _1_0;
  46586. t2 = true;
  46587. } else {
  46588. index = null;
  46589. t2 = false;
  46590. }
  46591. if (t2) {
  46592. _this._lastVariableName = $name;
  46593. _this._lastVariableIndex = index;
  46594. t1.$indexSet(0, $name, index);
  46595. t1 = J.$index$asx(_this._variables[index], $name);
  46596. return t1 == null ? _this._getVariableFromGlobalModule$1($name) : t1;
  46597. } else
  46598. return _this._getVariableFromGlobalModule$1($name);
  46599. }
  46600. },
  46601. getVariable$1($name) {
  46602. return this.getVariable$2$namespace($name, null);
  46603. },
  46604. _getVariableFromGlobalModule$1($name) {
  46605. return this._fromOneModule$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure($name));
  46606. },
  46607. getVariableNode$2$namespace($name, namespace) {
  46608. var t1, _0_0, index, t2, _1_0, _this = this;
  46609. if (namespace != null)
  46610. return _this._getModule$1(namespace).get$variableNodes().$index(0, $name);
  46611. if (_this._lastVariableName === $name) {
  46612. t1 = _this._lastVariableIndex;
  46613. t1.toString;
  46614. t1 = J.$index$asx(_this._variableNodes[t1], $name);
  46615. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  46616. }
  46617. t1 = _this._variableIndices;
  46618. _0_0 = t1.$index(0, $name);
  46619. if (_0_0 != null) {
  46620. index = _0_0;
  46621. t2 = true;
  46622. } else {
  46623. index = null;
  46624. t2 = false;
  46625. }
  46626. if (t2) {
  46627. _this._lastVariableName = $name;
  46628. _this._lastVariableIndex = index;
  46629. t1 = J.$index$asx(_this._variableNodes[index], $name);
  46630. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  46631. } else {
  46632. _1_0 = _this._variableIndex$1($name);
  46633. if (_1_0 != null) {
  46634. index = _1_0;
  46635. t2 = true;
  46636. } else {
  46637. index = null;
  46638. t2 = false;
  46639. }
  46640. if (t2) {
  46641. _this._lastVariableName = $name;
  46642. _this._lastVariableIndex = index;
  46643. t1.$indexSet(0, $name, index);
  46644. t1 = J.$index$asx(_this._variableNodes[index], $name);
  46645. return t1 == null ? _this._getVariableNodeFromGlobalModule$1($name) : t1;
  46646. } else
  46647. return _this._getVariableNodeFromGlobalModule$1($name);
  46648. }
  46649. },
  46650. _getVariableNodeFromGlobalModule$1($name) {
  46651. var t1, t2, _0_0, value;
  46652. 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();) {
  46653. t1 = t2._currentIterator;
  46654. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  46655. if (_0_0 != null) {
  46656. value = _0_0;
  46657. t1 = true;
  46658. } else {
  46659. value = null;
  46660. t1 = false;
  46661. }
  46662. if (t1)
  46663. return value;
  46664. }
  46665. return null;
  46666. },
  46667. globalVariableExists$2$namespace($name, namespace) {
  46668. if (namespace != null)
  46669. return this._getModule$1(namespace).get$variables().containsKey$1($name);
  46670. if (B.JSArray_methods.get$first(this._variables).containsKey$1($name))
  46671. return true;
  46672. return this._getVariableFromGlobalModule$1($name) != null;
  46673. },
  46674. globalVariableExists$1($name) {
  46675. return this.globalVariableExists$2$namespace($name, null);
  46676. },
  46677. _variableIndex$1($name) {
  46678. var t1, i;
  46679. for (t1 = this._variables, i = t1.length - 1; i >= 0; --i)
  46680. if (t1[i].containsKey$1($name))
  46681. return i;
  46682. return null;
  46683. },
  46684. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  46685. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  46686. if (namespace != null) {
  46687. _this._getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  46688. return;
  46689. }
  46690. if (global || _this._variables.length === 1) {
  46691. _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure(_this, $name));
  46692. t1 = _this._variables;
  46693. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  46694. moduleWithName = _this._fromOneModule$3($name, "variable", new A.Environment_setVariable_closure0($name));
  46695. if (moduleWithName != null) {
  46696. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  46697. return;
  46698. }
  46699. }
  46700. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  46701. J.$indexSet$ax(B.JSArray_methods.get$first(_this._variableNodes), $name, nodeWithSpan);
  46702. return;
  46703. }
  46704. nestedForwardedModules = _this._nestedForwardedModules;
  46705. if (nestedForwardedModules != null && !_this._variableIndices.containsKey$1($name) && _this._variableIndex$1($name) == null)
  46706. 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();) {
  46707. t3 = t1.__internal$_current;
  46708. 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();) {
  46709. t5 = t3.__internal$_current;
  46710. if (t5 == null)
  46711. t5 = t4._as(t5);
  46712. if (t5.get$variables().containsKey$1($name)) {
  46713. t5.setVariable$3($name, value, nodeWithSpan);
  46714. return;
  46715. }
  46716. }
  46717. }
  46718. if (_this._lastVariableName === $name) {
  46719. t1 = _this._lastVariableIndex;
  46720. t1.toString;
  46721. index = t1;
  46722. } else
  46723. index = _this._variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure1(_this, $name));
  46724. if (!_this._inSemiGlobalScope && index === 0) {
  46725. index = _this._variables.length - 1;
  46726. _this._variableIndices.$indexSet(0, $name, index);
  46727. }
  46728. _this._lastVariableName = $name;
  46729. _this._lastVariableIndex = index;
  46730. J.$indexSet$ax(_this._variables[index], $name, value);
  46731. J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
  46732. },
  46733. setVariable$4$global($name, value, nodeWithSpan, global) {
  46734. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  46735. },
  46736. setLocalVariable$3($name, value, nodeWithSpan) {
  46737. var index, _this = this,
  46738. t1 = _this._variables,
  46739. t2 = t1.length;
  46740. _this._lastVariableName = $name;
  46741. index = _this._lastVariableIndex = t2 - 1;
  46742. _this._variableIndices.$indexSet(0, $name, index);
  46743. J.$indexSet$ax(t1[index], $name, value);
  46744. J.$indexSet$ax(_this._variableNodes[index], $name, nodeWithSpan);
  46745. },
  46746. getFunction$2$namespace($name, namespace) {
  46747. var t1, _0_0, index, t2, _1_0, _this = this;
  46748. if (namespace != null) {
  46749. t1 = _this._getModule$1(namespace);
  46750. return t1.get$functions(t1).$index(0, $name);
  46751. }
  46752. t1 = _this._functionIndices;
  46753. _0_0 = t1.$index(0, $name);
  46754. if (_0_0 != null) {
  46755. index = _0_0;
  46756. t2 = true;
  46757. } else {
  46758. index = null;
  46759. t2 = false;
  46760. }
  46761. if (t2) {
  46762. t1 = J.$index$asx(_this._functions[index], $name);
  46763. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  46764. } else {
  46765. _1_0 = _this._functionIndex$1($name);
  46766. if (_1_0 != null) {
  46767. index = _1_0;
  46768. t2 = true;
  46769. } else {
  46770. index = null;
  46771. t2 = false;
  46772. }
  46773. if (t2) {
  46774. t1.$indexSet(0, $name, index);
  46775. t1 = J.$index$asx(_this._functions[index], $name);
  46776. return t1 == null ? _this._getFunctionFromGlobalModule$1($name) : t1;
  46777. } else
  46778. return _this._getFunctionFromGlobalModule$1($name);
  46779. }
  46780. },
  46781. getFunction$1($name) {
  46782. return this.getFunction$2$namespace($name, null);
  46783. },
  46784. _getFunctionFromGlobalModule$1($name) {
  46785. return this._fromOneModule$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure($name));
  46786. },
  46787. _functionIndex$1($name) {
  46788. var t1, i;
  46789. for (t1 = this._functions, i = t1.length - 1; i >= 0; --i)
  46790. if (t1[i].containsKey$1($name))
  46791. return i;
  46792. return null;
  46793. },
  46794. getMixin$2$namespace($name, namespace) {
  46795. var t1, _0_0, index, t2, _1_0, _this = this;
  46796. if (namespace != null)
  46797. return _this._getModule$1(namespace).get$mixins().$index(0, $name);
  46798. t1 = _this._mixinIndices;
  46799. _0_0 = t1.$index(0, $name);
  46800. if (_0_0 != null) {
  46801. index = _0_0;
  46802. t2 = true;
  46803. } else {
  46804. index = null;
  46805. t2 = false;
  46806. }
  46807. if (t2) {
  46808. t1 = J.$index$asx(_this._mixins[index], $name);
  46809. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  46810. } else {
  46811. _1_0 = _this._mixinIndex$1($name);
  46812. if (_1_0 != null) {
  46813. index = _1_0;
  46814. t2 = true;
  46815. } else {
  46816. index = null;
  46817. t2 = false;
  46818. }
  46819. if (t2) {
  46820. t1.$indexSet(0, $name, index);
  46821. t1 = J.$index$asx(_this._mixins[index], $name);
  46822. return t1 == null ? _this._getMixinFromGlobalModule$1($name) : t1;
  46823. } else
  46824. return _this._getMixinFromGlobalModule$1($name);
  46825. }
  46826. },
  46827. _getMixinFromGlobalModule$1($name) {
  46828. return this._fromOneModule$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure($name));
  46829. },
  46830. _mixinIndex$1($name) {
  46831. var t1, i;
  46832. for (t1 = this._mixins, i = t1.length - 1; i >= 0; --i)
  46833. if (t1[i].containsKey$1($name))
  46834. return i;
  46835. return null;
  46836. },
  46837. withContent$2($content, callback) {
  46838. var oldContent = this._content;
  46839. this._content = $content;
  46840. callback.call$0();
  46841. this._content = oldContent;
  46842. },
  46843. asMixin$1(callback) {
  46844. var oldInMixin = this._inMixin;
  46845. this._inMixin = true;
  46846. callback.call$0();
  46847. this._inMixin = oldInMixin;
  46848. },
  46849. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  46850. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  46851. semiGlobal = semiGlobal && _this._inSemiGlobalScope;
  46852. wasInSemiGlobalScope = _this._inSemiGlobalScope;
  46853. _this._inSemiGlobalScope = semiGlobal;
  46854. if (!when)
  46855. try {
  46856. t1 = callback.call$0();
  46857. return t1;
  46858. } finally {
  46859. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  46860. }
  46861. t1 = _this._variables;
  46862. t2 = type$.String;
  46863. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value));
  46864. t3 = _this._variableNodes;
  46865. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode));
  46866. t4 = _this._functions;
  46867. t5 = type$.Callable;
  46868. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  46869. t6 = _this._mixins;
  46870. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  46871. t5 = _this._nestedForwardedModules;
  46872. if (t5 != null)
  46873. t5.push(A._setArrayType([], type$.JSArray_Module_Callable));
  46874. try {
  46875. t2 = callback.call$0();
  46876. return t2;
  46877. } finally {
  46878. _this._inSemiGlobalScope = wasInSemiGlobalScope;
  46879. _this._lastVariableIndex = _this._lastVariableName = null;
  46880. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._variableIndices; t1.moveNext$0();) {
  46881. $name = t1.get$current(t1);
  46882. t2.remove$1(0, $name);
  46883. }
  46884. B.JSArray_methods.removeLast$0(t3);
  46885. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._functionIndices; t1.moveNext$0();) {
  46886. name0 = t1.get$current(t1);
  46887. t2.remove$1(0, name0);
  46888. }
  46889. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._mixinIndices; t1.moveNext$0();) {
  46890. name1 = t1.get$current(t1);
  46891. t2.remove$1(0, name1);
  46892. }
  46893. t1 = _this._nestedForwardedModules;
  46894. if (t1 != null)
  46895. t1.pop();
  46896. }
  46897. },
  46898. scope$1$1(callback, $T) {
  46899. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  46900. },
  46901. scope$1$2$when(callback, when, $T) {
  46902. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  46903. },
  46904. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  46905. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  46906. },
  46907. toImplicitConfiguration$0() {
  46908. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  46909. t1 = type$.String,
  46910. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue);
  46911. for (t2 = this._variables, t3 = type$.Value, t4 = this._variableNodes, i = 0; i < t2.length; ++i) {
  46912. values = t2[i];
  46913. nodes = t4[i];
  46914. for (t5 = A.MapExtensions_get_pairs(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  46915. t6 = t5.get$current(t5);
  46916. $name = t6._0;
  46917. value = t6._1;
  46918. t6 = nodes.$index(0, $name);
  46919. t6.toString;
  46920. configuration.$indexSet(0, $name, new A.ConfiguredValue(value, null, t6));
  46921. }
  46922. }
  46923. return new A.Configuration(configuration, null);
  46924. },
  46925. toModule$3(css, preModuleComments, extensionStore) {
  46926. return A._EnvironmentModule__EnvironmentModule(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toModule_closure()));
  46927. },
  46928. toDummyModule$0() {
  46929. 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.Map_empty0, B.C_EmptyExtensionStore, A.NullableExtension_andThen(this._forwardedModules, new A.Environment_toDummyModule_closure()));
  46930. },
  46931. _getModule$1(namespace) {
  46932. var module, t1,
  46933. _0_0 = this._environment$_modules.$index(0, namespace);
  46934. if (_0_0 != null) {
  46935. module = _0_0;
  46936. t1 = true;
  46937. } else {
  46938. module = null;
  46939. t1 = false;
  46940. }
  46941. if (t1)
  46942. return module;
  46943. throw A.wrapException(A.SassScriptException$('There is no module with the namespace "' + namespace + '".', null));
  46944. },
  46945. _fromOneModule$1$3($name, type, callback) {
  46946. var nestedForwardedModules, t1, t2, t3, t4, t5, _1_0, value, _2_0, identity, valueInModule, identityFromModule, module, node, _null = null,
  46947. _0_0 = this._nestedForwardedModules;
  46948. if (_0_0 != null) {
  46949. nestedForwardedModules = _0_0;
  46950. t1 = true;
  46951. } else {
  46952. nestedForwardedModules = _null;
  46953. t1 = false;
  46954. }
  46955. if (t1)
  46956. 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();) {
  46957. t3 = t1.__internal$_current;
  46958. 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();) {
  46959. t5 = t3.__internal$_current;
  46960. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  46961. if (_1_0 != null) {
  46962. value = _1_0;
  46963. t5 = true;
  46964. } else {
  46965. value = _null;
  46966. t5 = false;
  46967. }
  46968. if (t5)
  46969. return value;
  46970. }
  46971. }
  46972. for (t1 = this._importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
  46973. _2_0 = callback.call$1(t1.__js_helper$_current);
  46974. if (_2_0 != null) {
  46975. value = _2_0;
  46976. t2 = true;
  46977. } else {
  46978. value = _null;
  46979. t2 = false;
  46980. }
  46981. if (t2)
  46982. return value;
  46983. }
  46984. for (t1 = this._globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.Callable, identity = _null, value = identity; t2.moveNext$0();) {
  46985. t4 = t2.__js_helper$_current;
  46986. valueInModule = callback.call$1(t4);
  46987. if (valueInModule == null)
  46988. continue;
  46989. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  46990. if (identityFromModule.$eq(0, identity))
  46991. continue;
  46992. if (value != null) {
  46993. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  46994. for (t3 = A.MapExtensions_get_pairs(t1, type$.Module_Callable, type$.AstNode), t3 = t3.get$iterator(t3), t4 = "includes " + type; t3.moveNext$0();) {
  46995. t1 = t3.get$current(t3);
  46996. module = t1._0;
  46997. node = t1._1;
  46998. if (callback.call$1(module) != null)
  46999. t2.$indexSet(0, node.get$span(node), t4);
  47000. }
  47001. throw A.wrapException(A.MultiSpanSassScriptException$("This " + type + string$.x20is_av, type + " use", t2));
  47002. }
  47003. identity = identityFromModule;
  47004. value = valueInModule;
  47005. }
  47006. return value;
  47007. },
  47008. _fromOneModule$3($name, type, callback) {
  47009. return this._fromOneModule$1$3($name, type, callback, type$.dynamic);
  47010. }
  47011. };
  47012. A.Environment__getVariableFromGlobalModule_closure.prototype = {
  47013. call$1(module) {
  47014. return module.get$variables().$index(0, this.name);
  47015. },
  47016. $signature: 318
  47017. };
  47018. A.Environment_setVariable_closure.prototype = {
  47019. call$0() {
  47020. var t1 = this.$this;
  47021. t1._lastVariableName = this.name;
  47022. return t1._lastVariableIndex = 0;
  47023. },
  47024. $signature: 3
  47025. };
  47026. A.Environment_setVariable_closure0.prototype = {
  47027. call$1(module) {
  47028. return module.get$variables().containsKey$1(this.name) ? module : null;
  47029. },
  47030. $signature: 320
  47031. };
  47032. A.Environment_setVariable_closure1.prototype = {
  47033. call$0() {
  47034. var t1 = this.$this,
  47035. t2 = t1._variableIndex$1(this.name);
  47036. return t2 == null ? t1._variables.length - 1 : t2;
  47037. },
  47038. $signature: 3
  47039. };
  47040. A.Environment__getFunctionFromGlobalModule_closure.prototype = {
  47041. call$1(module) {
  47042. return module.get$functions(module).$index(0, this.name);
  47043. },
  47044. $signature: 228
  47045. };
  47046. A.Environment__getMixinFromGlobalModule_closure.prototype = {
  47047. call$1(module) {
  47048. return module.get$mixins().$index(0, this.name);
  47049. },
  47050. $signature: 228
  47051. };
  47052. A.Environment_toModule_closure.prototype = {
  47053. call$1(modules) {
  47054. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  47055. },
  47056. $signature: 227
  47057. };
  47058. A.Environment_toDummyModule_closure.prototype = {
  47059. call$1(modules) {
  47060. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable);
  47061. },
  47062. $signature: 227
  47063. };
  47064. A._EnvironmentModule.prototype = {
  47065. get$url(_) {
  47066. var t1 = this.css;
  47067. t1 = t1.get$span(t1);
  47068. return t1.get$sourceUrl(t1);
  47069. },
  47070. setVariable$3($name, value, nodeWithSpan) {
  47071. var module, t1, t2,
  47072. _0_0 = this._modulesByVariable.$index(0, $name);
  47073. if (_0_0 != null) {
  47074. module = _0_0;
  47075. t1 = true;
  47076. } else {
  47077. module = null;
  47078. t1 = false;
  47079. }
  47080. if (t1) {
  47081. module.setVariable$3($name, value, nodeWithSpan);
  47082. return;
  47083. }
  47084. t1 = this._environment$_environment;
  47085. t2 = t1._variables;
  47086. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  47087. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  47088. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  47089. J.$indexSet$ax(B.JSArray_methods.get$first(t1._variableNodes), $name, nodeWithSpan);
  47090. return;
  47091. },
  47092. variableIdentity$1($name) {
  47093. var module = this._modulesByVariable.$index(0, $name);
  47094. return module == null ? this : module.variableIdentity$1($name);
  47095. },
  47096. cloneCss$0() {
  47097. var _0_0, _this = this;
  47098. if (!_this.transitivelyContainsCss)
  47099. return _this;
  47100. _0_0 = A.cloneCssStylesheet(_this.css, _this.extensionStore);
  47101. return A._EnvironmentModule$_(_this._environment$_environment, _0_0._0, _this.preModuleComments, _0_0._1, _this._modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, true, _this.transitivelyContainsExtensions);
  47102. },
  47103. toString$0(_) {
  47104. var t1 = this.css,
  47105. t2 = t1.get$span(t1);
  47106. if (t2.get$sourceUrl(t2) == null)
  47107. t1 = "<unknown url>";
  47108. else {
  47109. t1 = t1.get$span(t1);
  47110. t1 = t1.get$sourceUrl(t1);
  47111. t2 = $.$get$context();
  47112. t1.toString;
  47113. t1 = t2.prettyUri$1(t1);
  47114. }
  47115. return t1;
  47116. },
  47117. $isModule0: 1,
  47118. get$upstream() {
  47119. return this.upstream;
  47120. },
  47121. get$variables() {
  47122. return this.variables;
  47123. },
  47124. get$variableNodes() {
  47125. return this.variableNodes;
  47126. },
  47127. get$functions(receiver) {
  47128. return this.functions;
  47129. },
  47130. get$mixins() {
  47131. return this.mixins;
  47132. },
  47133. get$extensionStore() {
  47134. return this.extensionStore;
  47135. },
  47136. get$css(receiver) {
  47137. return this.css;
  47138. },
  47139. get$preModuleComments() {
  47140. return this.preModuleComments;
  47141. },
  47142. get$transitivelyContainsCss() {
  47143. return this.transitivelyContainsCss;
  47144. },
  47145. get$transitivelyContainsExtensions() {
  47146. return this.transitivelyContainsExtensions;
  47147. }
  47148. };
  47149. A._EnvironmentModule__EnvironmentModule_closure.prototype = {
  47150. call$1(module) {
  47151. return module.get$variables();
  47152. },
  47153. $signature: 327
  47154. };
  47155. A._EnvironmentModule__EnvironmentModule_closure0.prototype = {
  47156. call$1(module) {
  47157. return module.get$variableNodes();
  47158. },
  47159. $signature: 330
  47160. };
  47161. A._EnvironmentModule__EnvironmentModule_closure1.prototype = {
  47162. call$1(module) {
  47163. return module.get$functions(module);
  47164. },
  47165. $signature: 225
  47166. };
  47167. A._EnvironmentModule__EnvironmentModule_closure2.prototype = {
  47168. call$1(module) {
  47169. return module.get$mixins();
  47170. },
  47171. $signature: 225
  47172. };
  47173. A._EnvironmentModule__EnvironmentModule_closure3.prototype = {
  47174. call$1(module) {
  47175. return module.get$transitivelyContainsCss();
  47176. },
  47177. $signature: 132
  47178. };
  47179. A._EnvironmentModule__EnvironmentModule_closure4.prototype = {
  47180. call$1(module) {
  47181. return module.get$transitivelyContainsExtensions();
  47182. },
  47183. $signature: 132
  47184. };
  47185. A.SassException.prototype = {
  47186. get$trace(_) {
  47187. return A.Trace$(A._setArrayType([A.frameForSpan(A.SourceSpanException.prototype.get$span.call(this, this), "root stylesheet", null)], type$.JSArray_Frame), null);
  47188. },
  47189. get$span(_) {
  47190. return A.SourceSpanException.prototype.get$span.call(this, this);
  47191. },
  47192. withAdditionalSpan$2(span, label) {
  47193. var _this = this;
  47194. return A.MultiSpanSassException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), _this.loadedUrls);
  47195. },
  47196. withTrace$1(trace) {
  47197. var _this = this,
  47198. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  47199. t2 = A.Set_Set$unmodifiable(_this.loadedUrls, type$.Uri);
  47200. return new A.SassRuntimeException(trace, t2, _this._span_exception$_message, t1);
  47201. },
  47202. withLoadedUrls$1(loadedUrls) {
  47203. var t1 = A.SourceSpanException.prototype.get$span.call(this, this),
  47204. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  47205. return new A.SassException(t2, this._span_exception$_message, t1);
  47206. },
  47207. toString$1$color(_, color) {
  47208. var t2, _i, frame, t3, _this = this,
  47209. buffer = new A.StringBuffer(""),
  47210. t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
  47211. buffer._contents = t1;
  47212. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, _this).highlight$1$color(color);
  47213. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  47214. frame = t1[_i];
  47215. if (J.get$length$asx(frame) === 0)
  47216. continue;
  47217. t3 = buffer._contents += "\n";
  47218. buffer._contents = t3 + (" " + A.S(frame));
  47219. }
  47220. t1 = buffer._contents;
  47221. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47222. },
  47223. toString$0($receiver) {
  47224. return this.toString$1$color($receiver, null);
  47225. },
  47226. toCssString$0() {
  47227. var commentMessage, stringMessage, rune,
  47228. t1 = $._glyphs,
  47229. t2 = $._glyphs = B.C_AsciiGlyphSet,
  47230. t3 = this.toString$1$color(0, false);
  47231. t3 = A.stringReplaceAllUnchecked(t3, "*/", "*\u2215");
  47232. commentMessage = A.stringReplaceAllUnchecked(t3, "\r\n", "\n");
  47233. $._glyphs = t1 === B.C_AsciiGlyphSet ? t2 : B.C_UnicodeGlyphSet;
  47234. stringMessage = new A.StringBuffer("");
  47235. for (t1 = new A.RuneIterator(A.serializeValue(new A.SassString(this.toString$1$color(0, false), true), true, true)); t1.moveNext$0();) {
  47236. rune = t1._currentCodePoint;
  47237. if (rune > 127) {
  47238. stringMessage._contents += A.Primitives_stringFromCharCode(92);
  47239. stringMessage._contents += B.JSInt_methods.toRadixString$1(rune, 16);
  47240. stringMessage._contents += A.Primitives_stringFromCharCode(32);
  47241. } else
  47242. stringMessage._contents += A.Primitives_stringFromCharCode(rune);
  47243. }
  47244. 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}";
  47245. }
  47246. };
  47247. A.MultiSpanSassException.prototype = {
  47248. withAdditionalSpan$2(span, label) {
  47249. var _this = this,
  47250. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  47251. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  47252. t2.$indexSet(0, span, label);
  47253. return A.MultiSpanSassException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  47254. },
  47255. withTrace$1(trace) {
  47256. var _this = this;
  47257. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), _this.primaryLabel, _this.secondarySpans, trace, _this.loadedUrls);
  47258. },
  47259. withLoadedUrls$1(loadedUrls) {
  47260. var _this = this;
  47261. return A.MultiSpanSassException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  47262. },
  47263. toString$1$color(_, color) {
  47264. var t1, t2, _i, frame, _this = this,
  47265. useColor = color === true && true,
  47266. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  47267. 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));
  47268. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  47269. frame = t1[_i];
  47270. if (J.get$length$asx(frame) === 0)
  47271. continue;
  47272. buffer._contents += "\n";
  47273. buffer._contents += " " + A.S(frame);
  47274. }
  47275. t1 = buffer._contents;
  47276. return t1.charCodeAt(0) == 0 ? t1 : t1;
  47277. },
  47278. toString$0($receiver) {
  47279. return this.toString$1$color($receiver, null);
  47280. },
  47281. get$primaryLabel() {
  47282. return this.primaryLabel;
  47283. },
  47284. get$secondarySpans() {
  47285. return this.secondarySpans;
  47286. }
  47287. };
  47288. A.SassRuntimeException.prototype = {
  47289. withAdditionalSpan$2(span, label) {
  47290. var _this = this;
  47291. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), _this.trace, _this.loadedUrls);
  47292. },
  47293. withLoadedUrls$1(loadedUrls) {
  47294. var _this = this,
  47295. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  47296. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  47297. return new A.SassRuntimeException(_this.trace, t2, _this._span_exception$_message, t1);
  47298. },
  47299. get$trace(receiver) {
  47300. return this.trace;
  47301. }
  47302. };
  47303. A.MultiSpanSassRuntimeException.prototype = {
  47304. withAdditionalSpan$2(span, label) {
  47305. var _this = this,
  47306. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  47307. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  47308. t2.$indexSet(0, span, label);
  47309. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.trace, _this.loadedUrls);
  47310. },
  47311. withLoadedUrls$1(loadedUrls) {
  47312. var _this = this;
  47313. return A.MultiSpanSassRuntimeException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), _this.primaryLabel, _this.secondarySpans, _this.trace, loadedUrls);
  47314. },
  47315. $isSassRuntimeException: 1,
  47316. get$trace(receiver) {
  47317. return this.trace;
  47318. }
  47319. };
  47320. A.SassFormatException.prototype = {
  47321. get$source() {
  47322. var t1 = A.SourceSpanException.prototype.get$span.call(this, this);
  47323. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  47324. },
  47325. withAdditionalSpan$2(span, label) {
  47326. var _this = this;
  47327. return A.MultiSpanSassFormatException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), _this.loadedUrls);
  47328. },
  47329. withLoadedUrls$1(loadedUrls) {
  47330. var t1 = A.SourceSpanException.prototype.get$span.call(this, this),
  47331. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  47332. return new A.SassFormatException(t2, this._span_exception$_message, t1);
  47333. },
  47334. $isFormatException: 1,
  47335. $isSourceSpanFormatException: 1
  47336. };
  47337. A.MultiSpanSassFormatException.prototype = {
  47338. get$source() {
  47339. var t1 = A.SourceSpanException.prototype.get$span.call(this, this);
  47340. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  47341. },
  47342. withAdditionalSpan$2(span, label) {
  47343. var _this = this,
  47344. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  47345. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  47346. t2.$indexSet(0, span, label);
  47347. return A.MultiSpanSassFormatException$(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  47348. },
  47349. withLoadedUrls$1(loadedUrls) {
  47350. var _this = this;
  47351. return A.MultiSpanSassFormatException$(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  47352. },
  47353. $isFormatException: 1,
  47354. $isSassFormatException: 1,
  47355. $isSourceSpanFormatException: 1,
  47356. $isMultiSourceSpanFormatException: 1
  47357. };
  47358. A.SassScriptException.prototype = {
  47359. withSpan$1(span) {
  47360. return new A.SassException(B.Set_empty, this.message, span);
  47361. },
  47362. toString$0(_) {
  47363. return this.message + string$.x0a_BUG_;
  47364. },
  47365. get$message(receiver) {
  47366. return this.message;
  47367. }
  47368. };
  47369. A.MultiSpanSassScriptException.prototype = {
  47370. withSpan$1(span) {
  47371. return A.MultiSpanSassException$(this.message, span, this.primaryLabel, this.secondarySpans, null);
  47372. }
  47373. };
  47374. A._writeSourceMap_closure.prototype = {
  47375. call$1(url) {
  47376. return this.options.sourceMapUrl$2(0, A.Uri_parse(url), this.destination).toString$0(0);
  47377. },
  47378. $signature: 7
  47379. };
  47380. A.compileStylesheets_closure.prototype = {
  47381. call$0() {
  47382. return this._1_0[0];
  47383. },
  47384. $signature: 334
  47385. };
  47386. A.ExecutableOptions.prototype = {
  47387. get$interactive() {
  47388. var result, _this = this,
  47389. value = _this.__ExecutableOptions_interactive_FI;
  47390. if (value === $) {
  47391. result = new A.ExecutableOptions_interactive_closure(_this).call$0();
  47392. _this.__ExecutableOptions_interactive_FI !== $ && A.throwUnnamedLateFieldADI();
  47393. _this.__ExecutableOptions_interactive_FI = result;
  47394. value = result;
  47395. }
  47396. return value;
  47397. },
  47398. get$color() {
  47399. var t1 = this._options;
  47400. return t1.wasParsed$1("color") ? A._asBool(t1.$index(0, "color")) : A.hasTerminal();
  47401. },
  47402. get$emitErrorCss() {
  47403. var t1 = A._asBoolQ(this._options.$index(0, "error-css"));
  47404. if (t1 == null) {
  47405. this._ensureSources$0();
  47406. t1 = this._sourcesToDestinations;
  47407. t1 = t1.get$values(t1).any$1(0, new A.ExecutableOptions_emitErrorCss_closure());
  47408. }
  47409. return t1;
  47410. },
  47411. _ensureSources$0() {
  47412. var t1, stdin, t2, t3, $directories, t4, t5, colonArgs, positionalArgs, t6, t7, t8, message, target, source, destination, seen, _0_0, _this = this, _null = null,
  47413. _s18_ = 'Duplicate source "';
  47414. if (_this._sourcesToDestinations != null)
  47415. return;
  47416. t1 = _this._options;
  47417. stdin = A._asBool(t1.$index(0, "stdin"));
  47418. t2 = t1.rest;
  47419. if (t2.get$length(t2) === 0 && !stdin)
  47420. A.ExecutableOptions__fail("Compile Sass to CSS.");
  47421. t3 = type$.String;
  47422. $directories = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  47423. for (t4 = new A.ListIterator(t2, t2.get$length(t2)), t5 = A._instanceType(t4)._precomputed1, colonArgs = false, positionalArgs = false; t4.moveNext$0();) {
  47424. t6 = t4.__internal$_current;
  47425. if (t6 == null)
  47426. t6 = t5._as(t6);
  47427. t7 = t6.length;
  47428. if (t7 === 0)
  47429. A.ExecutableOptions__fail('Invalid argument "".');
  47430. if (A.stringContainsUnchecked(t6, ":", 0)) {
  47431. if (t7 > 2) {
  47432. t8 = t6.charCodeAt(0);
  47433. if (!(t8 >= 97 && t8 <= 122))
  47434. t8 = t8 >= 65 && t8 <= 90;
  47435. else
  47436. t8 = true;
  47437. t8 = t8 && t6.charCodeAt(1) === 58;
  47438. } else
  47439. t8 = false;
  47440. if (t8) {
  47441. if (2 > t7)
  47442. A.throwExpression(A.RangeError$range(2, 0, t7, _null, _null));
  47443. t7 = A.stringContainsUnchecked(t6, ":", 2);
  47444. } else
  47445. t7 = true;
  47446. } else
  47447. t7 = false;
  47448. if (t7)
  47449. colonArgs = true;
  47450. else if (A.dirExists(t6))
  47451. $directories.add$1(0, t6);
  47452. else
  47453. positionalArgs = true;
  47454. }
  47455. if (positionalArgs || t2.get$length(t2) === 0) {
  47456. if (colonArgs)
  47457. A.ExecutableOptions__fail('Positional and ":" arguments may not both be used.');
  47458. else if (stdin) {
  47459. if (J.get$length$asx(t2._collection$_source) > 1)
  47460. A.ExecutableOptions__fail("Only one argument is allowed with --stdin.");
  47461. else if (A._asBool(t1.$index(0, "update")))
  47462. A.ExecutableOptions__fail("--update is not allowed with --stdin.");
  47463. else if (A._asBool(t1.$index(0, "watch")))
  47464. A.ExecutableOptions__fail("--watch is not allowed with --stdin.");
  47465. t1 = t2.get$length(t2) === 0 ? _null : t2.get$first(t2);
  47466. t2 = type$.dynamic;
  47467. t3 = type$.nullable_String;
  47468. _this._sourcesToDestinations = A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([null, t1], t2, t2), t3, t3);
  47469. } else {
  47470. t3 = t2._collection$_source;
  47471. t4 = J.getInterceptor$asx(t3);
  47472. if (t4.get$length(t3) > 2)
  47473. A.ExecutableOptions__fail("Only two positional args may be passed.");
  47474. else if ($directories._collection$_length !== 0) {
  47475. message = 'Directory "' + A.S($directories.get$first($directories)) + '" may not be a positional arg.';
  47476. target = t2.get$last(t2);
  47477. 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);
  47478. } else {
  47479. source = J.$eq$(t2.get$first(t2), "-") ? _null : t2.get$first(t2);
  47480. destination = t4.get$length(t3) === 1 ? _null : t2.get$last(t2);
  47481. if (destination == null)
  47482. if (A._asBool(t1.$index(0, "update")))
  47483. A.ExecutableOptions__fail("--update is not allowed when printing to stdout.");
  47484. else if (A._asBool(t1.$index(0, "watch")))
  47485. A.ExecutableOptions__fail("--watch is not allowed when printing to stdout.");
  47486. t1 = A.PathMap__create(_null, type$.nullable_String);
  47487. t1.$indexSet(0, source, destination);
  47488. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, type$.PathMap_nullable_String), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  47489. }
  47490. }
  47491. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  47492. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = B.Map_empty;
  47493. return;
  47494. }
  47495. if (stdin)
  47496. A.ExecutableOptions__fail('--stdin may not be used with ":" arguments.');
  47497. seen = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  47498. t1 = A.PathMap__create(_null, t3);
  47499. t4 = type$.PathMap_String;
  47500. t3 = A.PathMap__create(_null, t3);
  47501. for (t2 = new A.ListIterator(t2, t2.get$length(t2)), t5 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  47502. t6 = t2.__internal$_current;
  47503. if (t6 == null)
  47504. t6 = t5._as(t6);
  47505. if ($directories.contains$1(0, t6)) {
  47506. if (!seen.add$1(0, t6))
  47507. A.ExecutableOptions__fail(_s18_ + t6 + '".');
  47508. t3.$indexSet(0, t6, t6);
  47509. t1.addAll$1(0, _this._listSourceDirectory$2(t6, t6));
  47510. continue;
  47511. }
  47512. _0_0 = _this._splitSourceAndDestination$1(t6);
  47513. source = _0_0._0;
  47514. destination = _0_0._1;
  47515. if (!seen.add$1(0, source))
  47516. A.ExecutableOptions__fail(_s18_ + source + '".');
  47517. if (source === "-")
  47518. t1.$indexSet(0, _null, destination);
  47519. else if (A.dirExists(source)) {
  47520. t3.$indexSet(0, source, destination);
  47521. t1.addAll$1(0, _this._listSourceDirectory$2(source, destination));
  47522. } else
  47523. t1.$indexSet(0, source, destination);
  47524. }
  47525. _this._sourcesToDestinations = new A.UnmodifiableMapView(new A.PathMap(t1, t4), type$.UnmodifiableMapView_of_nullable_String_and_nullable_String);
  47526. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F !== $ && A.throwUnnamedLateFieldAI();
  47527. _this.__ExecutableOptions__sourceDirectoriesToDestinations_F = new A.UnmodifiableMapView(new A.PathMap(t3, t4), type$.UnmodifiableMapView_of_nullable_String_and_String);
  47528. },
  47529. _splitSourceAndDestination$1(argument) {
  47530. var t1, i, t2, t3, nextColon;
  47531. for (t1 = argument.length, i = 0; i < t1; ++i) {
  47532. if (i === 1) {
  47533. t2 = i - 1;
  47534. if (t1 > t2 + 2) {
  47535. t3 = argument.charCodeAt(t2);
  47536. if (!(t3 >= 97 && t3 <= 122))
  47537. t3 = t3 >= 65 && t3 <= 90;
  47538. else
  47539. t3 = true;
  47540. t2 = t3 && argument.charCodeAt(t2 + 1) === 58;
  47541. } else
  47542. t2 = false;
  47543. } else
  47544. t2 = false;
  47545. if (t2)
  47546. continue;
  47547. if (argument.charCodeAt(i) === 58) {
  47548. t2 = i + 1;
  47549. nextColon = B.JSString_methods.indexOf$2(argument, ":", t2);
  47550. if (nextColon === i + 2)
  47551. if (t1 > t2 + 2) {
  47552. t1 = argument.charCodeAt(t2);
  47553. if (!(t1 >= 97 && t1 <= 122))
  47554. t1 = t1 >= 65 && t1 <= 90;
  47555. else
  47556. t1 = true;
  47557. t1 = t1 && argument.charCodeAt(t2 + 1) === 58;
  47558. } else
  47559. t1 = false;
  47560. else
  47561. t1 = false;
  47562. if ((t1 ? B.JSString_methods.indexOf$2(argument, ":", nextColon + 1) : nextColon) !== -1)
  47563. A.ExecutableOptions__fail('"' + argument + '" may only contain one ":".');
  47564. return new A._Record_2(B.JSString_methods.substring$2(argument, 0, i), B.JSString_methods.substring$1(argument, t2));
  47565. }
  47566. }
  47567. throw A.wrapException(A.ArgumentError$('Expected "' + argument + '" to contain a colon.', null));
  47568. },
  47569. _listSourceDirectory$2(source, destination) {
  47570. var t2, t3, t4, t5,
  47571. t1 = type$.String;
  47572. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  47573. for (t2 = J.get$iterator$ax(A.listDir(source, true)), t3 = source === destination; t2.moveNext$0();) {
  47574. t4 = t2.get$current(t2);
  47575. if (this._isEntrypoint$1(t4))
  47576. t5 = !(t3 && A.ParsedPath_ParsedPath$parse(t4, $.$get$context().style)._splitExtension$1(1)[1] === ".css");
  47577. else
  47578. t5 = false;
  47579. if (t5) {
  47580. t5 = $.$get$context();
  47581. t1.$indexSet(0, t4, A.join(destination, t5.withoutExtension$1(t5.relative$2$from(t4, source)) + ".css", null));
  47582. }
  47583. }
  47584. return t1;
  47585. },
  47586. _isEntrypoint$1(path) {
  47587. var extension,
  47588. t1 = $.$get$context().style;
  47589. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(path, t1).get$basename(), "_"))
  47590. return false;
  47591. extension = A.ParsedPath_ParsedPath$parse(path, t1)._splitExtension$1(1)[1];
  47592. return extension === ".scss" || extension === ".sass" || extension === ".css";
  47593. },
  47594. get$_writeToStdout() {
  47595. var t1, _this = this;
  47596. _this._ensureSources$0();
  47597. t1 = _this._sourcesToDestinations;
  47598. if (t1.get$length(t1) === 1) {
  47599. _this._ensureSources$0();
  47600. t1 = _this._sourcesToDestinations;
  47601. t1 = t1.get$values(t1);
  47602. t1 = t1.get$single(t1) == null;
  47603. } else
  47604. t1 = false;
  47605. return t1;
  47606. },
  47607. get$emitSourceMap() {
  47608. var _this = this,
  47609. _s10_ = "source-map",
  47610. _s15_ = "source-map-urls",
  47611. _s13_ = "embed-sources",
  47612. _s16_ = "embed-source-map",
  47613. t1 = _this._options;
  47614. if (!A._asBool(t1.$index(0, _s10_)))
  47615. if (t1.wasParsed$1(_s15_))
  47616. A.ExecutableOptions__fail("--source-map-urls isn't allowed with --no-source-map.");
  47617. else if (t1.wasParsed$1(_s13_))
  47618. A.ExecutableOptions__fail("--embed-sources isn't allowed with --no-source-map.");
  47619. else if (t1.wasParsed$1(_s16_))
  47620. A.ExecutableOptions__fail("--embed-source-map isn't allowed with --no-source-map.");
  47621. if (!_this.get$_writeToStdout())
  47622. return A._asBool(t1.$index(0, _s10_));
  47623. if (J.$eq$(_this._ifParsed$1(_s15_), "relative"))
  47624. A.ExecutableOptions__fail("--source-map-urls=relative isn't allowed when printing to stdout.");
  47625. if (A._asBool(t1.$index(0, _s16_)))
  47626. return A._asBool(t1.$index(0, _s10_));
  47627. else if (J.$eq$(_this._ifParsed$1(_s10_), true))
  47628. A.ExecutableOptions__fail("When printing to stdout, --source-map requires --embed-source-map.");
  47629. else if (t1.wasParsed$1(_s15_))
  47630. A.ExecutableOptions__fail("When printing to stdout, --source-map-urls requires --embed-source-map.");
  47631. else if (A._asBool(t1.$index(0, _s13_)))
  47632. A.ExecutableOptions__fail("When printing to stdout, --embed-sources requires --embed-source-map.");
  47633. else
  47634. return false;
  47635. },
  47636. sourceMapUrl$2(_, url, destination) {
  47637. var t1, path, t2, _null = null;
  47638. if (url.get$scheme().length !== 0 && url.get$scheme() !== "file")
  47639. return url;
  47640. t1 = $.$get$context();
  47641. path = t1.style.pathFromUri$1(A._parseUri(url));
  47642. if (J.$eq$(this._options.$index(0, "source-map-urls"), "relative") && !this.get$_writeToStdout()) {
  47643. destination.toString;
  47644. t2 = t1.relative$2$from(path, t1.dirname$1(destination));
  47645. } else
  47646. t2 = A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);
  47647. return t1.toUri$1(t2);
  47648. },
  47649. get$fatalDeprecations() {
  47650. var t1 = this._fatalDeprecations;
  47651. return t1 == null ? this._fatalDeprecations = new A.ExecutableOptions_fatalDeprecations_closure(this).call$0() : t1;
  47652. },
  47653. get$futureDeprecations() {
  47654. var t2, t3, t4,
  47655. t1 = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  47656. for (t2 = J.get$iterator$ax(type$.List_String._as(this._options.$index(0, "future-deprecation"))); t2.moveNext$0();) {
  47657. t3 = t2.get$current(t2);
  47658. t4 = A.Deprecation_fromId(t3);
  47659. t1.add$1(0, t4 == null ? A.ExecutableOptions__fail('Invalid deprecation "' + t3 + '".') : t4);
  47660. }
  47661. return t1;
  47662. },
  47663. _ifParsed$1($name) {
  47664. var t1 = this._options;
  47665. return t1.wasParsed$1($name) ? t1.$index(0, $name) : null;
  47666. }
  47667. };
  47668. A.ExecutableOptions__parser_closure.prototype = {
  47669. call$0() {
  47670. var _i, deprecation, _0_4, $self, id, description, t4, _1_5, _null = null,
  47671. t1 = type$.String,
  47672. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Option),
  47673. t3 = [],
  47674. 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);
  47675. parser.addOption$2$hide("precision", true);
  47676. parser.addFlag$2$hide("async", true);
  47677. t3.push(A.ExecutableOptions__separator("Input and Output"));
  47678. parser.addFlag$2$help("stdin", "Read the stylesheet from stdin.");
  47679. parser.addFlag$2$help("indented", "Use the indented syntax for input from stdin.");
  47680. parser.addMultiOption$5$abbr$help$splitCommas$valueHelp("load-path", "I", "A path to use when resolving imports.\nMay be passed multiple times.", false, "PATH");
  47681. t2 = type$.JSArray_String;
  47682. parser.addOption$6$abbr$allowed$defaultsTo$help$valueHelp("style", "s", A._setArrayType(["expanded", "compressed"], t2), "expanded", "Output style.", "NAME");
  47683. parser.addFlag$3$defaultsTo$help("charset", true, "Emit a @charset or BOM for CSS with non-ASCII characters.");
  47684. 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.");
  47685. parser.addFlag$3$help$negatable("update", "Only compile out-of-date stylesheets.", false);
  47686. t3.push(A.ExecutableOptions__separator("Source Maps"));
  47687. parser.addFlag$3$defaultsTo$help("source-map", true, "Whether to generate source maps.");
  47688. parser.addOption$4$allowed$defaultsTo$help("source-map-urls", A._setArrayType(["relative", "absolute"], t2), "relative", "How to link from source maps to source files.");
  47689. parser.addFlag$3$defaultsTo$help("embed-sources", false, "Embed source file contents in source maps.");
  47690. parser.addFlag$3$defaultsTo$help("embed-source-map", false, "Embed source map contents in CSS.");
  47691. t3.push(A.ExecutableOptions__separator("Warnings"));
  47692. parser.addFlag$3$abbr$help("quiet", "q", "Don't print warnings.");
  47693. parser.addFlag$2$help("quiet-deps", "Don't print compiler warnings from dependencies.\nStylesheets imported through load paths count as dependencies.");
  47694. parser.addFlag$2$help("verbose", "Print all deprecation warnings even when they're repetitive.");
  47695. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  47696. for (_i = 0; _i < 16; ++_i) {
  47697. deprecation = B.List_GN8[_i];
  47698. _0_4 = A._InitializedCell$(new A.ExecutableOptions__parser__closure(deprecation));
  47699. $self = deprecation._deprecatedIn;
  47700. if (($self == null ? _null : A.Version___parse_tearOff($self)) != null && true) {
  47701. id = deprecation.id;
  47702. if (_0_4._readFinal$0() != null) {
  47703. description = _0_4._readFinal$0();
  47704. t4 = true;
  47705. } else {
  47706. description = _null;
  47707. t4 = false;
  47708. }
  47709. } else {
  47710. description = _null;
  47711. id = description;
  47712. t4 = false;
  47713. }
  47714. if (t4)
  47715. t2.$indexSet(0, id, description);
  47716. }
  47717. parser.addMultiOption$3$allowedHelp$help("fatal-deprecation", t2, "Deprecations to treat as errors. You may also pass a Sass\nversion to include any behavior deprecated in or before it.\nSee https://sass-lang.com/documentation/breaking-changes for \na complete list.");
  47718. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  47719. for (_i = 0; _i < 16; ++_i) {
  47720. deprecation = B.List_GN8[_i];
  47721. _1_5 = A._InitializedCell$(new A.ExecutableOptions__parser__closure0(deprecation));
  47722. $self = deprecation._deprecatedIn;
  47723. if (($self == null ? _null : A.Version___parse_tearOff($self)) == null) {
  47724. id = deprecation.id;
  47725. if (_1_5._readFinal$0() != null) {
  47726. description = _1_5._readFinal$0();
  47727. t2 = true;
  47728. } else {
  47729. description = _null;
  47730. t2 = false;
  47731. }
  47732. } else {
  47733. description = _null;
  47734. id = description;
  47735. t2 = false;
  47736. }
  47737. if (t2)
  47738. t1.$indexSet(0, id, description);
  47739. }
  47740. parser.addMultiOption$3$allowedHelp$help("future-deprecation", t1, "Opt in to a deprecation early.");
  47741. t3.push(A.ExecutableOptions__separator("Other"));
  47742. parser.addFlag$4$abbr$help$negatable("watch", "w", "Watch stylesheets and recompile when they change.", false);
  47743. parser.addFlag$2$help("poll", "Manually check for changes rather than using a native watcher.\nOnly valid with --watch.");
  47744. parser.addFlag$2$help("stop-on-error", "Don't compile more files once an error is encountered.");
  47745. parser.addFlag$4$abbr$help$negatable("interactive", "i", "Run an interactive SassScript shell.", false);
  47746. parser.addFlag$3$abbr$help("color", "c", "Whether to use terminal colors for messages.");
  47747. parser.addFlag$2$help("unicode", "Whether to use Unicode characters for messages.");
  47748. parser.addFlag$2$help("trace", "Print full Dart stack traces for exceptions.");
  47749. parser.addFlag$4$abbr$help$negatable("help", "h", "Print this usage information.", false);
  47750. parser.addFlag$3$help$negatable("version", "Print the version of Dart Sass.", false);
  47751. return parser;
  47752. },
  47753. $signature: 335
  47754. };
  47755. A.ExecutableOptions__parser__closure.prototype = {
  47756. call$0() {
  47757. return this._0_0.description;
  47758. },
  47759. $signature: 30
  47760. };
  47761. A.ExecutableOptions__parser__closure0.prototype = {
  47762. call$0() {
  47763. return this._1_0.description;
  47764. },
  47765. $signature: 30
  47766. };
  47767. A.ExecutableOptions_interactive_closure.prototype = {
  47768. call$0() {
  47769. var _0_0, option,
  47770. t1 = this.$this._options;
  47771. if (!A._asBool(t1.$index(0, "interactive")))
  47772. return false;
  47773. _0_0 = A.IterableExtension_firstWhereOrNull(A._setArrayType(["stdin", "indented", "style", "source-map", "source-map-urls", "embed-sources", "embed-source-map", "update", "watch"], type$.JSArray_String), t1.get$wasParsed());
  47774. if (_0_0 != null) {
  47775. option = _0_0;
  47776. t1 = true;
  47777. } else {
  47778. option = null;
  47779. t1 = false;
  47780. }
  47781. if (t1)
  47782. throw A.wrapException(A.UsageException$("--" + A.S(option) + " isn't allowed with --interactive."));
  47783. return true;
  47784. },
  47785. $signature: 1
  47786. };
  47787. A.ExecutableOptions_emitErrorCss_closure.prototype = {
  47788. call$1(destination) {
  47789. return destination != null;
  47790. },
  47791. $signature: 248
  47792. };
  47793. A.ExecutableOptions_fatalDeprecations_closure.prototype = {
  47794. call$0() {
  47795. var id, argVersion, sassVersion, t1, t2, _0_0, deprecation, t3, exception,
  47796. deprecations = A.LinkedHashSet_LinkedHashSet$_empty(type$.Deprecation);
  47797. for (t1 = J.get$iterator$ax(type$.List_String._as(this.$this._options.$index(0, "fatal-deprecation"))), t2 = type$.FormatException; t1.moveNext$0();) {
  47798. id = t1.get$current(t1);
  47799. _0_0 = A.Deprecation_fromId(id);
  47800. if (_0_0 != null) {
  47801. deprecation = _0_0;
  47802. t3 = true;
  47803. } else {
  47804. deprecation = null;
  47805. t3 = false;
  47806. }
  47807. if (t3) {
  47808. J.add$1$ax(deprecations, deprecation);
  47809. continue;
  47810. }
  47811. try {
  47812. argVersion = A.Version_Version$parse(id);
  47813. sassVersion = A.Version_Version$parse("1.69.7");
  47814. if (J.compareTo$1$ns(argVersion, sassVersion) > 0)
  47815. A.ExecutableOptions__fail("Invalid version " + A.S(argVersion) + ". --fatal-deprecation requires a version less than or equal to the current Dart Sass version.");
  47816. J.addAll$1$ax(deprecations, A.Deprecation_forVersion(argVersion));
  47817. } catch (exception) {
  47818. if (t2._is(A.unwrapException(exception)))
  47819. A.ExecutableOptions__fail('Invalid deprecation "' + A.S(id) + '".');
  47820. else
  47821. throw exception;
  47822. }
  47823. }
  47824. return deprecations;
  47825. },
  47826. $signature: 337
  47827. };
  47828. A.UsageException.prototype = {$isException: 1,
  47829. get$message(receiver) {
  47830. return this.message;
  47831. }
  47832. };
  47833. A.watch_closure.prototype = {
  47834. call$1(dir) {
  47835. for (; !A.dirExists(dir);)
  47836. dir = $.$get$context().dirname$1(dir);
  47837. return this.dirWatcher.watch$1(0, dir);
  47838. },
  47839. $signature: 338
  47840. };
  47841. A._Watcher.prototype = {
  47842. _delete$1(path) {
  47843. var buffer, t1, exception;
  47844. try {
  47845. A.deleteFile(path);
  47846. buffer = new A.StringBuffer("");
  47847. t1 = this._watch$_options;
  47848. if (t1.get$color())
  47849. buffer._contents += "\x1b[33m";
  47850. buffer._contents += "Deleted " + path + ".";
  47851. if (t1.get$color())
  47852. buffer._contents += "\x1b[0m";
  47853. A.print(buffer);
  47854. } catch (exception) {
  47855. if (!(A.unwrapException(exception) instanceof A.FileSystemException))
  47856. throw exception;
  47857. }
  47858. },
  47859. watch$1(_, watcher) {
  47860. return this.watch$body$_Watcher(0, watcher);
  47861. },
  47862. watch$body$_Watcher(_, watcher) {
  47863. var $async$goto = 0,
  47864. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  47865. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, $event, extension, success, success0, success1, t2, t1;
  47866. var $async$watch$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  47867. if ($async$errorCode === 1) {
  47868. $async$currentError = $async$result;
  47869. $async$goto = $async$handler;
  47870. }
  47871. while (true)
  47872. switch ($async$goto) {
  47873. case 0:
  47874. // Function start
  47875. t1 = watcher._group.__StreamGroup__controller_A;
  47876. t1 === $ && A.throwUnnamedLateFieldNI();
  47877. t1 = new A._StreamIterator(A.checkNotNullable($async$self._debounceEvents$1(new A._ControllerStream(t1, A._instanceType(t1)._eval$1("_ControllerStream<1>"))), "stream", type$.Object));
  47878. $async$handler = 3;
  47879. t2 = $async$self._watch$_options._options;
  47880. case 6:
  47881. // for condition
  47882. $async$goto = 8;
  47883. return A._asyncAwait(t1.moveNext$0(), $async$watch$1);
  47884. case 8:
  47885. // returning from await.
  47886. if (!$async$result) {
  47887. // goto after for
  47888. $async$goto = 7;
  47889. break;
  47890. }
  47891. $event = t1.get$current(t1);
  47892. extension = A.ParsedPath_ParsedPath$parse($event.path, $.$get$context().style)._splitExtension$1(1)[1];
  47893. if (!J.$eq$(extension, ".sass") && !J.$eq$(extension, ".scss") && !J.$eq$(extension, ".css")) {
  47894. // goto for condition
  47895. $async$goto = 6;
  47896. break;
  47897. }
  47898. case 9:
  47899. // switch
  47900. switch ($event.type) {
  47901. case B.ChangeType_modify:
  47902. // goto case
  47903. $async$goto = 11;
  47904. break;
  47905. case B.ChangeType_add:
  47906. // goto case
  47907. $async$goto = 12;
  47908. break;
  47909. case B.ChangeType_remove:
  47910. // goto case
  47911. $async$goto = 13;
  47912. break;
  47913. default:
  47914. // goto after switch
  47915. $async$goto = 10;
  47916. break;
  47917. }
  47918. break;
  47919. case 11:
  47920. // case
  47921. $async$goto = 14;
  47922. return A._asyncAwait($async$self._handleModify$1($event.path), $async$watch$1);
  47923. case 14:
  47924. // returning from await.
  47925. success = $async$result;
  47926. if (!success && A._asBool(t2.$index(0, "stop-on-error"))) {
  47927. $async$next = [1];
  47928. // goto finally
  47929. $async$goto = 4;
  47930. break;
  47931. }
  47932. // goto after switch
  47933. $async$goto = 10;
  47934. break;
  47935. case 12:
  47936. // case
  47937. $async$goto = 15;
  47938. return A._asyncAwait($async$self._handleAdd$1($event.path), $async$watch$1);
  47939. case 15:
  47940. // returning from await.
  47941. success0 = $async$result;
  47942. if (!success0 && A._asBool(t2.$index(0, "stop-on-error"))) {
  47943. $async$next = [1];
  47944. // goto finally
  47945. $async$goto = 4;
  47946. break;
  47947. }
  47948. // goto after switch
  47949. $async$goto = 10;
  47950. break;
  47951. case 13:
  47952. // case
  47953. $async$goto = 16;
  47954. return A._asyncAwait($async$self._handleRemove$1($event.path), $async$watch$1);
  47955. case 16:
  47956. // returning from await.
  47957. success1 = $async$result;
  47958. if (!success1 && A._asBool(t2.$index(0, "stop-on-error"))) {
  47959. $async$next = [1];
  47960. // goto finally
  47961. $async$goto = 4;
  47962. break;
  47963. }
  47964. // goto after switch
  47965. $async$goto = 10;
  47966. break;
  47967. case 10:
  47968. // after switch
  47969. // goto for condition
  47970. $async$goto = 6;
  47971. break;
  47972. case 7:
  47973. // after for
  47974. $async$next.push(5);
  47975. // goto finally
  47976. $async$goto = 4;
  47977. break;
  47978. case 3:
  47979. // uncaught
  47980. $async$next = [2];
  47981. case 4:
  47982. // finally
  47983. $async$handler = 2;
  47984. $async$goto = 17;
  47985. return A._asyncAwait(t1.cancel$0(), $async$watch$1);
  47986. case 17:
  47987. // returning from await.
  47988. // goto the next finally handler
  47989. $async$goto = $async$next.pop();
  47990. break;
  47991. case 5:
  47992. // after finally
  47993. case 1:
  47994. // return
  47995. return A._asyncReturn($async$returnValue, $async$completer);
  47996. case 2:
  47997. // rethrow
  47998. return A._asyncRethrow($async$currentError, $async$completer);
  47999. }
  48000. });
  48001. return A._asyncStartSync($async$watch$1, $async$completer);
  48002. },
  48003. _handleModify$1(path) {
  48004. return this._handleModify$body$_Watcher(path);
  48005. },
  48006. _handleModify$body$_Watcher(path) {
  48007. var $async$goto = 0,
  48008. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  48009. $async$returnValue, $async$self = this, t2, t0, url, _0_0, node, t1;
  48010. var $async$_handleModify$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  48011. if ($async$errorCode === 1)
  48012. return A._asyncRethrow($async$result, $async$completer);
  48013. while (true)
  48014. switch ($async$goto) {
  48015. case 0:
  48016. // Function start
  48017. t1 = A.isNodeJs() ? self.process : null;
  48018. if (!J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32")) {
  48019. t1 = A.isNodeJs() ? self.process : null;
  48020. t1 = J.$eq$(t1 == null ? null : J.get$platform$x(t1), "darwin");
  48021. } else
  48022. t1 = true;
  48023. if (t1) {
  48024. t1 = $.$get$context();
  48025. t2 = A._realCasePath(A.absolute(t1.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  48026. t0 = t2;
  48027. t2 = t1;
  48028. t1 = t0;
  48029. } else {
  48030. t1 = $.$get$context();
  48031. t2 = t1.canonicalize$1(0, path);
  48032. t0 = t2;
  48033. t2 = t1;
  48034. t1 = t0;
  48035. }
  48036. url = t2.toUri$1(t1);
  48037. t1 = $async$self._graph;
  48038. _0_0 = t1._nodes.$index(0, url);
  48039. if (_0_0 != null) {
  48040. node = _0_0;
  48041. t2 = true;
  48042. } else {
  48043. node = null;
  48044. t2 = false;
  48045. }
  48046. $async$goto = t2 ? 3 : 5;
  48047. break;
  48048. case 3:
  48049. // then
  48050. t1.reload$1(url);
  48051. $async$goto = 6;
  48052. return A._asyncAwait($async$self._recompileDownstream$1(A._setArrayType([node], type$.JSArray_StylesheetNode)), $async$_handleModify$1);
  48053. case 6:
  48054. // returning from await.
  48055. $async$returnValue = $async$result;
  48056. // goto return
  48057. $async$goto = 1;
  48058. break;
  48059. // goto join
  48060. $async$goto = 4;
  48061. break;
  48062. case 5:
  48063. // else
  48064. $async$returnValue = $async$self._handleAdd$1(path);
  48065. // goto return
  48066. $async$goto = 1;
  48067. break;
  48068. case 4:
  48069. // join
  48070. case 1:
  48071. // return
  48072. return A._asyncReturn($async$returnValue, $async$completer);
  48073. }
  48074. });
  48075. return A._asyncStartSync($async$_handleModify$1, $async$completer);
  48076. },
  48077. _handleAdd$1(path) {
  48078. return this._handleAdd$body$_Watcher(path);
  48079. },
  48080. _handleAdd$body$_Watcher(path) {
  48081. var $async$goto = 0,
  48082. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  48083. $async$returnValue, $async$self = this, t1, success, t2, t3, t0, destination;
  48084. var $async$_handleAdd$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  48085. if ($async$errorCode === 1)
  48086. return A._asyncRethrow($async$result, $async$completer);
  48087. while (true)
  48088. switch ($async$goto) {
  48089. case 0:
  48090. // Function start
  48091. destination = $async$self._destinationFor$1(path);
  48092. $async$goto = destination != null ? 3 : 5;
  48093. break;
  48094. case 3:
  48095. // then
  48096. t1 = type$.nullable_String;
  48097. $async$goto = 6;
  48098. return A._asyncAwait(A.compileStylesheets($async$self._watch$_options, $async$self._graph, A.LinkedHashMap_LinkedHashMap$_literal([path, destination], t1, t1), true), $async$_handleAdd$1);
  48099. case 6:
  48100. // returning from await.
  48101. success = $async$result;
  48102. // goto join
  48103. $async$goto = 4;
  48104. break;
  48105. case 5:
  48106. // else
  48107. success = true;
  48108. case 4:
  48109. // join
  48110. t1 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  48111. t2 = A.isNodeJs() ? self.process : null;
  48112. if (!J.$eq$(t2 == null ? null : J.get$platform$x(t2), "win32")) {
  48113. t2 = A.isNodeJs() ? self.process : null;
  48114. t2 = J.$eq$(t2 == null ? null : J.get$platform$x(t2), "darwin");
  48115. } else
  48116. t2 = true;
  48117. if (t2) {
  48118. t2 = $.$get$context();
  48119. t3 = A._realCasePath(A.absolute(t2.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  48120. t0 = t3;
  48121. t3 = t2;
  48122. t2 = t0;
  48123. } else {
  48124. t2 = $.$get$context();
  48125. t3 = t2.canonicalize$1(0, path);
  48126. t0 = t3;
  48127. t3 = t2;
  48128. t2 = t0;
  48129. }
  48130. $async$goto = 7;
  48131. return A._asyncAwait($async$self._recompileDownstream$1($async$self._graph.addCanonical$3(new A.FilesystemImporter(t1), t3.toUri$1(t2), t3.toUri$1(path))), $async$_handleAdd$1);
  48132. case 7:
  48133. // returning from await.
  48134. $async$returnValue = $async$result && success;
  48135. // goto return
  48136. $async$goto = 1;
  48137. break;
  48138. case 1:
  48139. // return
  48140. return A._asyncReturn($async$returnValue, $async$completer);
  48141. }
  48142. });
  48143. return A._asyncStartSync($async$_handleAdd$1, $async$completer);
  48144. },
  48145. _handleRemove$1(path) {
  48146. return this._handleRemove$body$_Watcher(path);
  48147. },
  48148. _handleRemove$body$_Watcher(path) {
  48149. var $async$goto = 0,
  48150. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  48151. $async$returnValue, $async$self = this, t2, t0, url, _0_0, destination, t3, node, toRecompile, t1;
  48152. var $async$_handleRemove$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  48153. if ($async$errorCode === 1)
  48154. return A._asyncRethrow($async$result, $async$completer);
  48155. while (true)
  48156. switch ($async$goto) {
  48157. case 0:
  48158. // Function start
  48159. t1 = A.isNodeJs() ? self.process : null;
  48160. if (!J.$eq$(t1 == null ? null : J.get$platform$x(t1), "win32")) {
  48161. t1 = A.isNodeJs() ? self.process : null;
  48162. t1 = J.$eq$(t1 == null ? null : J.get$platform$x(t1), "darwin");
  48163. } else
  48164. t1 = true;
  48165. if (t1) {
  48166. t1 = $.$get$context();
  48167. t2 = A._realCasePath(A.absolute(t1.normalize$1(path), null, null, null, null, null, null, null, null, null, null, null, null, null, null));
  48168. t0 = t2;
  48169. t2 = t1;
  48170. t1 = t0;
  48171. } else {
  48172. t1 = $.$get$context();
  48173. t2 = t1.canonicalize$1(0, path);
  48174. t0 = t2;
  48175. t2 = t1;
  48176. t1 = t0;
  48177. }
  48178. url = t2.toUri$1(t1);
  48179. t1 = $async$self._graph;
  48180. t2 = t1._nodes;
  48181. if (t2.containsKey$1(url)) {
  48182. _0_0 = $async$self._destinationFor$1(path);
  48183. if (_0_0 != null) {
  48184. destination = _0_0;
  48185. t3 = true;
  48186. } else {
  48187. destination = null;
  48188. t3 = false;
  48189. }
  48190. if (t3)
  48191. $async$self._delete$1(destination);
  48192. }
  48193. t3 = A.absolute(".", null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  48194. node = t2.remove$1(0, url);
  48195. t2 = node != null;
  48196. if (t2) {
  48197. t1._transitiveModificationTimes.clear$0(0);
  48198. t1.importCache.clearImport$1(url);
  48199. node._stylesheet_graph$_remove$0();
  48200. }
  48201. toRecompile = t1._recanonicalizeImports$2(new A.FilesystemImporter(t3), url);
  48202. if (t2)
  48203. toRecompile.addAll$1(0, node._downstream);
  48204. $async$goto = 3;
  48205. return A._asyncAwait($async$self._recompileDownstream$1(toRecompile), $async$_handleRemove$1);
  48206. case 3:
  48207. // returning from await.
  48208. $async$returnValue = $async$result;
  48209. // goto return
  48210. $async$goto = 1;
  48211. break;
  48212. case 1:
  48213. // return
  48214. return A._asyncReturn($async$returnValue, $async$completer);
  48215. }
  48216. });
  48217. return A._asyncStartSync($async$_handleRemove$1, $async$completer);
  48218. },
  48219. _debounceEvents$1(events) {
  48220. var t1 = type$.WatchEvent;
  48221. t1 = A.RateLimit__debounceAggregate(events, A.Duration$(25), A.instantiate1(A.rate_limit___collect$closure(), t1), false, true, t1, type$.List_WatchEvent);
  48222. return new A._ExpandStream(new A._Watcher__debounceEvents_closure(), t1, A._instanceType(t1)._eval$1("_ExpandStream<Stream.T,WatchEvent>"));
  48223. },
  48224. _recompileDownstream$1(nodes) {
  48225. return this._recompileDownstream$body$_Watcher(nodes);
  48226. },
  48227. _recompileDownstream$body$_Watcher(nodes) {
  48228. var $async$goto = 0,
  48229. $async$completer = A._makeAsyncAwaitCompleter(type$.bool),
  48230. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, allSucceeded, t6, t7, t8, sourcesToDestinations, success, _i, seen;
  48231. var $async$_recompileDownstream$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  48232. if ($async$errorCode === 1)
  48233. return A._asyncRethrow($async$result, $async$completer);
  48234. while (true)
  48235. switch ($async$goto) {
  48236. case 0:
  48237. // Function start
  48238. seen = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
  48239. t1 = type$.UnmodifiableSetView_StylesheetNode, t2 = type$.JSArray_StylesheetNode, t3 = $async$self._watch$_options, t4 = $async$self._graph, t5 = t3._options, allSucceeded = true;
  48240. case 3:
  48241. // for condition
  48242. if (!(t6 = J.getInterceptor$asx(nodes), t6.get$isNotEmpty(nodes))) {
  48243. // goto after for
  48244. $async$goto = 5;
  48245. break;
  48246. }
  48247. t7 = A._setArrayType([], t2);
  48248. for (t6 = t6.get$iterator(nodes); t6.moveNext$0();) {
  48249. t8 = t6.get$current(t6);
  48250. if (seen.add$1(0, t8))
  48251. t7.push(t8);
  48252. }
  48253. sourcesToDestinations = $async$self._sourceEntrypointsToDestinations$1(t7);
  48254. $async$goto = sourcesToDestinations.__js_helper$_length !== 0 ? 6 : 7;
  48255. break;
  48256. case 6:
  48257. // then
  48258. $async$goto = 8;
  48259. return A._asyncAwait(A.compileStylesheets(t3, t4, sourcesToDestinations, true), $async$_recompileDownstream$1);
  48260. case 8:
  48261. // returning from await.
  48262. success = $async$result;
  48263. if (!success && A._asBool(t5.$index(0, "stop-on-error"))) {
  48264. $async$returnValue = false;
  48265. // goto return
  48266. $async$goto = 1;
  48267. break;
  48268. }
  48269. allSucceeded = allSucceeded && success;
  48270. case 7:
  48271. // join
  48272. t6 = A._setArrayType([], t2);
  48273. for (t8 = t7.length, _i = 0; _i < t7.length; t7.length === t8 || (0, A.throwConcurrentModificationError)(t7), ++_i)
  48274. B.JSArray_methods.addAll$1(t6, new A.UnmodifiableSetView0(t7[_i]._downstream, t1));
  48275. case 4:
  48276. // for update
  48277. nodes = t6;
  48278. // goto for condition
  48279. $async$goto = 3;
  48280. break;
  48281. case 5:
  48282. // after for
  48283. $async$returnValue = allSucceeded;
  48284. // goto return
  48285. $async$goto = 1;
  48286. break;
  48287. case 1:
  48288. // return
  48289. return A._asyncReturn($async$returnValue, $async$completer);
  48290. }
  48291. });
  48292. return A._asyncStartSync($async$_recompileDownstream$1, $async$completer);
  48293. },
  48294. _sourceEntrypointsToDestinations$1(nodes) {
  48295. var _i, url, source, _0_0, destination, t2,
  48296. t1 = type$.String,
  48297. entrypoints = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  48298. for (t1 = nodes.length, _i = 0; _i < nodes.length; nodes.length === t1 || (0, A.throwConcurrentModificationError)(nodes), ++_i) {
  48299. url = nodes[_i].canonicalUrl;
  48300. if (url.get$scheme() !== "file")
  48301. continue;
  48302. source = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  48303. _0_0 = this._destinationFor$1(source);
  48304. if (_0_0 != null) {
  48305. destination = _0_0;
  48306. t2 = true;
  48307. } else {
  48308. destination = null;
  48309. t2 = false;
  48310. }
  48311. if (t2)
  48312. entrypoints.$indexSet(0, source, destination);
  48313. }
  48314. return entrypoints;
  48315. },
  48316. _destinationFor$1(source) {
  48317. var t2, _0_0, destination, t3, sourceDir, destinationDir, _null = null,
  48318. t1 = this._watch$_options;
  48319. t1._ensureSources$0();
  48320. t2 = type$.String;
  48321. _0_0 = t1._sourcesToDestinations.cast$2$0(0, t2, t2).$index(0, source);
  48322. if (_0_0 != null) {
  48323. destination = _0_0;
  48324. t3 = true;
  48325. } else {
  48326. destination = _null;
  48327. t3 = false;
  48328. }
  48329. if (t3)
  48330. return destination;
  48331. t3 = $.$get$context();
  48332. if (B.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(source, t3.style).get$basename(), "_"))
  48333. return _null;
  48334. t1._ensureSources$0();
  48335. t1 = t1.__ExecutableOptions__sourceDirectoriesToDestinations_F;
  48336. t1 === $ && A.throwUnnamedLateFieldNI();
  48337. t2 = A.MapExtensions_get_pairs(t1.cast$2$0(0, t2, t2), t2, t2);
  48338. t2 = t2.get$iterator(t2);
  48339. for (; t2.moveNext$0();) {
  48340. t1 = t2.get$current(t2);
  48341. sourceDir = t1._0;
  48342. destinationDir = t1._1;
  48343. if (t3._isWithinOrEquals$2(sourceDir, source) !== B._PathRelation_within)
  48344. continue;
  48345. destination = A.join(destinationDir, t3.withoutExtension$1(t3.relative$2$from(source, sourceDir)) + ".css", _null);
  48346. if (t3._isWithinOrEquals$2(destination, source) !== B._PathRelation_equal)
  48347. return destination;
  48348. }
  48349. return _null;
  48350. }
  48351. };
  48352. A._Watcher__debounceEvents_closure.prototype = {
  48353. call$1(buffer) {
  48354. var t3, t4, t5, _0_0, _0_1, _0_4, newType, _1_1,
  48355. t1 = type$.ChangeType,
  48356. t2 = A.PathMap__create(null, t1);
  48357. for (t3 = J.get$iterator$ax(buffer); t3.moveNext$0();) {
  48358. t4 = t3.get$current(t3);
  48359. t5 = t4.path;
  48360. _0_0 = new A._Record_2(t2.$index(0, t5), t4.type);
  48361. _0_1 = A._InitializedCell$(new A._Watcher__debounceEvents__closure(_0_0));
  48362. _0_4 = A._InitializedCell$(new A._Watcher__debounceEvents__closure0(_0_0));
  48363. $label0$0: {
  48364. if (_0_1._readFinal$0() == null) {
  48365. newType = _0_4._readFinal$0();
  48366. t4 = true;
  48367. } else {
  48368. newType = null;
  48369. t4 = false;
  48370. }
  48371. if (t4) {
  48372. t4 = newType;
  48373. break $label0$0;
  48374. }
  48375. if (B.ChangeType_remove === _0_4._readFinal$0()) {
  48376. t4 = B.ChangeType_remove;
  48377. break $label0$0;
  48378. }
  48379. if (B.ChangeType_add === _0_1._readFinal$0()) {
  48380. t4 = B.ChangeType_add;
  48381. break $label0$0;
  48382. }
  48383. t4 = B.ChangeType_modify;
  48384. break $label0$0;
  48385. }
  48386. t2.$indexSet(0, t5, t4);
  48387. }
  48388. t3 = A._setArrayType([], type$.JSArray_WatchEvent);
  48389. for (t1 = A.MapExtensions_get_pairs(new A.PathMap(t2, type$.PathMap_ChangeType), type$.nullable_String, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  48390. t2 = t1.get$current(t1);
  48391. _1_1 = A._InitializedCell$(new A._Watcher__debounceEvents__closure1(t2));
  48392. _1_1._readFinal$0().toString;
  48393. t4 = _1_1._readFinal$0();
  48394. t4.toString;
  48395. t3.push(new A.WatchEvent(t2._1, t4));
  48396. }
  48397. return t3;
  48398. },
  48399. $signature: 339
  48400. };
  48401. A._Watcher__debounceEvents__closure.prototype = {
  48402. call$0() {
  48403. return this._0_0._0;
  48404. },
  48405. $signature: 650
  48406. };
  48407. A._Watcher__debounceEvents__closure0.prototype = {
  48408. call$0() {
  48409. return this._0_0._1;
  48410. },
  48411. $signature: 348
  48412. };
  48413. A._Watcher__debounceEvents__closure1.prototype = {
  48414. call$0() {
  48415. return this._1_0._0;
  48416. },
  48417. $signature: 30
  48418. };
  48419. A.EmptyExtensionStore.prototype = {
  48420. get$_extensions() {
  48421. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__extensions, "get$_empty_extension_store$_extensions", 1, [], [], 0)));
  48422. },
  48423. get$_sourceSpecificity() {
  48424. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__sourceSpecificity, "get$_empty_extension_store$_sourceSpecificity", 1, [], [], 0)));
  48425. },
  48426. get$isEmpty(_) {
  48427. return true;
  48428. },
  48429. get$simpleSelectors() {
  48430. return B.C_EmptyUnmodifiableSet;
  48431. },
  48432. extensionsWhereTarget$1(callback) {
  48433. return B.List_empty5;
  48434. },
  48435. addExtensions$1(extenders) {
  48436. throw A.wrapException(A.UnsupportedError$(string$.addExt));
  48437. },
  48438. clone$0() {
  48439. return B.Record2_EmptyExtensionStore_Map_empty;
  48440. },
  48441. $isExtensionStore: 1
  48442. };
  48443. A.Extension.prototype = {
  48444. toString$0(_) {
  48445. var t1 = this.extender.toString$0(0),
  48446. t2 = this.target.toString$0(0),
  48447. t3 = this.isOptional ? " !optional" : "";
  48448. return t1 + " {@extend " + t2 + t3 + "}";
  48449. }
  48450. };
  48451. A.Extender.prototype = {
  48452. assertCompatibleMediaContext$1(mediaContext) {
  48453. var expectedMediaContext,
  48454. extension = this._extension;
  48455. if (extension == null)
  48456. return;
  48457. expectedMediaContext = extension.mediaContext;
  48458. if (expectedMediaContext == null)
  48459. return;
  48460. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  48461. return;
  48462. throw A.wrapException(A.SassException$(string$.You_ma, extension.span, null));
  48463. },
  48464. toString$0(_) {
  48465. return A.serializeSelector(this.selector, true);
  48466. }
  48467. };
  48468. A.ExtensionStore.prototype = {
  48469. get$isEmpty(_) {
  48470. return this._extensions.__js_helper$_length === 0;
  48471. },
  48472. get$simpleSelectors() {
  48473. return new A.MapKeySet(this._selectors, type$.MapKeySet_SimpleSelector);
  48474. },
  48475. extensionsWhereTarget$1(callback) {
  48476. return new A._SyncStarIterable(this.extensionsWhereTarget$body$ExtensionStore(callback), type$._SyncStarIterable_Extension);
  48477. },
  48478. extensionsWhereTarget$body$ExtensionStore($async$callback) {
  48479. var $async$self = this;
  48480. return function() {
  48481. var callback = $async$callback;
  48482. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, simple, sources, t3;
  48483. return function $async$extensionsWhereTarget$1($async$iterator, $async$errorCode, $async$result) {
  48484. if ($async$errorCode === 1) {
  48485. $async$currentError = $async$result;
  48486. $async$goto = $async$handler;
  48487. }
  48488. while (true)
  48489. switch ($async$goto) {
  48490. case 0:
  48491. // Function start
  48492. t1 = A.MapExtensions_get_pairs($async$self._extensions, type$.SimpleSelector, type$.Map_ComplexSelector_Extension), t1 = t1.get$iterator(t1);
  48493. case 2:
  48494. // for condition
  48495. if (!t1.moveNext$0()) {
  48496. // goto after for
  48497. $async$goto = 3;
  48498. break;
  48499. }
  48500. t2 = t1.get$current(t1);
  48501. simple = t2._0;
  48502. sources = t2._1;
  48503. if (!callback.call$1(simple)) {
  48504. // goto for condition
  48505. $async$goto = 2;
  48506. break;
  48507. }
  48508. t2 = sources.get$values(sources), t2 = t2.get$iterator(t2);
  48509. case 4:
  48510. // for condition
  48511. if (!t2.moveNext$0()) {
  48512. // goto after for
  48513. $async$goto = 5;
  48514. break;
  48515. }
  48516. t3 = t2.get$current(t2);
  48517. $async$goto = t3 instanceof A.MergedExtension ? 6 : 8;
  48518. break;
  48519. case 6:
  48520. // then
  48521. t3 = t3.unmerge$0();
  48522. $async$goto = 9;
  48523. return $async$iterator._yieldStar$1(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  48524. case 9:
  48525. // after yield
  48526. // goto join
  48527. $async$goto = 7;
  48528. break;
  48529. case 8:
  48530. // else
  48531. $async$goto = !t3.isOptional ? 10 : 11;
  48532. break;
  48533. case 10:
  48534. // then
  48535. $async$goto = 12;
  48536. return $async$iterator._async$_current = t3, 1;
  48537. case 12:
  48538. // after yield
  48539. case 11:
  48540. // join
  48541. case 7:
  48542. // join
  48543. // goto for condition
  48544. $async$goto = 4;
  48545. break;
  48546. case 5:
  48547. // after for
  48548. // goto for condition
  48549. $async$goto = 2;
  48550. break;
  48551. case 3:
  48552. // after for
  48553. // implicit return
  48554. return 0;
  48555. case 1:
  48556. // rethrow
  48557. return $async$iterator._datum = $async$currentError, 3;
  48558. }
  48559. };
  48560. };
  48561. },
  48562. addSelector$2(selector, mediaContext) {
  48563. var originalSelector, error, stackTrace, t1, exception, t2, t3, t4, modifiableSelector, _this = this;
  48564. selector = selector;
  48565. originalSelector = selector;
  48566. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true))
  48567. _this._originals.addAll$1(0, originalSelector.components);
  48568. t1 = _this._extensions;
  48569. if (t1.__js_helper$_length !== 0)
  48570. try {
  48571. selector = _this._extendList$3(originalSelector, t1, mediaContext);
  48572. } catch (exception) {
  48573. t1 = A.unwrapException(exception);
  48574. if (t1 instanceof A.SassException) {
  48575. error = t1;
  48576. stackTrace = A.getTraceFromException(exception);
  48577. t1 = error;
  48578. t2 = J.getInterceptor$z(t1);
  48579. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "");
  48580. t2 = error._span_exception$_message;
  48581. t3 = error;
  48582. t4 = J.getInterceptor$z(t3);
  48583. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  48584. A.throwWithTrace(new A.SassException(B.Set_empty, "From " + t1 + "\n" + t2, t3), error, stackTrace);
  48585. } else
  48586. throw exception;
  48587. }
  48588. modifiableSelector = new A.ModifiableBox(selector, type$.ModifiableBox_SelectorList);
  48589. if (mediaContext != null)
  48590. _this._mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  48591. _this._registerSelector$2(selector, modifiableSelector);
  48592. return new A.Box(modifiableSelector, type$.Box_SelectorList);
  48593. },
  48594. _registerSelector$2(list, selector) {
  48595. var t1, t2, t3, _i, t4, t5, _i0, t6, t7, _i1, simple, _0_2, selectorInPseudo, t8;
  48596. for (t1 = list.components, t2 = t1.length, t3 = this._selectors, _i = 0; _i < t2; ++_i)
  48597. for (t4 = t1[_i].components, t5 = t4.length, _i0 = 0; _i0 < t5; ++_i0)
  48598. for (t6 = t4[_i0].selector.components, t7 = t6.length, _i1 = 0; _i1 < t7; ++_i1) {
  48599. simple = t6[_i1];
  48600. J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure()), selector);
  48601. _0_2 = A._InitializedCell$(new A.ExtensionStore__registerSelector_closure0(simple));
  48602. if (simple instanceof A.PseudoSelector)
  48603. if (_0_2._readFinal$0() != null) {
  48604. selectorInPseudo = _0_2._readFinal$0();
  48605. t8 = true;
  48606. } else {
  48607. selectorInPseudo = null;
  48608. t8 = false;
  48609. }
  48610. else {
  48611. selectorInPseudo = null;
  48612. t8 = false;
  48613. }
  48614. if (t8)
  48615. this._registerSelector$2(selectorInPseudo, selector);
  48616. }
  48617. },
  48618. addExtension$4(extender, target, extend, mediaContext) {
  48619. var t2, t3, t4, t5, t6, t7, t8, t9, t10, newExtensions, _i, complex, t11, extension, _0_0, existingExtension, t12, newExtensionsByTarget, additionalExtensions, _this = this,
  48620. selectors = _this._selectors.$index(0, target),
  48621. t1 = _this._extensionsByExtender,
  48622. existingExtensions = t1.$index(0, target),
  48623. sources = _this._extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure());
  48624. for (t2 = extender.components, t3 = t2.length, t4 = selectors == null, t5 = _this._sourceSpecificity, t6 = extend.span, t7 = extend.isOptional, t8 = existingExtensions != null, t9 = type$.ComplexSelector, t10 = type$.Extension, newExtensions = null, _i = 0; _i < t3; ++_i) {
  48625. complex = t2[_i];
  48626. if (complex.accept$1(B.C__IsUselessVisitor))
  48627. continue;
  48628. complex.get$specificity();
  48629. t11 = new A.Extender(complex, false);
  48630. extension = t11._extension = new A.Extension(t11, target, mediaContext, t7, t6);
  48631. _0_0 = sources.$index(0, complex);
  48632. if (_0_0 != null) {
  48633. existingExtension = _0_0;
  48634. t11 = true;
  48635. } else {
  48636. existingExtension = null;
  48637. t11 = false;
  48638. }
  48639. if (t11) {
  48640. sources.$indexSet(0, complex, A.MergedExtension_merge(existingExtension, extension));
  48641. continue;
  48642. }
  48643. sources.$indexSet(0, complex, extension);
  48644. for (t11 = new A._SyncStarIterator(_this._simpleSelectors$1(complex)._outerHelper()); t11.moveNext$0();) {
  48645. t12 = t11._async$_current;
  48646. J.add$1$ax(t1.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure0()), extension);
  48647. t5.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure1(complex));
  48648. }
  48649. if (!t4 || t8) {
  48650. if (newExtensions == null)
  48651. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t9, t10);
  48652. newExtensions.$indexSet(0, complex, extension);
  48653. }
  48654. }
  48655. if (newExtensions == null)
  48656. return;
  48657. t1 = type$.SimpleSelector;
  48658. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension);
  48659. if (t8) {
  48660. additionalExtensions = _this._extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  48661. if (additionalExtensions != null)
  48662. A.mapAddAll2(newExtensionsByTarget, additionalExtensions, t1, t9, t10);
  48663. }
  48664. if (!t4)
  48665. _this._extendExistingSelectors$2(selectors, newExtensionsByTarget);
  48666. },
  48667. _simpleSelectors$1(complex) {
  48668. return new A._SyncStarIterable(this._simpleSelectors$body$ExtensionStore(complex), type$._SyncStarIterable_SimpleSelector);
  48669. },
  48670. _simpleSelectors$body$ExtensionStore($async$complex) {
  48671. var $async$self = this;
  48672. return function() {
  48673. var complex = $async$complex;
  48674. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, _i, t3, t4, _i0, simple, _0_2, selector, t5, t6, _i1;
  48675. return function $async$_simpleSelectors$1($async$iterator, $async$errorCode, $async$result) {
  48676. if ($async$errorCode === 1) {
  48677. $async$currentError = $async$result;
  48678. $async$goto = $async$handler;
  48679. }
  48680. while (true)
  48681. switch ($async$goto) {
  48682. case 0:
  48683. // Function start
  48684. t1 = complex.components, t2 = t1.length, _i = 0;
  48685. case 2:
  48686. // for condition
  48687. if (!(_i < t2)) {
  48688. // goto after for
  48689. $async$goto = 4;
  48690. break;
  48691. }
  48692. t3 = t1[_i].selector.components, t4 = t3.length, _i0 = 0;
  48693. case 5:
  48694. // for condition
  48695. if (!(_i0 < t4)) {
  48696. // goto after for
  48697. $async$goto = 7;
  48698. break;
  48699. }
  48700. simple = t3[_i0];
  48701. $async$goto = 8;
  48702. return $async$iterator._async$_current = simple, 1;
  48703. case 8:
  48704. // after yield
  48705. _0_2 = A._InitializedCell$(new A.ExtensionStore__simpleSelectors_closure(simple));
  48706. if (simple instanceof A.PseudoSelector)
  48707. if (_0_2._readFinal$0() != null) {
  48708. selector = _0_2._readFinal$0();
  48709. t5 = true;
  48710. } else {
  48711. selector = null;
  48712. t5 = false;
  48713. }
  48714. else {
  48715. selector = null;
  48716. t5 = false;
  48717. }
  48718. $async$goto = t5 ? 9 : 10;
  48719. break;
  48720. case 9:
  48721. // then
  48722. t5 = selector.components, t6 = t5.length, _i1 = 0;
  48723. case 11:
  48724. // for condition
  48725. if (!(_i1 < t6)) {
  48726. // goto after for
  48727. $async$goto = 13;
  48728. break;
  48729. }
  48730. $async$goto = 14;
  48731. return $async$iterator._yieldStar$1($async$self._simpleSelectors$1(t5[_i1]));
  48732. case 14:
  48733. // after yield
  48734. case 12:
  48735. // for update
  48736. ++_i1;
  48737. // goto for condition
  48738. $async$goto = 11;
  48739. break;
  48740. case 13:
  48741. // after for
  48742. case 10:
  48743. // join
  48744. case 6:
  48745. // for update
  48746. ++_i0;
  48747. // goto for condition
  48748. $async$goto = 5;
  48749. break;
  48750. case 7:
  48751. // after for
  48752. case 3:
  48753. // for update
  48754. ++_i;
  48755. // goto for condition
  48756. $async$goto = 2;
  48757. break;
  48758. case 4:
  48759. // after for
  48760. // implicit return
  48761. return 0;
  48762. case 1:
  48763. // rethrow
  48764. return $async$iterator._datum = $async$currentError, 3;
  48765. }
  48766. };
  48767. };
  48768. },
  48769. _extendExistingExtensions$2(extensions, newExtensions) {
  48770. var extension, selectors, error, stackTrace, t1, t2, t3, t4, t5, t6, additionalExtensions, _i, t7, exception, t8, t9, selectors0, t10, t11, t12, t13, t14, withExtender, _0_0, existingExtension, _i0, _i1, _null = null;
  48771. 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) {
  48772. extension = t1[_i];
  48773. t7 = t6.$index(0, extension.target);
  48774. t7.toString;
  48775. selectors = null;
  48776. try {
  48777. selectors = this._extendComplex$3(extension.extender.selector, newExtensions, extension.mediaContext);
  48778. if (selectors == null)
  48779. continue;
  48780. } catch (exception) {
  48781. t8 = A.unwrapException(exception);
  48782. if (t8 instanceof A.SassException) {
  48783. error = t8;
  48784. stackTrace = A.getTraceFromException(exception);
  48785. A.throwWithTrace(error.withAdditionalSpan$2(extension.extender.selector.span, "target selector"), error, stackTrace);
  48786. } else
  48787. throw exception;
  48788. }
  48789. t8 = J.get$first$ax(selectors);
  48790. t9 = extension.extender.selector;
  48791. if (B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components)) {
  48792. t8 = selectors;
  48793. t9 = A.instanceType(t8);
  48794. selectors0 = new A.SubListIterable(t8, 1, _null, t9._eval$1("SubListIterable<1>"));
  48795. selectors0.SubListIterable$3(t8, 1, _null, t9._precomputed1);
  48796. selectors = selectors0;
  48797. }
  48798. for (t8 = J.get$iterator$ax(selectors); t8.moveNext$0();) {
  48799. t9 = t8.get$current(t8);
  48800. t10 = extension;
  48801. t11 = t10.target;
  48802. t12 = t10.span;
  48803. t13 = t10.mediaContext;
  48804. t10 = t10.isOptional;
  48805. t9.get$specificity();
  48806. t14 = new A.Extender(t9, false);
  48807. withExtender = t14._extension = new A.Extension(t14, t11, t13, t10, t12);
  48808. _0_0 = t7.$index(0, t9);
  48809. if (_0_0 != null) {
  48810. existingExtension = _0_0;
  48811. t10 = true;
  48812. } else {
  48813. existingExtension = _null;
  48814. t10 = false;
  48815. }
  48816. if (t10)
  48817. t7.$indexSet(0, t9, A.MergedExtension_merge(existingExtension, withExtender));
  48818. else {
  48819. t7.$indexSet(0, t9, withExtender);
  48820. for (t10 = t9.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0)
  48821. for (t12 = t10[_i0].selector.components, t13 = t12.length, _i1 = 0; _i1 < t13; ++_i1)
  48822. J.add$1$ax(t3.putIfAbsent$2(t12[_i1], new A.ExtensionStore__extendExistingExtensions_closure()), withExtender);
  48823. if (newExtensions.containsKey$1(extension.target)) {
  48824. if (additionalExtensions == null)
  48825. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  48826. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure0()).$indexSet(0, t9, withExtender);
  48827. }
  48828. }
  48829. }
  48830. }
  48831. return additionalExtensions;
  48832. },
  48833. _extendExistingSelectors$2(selectors, newExtensions) {
  48834. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4, t5, t6;
  48835. for (t1 = selectors.get$iterator(selectors), t2 = this._mediaContexts; t1.moveNext$0();) {
  48836. selector = t1.get$current(t1);
  48837. oldValue = selector.value;
  48838. try {
  48839. selector.value = this._extendList$3(selector.value, newExtensions, t2.$index(0, selector));
  48840. } catch (exception) {
  48841. t3 = A.unwrapException(exception);
  48842. if (t3 instanceof A.SassException) {
  48843. error = t3;
  48844. stackTrace = A.getTraceFromException(exception);
  48845. t3 = selector.value.span.message$1(0, "");
  48846. t4 = error._span_exception$_message;
  48847. t5 = error;
  48848. t6 = J.getInterceptor$z(t5);
  48849. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  48850. A.throwWithTrace(new A.SassException(B.Set_empty, "From " + t3 + "\n" + t4, t5), error, stackTrace);
  48851. } else
  48852. throw exception;
  48853. }
  48854. if (oldValue === selector.value)
  48855. continue;
  48856. this._registerSelector$2(selector.value, selector);
  48857. }
  48858. },
  48859. addExtensions$1(extensionStores) {
  48860. var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, newExtensions, selectorsToExtend, extensionsToExtend, t12, t13, target, newSources, first, extensionsForTarget, t14, selectorsForTarget, t15, _2_0, existingSources, t16, extender, extension, _this = this, _null = null;
  48861. for (t1 = J.get$iterator$ax(extensionStores), t2 = type$.SimpleSelector, t3 = type$.Map_ComplexSelector_Extension, t4 = _this._extensions, t5 = type$.ComplexSelector, t6 = type$.Extension, t7 = _this._selectors, t8 = _this._extensionsByExtender, t9 = type$.JSArray_Extension, t10 = type$.ModifiableBox_SelectorList, t11 = _this._sourceSpecificity, newExtensions = _null, selectorsToExtend = newExtensions, extensionsToExtend = selectorsToExtend; t1.moveNext$0();) {
  48862. t12 = t1.get$current(t1);
  48863. if (t12.get$isEmpty(t12))
  48864. continue;
  48865. t11.addAll$1(0, t12.get$_sourceSpecificity());
  48866. for (t12 = A.MapExtensions_get_pairs(t12.get$_extensions(), t2, t3), t12 = t12.get$iterator(t12); t12.moveNext$0();) {
  48867. t13 = t12.get$current(t12);
  48868. target = t13._0;
  48869. newSources = t13._1;
  48870. if (target instanceof A.PlaceholderSelector) {
  48871. first = target.name.charCodeAt(0);
  48872. t13 = first === 45 || first === 95;
  48873. } else
  48874. t13 = false;
  48875. if (t13)
  48876. continue;
  48877. extensionsForTarget = t8.$index(0, target);
  48878. t13 = extensionsForTarget == null;
  48879. if (!t13) {
  48880. if (extensionsToExtend == null) {
  48881. extensionsToExtend = A._setArrayType([], t9);
  48882. t14 = extensionsToExtend;
  48883. } else
  48884. t14 = extensionsToExtend;
  48885. B.JSArray_methods.addAll$1(t14, extensionsForTarget);
  48886. }
  48887. selectorsForTarget = t7.$index(0, target);
  48888. t14 = selectorsForTarget != null;
  48889. if (t14) {
  48890. if (selectorsToExtend == null) {
  48891. selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  48892. t15 = selectorsToExtend;
  48893. } else
  48894. t15 = selectorsToExtend;
  48895. t15.addAll$1(0, selectorsForTarget);
  48896. }
  48897. _2_0 = t4.$index(0, target);
  48898. if (_2_0 != null) {
  48899. existingSources = _2_0;
  48900. t15 = true;
  48901. } else {
  48902. existingSources = _null;
  48903. t15 = false;
  48904. }
  48905. if (t15)
  48906. for (t15 = A.MapExtensions_get_pairs(newSources, t5, t6), t15 = t15.get$iterator(t15); t15.moveNext$0();) {
  48907. t16 = t15.get$current(t15);
  48908. extender = t16._0;
  48909. extension = t16._1;
  48910. if (existingSources.containsKey$1(extender)) {
  48911. t16 = existingSources.$index(0, extender);
  48912. extension = A.MergedExtension_merge(t16, extension);
  48913. existingSources.$indexSet(0, extender, extension);
  48914. } else
  48915. existingSources.$indexSet(0, extender, extension);
  48916. if (!t13 || t14) {
  48917. if (newExtensions == null) {
  48918. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  48919. t16 = newExtensions;
  48920. } else
  48921. t16 = newExtensions;
  48922. J.$indexSet$ax(t16.putIfAbsent$2(target, new A.ExtensionStore_addExtensions_closure()), extender, extension);
  48923. }
  48924. }
  48925. else {
  48926. t15 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  48927. t15.addAll$1(0, newSources);
  48928. t4.$indexSet(0, target, t15);
  48929. if (!t13 || t14) {
  48930. if (newExtensions == null) {
  48931. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  48932. t13 = newExtensions;
  48933. } else
  48934. t13 = newExtensions;
  48935. t14 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  48936. t14.addAll$1(0, newSources);
  48937. t13.$indexSet(0, target, t14);
  48938. }
  48939. }
  48940. }
  48941. }
  48942. if (newExtensions != null) {
  48943. if (extensionsToExtend != null)
  48944. _this._extendExistingExtensions$2(extensionsToExtend, newExtensions);
  48945. if (selectorsToExtend != null)
  48946. _this._extendExistingSelectors$2(selectorsToExtend, newExtensions);
  48947. }
  48948. },
  48949. _extendList$3(list, extensions, mediaQueryContext) {
  48950. var t1, t2, t3, extended, i, complex, result, t4;
  48951. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector, extended = null, i = 0; i < t2; ++i) {
  48952. complex = t1[i];
  48953. result = this._extendComplex$3(complex, extensions, mediaQueryContext);
  48954. if (result == null) {
  48955. if (extended != null)
  48956. extended.push(complex);
  48957. } else {
  48958. if (extended == null)
  48959. if (i === 0)
  48960. extended = A._setArrayType([], t3);
  48961. else {
  48962. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  48963. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  48964. }
  48965. B.JSArray_methods.addAll$1(extended, result);
  48966. }
  48967. }
  48968. if (extended == null)
  48969. return list;
  48970. t1 = this._originals;
  48971. return A.SelectorList$(this._trim$2(extended, t1.get$contains(t1)), list.span);
  48972. },
  48973. _extendList$2(list, extensions) {
  48974. return this._extendList$3(list, extensions, null);
  48975. },
  48976. _extendComplex$3(complex, extensions, mediaQueryContext) {
  48977. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, extendedNotExpanded, i, component, extended, t11, t12, t13, t14, _box_0 = {},
  48978. t1 = complex.leadingCombinators,
  48979. t2 = t1.length;
  48980. if (t2 > 1)
  48981. return null;
  48982. isOriginal = this._originals.contains$1(0, complex);
  48983. for (t3 = complex.components, t4 = t3.length, t5 = type$.JSArray_List_ComplexSelector, t6 = complex.lineBreak, t7 = !t6, t8 = complex.span, t9 = type$.JSArray_ComplexSelector, t2 = t2 === 0, t10 = type$.JSArray_ComplexSelectorComponent, extendedNotExpanded = null, i = 0; i < t4; ++i) {
  48984. component = t3[i];
  48985. extended = this._extendCompound$4$inOriginal(component, extensions, mediaQueryContext, isOriginal);
  48986. if (extended == null) {
  48987. if (extendedNotExpanded != null)
  48988. extendedNotExpanded.push(A._setArrayType([A.ComplexSelector$(B.List_empty1, A._setArrayType([component], t10), t8, t6)], t9));
  48989. } else if (extendedNotExpanded != null)
  48990. extendedNotExpanded.push(extended);
  48991. else if (i !== 0) {
  48992. t11 = A._arrayInstanceType(t3);
  48993. t12 = new A.SubListIterable(t3, 0, i, t11._eval$1("SubListIterable<1>"));
  48994. t12.SubListIterable$3(t3, 0, i, t11._precomputed1);
  48995. extendedNotExpanded = A._setArrayType([A._setArrayType([A.ComplexSelector$(t1, t12, t8, t6)], t9), extended], t5);
  48996. } else if (t2)
  48997. extendedNotExpanded = A._setArrayType([extended], t5);
  48998. else {
  48999. t11 = A._setArrayType([], t9);
  49000. for (t12 = J.get$iterator$ax(extended); t12.moveNext$0();) {
  49001. t13 = t12.get$current(t12);
  49002. t14 = t13.leadingCombinators;
  49003. if (t14.length === 0 || B.C_ListEquality.equals$2(0, t1, t14)) {
  49004. t14 = t13.components;
  49005. t11.push(A.ComplexSelector$(t1, t14, t8, !t7 || t13.lineBreak));
  49006. }
  49007. }
  49008. extendedNotExpanded = A._setArrayType([t11], t5);
  49009. }
  49010. }
  49011. if (extendedNotExpanded == null)
  49012. return null;
  49013. _box_0.first = true;
  49014. t1 = type$.ComplexSelector;
  49015. t1 = J.expand$1$1$ax(A.paths(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure(_box_0, this, complex), t1);
  49016. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  49017. },
  49018. _extendCompound$4$inOriginal(component, extensions, mediaQueryContext, inOriginal) {
  49019. var t3, t4, t5, t6, t7, t8, t9, t10, t11, options, i, simple, extended, t12, result, compound, extenders, complex, extenderPaths, withCombinators, isOriginal, _this = this, _null = null,
  49020. t1 = _this._mode,
  49021. targetsUsed = t1 === B.ExtendMode_normal_normal || extensions.__js_helper$_length < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector),
  49022. t2 = component.selector,
  49023. simples = t2.components;
  49024. for (t3 = simples.length, t4 = type$.JSArray_List_Extender, t5 = type$.JSArray_Extender, t6 = type$.CssValue_Combinator, t7 = type$.JSArray_ComplexSelectorComponent, t8 = A._arrayInstanceType(simples), t9 = t8._precomputed1, t8 = t8._eval$1("SubListIterable<1>"), t10 = component.span, t11 = type$.SimpleSelector, options = _null, i = 0; i < t3; ++i) {
  49025. simple = simples[i];
  49026. extended = _this._extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed);
  49027. if (extended == null) {
  49028. if (options != null)
  49029. options.push(A._setArrayType([_this._extenderForSimple$1(simple)], t5));
  49030. } else {
  49031. if (options == null) {
  49032. options = A._setArrayType([], t4);
  49033. if (i !== 0) {
  49034. t12 = new A.SubListIterable(simples, 0, i, t8);
  49035. t12.SubListIterable$3(simples, 0, i, t9);
  49036. result = A.List_List$from(t12, false, t11);
  49037. result.fixed$length = Array;
  49038. result.immutable$list = Array;
  49039. t12 = result;
  49040. compound = new A.CompoundSelector(t12, t10);
  49041. if (t12.length === 0)
  49042. A.throwExpression(A.ArgumentError$("components may not be empty.", _null));
  49043. result = A.List_List$from(B.List_empty1, false, t6);
  49044. result.fixed$length = Array;
  49045. result.immutable$list = Array;
  49046. t12 = A.ComplexSelector$(B.List_empty1, A._setArrayType([new A.ComplexSelectorComponent(compound, result, t10)], t7), t10, false);
  49047. _this._sourceSpecificityFor$1(compound);
  49048. options.push(A._setArrayType([new A.Extender(t12, true)], t5));
  49049. }
  49050. }
  49051. B.JSArray_methods.addAll$1(options, extended);
  49052. }
  49053. }
  49054. if (options == null)
  49055. return _null;
  49056. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.__js_helper$_length)
  49057. return _null;
  49058. if (options.length === 1) {
  49059. extenders = options[0];
  49060. t3 = true;
  49061. } else {
  49062. extenders = _null;
  49063. t3 = false;
  49064. }
  49065. if (t3) {
  49066. for (t1 = J.get$iterator$ax(extenders), t2 = component.combinators, t3 = type$.JSArray_ComplexSelector, result = _null; t1.moveNext$0();) {
  49067. t4 = t1.get$current(t1);
  49068. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  49069. complex = t4.selector.withAdditionalCombinators$1(t2);
  49070. if (complex.accept$1(B.C__IsUselessVisitor))
  49071. continue;
  49072. if (result == null)
  49073. result = A._setArrayType([], t3);
  49074. result.push(complex);
  49075. }
  49076. return result;
  49077. }
  49078. extenderPaths = A.paths(options, type$.Extender);
  49079. t3 = A._setArrayType([], type$.JSArray_ComplexSelector);
  49080. t1 = t1 === B.ExtendMode_replace_replace;
  49081. t4 = !t1;
  49082. if (t4)
  49083. t3.push(A.ComplexSelector$(B.List_empty1, A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(J.expand$1$1$ax(J.get$first$ax(extenderPaths), new A.ExtensionStore__extendCompound_closure(), t11), t2.span), A.List_List$unmodifiable(component.combinators, t6), t10)], t7), t10, false));
  49084. t2 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  49085. t2 = new A.ListIterator(t2, t2.get$length(t2));
  49086. t5 = component.combinators;
  49087. t6 = A._instanceType(t2)._precomputed1;
  49088. for (; t2.moveNext$0();) {
  49089. t1 = t2.__internal$_current;
  49090. extended = _this._unifyExtenders$3(t1 == null ? t6._as(t1) : t1, mediaQueryContext, t10);
  49091. if (extended == null)
  49092. continue;
  49093. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  49094. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t5);
  49095. if (!withCombinators.accept$1(B.C__IsUselessVisitor))
  49096. t3.push(withCombinators);
  49097. }
  49098. }
  49099. isOriginal = new A.ExtensionStore__extendCompound_closure0();
  49100. return _this._trim$2(t3, inOriginal && t4 ? new A.ExtensionStore__extendCompound_closure1(B.JSArray_methods.get$first(t3)) : isOriginal);
  49101. },
  49102. _unifyExtenders$3(extenders, mediaQueryContext, span) {
  49103. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  49104. toUnify = A.QueueList$(_null, type$.ComplexSelector);
  49105. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  49106. t4 = t2.get$current(t2);
  49107. if (t4.isOriginal) {
  49108. if (originals == null)
  49109. originals = A._setArrayType([], t3);
  49110. t4 = t4.selector;
  49111. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  49112. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  49113. } else {
  49114. t4 = t4.selector;
  49115. if (t4.accept$1(B.C__IsUselessVisitor))
  49116. return _null;
  49117. else
  49118. toUnify._queue_list$_add$1(t4);
  49119. }
  49120. }
  49121. if (originals != null)
  49122. toUnify.addFirst$1(A.ComplexSelector$(B.List_empty1, A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(originals, span), A.List_List$unmodifiable(B.List_empty1, type$.CssValue_Combinator), span)], type$.JSArray_ComplexSelectorComponent), span, originalsLineBreak));
  49123. complexes = A.unifyComplex(toUnify, span);
  49124. if (complexes == null)
  49125. return _null;
  49126. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  49127. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  49128. return complexes;
  49129. },
  49130. _extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed) {
  49131. var _1_0, extended, t2,
  49132. t1 = new A.ExtensionStore__extendSimple_withoutPseudo(this, extensions, targetsUsed);
  49133. if (simple instanceof A.PseudoSelector && simple.selector != null && true) {
  49134. _1_0 = this._extendPseudo$3(simple, extensions, mediaQueryContext);
  49135. if (_1_0 != null) {
  49136. extended = _1_0;
  49137. t2 = true;
  49138. } else {
  49139. extended = null;
  49140. t2 = false;
  49141. }
  49142. if (t2)
  49143. return new A.MappedListIterable(extended, new A.ExtensionStore__extendSimple_closure(this, t1), A.instanceType(extended)._eval$1("MappedListIterable<1,List<Extender>>"));
  49144. }
  49145. return A.NullableExtension_andThen(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure0());
  49146. },
  49147. _extenderForSimple$1(simple) {
  49148. var t1 = simple.span;
  49149. t1 = A.ComplexSelector$(B.List_empty1, A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(A._setArrayType([simple], type$.JSArray_SimpleSelector), t1), A.List_List$unmodifiable(B.List_empty1, type$.CssValue_Combinator), t1)], type$.JSArray_ComplexSelectorComponent), t1, false);
  49150. this._sourceSpecificity.$index(0, simple);
  49151. return new A.Extender(t1, true);
  49152. },
  49153. _extendPseudo$3(pseudo, extensions, mediaQueryContext) {
  49154. var extended, complexes, t1, result,
  49155. selector = pseudo.selector;
  49156. if (selector == null)
  49157. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  49158. extended = this._extendList$3(selector, extensions, mediaQueryContext);
  49159. if (extended === selector)
  49160. return null;
  49161. complexes = extended.components;
  49162. t1 = pseudo.normalizedName === "not";
  49163. 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()))
  49164. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure1(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  49165. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure2(pseudo), type$.ComplexSelector);
  49166. if (t1 && selector.components.length === 1) {
  49167. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure3(pseudo, selector), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector);
  49168. result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  49169. return result.length === 0 ? null : result;
  49170. } else
  49171. return A._setArrayType([pseudo.withSelector$1(A.SelectorList$(complexes, selector.span))], type$.JSArray_PseudoSelector);
  49172. },
  49173. _trim$2(selectors, isOriginal) {
  49174. var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity;
  49175. if (selectors.length > 100)
  49176. return selectors;
  49177. result = A.QueueList$(null, type$.ComplexSelector);
  49178. $label0$0:
  49179. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  49180. _box_0 = {};
  49181. complex1 = selectors[i];
  49182. if (isOriginal.call$1(complex1)) {
  49183. for (j = 0; j < numOriginals; ++j)
  49184. if (J.$eq$(result.$index(0, j), complex1)) {
  49185. A.rotateSlice(result, 0, j + 1);
  49186. continue $label0$0;
  49187. }
  49188. ++numOriginals;
  49189. result.addFirst$1(complex1);
  49190. continue $label0$0;
  49191. }
  49192. _box_0.maxSpecificity = 0;
  49193. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  49194. maxSpecificity = Math.max(t5, this._sourceSpecificityFor$1(t3[_i].selector));
  49195. _box_0.maxSpecificity = maxSpecificity;
  49196. }
  49197. if (result.any$1(result, new A.ExtensionStore__trim_closure(_box_0, complex1)))
  49198. continue $label0$0;
  49199. t3 = new A.SubListIterable(selectors, 0, i, t1);
  49200. t3.SubListIterable$3(selectors, 0, i, t2);
  49201. if (t3.any$1(0, new A.ExtensionStore__trim_closure0(_box_0, complex1)))
  49202. continue $label0$0;
  49203. result.addFirst$1(complex1);
  49204. }
  49205. return result;
  49206. },
  49207. _sourceSpecificityFor$1(compound) {
  49208. var t1, t2, t3, specificity, _i, t4;
  49209. for (t1 = compound.components, t2 = t1.length, t3 = this._sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  49210. t4 = t3.$index(0, t1[_i]);
  49211. specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
  49212. }
  49213. return specificity;
  49214. },
  49215. clone$0() {
  49216. var t2, t3, t4, _this = this,
  49217. t1 = type$.SimpleSelector,
  49218. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList),
  49219. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList, type$.List_CssMediaQuery),
  49220. oldToNewSelectors = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList);
  49221. _this._selectors.forEach$1(0, new A.ExtensionStore_clone_closure(_this, newSelectors, oldToNewSelectors, newMediaContexts));
  49222. t2 = type$.Extension;
  49223. t3 = A.copyMapOfMap(_this._extensions, t1, type$.ComplexSelector, t2);
  49224. t2 = A.copyMapOfList(_this._extensionsByExtender, t1, t2);
  49225. t1 = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int);
  49226. t1.addAll$1(0, _this._sourceSpecificity);
  49227. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector);
  49228. t4.addAll$1(0, _this._originals);
  49229. return new A._Record_2(new A.ExtensionStore(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal_normal), oldToNewSelectors);
  49230. },
  49231. get$_extensions() {
  49232. return this._extensions;
  49233. },
  49234. get$_sourceSpecificity() {
  49235. return this._sourceSpecificity;
  49236. }
  49237. };
  49238. A.ExtensionStore_extensionsWhereTarget_closure.prototype = {
  49239. call$1(extension) {
  49240. return !extension.isOptional;
  49241. },
  49242. $signature: 351
  49243. };
  49244. A.ExtensionStore__registerSelector_closure.prototype = {
  49245. call$0() {
  49246. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList);
  49247. },
  49248. $signature: 356
  49249. };
  49250. A.ExtensionStore__registerSelector_closure0.prototype = {
  49251. call$0() {
  49252. return type$.PseudoSelector._as(this._0_0).selector;
  49253. },
  49254. $signature: 72
  49255. };
  49256. A.ExtensionStore_addExtension_closure.prototype = {
  49257. call$0() {
  49258. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  49259. },
  49260. $signature: 125
  49261. };
  49262. A.ExtensionStore_addExtension_closure0.prototype = {
  49263. call$0() {
  49264. return A._setArrayType([], type$.JSArray_Extension);
  49265. },
  49266. $signature: 222
  49267. };
  49268. A.ExtensionStore_addExtension_closure1.prototype = {
  49269. call$0() {
  49270. return this.complex.get$specificity();
  49271. },
  49272. $signature: 3
  49273. };
  49274. A.ExtensionStore__simpleSelectors_closure.prototype = {
  49275. call$0() {
  49276. return type$.PseudoSelector._as(this._0_0).selector;
  49277. },
  49278. $signature: 72
  49279. };
  49280. A.ExtensionStore__extendExistingExtensions_closure.prototype = {
  49281. call$0() {
  49282. return A._setArrayType([], type$.JSArray_Extension);
  49283. },
  49284. $signature: 222
  49285. };
  49286. A.ExtensionStore__extendExistingExtensions_closure0.prototype = {
  49287. call$0() {
  49288. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  49289. },
  49290. $signature: 125
  49291. };
  49292. A.ExtensionStore_addExtensions_closure.prototype = {
  49293. call$0() {
  49294. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector, type$.Extension);
  49295. },
  49296. $signature: 125
  49297. };
  49298. A.ExtensionStore__extendComplex_closure.prototype = {
  49299. call$1(path) {
  49300. var t1 = this.complex;
  49301. return J.map$1$1$ax(A.weave(path, t1.span, t1.lineBreak), new A.ExtensionStore__extendComplex__closure(this._box_0, this.$this, t1), type$.ComplexSelector);
  49302. },
  49303. $signature: 369
  49304. };
  49305. A.ExtensionStore__extendComplex__closure.prototype = {
  49306. call$1(outputComplex) {
  49307. var _this = this,
  49308. t1 = _this._box_0;
  49309. if (t1.first && _this.$this._originals.contains$1(0, _this.complex))
  49310. _this.$this._originals.add$1(0, outputComplex);
  49311. t1.first = false;
  49312. return outputComplex;
  49313. },
  49314. $signature: 59
  49315. };
  49316. A.ExtensionStore__extendCompound_closure.prototype = {
  49317. call$1(extender) {
  49318. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  49319. },
  49320. $signature: 377
  49321. };
  49322. A.ExtensionStore__extendCompound_closure0.prototype = {
  49323. call$1(_) {
  49324. return false;
  49325. },
  49326. $signature: 17
  49327. };
  49328. A.ExtensionStore__extendCompound_closure1.prototype = {
  49329. call$1(complex) {
  49330. return complex.$eq(0, this.original);
  49331. },
  49332. $signature: 17
  49333. };
  49334. A.ExtensionStore__extendSimple_withoutPseudo.prototype = {
  49335. call$1(simple) {
  49336. var t1, t2,
  49337. extensionsForSimple = this.extensions.$index(0, simple);
  49338. if (extensionsForSimple == null)
  49339. return null;
  49340. t1 = this.targetsUsed;
  49341. if (t1 != null)
  49342. t1.add$1(0, simple);
  49343. t1 = A._setArrayType([], type$.JSArray_Extender);
  49344. t2 = this.$this;
  49345. if (t2._mode !== B.ExtendMode_replace_replace)
  49346. t1.push(t2._extenderForSimple$1(simple));
  49347. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  49348. t1.push(t2.get$current(t2).extender);
  49349. return t1;
  49350. },
  49351. $signature: 384
  49352. };
  49353. A.ExtensionStore__extendSimple_closure.prototype = {
  49354. call$1(pseudo) {
  49355. var t1 = this.withoutPseudo.call$1(pseudo);
  49356. return t1 == null ? A._setArrayType([this.$this._extenderForSimple$1(pseudo)], type$.JSArray_Extender) : t1;
  49357. },
  49358. $signature: 400
  49359. };
  49360. A.ExtensionStore__extendSimple_closure0.prototype = {
  49361. call$1(result) {
  49362. return A._setArrayType([result], type$.JSArray_List_Extender);
  49363. },
  49364. $signature: 401
  49365. };
  49366. A.ExtensionStore__extendPseudo_closure.prototype = {
  49367. call$1(complex) {
  49368. return complex.components.length > 1;
  49369. },
  49370. $signature: 17
  49371. };
  49372. A.ExtensionStore__extendPseudo_closure0.prototype = {
  49373. call$1(complex) {
  49374. return complex.components.length === 1;
  49375. },
  49376. $signature: 17
  49377. };
  49378. A.ExtensionStore__extendPseudo_closure1.prototype = {
  49379. call$1(complex) {
  49380. return complex.components.length <= 1;
  49381. },
  49382. $signature: 17
  49383. };
  49384. A.ExtensionStore__extendPseudo_closure2.prototype = {
  49385. call$1(complex) {
  49386. var innerPseudo, innerSelector,
  49387. t1 = complex.get$singleCompound();
  49388. if (t1 == null)
  49389. innerPseudo = null;
  49390. else {
  49391. t1 = t1.components;
  49392. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  49393. }
  49394. if (!(innerPseudo instanceof A.PseudoSelector))
  49395. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  49396. innerSelector = innerPseudo.selector;
  49397. if (innerSelector == null)
  49398. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  49399. t1 = this.pseudo;
  49400. switch (t1.normalizedName) {
  49401. case "not":
  49402. if (!B.Set_aAXJu.contains$1(0, innerPseudo.normalizedName))
  49403. return A._setArrayType([], type$.JSArray_ComplexSelector);
  49404. return innerSelector.components;
  49405. case "is":
  49406. case "matches":
  49407. case "where":
  49408. case "any":
  49409. case "current":
  49410. case "nth-child":
  49411. case "nth-last-child":
  49412. if (innerPseudo.name !== t1.name)
  49413. return A._setArrayType([], type$.JSArray_ComplexSelector);
  49414. if (innerPseudo.argument != t1.argument)
  49415. return A._setArrayType([], type$.JSArray_ComplexSelector);
  49416. return innerSelector.components;
  49417. case "has":
  49418. case "host":
  49419. case "host-context":
  49420. case "slotted":
  49421. return A._setArrayType([complex], type$.JSArray_ComplexSelector);
  49422. default:
  49423. return A._setArrayType([], type$.JSArray_ComplexSelector);
  49424. }
  49425. },
  49426. $signature: 402
  49427. };
  49428. A.ExtensionStore__extendPseudo_closure3.prototype = {
  49429. call$1(complex) {
  49430. return this.pseudo.withSelector$1(A.SelectorList$(A._setArrayType([complex], type$.JSArray_ComplexSelector), this.selector.span));
  49431. },
  49432. $signature: 403
  49433. };
  49434. A.ExtensionStore__trim_closure.prototype = {
  49435. call$1(complex2) {
  49436. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  49437. },
  49438. $signature: 17
  49439. };
  49440. A.ExtensionStore__trim_closure0.prototype = {
  49441. call$1(complex2) {
  49442. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  49443. },
  49444. $signature: 17
  49445. };
  49446. A.ExtensionStore_clone_closure.prototype = {
  49447. call$2(simple, selectors) {
  49448. var t2, t3, t4, t5, t6, t7, newSelector, _0_0, mediaContext, _this = this,
  49449. t1 = type$.ModifiableBox_SelectorList,
  49450. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  49451. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  49452. for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = type$.Box_SelectorList, t5 = _this.$this._mediaContexts, t6 = _this.newMediaContexts; t2.moveNext$0();) {
  49453. t7 = t2.get$current(t2);
  49454. newSelector = new A.ModifiableBox(t7.value, t1);
  49455. newSelectorSet.add$1(0, newSelector);
  49456. t3.$indexSet(0, t7.value, new A.Box(newSelector, t4));
  49457. _0_0 = t5.$index(0, t7);
  49458. if (_0_0 != null) {
  49459. mediaContext = _0_0;
  49460. t7 = true;
  49461. } else {
  49462. mediaContext = null;
  49463. t7 = false;
  49464. }
  49465. if (t7)
  49466. t6.$indexSet(0, newSelector, mediaContext);
  49467. }
  49468. },
  49469. $signature: 404
  49470. };
  49471. A.unifyComplex_closure.prototype = {
  49472. call$0() {
  49473. return this._0_0.leadingCombinators;
  49474. },
  49475. $signature: 221
  49476. };
  49477. A.unifyComplex_closure0.prototype = {
  49478. call$0() {
  49479. return this._1_0.combinators;
  49480. },
  49481. $signature: 221
  49482. };
  49483. A.unifyComplex_closure1.prototype = {
  49484. call$1(complex) {
  49485. return complex.lineBreak;
  49486. },
  49487. $signature: 17
  49488. };
  49489. A._namespaceAndName_closure.prototype = {
  49490. call$0() {
  49491. return type$.TypeSelector._as(this._0_0).name;
  49492. },
  49493. $signature: 410
  49494. };
  49495. A._weaveParents_closure.prototype = {
  49496. call$0() {
  49497. return this._0_0._0;
  49498. },
  49499. $signature: 219
  49500. };
  49501. A._weaveParents_closure0.prototype = {
  49502. call$0() {
  49503. return this._0_0._1;
  49504. },
  49505. $signature: 219
  49506. };
  49507. A._weaveParents_closure1.prototype = {
  49508. call$2(group1, group2) {
  49509. var t1, unified;
  49510. if (B.C_ListEquality.equals$2(0, group1, group2))
  49511. return group1;
  49512. if (A._complexIsParentSuperselector(group1, group2))
  49513. return group2;
  49514. if (A._complexIsParentSuperselector(group2, group1))
  49515. return group1;
  49516. if (!A._mustUnify(group1, group2))
  49517. return null;
  49518. t1 = this.span;
  49519. unified = A.unifyComplex(A._setArrayType([A.ComplexSelector$(B.List_empty1, group1, t1, false), A.ComplexSelector$(B.List_empty1, group2, t1, false)], type$.JSArray_ComplexSelector), t1);
  49520. if (unified == null)
  49521. t1 = null;
  49522. else {
  49523. t1 = A.IterableExtension_get_singleOrNull(unified);
  49524. t1 = t1 == null ? null : t1.components;
  49525. }
  49526. return t1;
  49527. },
  49528. $signature: 415
  49529. };
  49530. A._weaveParents_closure2.prototype = {
  49531. call$1(sequence) {
  49532. return A._complexIsParentSuperselector(sequence.get$first(sequence), this.group);
  49533. },
  49534. $signature: 218
  49535. };
  49536. A._weaveParents_closure3.prototype = {
  49537. call$1(sequence) {
  49538. return sequence.get$length(sequence) === 0;
  49539. },
  49540. $signature: 218
  49541. };
  49542. A._weaveParents_closure4.prototype = {
  49543. call$1(choice) {
  49544. return J.get$isNotEmpty$asx(choice);
  49545. },
  49546. $signature: 426
  49547. };
  49548. A._mergeLeadingCombinators_closure.prototype = {
  49549. call$0() {
  49550. return this._0_0._0;
  49551. },
  49552. $signature: 211
  49553. };
  49554. A._mergeLeadingCombinators_closure0.prototype = {
  49555. call$0() {
  49556. return this._0_0._1;
  49557. },
  49558. $signature: 211
  49559. };
  49560. A._mergeLeadingCombinators_closure1.prototype = {
  49561. call$0() {
  49562. var t1 = this._0_1._readFinal$0();
  49563. return J.get$length$asx(t1 == null ? type$.List_CssValue_Combinator._as(t1) : t1);
  49564. },
  49565. $signature: 3
  49566. };
  49567. A._mergeLeadingCombinators_closure2.prototype = {
  49568. call$0() {
  49569. var t1 = this._0_4._readFinal$0();
  49570. return J.get$length$asx(t1 == null ? type$.List_CssValue_Combinator._as(t1) : t1);
  49571. },
  49572. $signature: 3
  49573. };
  49574. A._mergeTrailingCombinators_closure.prototype = {
  49575. call$0() {
  49576. var t1 = this._0_0;
  49577. return t1.get$length(t1);
  49578. },
  49579. $signature: 3
  49580. };
  49581. A._mergeTrailingCombinators_closure0.prototype = {
  49582. call$0() {
  49583. var t1 = this._1_0;
  49584. return t1.get$length(t1);
  49585. },
  49586. $signature: 3
  49587. };
  49588. A._mergeTrailingCombinators_closure1.prototype = {
  49589. call$0() {
  49590. return this._4_0._values[0];
  49591. },
  49592. $signature: 210
  49593. };
  49594. A._mergeTrailingCombinators_closure2.prototype = {
  49595. call$0() {
  49596. return B.Combinator_Htt === this._4_1._readFinal$0();
  49597. },
  49598. $signature: 1
  49599. };
  49600. A._mergeTrailingCombinators_closure3.prototype = {
  49601. call$0() {
  49602. return this._4_0._values[1];
  49603. },
  49604. $signature: 210
  49605. };
  49606. A._mergeTrailingCombinators_closure4.prototype = {
  49607. call$0() {
  49608. return B.Combinator_Htt === this._4_4._readFinal$0();
  49609. },
  49610. $signature: 1
  49611. };
  49612. A._mergeTrailingCombinators_closure6.prototype = {
  49613. call$0() {
  49614. return this._4_0._values[2];
  49615. },
  49616. $signature: 209
  49617. };
  49618. A._mergeTrailingCombinators_closure7.prototype = {
  49619. call$0() {
  49620. return this._4_0._values[3];
  49621. },
  49622. $signature: 209
  49623. };
  49624. A._mergeTrailingCombinators_closure5.prototype = {
  49625. call$0() {
  49626. return B.Combinator_4QF === this._4_4._readFinal$0();
  49627. },
  49628. $signature: 1
  49629. };
  49630. A._mergeTrailingCombinators_closure8.prototype = {
  49631. call$0() {
  49632. return B.Combinator_4QF === this._4_1._readFinal$0();
  49633. },
  49634. $signature: 1
  49635. };
  49636. A._mustUnify_closure.prototype = {
  49637. call$1(component) {
  49638. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure(this.uniqueSelectors));
  49639. },
  49640. $signature: 54
  49641. };
  49642. A._mustUnify__closure.prototype = {
  49643. call$1(simple) {
  49644. var t1;
  49645. if (!(simple instanceof A.IDSelector))
  49646. t1 = simple instanceof A.PseudoSelector && !simple.isClass;
  49647. else
  49648. t1 = true;
  49649. return t1 && this.uniqueSelectors.contains$1(0, simple);
  49650. },
  49651. $signature: 15
  49652. };
  49653. A._chunks_closure.prototype = {
  49654. call$0() {
  49655. return this._0_0._0;
  49656. },
  49657. $signature() {
  49658. return this.T._eval$1("List<0>()");
  49659. }
  49660. };
  49661. A._chunks_closure0.prototype = {
  49662. call$0() {
  49663. return J.get$length$asx(this._0_1._readFinal$0()) <= 0;
  49664. },
  49665. $signature: 1
  49666. };
  49667. A._chunks_closure1.prototype = {
  49668. call$0() {
  49669. return this._0_0._1;
  49670. },
  49671. $signature() {
  49672. return this.T._eval$1("List<0>()");
  49673. }
  49674. };
  49675. A._chunks_closure2.prototype = {
  49676. call$0() {
  49677. return J.get$length$asx(this._0_5._readFinal$0()) <= 0;
  49678. },
  49679. $signature: 1
  49680. };
  49681. A.paths_closure.prototype = {
  49682. call$2(paths, choice) {
  49683. var t1 = this.T;
  49684. t1 = J.expand$1$1$ax(choice, new A.paths__closure(paths, t1), t1._eval$1("List<0>"));
  49685. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  49686. },
  49687. $signature() {
  49688. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  49689. }
  49690. };
  49691. A.paths__closure.prototype = {
  49692. call$1(option) {
  49693. var t1 = this.T;
  49694. return J.map$1$1$ax(this.paths, new A.paths___closure(option, t1), t1._eval$1("List<0>"));
  49695. },
  49696. $signature() {
  49697. return this.T._eval$1("Iterable<List<0>>(0)");
  49698. }
  49699. };
  49700. A.paths___closure.prototype = {
  49701. call$1(path) {
  49702. var t1 = A.List_List$of(path, true, this.T);
  49703. t1.push(this.option);
  49704. return t1;
  49705. },
  49706. $signature() {
  49707. return this.T._eval$1("List<0>(List<0>)");
  49708. }
  49709. };
  49710. A.listIsSuperselector_closure.prototype = {
  49711. call$1(complex1) {
  49712. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure(complex1));
  49713. },
  49714. $signature: 17
  49715. };
  49716. A.listIsSuperselector__closure.prototype = {
  49717. call$1(complex2) {
  49718. return complex2.isSuperselector$1(this.complex1);
  49719. },
  49720. $signature: 17
  49721. };
  49722. A.complexIsSuperselector_closure.prototype = {
  49723. call$1($parent) {
  49724. return $parent.combinators.length > 1;
  49725. },
  49726. $signature: 54
  49727. };
  49728. A.complexIsSuperselector_closure0.prototype = {
  49729. call$1(component) {
  49730. return A._isSupercombinator(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  49731. },
  49732. $signature: 54
  49733. };
  49734. A._compatibleWithPreviousCombinator_closure.prototype = {
  49735. call$1(component) {
  49736. var t1 = component.combinators,
  49737. t2 = A.IterableExtension_get_firstOrNull(t1);
  49738. if (!J.$eq$(t2 == null ? null : t2.value, B.Combinator_Htt)) {
  49739. t1 = A.IterableExtension_get_firstOrNull(t1);
  49740. t1 = J.$eq$(t1 == null ? null : t1.value, B.Combinator_4QF);
  49741. } else
  49742. t1 = true;
  49743. return t1;
  49744. },
  49745. $signature: 54
  49746. };
  49747. A.compoundIsSuperselector_closure.prototype = {
  49748. call$0() {
  49749. return this._0_0._0;
  49750. },
  49751. $signature: 208
  49752. };
  49753. A.compoundIsSuperselector_closure0.prototype = {
  49754. call$0() {
  49755. return this._0_0._1;
  49756. },
  49757. $signature: 208
  49758. };
  49759. A._selectorPseudoIsSuperselector_closure.prototype = {
  49760. call$1(selector2) {
  49761. return A.listIsSuperselector(this.selector1.components, selector2.components);
  49762. },
  49763. $signature: 75
  49764. };
  49765. A._selectorPseudoIsSuperselector_closure0.prototype = {
  49766. call$1(complex1) {
  49767. var t1, t2;
  49768. if (complex1.leadingCombinators.length === 0) {
  49769. t1 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  49770. t2 = this.parents;
  49771. if (t2 != null)
  49772. B.JSArray_methods.addAll$1(t1, t2);
  49773. t2 = this.compound2;
  49774. t1.push(new A.ComplexSelectorComponent(t2, A.List_List$unmodifiable(B.List_empty1, type$.CssValue_Combinator), t2.span));
  49775. t1 = A.complexIsSuperselector(complex1.components, t1);
  49776. } else
  49777. t1 = false;
  49778. return t1;
  49779. },
  49780. $signature: 17
  49781. };
  49782. A._selectorPseudoIsSuperselector_closure1.prototype = {
  49783. call$1(selector2) {
  49784. return A.listIsSuperselector(this.selector1.components, selector2.components);
  49785. },
  49786. $signature: 75
  49787. };
  49788. A._selectorPseudoIsSuperselector_closure2.prototype = {
  49789. call$1(selector2) {
  49790. return A.listIsSuperselector(this.selector1.components, selector2.components);
  49791. },
  49792. $signature: 75
  49793. };
  49794. A._selectorPseudoIsSuperselector_closure3.prototype = {
  49795. call$1(complex) {
  49796. if (complex.accept$1(B._IsBogusVisitor_true))
  49797. return false;
  49798. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure(complex, this.pseudo1));
  49799. },
  49800. $signature: 17
  49801. };
  49802. A._selectorPseudoIsSuperselector__closure.prototype = {
  49803. call$1(simple2) {
  49804. var t1, selector2, _this = this,
  49805. _0_4 = A._InitializedCell$(new A._selectorPseudoIsSuperselector___closure(simple2));
  49806. $label0$1: {
  49807. if (simple2 instanceof A.TypeSelector) {
  49808. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure0(simple2));
  49809. break $label0$1;
  49810. }
  49811. if (simple2 instanceof A.IDSelector) {
  49812. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure1(simple2));
  49813. break $label0$1;
  49814. }
  49815. if (simple2 instanceof A.PseudoSelector) {
  49816. if (_0_4._readFinal$0() != null) {
  49817. selector2 = _0_4._readFinal$0();
  49818. t1 = true;
  49819. } else {
  49820. selector2 = null;
  49821. t1 = false;
  49822. }
  49823. t1 = t1 && simple2.name === _this.pseudo1.name;
  49824. } else {
  49825. selector2 = null;
  49826. t1 = false;
  49827. }
  49828. if (t1) {
  49829. t1 = A.listIsSuperselector(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector));
  49830. break $label0$1;
  49831. }
  49832. t1 = false;
  49833. break $label0$1;
  49834. }
  49835. return t1;
  49836. },
  49837. $signature: 15
  49838. };
  49839. A._selectorPseudoIsSuperselector___closure0.prototype = {
  49840. call$1(simple1) {
  49841. var t1;
  49842. if (simple1 instanceof A.TypeSelector) {
  49843. t1 = this.simple2;
  49844. t1 = !(t1 instanceof A.TypeSelector && t1.name.$eq(0, simple1.name));
  49845. } else
  49846. t1 = false;
  49847. return t1;
  49848. },
  49849. $signature: 15
  49850. };
  49851. A._selectorPseudoIsSuperselector___closure1.prototype = {
  49852. call$1(simple1) {
  49853. var t1;
  49854. if (simple1 instanceof A.IDSelector) {
  49855. t1 = this.simple2;
  49856. t1 = !(t1 instanceof A.IDSelector && t1.name === simple1.name);
  49857. } else
  49858. t1 = false;
  49859. return t1;
  49860. },
  49861. $signature: 15
  49862. };
  49863. A._selectorPseudoIsSuperselector___closure.prototype = {
  49864. call$0() {
  49865. return type$.PseudoSelector._as(this._0_0).selector;
  49866. },
  49867. $signature: 72
  49868. };
  49869. A._selectorPseudoIsSuperselector_closure4.prototype = {
  49870. call$1(selector2) {
  49871. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  49872. return t1;
  49873. },
  49874. $signature: 75
  49875. };
  49876. A._selectorPseudoIsSuperselector_closure5.prototype = {
  49877. call$1(pseudo2) {
  49878. var t1, selector2;
  49879. if (!(pseudo2 instanceof A.PseudoSelector))
  49880. return false;
  49881. t1 = this.pseudo1;
  49882. if (pseudo2.name !== t1.name)
  49883. return false;
  49884. if (pseudo2.argument != t1.argument)
  49885. return false;
  49886. selector2 = pseudo2.selector;
  49887. if (selector2 == null)
  49888. return false;
  49889. return A.listIsSuperselector(this.selector1.components, selector2.components);
  49890. },
  49891. $signature: 15
  49892. };
  49893. A._selectorPseudoArgs_closure.prototype = {
  49894. call$1(pseudo) {
  49895. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  49896. },
  49897. $signature: 437
  49898. };
  49899. A._selectorPseudoArgs_closure0.prototype = {
  49900. call$1(pseudo) {
  49901. return pseudo.selector;
  49902. },
  49903. $signature: 445
  49904. };
  49905. A.MergedExtension.prototype = {
  49906. unmerge$0() {
  49907. return new A._SyncStarIterable(this.unmerge$body$MergedExtension(), type$._SyncStarIterable_Extension);
  49908. },
  49909. unmerge$body$MergedExtension() {
  49910. var $async$self = this;
  49911. return function() {
  49912. var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
  49913. return function $async$unmerge$0($async$iterator, $async$errorCode, $async$result) {
  49914. if ($async$errorCode === 1) {
  49915. $async$currentError = $async$result;
  49916. $async$goto = $async$handler;
  49917. }
  49918. while (true)
  49919. switch ($async$goto) {
  49920. case 0:
  49921. // Function start
  49922. left = $async$self.left;
  49923. $async$goto = left instanceof A.MergedExtension ? 2 : 4;
  49924. break;
  49925. case 2:
  49926. // then
  49927. $async$goto = 5;
  49928. return $async$iterator._yieldStar$1(left.unmerge$0());
  49929. case 5:
  49930. // after yield
  49931. // goto join
  49932. $async$goto = 3;
  49933. break;
  49934. case 4:
  49935. // else
  49936. $async$goto = 6;
  49937. return $async$iterator._async$_current = left, 1;
  49938. case 6:
  49939. // after yield
  49940. case 3:
  49941. // join
  49942. right = $async$self.right;
  49943. $async$goto = right instanceof A.MergedExtension ? 7 : 9;
  49944. break;
  49945. case 7:
  49946. // then
  49947. $async$goto = 10;
  49948. return $async$iterator._yieldStar$1(right.unmerge$0());
  49949. case 10:
  49950. // after yield
  49951. // goto join
  49952. $async$goto = 8;
  49953. break;
  49954. case 9:
  49955. // else
  49956. $async$goto = 11;
  49957. return $async$iterator._async$_current = right, 1;
  49958. case 11:
  49959. // after yield
  49960. case 8:
  49961. // join
  49962. // implicit return
  49963. return 0;
  49964. case 1:
  49965. // rethrow
  49966. return $async$iterator._datum = $async$currentError, 3;
  49967. }
  49968. };
  49969. };
  49970. }
  49971. };
  49972. A.ExtendMode.prototype = {
  49973. _enumToString$0() {
  49974. return "ExtendMode." + this._name;
  49975. },
  49976. toString$0(_) {
  49977. return this.name;
  49978. }
  49979. };
  49980. A.globalFunctions_closure.prototype = {
  49981. call$1($arguments) {
  49982. var t1 = J.getInterceptor$asx($arguments);
  49983. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  49984. },
  49985. $signature: 6
  49986. };
  49987. A.global_closure0.prototype = {
  49988. call$1($arguments) {
  49989. return A._rgb("rgb", $arguments);
  49990. },
  49991. $signature: 6
  49992. };
  49993. A.global_closure1.prototype = {
  49994. call$1($arguments) {
  49995. return A._rgb("rgb", $arguments);
  49996. },
  49997. $signature: 6
  49998. };
  49999. A.global_closure2.prototype = {
  50000. call$1($arguments) {
  50001. return A._rgbTwoArg("rgb", $arguments);
  50002. },
  50003. $signature: 6
  50004. };
  50005. A.global_closure3.prototype = {
  50006. call$1($arguments) {
  50007. var parsed = A._parseChannels("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  50008. return parsed instanceof A.SassString ? parsed : A._rgb("rgb", type$.List_Value._as(parsed));
  50009. },
  50010. $signature: 6
  50011. };
  50012. A.global_closure4.prototype = {
  50013. call$1($arguments) {
  50014. return A._rgb("rgba", $arguments);
  50015. },
  50016. $signature: 6
  50017. };
  50018. A.global_closure5.prototype = {
  50019. call$1($arguments) {
  50020. return A._rgb("rgba", $arguments);
  50021. },
  50022. $signature: 6
  50023. };
  50024. A.global_closure6.prototype = {
  50025. call$1($arguments) {
  50026. return A._rgbTwoArg("rgba", $arguments);
  50027. },
  50028. $signature: 6
  50029. };
  50030. A.global_closure7.prototype = {
  50031. call$1($arguments) {
  50032. var parsed = A._parseChannels("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  50033. return parsed instanceof A.SassString ? parsed : A._rgb("rgba", type$.List_Value._as(parsed));
  50034. },
  50035. $signature: 6
  50036. };
  50037. A.global_closure8.prototype = {
  50038. call$1($arguments) {
  50039. var color, t2,
  50040. t1 = J.getInterceptor$asx($arguments),
  50041. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  50042. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber()) {
  50043. if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
  50044. throw A.wrapException(string$.Only_oa);
  50045. return A._functionString("invert", t1.take$1($arguments, 1));
  50046. }
  50047. color = t1.$index($arguments, 0).assertColor$1("color");
  50048. t1 = color.get$red(color);
  50049. t2 = color.get$green(color);
  50050. return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
  50051. },
  50052. $signature: 6
  50053. };
  50054. A.global_closure9.prototype = {
  50055. call$1($arguments) {
  50056. return A._hsl("hsl", $arguments);
  50057. },
  50058. $signature: 6
  50059. };
  50060. A.global_closure10.prototype = {
  50061. call$1($arguments) {
  50062. return A._hsl("hsl", $arguments);
  50063. },
  50064. $signature: 6
  50065. };
  50066. A.global_closure11.prototype = {
  50067. call$1($arguments) {
  50068. var t1 = J.getInterceptor$asx($arguments);
  50069. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  50070. return A._functionString("hsl", $arguments);
  50071. else
  50072. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  50073. },
  50074. $signature: 19
  50075. };
  50076. A.global_closure12.prototype = {
  50077. call$1($arguments) {
  50078. var parsed = A._parseChannels("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  50079. return parsed instanceof A.SassString ? parsed : A._hsl("hsl", type$.List_Value._as(parsed));
  50080. },
  50081. $signature: 6
  50082. };
  50083. A.global_closure13.prototype = {
  50084. call$1($arguments) {
  50085. return A._hsl("hsla", $arguments);
  50086. },
  50087. $signature: 6
  50088. };
  50089. A.global_closure14.prototype = {
  50090. call$1($arguments) {
  50091. return A._hsl("hsla", $arguments);
  50092. },
  50093. $signature: 6
  50094. };
  50095. A.global_closure15.prototype = {
  50096. call$1($arguments) {
  50097. var t1 = J.getInterceptor$asx($arguments);
  50098. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  50099. return A._functionString("hsla", $arguments);
  50100. else
  50101. throw A.wrapException(A.SassScriptException$("Missing argument $lightness.", null));
  50102. },
  50103. $signature: 19
  50104. };
  50105. A.global_closure16.prototype = {
  50106. call$1($arguments) {
  50107. var parsed = A._parseChannels("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  50108. return parsed instanceof A.SassString ? parsed : A._hsl("hsla", type$.List_Value._as(parsed));
  50109. },
  50110. $signature: 6
  50111. };
  50112. A.global_closure17.prototype = {
  50113. call$1($arguments) {
  50114. var t1 = J.getInterceptor$asx($arguments);
  50115. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  50116. return A._functionString("grayscale", $arguments);
  50117. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  50118. },
  50119. $signature: 6
  50120. };
  50121. A.global_closure18.prototype = {
  50122. call$1($arguments) {
  50123. var t1 = J.getInterceptor$asx($arguments),
  50124. color = t1.$index($arguments, 0).assertColor$1("color"),
  50125. degrees = A._angleValue(t1.$index($arguments, 1), "degrees");
  50126. return color.changeHsl$1$hue(color.get$hue(color) + degrees);
  50127. },
  50128. $signature: 36
  50129. };
  50130. A.global_closure19.prototype = {
  50131. call$1($arguments) {
  50132. var t1 = J.getInterceptor$asx($arguments),
  50133. color = t1.$index($arguments, 0).assertColor$1("color"),
  50134. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  50135. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  50136. },
  50137. $signature: 36
  50138. };
  50139. A.global_closure20.prototype = {
  50140. call$1($arguments) {
  50141. var t1 = J.getInterceptor$asx($arguments),
  50142. color = t1.$index($arguments, 0).assertColor$1("color"),
  50143. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  50144. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  50145. },
  50146. $signature: 36
  50147. };
  50148. A.global_closure21.prototype = {
  50149. call$1($arguments) {
  50150. var t1 = J.getInterceptor$asx($arguments);
  50151. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  50152. return A._functionString("saturate", $arguments);
  50153. return new A.SassString("saturate(" + A.serializeValue(t1.$index($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  50154. },
  50155. $signature: 19
  50156. };
  50157. A.global_closure22.prototype = {
  50158. call$1($arguments) {
  50159. var t1 = J.getInterceptor$asx($arguments),
  50160. color = t1.$index($arguments, 0).assertColor$1("color"),
  50161. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  50162. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  50163. },
  50164. $signature: 36
  50165. };
  50166. A.global_closure23.prototype = {
  50167. call$1($arguments) {
  50168. var t1 = J.getInterceptor$asx($arguments),
  50169. color = t1.$index($arguments, 0).assertColor$1("color"),
  50170. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  50171. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  50172. },
  50173. $signature: 36
  50174. };
  50175. A.global_closure24.prototype = {
  50176. call$1($arguments) {
  50177. var argument = J.$index$asx($arguments, 0);
  50178. if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart()))
  50179. return A._functionString("alpha", $arguments);
  50180. return A.SassNumber_SassNumber(argument.assertColor$1("color")._alpha, null);
  50181. },
  50182. $signature: 6
  50183. };
  50184. A.global_closure25.prototype = {
  50185. call$1($arguments) {
  50186. var t1,
  50187. argList = J.$index$asx($arguments, 0).get$asList();
  50188. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure()))
  50189. return A._functionString("alpha", $arguments);
  50190. t1 = argList.length;
  50191. if (t1 === 0)
  50192. throw A.wrapException(A.SassScriptException$("Missing argument $color.", null));
  50193. else
  50194. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1 + " were passed.", null));
  50195. },
  50196. $signature: 19
  50197. };
  50198. A.global__closure.prototype = {
  50199. call$1(argument) {
  50200. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  50201. },
  50202. $signature: 71
  50203. };
  50204. A.global_closure26.prototype = {
  50205. call$1($arguments) {
  50206. var t1 = J.getInterceptor$asx($arguments);
  50207. if (t1.$index($arguments, 0) instanceof A.SassNumber || t1.$index($arguments, 0).get$isSpecialNumber())
  50208. return A._functionString("opacity", $arguments);
  50209. return A.SassNumber_SassNumber(t1.$index($arguments, 0).assertColor$1("color")._alpha, null);
  50210. },
  50211. $signature: 6
  50212. };
  50213. A.module_closure1.prototype = {
  50214. call$1($arguments) {
  50215. var result, t2, color,
  50216. t1 = J.getInterceptor$asx($arguments),
  50217. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  50218. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  50219. if (weight._number$_value !== 100 || !weight.hasUnit$1("%"))
  50220. throw A.wrapException(string$.Only_oa);
  50221. result = A._functionString("invert", t1.take$1($arguments, 1));
  50222. t1 = A.S(t1.$index($arguments, 0));
  50223. t2 = result.toString$0(0);
  50224. A.EvaluationContext_current().warn$2(0, "Passing a number (" + t1 + string$.x29x20to_ci + t2, B.Deprecation_s4m);
  50225. return result;
  50226. }
  50227. color = t1.$index($arguments, 0).assertColor$1("color");
  50228. t1 = color.get$red(color);
  50229. t2 = color.get$green(color);
  50230. return A._mixColors(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
  50231. },
  50232. $signature: 6
  50233. };
  50234. A.module_closure2.prototype = {
  50235. call$1($arguments) {
  50236. var result, t2,
  50237. t1 = J.getInterceptor$asx($arguments);
  50238. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  50239. result = A._functionString("grayscale", t1.take$1($arguments, 1));
  50240. t1 = A.S(t1.$index($arguments, 0));
  50241. t2 = result.toString$0(0);
  50242. A.EvaluationContext_current().warn$2(0, "Passing a number (" + t1 + string$.x29x20to_cg + t2, B.Deprecation_s4m);
  50243. return result;
  50244. }
  50245. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  50246. },
  50247. $signature: 6
  50248. };
  50249. A.module_closure3.prototype = {
  50250. call$1($arguments) {
  50251. return A._hwb($arguments);
  50252. },
  50253. $signature: 6
  50254. };
  50255. A.module_closure4.prototype = {
  50256. call$1($arguments) {
  50257. var parsed = A._parseChannels("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
  50258. if (parsed instanceof A.SassString)
  50259. throw A.wrapException(A.SassScriptException$('Expected numeric channels, got "' + parsed.toString$0(0) + '".', null));
  50260. else
  50261. return A._hwb(type$.List_Value._as(parsed));
  50262. },
  50263. $signature: 6
  50264. };
  50265. A.module_closure5.prototype = {
  50266. call$1($arguments) {
  50267. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  50268. return A.SassNumber_SassNumber(t1.get$whiteness(t1), "%");
  50269. },
  50270. $signature: 12
  50271. };
  50272. A.module_closure6.prototype = {
  50273. call$1($arguments) {
  50274. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  50275. return A.SassNumber_SassNumber(t1.get$blackness(t1), "%");
  50276. },
  50277. $signature: 12
  50278. };
  50279. A.module_closure7.prototype = {
  50280. call$1($arguments) {
  50281. var result, t1,
  50282. argument = J.$index$asx($arguments, 0);
  50283. if (argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart())) {
  50284. result = A._functionString("alpha", $arguments);
  50285. t1 = result.toString$0(0);
  50286. A.EvaluationContext_current().warn$2(0, string$.Using_c + t1, B.Deprecation_s4m);
  50287. return result;
  50288. }
  50289. return A.SassNumber_SassNumber(argument.assertColor$1("color")._alpha, null);
  50290. },
  50291. $signature: 6
  50292. };
  50293. A.module_closure8.prototype = {
  50294. call$1($arguments) {
  50295. var result,
  50296. t1 = J.getInterceptor$asx($arguments);
  50297. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure1())) {
  50298. result = A._functionString("alpha", $arguments);
  50299. t1 = result.toString$0(0);
  50300. A.EvaluationContext_current().warn$2(0, string$.Using_c + t1, B.Deprecation_s4m);
  50301. return result;
  50302. }
  50303. throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  50304. },
  50305. $signature: 19
  50306. };
  50307. A.module__closure1.prototype = {
  50308. call$1(argument) {
  50309. return argument instanceof A.SassString && !argument._hasQuotes && B.JSString_methods.contains$1(argument._string$_text, $.$get$_microsoftFilterStart());
  50310. },
  50311. $signature: 71
  50312. };
  50313. A.module_closure9.prototype = {
  50314. call$1($arguments) {
  50315. var result, t2,
  50316. t1 = J.getInterceptor$asx($arguments);
  50317. if (t1.$index($arguments, 0) instanceof A.SassNumber) {
  50318. result = A._functionString("opacity", $arguments);
  50319. t1 = A.S(t1.$index($arguments, 0));
  50320. t2 = result.toString$0(0);
  50321. A.EvaluationContext_current().warn$2(0, "Passing a number (" + t1 + string$.x20to_co + t2, B.Deprecation_s4m);
  50322. return result;
  50323. }
  50324. return A.SassNumber_SassNumber(t1.$index($arguments, 0).assertColor$1("color")._alpha, null);
  50325. },
  50326. $signature: 6
  50327. };
  50328. A._red_closure.prototype = {
  50329. call$1($arguments) {
  50330. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  50331. return A.SassNumber_SassNumber(t1.get$red(t1), null);
  50332. },
  50333. $signature: 12
  50334. };
  50335. A._green_closure.prototype = {
  50336. call$1($arguments) {
  50337. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  50338. return A.SassNumber_SassNumber(t1.get$green(t1), null);
  50339. },
  50340. $signature: 12
  50341. };
  50342. A._blue_closure.prototype = {
  50343. call$1($arguments) {
  50344. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  50345. return A.SassNumber_SassNumber(t1.get$blue(t1), null);
  50346. },
  50347. $signature: 12
  50348. };
  50349. A._mix_closure.prototype = {
  50350. call$1($arguments) {
  50351. var t1 = J.getInterceptor$asx($arguments);
  50352. return A._mixColors(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
  50353. },
  50354. $signature: 36
  50355. };
  50356. A._hue_closure.prototype = {
  50357. call$1($arguments) {
  50358. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  50359. return A.SassNumber_SassNumber(t1.get$hue(t1), "deg");
  50360. },
  50361. $signature: 12
  50362. };
  50363. A._saturation_closure.prototype = {
  50364. call$1($arguments) {
  50365. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  50366. return A.SassNumber_SassNumber(t1.get$saturation(t1), "%");
  50367. },
  50368. $signature: 12
  50369. };
  50370. A._lightness_closure.prototype = {
  50371. call$1($arguments) {
  50372. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  50373. return A.SassNumber_SassNumber(t1.get$lightness(t1), "%");
  50374. },
  50375. $signature: 12
  50376. };
  50377. A._complement_closure.prototype = {
  50378. call$1($arguments) {
  50379. var color = J.$index$asx($arguments, 0).assertColor$1("color");
  50380. return color.changeHsl$1$hue(color.get$hue(color) + 180);
  50381. },
  50382. $signature: 36
  50383. };
  50384. A._adjust_closure.prototype = {
  50385. call$1($arguments) {
  50386. return A._updateComponents($arguments, true, false, false);
  50387. },
  50388. $signature: 36
  50389. };
  50390. A._scale_closure.prototype = {
  50391. call$1($arguments) {
  50392. return A._updateComponents($arguments, false, false, true);
  50393. },
  50394. $signature: 36
  50395. };
  50396. A._change_closure.prototype = {
  50397. call$1($arguments) {
  50398. return A._updateComponents($arguments, false, true, false);
  50399. },
  50400. $signature: 36
  50401. };
  50402. A._ieHexStr_closure.prototype = {
  50403. call$1($arguments) {
  50404. var color = J.$index$asx($arguments, 0).assertColor$1("color"),
  50405. t1 = new A._ieHexStr_closure_hexString();
  50406. 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);
  50407. },
  50408. $signature: 19
  50409. };
  50410. A._ieHexStr_closure_hexString.prototype = {
  50411. call$1(component) {
  50412. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
  50413. },
  50414. $signature: 207
  50415. };
  50416. A._updateComponents_getParam.prototype = {
  50417. call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, checkPercent, checkUnitless) {
  50418. var t2, t3, t4, _this = this,
  50419. t1 = _this.keywords.remove$1(0, $name),
  50420. number = t1 == null ? null : t1.assertNumber$1($name);
  50421. if (number == null)
  50422. return null;
  50423. t1 = _this.scale;
  50424. t2 = !t1;
  50425. if (t2 && checkUnitless)
  50426. if (number.get$hasUnits()) {
  50427. t3 = number.get$unitString();
  50428. t4 = number.unitSuggestion$1($name);
  50429. A.EvaluationContext_current().warn$2(0, "$" + $name + ": Passing a number with unit " + t3 + string$.x20is_de + t4 + string$.x0a_Morex3a, B.Deprecation_8WR);
  50430. }
  50431. if (t2 && checkPercent)
  50432. A._checkPercent(number, $name);
  50433. if (!t2 || assertPercent)
  50434. number.assertUnit$2("%", $name);
  50435. if (t1)
  50436. max = 100;
  50437. if (!t2 || assertPercent)
  50438. t1 = number.valueInRange$3(_this.change ? 0 : -max, max, $name);
  50439. else {
  50440. t1 = _this.change ? 0 : -max;
  50441. t1 = number.valueInRangeWithUnit$4(t1, max, $name, checkPercent ? "%" : "");
  50442. }
  50443. return t1;
  50444. },
  50445. call$2($name, max) {
  50446. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, false);
  50447. },
  50448. call$3$checkUnitless($name, max, checkUnitless) {
  50449. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, checkUnitless);
  50450. },
  50451. call$3$checkPercent($name, max, checkPercent) {
  50452. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, checkPercent, false);
  50453. },
  50454. call$3$assertPercent($name, max, assertPercent) {
  50455. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, false, false);
  50456. },
  50457. $signature: 206
  50458. };
  50459. A._updateComponents_closure.prototype = {
  50460. call$1(hue) {
  50461. return A._angleValue(hue, "hue");
  50462. },
  50463. $signature: 92
  50464. };
  50465. A._updateComponents_closure0.prototype = {
  50466. call$1($name) {
  50467. return "$" + $name;
  50468. },
  50469. $signature: 7
  50470. };
  50471. A._updateComponents_updateValue.prototype = {
  50472. call$3(current, param, max) {
  50473. var t1;
  50474. if (param == null)
  50475. return current;
  50476. if (this.change)
  50477. return param;
  50478. if (this.adjust)
  50479. return B.JSNumber_methods.clamp$2(current + param, 0, max);
  50480. t1 = param > 0 ? max - current : current;
  50481. return current + t1 * (param / 100);
  50482. },
  50483. $signature: 205
  50484. };
  50485. A._updateComponents_updateRgb.prototype = {
  50486. call$2(current, param) {
  50487. return A.fuzzyRound(this.updateValue.call$3(current, param, 255));
  50488. },
  50489. $signature: 204
  50490. };
  50491. A._functionString_closure.prototype = {
  50492. call$1(argument) {
  50493. return A.serializeValue(argument, false, true);
  50494. },
  50495. $signature: 476
  50496. };
  50497. A._removedColorFunction_closure.prototype = {
  50498. call$1($arguments) {
  50499. var t1 = this.name,
  50500. t2 = J.getInterceptor$asx($arguments),
  50501. t3 = A.S(t2.$index($arguments, 0)),
  50502. t4 = this.negative ? "-" : "";
  50503. throw A.wrapException(A.SassScriptException$("The function " + t1 + string$.x28__isn + t3 + ", $" + this.argument + ": " + t4 + A.S(t2.$index($arguments, 1)) + string$.x29x0a_Mor + t1, null));
  50504. },
  50505. $signature: 481
  50506. };
  50507. A._rgb_closure.prototype = {
  50508. call$1(alpha) {
  50509. return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  50510. },
  50511. $signature: 92
  50512. };
  50513. A._hsl_closure.prototype = {
  50514. call$1(alpha) {
  50515. return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  50516. },
  50517. $signature: 92
  50518. };
  50519. A._hwb_closure.prototype = {
  50520. call$1(alpha) {
  50521. return A._percentageOrUnitless(alpha.assertNumber$1("alpha"), 1, "alpha");
  50522. },
  50523. $signature: 92
  50524. };
  50525. A._parseChannels_closure.prototype = {
  50526. call$0() {
  50527. return this._0_0[0];
  50528. },
  50529. $signature: 25
  50530. };
  50531. A._parseChannels_closure0.prototype = {
  50532. call$1(value) {
  50533. return value.get$isVar();
  50534. },
  50535. $signature: 71
  50536. };
  50537. A._parseChannels_closure1.prototype = {
  50538. call$0() {
  50539. return type$.SassNumber._as(this._1_0).asSlash;
  50540. },
  50541. $signature: 495
  50542. };
  50543. A._length_closure0.prototype = {
  50544. call$1($arguments) {
  50545. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).get$asList().length, null);
  50546. },
  50547. $signature: 12
  50548. };
  50549. A._nth_closure.prototype = {
  50550. call$1($arguments) {
  50551. var t1 = J.getInterceptor$asx($arguments),
  50552. list = t1.$index($arguments, 0),
  50553. index = t1.$index($arguments, 1);
  50554. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  50555. },
  50556. $signature: 6
  50557. };
  50558. A._setNth_closure.prototype = {
  50559. call$1($arguments) {
  50560. var newList,
  50561. t1 = J.getInterceptor$asx($arguments),
  50562. list = t1.$index($arguments, 0),
  50563. index = t1.$index($arguments, 1),
  50564. value = t1.$index($arguments, 2);
  50565. t1 = list.get$asList();
  50566. newList = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  50567. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  50568. return list.withListContents$1(newList);
  50569. },
  50570. $signature: 27
  50571. };
  50572. A._join_closure.prototype = {
  50573. call$1($arguments) {
  50574. var _0_0, _0_1, _0_3, _0_4, separator, bracketed, t2,
  50575. t1 = J.getInterceptor$asx($arguments),
  50576. list1 = t1.$index($arguments, 0),
  50577. list2 = t1.$index($arguments, 1),
  50578. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  50579. bracketedParam = t1.$index($arguments, 3),
  50580. _1_0 = separatorParam._string$_text;
  50581. $label1$1: {
  50582. if ("auto" === _1_0) {
  50583. _0_0 = new A._Record_2(list1.get$separator(list1), list2.get$separator(list2));
  50584. _0_1 = A._InitializedCell$(new A._join__closure(_0_0));
  50585. _0_3 = A._InitializedCell$(new A._join__closure0(_0_1));
  50586. _0_4 = A._InitializedCell$(new A._join__closure1(_0_0));
  50587. $label0$0: {
  50588. if (_0_3._readFinal$0() && B.ListSeparator_undecided_null_undecided === _0_4._readFinal$0()) {
  50589. t1 = B.ListSeparator_EVt;
  50590. break $label0$0;
  50591. }
  50592. if (_0_3._readFinal$0()) {
  50593. separator = _0_4._readFinal$0();
  50594. t1 = true;
  50595. } else {
  50596. separator = null;
  50597. t1 = false;
  50598. }
  50599. if (!t1)
  50600. separator = _0_1._readFinal$0();
  50601. t1 = separator;
  50602. break $label0$0;
  50603. }
  50604. break $label1$1;
  50605. }
  50606. if ("space" === _1_0) {
  50607. t1 = B.ListSeparator_EVt;
  50608. break $label1$1;
  50609. }
  50610. if ("comma" === _1_0) {
  50611. t1 = B.ListSeparator_rXA;
  50612. break $label1$1;
  50613. }
  50614. if ("slash" === _1_0) {
  50615. t1 = B.ListSeparator_zg9;
  50616. break $label1$1;
  50617. }
  50618. t1 = A.throwExpression(A.SassScriptException$(string$.x24separ, null));
  50619. }
  50620. bracketed = bracketedParam instanceof A.SassString && bracketedParam._string$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  50621. t2 = A.List_List$of(list1.get$asList(), true, type$.Value);
  50622. B.JSArray_methods.addAll$1(t2, list2.get$asList());
  50623. return A.SassList$(t2, t1, bracketed);
  50624. },
  50625. $signature: 27
  50626. };
  50627. A._join__closure.prototype = {
  50628. call$0() {
  50629. return this._0_0._0;
  50630. },
  50631. $signature: 203
  50632. };
  50633. A._join__closure0.prototype = {
  50634. call$0() {
  50635. return B.ListSeparator_undecided_null_undecided === this._0_1._readFinal$0();
  50636. },
  50637. $signature: 1
  50638. };
  50639. A._join__closure1.prototype = {
  50640. call$0() {
  50641. return this._0_0._1;
  50642. },
  50643. $signature: 203
  50644. };
  50645. A._append_closure0.prototype = {
  50646. call$1($arguments) {
  50647. var t2,
  50648. t1 = J.getInterceptor$asx($arguments),
  50649. list = t1.$index($arguments, 0),
  50650. value = t1.$index($arguments, 1),
  50651. _0_0 = t1.$index($arguments, 2).assertString$1("separator")._string$_text;
  50652. $label0$0: {
  50653. if ("auto" === _0_0) {
  50654. t1 = list.get$separator(list) === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_EVt : list.get$separator(list);
  50655. break $label0$0;
  50656. }
  50657. if ("space" === _0_0) {
  50658. t1 = B.ListSeparator_EVt;
  50659. break $label0$0;
  50660. }
  50661. if ("comma" === _0_0) {
  50662. t1 = B.ListSeparator_rXA;
  50663. break $label0$0;
  50664. }
  50665. if ("slash" === _0_0) {
  50666. t1 = B.ListSeparator_zg9;
  50667. break $label0$0;
  50668. }
  50669. t1 = A.throwExpression(A.SassScriptException$(string$.x24separ, null));
  50670. }
  50671. t2 = A.List_List$of(list.get$asList(), true, type$.Value);
  50672. t2.push(value);
  50673. return list.withListContents$2$separator(t2, t1);
  50674. },
  50675. $signature: 27
  50676. };
  50677. A._zip_closure.prototype = {
  50678. call$1($arguments) {
  50679. var results, result, _box_0 = {},
  50680. t1 = J.$index$asx($arguments, 0).get$asList(),
  50681. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value>>"),
  50682. lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure(), t2), true, t2._eval$1("ListIterable.E"));
  50683. if (lists.length === 0)
  50684. return B.SassList_Sof;
  50685. _box_0.i = 0;
  50686. results = A._setArrayType([], type$.JSArray_SassList);
  50687. 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));) {
  50688. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure1(_box_0), t1), false, t2);
  50689. result.fixed$length = Array;
  50690. result.immutable$list = Array;
  50691. results.push(new A.SassList(result, B.ListSeparator_EVt, false));
  50692. ++_box_0.i;
  50693. }
  50694. return A.SassList$(results, B.ListSeparator_rXA, false);
  50695. },
  50696. $signature: 27
  50697. };
  50698. A._zip__closure.prototype = {
  50699. call$1(list) {
  50700. return list.get$asList();
  50701. },
  50702. $signature: 512
  50703. };
  50704. A._zip__closure0.prototype = {
  50705. call$1(list) {
  50706. return this._box_0.i !== J.get$length$asx(list);
  50707. },
  50708. $signature: 520
  50709. };
  50710. A._zip__closure1.prototype = {
  50711. call$1(list) {
  50712. return J.$index$asx(list, this._box_0.i);
  50713. },
  50714. $signature: 6
  50715. };
  50716. A._index_closure0.prototype = {
  50717. call$1($arguments) {
  50718. var t1 = J.getInterceptor$asx($arguments),
  50719. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  50720. return index === -1 ? B.C__SassNull : A.SassNumber_SassNumber(index + 1, null);
  50721. },
  50722. $signature: 6
  50723. };
  50724. A._separator_closure.prototype = {
  50725. call$1($arguments) {
  50726. var t1,
  50727. _0_0 = J.get$separator$x(J.$index$asx($arguments, 0));
  50728. $label0$0: {
  50729. if (B.ListSeparator_rXA === _0_0) {
  50730. t1 = new A.SassString("comma", false);
  50731. break $label0$0;
  50732. }
  50733. if (B.ListSeparator_zg9 === _0_0) {
  50734. t1 = new A.SassString("slash", false);
  50735. break $label0$0;
  50736. }
  50737. t1 = new A.SassString("space", false);
  50738. break $label0$0;
  50739. }
  50740. return t1;
  50741. },
  50742. $signature: 19
  50743. };
  50744. A._isBracketed_closure.prototype = {
  50745. call$1($arguments) {
  50746. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true : B.SassBoolean_false;
  50747. },
  50748. $signature: 23
  50749. };
  50750. A._slash_closure.prototype = {
  50751. call$1($arguments) {
  50752. var list = J.$index$asx($arguments, 0).get$asList();
  50753. if (list.length < 2)
  50754. throw A.wrapException(A.SassScriptException$("At least two elements are required.", null));
  50755. return A.SassList$(list, B.ListSeparator_zg9, false);
  50756. },
  50757. $signature: 27
  50758. };
  50759. A._get_closure.prototype = {
  50760. call$1($arguments) {
  50761. var value,
  50762. t1 = J.getInterceptor$asx($arguments),
  50763. map = t1.$index($arguments, 0).assertMap$1("map"),
  50764. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  50765. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  50766. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  50767. value = map._map$_contents.$index(0, t1.get$current(t1));
  50768. if (!(value instanceof A.SassMap))
  50769. return B.C__SassNull;
  50770. }
  50771. t1 = map._map$_contents.$index(0, B.JSArray_methods.get$last(t2));
  50772. return t1 == null ? B.C__SassNull : t1;
  50773. },
  50774. $signature: 6
  50775. };
  50776. A._set_closure.prototype = {
  50777. call$1($arguments) {
  50778. var t1 = J.getInterceptor$asx($arguments);
  50779. return A._modify(t1.$index($arguments, 0).assertMap$1("map"), A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value), new A._set__closure1($arguments), true);
  50780. },
  50781. $signature: 6
  50782. };
  50783. A._set__closure1.prototype = {
  50784. call$1(_) {
  50785. return J.$index$asx(this.$arguments, 2);
  50786. },
  50787. $signature: 44
  50788. };
  50789. A._set_closure0.prototype = {
  50790. call$1($arguments) {
  50791. var keys, value, t1 = {},
  50792. t2 = J.getInterceptor$asx($arguments),
  50793. map = t2.$index($arguments, 0).assertMap$1("map"),
  50794. _0_0 = t2.$index($arguments, 1).get$asList(),
  50795. _0_1 = A._InitializedCell$(new A._set__closure(_0_0));
  50796. if (_0_1._readFinal$0() <= 0)
  50797. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", null));
  50798. if (J.$eq$(_0_1._readFinal$0(), 1))
  50799. throw A.wrapException(A.SassScriptException$("Expected $args to contain a value.", null));
  50800. keys = t1.value = null;
  50801. if (_0_1._readFinal$0() >= 1) {
  50802. keys = B.JSArray_methods.sublist$2(_0_0, 0, _0_1._readFinal$0() - 1);
  50803. value = _0_0[_0_1._readFinal$0() - 1];
  50804. t1.value = value;
  50805. t2 = true;
  50806. } else
  50807. t2 = false;
  50808. if (t2)
  50809. return A._modify(map, keys, new A._set__closure0(t1), true);
  50810. throw A.wrapException("[BUG] Unreachable code");
  50811. },
  50812. $signature: 6
  50813. };
  50814. A._set__closure.prototype = {
  50815. call$0() {
  50816. return this._0_0.length;
  50817. },
  50818. $signature: 3
  50819. };
  50820. A._set__closure0.prototype = {
  50821. call$1(_) {
  50822. return this._box_0.value;
  50823. },
  50824. $signature: 44
  50825. };
  50826. A._merge_closure.prototype = {
  50827. call$1($arguments) {
  50828. var t2,
  50829. t1 = J.getInterceptor$asx($arguments),
  50830. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  50831. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  50832. t1 = type$.Value;
  50833. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map$_contents, t1, t1);
  50834. t2.addAll$1(0, map2._map$_contents);
  50835. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  50836. },
  50837. $signature: 38
  50838. };
  50839. A._merge_closure0.prototype = {
  50840. call$1($arguments) {
  50841. var keys, last, _null = null,
  50842. t1 = J.getInterceptor$asx($arguments),
  50843. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  50844. _0_0 = t1.$index($arguments, 1).get$asList(),
  50845. _0_1 = A._InitializedCell$(new A._merge__closure(_0_0));
  50846. if (_0_1._readFinal$0() <= 0)
  50847. throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.", _null));
  50848. if (J.$eq$(_0_1._readFinal$0(), 1))
  50849. throw A.wrapException(A.SassScriptException$("Expected $args to contain a map.", _null));
  50850. if (_0_1._readFinal$0() >= 1) {
  50851. keys = B.JSArray_methods.sublist$2(_0_0, 0, _0_1._readFinal$0() - 1);
  50852. last = _0_0[_0_1._readFinal$0() - 1];
  50853. last = last;
  50854. t1 = true;
  50855. } else {
  50856. last = _null;
  50857. keys = last;
  50858. t1 = false;
  50859. }
  50860. if (t1)
  50861. return A._modify(map1, keys, new A._merge__closure0(last.assertMap$1("map2")), true);
  50862. throw A.wrapException("[BUG] Unreachable code");
  50863. },
  50864. $signature: 6
  50865. };
  50866. A._merge__closure.prototype = {
  50867. call$0() {
  50868. return this._0_0.length;
  50869. },
  50870. $signature: 3
  50871. };
  50872. A._merge__closure0.prototype = {
  50873. call$1(oldValue) {
  50874. var t1, t2,
  50875. nestedMap = oldValue.tryMap$0();
  50876. if (nestedMap == null)
  50877. return this.map2;
  50878. t1 = type$.Value;
  50879. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  50880. t2.addAll$1(0, this.map2._map$_contents);
  50881. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  50882. },
  50883. $signature: 536
  50884. };
  50885. A._deepMerge_closure.prototype = {
  50886. call$1($arguments) {
  50887. var t1 = J.getInterceptor$asx($arguments);
  50888. return A._deepMergeImpl(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  50889. },
  50890. $signature: 38
  50891. };
  50892. A._deepRemove_closure.prototype = {
  50893. call$1($arguments) {
  50894. var t1 = J.getInterceptor$asx($arguments),
  50895. map = t1.$index($arguments, 0).assertMap$1("map"),
  50896. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  50897. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  50898. return A._modify(map, A.IterableExtension_get_exceptLast(t2), new A._deepRemove__closure(t2), false);
  50899. },
  50900. $signature: 6
  50901. };
  50902. A._deepRemove__closure.prototype = {
  50903. call$1(value) {
  50904. var nestedMap, t1, t2,
  50905. _0_0 = value.tryMap$0();
  50906. if (_0_0 != null) {
  50907. nestedMap = _0_0;
  50908. t1 = true;
  50909. } else {
  50910. nestedMap = null;
  50911. t1 = false;
  50912. }
  50913. if (t1 && nestedMap._map$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys))) {
  50914. t1 = type$.Value;
  50915. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map$_contents, t1, t1);
  50916. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  50917. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  50918. }
  50919. return value;
  50920. },
  50921. $signature: 44
  50922. };
  50923. A._remove_closure.prototype = {
  50924. call$1($arguments) {
  50925. return J.$index$asx($arguments, 0).assertMap$1("map");
  50926. },
  50927. $signature: 38
  50928. };
  50929. A._remove_closure0.prototype = {
  50930. call$1($arguments) {
  50931. var mutableMap, t3, _i,
  50932. t1 = J.getInterceptor$asx($arguments),
  50933. map = t1.$index($arguments, 0).assertMap$1("map"),
  50934. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  50935. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  50936. t1 = type$.Value;
  50937. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1);
  50938. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  50939. mutableMap.remove$1(0, t2[_i]);
  50940. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  50941. },
  50942. $signature: 38
  50943. };
  50944. A._keys_closure.prototype = {
  50945. call$1($arguments) {
  50946. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  50947. return A.SassList$(t1.get$keys(t1), B.ListSeparator_rXA, false);
  50948. },
  50949. $signature: 27
  50950. };
  50951. A._values_closure.prototype = {
  50952. call$1($arguments) {
  50953. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map$_contents;
  50954. return A.SassList$(t1.get$values(t1), B.ListSeparator_rXA, false);
  50955. },
  50956. $signature: 27
  50957. };
  50958. A._hasKey_closure.prototype = {
  50959. call$1($arguments) {
  50960. var value,
  50961. t1 = J.getInterceptor$asx($arguments),
  50962. map = t1.$index($arguments, 0).assertMap$1("map"),
  50963. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value);
  50964. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  50965. for (t1 = A.IterableExtension_get_exceptLast(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  50966. value = map._map$_contents.$index(0, t1.get$current(t1));
  50967. if (!(value instanceof A.SassMap))
  50968. return B.SassBoolean_false;
  50969. }
  50970. return map._map$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  50971. },
  50972. $signature: 23
  50973. };
  50974. A._modify_modifyNestedMap.prototype = {
  50975. call$1(map) {
  50976. var nestedMap, _this = this,
  50977. t1 = type$.Value,
  50978. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map$_contents, t1, t1),
  50979. t2 = _this.keyIterator,
  50980. key = t2.get$current(t2);
  50981. if (!t2.moveNext$0()) {
  50982. t2 = mutableMap.$index(0, key);
  50983. if (t2 == null)
  50984. t2 = B.C__SassNull;
  50985. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  50986. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  50987. }
  50988. t2 = mutableMap.$index(0, key);
  50989. nestedMap = t2 == null ? null : t2.tryMap$0();
  50990. t2 = nestedMap == null;
  50991. if (t2 && !_this.addNesting)
  50992. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  50993. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty : nestedMap));
  50994. return new A.SassMap(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  50995. },
  50996. $signature: 537
  50997. };
  50998. A._deepMergeImpl_closure.prototype = {
  50999. call$0() {
  51000. return this._1_0._0;
  51001. },
  51002. $signature: 202
  51003. };
  51004. A._deepMergeImpl_closure0.prototype = {
  51005. call$0() {
  51006. return this._1_0._1;
  51007. },
  51008. $signature: 202
  51009. };
  51010. A.global_closure.prototype = {
  51011. call$1($arguments) {
  51012. var t1, t2,
  51013. number = J.$index$asx($arguments, 0).assertNumber$1("number");
  51014. if (number.hasUnit$1("%")) {
  51015. t1 = number.toString$0(0);
  51016. t2 = number.toString$0(0);
  51017. A.EvaluationContext_current().warn$2(0, string$.Passinp + t1 + ")\nTo emit a CSS abs() now: abs(#{" + t2 + string$.x7d__Mor, B.Deprecation_043);
  51018. }
  51019. t1 = number.get$numeratorUnits(number);
  51020. return A.SassNumber_SassNumber$withUnits(Math.abs(number._number$_value), number.get$denominatorUnits(number), t1);
  51021. },
  51022. $signature: 12
  51023. };
  51024. A.module_closure0.prototype = {
  51025. call$1(value) {
  51026. return Math.abs(value);
  51027. },
  51028. $signature: 42
  51029. };
  51030. A._ceil_closure.prototype = {
  51031. call$1(value) {
  51032. return B.JSNumber_methods.ceil$0(value);
  51033. },
  51034. $signature: 42
  51035. };
  51036. A._clamp_closure.prototype = {
  51037. call$1($arguments) {
  51038. var t1 = J.getInterceptor$asx($arguments),
  51039. min = t1.$index($arguments, 0).assertNumber$1("min"),
  51040. number = t1.$index($arguments, 1).assertNumber$1("number"),
  51041. max = t1.$index($arguments, 2).assertNumber$1("max");
  51042. number.convertValueToMatch$3(min, "number", "min");
  51043. max.convertValueToMatch$3(min, "max", "min");
  51044. if (min.greaterThanOrEquals$1(max).value)
  51045. return min;
  51046. if (min.greaterThanOrEquals$1(number).value)
  51047. return min;
  51048. if (number.greaterThanOrEquals$1(max).value)
  51049. return max;
  51050. return number;
  51051. },
  51052. $signature: 12
  51053. };
  51054. A._floor_closure.prototype = {
  51055. call$1(value) {
  51056. return B.JSNumber_methods.floor$0(value);
  51057. },
  51058. $signature: 42
  51059. };
  51060. A._max_closure.prototype = {
  51061. call$1($arguments) {
  51062. var t1, t2, max, _i, number;
  51063. 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) {
  51064. number = t1[_i].assertNumber$0();
  51065. if (max == null || max.lessThan$1(number).value)
  51066. max = number;
  51067. }
  51068. if (max != null)
  51069. return max;
  51070. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  51071. },
  51072. $signature: 12
  51073. };
  51074. A._min_closure.prototype = {
  51075. call$1($arguments) {
  51076. var t1, t2, min, _i, number;
  51077. 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) {
  51078. number = t1[_i].assertNumber$0();
  51079. if (min == null || min.greaterThan$1(number).value)
  51080. min = number;
  51081. }
  51082. if (min != null)
  51083. return min;
  51084. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  51085. },
  51086. $signature: 12
  51087. };
  51088. A._round_closure.prototype = {
  51089. call$1(number) {
  51090. return B.JSNumber_methods.round$0(number);
  51091. },
  51092. $signature: 42
  51093. };
  51094. A._hypot_closure.prototype = {
  51095. call$1($arguments) {
  51096. var subtotal, i, i0, t3, t4,
  51097. t1 = J.$index$asx($arguments, 0).get$asList(),
  51098. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber>"),
  51099. numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure(), t2), true, t2._eval$1("ListIterable.E"));
  51100. t1 = numbers.length;
  51101. if (t1 === 0)
  51102. throw A.wrapException(A.SassScriptException$("At least one argument must be passed.", null));
  51103. for (subtotal = 0, i = 0; i < t1; i = i0) {
  51104. i0 = i + 1;
  51105. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  51106. }
  51107. t1 = Math.sqrt(subtotal);
  51108. t2 = numbers[0];
  51109. t3 = J.getInterceptor$x(t2);
  51110. t4 = t3.get$numeratorUnits(t2);
  51111. return A.SassNumber_SassNumber$withUnits(t1, t3.get$denominatorUnits(t2), t4);
  51112. },
  51113. $signature: 12
  51114. };
  51115. A._hypot__closure.prototype = {
  51116. call$1(argument) {
  51117. return argument.assertNumber$0();
  51118. },
  51119. $signature: 548
  51120. };
  51121. A._log_closure.prototype = {
  51122. call$1($arguments) {
  51123. var base,
  51124. _s18_ = " to have no units.",
  51125. _null = null,
  51126. t1 = J.getInterceptor$asx($arguments),
  51127. number = t1.$index($arguments, 0).assertNumber$1("number");
  51128. if (number.get$hasUnits())
  51129. throw A.wrapException(A.SassScriptException$("$number: Expected " + number.toString$0(0) + _s18_, _null));
  51130. else if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull))
  51131. return A.SassNumber_SassNumber(Math.log(number._number$_value), _null);
  51132. base = t1.$index($arguments, 1).assertNumber$1("base");
  51133. if (base.get$hasUnits())
  51134. throw A.wrapException(A.SassScriptException$("$base: Expected " + base.toString$0(0) + _s18_, _null));
  51135. else
  51136. return A.SassNumber_SassNumber(Math.log(number._number$_value) / Math.log(base._number$_value), _null);
  51137. },
  51138. $signature: 12
  51139. };
  51140. A._pow_closure.prototype = {
  51141. call$1($arguments) {
  51142. var t1 = J.getInterceptor$asx($arguments);
  51143. return A.pow0(t1.$index($arguments, 0).assertNumber$1("base"), t1.$index($arguments, 1).assertNumber$1("exponent"));
  51144. },
  51145. $signature: 12
  51146. };
  51147. A._atan2_closure.prototype = {
  51148. call$1($arguments) {
  51149. var t1 = J.getInterceptor$asx($arguments),
  51150. y = t1.$index($arguments, 0).assertNumber$1("y");
  51151. return A.SassNumber_SassNumber$withUnits(Math.atan2(y._number$_value, t1.$index($arguments, 1).assertNumber$1("x").convertValueToMatch$3(y, "x", "y")) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  51152. },
  51153. $signature: 12
  51154. };
  51155. A._compatible_closure.prototype = {
  51156. call$1($arguments) {
  51157. var t1 = J.getInterceptor$asx($arguments);
  51158. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true : B.SassBoolean_false;
  51159. },
  51160. $signature: 23
  51161. };
  51162. A._isUnitless_closure.prototype = {
  51163. call$1($arguments) {
  51164. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true : B.SassBoolean_false;
  51165. },
  51166. $signature: 23
  51167. };
  51168. A._unit_closure.prototype = {
  51169. call$1($arguments) {
  51170. return new A.SassString(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  51171. },
  51172. $signature: 19
  51173. };
  51174. A._percentage_closure.prototype = {
  51175. call$1($arguments) {
  51176. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  51177. number.assertNoUnits$1("number");
  51178. return A.SassNumber_SassNumber(number._number$_value * 100, "%");
  51179. },
  51180. $signature: 12
  51181. };
  51182. A._randomFunction_closure.prototype = {
  51183. call$1($arguments) {
  51184. var limit, t2, t3, t4, limitScalar,
  51185. t1 = J.getInterceptor$asx($arguments);
  51186. if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull))
  51187. return A.SassNumber_SassNumber($.$get$_random0().nextDouble$0(), null);
  51188. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  51189. if (limit.get$hasUnits()) {
  51190. t1 = limit.toString$0(0);
  51191. t2 = limit.get$unitString();
  51192. t3 = limit.get$unitString();
  51193. t4 = limit.get$unitString();
  51194. A.EvaluationContext_current().warn$2(0, string$.math_r + t1 + string$.x29x20in_a + t2 + ")) * 1" + t3 + string$.x0a_To_p + t4 + string$.x29x29__Mo, B.Deprecation_8WR);
  51195. }
  51196. limitScalar = limit.assertInt$1("limit");
  51197. if (limitScalar < 1)
  51198. throw A.wrapException(A.SassScriptException$("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  51199. return A.SassNumber_SassNumber($.$get$_random0().nextInt$1(limitScalar) + 1, null);
  51200. },
  51201. $signature: 12
  51202. };
  51203. A._div_closure.prototype = {
  51204. call$1($arguments) {
  51205. var t1 = J.getInterceptor$asx($arguments),
  51206. number1 = t1.$index($arguments, 0),
  51207. number2 = t1.$index($arguments, 1);
  51208. if (!(number1 instanceof A.SassNumber) || !(number2 instanceof A.SassNumber)) {
  51209. t1 = A.EvaluationContext_current();
  51210. t1.warn$2(0, string$.math_d, null);
  51211. }
  51212. return number1.dividedBy$1(number2);
  51213. },
  51214. $signature: 6
  51215. };
  51216. A._singleArgumentMathFunc_closure.prototype = {
  51217. call$1($arguments) {
  51218. return this.mathFunc.call$1(J.$index$asx($arguments, 0).assertNumber$1("number"));
  51219. },
  51220. $signature: 12
  51221. };
  51222. A._numberFunction_closure.prototype = {
  51223. call$1($arguments) {
  51224. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  51225. t1 = this.transform.call$1(number._number$_value),
  51226. t2 = number.get$numeratorUnits(number);
  51227. return A.SassNumber_SassNumber$withUnits(t1, number.get$denominatorUnits(number), t2);
  51228. },
  51229. $signature: 12
  51230. };
  51231. A.global_closure27.prototype = {
  51232. call$1($arguments) {
  51233. return $._features.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  51234. },
  51235. $signature: 23
  51236. };
  51237. A.global_closure28.prototype = {
  51238. call$1($arguments) {
  51239. return new A.SassString(A.serializeValue(J.get$first$ax($arguments), true, true), false);
  51240. },
  51241. $signature: 19
  51242. };
  51243. A.global_closure29.prototype = {
  51244. call$1($arguments) {
  51245. var t1 = J.getInterceptor$asx($arguments),
  51246. _0_0 = t1.$index($arguments, 0);
  51247. $label0$0: {
  51248. if (_0_0 instanceof A.SassArgumentList) {
  51249. t1 = "arglist";
  51250. break $label0$0;
  51251. }
  51252. if (_0_0 instanceof A.SassBoolean) {
  51253. t1 = "bool";
  51254. break $label0$0;
  51255. }
  51256. if (_0_0 instanceof A.SassColor) {
  51257. t1 = "color";
  51258. break $label0$0;
  51259. }
  51260. if (_0_0 instanceof A.SassList) {
  51261. t1 = "list";
  51262. break $label0$0;
  51263. }
  51264. if (_0_0 instanceof A.SassMap) {
  51265. t1 = "map";
  51266. break $label0$0;
  51267. }
  51268. if (B.C__SassNull === _0_0) {
  51269. t1 = "null";
  51270. break $label0$0;
  51271. }
  51272. if (_0_0 instanceof A.SassNumber) {
  51273. t1 = "number";
  51274. break $label0$0;
  51275. }
  51276. if (_0_0 instanceof A.SassFunction) {
  51277. t1 = "function";
  51278. break $label0$0;
  51279. }
  51280. if (_0_0 instanceof A.SassMixin) {
  51281. t1 = "mixin";
  51282. break $label0$0;
  51283. }
  51284. if (_0_0 instanceof A.SassCalculation) {
  51285. t1 = "calculation";
  51286. break $label0$0;
  51287. }
  51288. if (_0_0 instanceof A.SassString) {
  51289. t1 = "string";
  51290. break $label0$0;
  51291. }
  51292. t1 = A.throwExpression("[BUG] Unknown value type " + A.S(t1.$index($arguments, 0)));
  51293. }
  51294. return new A.SassString(t1, false);
  51295. },
  51296. $signature: 19
  51297. };
  51298. A.global_closure30.prototype = {
  51299. call$1($arguments) {
  51300. var t2, keywords, t3, t4,
  51301. t1 = J.getInterceptor$asx($arguments),
  51302. _1_0 = t1.$index($arguments, 0);
  51303. if (_1_0 instanceof A.SassArgumentList) {
  51304. t2 = _1_0._wereKeywordsAccessed = true;
  51305. keywords = _1_0._keywords;
  51306. } else {
  51307. keywords = null;
  51308. t2 = false;
  51309. }
  51310. if (t2) {
  51311. t1 = type$.Value;
  51312. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  51313. for (t3 = A.MapExtensions_get_pairs(keywords, type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  51314. t4 = t3.get$current(t3);
  51315. t2.$indexSet(0, new A.SassString(t4._0, false), t4._1);
  51316. }
  51317. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  51318. } else
  51319. throw A.wrapException("$args: " + A.S(t1.$index($arguments, 0)) + " is not an argument list.");
  51320. },
  51321. $signature: 38
  51322. };
  51323. A.local_closure.prototype = {
  51324. call$1($arguments) {
  51325. return new A.SassString(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  51326. },
  51327. $signature: 19
  51328. };
  51329. A.local_closure0.prototype = {
  51330. call$1($arguments) {
  51331. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  51332. return A.SassList$(new A.MappedListIterable(t1, new A.local__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_rXA, false);
  51333. },
  51334. $signature: 27
  51335. };
  51336. A.local__closure0.prototype = {
  51337. call$1(argument) {
  51338. return argument instanceof A.Value ? argument : new A.SassString(J.toString$0$(argument), false);
  51339. },
  51340. $signature: 549
  51341. };
  51342. A.local_closure1.prototype = {
  51343. call$1($arguments) {
  51344. var _0_2, acceptsContent, _0_2_isSet, t1, hasContent, _null = null,
  51345. mixin = J.$index$asx($arguments, 0).assertMixin$1("mixin"),
  51346. _0_0 = mixin.callable,
  51347. _0_5 = A._InitializedCell$(new A.local__closure(_0_0));
  51348. $label0$0: {
  51349. if (type$.AsyncBuiltInCallable._is(_0_0)) {
  51350. _0_2 = _0_0.get$acceptsContent();
  51351. acceptsContent = _0_2;
  51352. _0_2_isSet = true;
  51353. t1 = true;
  51354. } else {
  51355. acceptsContent = _null;
  51356. _0_2 = acceptsContent;
  51357. _0_2_isSet = false;
  51358. t1 = false;
  51359. }
  51360. if (!t1)
  51361. if (_0_0 instanceof A.BuiltInCallable) {
  51362. acceptsContent = _0_2_isSet ? _0_2 : _0_0.acceptsContent;
  51363. t1 = true;
  51364. } else
  51365. t1 = false;
  51366. else
  51367. t1 = true;
  51368. if (t1) {
  51369. t1 = acceptsContent;
  51370. break $label0$0;
  51371. }
  51372. if (_0_0 instanceof A.UserDefinedCallable)
  51373. if (_0_5._readFinal$0() instanceof A.MixinRule) {
  51374. hasContent = _0_5._readFinal$0().get$hasContent();
  51375. t1 = true;
  51376. } else {
  51377. hasContent = _null;
  51378. t1 = false;
  51379. }
  51380. else {
  51381. hasContent = _null;
  51382. t1 = false;
  51383. }
  51384. if (t1) {
  51385. t1 = hasContent;
  51386. break $label0$0;
  51387. }
  51388. t1 = A.throwExpression(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  51389. }
  51390. return t1 ? B.SassBoolean_true : B.SassBoolean_false;
  51391. },
  51392. $signature: 23
  51393. };
  51394. A.local__closure.prototype = {
  51395. call$0() {
  51396. return type$.UserDefinedCallable_dynamic._as(this._0_0).declaration;
  51397. },
  51398. $signature: 140
  51399. };
  51400. A._nest_closure.prototype = {
  51401. call$1($arguments) {
  51402. var t1 = {},
  51403. selectors = J.$index$asx($arguments, 0).get$asList();
  51404. if (selectors.length === 0)
  51405. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  51406. t1.first = true;
  51407. 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();
  51408. },
  51409. $signature: 27
  51410. };
  51411. A._nest__closure.prototype = {
  51412. call$1(selector) {
  51413. var t1 = this._box_0,
  51414. result = A.SassApiValue_assertSelector(selector, !t1.first, null);
  51415. t1.first = false;
  51416. return result;
  51417. },
  51418. $signature: 201
  51419. };
  51420. A._nest__closure0.prototype = {
  51421. call$2($parent, child) {
  51422. return child.resolveParentSelectors$1($parent);
  51423. },
  51424. $signature: 200
  51425. };
  51426. A._append_closure.prototype = {
  51427. call$1($arguments) {
  51428. var selectors = J.$index$asx($arguments, 0).get$asList();
  51429. if (selectors.length === 0)
  51430. throw A.wrapException(A.SassScriptException$(string$.x24selec, null));
  51431. return new A.MappedListIterable(selectors, new A._append__closure(), A._arrayInstanceType(selectors)._eval$1("MappedListIterable<1,SelectorList>")).reduce$1(0, new A._append__closure0(A.EvaluationContext_current().get$currentCallableSpan())).get$asSassList();
  51432. },
  51433. $signature: 27
  51434. };
  51435. A._append__closure.prototype = {
  51436. call$1(selector) {
  51437. return A.SassApiValue_assertSelector(selector, false, null);
  51438. },
  51439. $signature: 201
  51440. };
  51441. A._append__closure0.prototype = {
  51442. call$2($parent, child) {
  51443. var t1 = child.components,
  51444. t2 = this.span;
  51445. return A.SelectorList$(new A.MappedListIterable(t1, new A._append___closure($parent, t2), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector>")), t2).resolveParentSelectors$1($parent);
  51446. },
  51447. $signature: 200
  51448. };
  51449. A._append___closure.prototype = {
  51450. call$1(complex) {
  51451. var _0_0, component, rest, t1, newCompound, t2, _null = null;
  51452. if (complex.leadingCombinators.length !== 0)
  51453. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  51454. _0_0 = complex.components;
  51455. if (_0_0.length >= 1) {
  51456. component = _0_0[0];
  51457. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  51458. t1 = true;
  51459. } else {
  51460. rest = _null;
  51461. component = rest;
  51462. t1 = false;
  51463. }
  51464. if (!t1)
  51465. throw A.wrapException(A.StateError$("Pattern matching error"));
  51466. newCompound = A._prependParent(component.selector);
  51467. if (newCompound == null)
  51468. throw A.wrapException(A.SassScriptException$("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  51469. t1 = this.span;
  51470. t2 = A._setArrayType([new A.ComplexSelectorComponent(newCompound, A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator), t1)], type$.JSArray_ComplexSelectorComponent);
  51471. B.JSArray_methods.addAll$1(t2, rest);
  51472. return A.ComplexSelector$(B.List_empty1, t2, t1, false);
  51473. },
  51474. $signature: 59
  51475. };
  51476. A._extend_closure.prototype = {
  51477. call$1($arguments) {
  51478. var target, source,
  51479. _s8_ = "selector",
  51480. _s8_0 = "extendee",
  51481. _s8_1 = "extender",
  51482. t1 = J.getInterceptor$asx($arguments),
  51483. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  51484. selector.assertNotBogus$1$name(_s8_);
  51485. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  51486. target.assertNotBogus$1$name(_s8_0);
  51487. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s8_1);
  51488. source.assertNotBogus$1$name(_s8_1);
  51489. return A.ExtensionStore__extendOrReplace(selector, source, target, B.ExtendMode_allTargets_allTargets, A.EvaluationContext_current().get$currentCallableSpan()).get$asSassList();
  51490. },
  51491. $signature: 27
  51492. };
  51493. A._replace_closure.prototype = {
  51494. call$1($arguments) {
  51495. var target, source,
  51496. _s8_ = "selector",
  51497. _s8_0 = "original",
  51498. _s11_ = "replacement",
  51499. t1 = J.getInterceptor$asx($arguments),
  51500. selector = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s8_);
  51501. selector.assertNotBogus$1$name(_s8_);
  51502. target = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s8_0);
  51503. target.assertNotBogus$1$name(_s8_0);
  51504. source = A.SassApiValue_assertSelector(t1.$index($arguments, 2), false, _s11_);
  51505. source.assertNotBogus$1$name(_s11_);
  51506. return A.ExtensionStore__extendOrReplace(selector, source, target, B.ExtendMode_replace_replace, A.EvaluationContext_current().get$currentCallableSpan()).get$asSassList();
  51507. },
  51508. $signature: 27
  51509. };
  51510. A._unify_closure.prototype = {
  51511. call$1($arguments) {
  51512. var selector2,
  51513. _s9_ = "selector1",
  51514. _s9_0 = "selector2",
  51515. t1 = J.getInterceptor$asx($arguments),
  51516. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, _s9_);
  51517. selector1.assertNotBogus$1$name(_s9_);
  51518. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, _s9_0);
  51519. selector2.assertNotBogus$1$name(_s9_0);
  51520. t1 = selector1.unify$1(selector2);
  51521. t1 = t1 == null ? null : t1.get$asSassList();
  51522. return t1 == null ? B.C__SassNull : t1;
  51523. },
  51524. $signature: 6
  51525. };
  51526. A._isSuperselector_closure.prototype = {
  51527. call$1($arguments) {
  51528. var selector2,
  51529. t1 = J.getInterceptor$asx($arguments),
  51530. selector1 = A.SassApiValue_assertSelector(t1.$index($arguments, 0), false, "super");
  51531. selector1.assertNotBogus$1$name("super");
  51532. selector2 = A.SassApiValue_assertSelector(t1.$index($arguments, 1), false, "sub");
  51533. selector2.assertNotBogus$1$name("sub");
  51534. return A.listIsSuperselector(selector1.components, selector2.components) ? B.SassBoolean_true : B.SassBoolean_false;
  51535. },
  51536. $signature: 23
  51537. };
  51538. A._simpleSelectors_closure.prototype = {
  51539. call$1($arguments) {
  51540. var t1 = A.SassApiValue_assertCompoundSelector(J.$index$asx($arguments, 0), "selector").components;
  51541. return A.SassList$(new A.MappedListIterable(t1, new A._simpleSelectors__closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value>")), B.ListSeparator_rXA, false);
  51542. },
  51543. $signature: 27
  51544. };
  51545. A._simpleSelectors__closure.prototype = {
  51546. call$1(simple) {
  51547. return new A.SassString(A.serializeSelector(simple, true), false);
  51548. },
  51549. $signature: 630
  51550. };
  51551. A._parse_closure.prototype = {
  51552. call$1($arguments) {
  51553. return A.SassApiValue_assertSelector(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  51554. },
  51555. $signature: 27
  51556. };
  51557. A._prependParent_closure.prototype = {
  51558. call$0() {
  51559. return this._0_0.length >= 1;
  51560. },
  51561. $signature: 1
  51562. };
  51563. A._prependParent_closure0.prototype = {
  51564. call$0() {
  51565. return this._0_0[0];
  51566. },
  51567. $signature: 238
  51568. };
  51569. A.module_closure.prototype = {
  51570. call$1($arguments) {
  51571. var limit, t2, chunks, i, lastEnd, match, t3,
  51572. t1 = J.getInterceptor$asx($arguments),
  51573. string = t1.$index($arguments, 0).assertString$1("string"),
  51574. separator = t1.$index($arguments, 1).assertString$1("separator");
  51575. t1 = t1.$index($arguments, 2).get$realNull();
  51576. limit = t1 == null ? null : t1.assertNumber$1("limit").assertInt$1("limit");
  51577. if (limit != null && limit < 1)
  51578. throw A.wrapException(A.SassScriptException$("$limit: Must be 1 or greater, was " + A.S(limit) + ".", null));
  51579. t1 = string._string$_text;
  51580. if (t1.length === 0)
  51581. return B.SassList_Sof0;
  51582. else {
  51583. t2 = separator._string$_text;
  51584. if (t2.length === 0)
  51585. return A.SassList$(A.MappedIterable_MappedIterable(new A.Runes(t1), new A.module__closure(string), type$.Runes._eval$1("Iterable.E"), type$.Value), B.ListSeparator_rXA, true);
  51586. }
  51587. chunks = A._setArrayType([], type$.JSArray_String);
  51588. for (t2 = B.JSString_methods.allMatches$1(t2, t1), t2 = new A._StringAllMatchesIterator(t2._input, t2._pattern, t2.__js_helper$_index), i = 0, lastEnd = 0; t2.moveNext$0();) {
  51589. match = t2.__js_helper$_current;
  51590. t3 = match.start;
  51591. chunks.push(B.JSString_methods.substring$2(t1, lastEnd, t3));
  51592. lastEnd = t3 + match.pattern.length;
  51593. ++i;
  51594. if (i === limit)
  51595. break;
  51596. }
  51597. chunks.push(B.JSString_methods.substring$1(t1, lastEnd));
  51598. return A.SassList$(new A.MappedListIterable(chunks, new A.module__closure0(string), type$.MappedListIterable_String_Value), B.ListSeparator_rXA, true);
  51599. },
  51600. $signature: 27
  51601. };
  51602. A.module__closure.prototype = {
  51603. call$1(rune) {
  51604. return new A.SassString(A.Primitives_stringFromCharCode(rune), this.string._hasQuotes);
  51605. },
  51606. $signature: 300
  51607. };
  51608. A.module__closure0.prototype = {
  51609. call$1(chunk) {
  51610. return new A.SassString(chunk, this.string._hasQuotes);
  51611. },
  51612. $signature: 308
  51613. };
  51614. A._unquote_closure.prototype = {
  51615. call$1($arguments) {
  51616. var string = J.$index$asx($arguments, 0).assertString$1("string");
  51617. if (!string._hasQuotes)
  51618. return string;
  51619. return new A.SassString(string._string$_text, false);
  51620. },
  51621. $signature: 19
  51622. };
  51623. A._quote_closure.prototype = {
  51624. call$1($arguments) {
  51625. var string = J.$index$asx($arguments, 0).assertString$1("string");
  51626. if (string._hasQuotes)
  51627. return string;
  51628. return new A.SassString(string._string$_text, true);
  51629. },
  51630. $signature: 19
  51631. };
  51632. A._length_closure.prototype = {
  51633. call$1($arguments) {
  51634. return A.SassNumber_SassNumber(J.$index$asx($arguments, 0).assertString$1("string").get$_sassLength(), null);
  51635. },
  51636. $signature: 12
  51637. };
  51638. A._insert_closure.prototype = {
  51639. call$1($arguments) {
  51640. var indexInt, codeUnitIndex, _s5_ = "index",
  51641. t1 = J.getInterceptor$asx($arguments),
  51642. string = t1.$index($arguments, 0).assertString$1("string"),
  51643. insert = t1.$index($arguments, 1).assertString$1("insert"),
  51644. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  51645. index.assertNoUnits$1(_s5_);
  51646. indexInt = index.assertInt$1(_s5_);
  51647. if (indexInt < 0)
  51648. indexInt = Math.max(string.get$_sassLength() + indexInt + 2, 0);
  51649. t1 = string._string$_text;
  51650. codeUnitIndex = A.codepointIndexToCodeUnitIndex(t1, A._codepointForIndex(indexInt, string.get$_sassLength(), false));
  51651. return new A.SassString(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string$_text), string._hasQuotes);
  51652. },
  51653. $signature: 19
  51654. };
  51655. A._index_closure.prototype = {
  51656. call$1($arguments) {
  51657. var t1 = J.getInterceptor$asx($arguments),
  51658. t2 = t1.$index($arguments, 0).assertString$1("string")._string$_text,
  51659. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string$_text);
  51660. if (codeUnitIndex === -1)
  51661. return B.C__SassNull;
  51662. return A.SassNumber_SassNumber(A.codeUnitIndexToCodepointIndex(t2, codeUnitIndex) + 1, null);
  51663. },
  51664. $signature: 6
  51665. };
  51666. A._slice_closure.prototype = {
  51667. call$1($arguments) {
  51668. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  51669. _s8_ = "start-at",
  51670. t1 = J.getInterceptor$asx($arguments),
  51671. string = t1.$index($arguments, 0).assertString$1("string"),
  51672. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  51673. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  51674. start.assertNoUnits$1(_s8_);
  51675. end.assertNoUnits$1("end-at");
  51676. lengthInCodepoints = string.get$_sassLength();
  51677. endInt = end.assertInt$0();
  51678. if (endInt === 0)
  51679. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  51680. startCodepoint = A._codepointForIndex(start.assertInt$0(), lengthInCodepoints, false);
  51681. endCodepoint = A._codepointForIndex(endInt, lengthInCodepoints, true);
  51682. if (endCodepoint === lengthInCodepoints)
  51683. --endCodepoint;
  51684. if (endCodepoint < startCodepoint)
  51685. return string._hasQuotes ? $.$get$_emptyQuoted() : $.$get$_emptyUnquoted();
  51686. t1 = string._string$_text;
  51687. return new A.SassString(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex(t1, startCodepoint), A.codepointIndexToCodeUnitIndex(t1, endCodepoint + 1)), string._hasQuotes);
  51688. },
  51689. $signature: 19
  51690. };
  51691. A._toUpperCase_closure.prototype = {
  51692. call$1($arguments) {
  51693. var t1, t2, i, t3, t4,
  51694. string = J.$index$asx($arguments, 0).assertString$1("string");
  51695. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  51696. t4 = t1.charCodeAt(i);
  51697. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  51698. }
  51699. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  51700. },
  51701. $signature: 19
  51702. };
  51703. A._toLowerCase_closure.prototype = {
  51704. call$1($arguments) {
  51705. var t1, t2, i, t3, t4,
  51706. string = J.$index$asx($arguments, 0).assertString$1("string");
  51707. for (t1 = string._string$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  51708. t4 = t1.charCodeAt(i);
  51709. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  51710. }
  51711. return new A.SassString(t3.charCodeAt(0) == 0 ? t3 : t3, string._hasQuotes);
  51712. },
  51713. $signature: 19
  51714. };
  51715. A._uniqueId_closure.prototype = {
  51716. call$1($arguments) {
  51717. var t1 = $.$get$_previousUniqueId() + ($.$get$_random().nextInt$1(36) + 1);
  51718. $._previousUniqueId = t1;
  51719. if (t1 > Math.pow(36, 6))
  51720. $._previousUniqueId = B.JSInt_methods.$mod($.$get$_previousUniqueId(), A._asInt(Math.pow(36, 6)));
  51721. return new A.SassString("u" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1($.$get$_previousUniqueId(), 36), 6, "0"), false);
  51722. },
  51723. $signature: 19
  51724. };
  51725. A.ImportCache.prototype = {
  51726. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  51727. var t1, relativeResult, _this = this;
  51728. if (A.isBrowser())
  51729. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter) && _this._importers.length === 0;
  51730. else
  51731. t1 = false;
  51732. if (t1)
  51733. throw A.wrapException(string$.Custom);
  51734. if (baseImporter != null && url.get$scheme() === "") {
  51735. relativeResult = _this._relativeCanonicalizeCache.putIfAbsent$2(new A._Record_4_baseImporter_baseUrl_forImport([url, baseImporter, baseUrl, forImport]), new A.ImportCache_canonicalize_closure(_this, baseImporter, baseUrl, url, forImport));
  51736. if (relativeResult != null)
  51737. return relativeResult;
  51738. }
  51739. return _this._canonicalizeCache.putIfAbsent$2(new A._Record_2_forImport(url, forImport), new A.ImportCache_canonicalize_closure0(_this, url, baseUrl, forImport));
  51740. },
  51741. canonicalize$3$baseImporter$baseUrl($receiver, url, baseImporter, baseUrl) {
  51742. return this.canonicalize$4$baseImporter$baseUrl$forImport($receiver, url, baseImporter, baseUrl, false);
  51743. },
  51744. _canonicalize$4(importer, url, baseUrl, forImport) {
  51745. var passContainingUrl, t1, result, _null = null,
  51746. canonicalize = forImport ? new A.ImportCache__canonicalize_closure(importer, url) : new A.ImportCache__canonicalize_closure0(importer, url);
  51747. if (baseUrl != null)
  51748. if (url.get$scheme() !== "") {
  51749. url.get$scheme();
  51750. passContainingUrl = false;
  51751. } else
  51752. passContainingUrl = true;
  51753. else
  51754. passContainingUrl = false;
  51755. t1 = passContainingUrl ? baseUrl : _null;
  51756. result = A.withContainingUrl(t1, canonicalize, type$.nullable_Uri);
  51757. if (result == null)
  51758. return _null;
  51759. if (result.get$scheme() === "")
  51760. A.WarnForDeprecation_warnForDeprecation(this._logger, B.Deprecation_mFp, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2e_Rela, _null, _null);
  51761. else
  51762. result.get$scheme();
  51763. return new A._Record_3_originalUrl(importer, result, url);
  51764. },
  51765. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  51766. return this._importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure(this, importer, canonicalUrl, originalUrl, quiet));
  51767. },
  51768. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  51769. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  51770. },
  51771. importCanonical$2(importer, canonicalUrl) {
  51772. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, null, false);
  51773. },
  51774. humanize$1(canonicalUrl) {
  51775. var t2,
  51776. t1 = this._canonicalizeCache;
  51777. t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Record_3_Importer_and_Uri_and_Uri_originalUrl);
  51778. t2 = t1.$ti;
  51779. t2 = A.NullableExtension_andThen(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()), new A.ImportCache_humanize_closure2(canonicalUrl));
  51780. return t2 == null ? canonicalUrl : t2;
  51781. },
  51782. sourceMapUrl$1(_, canonicalUrl) {
  51783. var t1 = this._resultsCache.$index(0, canonicalUrl);
  51784. t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
  51785. return t1 == null ? canonicalUrl : t1;
  51786. },
  51787. clearCanonicalize$1(url) {
  51788. var t1 = this._canonicalizeCache;
  51789. t1.remove$1(0, new A._Record_2_forImport(url, false));
  51790. t1.remove$1(0, new A._Record_2_forImport(url, true));
  51791. this._relativeCanonicalizeCache.removeWhere$1(0, new A.ImportCache_clearCanonicalize_closure(url));
  51792. },
  51793. clearImport$1(canonicalUrl) {
  51794. this._resultsCache.remove$1(0, canonicalUrl);
  51795. this._importCache.remove$1(0, canonicalUrl);
  51796. }
  51797. };
  51798. A.ImportCache_canonicalize_closure.prototype = {
  51799. call$0() {
  51800. var _this = this,
  51801. t1 = _this.baseUrl,
  51802. t2 = t1 == null ? null : t1.resolveUri$1(_this.url);
  51803. if (t2 == null)
  51804. t2 = _this.url;
  51805. return _this.$this._canonicalize$4(_this.baseImporter, t2, t1, _this.forImport);
  51806. },
  51807. $signature: 91
  51808. };
  51809. A.ImportCache_canonicalize_closure0.prototype = {
  51810. call$0() {
  51811. var t1, t2, t3, t4, t5, t6, _i, _0_0, result, t7, _this = this;
  51812. for (t1 = _this.$this, t2 = t1._importers, t3 = t2.length, t4 = _this.url, t5 = _this.baseUrl, t6 = _this.forImport, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  51813. _0_0 = t1._canonicalize$4(t2[_i], t4, t5, t6);
  51814. if (_0_0 != null) {
  51815. result = _0_0;
  51816. t7 = true;
  51817. } else {
  51818. result = null;
  51819. t7 = false;
  51820. }
  51821. if (t7)
  51822. return result;
  51823. }
  51824. return null;
  51825. },
  51826. $signature: 91
  51827. };
  51828. A.ImportCache__canonicalize_closure.prototype = {
  51829. call$0() {
  51830. var t1 = type$.nullable_Object;
  51831. return A.runZoned(new A.ImportCache__canonicalize__closure(this.importer, this.resolved), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_Uri);
  51832. },
  51833. $signature: 66
  51834. };
  51835. A.ImportCache__canonicalize__closure.prototype = {
  51836. call$0() {
  51837. return this.importer.canonicalize$1(0, this.resolved);
  51838. },
  51839. $signature: 66
  51840. };
  51841. A.ImportCache__canonicalize_closure0.prototype = {
  51842. call$0() {
  51843. return this.importer.canonicalize$1(0, this.resolved);
  51844. },
  51845. $signature: 66
  51846. };
  51847. A.ImportCache_importCanonical_closure.prototype = {
  51848. call$0() {
  51849. var t2, t3, t4, t5, _this = this,
  51850. t1 = _this.canonicalUrl,
  51851. result = _this.importer.load$1(0, t1);
  51852. if (result == null)
  51853. return null;
  51854. t2 = _this.$this;
  51855. t2._resultsCache.$indexSet(0, t1, result);
  51856. t3 = result.contents;
  51857. t4 = result.syntax;
  51858. t5 = _this.originalUrl;
  51859. t1 = t5 == null ? t1 : t5.resolveUri$1(t1);
  51860. return A.Stylesheet_Stylesheet$parse(t3, t4, _this.quiet ? $.$get$Logger_quiet() : t2._logger, t1);
  51861. },
  51862. $signature: 93
  51863. };
  51864. A.ImportCache_humanize_closure.prototype = {
  51865. call$1(result) {
  51866. return J.$eq$(result._1, this.canonicalUrl);
  51867. },
  51868. $signature: 314
  51869. };
  51870. A.ImportCache_humanize_closure0.prototype = {
  51871. call$1(result) {
  51872. return result._2;
  51873. },
  51874. $signature: 316
  51875. };
  51876. A.ImportCache_humanize_closure1.prototype = {
  51877. call$1(url) {
  51878. return url.get$path(url).length;
  51879. },
  51880. $signature: 85
  51881. };
  51882. A.ImportCache_humanize_closure2.prototype = {
  51883. call$1(url) {
  51884. var t1 = $.$get$url(),
  51885. t2 = this.canonicalUrl;
  51886. return url.resolve$1(A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  51887. },
  51888. $signature: 49
  51889. };
  51890. A.ImportCache_clearCanonicalize_closure.prototype = {
  51891. call$2(key, _) {
  51892. return J.$eq$(key._values[0], this.url);
  51893. },
  51894. $signature: 317
  51895. };
  51896. A.Importer.prototype = {
  51897. modificationTime$1(url) {
  51898. return new A.DateTime(Date.now(), false);
  51899. },
  51900. couldCanonicalize$2(url, canonicalUrl) {
  51901. return true;
  51902. }
  51903. };
  51904. A.AsyncImporter.prototype = {};
  51905. A.FilesystemImporter.prototype = {
  51906. canonicalize$1(_, url) {
  51907. if (url.get$scheme() !== "file" && url.get$scheme() !== "")
  51908. return null;
  51909. return A.NullableExtension_andThen(A.resolveImportPath(A.join(this._loadPath, $.$get$context().style.pathFromUri$1(A._parseUri(url)), null)), new A.FilesystemImporter_canonicalize_closure());
  51910. },
  51911. load$1(_, url) {
  51912. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url)),
  51913. t1 = A.readFile(path),
  51914. t2 = A.Syntax_forPath(path),
  51915. t3 = url.get$scheme();
  51916. if (t3 === "")
  51917. A.throwExpression(A.ArgumentError$value(url, "sourceMapUrl", "must be absolute"));
  51918. return new A.ImporterResult(t1, url, t2);
  51919. },
  51920. modificationTime$1(url) {
  51921. return A.modificationTime($.$get$context().style.pathFromUri$1(A._parseUri(url)));
  51922. },
  51923. couldCanonicalize$2(url, canonicalUrl) {
  51924. var t1, t2, basename, canonicalBasename;
  51925. if (url.get$scheme() !== "file" && url.get$scheme() !== "")
  51926. return false;
  51927. if (canonicalUrl.get$scheme() !== "file")
  51928. return false;
  51929. t1 = $.$get$url();
  51930. t2 = t1.style;
  51931. basename = A.ParsedPath_ParsedPath$parse(url.get$path(url), t2).get$basename();
  51932. canonicalBasename = A.ParsedPath_ParsedPath$parse(canonicalUrl.get$path(canonicalUrl), t2).get$basename();
  51933. if (!B.JSString_methods.startsWith$1(basename, "_") && B.JSString_methods.startsWith$1(canonicalBasename, "_"))
  51934. canonicalBasename = B.JSString_methods.substring$1(canonicalBasename, 1);
  51935. return basename === canonicalBasename || basename === t1.withoutExtension$1(canonicalBasename);
  51936. },
  51937. toString$0(_) {
  51938. return this._loadPath;
  51939. }
  51940. };
  51941. A.FilesystemImporter_canonicalize_closure.prototype = {
  51942. call$1(resolved) {
  51943. var t2, t0, _null = null,
  51944. t1 = A.isNodeJs() ? self.process : _null;
  51945. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  51946. t1 = A.isNodeJs() ? self.process : _null;
  51947. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  51948. } else
  51949. t1 = true;
  51950. if (t1) {
  51951. t1 = $.$get$context();
  51952. t2 = A._realCasePath(A.absolute(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  51953. t0 = t2;
  51954. t2 = t1;
  51955. t1 = t0;
  51956. } else {
  51957. t1 = $.$get$context();
  51958. t2 = t1.canonicalize$1(0, resolved);
  51959. t0 = t2;
  51960. t2 = t1;
  51961. t1 = t0;
  51962. }
  51963. return t2.toUri$1(t1);
  51964. },
  51965. $signature: 196
  51966. };
  51967. A.NoOpImporter.prototype = {};
  51968. A.ImporterResult.prototype = {
  51969. get$sourceMapUrl(_) {
  51970. return this._sourceMapUrl;
  51971. }
  51972. };
  51973. A.resolveImportPath_closure.prototype = {
  51974. call$0() {
  51975. return A._exactlyOne(A._tryPath($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  51976. },
  51977. $signature: 30
  51978. };
  51979. A.resolveImportPath_closure0.prototype = {
  51980. call$0() {
  51981. return A._exactlyOne(A._tryPathWithExtensions(this.path + ".import"));
  51982. },
  51983. $signature: 30
  51984. };
  51985. A._tryPathAsDirectory_closure.prototype = {
  51986. call$0() {
  51987. return A._exactlyOne(A._tryPathWithExtensions(A.join(this.path, "index.import", null)));
  51988. },
  51989. $signature: 30
  51990. };
  51991. A._exactlyOne_closure.prototype = {
  51992. call$0() {
  51993. return this._0_0.length;
  51994. },
  51995. $signature: 3
  51996. };
  51997. A._exactlyOne_closure0.prototype = {
  51998. call$1(path) {
  51999. var t1 = $.$get$context();
  52000. return " " + t1.prettyUri$1(t1.toUri$1(path));
  52001. },
  52002. $signature: 7
  52003. };
  52004. A.InterpolationBuffer.prototype = {
  52005. writeCharCode$1(character) {
  52006. this._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(character);
  52007. return null;
  52008. },
  52009. addInterpolation$1(interpolation) {
  52010. var _0_4, first, rest, _this = this, _null = null,
  52011. toAdd = interpolation.contents,
  52012. t1 = toAdd.length;
  52013. if (t1 === 0)
  52014. return;
  52015. _0_4 = A._InitializedCell$(new A.InterpolationBuffer_addInterpolation_closure(toAdd));
  52016. if (t1 >= 1)
  52017. if (typeof _0_4._readFinal$0() == "string") {
  52018. first = _0_4._readFinal$0();
  52019. rest = B.JSArray_methods.sublist$1(toAdd, 1);
  52020. t1 = true;
  52021. } else {
  52022. rest = _null;
  52023. first = rest;
  52024. t1 = false;
  52025. }
  52026. else {
  52027. rest = _null;
  52028. first = rest;
  52029. t1 = false;
  52030. }
  52031. if (t1) {
  52032. _this._interpolation_buffer$_text._contents += A.S(first);
  52033. toAdd = rest;
  52034. }
  52035. _this._flushText$0();
  52036. t1 = _this._interpolation_buffer$_contents;
  52037. B.JSArray_methods.addAll$1(t1, toAdd);
  52038. if (typeof B.JSArray_methods.get$last(t1) == "string")
  52039. _this._interpolation_buffer$_text._contents += A.S(t1.pop());
  52040. },
  52041. _flushText$0() {
  52042. var t1 = this._interpolation_buffer$_text,
  52043. t2 = t1._contents;
  52044. if (t2.length === 0)
  52045. return;
  52046. this._interpolation_buffer$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  52047. t1._contents = "";
  52048. },
  52049. interpolation$1(span) {
  52050. var t1 = A.List_List$of(this._interpolation_buffer$_contents, true, type$.Object),
  52051. t2 = this._interpolation_buffer$_text._contents;
  52052. if (t2.length !== 0)
  52053. t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  52054. return A.Interpolation$(t1, span);
  52055. },
  52056. toString$0(_) {
  52057. var t1, t2, _i, t3, element;
  52058. for (t1 = this._interpolation_buffer$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  52059. element = t1[_i];
  52060. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  52061. }
  52062. t1 = t3 + this._interpolation_buffer$_text.toString$0(0);
  52063. return t1.charCodeAt(0) == 0 ? t1 : t1;
  52064. }
  52065. };
  52066. A.InterpolationBuffer_addInterpolation_closure.prototype = {
  52067. call$0() {
  52068. return this._0_0[0];
  52069. },
  52070. $signature: 14
  52071. };
  52072. A.InterpolationMap.prototype = {
  52073. mapException$1(error) {
  52074. var t3, t4, _this = this,
  52075. target = error.get$span(error),
  52076. source = _this.mapSpan$1(target),
  52077. startIndex = _this._indexInContents$1(target.get$start(target)),
  52078. endIndex = _this._indexInContents$1(target.get$end(target)),
  52079. t1 = _this._interpolation.contents,
  52080. t2 = error._span_exception$_message;
  52081. if (!A.SubListIterable$(t1, startIndex, null, A._arrayInstanceType(t1)._precomputed1).take$1(0, endIndex - startIndex + 1).any$1(0, new A.InterpolationMap_mapException_closure()))
  52082. return new A.SourceSpanFormatException(error.get$source(), t2, source);
  52083. else {
  52084. t1 = type$.SourceSpan;
  52085. t3 = type$.String;
  52086. t4 = A.LinkedHashMap_LinkedHashMap$_literal([target, "error in interpolated output"], t1, t3);
  52087. error.get$source();
  52088. return new A.MultiSourceSpanFormatException("", A.ConstantMap_ConstantMap$from(t4, t1, t3), t2, source);
  52089. }
  52090. },
  52091. mapSpan$1(target) {
  52092. var t1, start, end, t2, _this = this, _null = null,
  52093. _0_0 = new A._Record_2(_this._mapLocation$1(target.get$start(target)), _this._mapLocation$1(target.get$end(target))),
  52094. _0_1 = A._InitializedCell$(new A.InterpolationMap_mapSpan_closure(_0_0)),
  52095. _0_2 = A._InitializedCell$(new A.InterpolationMap_mapSpan_closure0(_0_0));
  52096. $label0$0: {
  52097. t1 = type$.FileSpan;
  52098. if (t1._is(_0_1._readFinal$0())) {
  52099. start = _0_1._readFinal$0();
  52100. if (t1._is(_0_2._readFinal$0())) {
  52101. end = _0_2._readFinal$0();
  52102. t2 = true;
  52103. } else {
  52104. end = _null;
  52105. t2 = false;
  52106. }
  52107. } else {
  52108. end = _null;
  52109. start = end;
  52110. t2 = false;
  52111. }
  52112. if (t2) {
  52113. t1 = start.expand$1(0, end);
  52114. break $label0$0;
  52115. }
  52116. if (t1._is(_0_1._readFinal$0())) {
  52117. start = _0_1._readFinal$0();
  52118. if (_0_2._readFinal$0() instanceof A.FileLocation) {
  52119. end = _0_2._readFinal$0();
  52120. t2 = true;
  52121. } else {
  52122. end = _null;
  52123. t2 = false;
  52124. }
  52125. } else {
  52126. end = _null;
  52127. start = end;
  52128. t2 = false;
  52129. }
  52130. if (t2) {
  52131. t1 = _this._interpolation.span;
  52132. t1 = t1.get$file(t1).span$2(0, _this._expandInterpolationSpanLeft$1(start.get$start(start)), end.offset);
  52133. break $label0$0;
  52134. }
  52135. if (_0_1._readFinal$0() instanceof A.FileLocation) {
  52136. start = _0_1._readFinal$0();
  52137. if (t1._is(_0_2._readFinal$0())) {
  52138. end = _0_2._readFinal$0();
  52139. t1 = true;
  52140. } else {
  52141. end = _null;
  52142. t1 = false;
  52143. }
  52144. } else {
  52145. end = _null;
  52146. start = end;
  52147. t1 = false;
  52148. }
  52149. if (t1) {
  52150. t1 = _this._interpolation.span;
  52151. t1 = t1.get$file(t1).span$2(0, start.offset, _this._expandInterpolationSpanRight$1(end.get$end(end)));
  52152. break $label0$0;
  52153. }
  52154. if (_0_1._readFinal$0() instanceof A.FileLocation) {
  52155. start = _0_1._readFinal$0();
  52156. if (_0_2._readFinal$0() instanceof A.FileLocation) {
  52157. end = _0_2._readFinal$0();
  52158. t1 = true;
  52159. } else {
  52160. end = _null;
  52161. t1 = false;
  52162. }
  52163. } else {
  52164. end = _null;
  52165. start = end;
  52166. t1 = false;
  52167. }
  52168. if (t1) {
  52169. t1 = _this._interpolation.span;
  52170. t1 = t1.get$file(t1).span$2(0, start.offset, end.offset);
  52171. break $label0$0;
  52172. }
  52173. t1 = A.throwExpression("[BUG] Unreachable");
  52174. }
  52175. return t1;
  52176. },
  52177. _mapLocation$1(target) {
  52178. var chunk, t4, previousLocation, _this = this,
  52179. index = _this._indexInContents$1(target),
  52180. t1 = _this._interpolation,
  52181. t2 = t1.contents,
  52182. _0_0 = t2[index],
  52183. t3 = type$.Expression;
  52184. if (t3._is(_0_0)) {
  52185. chunk = _0_0;
  52186. t4 = true;
  52187. } else {
  52188. chunk = null;
  52189. t4 = false;
  52190. }
  52191. if (t4)
  52192. return chunk.get$span(chunk);
  52193. t4 = index === 0;
  52194. t1 = t1.span;
  52195. if (t4)
  52196. previousLocation = t1.get$start(t1);
  52197. else {
  52198. t1 = t1.get$file(t1);
  52199. t2 = t3._as(t2[index - 1]);
  52200. t2 = t2.get$span(t2);
  52201. previousLocation = A.FileLocation$_(t1, _this._expandInterpolationSpanRight$1(t2.get$end(t2)));
  52202. }
  52203. t1 = t4 ? 0 : _this._targetLocations[index - 1].get$offset();
  52204. return A.FileLocation$_(previousLocation.file, previousLocation.offset + (target.offset - t1));
  52205. },
  52206. _indexInContents$1(target) {
  52207. var t1, t2, t3, i;
  52208. for (t1 = this._targetLocations, t2 = t1.length, t3 = target.offset, i = 0; i < t2; ++i)
  52209. if (t3 < t1[i].get$offset())
  52210. return i;
  52211. return this._interpolation.contents.length - 1;
  52212. },
  52213. _expandInterpolationSpanLeft$1(start) {
  52214. var i0, prev, char,
  52215. source = start.file._decodedChars,
  52216. i = start.offset - 1;
  52217. for (; i >= 0;) {
  52218. i0 = i - 1;
  52219. prev = source[i];
  52220. if (prev === 123) {
  52221. if (source[i0] === 35) {
  52222. i = i0;
  52223. break;
  52224. }
  52225. i = i0;
  52226. } else if (prev === 47) {
  52227. i = i0 - 1;
  52228. if (source[i0] === 42)
  52229. for (; true;) {
  52230. i0 = i - 1;
  52231. if (source[i] !== 42) {
  52232. i = i0;
  52233. continue;
  52234. }
  52235. i = i0;
  52236. do {
  52237. i0 = i - 1;
  52238. char = source[i];
  52239. if (char === 42) {
  52240. i = i0;
  52241. continue;
  52242. } else
  52243. break;
  52244. } while (true);
  52245. if (char === 47) {
  52246. i = i0;
  52247. break;
  52248. }
  52249. i = i0;
  52250. }
  52251. } else
  52252. i = i0;
  52253. }
  52254. return i;
  52255. },
  52256. _expandInterpolationSpanRight$1(end) {
  52257. var t1, i0, next, second, t2, char,
  52258. source = end.file._decodedChars,
  52259. i = end.offset;
  52260. for (t1 = source.length; i < t1;) {
  52261. i0 = i + 1;
  52262. next = source[i];
  52263. if (next === 125) {
  52264. i = i0;
  52265. break;
  52266. }
  52267. if (next === 47) {
  52268. i = i0 + 1;
  52269. second = source[i0];
  52270. if (second === 47) {
  52271. while (true) {
  52272. i0 = i + 1;
  52273. t2 = source[i];
  52274. if (!!(t2 === 10 || t2 === 13 || t2 === 12))
  52275. break;
  52276. i = i0;
  52277. }
  52278. i = i0;
  52279. } else if (second === 42)
  52280. for (; true;) {
  52281. i0 = i + 1;
  52282. if (source[i] !== 42) {
  52283. i = i0;
  52284. continue;
  52285. }
  52286. i = i0;
  52287. do {
  52288. i0 = i + 1;
  52289. char = source[i];
  52290. if (char === 42) {
  52291. i = i0;
  52292. continue;
  52293. } else
  52294. break;
  52295. } while (true);
  52296. if (char === 47) {
  52297. i = i0;
  52298. break;
  52299. }
  52300. i = i0;
  52301. }
  52302. } else
  52303. i = i0;
  52304. }
  52305. return i;
  52306. }
  52307. };
  52308. A.InterpolationMap_mapException_closure.prototype = {
  52309. call$1($content) {
  52310. return type$.Expression._is($content);
  52311. },
  52312. $signature: 68
  52313. };
  52314. A.InterpolationMap_mapSpan_closure.prototype = {
  52315. call$0() {
  52316. return this._0_0._0;
  52317. },
  52318. $signature: 14
  52319. };
  52320. A.InterpolationMap_mapSpan_closure0.prototype = {
  52321. call$0() {
  52322. return this._0_0._1;
  52323. },
  52324. $signature: 14
  52325. };
  52326. A._realCasePath_helper.prototype = {
  52327. call$1(path) {
  52328. var dirname = $.$get$context().dirname$1(path);
  52329. if (dirname === path)
  52330. return path;
  52331. return $._realCaseCache.putIfAbsent$2(path, new A._realCasePath_helper_closure(this, dirname, path));
  52332. },
  52333. $signature: 7
  52334. };
  52335. A._realCasePath_helper_closure.prototype = {
  52336. call$0() {
  52337. var matches, t1, _0_0, match, t3, exception,
  52338. realDirname = this.helper.call$1(this.dirname),
  52339. t2 = this.path,
  52340. basename = A.ParsedPath_ParsedPath$parse(t2, $.$get$context().style).get$basename();
  52341. try {
  52342. matches = J.where$1$ax(A.listDir(realDirname, false), new A._realCasePath_helper__closure(basename)).toList$0(0);
  52343. t1 = null;
  52344. _0_0 = matches;
  52345. $label0$0: {
  52346. match = null;
  52347. if (J.get$length$asx(_0_0) === 1) {
  52348. match = J.$index$asx(_0_0, 0);
  52349. t3 = true;
  52350. } else
  52351. t3 = false;
  52352. if (t3) {
  52353. t1 = match;
  52354. break $label0$0;
  52355. }
  52356. t1 = A.join(realDirname, basename, null);
  52357. break $label0$0;
  52358. }
  52359. t1 = t1;
  52360. return t1;
  52361. } catch (exception) {
  52362. if (A.unwrapException(exception) instanceof A.FileSystemException)
  52363. return t2;
  52364. else
  52365. throw exception;
  52366. }
  52367. },
  52368. $signature: 21
  52369. };
  52370. A._realCasePath_helper__closure.prototype = {
  52371. call$1(realPath) {
  52372. return A.equalsIgnoreCase(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  52373. },
  52374. $signature: 10
  52375. };
  52376. A.FileSystemException.prototype = {
  52377. toString$0(_) {
  52378. var t1 = $.$get$context();
  52379. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  52380. },
  52381. get$message(receiver) {
  52382. return this.message;
  52383. }
  52384. };
  52385. A._readFile_closure.prototype = {
  52386. call$0() {
  52387. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  52388. },
  52389. $signature: 65
  52390. };
  52391. A.writeFile_closure.prototype = {
  52392. call$0() {
  52393. return J.writeFileSync$2$x(A.fs(), this.path, this.contents);
  52394. },
  52395. $signature: 0
  52396. };
  52397. A.deleteFile_closure.prototype = {
  52398. call$0() {
  52399. return J.unlinkSync$1$x(A.fs(), this.path);
  52400. },
  52401. $signature: 0
  52402. };
  52403. A.readStdin_closure.prototype = {
  52404. call$1(result) {
  52405. this._box_0.contents = result;
  52406. this.completer.complete$1(result);
  52407. },
  52408. $signature: 97
  52409. };
  52410. A.readStdin_closure0.prototype = {
  52411. call$1(chunk) {
  52412. this.sink.add$1(0, type$.List_int._as(chunk));
  52413. },
  52414. call$0() {
  52415. return this.call$1(null);
  52416. },
  52417. "call*": "call$1",
  52418. $requiredArgCount: 0,
  52419. $defaultValues() {
  52420. return [null];
  52421. },
  52422. $signature: 108
  52423. };
  52424. A.readStdin_closure1.prototype = {
  52425. call$1(_) {
  52426. this.sink.close$0(0);
  52427. },
  52428. call$0() {
  52429. return this.call$1(null);
  52430. },
  52431. "call*": "call$1",
  52432. $requiredArgCount: 0,
  52433. $defaultValues() {
  52434. return [null];
  52435. },
  52436. $signature: 108
  52437. };
  52438. A.readStdin_closure2.prototype = {
  52439. call$1(e) {
  52440. A.printError("Failed to read from stdin");
  52441. A.printError(e);
  52442. e.toString;
  52443. this.completer.completeError$1(e);
  52444. },
  52445. call$0() {
  52446. return this.call$1(null);
  52447. },
  52448. "call*": "call$1",
  52449. $requiredArgCount: 0,
  52450. $defaultValues() {
  52451. return [null];
  52452. },
  52453. $signature: 108
  52454. };
  52455. A.fileExists_closure.prototype = {
  52456. call$0() {
  52457. var error, systemError, exception,
  52458. t1 = this.path;
  52459. if (!J.existsSync$1$x(A.fs(), t1))
  52460. return false;
  52461. try {
  52462. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  52463. return t1;
  52464. } catch (exception) {
  52465. error = A.unwrapException(exception);
  52466. systemError = type$.JsSystemError._as(error);
  52467. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  52468. return false;
  52469. throw exception;
  52470. }
  52471. },
  52472. $signature: 1
  52473. };
  52474. A.dirExists_closure.prototype = {
  52475. call$0() {
  52476. var error, systemError, exception,
  52477. t1 = this.path;
  52478. if (!J.existsSync$1$x(A.fs(), t1))
  52479. return false;
  52480. try {
  52481. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  52482. return t1;
  52483. } catch (exception) {
  52484. error = A.unwrapException(exception);
  52485. systemError = type$.JsSystemError._as(error);
  52486. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  52487. return false;
  52488. throw exception;
  52489. }
  52490. },
  52491. $signature: 1
  52492. };
  52493. A.ensureDir_closure.prototype = {
  52494. call$0() {
  52495. var error, systemError, exception, t1;
  52496. try {
  52497. J.mkdirSync$1$x(A.fs(), this.path);
  52498. } catch (exception) {
  52499. error = A.unwrapException(exception);
  52500. systemError = type$.JsSystemError._as(error);
  52501. if (J.$eq$(J.get$code$x(systemError), "EEXIST"))
  52502. return;
  52503. if (!J.$eq$(J.get$code$x(systemError), "ENOENT"))
  52504. throw exception;
  52505. t1 = this.path;
  52506. A.ensureDir($.$get$context().dirname$1(t1));
  52507. J.mkdirSync$1$x(A.fs(), t1);
  52508. }
  52509. },
  52510. $signature: 0
  52511. };
  52512. A.listDir_closure.prototype = {
  52513. call$0() {
  52514. var t1 = this.path;
  52515. if (!this.recursive)
  52516. return J.map$1$1$ax(J.readdirSync$1$x(A.fs(), t1), new A.listDir__closure(t1), type$.String).super$Iterable$where(0, new A.listDir__closure0());
  52517. else
  52518. return new A.listDir_closure_list().call$1(t1);
  52519. },
  52520. $signature: 194
  52521. };
  52522. A.listDir__closure.prototype = {
  52523. call$1(child) {
  52524. return A.join(this.path, A._asString(child), null);
  52525. },
  52526. $signature: 120
  52527. };
  52528. A.listDir__closure0.prototype = {
  52529. call$1(child) {
  52530. return !A.dirExists(child);
  52531. },
  52532. $signature: 10
  52533. };
  52534. A.listDir_closure_list.prototype = {
  52535. call$1($parent) {
  52536. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure($parent, this), type$.String);
  52537. },
  52538. $signature: 193
  52539. };
  52540. A.listDir__list_closure.prototype = {
  52541. call$1(child) {
  52542. var path = A.join(this.parent, A._asString(child), null);
  52543. return A.dirExists(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  52544. },
  52545. $signature: 192
  52546. };
  52547. A.modificationTime_closure.prototype = {
  52548. call$0() {
  52549. var t2,
  52550. t1 = J.getTime$0$x(J.get$mtime$x(J.statSync$1$x(A.fs(), this.path)));
  52551. if (Math.abs(t1) <= 864e13)
  52552. t2 = false;
  52553. else
  52554. t2 = true;
  52555. if (t2)
  52556. A.throwExpression(A.ArgumentError$("DateTime is outside valid range: " + A.S(t1), null));
  52557. A.checkNotNullable(false, "isUtc", type$.bool);
  52558. return new A.DateTime(t1, false);
  52559. },
  52560. $signature: 191
  52561. };
  52562. A.watchDir_closure.prototype = {
  52563. call$2(path, _) {
  52564. var t1 = this._box_0.controller;
  52565. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_add, path));
  52566. },
  52567. call$1(path) {
  52568. return this.call$2(path, null);
  52569. },
  52570. "call*": "call$2",
  52571. $requiredArgCount: 1,
  52572. $defaultValues() {
  52573. return [null];
  52574. },
  52575. $signature: 188
  52576. };
  52577. A.watchDir_closure0.prototype = {
  52578. call$2(path, _) {
  52579. var t1 = this._box_0.controller;
  52580. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_modify, path));
  52581. },
  52582. call$1(path) {
  52583. return this.call$2(path, null);
  52584. },
  52585. "call*": "call$2",
  52586. $requiredArgCount: 1,
  52587. $defaultValues() {
  52588. return [null];
  52589. },
  52590. $signature: 188
  52591. };
  52592. A.watchDir_closure1.prototype = {
  52593. call$1(path) {
  52594. var t1 = this._box_0.controller;
  52595. return t1 == null ? null : t1.add$1(0, new A.WatchEvent(B.ChangeType_remove, path));
  52596. },
  52597. $signature: 97
  52598. };
  52599. A.watchDir_closure2.prototype = {
  52600. call$1(error) {
  52601. var t1 = this._box_0.controller;
  52602. return t1 == null ? null : t1.addError$1(error);
  52603. },
  52604. $signature: 104
  52605. };
  52606. A.watchDir_closure3.prototype = {
  52607. call$0() {
  52608. var controller = A.StreamController_StreamController(new A.watchDir__closure(this.watcher), null, null, null, false, type$.WatchEvent);
  52609. this._box_0.controller = controller;
  52610. this.completer.complete$1(new A._ControllerStream(controller, A._instanceType(controller)._eval$1("_ControllerStream<1>")));
  52611. },
  52612. $signature: 2
  52613. };
  52614. A.watchDir__closure.prototype = {
  52615. call$0() {
  52616. J.close$0$x(this.watcher);
  52617. },
  52618. $signature: 2
  52619. };
  52620. A.JSArray1.prototype = {};
  52621. A.Chokidar.prototype = {};
  52622. A.ChokidarOptions.prototype = {};
  52623. A.ChokidarWatcher.prototype = {};
  52624. A.JSFunction0.prototype = {};
  52625. A.ImmutableList.prototype = {};
  52626. A.ImmutableMap.prototype = {};
  52627. A.NodeImporterResult.prototype = {};
  52628. A.RenderContext.prototype = {};
  52629. A.RenderContextOptions.prototype = {};
  52630. A.RenderContextResult.prototype = {};
  52631. A.RenderContextResultStats.prototype = {};
  52632. A.JSClass.prototype = {};
  52633. A.JSUrl.prototype = {};
  52634. A._PropertyDescriptor.prototype = {};
  52635. A._QuietLogger.prototype = {
  52636. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  52637. },
  52638. warn$1($receiver, message) {
  52639. return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
  52640. },
  52641. warn$2$span($receiver, message, span) {
  52642. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  52643. },
  52644. debug$2(_, message, span) {
  52645. }
  52646. };
  52647. A.DeprecationHandlingLogger.prototype = {
  52648. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  52649. this._inner.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
  52650. },
  52651. warn$3$span$trace($receiver, message, span, trace) {
  52652. return this.warn$4$deprecation$span$trace($receiver, message, false, span, trace);
  52653. },
  52654. warn$2$span($receiver, message, span) {
  52655. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  52656. },
  52657. warn$2$trace($receiver, message, trace) {
  52658. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  52659. },
  52660. warnForDeprecation$4$span$trace(deprecation, message, span, trace) {
  52661. var _0_0, _0_1, _0_3, t1, t2, count, _this = this, _null = null;
  52662. if (_this.fatalDeprecations.contains$1(0, deprecation)) {
  52663. message += string$.x0a_This + deprecation.toString$0(0) + string$.x20depre;
  52664. _0_0 = new A._Record_2(span, trace);
  52665. _0_1 = A._InitializedCell$(new A.DeprecationHandlingLogger_warnForDeprecation_closure(_0_0));
  52666. _0_3 = A._InitializedCell$(new A.DeprecationHandlingLogger_warnForDeprecation_closure0(_0_0));
  52667. $label0$0: {
  52668. if (_0_1.readFinal$0() != null) {
  52669. span = _0_1.readFinal$0();
  52670. t1 = true;
  52671. } else {
  52672. span = _null;
  52673. t1 = false;
  52674. }
  52675. if (t1)
  52676. if (_0_3.readFinal$0() != null) {
  52677. trace = _0_3.readFinal$0();
  52678. t1 = true;
  52679. } else {
  52680. trace = _null;
  52681. t1 = false;
  52682. }
  52683. else {
  52684. trace = _null;
  52685. t1 = false;
  52686. }
  52687. if (t1) {
  52688. t1 = A.SassRuntimeException$(message, span, trace, _null);
  52689. break $label0$0;
  52690. }
  52691. if (_0_1.readFinal$0() != null) {
  52692. span = _0_1.readFinal$0();
  52693. t1 = true;
  52694. } else {
  52695. span = _null;
  52696. t1 = false;
  52697. }
  52698. if (t1 && _0_3.readFinal$0() == null) {
  52699. t1 = A.SassException$(message, span, _null);
  52700. break $label0$0;
  52701. }
  52702. t1 = A.SassScriptException$(message, _null);
  52703. break $label0$0;
  52704. }
  52705. throw A.wrapException(t1);
  52706. }
  52707. if (deprecation.isFuture && !_this.futureDeprecations.contains$1(0, deprecation))
  52708. return;
  52709. if (_this.limitRepetition) {
  52710. t1 = _this._warningCounts;
  52711. t2 = t1.$index(0, deprecation);
  52712. count = (t2 == null ? 0 : t2) + 1;
  52713. t1.$indexSet(0, deprecation, count);
  52714. if (count > 5)
  52715. return;
  52716. }
  52717. _this._inner.warn$4$deprecation$span$trace(0, message, true, span, trace);
  52718. },
  52719. debug$2(_, message, span) {
  52720. return this._inner.debug$2(0, message, span);
  52721. },
  52722. summarize$1$js(js) {
  52723. var t2, total,
  52724. t1 = this._warningCounts;
  52725. t1 = t1.get$values(t1);
  52726. t2 = A._instanceType(t1);
  52727. total = A.IterableIntegerExtension_get_sum(new A.MappedIterable(new A.WhereIterable(t1, new A.DeprecationHandlingLogger_summarize_closure(), t2._eval$1("WhereIterable<Iterable.E>")), new A.DeprecationHandlingLogger_summarize_closure0(), t2._eval$1("MappedIterable<Iterable.E,int>")));
  52728. if (total > 0) {
  52729. t1 = js ? "" : string$.x0aRun_i;
  52730. this._inner.warn$1(0, "" + total + string$.x20repet + t1);
  52731. }
  52732. }
  52733. };
  52734. A.DeprecationHandlingLogger_warnForDeprecation_closure.prototype = {
  52735. call$0() {
  52736. return this._0_0._0;
  52737. },
  52738. $signature: 187
  52739. };
  52740. A.DeprecationHandlingLogger_warnForDeprecation_closure0.prototype = {
  52741. call$0() {
  52742. return this._0_0._1;
  52743. },
  52744. $signature: 184
  52745. };
  52746. A.DeprecationHandlingLogger_summarize_closure.prototype = {
  52747. call$1(count) {
  52748. return count > 5;
  52749. },
  52750. $signature: 48
  52751. };
  52752. A.DeprecationHandlingLogger_summarize_closure0.prototype = {
  52753. call$1(count) {
  52754. return count - 5;
  52755. },
  52756. $signature: 182
  52757. };
  52758. A.StderrLogger.prototype = {
  52759. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  52760. var t2,
  52761. result = new A.StringBuffer(""),
  52762. t1 = this.color;
  52763. if (t1) {
  52764. t2 = result._contents = "" + "\x1b[33m\x1b[1m";
  52765. t2 = result._contents = (deprecation ? result._contents = t2 + "Deprecation " : t2) + "Warning\x1b[0m";
  52766. } else
  52767. t2 = result._contents = (deprecation ? result._contents = "" + "DEPRECATION " : "") + "WARNING";
  52768. if (span == null)
  52769. t1 = result._contents = t2 + (": " + message + "\n");
  52770. else if (trace != null) {
  52771. t1 = t2 + (": " + message + "\n\n" + span.highlight$1$color(t1) + "\n");
  52772. result._contents = t1;
  52773. } else {
  52774. t1 = t2 + (" on " + span.message$2$color(0, "\n" + message, t1) + "\n");
  52775. result._contents = t1;
  52776. }
  52777. if (trace != null)
  52778. result._contents = t1 + (A.indent(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4) + "\n");
  52779. A.printError(result);
  52780. },
  52781. warn$1($receiver, message) {
  52782. return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
  52783. },
  52784. warn$3$span$trace($receiver, message, span, trace) {
  52785. return this.warn$4$deprecation$span$trace($receiver, message, false, span, trace);
  52786. },
  52787. warn$2$span($receiver, message, span) {
  52788. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  52789. },
  52790. warn$2$trace($receiver, message, trace) {
  52791. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  52792. },
  52793. debug$2(_, message, span) {
  52794. var url, t3, t4,
  52795. t1 = span.file,
  52796. t2 = span._file$_start;
  52797. if (A.FileLocation$_(t1, t2).file.url == null)
  52798. url = "-";
  52799. else {
  52800. t3 = A.FileLocation$_(t1, t2).file.url;
  52801. t4 = $.$get$context();
  52802. t3.toString;
  52803. url = t4.prettyUri$1(t3);
  52804. }
  52805. t1 = A.FileLocation$_(t1, t2);
  52806. t1 = t1.file.getLine$1(t1.offset);
  52807. t2 = this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG";
  52808. t2 = "" + (url + ":" + (t1 + 1) + " ") + t2 + (": " + message);
  52809. A.printError(t2.charCodeAt(0) == 0 ? t2 : t2);
  52810. }
  52811. };
  52812. A.TrackingLogger.prototype = {
  52813. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  52814. this._emittedWarning = true;
  52815. this._tracking$_logger.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
  52816. },
  52817. warn$3$span$trace($receiver, message, span, trace) {
  52818. return this.warn$4$deprecation$span$trace($receiver, message, false, span, trace);
  52819. },
  52820. warn$2$span($receiver, message, span) {
  52821. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  52822. },
  52823. warn$2$trace($receiver, message, trace) {
  52824. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  52825. },
  52826. debug$2(_, message, span) {
  52827. this._emittedDebug = true;
  52828. this._tracking$_logger.debug$2(0, message, span);
  52829. }
  52830. };
  52831. A.BuiltInModule.prototype = {
  52832. get$upstream() {
  52833. return B.List_empty7;
  52834. },
  52835. get$variableNodes() {
  52836. return B.Map_empty4;
  52837. },
  52838. get$extensionStore() {
  52839. return B.C_EmptyExtensionStore;
  52840. },
  52841. get$css(_) {
  52842. return new A.CssStylesheet(B.List_empty3, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  52843. },
  52844. get$preModuleComments() {
  52845. return B.Map_empty2;
  52846. },
  52847. get$transitivelyContainsCss() {
  52848. return false;
  52849. },
  52850. get$transitivelyContainsExtensions() {
  52851. return false;
  52852. },
  52853. setVariable$3($name, value, nodeWithSpan) {
  52854. if (!this.variables.containsKey$1($name))
  52855. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  52856. throw A.wrapException(A.SassScriptException$("Cannot modify built-in variable.", null));
  52857. },
  52858. variableIdentity$1($name) {
  52859. return this;
  52860. },
  52861. cloneCss$0() {
  52862. return this;
  52863. },
  52864. $isModule0: 1,
  52865. get$url(receiver) {
  52866. return this.url;
  52867. },
  52868. get$functions(receiver) {
  52869. return this.functions;
  52870. },
  52871. get$mixins() {
  52872. return this.mixins;
  52873. },
  52874. get$variables() {
  52875. return this.variables;
  52876. }
  52877. };
  52878. A.ForwardedModuleView.prototype = {
  52879. get$url(_) {
  52880. var t1 = this._forwarded_view$_inner;
  52881. return t1.get$url(t1);
  52882. },
  52883. get$upstream() {
  52884. return this._forwarded_view$_inner.get$upstream();
  52885. },
  52886. get$extensionStore() {
  52887. return this._forwarded_view$_inner.get$extensionStore();
  52888. },
  52889. get$css(_) {
  52890. var t1 = this._forwarded_view$_inner;
  52891. return t1.get$css(t1);
  52892. },
  52893. get$preModuleComments() {
  52894. return this._forwarded_view$_inner.get$preModuleComments();
  52895. },
  52896. get$transitivelyContainsCss() {
  52897. return this._forwarded_view$_inner.get$transitivelyContainsCss();
  52898. },
  52899. get$transitivelyContainsExtensions() {
  52900. return this._forwarded_view$_inner.get$transitivelyContainsExtensions();
  52901. },
  52902. setVariable$3($name, value, nodeWithSpan) {
  52903. var shownVariables, t2, _1_0, hiddenVariables, _2_0, prefix, _null = null,
  52904. _s19_ = "Undefined variable.",
  52905. t1 = this._rule,
  52906. _0_0 = t1.shownVariables;
  52907. if (_0_0 != null) {
  52908. shownVariables = _0_0;
  52909. t2 = true;
  52910. } else {
  52911. shownVariables = _null;
  52912. t2 = false;
  52913. }
  52914. if (t2 && !shownVariables._base.contains$1(0, $name))
  52915. throw A.wrapException(A.SassScriptException$(_s19_, _null));
  52916. else {
  52917. _1_0 = t1.hiddenVariables;
  52918. if (_1_0 != null) {
  52919. hiddenVariables = _1_0;
  52920. t2 = true;
  52921. } else {
  52922. hiddenVariables = _null;
  52923. t2 = false;
  52924. }
  52925. if (t2 && hiddenVariables._base.contains$1(0, $name))
  52926. throw A.wrapException(A.SassScriptException$(_s19_, _null));
  52927. }
  52928. _2_0 = t1.prefix;
  52929. if (_2_0 != null) {
  52930. prefix = _2_0;
  52931. t1 = true;
  52932. } else {
  52933. prefix = _null;
  52934. t1 = false;
  52935. }
  52936. if (t1) {
  52937. if (!B.JSString_methods.startsWith$1($name, prefix))
  52938. throw A.wrapException(A.SassScriptException$(_s19_, _null));
  52939. $name = B.JSString_methods.substring$1($name, prefix.length);
  52940. }
  52941. return this._forwarded_view$_inner.setVariable$3($name, value, nodeWithSpan);
  52942. },
  52943. variableIdentity$1($name) {
  52944. var prefix, t1,
  52945. _0_0 = this._rule.prefix;
  52946. if (_0_0 != null) {
  52947. prefix = _0_0;
  52948. t1 = true;
  52949. } else {
  52950. prefix = null;
  52951. t1 = false;
  52952. }
  52953. if (t1)
  52954. $name = B.JSString_methods.substring$1($name, prefix.length);
  52955. return this._forwarded_view$_inner.variableIdentity$1($name);
  52956. },
  52957. $eq(_, other) {
  52958. if (other == null)
  52959. return false;
  52960. return other instanceof A.ForwardedModuleView && this._forwarded_view$_inner.$eq(0, other._forwarded_view$_inner) && this._rule === other._rule;
  52961. },
  52962. get$hashCode(_) {
  52963. var t1 = this._forwarded_view$_inner;
  52964. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._rule)) >>> 0;
  52965. },
  52966. cloneCss$0() {
  52967. return A.ForwardedModuleView$(this._forwarded_view$_inner.cloneCss$0(), this._rule, this.$ti._precomputed1);
  52968. },
  52969. toString$0(_) {
  52970. return "forwarded " + this._forwarded_view$_inner.toString$0(0);
  52971. },
  52972. $isModule0: 1,
  52973. get$variables() {
  52974. return this.variables;
  52975. },
  52976. get$variableNodes() {
  52977. return this.variableNodes;
  52978. },
  52979. get$functions(receiver) {
  52980. return this.functions;
  52981. },
  52982. get$mixins() {
  52983. return this.mixins;
  52984. }
  52985. };
  52986. A.ShadowedModuleView.prototype = {
  52987. get$url(_) {
  52988. var t1 = this._shadowed_view$_inner;
  52989. return t1.get$url(t1);
  52990. },
  52991. get$upstream() {
  52992. return this._shadowed_view$_inner.get$upstream();
  52993. },
  52994. get$extensionStore() {
  52995. return this._shadowed_view$_inner.get$extensionStore();
  52996. },
  52997. get$css(_) {
  52998. var t1 = this._shadowed_view$_inner;
  52999. return t1.get$css(t1);
  53000. },
  53001. get$preModuleComments() {
  53002. return this._shadowed_view$_inner.get$preModuleComments();
  53003. },
  53004. get$transitivelyContainsCss() {
  53005. return this._shadowed_view$_inner.get$transitivelyContainsCss();
  53006. },
  53007. get$transitivelyContainsExtensions() {
  53008. return this._shadowed_view$_inner.get$transitivelyContainsExtensions();
  53009. },
  53010. setVariable$3($name, value, nodeWithSpan) {
  53011. if (!this.variables.containsKey$1($name))
  53012. throw A.wrapException(A.SassScriptException$("Undefined variable.", null));
  53013. else
  53014. this._shadowed_view$_inner.setVariable$3($name, value, nodeWithSpan);
  53015. },
  53016. variableIdentity$1($name) {
  53017. return this._shadowed_view$_inner.variableIdentity$1($name);
  53018. },
  53019. $eq(_, other) {
  53020. var t1, t2, _this = this;
  53021. if (other == null)
  53022. return false;
  53023. if (other instanceof A.ShadowedModuleView)
  53024. if (_this._shadowed_view$_inner.$eq(0, other._shadowed_view$_inner)) {
  53025. t1 = _this.variables;
  53026. t1 = t1.get$keys(t1);
  53027. t2 = other.variables;
  53028. if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
  53029. t1 = _this.functions;
  53030. t1 = t1.get$keys(t1);
  53031. t2 = other.functions;
  53032. if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
  53033. t1 = _this.mixins;
  53034. t1 = t1.get$keys(t1);
  53035. t2 = other.mixins;
  53036. t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
  53037. t1 = t2;
  53038. } else
  53039. t1 = false;
  53040. } else
  53041. t1 = false;
  53042. } else
  53043. t1 = false;
  53044. else
  53045. t1 = false;
  53046. return t1;
  53047. },
  53048. get$hashCode(_) {
  53049. var t1 = this._shadowed_view$_inner;
  53050. return t1.get$hashCode(t1);
  53051. },
  53052. cloneCss$0() {
  53053. var _this = this;
  53054. return new A.ShadowedModuleView(_this._shadowed_view$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  53055. },
  53056. toString$0(_) {
  53057. return "shadowed " + this._shadowed_view$_inner.toString$0(0);
  53058. },
  53059. $isModule0: 1,
  53060. get$variables() {
  53061. return this.variables;
  53062. },
  53063. get$variableNodes() {
  53064. return this.variableNodes;
  53065. },
  53066. get$functions(receiver) {
  53067. return this.functions;
  53068. },
  53069. get$mixins() {
  53070. return this.mixins;
  53071. }
  53072. };
  53073. A.AtRootQueryParser.prototype = {
  53074. parse$0() {
  53075. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure(this));
  53076. }
  53077. };
  53078. A.AtRootQueryParser_parse_closure.prototype = {
  53079. call$0() {
  53080. var include, atRules,
  53081. t1 = this.$this,
  53082. t2 = t1.scanner;
  53083. t2.expectChar$1(40);
  53084. t1.whitespace$0();
  53085. include = t1.scanIdentifier$1("with");
  53086. if (!include)
  53087. t1.expectIdentifier$2$name("without", '"with" or "without"');
  53088. t1.whitespace$0();
  53089. t2.expectChar$1(58);
  53090. t1.whitespace$0();
  53091. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  53092. do {
  53093. atRules.add$1(0, t1.identifier$0().toLowerCase());
  53094. t1.whitespace$0();
  53095. } while (t1.lookingAtIdentifier$0());
  53096. t2.expectChar$1(41);
  53097. t2.expectDone$0();
  53098. return new A.AtRootQuery(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  53099. },
  53100. $signature: 344
  53101. };
  53102. A._disallowedFunctionNames_closure.prototype = {
  53103. call$1($function) {
  53104. return $function.name;
  53105. },
  53106. $signature: 346
  53107. };
  53108. A.CssParser.prototype = {
  53109. get$plainCss() {
  53110. return true;
  53111. },
  53112. silentComment$0() {
  53113. var t1 = this.scanner,
  53114. t2 = t1._string_scanner$_position;
  53115. this.super$Parser$silentComment();
  53116. this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  53117. },
  53118. atRule$2$root(child, root) {
  53119. var $name, _0_0, _this = this,
  53120. t1 = _this.scanner,
  53121. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  53122. t1.expectChar$1(64);
  53123. $name = _this.interpolatedIdentifier$0();
  53124. _this.whitespace$0();
  53125. _0_0 = $name.get$asPlain();
  53126. $label0$0: {
  53127. if ("at-root" === _0_0 || "content" === _0_0 || "debug" === _0_0 || "each" === _0_0 || "error" === _0_0 || "extend" === _0_0 || "for" === _0_0 || "function" === _0_0 || "if" === _0_0 || "include" === _0_0 || "mixin" === _0_0 || "return" === _0_0 || "warn" === _0_0 || "while" === _0_0)
  53128. _this._forbiddenAtRoot$1(start);
  53129. if ("import" === _0_0) {
  53130. t1 = _this._cssImportRule$1(start);
  53131. break $label0$0;
  53132. }
  53133. if ("media" === _0_0) {
  53134. t1 = _this.mediaRule$1(start);
  53135. break $label0$0;
  53136. }
  53137. if ("-moz-document" === _0_0) {
  53138. t1 = _this.mozDocumentRule$2(start, $name);
  53139. break $label0$0;
  53140. }
  53141. if ("supports" === _0_0) {
  53142. t1 = _this.supportsRule$1(start);
  53143. break $label0$0;
  53144. }
  53145. t1 = _this.unknownAtRule$2(start, $name);
  53146. break $label0$0;
  53147. }
  53148. return t1;
  53149. },
  53150. _forbiddenAtRoot$1(start) {
  53151. this.almostAnyValue$0();
  53152. this.error$2(0, "This at-rule isn't allowed in plain CSS.", this.scanner.spanFrom$1(start));
  53153. },
  53154. _cssImportRule$1(start) {
  53155. var t2, urlSpan, modifiers, _this = this,
  53156. t1 = _this.scanner,
  53157. urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position),
  53158. _0_0 = t1.peekChar$0();
  53159. $label0$0: {
  53160. if (117 === _0_0 || 85 === _0_0) {
  53161. t2 = _this.dynamicUrl$0();
  53162. break $label0$0;
  53163. }
  53164. t2 = new A.StringExpression(_this.interpolatedString$0().asInterpolation$1$static(true), false);
  53165. break $label0$0;
  53166. }
  53167. urlSpan = t1.spanFrom$1(urlStart);
  53168. _this.whitespace$0();
  53169. modifiers = _this.tryImportModifiers$0();
  53170. _this.expectStatementSeparator$1("@import rule");
  53171. t2 = A._setArrayType([new A.StaticImport(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), urlSpan), modifiers, t1.spanFrom$1(urlStart))], type$.JSArray_Import);
  53172. t1 = t1.spanFrom$1(start);
  53173. return new A.ImportRule(A.List_List$unmodifiable(t2, type$.Import), t1);
  53174. },
  53175. parentheses$0() {
  53176. var expression,
  53177. t1 = this.scanner,
  53178. t2 = t1._string_scanner$_position;
  53179. t1.expectChar$1(40);
  53180. this.whitespace$0();
  53181. expression = this.expressionUntilComma$0();
  53182. t1.expectChar$1(41);
  53183. return new A.ParenthesizedExpression(expression, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  53184. },
  53185. identifierLike$0() {
  53186. var specialFunction, t2, allowEmptySecondArg, $arguments, t3, t4, _this = this, _null = null,
  53187. t1 = _this.scanner,
  53188. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  53189. identifier = _this.interpolatedIdentifier$0(),
  53190. plain = identifier.get$asPlain(),
  53191. lower = plain.toLowerCase(),
  53192. _0_0 = _this.trySpecialFunction$2(lower, start);
  53193. if (_0_0 != null) {
  53194. specialFunction = _0_0;
  53195. t2 = true;
  53196. } else {
  53197. specialFunction = _null;
  53198. t2 = false;
  53199. }
  53200. if (t2)
  53201. return specialFunction;
  53202. t2 = t1._string_scanner$_position;
  53203. if (t1.scanChar$1(46))
  53204. return _this.namespacedExpression$2(plain, start);
  53205. if (!t1.scanChar$1(40))
  53206. return new A.StringExpression(identifier, false);
  53207. allowEmptySecondArg = lower === "var";
  53208. $arguments = A._setArrayType([], type$.JSArray_Expression);
  53209. if (!t1.scanChar$1(41)) {
  53210. do {
  53211. _this.whitespace$0();
  53212. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  53213. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  53214. t4 = t3.offset;
  53215. t4 = A._FileSpan$(t3.file, t4, t4);
  53216. $arguments.push(new A.StringExpression(A.Interpolation$(A._setArrayType([""], type$.JSArray_Object), t4), false));
  53217. break;
  53218. }
  53219. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  53220. _this.whitespace$0();
  53221. } while (t1.scanChar$1(44));
  53222. t1.expectChar$1(41);
  53223. }
  53224. if ($.$get$_disallowedFunctionNames().contains$1(0, plain))
  53225. _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
  53226. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  53227. t3 = type$.Expression;
  53228. return new A.FunctionExpression(_null, plain, new A.ArgumentInvocation(A.List_List$unmodifiable($arguments, t3), A.ConstantMap_ConstantMap$from(B.Map_empty6, type$.String, t3), _null, _null, t2), t1.spanFrom$1(start));
  53229. },
  53230. namespacedExpression$2(namespace, start) {
  53231. var expression = this.super$StylesheetParser$namespacedExpression(namespace, start);
  53232. this.error$2(0, string$.Modulen, expression.get$span(expression));
  53233. }
  53234. };
  53235. A.KeyframeSelectorParser.prototype = {
  53236. parse$0() {
  53237. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure(this));
  53238. },
  53239. _percentage$0() {
  53240. var $self, _0_0,
  53241. t1 = this.scanner,
  53242. t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
  53243. second = t1.peekChar$0();
  53244. if (!(second != null && second >= 48 && second <= 57) && second !== 46)
  53245. t1.error$1(0, "Expected number.");
  53246. while (true) {
  53247. $self = t1.peekChar$0();
  53248. if (!($self != null && $self >= 48 && $self <= 57))
  53249. break;
  53250. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  53251. }
  53252. if (t1.peekChar$0() === 46) {
  53253. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  53254. while (true) {
  53255. $self = t1.peekChar$0();
  53256. if (!($self != null && $self >= 48 && $self <= 57))
  53257. break;
  53258. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  53259. }
  53260. }
  53261. if (this.scanIdentChar$1(101)) {
  53262. t2 += A.Primitives_stringFromCharCode(101);
  53263. _0_0 = t1.peekChar$0();
  53264. if (43 === _0_0 || 45 === _0_0)
  53265. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  53266. $self = t1.peekChar$0();
  53267. if (!($self != null && $self >= 48 && $self <= 57))
  53268. t1.error$1(0, "Expected digit.");
  53269. do {
  53270. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  53271. $self = t1.peekChar$0();
  53272. } while ($self != null && $self >= 48 && $self <= 57);
  53273. }
  53274. t1.expectChar$1(37);
  53275. t2 += A.Primitives_stringFromCharCode(37);
  53276. return t2.charCodeAt(0) == 0 ? t2 : t2;
  53277. }
  53278. };
  53279. A.KeyframeSelectorParser_parse_closure.prototype = {
  53280. call$0() {
  53281. var selectors = A._setArrayType([], type$.JSArray_String),
  53282. t1 = this.$this,
  53283. t2 = t1.scanner;
  53284. do {
  53285. t1.whitespace$0();
  53286. if (t1.lookingAtIdentifier$0())
  53287. if (t1.scanIdentifier$1("from"))
  53288. selectors.push("from");
  53289. else {
  53290. t1.expectIdentifier$2$name("to", '"to" or "from"');
  53291. selectors.push("to");
  53292. }
  53293. else
  53294. selectors.push(t1._percentage$0());
  53295. t1.whitespace$0();
  53296. } while (t2.scanChar$1(44));
  53297. t2.expectDone$0();
  53298. return selectors;
  53299. },
  53300. $signature: 28
  53301. };
  53302. A.MediaQueryParser.prototype = {
  53303. parse$0() {
  53304. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure(this));
  53305. },
  53306. _mediaQuery$0() {
  53307. var conditions, conjunction, identifier1, identifier2, type, modifier, _this = this, _s3_ = "and", _null = null;
  53308. if (_this.scanner.peekChar$0() === 40) {
  53309. conditions = A._setArrayType([_this._mediaInParens$0()], type$.JSArray_String);
  53310. _this.whitespace$0();
  53311. if (_this.scanIdentifier$1(_s3_)) {
  53312. _this.expectWhitespace$0();
  53313. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1(_s3_));
  53314. conjunction = true;
  53315. } else if (_this.scanIdentifier$1("or")) {
  53316. _this.expectWhitespace$0();
  53317. B.JSArray_methods.addAll$1(conditions, _this._mediaLogicSequence$1("or"));
  53318. conjunction = false;
  53319. } else
  53320. conjunction = true;
  53321. return A.CssMediaQuery$condition(conditions, conjunction);
  53322. }
  53323. identifier1 = _this.identifier$0();
  53324. if (A.equalsIgnoreCase(identifier1, "not")) {
  53325. _this.expectWhitespace$0();
  53326. if (!_this.lookingAtIdentifier$0())
  53327. return A.CssMediaQuery$condition(A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), _null);
  53328. }
  53329. _this.whitespace$0();
  53330. if (!_this.lookingAtIdentifier$0())
  53331. return A.CssMediaQuery$type(identifier1, _null, _null);
  53332. identifier2 = _this.identifier$0();
  53333. if (A.equalsIgnoreCase(identifier2, _s3_)) {
  53334. _this.expectWhitespace$0();
  53335. type = identifier1;
  53336. modifier = _null;
  53337. } else {
  53338. _this.whitespace$0();
  53339. if (_this.scanIdentifier$1(_s3_))
  53340. _this.expectWhitespace$0();
  53341. else
  53342. return A.CssMediaQuery$type(identifier2, _null, identifier1);
  53343. type = identifier2;
  53344. modifier = identifier1;
  53345. }
  53346. if (_this.scanIdentifier$1("not")) {
  53347. _this.expectWhitespace$0();
  53348. return A.CssMediaQuery$type(type, A._setArrayType(["(not " + _this._mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  53349. }
  53350. return A.CssMediaQuery$type(type, _this._mediaLogicSequence$1(_s3_), modifier);
  53351. },
  53352. _mediaLogicSequence$1(operator) {
  53353. var t1, t2, _this = this,
  53354. result = A._setArrayType([], type$.JSArray_String);
  53355. for (t1 = _this.scanner; true;) {
  53356. t1.expectChar$2$name(40, "media condition in parentheses");
  53357. t2 = _this.declarationValue$0();
  53358. t1.expectChar$1(41);
  53359. result.push("(" + t2 + ")");
  53360. _this.whitespace$0();
  53361. if (!_this.scanIdentifier$1(operator))
  53362. return result;
  53363. _this.expectWhitespace$0();
  53364. }
  53365. },
  53366. _mediaInParens$0() {
  53367. var t2,
  53368. t1 = this.scanner;
  53369. t1.expectChar$2$name(40, "media condition in parentheses");
  53370. t2 = this.declarationValue$0();
  53371. t1.expectChar$1(41);
  53372. return "(" + t2 + ")";
  53373. }
  53374. };
  53375. A.MediaQueryParser_parse_closure.prototype = {
  53376. call$0() {
  53377. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery),
  53378. t1 = this.$this,
  53379. t2 = t1.scanner;
  53380. do {
  53381. t1.whitespace$0();
  53382. queries.push(t1._mediaQuery$0());
  53383. t1.whitespace$0();
  53384. } while (t2.scanChar$1(44));
  53385. t2.expectDone$0();
  53386. return queries;
  53387. },
  53388. $signature: 347
  53389. };
  53390. A.Parser.prototype = {
  53391. _parseIdentifier$0() {
  53392. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure(this));
  53393. },
  53394. _isVariableDeclarationLike$0() {
  53395. var _this = this,
  53396. t1 = _this.scanner;
  53397. if (!t1.scanChar$1(36))
  53398. return false;
  53399. if (!_this.lookingAtIdentifier$0())
  53400. return false;
  53401. _this.identifier$0();
  53402. _this.whitespace$0();
  53403. return t1.scanChar$1(58);
  53404. },
  53405. whitespace$0() {
  53406. do
  53407. this.whitespaceWithoutComments$0();
  53408. while (this.scanComment$0());
  53409. },
  53410. whitespaceWithoutComments$0() {
  53411. var t3,
  53412. t1 = this.scanner,
  53413. t2 = t1.string.length;
  53414. while (true) {
  53415. if (t1._string_scanner$_position !== t2) {
  53416. t3 = t1.peekChar$0();
  53417. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  53418. } else
  53419. t3 = false;
  53420. if (!t3)
  53421. break;
  53422. t1.readChar$0();
  53423. }
  53424. },
  53425. spaces$0() {
  53426. var t3,
  53427. t1 = this.scanner,
  53428. t2 = t1.string.length;
  53429. while (true) {
  53430. if (t1._string_scanner$_position !== t2) {
  53431. t3 = t1.peekChar$0();
  53432. t3 = t3 === 32 || t3 === 9;
  53433. } else
  53434. t3 = false;
  53435. if (!t3)
  53436. break;
  53437. t1.readChar$0();
  53438. }
  53439. },
  53440. scanComment$0() {
  53441. var _0_0,
  53442. t1 = this.scanner;
  53443. if (t1.peekChar$0() !== 47)
  53444. return false;
  53445. _0_0 = t1.peekChar$1(1);
  53446. if (47 === _0_0) {
  53447. this.silentComment$0();
  53448. return true;
  53449. }
  53450. if (42 === _0_0) {
  53451. this.loudComment$0();
  53452. return true;
  53453. }
  53454. return false;
  53455. },
  53456. expectWhitespace$0() {
  53457. var t2, t3,
  53458. t1 = this.scanner;
  53459. if (t1._string_scanner$_position !== t1.string.length) {
  53460. t2 = t1.peekChar$0();
  53461. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  53462. t2 = t3;
  53463. } else
  53464. t2 = true;
  53465. if (t2)
  53466. t1.error$1(0, "Expected whitespace.");
  53467. this.whitespace$0();
  53468. },
  53469. silentComment$0() {
  53470. var t2, t3,
  53471. t1 = this.scanner;
  53472. t1.expect$1("//");
  53473. t2 = t1.string.length;
  53474. while (true) {
  53475. if (t1._string_scanner$_position !== t2) {
  53476. t3 = t1.peekChar$0();
  53477. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  53478. } else
  53479. t3 = false;
  53480. if (!t3)
  53481. break;
  53482. t1.readChar$0();
  53483. }
  53484. },
  53485. loudComment$0() {
  53486. var next,
  53487. t1 = this.scanner;
  53488. t1.expect$1("/*");
  53489. for (; true;) {
  53490. if (t1.readChar$0() !== 42)
  53491. continue;
  53492. do
  53493. next = t1.readChar$0();
  53494. while (next === 42);
  53495. if (next === 47)
  53496. break;
  53497. }
  53498. },
  53499. identifier$2$normalize$unit(normalize, unit) {
  53500. var t2, _0_0, _this = this,
  53501. _s20_ = "Expected identifier.",
  53502. text = new A.StringBuffer(""),
  53503. t1 = _this.scanner;
  53504. if (t1.scanChar$1(45)) {
  53505. t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
  53506. if (t1.scanChar$1(45)) {
  53507. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  53508. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  53509. t1 = text._contents;
  53510. return t1.charCodeAt(0) == 0 ? t1 : t1;
  53511. }
  53512. } else
  53513. t2 = "";
  53514. $label0$0: {
  53515. _0_0 = t1.peekChar$0();
  53516. if (_0_0 == null)
  53517. t1.error$1(0, _s20_);
  53518. if (95 === _0_0 && normalize) {
  53519. t1.readChar$0();
  53520. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  53521. break $label0$0;
  53522. }
  53523. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128) {
  53524. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  53525. break $label0$0;
  53526. }
  53527. if (92 === _0_0) {
  53528. text._contents = t2 + _this.escape$1$identifierStart(true);
  53529. break $label0$0;
  53530. }
  53531. t1.error$1(0, _s20_);
  53532. }
  53533. _this._identifierBody$3$normalize$unit(text, normalize, unit);
  53534. t1 = text._contents;
  53535. return t1.charCodeAt(0) == 0 ? t1 : t1;
  53536. },
  53537. identifier$0() {
  53538. return this.identifier$2$normalize$unit(false, false);
  53539. },
  53540. identifier$1$normalize(normalize) {
  53541. return this.identifier$2$normalize$unit(normalize, false);
  53542. },
  53543. identifier$1$unit(unit) {
  53544. return this.identifier$2$normalize$unit(false, unit);
  53545. },
  53546. _identifierBody$3$normalize$unit(text, normalize, unit) {
  53547. var t1, _1_0, _0_0, t2;
  53548. for (t1 = this.scanner; true;) {
  53549. _1_0 = t1.peekChar$0();
  53550. if (_1_0 == null)
  53551. break;
  53552. if (45 === _1_0 && unit) {
  53553. _0_0 = t1.peekChar$1(1);
  53554. if (46 !== _0_0)
  53555. t2 = A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57;
  53556. else
  53557. t2 = true;
  53558. if (t2)
  53559. break;
  53560. text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  53561. continue;
  53562. }
  53563. if (95 === _1_0 && normalize) {
  53564. t1.readChar$0();
  53565. text._contents += A.Primitives_stringFromCharCode(45);
  53566. continue;
  53567. }
  53568. if (_1_0 !== 95) {
  53569. if (!(_1_0 >= 97 && _1_0 <= 122))
  53570. t2 = _1_0 >= 65 && _1_0 <= 90;
  53571. else
  53572. t2 = true;
  53573. t2 = t2 || _1_0 >= 128;
  53574. } else
  53575. t2 = true;
  53576. if (!t2)
  53577. t2 = _1_0 >= 48 && _1_0 <= 57 || _1_0 === 45;
  53578. else
  53579. t2 = true;
  53580. if (t2) {
  53581. text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  53582. continue;
  53583. }
  53584. if (92 === _1_0) {
  53585. text._contents += this.escape$0();
  53586. continue;
  53587. }
  53588. break;
  53589. }
  53590. },
  53591. _identifierBody$1(text) {
  53592. return this._identifierBody$3$normalize$unit(text, false, false);
  53593. },
  53594. string$0() {
  53595. var buffer, _0_0, t2,
  53596. t1 = this.scanner,
  53597. quote = t1.readChar$0();
  53598. if (quote !== 39 && quote !== 34)
  53599. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  53600. buffer = new A.StringBuffer("");
  53601. for (; true;) {
  53602. _0_0 = t1.peekChar$0();
  53603. if (_0_0 === quote) {
  53604. t1.readChar$0();
  53605. break;
  53606. }
  53607. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  53608. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  53609. if (92 === _0_0) {
  53610. t2 = t1.peekChar$1(1);
  53611. if (t2 === 10 || t2 === 13 || t2 === 12) {
  53612. t1.readChar$0();
  53613. t1.readChar$0();
  53614. } else
  53615. buffer._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  53616. continue;
  53617. }
  53618. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  53619. }
  53620. t1 = buffer._contents;
  53621. return t1.charCodeAt(0) == 0 ? t1 : t1;
  53622. },
  53623. declarationValue$1$allowEmpty(allowEmpty) {
  53624. var t1, t2, wroteNewline, next, start, end, t3, _0_0, url, _this = this,
  53625. buffer = new A.StringBuffer(""),
  53626. brackets = A._setArrayType([], type$.JSArray_int);
  53627. for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
  53628. next = t1.peekChar$0();
  53629. if (next == null)
  53630. break;
  53631. if (92 === next) {
  53632. buffer._contents += _this.escape$1$identifierStart(true);
  53633. wroteNewline = false;
  53634. continue;
  53635. }
  53636. if (34 === next || 39 === next) {
  53637. start = t1._string_scanner$_position;
  53638. t2.call$0();
  53639. end = t1._string_scanner$_position;
  53640. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  53641. wroteNewline = false;
  53642. continue;
  53643. }
  53644. if (47 === next) {
  53645. if (t1.peekChar$1(1) === 42) {
  53646. t3 = _this.get$loudComment();
  53647. start = t1._string_scanner$_position;
  53648. t3.call$0();
  53649. end = t1._string_scanner$_position;
  53650. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  53651. } else
  53652. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  53653. wroteNewline = false;
  53654. continue;
  53655. }
  53656. if (32 === next || 9 === next) {
  53657. if (!wroteNewline) {
  53658. t3 = t1.peekChar$1(1);
  53659. t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
  53660. } else
  53661. t3 = true;
  53662. if (t3)
  53663. buffer._contents += A.Primitives_stringFromCharCode(32);
  53664. t1.readChar$0();
  53665. continue;
  53666. }
  53667. if (10 === next || 13 === next || 12 === next) {
  53668. t3 = t1.peekChar$1(-1);
  53669. if (!(t3 === 10 || t3 === 13 || t3 === 12))
  53670. buffer._contents += "\n";
  53671. t1.readChar$0();
  53672. wroteNewline = true;
  53673. continue;
  53674. }
  53675. if (40 === next || 123 === next || 91 === next) {
  53676. buffer._contents += A.Primitives_stringFromCharCode(next);
  53677. brackets.push(A.opposite(t1.readChar$0()));
  53678. wroteNewline = false;
  53679. continue;
  53680. }
  53681. if (41 === next || 125 === next || 93 === next) {
  53682. if (brackets.length === 0)
  53683. break;
  53684. buffer._contents += A.Primitives_stringFromCharCode(next);
  53685. t1.expectChar$1(brackets.pop());
  53686. wroteNewline = false;
  53687. continue;
  53688. }
  53689. if (59 === next) {
  53690. if (brackets.length === 0)
  53691. break;
  53692. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  53693. continue;
  53694. }
  53695. if (117 === next || 85 === next) {
  53696. _0_0 = _this.tryUrl$0();
  53697. if (_0_0 != null) {
  53698. url = _0_0;
  53699. t3 = true;
  53700. } else {
  53701. url = null;
  53702. t3 = false;
  53703. }
  53704. if (t3)
  53705. buffer._contents += A.S(url);
  53706. else
  53707. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  53708. wroteNewline = false;
  53709. continue;
  53710. }
  53711. if (_this.lookingAtIdentifier$0())
  53712. buffer._contents += _this.identifier$0();
  53713. else
  53714. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  53715. wroteNewline = false;
  53716. }
  53717. if (brackets.length !== 0)
  53718. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  53719. if (!allowEmpty && buffer._contents.length === 0)
  53720. t1.error$1(0, "Expected token.");
  53721. t1 = buffer._contents;
  53722. return t1.charCodeAt(0) == 0 ? t1 : t1;
  53723. },
  53724. declarationValue$0() {
  53725. return this.declarationValue$1$allowEmpty(false);
  53726. },
  53727. tryUrl$0() {
  53728. var buffer, _0_0, t2, _this = this,
  53729. t1 = _this.scanner,
  53730. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  53731. if (!_this.scanIdentifier$1("url"))
  53732. return null;
  53733. if (!t1.scanChar$1(40)) {
  53734. t1.set$state(start);
  53735. return null;
  53736. }
  53737. _this.whitespace$0();
  53738. buffer = new A.StringBuffer("");
  53739. buffer._contents = "" + "url(";
  53740. for (; true;) {
  53741. _0_0 = t1.peekChar$0();
  53742. if (_0_0 == null)
  53743. break;
  53744. if (92 === _0_0) {
  53745. buffer._contents += _this.escape$0();
  53746. continue;
  53747. }
  53748. if (37 !== _0_0)
  53749. if (38 !== _0_0)
  53750. if (35 !== _0_0)
  53751. t2 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  53752. else
  53753. t2 = true;
  53754. else
  53755. t2 = true;
  53756. else
  53757. t2 = true;
  53758. if (t2) {
  53759. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  53760. continue;
  53761. }
  53762. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  53763. _this.whitespace$0();
  53764. if (t1.peekChar$0() !== 41)
  53765. break;
  53766. continue;
  53767. }
  53768. if (41 === _0_0) {
  53769. t2 = buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  53770. return t2.charCodeAt(0) == 0 ? t2 : t2;
  53771. }
  53772. break;
  53773. }
  53774. t1.set$state(start);
  53775. return null;
  53776. },
  53777. variableName$0() {
  53778. this.scanner.expectChar$1(36);
  53779. return this.identifier$1$normalize(true);
  53780. },
  53781. escape$1$identifierStart(identifierStart) {
  53782. var value, _0_0, i, next, t2, exception,
  53783. _s25_ = "Expected escape sequence.",
  53784. t1 = this.scanner,
  53785. start = t1._string_scanner$_position;
  53786. t1.expectChar$1(92);
  53787. value = 0;
  53788. $label0$1: {
  53789. _0_0 = t1.peekChar$0();
  53790. if (_0_0 == null)
  53791. t1.error$1(0, _s25_);
  53792. if (_0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  53793. t1.error$1(0, _s25_);
  53794. if (A.CharacterExtension_get_isHex(_0_0)) {
  53795. for (i = 0; i < 6; ++i) {
  53796. next = t1.peekChar$0();
  53797. if (next != null) {
  53798. if (!(next >= 48 && next <= 57))
  53799. if (!(next >= 97 && next <= 102))
  53800. t2 = next >= 65 && next <= 70;
  53801. else
  53802. t2 = true;
  53803. else
  53804. t2 = true;
  53805. t2 = !t2;
  53806. } else
  53807. t2 = true;
  53808. if (t2)
  53809. break;
  53810. value *= 16;
  53811. value += A.asHex(t1.readChar$0());
  53812. }
  53813. this.scanCharIf$1(new A.Parser_escape_closure());
  53814. break $label0$1;
  53815. }
  53816. value = t1.readChar$0();
  53817. }
  53818. if (identifierStart) {
  53819. t2 = value;
  53820. t2 = t2 === 95 || A.CharacterExtension_get_isAlphabetic(t2) || t2 >= 128;
  53821. } else {
  53822. t2 = value;
  53823. if (!(t2 === 95 || A.CharacterExtension_get_isAlphabetic(t2) || t2 >= 128))
  53824. t2 = t2 >= 48 && t2 <= 57 || t2 === 45;
  53825. else
  53826. t2 = true;
  53827. }
  53828. if (t2)
  53829. try {
  53830. t2 = A.Primitives_stringFromCharCode(value);
  53831. return t2;
  53832. } catch (exception) {
  53833. if (type$.RangeError._is(A.unwrapException(exception)))
  53834. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  53835. else
  53836. throw exception;
  53837. }
  53838. else {
  53839. if (!(value <= 31))
  53840. if (!J.$eq$(value, 127))
  53841. if (identifierStart) {
  53842. t1 = value;
  53843. t1 = t1 >= 48 && t1 <= 57;
  53844. } else
  53845. t1 = false;
  53846. else
  53847. t1 = true;
  53848. else
  53849. t1 = true;
  53850. if (t1) {
  53851. t1 = "" + A.Primitives_stringFromCharCode(92);
  53852. if (value > 15)
  53853. t1 += A.Primitives_stringFromCharCode(A.hexCharFor(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  53854. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor(value & 15)) + A.Primitives_stringFromCharCode(32);
  53855. return t1.charCodeAt(0) == 0 ? t1 : t1;
  53856. } else
  53857. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  53858. }
  53859. },
  53860. escape$0() {
  53861. return this.escape$1$identifierStart(false);
  53862. },
  53863. scanCharIf$1(condition) {
  53864. var t1 = this.scanner;
  53865. if (!condition.call$1(t1.peekChar$0()))
  53866. return false;
  53867. t1.readChar$0();
  53868. return true;
  53869. },
  53870. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  53871. var next, t3,
  53872. t1 = new A.Parser_scanIdentChar_matches(caseSensitive, char),
  53873. t2 = this.scanner,
  53874. _0_0 = t2.peekChar$0();
  53875. if (_0_0 != null) {
  53876. next = _0_0;
  53877. t3 = true;
  53878. } else {
  53879. next = null;
  53880. t3 = false;
  53881. }
  53882. if (t3 && t1.call$1(next)) {
  53883. t2.readChar$0();
  53884. return true;
  53885. }
  53886. if (92 === _0_0) {
  53887. t3 = t2._string_scanner$_position;
  53888. if (t1.call$1(A.consumeEscapedCharacter(t2)))
  53889. return true;
  53890. t2.set$state(new A._SpanScannerState(t2, t3));
  53891. }
  53892. return false;
  53893. },
  53894. scanIdentChar$1(char) {
  53895. return this.scanIdentChar$2$caseSensitive(char, false);
  53896. },
  53897. expectIdentChar$1(letter) {
  53898. var t1;
  53899. if (this.scanIdentChar$2$caseSensitive(letter, false))
  53900. return;
  53901. t1 = this.scanner;
  53902. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  53903. },
  53904. lookingAtIdentifier$1($forward) {
  53905. var t1, _1_0, t2, _0_0;
  53906. if ($forward == null)
  53907. $forward = 0;
  53908. t1 = this.scanner;
  53909. _1_0 = t1.peekChar$1($forward);
  53910. $label0$0: {
  53911. if (A._isInt(_1_0))
  53912. t2 = _1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128;
  53913. else
  53914. t2 = false;
  53915. if (t2 || 92 === _1_0) {
  53916. t1 = true;
  53917. break $label0$0;
  53918. }
  53919. if (45 === _1_0) {
  53920. _0_0 = t1.peekChar$1($forward + 1);
  53921. $label1$1: {
  53922. if (A._isInt(_0_0))
  53923. t1 = _0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128;
  53924. else
  53925. t1 = false;
  53926. if (t1 || 92 === _0_0 || 45 === _0_0) {
  53927. t1 = true;
  53928. break $label1$1;
  53929. }
  53930. t1 = false;
  53931. break $label1$1;
  53932. }
  53933. break $label0$0;
  53934. }
  53935. t1 = false;
  53936. break $label0$0;
  53937. }
  53938. return t1;
  53939. },
  53940. lookingAtIdentifier$0() {
  53941. return this.lookingAtIdentifier$1(null);
  53942. },
  53943. lookingAtIdentifierBody$0() {
  53944. var t1,
  53945. next = this.scanner.peekChar$0();
  53946. if (next != null) {
  53947. if (!(next === 95 || A.CharacterExtension_get_isAlphabetic(next) || next >= 128))
  53948. t1 = next >= 48 && next <= 57 || next === 45;
  53949. else
  53950. t1 = true;
  53951. t1 = t1 || next === 92;
  53952. } else
  53953. t1 = false;
  53954. return t1;
  53955. },
  53956. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  53957. var t1, t2, _this = this;
  53958. if (!_this.lookingAtIdentifier$0())
  53959. return false;
  53960. t1 = _this.scanner;
  53961. t2 = t1._string_scanner$_position;
  53962. if (_this._consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  53963. return true;
  53964. else {
  53965. t1.set$state(new A._SpanScannerState(t1, t2));
  53966. return false;
  53967. }
  53968. },
  53969. scanIdentifier$1(text) {
  53970. return this.scanIdentifier$2$caseSensitive(text, false);
  53971. },
  53972. _consumeIdentifier$2(text, caseSensitive) {
  53973. var t1, t2, t3;
  53974. for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  53975. t3 = t1.__internal$_current;
  53976. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  53977. return false;
  53978. }
  53979. return true;
  53980. },
  53981. expectIdentifier$2$name(text, $name) {
  53982. var t1, start, t2, t3, t4, t5, t6;
  53983. if ($name == null)
  53984. $name = '"' + text + '"';
  53985. t1 = this.scanner;
  53986. start = t1._string_scanner$_position;
  53987. 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();) {
  53988. t6 = t2.__internal$_current;
  53989. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t5._as(t6) : t6, false))
  53990. continue;
  53991. t1.error$2$position(0, t4, start);
  53992. }
  53993. if (!this.lookingAtIdentifierBody$0())
  53994. return;
  53995. t1.error$2$position(0, t3, start);
  53996. },
  53997. expectIdentifier$1(text) {
  53998. return this.expectIdentifier$2$name(text, null);
  53999. },
  54000. rawText$1(consumer) {
  54001. var t1 = this.scanner,
  54002. start = t1._string_scanner$_position;
  54003. consumer.call$0();
  54004. return t1.substring$1(0, start);
  54005. },
  54006. spanFrom$1(state) {
  54007. var span = this.scanner.spanFrom$1(state);
  54008. return this._interpolationMap == null ? span : new A.LazyFileSpan(new A.Parser_spanFrom_closure(this, span));
  54009. },
  54010. error$3(_, message, span, trace) {
  54011. var exception = new A.StringScannerException(this.scanner.string, message, span);
  54012. if (trace == null)
  54013. throw A.wrapException(exception);
  54014. else
  54015. A.throwWithTrace(exception, this.get$error(this), trace);
  54016. },
  54017. error$2($receiver, message, span) {
  54018. return this.error$3($receiver, message, span, null);
  54019. },
  54020. withErrorMessage$1$2(message, callback) {
  54021. var error, stackTrace, t1, exception;
  54022. try {
  54023. t1 = callback.call$0();
  54024. return t1;
  54025. } catch (exception) {
  54026. t1 = A.unwrapException(exception);
  54027. if (type$.SourceSpanFormatException._is(t1)) {
  54028. error = t1;
  54029. stackTrace = A.getTraceFromException(exception);
  54030. t1 = J.get$span$z(error);
  54031. A.throwWithTrace(new A.SourceSpanFormatException(error.get$source(), message, t1), error, stackTrace);
  54032. } else
  54033. throw exception;
  54034. }
  54035. },
  54036. withErrorMessage$2(message, callback) {
  54037. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  54038. },
  54039. wrapSpanFormatException$1$1(callback) {
  54040. var error, stackTrace, map, error0, stackTrace0, span, error1, stackTrace1, span0, secondarySpans, t1, t2, span1, description, _0_0, t3, exception, t4, _this = this,
  54041. _s8_ = "expected";
  54042. try {
  54043. try {
  54044. t3 = callback.call$0();
  54045. return t3;
  54046. } catch (exception) {
  54047. t3 = A.unwrapException(exception);
  54048. if (type$.SourceSpanFormatException._is(t3)) {
  54049. error = t3;
  54050. stackTrace = A.getTraceFromException(exception);
  54051. map = _this._interpolationMap;
  54052. if (map == null)
  54053. throw exception;
  54054. A.throwWithTrace(map.mapException$1(error), error, stackTrace);
  54055. } else
  54056. throw exception;
  54057. }
  54058. } catch (exception) {
  54059. t3 = A.unwrapException(exception);
  54060. if (type$.SourceSpanFormatException._is(t3)) {
  54061. error0 = t3;
  54062. stackTrace0 = A.getTraceFromException(exception);
  54063. span = J.get$span$z(error0);
  54064. if (A.startsWithIgnoreCase(error0._span_exception$_message, _s8_))
  54065. span = _this._adjustExceptionSpan$1(span);
  54066. t1 = error0._span_exception$_message;
  54067. t2 = span;
  54068. A.throwWithTrace(new A.SassFormatException(B.Set_empty, t1, t2), error0, stackTrace0);
  54069. } else if (type$.MultiSourceSpanFormatException._is(t3)) {
  54070. error1 = t3;
  54071. stackTrace1 = A.getTraceFromException(exception);
  54072. span0 = J.get$span$z(error1);
  54073. t3 = type$.FileSpan;
  54074. t4 = type$.String;
  54075. secondarySpans = error1.get$secondarySpans().cast$2$0(0, t3, t4);
  54076. if (A.startsWithIgnoreCase(error1._span_exception$_message, _s8_)) {
  54077. span0 = _this._adjustExceptionSpan$1(span0);
  54078. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  54079. for (t3 = A.MapExtensions_get_pairs(secondarySpans, t3, t4), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  54080. t2 = t3.get$current(t3);
  54081. span1 = null;
  54082. description = null;
  54083. _0_0 = t2;
  54084. span1 = _0_0._0;
  54085. description = _0_0._1;
  54086. J.$indexSet$ax(t1, _this._adjustExceptionSpan$1(span1), description);
  54087. }
  54088. secondarySpans = t1;
  54089. }
  54090. A.throwWithTrace(A.MultiSpanSassFormatException$(error1._span_exception$_message, span0, error1.get$primaryLabel(), secondarySpans, null), error1, stackTrace1);
  54091. } else
  54092. throw exception;
  54093. }
  54094. },
  54095. wrapSpanFormatException$1(callback) {
  54096. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  54097. },
  54098. _adjustExceptionSpan$1(span) {
  54099. var start, t1;
  54100. if (span.get$length(span) > 0)
  54101. return span;
  54102. start = this._firstNewlineBefore$1(span.get$start(span));
  54103. if (start.$eq(0, span.get$start(span)))
  54104. t1 = span;
  54105. else {
  54106. t1 = start.offset;
  54107. t1 = A._FileSpan$(start.file, t1, t1);
  54108. }
  54109. return t1;
  54110. },
  54111. _firstNewlineBefore$1($location) {
  54112. var lastNewline, codeUnit,
  54113. t1 = $location.file,
  54114. t2 = $location.offset,
  54115. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, 0, t2), 0, null),
  54116. index = t2 - 1;
  54117. for (lastNewline = null; index >= 0;) {
  54118. codeUnit = text.charCodeAt(index);
  54119. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12)) {
  54120. if (lastNewline == null)
  54121. t1 = $location;
  54122. else {
  54123. t2 = new A.FileLocation(t1, lastNewline);
  54124. t2.FileLocation$_$2(t1, lastNewline);
  54125. t1 = t2;
  54126. }
  54127. return t1;
  54128. }
  54129. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  54130. lastNewline = index;
  54131. --index;
  54132. }
  54133. return $location;
  54134. }
  54135. };
  54136. A.Parser__parseIdentifier_closure.prototype = {
  54137. call$0() {
  54138. var t1 = this.$this,
  54139. result = t1.identifier$0();
  54140. t1.scanner.expectDone$0();
  54141. return result;
  54142. },
  54143. $signature: 21
  54144. };
  54145. A.Parser_escape_closure.prototype = {
  54146. call$1(char) {
  54147. return char === 32 || char === 9 || char === 10 || char === 13 || char === 12;
  54148. },
  54149. $signature: 34
  54150. };
  54151. A.Parser_scanIdentChar_matches.prototype = {
  54152. call$1(actual) {
  54153. var t1 = this.char;
  54154. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase(t1, actual);
  54155. },
  54156. $signature: 48
  54157. };
  54158. A.Parser_spanFrom_closure.prototype = {
  54159. call$0() {
  54160. return this.$this._interpolationMap.mapSpan$1(this.span);
  54161. },
  54162. $signature: 33
  54163. };
  54164. A.SassParser.prototype = {
  54165. get$currentIndentation() {
  54166. return this._currentIndentation;
  54167. },
  54168. get$indented() {
  54169. return true;
  54170. },
  54171. styleRuleSelector$0() {
  54172. var t4,
  54173. t1 = this.scanner,
  54174. t2 = t1._string_scanner$_position,
  54175. t3 = new A.StringBuffer(""),
  54176. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  54177. do {
  54178. buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
  54179. t4 = t3._contents += A.Primitives_stringFromCharCode(10);
  54180. } while (B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), ",") && this.scanCharIf$1(new A.SassParser_styleRuleSelector_closure()));
  54181. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  54182. },
  54183. expectStatementSeparator$1($name) {
  54184. var t1, _this = this;
  54185. if (!_this.atEndOfStatement$0())
  54186. _this._expectNewline$0();
  54187. if (_this._peekIndentation$0() <= _this._currentIndentation)
  54188. return;
  54189. t1 = $name == null ? "here" : "beneath a " + $name;
  54190. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._nextIndentationEnd.position);
  54191. },
  54192. expectStatementSeparator$0() {
  54193. return this.expectStatementSeparator$1(null);
  54194. },
  54195. atEndOfStatement$0() {
  54196. var t1 = this.scanner.peekChar$0();
  54197. if (t1 == null)
  54198. t1 = null;
  54199. else
  54200. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  54201. return t1 !== false;
  54202. },
  54203. lookingAtChildren$0() {
  54204. return this.atEndOfStatement$0() && this._peekIndentation$0() > this._currentIndentation;
  54205. },
  54206. importArgument$0() {
  54207. var url, span, innerError, stackTrace, t1, _0_0, start, next, t2, exception, _this = this;
  54208. $label0$0: {
  54209. t1 = _this.scanner;
  54210. _0_0 = t1.peekChar$0();
  54211. if (117 === _0_0 || 85 === _0_0) {
  54212. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  54213. if (_this.scanIdentifier$1("url"))
  54214. if (t1.scanChar$1(40)) {
  54215. t1.set$state(start);
  54216. return _this.super$StylesheetParser$importArgument();
  54217. } else
  54218. t1.set$state(start);
  54219. break $label0$0;
  54220. }
  54221. if (39 === _0_0 || 34 === _0_0)
  54222. return _this.super$StylesheetParser$importArgument();
  54223. }
  54224. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  54225. next = t1.peekChar$0();
  54226. while (true) {
  54227. if (next != null)
  54228. if (next !== 44)
  54229. if (next !== 59)
  54230. t2 = !(next === 10 || next === 13 || next === 12);
  54231. else
  54232. t2 = false;
  54233. else
  54234. t2 = false;
  54235. else
  54236. t2 = false;
  54237. if (!t2)
  54238. break;
  54239. t1.readChar$0();
  54240. next = t1.peekChar$0();
  54241. }
  54242. url = t1.substring$1(0, start.position);
  54243. span = t1.spanFrom$1(start);
  54244. if (_this.isPlainImportUrl$1(url))
  54245. return new A.StaticImport(A.Interpolation$(A._setArrayType([A.serializeValue(new A.SassString(url, true), true, true)], type$.JSArray_Object), span), null, span);
  54246. else
  54247. try {
  54248. t1 = _this.parseImportUrl$1(url);
  54249. return new A.DynamicImport(t1, span);
  54250. } catch (exception) {
  54251. t1 = A.unwrapException(exception);
  54252. if (type$.FormatException._is(t1)) {
  54253. innerError = t1;
  54254. stackTrace = A.getTraceFromException(exception);
  54255. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  54256. } else
  54257. throw exception;
  54258. }
  54259. },
  54260. scanElse$1(ifIndentation) {
  54261. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  54262. if (_this._peekIndentation$0() !== ifIndentation)
  54263. return false;
  54264. t1 = _this.scanner;
  54265. t2 = t1._string_scanner$_position;
  54266. startIndentation = _this._currentIndentation;
  54267. startNextIndentation = _this._nextIndentation;
  54268. startNextIndentationEnd = _this._nextIndentationEnd;
  54269. _this._readIndentation$0();
  54270. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  54271. return true;
  54272. t1.set$state(new A._SpanScannerState(t1, t2));
  54273. _this._currentIndentation = startIndentation;
  54274. _this._nextIndentation = startNextIndentation;
  54275. _this._nextIndentationEnd = startNextIndentationEnd;
  54276. return false;
  54277. },
  54278. children$1(_, child) {
  54279. var children = A._setArrayType([], type$.JSArray_Statement);
  54280. this._whileIndentedLower$1(new A.SassParser_children_closure(this, child, children));
  54281. return children;
  54282. },
  54283. statements$1(statement) {
  54284. var statements, t2, _1_0, child, t3,
  54285. t1 = this.scanner,
  54286. _0_0 = t1.peekChar$0();
  54287. if (9 === _0_0 || 32 === _0_0)
  54288. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  54289. statements = A._setArrayType([], type$.JSArray_Statement);
  54290. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  54291. _1_0 = this._child$1(statement);
  54292. if (_1_0 != null) {
  54293. child = _1_0;
  54294. t3 = true;
  54295. } else {
  54296. child = null;
  54297. t3 = false;
  54298. }
  54299. if (t3)
  54300. statements.push(child);
  54301. this._readIndentation$0();
  54302. }
  54303. return statements;
  54304. },
  54305. _child$1(child) {
  54306. var _0_0, _this = this,
  54307. t1 = _this.scanner,
  54308. _1_0 = t1.peekChar$0();
  54309. $label0$0: {
  54310. if (13 === _1_0 || 10 === _1_0 || 12 === _1_0) {
  54311. t1 = null;
  54312. break $label0$0;
  54313. }
  54314. if (36 === _1_0) {
  54315. t1 = _this.variableDeclarationWithoutNamespace$0();
  54316. break $label0$0;
  54317. }
  54318. if (47 === _1_0) {
  54319. _0_0 = t1.peekChar$1(1);
  54320. $label1$1: {
  54321. if (47 === _0_0) {
  54322. t1 = _this._silentComment$0();
  54323. break $label1$1;
  54324. }
  54325. if (42 === _0_0) {
  54326. t1 = _this._loudComment$0();
  54327. break $label1$1;
  54328. }
  54329. t1 = child.call$0();
  54330. break $label1$1;
  54331. }
  54332. break $label0$0;
  54333. }
  54334. t1 = child.call$0();
  54335. break $label0$0;
  54336. }
  54337. return t1;
  54338. },
  54339. _silentComment$0() {
  54340. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  54341. t1 = _this.scanner,
  54342. t2 = t1._string_scanner$_position;
  54343. t1.expect$1("//");
  54344. buffer = new A.StringBuffer("");
  54345. parentIndentation = _this._currentIndentation;
  54346. t3 = t1.string.length;
  54347. t4 = 1 + parentIndentation;
  54348. t5 = 2 + parentIndentation;
  54349. $label0$0:
  54350. do {
  54351. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  54352. for (i = commentPrefix.length; true;) {
  54353. t6 = buffer._contents += commentPrefix;
  54354. for (i0 = i; i0 < _this._currentIndentation - parentIndentation; ++i0) {
  54355. t6 += A.Primitives_stringFromCharCode(32);
  54356. buffer._contents = t6;
  54357. }
  54358. while (true) {
  54359. if (t1._string_scanner$_position !== t3) {
  54360. t7 = t1.peekChar$0();
  54361. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  54362. } else
  54363. t7 = false;
  54364. if (!t7)
  54365. break;
  54366. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  54367. buffer._contents = t6;
  54368. }
  54369. buffer._contents = t6 + "\n";
  54370. if (_this._peekIndentation$0() < parentIndentation)
  54371. break $label0$0;
  54372. if (_this._peekIndentation$0() === parentIndentation) {
  54373. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  54374. _this._readIndentation$0();
  54375. break;
  54376. }
  54377. _this._readIndentation$0();
  54378. }
  54379. } while (t1.scan$1("//"));
  54380. t3 = buffer._contents;
  54381. return _this.lastSilentComment = new A.SilentComment(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  54382. },
  54383. _loudComment$0() {
  54384. var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _0_0, _this = this,
  54385. t1 = _this.scanner,
  54386. t2 = t1._string_scanner$_position;
  54387. t1.expect$1("/*");
  54388. t3 = new A.StringBuffer("");
  54389. t4 = A._setArrayType([], type$.JSArray_Object);
  54390. buffer = new A.InterpolationBuffer(t3, t4);
  54391. t3._contents = "" + "/*";
  54392. parentIndentation = _this._currentIndentation;
  54393. for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
  54394. if (first) {
  54395. beginningOfComment = t1._string_scanner$_position;
  54396. _this.spaces$0();
  54397. t7 = t1.peekChar$0();
  54398. if (t7 === 10 || t7 === 13 || t7 === 12) {
  54399. _this._readIndentation$0();
  54400. t3._contents += A.Primitives_stringFromCharCode(32);
  54401. } else {
  54402. end = t1._string_scanner$_position;
  54403. t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
  54404. }
  54405. } else {
  54406. t7 = t3._contents += "\n";
  54407. t3._contents = t7 + " * ";
  54408. }
  54409. for (i = 3; i < _this._currentIndentation - parentIndentation; ++i)
  54410. t3._contents += A.Primitives_stringFromCharCode(32);
  54411. for (; t1._string_scanner$_position !== t6;) {
  54412. _0_0 = t1.peekChar$0();
  54413. if (10 === _0_0 || 13 === _0_0 || 12 === _0_0)
  54414. break;
  54415. if (35 === _0_0) {
  54416. if (t1.peekChar$1(1) === 123) {
  54417. t7 = _this.singleInterpolation$0();
  54418. buffer._flushText$0();
  54419. t4.push(t7);
  54420. } else
  54421. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  54422. continue;
  54423. }
  54424. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  54425. }
  54426. if (_this._peekIndentation$0() <= parentIndentation)
  54427. break;
  54428. for (; _this._lookingAtDoubleNewline$0();) {
  54429. _this._expectNewline$0();
  54430. t7 = t3._contents += "\n";
  54431. t3._contents = t7 + " *";
  54432. }
  54433. _this._readIndentation$0();
  54434. }
  54435. t4 = t3._contents;
  54436. if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
  54437. t3._contents += " */";
  54438. return new A.LoudComment(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  54439. },
  54440. whitespaceWithoutComments$0() {
  54441. var t1, t2, next;
  54442. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  54443. next = t1.peekChar$0();
  54444. if (next !== 9 && next !== 32)
  54445. break;
  54446. t1.readChar$0();
  54447. }
  54448. },
  54449. loudComment$0() {
  54450. var next,
  54451. t1 = this.scanner;
  54452. t1.expect$1("/*");
  54453. for (; true;) {
  54454. next = t1.readChar$0();
  54455. if (next === 10 || next === 13 || next === 12)
  54456. t1.error$1(0, "expected */.");
  54457. if (next !== 42)
  54458. continue;
  54459. do
  54460. next = t1.readChar$0();
  54461. while (next === 42);
  54462. if (next === 47)
  54463. break;
  54464. }
  54465. },
  54466. _expectNewline$0() {
  54467. var t1 = this.scanner,
  54468. _0_0 = t1.peekChar$0();
  54469. if (59 === _0_0)
  54470. t1.error$1(0, string$.semico);
  54471. if (13 === _0_0) {
  54472. t1.readChar$0();
  54473. if (t1.peekChar$0() === 10)
  54474. t1.readChar$0();
  54475. return;
  54476. }
  54477. if (10 === _0_0 || 12 === _0_0) {
  54478. t1.readChar$0();
  54479. return;
  54480. }
  54481. t1.error$1(0, "expected newline.");
  54482. },
  54483. _lookingAtDoubleNewline$0() {
  54484. var _0_0,
  54485. t1 = this.scanner,
  54486. _1_0 = t1.peekChar$0();
  54487. $label1$1: {
  54488. if (13 === _1_0) {
  54489. _0_0 = t1.peekChar$1(1);
  54490. $label0$0: {
  54491. if (10 === _0_0) {
  54492. t1 = t1.peekChar$1(2);
  54493. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  54494. break $label0$0;
  54495. }
  54496. if (13 === _0_0 || 12 === _0_0) {
  54497. t1 = true;
  54498. break $label0$0;
  54499. }
  54500. t1 = false;
  54501. break $label0$0;
  54502. }
  54503. break $label1$1;
  54504. }
  54505. if (10 === _1_0 || 12 === _1_0) {
  54506. t1 = t1.peekChar$1(1);
  54507. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  54508. break $label1$1;
  54509. }
  54510. t1 = false;
  54511. break $label1$1;
  54512. }
  54513. return t1;
  54514. },
  54515. _whileIndentedLower$1(body) {
  54516. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  54517. parentIndentation = _this._currentIndentation;
  54518. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._peekIndentation$0() > parentIndentation;) {
  54519. indentation = _this._readIndentation$0();
  54520. if (childIndentation == null)
  54521. childIndentation = indentation;
  54522. if (childIndentation !== indentation) {
  54523. t3 = t1._string_scanner$_position;
  54524. t4 = t2.getColumn$1(t3);
  54525. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  54526. }
  54527. body.call$0();
  54528. }
  54529. },
  54530. _readIndentation$0() {
  54531. var t1, _this = this,
  54532. currentIndentation = _this._nextIndentation;
  54533. if (currentIndentation == null)
  54534. currentIndentation = _this._nextIndentation = _this._peekIndentation$0();
  54535. _this._currentIndentation = currentIndentation;
  54536. t1 = _this._nextIndentationEnd;
  54537. t1.toString;
  54538. _this.scanner.set$state(t1);
  54539. _this._nextIndentationEnd = _this._nextIndentation = null;
  54540. return currentIndentation;
  54541. },
  54542. _peekIndentation$0() {
  54543. var cached, t1, t2, t3, start, containsTab, containsSpace, nextIndentation, _1_0, t4, _this = this,
  54544. _0_0 = _this._nextIndentation;
  54545. if (_0_0 != null) {
  54546. cached = _0_0;
  54547. t1 = true;
  54548. } else {
  54549. cached = null;
  54550. t1 = false;
  54551. }
  54552. if (t1)
  54553. return cached;
  54554. t1 = _this.scanner;
  54555. t2 = t1._string_scanner$_position;
  54556. t3 = t1.string.length;
  54557. if (t2 === t3) {
  54558. _this._nextIndentation = 0;
  54559. _this._nextIndentationEnd = new A._SpanScannerState(t1, t2);
  54560. return 0;
  54561. }
  54562. start = new A._SpanScannerState(t1, t2);
  54563. if (!_this.scanCharIf$1(new A.SassParser__peekIndentation_closure()))
  54564. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  54565. containsTab = A._Cell$();
  54566. containsSpace = A._Cell$();
  54567. nextIndentation = A._Cell$();
  54568. t2 = nextIndentation.__late_helper$_name;
  54569. do {
  54570. containsSpace._value = containsTab._value = false;
  54571. nextIndentation._value = 0;
  54572. for (; true;) {
  54573. $label0$0: {
  54574. _1_0 = t1.peekChar$0();
  54575. if (32 === _1_0) {
  54576. containsSpace._value = true;
  54577. break $label0$0;
  54578. }
  54579. if (9 === _1_0) {
  54580. containsTab._value = true;
  54581. break $label0$0;
  54582. }
  54583. break;
  54584. }
  54585. t4 = nextIndentation._value;
  54586. if (t4 === nextIndentation)
  54587. A.throwExpression(A.LateError$localNI(t2));
  54588. nextIndentation._value = t4 + 1;
  54589. t1.readChar$0();
  54590. }
  54591. t4 = t1._string_scanner$_position;
  54592. if (t4 === t3) {
  54593. _this._nextIndentation = 0;
  54594. _this._nextIndentationEnd = new A._SpanScannerState(t1, t4);
  54595. t1.set$state(start);
  54596. return 0;
  54597. }
  54598. } while (_this.scanCharIf$1(new A.SassParser__peekIndentation_closure0()));
  54599. t2 = containsTab._readLocal$0();
  54600. t3 = containsSpace._readLocal$0();
  54601. if (t2) {
  54602. if (t3) {
  54603. t2 = t1._string_scanner$_position;
  54604. t3 = t1._sourceFile;
  54605. t4 = t3.getColumn$1(t2);
  54606. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  54607. } else if (_this._spaces === true) {
  54608. t2 = t1._string_scanner$_position;
  54609. t3 = t1._sourceFile;
  54610. t4 = t3.getColumn$1(t2);
  54611. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  54612. }
  54613. } else if (t3 && _this._spaces === false) {
  54614. t2 = t1._string_scanner$_position;
  54615. t3 = t1._sourceFile;
  54616. t4 = t3.getColumn$1(t2);
  54617. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  54618. }
  54619. _this._nextIndentation = nextIndentation._readLocal$0();
  54620. if (nextIndentation._readLocal$0() > 0)
  54621. if (_this._spaces == null)
  54622. _this._spaces = containsSpace._readLocal$0();
  54623. _this._nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  54624. t1.set$state(start);
  54625. return nextIndentation._readLocal$0();
  54626. }
  54627. };
  54628. A.SassParser_styleRuleSelector_closure.prototype = {
  54629. call$1(char) {
  54630. return char === 10 || char === 13 || char === 12;
  54631. },
  54632. $signature: 34
  54633. };
  54634. A.SassParser_children_closure.prototype = {
  54635. call$0() {
  54636. var parsedChild, t1,
  54637. _0_0 = this.$this._child$1(this.child);
  54638. if (_0_0 != null) {
  54639. parsedChild = _0_0;
  54640. t1 = true;
  54641. } else {
  54642. parsedChild = null;
  54643. t1 = false;
  54644. }
  54645. if (t1)
  54646. this.children.push(parsedChild);
  54647. },
  54648. $signature: 0
  54649. };
  54650. A.SassParser__peekIndentation_closure.prototype = {
  54651. call$1(char) {
  54652. return char === 10 || char === 13 || char === 12;
  54653. },
  54654. $signature: 34
  54655. };
  54656. A.SassParser__peekIndentation_closure0.prototype = {
  54657. call$1(char) {
  54658. return char === 10 || char === 13 || char === 12;
  54659. },
  54660. $signature: 34
  54661. };
  54662. A.ScssParser.prototype = {
  54663. get$indented() {
  54664. return false;
  54665. },
  54666. get$currentIndentation() {
  54667. return 0;
  54668. },
  54669. styleRuleSelector$0() {
  54670. return this.almostAnyValue$0();
  54671. },
  54672. expectStatementSeparator$1($name) {
  54673. var t1, _0_0;
  54674. this.whitespaceWithoutComments$0();
  54675. t1 = this.scanner;
  54676. if (t1._string_scanner$_position === t1.string.length)
  54677. return;
  54678. _0_0 = t1.peekChar$0();
  54679. if (59 === _0_0 || 125 === _0_0)
  54680. return;
  54681. t1.expectChar$1(59);
  54682. },
  54683. expectStatementSeparator$0() {
  54684. return this.expectStatementSeparator$1(null);
  54685. },
  54686. atEndOfStatement$0() {
  54687. var next = this.scanner.peekChar$0();
  54688. return next == null || next === 59 || next === 125 || next === 123;
  54689. },
  54690. lookingAtChildren$0() {
  54691. return this.scanner.peekChar$0() === 123;
  54692. },
  54693. scanElse$1(ifIndentation) {
  54694. var t3, _this = this,
  54695. t1 = _this.scanner,
  54696. t2 = t1._string_scanner$_position;
  54697. _this.whitespace$0();
  54698. t3 = t1._string_scanner$_position;
  54699. if (t1.scanChar$1(64)) {
  54700. if (_this.scanIdentifier$2$caseSensitive("else", true))
  54701. return true;
  54702. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  54703. A.WarnForDeprecation_warnForDeprecation(_this.logger, B.Deprecation_JAZ, string$.x40elsei, t1.spanFrom$1(new A._SpanScannerState(t1, t3)), null);
  54704. t1.set$position(t1._string_scanner$_position - 2);
  54705. return true;
  54706. }
  54707. }
  54708. t1.set$state(new A._SpanScannerState(t1, t2));
  54709. return false;
  54710. },
  54711. children$1(_, child) {
  54712. var children, _this = this,
  54713. t1 = _this.scanner;
  54714. t1.expectChar$1(123);
  54715. _this.whitespaceWithoutComments$0();
  54716. children = A._setArrayType([], type$.JSArray_Statement);
  54717. for (; true;)
  54718. switch (t1.peekChar$0()) {
  54719. case 36:
  54720. children.push(_this.variableDeclarationWithoutNamespace$0());
  54721. break;
  54722. case 47:
  54723. switch (t1.peekChar$1(1)) {
  54724. case 47:
  54725. children.push(_this._scss$_silentComment$0());
  54726. _this.whitespaceWithoutComments$0();
  54727. break;
  54728. case 42:
  54729. children.push(_this._scss$_loudComment$0());
  54730. _this.whitespaceWithoutComments$0();
  54731. break;
  54732. default:
  54733. children.push(child.call$0());
  54734. }
  54735. break;
  54736. case 59:
  54737. t1.readChar$0();
  54738. _this.whitespaceWithoutComments$0();
  54739. break;
  54740. case 125:
  54741. t1.expectChar$1(125);
  54742. return children;
  54743. default:
  54744. children.push(child.call$0());
  54745. }
  54746. },
  54747. statements$1(statement) {
  54748. var t1, t2, _0_0, child, t3, _1_0, _this = this,
  54749. statements = A._setArrayType([], type$.JSArray_Statement);
  54750. _this.whitespaceWithoutComments$0();
  54751. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  54752. switch (t1.peekChar$0()) {
  54753. case 36:
  54754. statements.push(_this.variableDeclarationWithoutNamespace$0());
  54755. break;
  54756. case 47:
  54757. switch (t1.peekChar$1(1)) {
  54758. case 47:
  54759. statements.push(_this._scss$_silentComment$0());
  54760. _this.whitespaceWithoutComments$0();
  54761. break;
  54762. case 42:
  54763. statements.push(_this._scss$_loudComment$0());
  54764. _this.whitespaceWithoutComments$0();
  54765. break;
  54766. default:
  54767. _0_0 = statement.call$0();
  54768. if (_0_0 != null) {
  54769. child = _0_0;
  54770. t3 = true;
  54771. } else {
  54772. child = null;
  54773. t3 = false;
  54774. }
  54775. if (t3)
  54776. statements.push(child);
  54777. }
  54778. break;
  54779. case 59:
  54780. t1.readChar$0();
  54781. _this.whitespaceWithoutComments$0();
  54782. break;
  54783. default:
  54784. _1_0 = statement.call$0();
  54785. if (_1_0 != null) {
  54786. child = _1_0;
  54787. t3 = true;
  54788. } else {
  54789. child = null;
  54790. t3 = false;
  54791. }
  54792. if (t3)
  54793. statements.push(child);
  54794. }
  54795. return statements;
  54796. },
  54797. _scss$_silentComment$0() {
  54798. var t2, t3, _this = this,
  54799. t1 = _this.scanner,
  54800. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  54801. t1.expect$1("//");
  54802. t2 = t1.string.length;
  54803. do {
  54804. while (true) {
  54805. if (t1._string_scanner$_position !== t2) {
  54806. t3 = t1.readChar$0();
  54807. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  54808. } else
  54809. t3 = false;
  54810. if (!t3)
  54811. break;
  54812. }
  54813. if (t1._string_scanner$_position === t2)
  54814. break;
  54815. _this.spaces$0();
  54816. } while (t1.scan$1("//"));
  54817. if (_this.get$plainCss())
  54818. _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
  54819. return _this.lastSilentComment = new A.SilentComment(t1.substring$1(0, start.position), t1.spanFrom$1(start));
  54820. },
  54821. _scss$_loudComment$0() {
  54822. var t3, t4, buffer, t5, endPosition, t6, result,
  54823. t1 = this.scanner,
  54824. t2 = t1._string_scanner$_position;
  54825. t1.expect$1("/*");
  54826. t3 = new A.StringBuffer("");
  54827. t4 = A._setArrayType([], type$.JSArray_Object);
  54828. buffer = new A.InterpolationBuffer(t3, t4);
  54829. t3._contents = "" + "/*";
  54830. $label0$1:
  54831. for (; true;)
  54832. switch (t1.peekChar$0()) {
  54833. case 35:
  54834. if (t1.peekChar$1(1) === 123) {
  54835. t5 = this.singleInterpolation$0();
  54836. buffer._flushText$0();
  54837. t4.push(t5);
  54838. } else
  54839. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  54840. break;
  54841. case 42:
  54842. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  54843. if (t1.peekChar$0() !== 47)
  54844. continue $label0$1;
  54845. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  54846. endPosition = t1._string_scanner$_position;
  54847. t5 = t1._sourceFile;
  54848. t6 = new A._SpanScannerState(t1, t2).position;
  54849. t1 = new A._FileSpan(t5, t6, endPosition);
  54850. t1._FileSpan$3(t5, t6, endPosition);
  54851. t6 = type$.Object;
  54852. t5 = A.List_List$of(t4, true, t6);
  54853. t2 = t3._contents;
  54854. if (t2.length !== 0)
  54855. t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  54856. result = A.List_List$from(t5, false, t6);
  54857. result.fixed$length = Array;
  54858. result.immutable$list = Array;
  54859. t2 = new A.Interpolation(result, t1);
  54860. t2.Interpolation$2(t5, t1);
  54861. return new A.LoudComment(t2);
  54862. case 13:
  54863. t1.readChar$0();
  54864. if (t1.peekChar$0() !== 10)
  54865. t3._contents += A.Primitives_stringFromCharCode(10);
  54866. break;
  54867. case 12:
  54868. t1.readChar$0();
  54869. t3._contents += A.Primitives_stringFromCharCode(10);
  54870. break;
  54871. default:
  54872. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  54873. }
  54874. }
  54875. };
  54876. A.SelectorParser.prototype = {
  54877. parse$0() {
  54878. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure(this));
  54879. },
  54880. parseCompoundSelector$0() {
  54881. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure(this));
  54882. },
  54883. _selectorList$0() {
  54884. var t4, t5, lineBreak, _this = this,
  54885. t1 = _this.scanner,
  54886. t2 = t1._string_scanner$_position,
  54887. t3 = t1._sourceFile,
  54888. previousLine = t3.getLine$1(t2),
  54889. components = A._setArrayType([_this._complexSelector$0()], type$.JSArray_ComplexSelector);
  54890. _this.whitespace$0();
  54891. for (t4 = t1.string.length; t1.scanChar$1(44);) {
  54892. _this.whitespace$0();
  54893. if (t1.peekChar$0() === 44)
  54894. continue;
  54895. t5 = t1._string_scanner$_position;
  54896. if (t5 === t4)
  54897. break;
  54898. lineBreak = t3.getLine$1(t5) !== previousLine;
  54899. if (lineBreak)
  54900. previousLine = t3.getLine$1(t1._string_scanner$_position);
  54901. components.push(_this._complexSelector$1$lineBreak(lineBreak));
  54902. }
  54903. return A.SelectorList$(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  54904. },
  54905. _complexSelector$1$lineBreak(lineBreak) {
  54906. var t4, lastCompound, initialCombinators, _0_0, t5, result, _this = this,
  54907. t1 = _this.scanner,
  54908. t2 = t1._string_scanner$_position,
  54909. componentStart = new A._SpanScannerState(t1, t2),
  54910. t3 = type$.JSArray_CssValue_Combinator,
  54911. combinators = A._setArrayType([], t3),
  54912. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent);
  54913. for (t4 = type$.CssValue_Combinator, lastCompound = null, initialCombinators = null; true;) {
  54914. _this.whitespace$0();
  54915. _0_0 = t1.peekChar$0();
  54916. if (43 === _0_0) {
  54917. t5 = t1._string_scanner$_position;
  54918. t1.readChar$0();
  54919. combinators.push(new A.CssValue(B.Combinator_4QF, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  54920. continue;
  54921. }
  54922. if (62 === _0_0) {
  54923. t5 = t1._string_scanner$_position;
  54924. t1.readChar$0();
  54925. combinators.push(new A.CssValue(B.Combinator_Cht, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  54926. continue;
  54927. }
  54928. if (126 === _0_0) {
  54929. t5 = t1._string_scanner$_position;
  54930. t1.readChar$0();
  54931. combinators.push(new A.CssValue(B.Combinator_Htt, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  54932. continue;
  54933. }
  54934. if (_0_0 == null)
  54935. break;
  54936. if (91 !== _0_0)
  54937. if (46 !== _0_0)
  54938. if (35 !== _0_0)
  54939. if (37 !== _0_0)
  54940. if (58 !== _0_0)
  54941. if (38 !== _0_0)
  54942. if (42 !== _0_0)
  54943. if (124 !== _0_0)
  54944. t5 = _this.lookingAtIdentifier$0();
  54945. else
  54946. t5 = true;
  54947. else
  54948. t5 = true;
  54949. else
  54950. t5 = true;
  54951. else
  54952. t5 = true;
  54953. else
  54954. t5 = true;
  54955. else
  54956. t5 = true;
  54957. else
  54958. t5 = true;
  54959. else
  54960. t5 = true;
  54961. if (t5) {
  54962. if (lastCompound != null) {
  54963. t5 = _this.spanFrom$1(componentStart);
  54964. result = A.List_List$from(combinators, false, t4);
  54965. result.fixed$length = Array;
  54966. result.immutable$list = Array;
  54967. components.push(new A.ComplexSelectorComponent(lastCompound, result, t5));
  54968. } else if (combinators.length !== 0) {
  54969. componentStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  54970. initialCombinators = combinators;
  54971. }
  54972. lastCompound = _this._compoundSelector$0();
  54973. combinators = A._setArrayType([], t3);
  54974. if (t1.peekChar$0() === 38)
  54975. t1.error$1(0, string$.x22x26__ma);
  54976. continue;
  54977. }
  54978. break;
  54979. }
  54980. if (lastCompound != null) {
  54981. t3 = _this.spanFrom$1(componentStart);
  54982. components.push(new A.ComplexSelectorComponent(lastCompound, A.List_List$unmodifiable(combinators, t4), t3));
  54983. } else if (combinators.length !== 0)
  54984. initialCombinators = combinators;
  54985. else
  54986. t1.error$1(0, "expected selector.");
  54987. t3 = initialCombinators == null ? B.List_empty1 : initialCombinators;
  54988. return A.ComplexSelector$(t3, components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)), lineBreak);
  54989. },
  54990. _complexSelector$0() {
  54991. return this._complexSelector$1$lineBreak(false);
  54992. },
  54993. _compoundSelector$0() {
  54994. var t3, _this = this,
  54995. t1 = _this.scanner,
  54996. t2 = t1._string_scanner$_position,
  54997. components = A._setArrayType([_this._simpleSelector$0()], type$.JSArray_SimpleSelector);
  54998. while (true) {
  54999. t3 = t1.peekChar$0();
  55000. if (!(t3 === 42 || t3 === 91 || t3 === 46 || t3 === 35 || t3 === 37 || t3 === 58))
  55001. break;
  55002. components.push(_this._simpleSelector$1$allowParent(false));
  55003. }
  55004. return A.CompoundSelector$(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  55005. },
  55006. _simpleSelector$1$allowParent(allowParent) {
  55007. var t2, $name, text, t3, suffix, _this = this,
  55008. t1 = _this.scanner,
  55009. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  55010. if (allowParent == null)
  55011. allowParent = _this._allowParent;
  55012. switch (t1.peekChar$0()) {
  55013. case 91:
  55014. return _this._attributeSelector$0();
  55015. case 46:
  55016. t2 = t1._string_scanner$_position;
  55017. t1.expectChar$1(46);
  55018. return new A.ClassSelector(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  55019. case 35:
  55020. t2 = t1._string_scanner$_position;
  55021. t1.expectChar$1(35);
  55022. return new A.IDSelector(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  55023. case 37:
  55024. t2 = t1._string_scanner$_position;
  55025. t1.expectChar$1(37);
  55026. $name = _this.identifier$0();
  55027. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  55028. if (!_this._allowPlaceholder)
  55029. _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
  55030. return new A.PlaceholderSelector($name, t2);
  55031. case 58:
  55032. return _this._pseudoSelector$0();
  55033. case 38:
  55034. t2 = t1._string_scanner$_position;
  55035. t1.expectChar$1(38);
  55036. if (_this.lookingAtIdentifierBody$0()) {
  55037. text = new A.StringBuffer("");
  55038. _this._identifierBody$1(text);
  55039. if (text._contents.length === 0)
  55040. t1.error$1(0, "Expected identifier body.");
  55041. t3 = text._contents;
  55042. suffix = t3.charCodeAt(0) == 0 ? t3 : t3;
  55043. } else
  55044. suffix = null;
  55045. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  55046. if (!allowParent)
  55047. _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
  55048. return new A.ParentSelector(suffix, t2);
  55049. default:
  55050. return _this._typeOrUniversalSelector$0();
  55051. }
  55052. },
  55053. _simpleSelector$0() {
  55054. return this._simpleSelector$1$allowParent(null);
  55055. },
  55056. _attributeSelector$0() {
  55057. var $name, operator, next, value, modifier, _this = this, _null = null,
  55058. t1 = _this.scanner,
  55059. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  55060. t1.expectChar$1(91);
  55061. _this.whitespace$0();
  55062. $name = _this._attributeName$0();
  55063. _this.whitespace$0();
  55064. if (t1.scanChar$1(93))
  55065. return new A.AttributeSelector($name, _null, _null, _null, _this.spanFrom$1(start));
  55066. operator = _this._attributeOperator$0();
  55067. _this.whitespace$0();
  55068. next = t1.peekChar$0();
  55069. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  55070. _this.whitespace$0();
  55071. next = t1.peekChar$0();
  55072. modifier = next != null && A.CharacterExtension_get_isAlphabetic(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  55073. t1.expectChar$1(93);
  55074. return new A.AttributeSelector($name, operator, value, modifier, _this.spanFrom$1(start));
  55075. },
  55076. _attributeName$0() {
  55077. var nameOrNamespace, _this = this,
  55078. t1 = _this.scanner;
  55079. if (t1.scanChar$1(42)) {
  55080. t1.expectChar$1(124);
  55081. return new A.QualifiedName(_this.identifier$0(), "*");
  55082. }
  55083. if (t1.scanChar$1(124))
  55084. return new A.QualifiedName(_this.identifier$0(), "");
  55085. nameOrNamespace = _this.identifier$0();
  55086. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  55087. return new A.QualifiedName(nameOrNamespace, null);
  55088. t1.readChar$0();
  55089. return new A.QualifiedName(_this.identifier$0(), nameOrNamespace);
  55090. },
  55091. _attributeOperator$0() {
  55092. var t1 = this.scanner,
  55093. t2 = t1._string_scanner$_position;
  55094. switch (t1.readChar$0()) {
  55095. case 61:
  55096. return B.AttributeOperator_ES6;
  55097. case 126:
  55098. t1.expectChar$1(61);
  55099. return B.AttributeOperator_r60;
  55100. case 124:
  55101. t1.expectChar$1(61);
  55102. return B.AttributeOperator_ivT;
  55103. case 94:
  55104. t1.expectChar$1(61);
  55105. return B.AttributeOperator_eot;
  55106. case 36:
  55107. t1.expectChar$1(61);
  55108. return B.AttributeOperator_BGd;
  55109. case 42:
  55110. t1.expectChar$1(61);
  55111. return B.AttributeOperator_8aB;
  55112. default:
  55113. t1.error$2$position(0, 'Expected "]".', t2);
  55114. }
  55115. },
  55116. _pseudoSelector$0() {
  55117. var element, $name, unvendored, selector, argument, t2, _this = this, _null = null,
  55118. t1 = _this.scanner,
  55119. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  55120. t1.expectChar$1(58);
  55121. element = t1.scanChar$1(58);
  55122. $name = _this.identifier$0();
  55123. if (!t1.scanChar$1(40))
  55124. return A.PseudoSelector$($name, _this.spanFrom$1(start), _null, element, _null);
  55125. _this.whitespace$0();
  55126. unvendored = A.unvendor($name);
  55127. if (element)
  55128. if ($._selectorPseudoElements.contains$1(0, unvendored)) {
  55129. selector = _this._selectorList$0();
  55130. argument = _null;
  55131. } else {
  55132. argument = _this.declarationValue$1$allowEmpty(true);
  55133. selector = _null;
  55134. }
  55135. else if ($._selectorPseudoClasses.contains$1(0, unvendored)) {
  55136. selector = _this._selectorList$0();
  55137. argument = _null;
  55138. } else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  55139. argument = _this._aNPlusB$0();
  55140. _this.whitespace$0();
  55141. t2 = t1.peekChar$1(-1);
  55142. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  55143. _this.expectIdentifier$1("of");
  55144. argument += " of";
  55145. _this.whitespace$0();
  55146. selector = _this._selectorList$0();
  55147. } else
  55148. selector = _null;
  55149. } else {
  55150. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  55151. selector = _null;
  55152. }
  55153. t1.expectChar$1(41);
  55154. return A.PseudoSelector$($name, _this.spanFrom$1(start), argument, element, selector);
  55155. },
  55156. _aNPlusB$0() {
  55157. var t1, _0_0, t2, $self, next, _this = this;
  55158. $label0$0: {
  55159. t1 = _this.scanner;
  55160. _0_0 = t1.peekChar$0();
  55161. if (101 === _0_0 || 69 === _0_0) {
  55162. _this.expectIdentifier$1("even");
  55163. return "even";
  55164. }
  55165. if (111 === _0_0 || 79 === _0_0) {
  55166. _this.expectIdentifier$1("odd");
  55167. return "odd";
  55168. }
  55169. if (43 === _0_0 || 45 === _0_0) {
  55170. t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
  55171. break $label0$0;
  55172. }
  55173. t2 = "";
  55174. }
  55175. $self = t1.peekChar$0();
  55176. if ($self != null && $self >= 48 && $self <= 57) {
  55177. do {
  55178. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  55179. $self = t1.peekChar$0();
  55180. } while ($self != null && $self >= 48 && $self <= 57);
  55181. _this.whitespace$0();
  55182. if (!_this.scanIdentChar$1(110))
  55183. return t2.charCodeAt(0) == 0 ? t2 : t2;
  55184. } else
  55185. _this.expectIdentChar$1(110);
  55186. t2 += A.Primitives_stringFromCharCode(110);
  55187. _this.whitespace$0();
  55188. next = t1.peekChar$0();
  55189. if (next !== 43 && next !== 45)
  55190. return t2.charCodeAt(0) == 0 ? t2 : t2;
  55191. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  55192. _this.whitespace$0();
  55193. $self = t1.peekChar$0();
  55194. if (!($self != null && $self >= 48 && $self <= 57))
  55195. t1.error$1(0, "Expected a number.");
  55196. do {
  55197. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  55198. $self = t1.peekChar$0();
  55199. } while ($self != null && $self >= 48 && $self <= 57);
  55200. return t2.charCodeAt(0) == 0 ? t2 : t2;
  55201. },
  55202. _typeOrUniversalSelector$0() {
  55203. var nameOrNamespace, _this = this,
  55204. t1 = _this.scanner,
  55205. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  55206. if (t1.scanChar$1(42)) {
  55207. if (!t1.scanChar$1(124))
  55208. return new A.UniversalSelector(null, _this.spanFrom$1(start));
  55209. return t1.scanChar$1(42) ? new A.UniversalSelector("*", _this.spanFrom$1(start)) : new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), "*"), _this.spanFrom$1(start));
  55210. } else if (t1.scanChar$1(124))
  55211. return t1.scanChar$1(42) ? new A.UniversalSelector("", _this.spanFrom$1(start)) : new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), ""), _this.spanFrom$1(start));
  55212. nameOrNamespace = _this.identifier$0();
  55213. if (!t1.scanChar$1(124))
  55214. return new A.TypeSelector(new A.QualifiedName(nameOrNamespace, null), _this.spanFrom$1(start));
  55215. else if (t1.scanChar$1(42))
  55216. return new A.UniversalSelector(nameOrNamespace, _this.spanFrom$1(start));
  55217. else
  55218. return new A.TypeSelector(new A.QualifiedName(_this.identifier$0(), nameOrNamespace), _this.spanFrom$1(start));
  55219. }
  55220. };
  55221. A.SelectorParser_parse_closure.prototype = {
  55222. call$0() {
  55223. var t1 = this.$this,
  55224. selector = t1._selectorList$0();
  55225. t1 = t1.scanner;
  55226. if (t1._string_scanner$_position !== t1.string.length)
  55227. t1.error$1(0, "expected selector.");
  55228. return selector;
  55229. },
  55230. $signature: 353
  55231. };
  55232. A.SelectorParser_parseCompoundSelector_closure.prototype = {
  55233. call$0() {
  55234. var t1 = this.$this,
  55235. compound = t1._compoundSelector$0();
  55236. t1 = t1.scanner;
  55237. if (t1._string_scanner$_position !== t1.string.length)
  55238. t1.error$1(0, "expected selector.");
  55239. return compound;
  55240. },
  55241. $signature: 354
  55242. };
  55243. A.StylesheetParser.prototype = {
  55244. parse$0() {
  55245. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure(this));
  55246. },
  55247. parseArgumentDeclaration$0() {
  55248. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure(this), type$.ArgumentDeclaration);
  55249. },
  55250. parseVariableDeclaration$0() {
  55251. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseVariableDeclaration_closure(this), type$.VariableDeclaration);
  55252. },
  55253. parseUseRule$0() {
  55254. return this._parseSingleProduction$1$1(new A.StylesheetParser_parseUseRule_closure(this), type$.UseRule);
  55255. },
  55256. _parseSingleProduction$1$1(production, $T) {
  55257. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure(this, production, $T));
  55258. },
  55259. _statement$1$root(root) {
  55260. var t2, _this = this,
  55261. t1 = _this.scanner,
  55262. _0_0 = t1.peekChar$0();
  55263. if (64 === _0_0)
  55264. return _this.atRule$2$root(new A.StylesheetParser__statement_closure(_this), root);
  55265. if (43 === _0_0) {
  55266. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  55267. return _this._styleRule$0();
  55268. _this._isUseAllowed = false;
  55269. t2 = t1._string_scanner$_position;
  55270. t1.readChar$0();
  55271. return _this._includeRule$1(new A._SpanScannerState(t1, t2));
  55272. }
  55273. if (61 === _0_0) {
  55274. if (!_this.get$indented())
  55275. return _this._styleRule$0();
  55276. _this._isUseAllowed = false;
  55277. t2 = t1._string_scanner$_position;
  55278. t1.readChar$0();
  55279. _this.whitespace$0();
  55280. return _this._mixinRule$1(new A._SpanScannerState(t1, t2));
  55281. }
  55282. if (125 === _0_0)
  55283. t1.error$2$length(0, 'unmatched "}".', 1);
  55284. return _this._inStyleRule || _this._stylesheet$_inUnknownAtRule || _this._stylesheet$_inMixin || _this._inContentBlock ? _this._declarationOrStyleRule$0() : _this._variableDeclarationOrStyleRule$0();
  55285. },
  55286. _statement$0() {
  55287. return this._statement$1$root(false);
  55288. },
  55289. _variableDeclarationWithNamespace$0() {
  55290. var t1 = this.scanner,
  55291. t2 = t1._string_scanner$_position,
  55292. namespace = this.identifier$0();
  55293. t1.expectChar$1(46);
  55294. return this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  55295. },
  55296. variableDeclarationWithoutNamespace$2(namespace, start_) {
  55297. var t1, start, $name, t2, value, flagStart, t3, guarded, global, _0_0, endPosition, t4, t5, t6, declaration, _this = this,
  55298. precedingComment = _this.lastSilentComment;
  55299. _this.lastSilentComment = null;
  55300. if (start_ == null) {
  55301. t1 = _this.scanner;
  55302. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  55303. } else
  55304. start = start_;
  55305. $name = _this.variableName$0();
  55306. t1 = namespace != null;
  55307. if (t1)
  55308. _this._assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure(_this, start));
  55309. if (_this.get$plainCss())
  55310. _this.error$2(0, string$.Sass_v, _this.scanner.spanFrom$1(start));
  55311. _this.whitespace$0();
  55312. t2 = _this.scanner;
  55313. t2.expectChar$1(58);
  55314. _this.whitespace$0();
  55315. value = _this._expression$0();
  55316. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  55317. for (t3 = _this.logger, guarded = false, global = false; t2.scanChar$1(33);) {
  55318. $label0$0: {
  55319. _0_0 = _this.identifier$0();
  55320. if ("default" === _0_0) {
  55321. if (guarded) {
  55322. endPosition = t2._string_scanner$_position;
  55323. t4 = t2._sourceFile;
  55324. t5 = flagStart.position;
  55325. t6 = new A._FileSpan(t4, t5, endPosition);
  55326. t6._FileSpan$3(t4, t5, endPosition);
  55327. A.WarnForDeprecation_warnForDeprecation(t3, B.Deprecation_Auo, string$.x21defau, t6, null);
  55328. }
  55329. guarded = true;
  55330. break $label0$0;
  55331. }
  55332. if ("global" === _0_0) {
  55333. if (t1) {
  55334. endPosition = t2._string_scanner$_position;
  55335. t4 = t2._sourceFile;
  55336. t5 = flagStart.position;
  55337. t6 = new A._FileSpan(t4, t5, endPosition);
  55338. t6._FileSpan$3(t4, t5, endPosition);
  55339. _this.error$2(0, string$.x21globai, t6);
  55340. } else if (global) {
  55341. endPosition = t2._string_scanner$_position;
  55342. t4 = t2._sourceFile;
  55343. t5 = flagStart.position;
  55344. t6 = new A._FileSpan(t4, t5, endPosition);
  55345. t6._FileSpan$3(t4, t5, endPosition);
  55346. A.WarnForDeprecation_warnForDeprecation(t3, B.Deprecation_Auo, string$.x21globas, t6, null);
  55347. }
  55348. global = true;
  55349. break $label0$0;
  55350. }
  55351. endPosition = t2._string_scanner$_position;
  55352. t4 = t2._sourceFile;
  55353. t5 = flagStart.position;
  55354. t6 = new A._FileSpan(t4, t5, endPosition);
  55355. t6._FileSpan$3(t4, t5, endPosition);
  55356. _this.error$2(0, "Invalid flag name.", t6);
  55357. }
  55358. _this.whitespace$0();
  55359. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  55360. }
  55361. _this.expectStatementSeparator$1("variable declaration");
  55362. declaration = A.VariableDeclaration$($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
  55363. if (global)
  55364. _this._globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure0(declaration));
  55365. return declaration;
  55366. },
  55367. variableDeclarationWithoutNamespace$0() {
  55368. return this.variableDeclarationWithoutNamespace$2(null, null);
  55369. },
  55370. _variableDeclarationOrStyleRule$0() {
  55371. var t1, t2, variableOrInterpolation, t3, _this = this;
  55372. if (_this.get$plainCss())
  55373. return _this._styleRule$0();
  55374. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  55375. return _this._styleRule$0();
  55376. if (!_this.lookingAtIdentifier$0())
  55377. return _this._styleRule$0();
  55378. t1 = _this.scanner;
  55379. t2 = t1._string_scanner$_position;
  55380. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  55381. if (variableOrInterpolation instanceof A.VariableDeclaration)
  55382. t1 = variableOrInterpolation;
  55383. else {
  55384. t3 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  55385. t3.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  55386. t2 = _this._styleRule$2(t3, new A._SpanScannerState(t1, t2));
  55387. t1 = t2;
  55388. }
  55389. return t1;
  55390. },
  55391. _declarationOrStyleRule$0() {
  55392. var t1, t2, declarationOrBuffer, _this = this;
  55393. if (_this.get$plainCss() && _this._inStyleRule && !_this._stylesheet$_inUnknownAtRule)
  55394. return _this._propertyOrVariableDeclaration$0();
  55395. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  55396. return _this._styleRule$0();
  55397. t1 = _this.scanner;
  55398. t2 = t1._string_scanner$_position;
  55399. declarationOrBuffer = _this._declarationOrBuffer$0();
  55400. return type$.Statement._is(declarationOrBuffer) ? declarationOrBuffer : _this._styleRule$2(type$.InterpolationBuffer._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  55401. },
  55402. _declarationOrBuffer$0() {
  55403. var midBuffer, couldBeSelector, beforeDeclaration, additional, t3, startsWithPunctuation, variableOrInterpolation, t4, $name, postColonWhitespace, exception, _this = this, t1 = {},
  55404. t2 = _this.scanner,
  55405. start = new A._SpanScannerState(t2, t2._string_scanner$_position),
  55406. nameBuffer = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  55407. if (_this._lookingAtPotentialPropertyHack$0()) {
  55408. t3 = t2.readChar$0();
  55409. nameBuffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(t3);
  55410. t3 = _this.rawText$1(_this.get$whitespace());
  55411. nameBuffer._interpolation_buffer$_text._contents += t3;
  55412. startsWithPunctuation = true;
  55413. } else
  55414. startsWithPunctuation = false;
  55415. if (!_this._lookingAtInterpolatedIdentifier$0())
  55416. return nameBuffer;
  55417. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._variableDeclarationOrInterpolation$0();
  55418. if (variableOrInterpolation instanceof A.VariableDeclaration)
  55419. return variableOrInterpolation;
  55420. else
  55421. nameBuffer.addInterpolation$1(type$.Interpolation._as(variableOrInterpolation));
  55422. _this._isUseAllowed = false;
  55423. if (t2.matches$1("/*")) {
  55424. t3 = _this.rawText$1(_this.get$loudComment());
  55425. nameBuffer._interpolation_buffer$_text._contents += t3;
  55426. }
  55427. midBuffer = new A.StringBuffer("");
  55428. t3 = _this.get$whitespace();
  55429. midBuffer._contents += _this.rawText$1(t3);
  55430. t4 = t2._string_scanner$_position;
  55431. if (!t2.scanChar$1(58)) {
  55432. if (midBuffer._contents.length !== 0)
  55433. nameBuffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(32);
  55434. return nameBuffer;
  55435. }
  55436. midBuffer._contents += A.Primitives_stringFromCharCode(58);
  55437. $name = nameBuffer.interpolation$1(t2.spanFrom$2(start, new A._SpanScannerState(t2, t4)));
  55438. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
  55439. t1 = _this._interpolatedDeclarationValue$0();
  55440. _this.expectStatementSeparator$1("custom property");
  55441. return A.Declaration$($name, new A.StringExpression(t1, false), t2.spanFrom$1(start));
  55442. }
  55443. if (t2.scanChar$1(58)) {
  55444. t1 = nameBuffer;
  55445. t2 = t1._interpolation_buffer$_text;
  55446. t2._contents += A.S(midBuffer);
  55447. t2._contents += A.Primitives_stringFromCharCode(58);
  55448. return t1;
  55449. } else if (_this.get$indented() && _this._lookingAtInterpolatedIdentifier$0()) {
  55450. t1 = nameBuffer;
  55451. t1._interpolation_buffer$_text._contents += A.S(midBuffer);
  55452. return t1;
  55453. }
  55454. postColonWhitespace = _this.rawText$1(t3);
  55455. if (_this.lookingAtChildren$0())
  55456. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure($name));
  55457. midBuffer._contents += postColonWhitespace;
  55458. couldBeSelector = postColonWhitespace.length === 0 && _this._lookingAtInterpolatedIdentifier$0();
  55459. beforeDeclaration = new A._SpanScannerState(t2, t2._string_scanner$_position);
  55460. t3 = t1.value = null;
  55461. try {
  55462. t3 = t1.value = _this._expression$0();
  55463. if (_this.lookingAtChildren$0()) {
  55464. if (couldBeSelector)
  55465. _this.expectStatementSeparator$0();
  55466. } else if (!_this.atEndOfStatement$0())
  55467. _this.expectStatementSeparator$0();
  55468. } catch (exception) {
  55469. if (type$.FormatException._is(A.unwrapException(exception))) {
  55470. if (!couldBeSelector)
  55471. throw exception;
  55472. t2.set$state(beforeDeclaration);
  55473. additional = _this.almostAnyValue$0();
  55474. if (!_this.get$indented() && t2.peekChar$0() === 59)
  55475. throw exception;
  55476. nameBuffer._interpolation_buffer$_text._contents += A.S(midBuffer);
  55477. nameBuffer.addInterpolation$1(additional);
  55478. return nameBuffer;
  55479. } else
  55480. throw exception;
  55481. }
  55482. if (_this.lookingAtChildren$0())
  55483. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure0(t1, $name));
  55484. else {
  55485. _this.expectStatementSeparator$0();
  55486. return A.Declaration$($name, t3, t2.spanFrom$1(start));
  55487. }
  55488. },
  55489. _variableDeclarationOrInterpolation$0() {
  55490. var t1, start, identifier, t2, buffer, _this = this;
  55491. if (!_this.lookingAtIdentifier$0())
  55492. return _this.interpolatedIdentifier$0();
  55493. t1 = _this.scanner;
  55494. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  55495. identifier = _this.identifier$0();
  55496. if (t1.matches$1(".$")) {
  55497. t1.readChar$0();
  55498. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  55499. } else {
  55500. t2 = new A.StringBuffer("");
  55501. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
  55502. t2._contents = "" + identifier;
  55503. if (_this._lookingAtInterpolatedIdentifierBody$0())
  55504. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  55505. return buffer.interpolation$1(t1.spanFrom$1(start));
  55506. }
  55507. },
  55508. _styleRule$2(buffer, start_) {
  55509. var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
  55510. _this._isUseAllowed = false;
  55511. if (start_ == null) {
  55512. t2 = _this.scanner;
  55513. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  55514. } else
  55515. start = start_;
  55516. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  55517. if (buffer != null) {
  55518. buffer.addInterpolation$1(interpolation);
  55519. t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
  55520. } else
  55521. t2 = interpolation;
  55522. if (t2.contents.length === 0)
  55523. _this.scanner.error$1(0, 'expected "}".');
  55524. wasInStyleRule = _this._inStyleRule;
  55525. _this._inStyleRule = true;
  55526. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__styleRule_closure(t1, _this, wasInStyleRule, start));
  55527. },
  55528. _styleRule$0() {
  55529. return this._styleRule$2(null, null);
  55530. },
  55531. _propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
  55532. var t3, nameBuffer, variableOrInterpolation, $name, value, _this = this,
  55533. _s48_ = string$.Nested,
  55534. t1 = {},
  55535. t2 = _this.scanner,
  55536. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  55537. t1.name = null;
  55538. if (_this._lookingAtPotentialPropertyHack$0()) {
  55539. t3 = new A.StringBuffer("");
  55540. nameBuffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  55541. t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  55542. t3._contents += _this.rawText$1(_this.get$whitespace());
  55543. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  55544. t3 = t1.name = nameBuffer.interpolation$1(t2.spanFrom$1(start));
  55545. } else if (!_this.get$plainCss()) {
  55546. variableOrInterpolation = _this._variableDeclarationOrInterpolation$0();
  55547. if (variableOrInterpolation instanceof A.VariableDeclaration)
  55548. return variableOrInterpolation;
  55549. else {
  55550. type$.Interpolation._as(variableOrInterpolation);
  55551. t1.name = variableOrInterpolation;
  55552. }
  55553. t3 = variableOrInterpolation;
  55554. } else {
  55555. $name = _this.interpolatedIdentifier$0();
  55556. t1.name = $name;
  55557. t3 = $name;
  55558. }
  55559. _this.whitespace$0();
  55560. t2.expectChar$1(58);
  55561. if (parseCustomProperties && B.JSString_methods.startsWith$1(t3.get$initialPlain(), "--")) {
  55562. t1 = _this._interpolatedDeclarationValue$0();
  55563. _this.expectStatementSeparator$1("custom property");
  55564. return A.Declaration$(t3, new A.StringExpression(t1, false), t2.spanFrom$1(start));
  55565. }
  55566. _this.whitespace$0();
  55567. if (_this.lookingAtChildren$0()) {
  55568. if (_this.get$plainCss())
  55569. t2.error$1(0, _s48_);
  55570. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure(t1));
  55571. }
  55572. value = _this._expression$0();
  55573. if (_this.lookingAtChildren$0()) {
  55574. if (_this.get$plainCss())
  55575. t2.error$1(0, _s48_);
  55576. return _this._withChildren$3(_this.get$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure0(t1, value));
  55577. } else {
  55578. _this.expectStatementSeparator$0();
  55579. return A.Declaration$(t3, value, t2.spanFrom$1(start));
  55580. }
  55581. },
  55582. _propertyOrVariableDeclaration$0() {
  55583. return this._propertyOrVariableDeclaration$1$parseCustomProperties(true);
  55584. },
  55585. _declarationChild$0() {
  55586. return this.scanner.peekChar$0() === 64 ? this._declarationAtRule$0() : this._propertyOrVariableDeclaration$1$parseCustomProperties(false);
  55587. },
  55588. atRule$2$root(child, root) {
  55589. var $name, wasUseAllowed, value, optional, _this = this,
  55590. t1 = _this.scanner,
  55591. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  55592. t1.expectChar$2$name(64, "@-rule");
  55593. $name = _this.interpolatedIdentifier$0();
  55594. _this.whitespace$0();
  55595. wasUseAllowed = _this._isUseAllowed;
  55596. _this._isUseAllowed = false;
  55597. switch ($name.get$asPlain()) {
  55598. case "at-root":
  55599. return _this._atRootRule$1(start);
  55600. case "content":
  55601. return _this._contentRule$1(start);
  55602. case "debug":
  55603. return _this._debugRule$1(start);
  55604. case "each":
  55605. return _this._eachRule$2(start, child);
  55606. case "else":
  55607. return _this._disallowedAtRule$1(start);
  55608. case "error":
  55609. return _this._errorRule$1(start);
  55610. case "extend":
  55611. if (!_this._inStyleRule && !_this._stylesheet$_inMixin && !_this._inContentBlock)
  55612. _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
  55613. value = _this.almostAnyValue$0();
  55614. optional = t1.scanChar$1(33);
  55615. if (optional)
  55616. _this.expectIdentifier$1("optional");
  55617. _this.expectStatementSeparator$1("@extend rule");
  55618. return new A.ExtendRule(value, optional, t1.spanFrom$1(start));
  55619. case "for":
  55620. return _this._forRule$2(start, child);
  55621. case "forward":
  55622. _this._isUseAllowed = wasUseAllowed;
  55623. if (!root)
  55624. _this._disallowedAtRule$1(start);
  55625. return _this._forwardRule$1(start);
  55626. case "function":
  55627. return _this._functionRule$1(start);
  55628. case "if":
  55629. return _this._ifRule$2(start, child);
  55630. case "import":
  55631. return _this._importRule$1(start);
  55632. case "include":
  55633. return _this._includeRule$1(start);
  55634. case "media":
  55635. return _this.mediaRule$1(start);
  55636. case "mixin":
  55637. return _this._mixinRule$1(start);
  55638. case "-moz-document":
  55639. return _this.mozDocumentRule$2(start, $name);
  55640. case "return":
  55641. return _this._disallowedAtRule$1(start);
  55642. case "supports":
  55643. return _this.supportsRule$1(start);
  55644. case "use":
  55645. _this._isUseAllowed = wasUseAllowed;
  55646. if (!root)
  55647. _this._disallowedAtRule$1(start);
  55648. return _this._useRule$1(start);
  55649. case "warn":
  55650. return _this._warnRule$1(start);
  55651. case "while":
  55652. return _this._whileRule$2(start, child);
  55653. default:
  55654. return _this.unknownAtRule$2(start, $name);
  55655. }
  55656. },
  55657. _declarationAtRule$0() {
  55658. var _this = this,
  55659. t1 = _this.scanner,
  55660. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  55661. _0_0 = _this._plainAtRuleName$0();
  55662. $label0$0: {
  55663. if ("content" === _0_0) {
  55664. t1 = _this._contentRule$1(start);
  55665. break $label0$0;
  55666. }
  55667. if ("debug" === _0_0) {
  55668. t1 = _this._debugRule$1(start);
  55669. break $label0$0;
  55670. }
  55671. if ("each" === _0_0) {
  55672. t1 = _this._eachRule$2(start, _this.get$_declarationChild());
  55673. break $label0$0;
  55674. }
  55675. if ("else" === _0_0)
  55676. _this._disallowedAtRule$1(start);
  55677. if ("error" === _0_0) {
  55678. t1 = _this._errorRule$1(start);
  55679. break $label0$0;
  55680. }
  55681. if ("for" === _0_0) {
  55682. t1 = _this._forRule$2(start, _this.get$_declarationChild());
  55683. break $label0$0;
  55684. }
  55685. if ("if" === _0_0) {
  55686. t1 = _this._ifRule$2(start, _this.get$_declarationChild());
  55687. break $label0$0;
  55688. }
  55689. if ("include" === _0_0) {
  55690. t1 = _this._includeRule$1(start);
  55691. break $label0$0;
  55692. }
  55693. if ("warn" === _0_0) {
  55694. t1 = _this._warnRule$1(start);
  55695. break $label0$0;
  55696. }
  55697. if ("while" === _0_0) {
  55698. t1 = _this._whileRule$2(start, _this.get$_declarationChild());
  55699. break $label0$0;
  55700. }
  55701. t1 = _this._disallowedAtRule$1(start);
  55702. }
  55703. return t1;
  55704. },
  55705. _functionChild$0() {
  55706. var state, variableDeclarationError, stackTrace, statement, t2, exception, t3, start, _0_0, value, _this = this,
  55707. t1 = _this.scanner;
  55708. if (t1.peekChar$0() !== 64) {
  55709. state = new A._SpanScannerState(t1, t1._string_scanner$_position);
  55710. try {
  55711. t2 = _this._variableDeclarationWithNamespace$0();
  55712. return t2;
  55713. } catch (exception) {
  55714. t2 = A.unwrapException(exception);
  55715. t3 = type$.SourceSpanFormatException;
  55716. if (t3._is(t2)) {
  55717. variableDeclarationError = t2;
  55718. stackTrace = A.getTraceFromException(exception);
  55719. t1.set$state(state);
  55720. statement = null;
  55721. try {
  55722. statement = _this._declarationOrStyleRule$0();
  55723. } catch (exception) {
  55724. if (t3._is(A.unwrapException(exception)))
  55725. throw A.wrapException(variableDeclarationError);
  55726. else
  55727. throw exception;
  55728. }
  55729. t2 = statement instanceof A.StyleRule ? "style rules" : "declarations";
  55730. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  55731. } else
  55732. throw exception;
  55733. }
  55734. }
  55735. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  55736. _0_0 = _this._plainAtRuleName$0();
  55737. $label0$0: {
  55738. if ("debug" === _0_0) {
  55739. t1 = _this._debugRule$1(start);
  55740. break $label0$0;
  55741. }
  55742. if ("each" === _0_0) {
  55743. t1 = _this._eachRule$2(start, _this.get$_functionChild());
  55744. break $label0$0;
  55745. }
  55746. if ("else" === _0_0)
  55747. _this._disallowedAtRule$1(start);
  55748. if ("error" === _0_0) {
  55749. t1 = _this._errorRule$1(start);
  55750. break $label0$0;
  55751. }
  55752. if ("for" === _0_0) {
  55753. t1 = _this._forRule$2(start, _this.get$_functionChild());
  55754. break $label0$0;
  55755. }
  55756. if ("if" === _0_0) {
  55757. t1 = _this._ifRule$2(start, _this.get$_functionChild());
  55758. break $label0$0;
  55759. }
  55760. if ("return" === _0_0) {
  55761. value = _this._expression$0();
  55762. _this.expectStatementSeparator$1("@return rule");
  55763. t1 = new A.ReturnRule(value, t1.spanFrom$1(start));
  55764. break $label0$0;
  55765. }
  55766. if ("warn" === _0_0) {
  55767. t1 = _this._warnRule$1(start);
  55768. break $label0$0;
  55769. }
  55770. if ("while" === _0_0) {
  55771. t1 = _this._whileRule$2(start, _this.get$_functionChild());
  55772. break $label0$0;
  55773. }
  55774. t1 = _this._disallowedAtRule$1(start);
  55775. }
  55776. return t1;
  55777. },
  55778. _plainAtRuleName$0() {
  55779. this.scanner.expectChar$2$name(64, "@-rule");
  55780. var $name = this.identifier$0();
  55781. this.whitespace$0();
  55782. return $name;
  55783. },
  55784. _atRootRule$1(start) {
  55785. var t2, t3, t4, buffer, t5, query, _this = this,
  55786. t1 = _this.scanner;
  55787. if (t1.peekChar$0() === 40) {
  55788. t2 = t1._string_scanner$_position;
  55789. t3 = new A.StringBuffer("");
  55790. t4 = A._setArrayType([], type$.JSArray_Object);
  55791. buffer = new A.InterpolationBuffer(t3, t4);
  55792. t1.expectChar$1(40);
  55793. t3._contents += A.Primitives_stringFromCharCode(40);
  55794. _this.whitespace$0();
  55795. t5 = _this._expression$0();
  55796. buffer._flushText$0();
  55797. t4.push(t5);
  55798. if (t1.scanChar$1(58)) {
  55799. _this.whitespace$0();
  55800. t3._contents += A.Primitives_stringFromCharCode(58);
  55801. t3._contents += A.Primitives_stringFromCharCode(32);
  55802. t5 = _this._expression$0();
  55803. buffer._flushText$0();
  55804. t4.push(t5);
  55805. }
  55806. t1.expectChar$1(41);
  55807. _this.whitespace$0();
  55808. t3._contents += A.Primitives_stringFromCharCode(41);
  55809. query = buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  55810. _this.whitespace$0();
  55811. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure(query));
  55812. } else if (_this.lookingAtChildren$0())
  55813. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__atRootRule_closure0());
  55814. else
  55815. return A.AtRootRule$(A._setArrayType([_this._styleRule$0()], type$.JSArray_Statement), t1.spanFrom$1(start), null);
  55816. },
  55817. _contentRule$1(start) {
  55818. var t1, $arguments, t2, t3, _this = this;
  55819. if (!_this._stylesheet$_inMixin)
  55820. _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
  55821. _this.whitespace$0();
  55822. t1 = _this.scanner;
  55823. if (t1.peekChar$0() === 40)
  55824. $arguments = _this._argumentInvocation$1$mixin(true);
  55825. else {
  55826. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  55827. t3 = t2.offset;
  55828. $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
  55829. }
  55830. _this.expectStatementSeparator$1("@content rule");
  55831. return new A.ContentRule($arguments, t1.spanFrom$1(start));
  55832. },
  55833. _debugRule$1(start) {
  55834. var value = this._expression$0();
  55835. this.expectStatementSeparator$1("@debug rule");
  55836. return new A.DebugRule(value, this.scanner.spanFrom$1(start));
  55837. },
  55838. _eachRule$2(start, child) {
  55839. var variables, t1, _this = this,
  55840. wasInControlDirective = _this._inControlDirective;
  55841. _this._inControlDirective = true;
  55842. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  55843. _this.whitespace$0();
  55844. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  55845. _this.whitespace$0();
  55846. t1.expectChar$1(36);
  55847. variables.push(_this.identifier$1$normalize(true));
  55848. _this.whitespace$0();
  55849. }
  55850. _this.expectIdentifier$1("in");
  55851. _this.whitespace$0();
  55852. return _this._withChildren$3(child, start, new A.StylesheetParser__eachRule_closure(_this, wasInControlDirective, variables, _this._expression$0()));
  55853. },
  55854. _errorRule$1(start) {
  55855. var value = this._expression$0();
  55856. this.expectStatementSeparator$1("@error rule");
  55857. return new A.ErrorRule(value, this.scanner.spanFrom$1(start));
  55858. },
  55859. _functionRule$1(start) {
  55860. var $name, $arguments, _0_0, _this = this,
  55861. precedingComment = _this.lastSilentComment;
  55862. _this.lastSilentComment = null;
  55863. $name = _this.identifier$1$normalize(true);
  55864. _this.whitespace$0();
  55865. $arguments = _this._argumentDeclaration$0();
  55866. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  55867. _this.error$2(0, string$.Mixinscf, _this.scanner.spanFrom$1(start));
  55868. else if (_this._inControlDirective)
  55869. _this.error$2(0, string$.Functi, _this.scanner.spanFrom$1(start));
  55870. _0_0 = A.unvendor($name);
  55871. if ("calc" === _0_0 || "element" === _0_0 || "expression" === _0_0 || "url" === _0_0 || "and" === _0_0 || "or" === _0_0 || "not" === _0_0 || "clamp" === _0_0)
  55872. _this.error$2(0, "Invalid function name.", _this.scanner.spanFrom$1(start));
  55873. _this.whitespace$0();
  55874. return _this._withChildren$3(_this.get$_functionChild(), start, new A.StylesheetParser__functionRule_closure($name, $arguments, precedingComment));
  55875. },
  55876. _forRule$2(start, child) {
  55877. var variable, from, _this = this, t1 = {},
  55878. wasInControlDirective = _this._inControlDirective;
  55879. _this._inControlDirective = true;
  55880. variable = _this.variableName$0();
  55881. _this.whitespace$0();
  55882. _this.expectIdentifier$1("from");
  55883. _this.whitespace$0();
  55884. t1.exclusive = null;
  55885. from = _this._expression$1$until(new A.StylesheetParser__forRule_closure(t1, _this));
  55886. if (t1.exclusive == null)
  55887. _this.scanner.error$1(0, 'Expected "to" or "through".');
  55888. _this.whitespace$0();
  55889. return _this._withChildren$3(child, start, new A.StylesheetParser__forRule_closure0(t1, _this, wasInControlDirective, variable, from, _this._expression$0()));
  55890. },
  55891. _forwardRule$1(start) {
  55892. var prefix, _0_0, shownMixinsAndFunctions, shownVariables, hiddenVariables, hiddenMixinsAndFunctions, _1_0, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
  55893. url = _this._urlString$0();
  55894. _this.whitespace$0();
  55895. if (_this.scanIdentifier$1("as")) {
  55896. _this.whitespace$0();
  55897. prefix = _this.identifier$1$normalize(true);
  55898. _this.scanner.expectChar$1(42);
  55899. _this.whitespace$0();
  55900. } else
  55901. prefix = _null;
  55902. if (_this.scanIdentifier$1("show")) {
  55903. _0_0 = _this._memberList$0();
  55904. shownMixinsAndFunctions = _0_0._0;
  55905. shownVariables = _0_0._1;
  55906. hiddenVariables = _null;
  55907. hiddenMixinsAndFunctions = hiddenVariables;
  55908. } else {
  55909. if (_this.scanIdentifier$1("hide")) {
  55910. _1_0 = _this._memberList$0();
  55911. hiddenMixinsAndFunctions = _1_0._0;
  55912. hiddenVariables = _1_0._1;
  55913. } else {
  55914. hiddenVariables = _null;
  55915. hiddenMixinsAndFunctions = hiddenVariables;
  55916. }
  55917. shownVariables = _null;
  55918. shownMixinsAndFunctions = shownVariables;
  55919. }
  55920. configuration = _this._stylesheet$_configuration$1$allowGuarded(true);
  55921. _this.expectStatementSeparator$1("@forward rule");
  55922. span = _this.scanner.spanFrom$1(start);
  55923. if (!_this._isUseAllowed)
  55924. _this.error$2(0, string$.x40forwa, span);
  55925. if (shownMixinsAndFunctions != null) {
  55926. shownVariables.toString;
  55927. t1 = type$.String;
  55928. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  55929. t3 = type$.UnmodifiableSetView_String;
  55930. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  55931. t4 = configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  55932. return new A.ForwardRule(url, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), _null, _null, prefix, t4, span);
  55933. } else if (hiddenMixinsAndFunctions != null) {
  55934. hiddenVariables.toString;
  55935. t1 = type$.String;
  55936. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  55937. t3 = type$.UnmodifiableSetView_String;
  55938. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  55939. t4 = configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable);
  55940. return new A.ForwardRule(url, _null, _null, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), prefix, t4, span);
  55941. } else
  55942. return new A.ForwardRule(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  55943. },
  55944. _memberList$0() {
  55945. var _this = this,
  55946. t1 = type$.String,
  55947. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  55948. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  55949. t1 = _this.scanner;
  55950. do {
  55951. _this.whitespace$0();
  55952. _this.withErrorMessage$2(string$.Expect, new A.StylesheetParser__memberList_closure(_this, variables, identifiers));
  55953. _this.whitespace$0();
  55954. } while (t1.scanChar$1(44));
  55955. return new A._Record_2(identifiers, variables);
  55956. },
  55957. _ifRule$2(start, child) {
  55958. var condition, children, clauses, lastClause, span, _this = this,
  55959. ifIndentation = _this.get$currentIndentation(),
  55960. wasInControlDirective = _this._inControlDirective;
  55961. _this._inControlDirective = true;
  55962. condition = _this._expression$0();
  55963. children = _this.children$1(0, child);
  55964. _this.whitespaceWithoutComments$0();
  55965. clauses = A._setArrayType([A.IfClause$(condition, children)], type$.JSArray_IfClause);
  55966. while (true) {
  55967. if (!_this.scanElse$1(ifIndentation)) {
  55968. lastClause = null;
  55969. break;
  55970. }
  55971. _this.whitespace$0();
  55972. if (_this.scanIdentifier$1("if")) {
  55973. _this.whitespace$0();
  55974. clauses.push(A.IfClause$(_this._expression$0(), _this.children$1(0, child)));
  55975. } else {
  55976. lastClause = A.ElseClause$(_this.children$1(0, child));
  55977. break;
  55978. }
  55979. }
  55980. _this._inControlDirective = wasInControlDirective;
  55981. span = _this.scanner.spanFrom$1(start);
  55982. _this.whitespaceWithoutComments$0();
  55983. return new A.IfRule(A.List_List$unmodifiable(clauses, type$.IfClause), lastClause, span);
  55984. },
  55985. _importRule$1(start) {
  55986. var argument, t3, _this = this,
  55987. imports = A._setArrayType([], type$.JSArray_Import),
  55988. t1 = _this.scanner,
  55989. t2 = _this.logger;
  55990. do {
  55991. _this.whitespace$0();
  55992. argument = _this.importArgument$0();
  55993. t3 = argument instanceof A.DynamicImport;
  55994. if (t3)
  55995. A.WarnForDeprecation_warnForDeprecation(t2, B.Deprecation_B8J, string$.Sass__, argument.span, null);
  55996. if ((_this._inControlDirective || _this._stylesheet$_inMixin) && t3)
  55997. _this._disallowedAtRule$1(start);
  55998. imports.push(argument);
  55999. _this.whitespace$0();
  56000. } while (t1.scanChar$1(44));
  56001. _this.expectStatementSeparator$1("@import rule");
  56002. t1 = t1.spanFrom$1(start);
  56003. return new A.ImportRule(A.List_List$unmodifiable(imports, type$.Import), t1);
  56004. },
  56005. importArgument$0() {
  56006. var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
  56007. t1 = _this.scanner,
  56008. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  56009. _0_0 = t1.peekChar$0();
  56010. if (117 === _0_0 || 85 === _0_0) {
  56011. url = _this.dynamicUrl$0();
  56012. _this.whitespace$0();
  56013. modifiers = _this.tryImportModifiers$0();
  56014. return new A.StaticImport(A.Interpolation$(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start)), modifiers, t1.spanFrom$1(start));
  56015. }
  56016. url = _this.string$0();
  56017. urlSpan = t1.spanFrom$1(start);
  56018. _this.whitespace$0();
  56019. modifiers = _this.tryImportModifiers$0();
  56020. if (_this.isPlainImportUrl$1(url) || modifiers != null) {
  56021. t2 = urlSpan;
  56022. 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));
  56023. } else
  56024. try {
  56025. t1 = _this.parseImportUrl$1(url);
  56026. return new A.DynamicImport(t1, urlSpan);
  56027. } catch (exception) {
  56028. t1 = A.unwrapException(exception);
  56029. if (type$.FormatException._is(t1)) {
  56030. innerError = t1;
  56031. stackTrace = A.getTraceFromException(exception);
  56032. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  56033. } else
  56034. throw exception;
  56035. }
  56036. },
  56037. parseImportUrl$1(url) {
  56038. var t1 = $.$get$windows();
  56039. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  56040. return t1.toUri$1(url).toString$0(0);
  56041. A.Uri_parse(url);
  56042. return url;
  56043. },
  56044. isPlainImportUrl$1(url) {
  56045. var _0_0, t1;
  56046. if (url.length < 5)
  56047. return false;
  56048. if (B.JSString_methods.endsWith$1(url, ".css"))
  56049. return true;
  56050. _0_0 = url.charCodeAt(0);
  56051. $label0$0: {
  56052. if (47 === _0_0) {
  56053. t1 = url.charCodeAt(1) === 47;
  56054. break $label0$0;
  56055. }
  56056. if (104 === _0_0) {
  56057. t1 = B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  56058. break $label0$0;
  56059. }
  56060. t1 = false;
  56061. break $label0$0;
  56062. }
  56063. return t1;
  56064. },
  56065. tryImportModifiers$0() {
  56066. var t1, start, t2, t3, buffer, identifier, t4, $name, query, endPosition, t5, result, _this = this;
  56067. if (!_this._lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  56068. return null;
  56069. t1 = _this.scanner;
  56070. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  56071. t2 = new A.StringBuffer("");
  56072. t3 = A._setArrayType([], type$.JSArray_Object);
  56073. buffer = new A.InterpolationBuffer(t2, t3);
  56074. for (; true;)
  56075. if (_this._lookingAtInterpolatedIdentifier$0()) {
  56076. if (!(t3.length === 0 && t2._contents.length === 0))
  56077. t2._contents += A.Primitives_stringFromCharCode(32);
  56078. identifier = _this.interpolatedIdentifier$0();
  56079. buffer.addInterpolation$1(identifier);
  56080. t4 = identifier.get$asPlain();
  56081. $name = t4 == null ? null : t4.toLowerCase();
  56082. if ($name !== "and" && t1.scanChar$1(40)) {
  56083. if ($name === "supports") {
  56084. query = _this._importSupportsQuery$0();
  56085. t4 = !(query instanceof A.SupportsDeclaration);
  56086. if (t4)
  56087. t2._contents += A.Primitives_stringFromCharCode(40);
  56088. buffer._flushText$0();
  56089. t3.push(new A.SupportsExpression(query));
  56090. if (t4)
  56091. t2._contents += A.Primitives_stringFromCharCode(41);
  56092. } else {
  56093. t2._contents += A.Primitives_stringFromCharCode(40);
  56094. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true));
  56095. t2._contents += A.Primitives_stringFromCharCode(41);
  56096. }
  56097. t1.expectChar$1(41);
  56098. _this.whitespace$0();
  56099. } else {
  56100. _this.whitespace$0();
  56101. if (t1.scanChar$1(44)) {
  56102. t2._contents += ", ";
  56103. buffer.addInterpolation$1(_this._mediaQueryList$0());
  56104. endPosition = t1._string_scanner$_position;
  56105. t4 = t1._sourceFile;
  56106. t5 = start.position;
  56107. t1 = new A._FileSpan(t4, t5, endPosition);
  56108. t1._FileSpan$3(t4, t5, endPosition);
  56109. t5 = type$.Object;
  56110. t4 = A.List_List$of(t3, true, t5);
  56111. t3 = t2._contents;
  56112. if (t3.length !== 0)
  56113. t4.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  56114. result = A.List_List$from(t4, false, t5);
  56115. result.fixed$length = Array;
  56116. result.immutable$list = Array;
  56117. t2 = new A.Interpolation(result, t1);
  56118. t2.Interpolation$2(t4, t1);
  56119. return t2;
  56120. }
  56121. }
  56122. } else if (t1.peekChar$0() === 40) {
  56123. if (!(t3.length === 0 && t2._contents.length === 0))
  56124. t2._contents += A.Primitives_stringFromCharCode(32);
  56125. buffer.addInterpolation$1(_this._mediaQueryList$0());
  56126. endPosition = t1._string_scanner$_position;
  56127. t1 = t1._sourceFile;
  56128. t4 = start.position;
  56129. t5 = new A._FileSpan(t1, t4, endPosition);
  56130. t5._FileSpan$3(t1, t4, endPosition);
  56131. t4 = type$.Object;
  56132. t3 = A.List_List$of(t3, true, t4);
  56133. t1 = t2._contents;
  56134. if (t1.length !== 0)
  56135. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  56136. result = A.List_List$from(t3, false, t4);
  56137. result.fixed$length = Array;
  56138. result.immutable$list = Array;
  56139. t1 = new A.Interpolation(result, t5);
  56140. t1.Interpolation$2(t3, t5);
  56141. return t1;
  56142. } else {
  56143. endPosition = t1._string_scanner$_position;
  56144. t1 = t1._sourceFile;
  56145. t4 = start.position;
  56146. t5 = new A._FileSpan(t1, t4, endPosition);
  56147. t5._FileSpan$3(t1, t4, endPosition);
  56148. t4 = type$.Object;
  56149. t3 = A.List_List$of(t3, true, t4);
  56150. t1 = t2._contents;
  56151. if (t1.length !== 0)
  56152. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  56153. result = A.List_List$from(t3, false, t4);
  56154. result.fixed$length = Array;
  56155. result.immutable$list = Array;
  56156. t1 = new A.Interpolation(result, t5);
  56157. t1.Interpolation$2(t3, t5);
  56158. return t1;
  56159. }
  56160. },
  56161. _importSupportsQuery$0() {
  56162. var t1, t2, _0_0, $function, $name, _this = this;
  56163. if (_this.scanIdentifier$1("not")) {
  56164. _this.whitespace$0();
  56165. t1 = _this.scanner;
  56166. t2 = t1._string_scanner$_position;
  56167. return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  56168. } else {
  56169. t1 = _this.scanner;
  56170. if (t1.peekChar$0() === 40)
  56171. return _this._supportsCondition$0();
  56172. else {
  56173. _0_0 = _this._tryImportSupportsFunction$0();
  56174. if (_0_0 != null) {
  56175. $function = _0_0;
  56176. t2 = true;
  56177. } else {
  56178. $function = null;
  56179. t2 = false;
  56180. }
  56181. if (t2)
  56182. return $function;
  56183. t2 = t1._string_scanner$_position;
  56184. $name = _this._expression$0();
  56185. t1.expectChar$1(58);
  56186. return _this._supportsDeclarationValue$2($name, new A._SpanScannerState(t1, t2));
  56187. }
  56188. }
  56189. },
  56190. _tryImportSupportsFunction$0() {
  56191. var t1, start, $name, value, _this = this;
  56192. if (!_this._lookingAtInterpolatedIdentifier$0())
  56193. return null;
  56194. t1 = _this.scanner;
  56195. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  56196. $name = _this.interpolatedIdentifier$0();
  56197. if (!t1.scanChar$1(40)) {
  56198. t1.set$state(start);
  56199. return null;
  56200. }
  56201. value = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  56202. t1.expectChar$1(41);
  56203. return new A.SupportsFunction($name, value, t1.spanFrom$1(start));
  56204. },
  56205. _includeRule$1(start) {
  56206. var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, _this = this, _null = null,
  56207. $name = _this.identifier$0(),
  56208. t1 = _this.scanner;
  56209. if (t1.scanChar$1(46)) {
  56210. name0 = _this._publicIdentifier$0();
  56211. namespace = $name;
  56212. $name = name0;
  56213. } else {
  56214. $name = A.stringReplaceAllUnchecked($name, "_", "-");
  56215. namespace = _null;
  56216. }
  56217. _this.whitespace$0();
  56218. if (t1.peekChar$0() === 40)
  56219. $arguments = _this._argumentInvocation$1$mixin(true);
  56220. else {
  56221. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  56222. t3 = t2.offset;
  56223. $arguments = A.ArgumentInvocation$empty(A._FileSpan$(t2.file, t3, t3));
  56224. }
  56225. _this.whitespace$0();
  56226. if (_this.scanIdentifier$1("using")) {
  56227. _this.whitespace$0();
  56228. contentArguments = _this._argumentDeclaration$0();
  56229. _this.whitespace$0();
  56230. } else
  56231. contentArguments = _null;
  56232. t2 = contentArguments == null;
  56233. if (!t2 || _this.lookingAtChildren$0()) {
  56234. if (t2) {
  56235. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  56236. t3 = t2.offset;
  56237. contentArguments_ = new A.ArgumentDeclaration(B.List_empty11, _null, A._FileSpan$(t2.file, t3, t3));
  56238. } else
  56239. contentArguments_ = contentArguments;
  56240. wasInContentBlock = _this._inContentBlock;
  56241. _this._inContentBlock = true;
  56242. $content = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__includeRule_closure(contentArguments_));
  56243. _this._inContentBlock = wasInContentBlock;
  56244. } else {
  56245. _this.expectStatementSeparator$0();
  56246. $content = _null;
  56247. }
  56248. t1 = t1.spanFrom$2(start, start);
  56249. t2 = $content == null ? $arguments : $content;
  56250. return new A.IncludeRule(namespace, $name, $arguments, $content, t1.expand$1(0, t2.get$span(t2)));
  56251. },
  56252. mediaRule$1(start) {
  56253. return this._withChildren$3(this.get$_statement(), start, new A.StylesheetParser_mediaRule_closure(this._mediaQueryList$0()));
  56254. },
  56255. _mixinRule$1(start) {
  56256. var $name, t1, $arguments, t2, t3, _this = this,
  56257. precedingComment = _this.lastSilentComment;
  56258. _this.lastSilentComment = null;
  56259. $name = _this.identifier$1$normalize(true);
  56260. _this.whitespace$0();
  56261. t1 = _this.scanner;
  56262. if (t1.peekChar$0() === 40)
  56263. $arguments = _this._argumentDeclaration$0();
  56264. else {
  56265. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  56266. t3 = t2.offset;
  56267. $arguments = new A.ArgumentDeclaration(B.List_empty11, null, A._FileSpan$(t2.file, t3, t3));
  56268. }
  56269. if (_this._stylesheet$_inMixin || _this._inContentBlock)
  56270. _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
  56271. else if (_this._inControlDirective)
  56272. _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
  56273. _this.whitespace$0();
  56274. _this._stylesheet$_inMixin = true;
  56275. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser__mixinRule_closure(_this, $name, $arguments, precedingComment));
  56276. },
  56277. mozDocumentRule$2(start, $name) {
  56278. var t5, t6, identifier, _0_0, contents, argument, trailing, endPosition, t7, t8, start0, end, _this = this, _box_0 = {},
  56279. t1 = _this.scanner,
  56280. t2 = t1._string_scanner$_position,
  56281. t3 = new A.StringBuffer(""),
  56282. t4 = A._setArrayType([], type$.JSArray_Object),
  56283. buffer = new A.InterpolationBuffer(t3, t4);
  56284. _box_0.needsDeprecationWarning = false;
  56285. for (t5 = _this.get$whitespace(); true;) {
  56286. if (t1.peekChar$0() === 35) {
  56287. t6 = _this.singleInterpolation$0();
  56288. buffer._flushText$0();
  56289. t4.push(t6);
  56290. _box_0.needsDeprecationWarning = true;
  56291. } else {
  56292. t6 = t1._string_scanner$_position;
  56293. identifier = _this.identifier$0();
  56294. $label0$0: {
  56295. if ("url" === identifier || "url-prefix" === identifier || "domain" === identifier) {
  56296. _0_0 = _this._tryUrlContents$2$name(new A._SpanScannerState(t1, t6), identifier);
  56297. if (_0_0 != null) {
  56298. contents = _0_0;
  56299. t6 = true;
  56300. } else {
  56301. contents = null;
  56302. t6 = false;
  56303. }
  56304. if (t6)
  56305. buffer.addInterpolation$1(contents);
  56306. else {
  56307. t1.expectChar$1(40);
  56308. _this.whitespace$0();
  56309. argument = _this.interpolatedString$0();
  56310. t1.expectChar$1(41);
  56311. t3._contents += identifier;
  56312. t3._contents += A.Primitives_stringFromCharCode(40);
  56313. buffer.addInterpolation$1(argument.asInterpolation$0());
  56314. t3._contents += A.Primitives_stringFromCharCode(41);
  56315. }
  56316. t6 = t3._contents;
  56317. trailing = t6.charCodeAt(0) == 0 ? t6 : t6;
  56318. 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("")'))
  56319. _box_0.needsDeprecationWarning = true;
  56320. break $label0$0;
  56321. }
  56322. if ("regexp" === identifier) {
  56323. t3._contents += "regexp(";
  56324. t1.expectChar$1(40);
  56325. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  56326. t1.expectChar$1(41);
  56327. t3._contents += A.Primitives_stringFromCharCode(41);
  56328. _box_0.needsDeprecationWarning = true;
  56329. break $label0$0;
  56330. }
  56331. endPosition = t1._string_scanner$_position;
  56332. t7 = t1._sourceFile;
  56333. t8 = new A._FileSpan(t7, t6, endPosition);
  56334. t8._FileSpan$3(t7, t6, endPosition);
  56335. _this.error$2(0, "Invalid function name.", t8);
  56336. }
  56337. }
  56338. _this.whitespace$0();
  56339. if (!t1.scanChar$1(44))
  56340. break;
  56341. t3._contents += A.Primitives_stringFromCharCode(44);
  56342. start0 = t1._string_scanner$_position;
  56343. t5.call$0();
  56344. end = t1._string_scanner$_position;
  56345. t3._contents += B.JSString_methods.substring$2(t1.string, start0, end);
  56346. }
  56347. 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)))));
  56348. },
  56349. supportsRule$1(start) {
  56350. var _this = this,
  56351. condition = _this._supportsCondition$0();
  56352. _this.whitespace$0();
  56353. return _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_supportsRule_closure(condition));
  56354. },
  56355. _useRule$1(start) {
  56356. var namespace, configuration, span, t1, _this = this,
  56357. _s9_ = "@use rule",
  56358. url = _this._urlString$0();
  56359. _this.whitespace$0();
  56360. namespace = _this._useNamespace$2(url, start);
  56361. _this.whitespace$0();
  56362. configuration = _this._stylesheet$_configuration$0();
  56363. _this.expectStatementSeparator$1(_s9_);
  56364. span = _this.scanner.spanFrom$1(start);
  56365. if (!_this._isUseAllowed)
  56366. _this.error$2(0, string$.x40use_r, span);
  56367. _this.expectStatementSeparator$1(_s9_);
  56368. t1 = new A.UseRule(url, namespace, configuration == null ? B.List_empty10 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable), span);
  56369. t1.UseRule$4$configuration(url, namespace, span, configuration);
  56370. return t1;
  56371. },
  56372. _useNamespace$2(url, start) {
  56373. var namespace, basename, dot, t1, exception, _this = this;
  56374. if (_this.scanIdentifier$1("as")) {
  56375. _this.whitespace$0();
  56376. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  56377. }
  56378. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  56379. dot = B.JSString_methods.indexOf$1(basename, ".");
  56380. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  56381. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  56382. try {
  56383. t1 = A.SpanScanner$(namespace, null);
  56384. t1 = new A.Parser(t1, _this.logger, null)._parseIdentifier$0();
  56385. return t1;
  56386. } catch (exception) {
  56387. if (type$.SassFormatException._is(A.unwrapException(exception)))
  56388. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
  56389. else
  56390. throw exception;
  56391. }
  56392. },
  56393. _stylesheet$_configuration$1$allowGuarded(allowGuarded) {
  56394. var variableNames, configuration, t1, t2, $name, expression, t3, guarded, endPosition, t4, t5, span, _this = this;
  56395. if (!_this.scanIdentifier$1("with"))
  56396. return null;
  56397. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  56398. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable);
  56399. _this.whitespace$0();
  56400. t1 = _this.scanner;
  56401. t1.expectChar$1(40);
  56402. for (; true;) {
  56403. _this.whitespace$0();
  56404. t2 = t1._string_scanner$_position;
  56405. t1.expectChar$1(36);
  56406. $name = _this.identifier$1$normalize(true);
  56407. _this.whitespace$0();
  56408. t1.expectChar$1(58);
  56409. _this.whitespace$0();
  56410. expression = _this.expressionUntilComma$0();
  56411. t3 = t1._string_scanner$_position;
  56412. if (allowGuarded && t1.scanChar$1(33))
  56413. if (_this.identifier$0() === "default") {
  56414. _this.whitespace$0();
  56415. guarded = true;
  56416. } else {
  56417. endPosition = t1._string_scanner$_position;
  56418. t4 = t1._sourceFile;
  56419. t5 = new A._FileSpan(t4, t3, endPosition);
  56420. t5._FileSpan$3(t4, t3, endPosition);
  56421. _this.error$2(0, "Invalid flag name.", t5);
  56422. guarded = false;
  56423. }
  56424. else
  56425. guarded = false;
  56426. endPosition = t1._string_scanner$_position;
  56427. t3 = t1._sourceFile;
  56428. span = new A._FileSpan(t3, t2, endPosition);
  56429. span._FileSpan$3(t3, t2, endPosition);
  56430. if (variableNames.contains$1(0, $name))
  56431. _this.error$2(0, string$.The_sa, span);
  56432. variableNames.add$1(0, $name);
  56433. configuration.push(new A.ConfiguredVariable($name, expression, guarded, span));
  56434. if (!t1.scanChar$1(44))
  56435. break;
  56436. _this.whitespace$0();
  56437. if (!_this._lookingAtExpression$0())
  56438. break;
  56439. }
  56440. t1.expectChar$1(41);
  56441. return configuration;
  56442. },
  56443. _stylesheet$_configuration$0() {
  56444. return this._stylesheet$_configuration$1$allowGuarded(false);
  56445. },
  56446. _warnRule$1(start) {
  56447. var value = this._expression$0();
  56448. this.expectStatementSeparator$1("@warn rule");
  56449. return new A.WarnRule(value, this.scanner.spanFrom$1(start));
  56450. },
  56451. _whileRule$2(start, child) {
  56452. var _this = this,
  56453. wasInControlDirective = _this._inControlDirective;
  56454. _this._inControlDirective = true;
  56455. return _this._withChildren$3(child, start, new A.StylesheetParser__whileRule_closure(_this, wasInControlDirective, _this._expression$0()));
  56456. },
  56457. unknownAtRule$2(start, $name) {
  56458. var t2, t3, rule, _this = this, t1 = {},
  56459. wasInUnknownAtRule = _this._stylesheet$_inUnknownAtRule;
  56460. _this._stylesheet$_inUnknownAtRule = true;
  56461. t1.value = null;
  56462. t2 = _this.scanner;
  56463. t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this.almostAnyValue$0() : null;
  56464. if (_this.lookingAtChildren$0())
  56465. rule = _this._withChildren$3(_this.get$_statement(), start, new A.StylesheetParser_unknownAtRule_closure(t1, $name));
  56466. else {
  56467. _this.expectStatementSeparator$0();
  56468. rule = A.AtRule$($name, t2.spanFrom$1(start), null, t3);
  56469. }
  56470. _this._stylesheet$_inUnknownAtRule = wasInUnknownAtRule;
  56471. return rule;
  56472. },
  56473. _disallowedAtRule$1(start) {
  56474. this.almostAnyValue$0();
  56475. this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
  56476. },
  56477. _argumentDeclaration$0() {
  56478. var $arguments, named, restArgument, t3, $name, defaultValue, endPosition, t4, t5, _this = this,
  56479. t1 = _this.scanner,
  56480. t2 = t1._string_scanner$_position;
  56481. t1.expectChar$1(40);
  56482. _this.whitespace$0();
  56483. $arguments = A._setArrayType([], type$.JSArray_Argument);
  56484. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  56485. while (true) {
  56486. if (!(t1.peekChar$0() === 36)) {
  56487. restArgument = null;
  56488. break;
  56489. }
  56490. t3 = t1._string_scanner$_position;
  56491. t1.expectChar$1(36);
  56492. $name = _this.identifier$1$normalize(true);
  56493. _this.whitespace$0();
  56494. if (t1.scanChar$1(58)) {
  56495. _this.whitespace$0();
  56496. defaultValue = _this.expressionUntilComma$0();
  56497. } else {
  56498. if (t1.scanChar$1(46)) {
  56499. t1.expectChar$1(46);
  56500. t1.expectChar$1(46);
  56501. _this.whitespace$0();
  56502. restArgument = $name;
  56503. break;
  56504. }
  56505. defaultValue = null;
  56506. }
  56507. endPosition = t1._string_scanner$_position;
  56508. t4 = t1._sourceFile;
  56509. t5 = new A._FileSpan(t4, t3, endPosition);
  56510. t5._FileSpan$3(t4, t3, endPosition);
  56511. $arguments.push(new A.Argument($name, defaultValue, t5));
  56512. if (!named.add$1(0, $name))
  56513. _this.error$2(0, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span);
  56514. if (!t1.scanChar$1(44)) {
  56515. restArgument = null;
  56516. break;
  56517. }
  56518. _this.whitespace$0();
  56519. }
  56520. t1.expectChar$1(41);
  56521. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  56522. return new A.ArgumentDeclaration(A.List_List$unmodifiable($arguments, type$.Argument), restArgument, t1);
  56523. },
  56524. _argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  56525. var positional, t3, t4, named, keywordRest, t5, rest, expression, t6, t7, result, _this = this, _null = null,
  56526. t1 = _this.scanner,
  56527. t2 = t1._string_scanner$_position;
  56528. t1.expectChar$1(40);
  56529. _this.whitespace$0();
  56530. positional = A._setArrayType([], type$.JSArray_Expression);
  56531. t3 = type$.String;
  56532. t4 = type$.Expression;
  56533. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  56534. t5 = !mixin;
  56535. rest = _null;
  56536. while (true) {
  56537. if (!_this._lookingAtExpression$0()) {
  56538. keywordRest = _null;
  56539. break;
  56540. }
  56541. expression = _this.expressionUntilComma$1$singleEquals(t5);
  56542. _this.whitespace$0();
  56543. if (expression instanceof A.VariableExpression && t1.scanChar$1(58)) {
  56544. _this.whitespace$0();
  56545. t6 = expression.name;
  56546. if (named.containsKey$1(t6))
  56547. _this.error$2(0, "Duplicate argument.", expression.span);
  56548. named.$indexSet(0, t6, _this.expressionUntilComma$1$singleEquals(t5));
  56549. } else if (t1.scanChar$1(46)) {
  56550. t1.expectChar$1(46);
  56551. t1.expectChar$1(46);
  56552. if (rest != null) {
  56553. _this.whitespace$0();
  56554. keywordRest = expression;
  56555. break;
  56556. }
  56557. rest = expression;
  56558. } else if (named.__js_helper$_length !== 0)
  56559. _this.error$2(0, string$.Positi, expression.get$span(expression));
  56560. else
  56561. positional.push(expression);
  56562. _this.whitespace$0();
  56563. if (!t1.scanChar$1(44)) {
  56564. keywordRest = _null;
  56565. break;
  56566. }
  56567. _this.whitespace$0();
  56568. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  56569. t5 = t1._sourceFile;
  56570. t6 = t1._string_scanner$_position;
  56571. new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
  56572. t7 = new A._FileSpan(t5, t6, t6);
  56573. t7._FileSpan$3(t5, t6, t6);
  56574. t6 = A._setArrayType([""], type$.JSArray_Object);
  56575. result = A.List_List$from(t6, false, type$.Object);
  56576. result.fixed$length = Array;
  56577. result.immutable$list = Array;
  56578. t5 = new A.Interpolation(result, t7);
  56579. t5.Interpolation$2(t6, t7);
  56580. positional.push(new A.StringExpression(t5, false));
  56581. keywordRest = _null;
  56582. break;
  56583. }
  56584. }
  56585. t1.expectChar$1(41);
  56586. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  56587. return new A.ArgumentInvocation(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  56588. },
  56589. _argumentInvocation$0() {
  56590. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  56591. },
  56592. _argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  56593. return this._argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  56594. },
  56595. _argumentInvocation$1$mixin(mixin) {
  56596. return this._argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  56597. },
  56598. _expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
  56599. var t2, beforeBracket, start, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, _3_0, _3_28, _3_32, _3_40, _1_0, t4, _2_0, commaExpressions, spaceExpressions, singleExpression, _this = this,
  56600. _s20_ = "Expected expression.",
  56601. _box_0 = {},
  56602. t1 = until != null;
  56603. if (t1 && until.call$0())
  56604. _this.scanner.error$1(0, _s20_);
  56605. if (bracketList) {
  56606. t2 = _this.scanner;
  56607. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  56608. t2.expectChar$1(91);
  56609. _this.whitespace$0();
  56610. if (t2.scanChar$1(93)) {
  56611. t1 = A._setArrayType([], type$.JSArray_Expression);
  56612. t2 = t2.spanFrom$1(beforeBracket);
  56613. return new A.ListExpression(A.List_List$unmodifiable(t1, type$.Expression), B.ListSeparator_undecided_null_undecided, true, t2);
  56614. }
  56615. } else
  56616. beforeBracket = null;
  56617. t2 = _this.scanner;
  56618. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  56619. wasInParentheses = _this._inParentheses;
  56620. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  56621. _box_0.allowSlash = true;
  56622. _box_0.singleExpression_ = _this._singleExpression$0();
  56623. resetState = new A.StylesheetParser__expression_resetState(_box_0, _this, start);
  56624. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation(_box_0, _this);
  56625. resolveOperations = new A.StylesheetParser__expression_resolveOperations(_box_0, resolveOneOperation);
  56626. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression(_box_0, _this, resetState, resolveOperations);
  56627. addOperator = new A.StylesheetParser__expression_addOperator(_box_0, _this, resolveOneOperation);
  56628. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions(_box_0, _this, resolveOperations);
  56629. for (t3 = type$.JSArray_Expression; true;) {
  56630. _this.whitespace$0();
  56631. if (t1 && until.call$0())
  56632. break;
  56633. _3_0 = t2.peekChar$0();
  56634. _3_28 = A._InitializedCell$(new A.StylesheetParser__expression_closure(_3_0));
  56635. _3_32 = A._InitializedCell$(new A.StylesheetParser__expression_closure0(_3_0));
  56636. _3_40 = A._InitializedCell$(new A.StylesheetParser__expression_closure1(_3_0));
  56637. if (_3_0 == null)
  56638. break;
  56639. if (40 === _3_0) {
  56640. addSingleExpression.call$1(_this.parentheses$0());
  56641. continue;
  56642. }
  56643. if (91 === _3_0) {
  56644. addSingleExpression.call$1(_this._expression$1$bracketList(true));
  56645. continue;
  56646. }
  56647. if (36 === _3_0) {
  56648. addSingleExpression.call$1(_this._variable$0());
  56649. continue;
  56650. }
  56651. if (38 === _3_0) {
  56652. addSingleExpression.call$1(_this._selector$0());
  56653. continue;
  56654. }
  56655. if (39 === _3_0 || 34 === _3_0) {
  56656. addSingleExpression.call$1(_this.interpolatedString$0());
  56657. continue;
  56658. }
  56659. if (35 === _3_0) {
  56660. addSingleExpression.call$1(_this._hashExpression$0());
  56661. continue;
  56662. }
  56663. if (61 === _3_0) {
  56664. t2.readChar$0();
  56665. if (singleEquals && t2.peekChar$0() !== 61)
  56666. addOperator.call$1(B.BinaryOperator_2jN);
  56667. else {
  56668. t2.expectChar$1(61);
  56669. addOperator.call$1(B.BinaryOperator_ql5);
  56670. }
  56671. continue;
  56672. }
  56673. if (33 === _3_0) {
  56674. $label0$1: {
  56675. _1_0 = t2.peekChar$1(1);
  56676. if (61 === _1_0) {
  56677. t2.readChar$0();
  56678. t2.readChar$0();
  56679. addOperator.call$1(B.BinaryOperator_ViB);
  56680. break $label0$1;
  56681. }
  56682. if (_1_0 != null)
  56683. if (105 !== _1_0)
  56684. if (73 !== _1_0)
  56685. t4 = _1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12;
  56686. else
  56687. t4 = true;
  56688. else
  56689. t4 = true;
  56690. else
  56691. t4 = true;
  56692. if (t4) {
  56693. addSingleExpression.call$1(_this._importantExpression$0());
  56694. break $label0$1;
  56695. }
  56696. break;
  56697. }
  56698. continue;
  56699. }
  56700. if (60 === _3_0) {
  56701. t2.readChar$0();
  56702. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_kpg : B.BinaryOperator_U8c);
  56703. continue;
  56704. }
  56705. if (62 === _3_0) {
  56706. t2.readChar$0();
  56707. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_7Tg : B.BinaryOperator_cIH);
  56708. continue;
  56709. }
  56710. if (42 === _3_0) {
  56711. t2.readChar$0();
  56712. addOperator.call$1(B.BinaryOperator_qN2);
  56713. continue;
  56714. }
  56715. if (_3_28._readFinal$0() && _box_0.singleExpression_ == null) {
  56716. addSingleExpression.call$1(_this._unaryOperation$0());
  56717. continue;
  56718. }
  56719. if (_3_28._readFinal$0()) {
  56720. t2.readChar$0();
  56721. addOperator.call$1(B.BinaryOperator_anB);
  56722. continue;
  56723. }
  56724. if (45 === _3_0) {
  56725. _2_0 = t2.peekChar$1(1);
  56726. if (A._isInt(_2_0) && _2_0 >= 48 && _2_0 <= 57 || 46 === _2_0)
  56727. if (_box_0.singleExpression_ != null) {
  56728. t4 = t2.peekChar$1(-1);
  56729. t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
  56730. } else
  56731. t4 = true;
  56732. else
  56733. t4 = false;
  56734. if (t4)
  56735. addSingleExpression.call$1(_this._number$0());
  56736. else if (_this._lookingAtInterpolatedIdentifier$0())
  56737. addSingleExpression.call$1(_this.identifierLike$0());
  56738. else if (_box_0.singleExpression_ == null)
  56739. addSingleExpression.call$1(_this._unaryOperation$0());
  56740. else {
  56741. t2.readChar$0();
  56742. addOperator.call$1(B.BinaryOperator_olz);
  56743. }
  56744. continue;
  56745. }
  56746. if (_3_32._readFinal$0() && _box_0.singleExpression_ == null) {
  56747. addSingleExpression.call$1(_this._unaryOperation$0());
  56748. continue;
  56749. }
  56750. if (_3_32._readFinal$0()) {
  56751. t2.readChar$0();
  56752. addOperator.call$1(B.BinaryOperator_t8B);
  56753. continue;
  56754. }
  56755. if (37 === _3_0) {
  56756. t2.readChar$0();
  56757. addOperator.call$1(B.BinaryOperator_OTG);
  56758. continue;
  56759. }
  56760. if (_3_0 >= 48 && _3_0 <= 57) {
  56761. addSingleExpression.call$1(_this._number$0());
  56762. continue;
  56763. }
  56764. if (_3_40._readFinal$0() && t2.peekChar$1(1) === 46)
  56765. break;
  56766. if (_3_40._readFinal$0()) {
  56767. addSingleExpression.call$1(_this._number$0());
  56768. continue;
  56769. }
  56770. if (97 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("and")) {
  56771. addOperator.call$1(B.BinaryOperator_SNp);
  56772. continue;
  56773. }
  56774. if (111 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("or")) {
  56775. addOperator.call$1(B.BinaryOperator_M6L);
  56776. continue;
  56777. }
  56778. if ((117 === _3_0 || 85 === _3_0) && t2.peekChar$1(1) === 43) {
  56779. addSingleExpression.call$1(_this._unicodeRange$0());
  56780. continue;
  56781. }
  56782. if (!(_3_0 >= 97 && _3_0 <= 122))
  56783. t4 = _3_0 >= 65 && _3_0 <= 90 || 95 === _3_0 || 92 === _3_0 || _3_0 >= 128;
  56784. else
  56785. t4 = true;
  56786. if (t4) {
  56787. addSingleExpression.call$1(_this.identifierLike$0());
  56788. continue;
  56789. }
  56790. if (44 === _3_0) {
  56791. if (_this._inParentheses) {
  56792. _this._inParentheses = false;
  56793. if (_box_0.allowSlash) {
  56794. resetState.call$0();
  56795. continue;
  56796. }
  56797. }
  56798. commaExpressions = _box_0.commaExpressions_;
  56799. if (commaExpressions == null)
  56800. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
  56801. if (_box_0.singleExpression_ == null)
  56802. t2.error$1(0, _s20_);
  56803. resolveSpaceExpressions.call$0();
  56804. t4 = _box_0.singleExpression_;
  56805. t4.toString;
  56806. commaExpressions.push(t4);
  56807. t2.readChar$0();
  56808. _box_0.allowSlash = true;
  56809. _box_0.singleExpression_ = null;
  56810. continue;
  56811. }
  56812. break;
  56813. }
  56814. if (bracketList)
  56815. t2.expectChar$1(93);
  56816. commaExpressions = _box_0.commaExpressions_;
  56817. spaceExpressions = _box_0.spaceExpressions_;
  56818. if (commaExpressions != null) {
  56819. resolveSpaceExpressions.call$0();
  56820. _this._inParentheses = wasInParentheses;
  56821. singleExpression = _box_0.singleExpression_;
  56822. if (singleExpression != null)
  56823. commaExpressions.push(singleExpression);
  56824. t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  56825. return new A.ListExpression(A.List_List$unmodifiable(commaExpressions, type$.Expression), B.ListSeparator_rXA, bracketList, t1);
  56826. } else if (bracketList && spaceExpressions != null) {
  56827. resolveOperations.call$0();
  56828. t1 = _box_0.singleExpression_;
  56829. t1.toString;
  56830. spaceExpressions.push(t1);
  56831. beforeBracket.toString;
  56832. t2 = t2.spanFrom$1(beforeBracket);
  56833. return new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_EVt, true, t2);
  56834. } else {
  56835. resolveSpaceExpressions.call$0();
  56836. if (bracketList) {
  56837. t1 = _box_0.singleExpression_;
  56838. t1.toString;
  56839. t3 = A._setArrayType([t1], t3);
  56840. beforeBracket.toString;
  56841. t2 = t2.spanFrom$1(beforeBracket);
  56842. _box_0.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(t3, type$.Expression), B.ListSeparator_undecided_null_undecided, true, t2);
  56843. }
  56844. t1 = _box_0.singleExpression_;
  56845. t1.toString;
  56846. return t1;
  56847. }
  56848. },
  56849. _expression$0() {
  56850. return this._expression$3$bracketList$singleEquals$until(false, false, null);
  56851. },
  56852. _expression$2$singleEquals$until(singleEquals, until) {
  56853. return this._expression$3$bracketList$singleEquals$until(false, singleEquals, until);
  56854. },
  56855. _expression$1$bracketList(bracketList) {
  56856. return this._expression$3$bracketList$singleEquals$until(bracketList, false, null);
  56857. },
  56858. _expression$1$until(until) {
  56859. return this._expression$3$bracketList$singleEquals$until(false, false, until);
  56860. },
  56861. expressionUntilComma$1$singleEquals(singleEquals) {
  56862. return this._expression$2$singleEquals$until(singleEquals, new A.StylesheetParser_expressionUntilComma_closure(this));
  56863. },
  56864. expressionUntilComma$0() {
  56865. return this.expressionUntilComma$1$singleEquals(false);
  56866. },
  56867. _isSlashOperand$1(expression) {
  56868. var t1;
  56869. if (!(expression instanceof A.NumberExpression))
  56870. if (!(expression instanceof A.FunctionExpression))
  56871. t1 = expression instanceof A.BinaryOperationExpression && expression.allowsSlash;
  56872. else
  56873. t1 = true;
  56874. else
  56875. t1 = true;
  56876. return t1;
  56877. },
  56878. _singleExpression$0() {
  56879. var next, t2, _this = this,
  56880. _s20_ = "Expected expression.",
  56881. t1 = _this.scanner,
  56882. _0_0 = t1.peekChar$0();
  56883. $label0$0: {
  56884. if (_0_0 == null)
  56885. t1.error$1(0, _s20_);
  56886. if (40 === _0_0) {
  56887. t1 = _this.parentheses$0();
  56888. break $label0$0;
  56889. }
  56890. if (47 === _0_0) {
  56891. t1 = _this._unaryOperation$0();
  56892. break $label0$0;
  56893. }
  56894. if (46 === _0_0) {
  56895. t1 = _this._number$0();
  56896. break $label0$0;
  56897. }
  56898. if (91 === _0_0) {
  56899. t1 = _this._expression$1$bracketList(true);
  56900. break $label0$0;
  56901. }
  56902. if (36 === _0_0) {
  56903. t1 = _this._variable$0();
  56904. break $label0$0;
  56905. }
  56906. if (38 === _0_0) {
  56907. t1 = _this._selector$0();
  56908. break $label0$0;
  56909. }
  56910. if (39 === _0_0 || 34 === _0_0) {
  56911. t1 = _this.interpolatedString$0();
  56912. break $label0$0;
  56913. }
  56914. if (35 === _0_0) {
  56915. t1 = _this._hashExpression$0();
  56916. break $label0$0;
  56917. }
  56918. if (43 === _0_0) {
  56919. next = t1.peekChar$1(1);
  56920. t1 = next != null && next >= 48 && next <= 57 || next === 46 ? _this._number$0() : _this._unaryOperation$0();
  56921. break $label0$0;
  56922. }
  56923. if (45 === _0_0) {
  56924. t1 = _this._minusExpression$0();
  56925. break $label0$0;
  56926. }
  56927. if (33 === _0_0) {
  56928. t1 = _this._importantExpression$0();
  56929. break $label0$0;
  56930. }
  56931. if ((117 === _0_0 || 85 === _0_0) && t1.peekChar$1(1) === 43) {
  56932. t1 = _this._unicodeRange$0();
  56933. break $label0$0;
  56934. }
  56935. if (_0_0 >= 48 && _0_0 <= 57) {
  56936. t1 = _this._number$0();
  56937. break $label0$0;
  56938. }
  56939. if (!(_0_0 >= 97 && _0_0 <= 122))
  56940. t2 = _0_0 >= 65 && _0_0 <= 90 || 95 === _0_0 || 92 === _0_0 || _0_0 >= 128;
  56941. else
  56942. t2 = true;
  56943. if (t2) {
  56944. t1 = _this.identifierLike$0();
  56945. break $label0$0;
  56946. }
  56947. t1 = t1.error$1(0, _s20_);
  56948. }
  56949. return t1;
  56950. },
  56951. parentheses$0() {
  56952. var start, first, expressions, t1, t2, _this = this,
  56953. wasInParentheses = _this._inParentheses;
  56954. _this._inParentheses = true;
  56955. try {
  56956. t1 = _this.scanner;
  56957. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  56958. t1.expectChar$1(40);
  56959. _this.whitespace$0();
  56960. if (!_this._lookingAtExpression$0()) {
  56961. t1.expectChar$1(41);
  56962. t2 = A._setArrayType([], type$.JSArray_Expression);
  56963. t1 = t1.spanFrom$1(start);
  56964. t2 = A.List_List$unmodifiable(t2, type$.Expression);
  56965. return new A.ListExpression(t2, B.ListSeparator_undecided_null_undecided, false, t1);
  56966. }
  56967. first = _this.expressionUntilComma$0();
  56968. if (t1.scanChar$1(58)) {
  56969. _this.whitespace$0();
  56970. t1 = _this._stylesheet$_map$2(first, start);
  56971. return t1;
  56972. }
  56973. if (!t1.scanChar$1(44)) {
  56974. t1.expectChar$1(41);
  56975. t1 = t1.spanFrom$1(start);
  56976. return new A.ParenthesizedExpression(first, t1);
  56977. }
  56978. _this.whitespace$0();
  56979. expressions = A._setArrayType([first], type$.JSArray_Expression);
  56980. for (; true;) {
  56981. if (!_this._lookingAtExpression$0())
  56982. break;
  56983. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  56984. if (!t1.scanChar$1(44))
  56985. break;
  56986. _this.whitespace$0();
  56987. }
  56988. t1.expectChar$1(41);
  56989. t1 = t1.spanFrom$1(start);
  56990. t2 = A.List_List$unmodifiable(expressions, type$.Expression);
  56991. return new A.ListExpression(t2, B.ListSeparator_rXA, false, t1);
  56992. } finally {
  56993. _this._inParentheses = wasInParentheses;
  56994. }
  56995. },
  56996. _stylesheet$_map$2(first, start) {
  56997. var t1, key, _this = this,
  56998. pairs = A._setArrayType([new A._Record_2(first, _this.expressionUntilComma$0())], type$.JSArray_Record_2_Expression_and_Expression);
  56999. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  57000. _this.whitespace$0();
  57001. if (!_this._lookingAtExpression$0())
  57002. break;
  57003. key = _this.expressionUntilComma$0();
  57004. t1.expectChar$1(58);
  57005. _this.whitespace$0();
  57006. pairs.push(new A._Record_2(key, _this.expressionUntilComma$0()));
  57007. }
  57008. t1.expectChar$1(41);
  57009. t1 = t1.spanFrom$1(start);
  57010. return new A.MapExpression(A.List_List$unmodifiable(pairs, type$.Record_2_Expression_and_Expression), t1);
  57011. },
  57012. _hashExpression$0() {
  57013. var start, t2, identifier, buffer, _this = this,
  57014. t1 = _this.scanner;
  57015. if (t1.peekChar$1(1) === 123)
  57016. return _this.identifierLike$0();
  57017. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57018. t1.expectChar$1(35);
  57019. t2 = t1.peekChar$0();
  57020. if (t2 == null)
  57021. t2 = null;
  57022. else
  57023. t2 = t2 >= 48 && t2 <= 57;
  57024. if (t2 === true)
  57025. return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
  57026. t2 = t1._string_scanner$_position;
  57027. identifier = _this.interpolatedIdentifier$0();
  57028. if (_this._isHexColor$1(identifier)) {
  57029. t1.set$state(new A._SpanScannerState(t1, t2));
  57030. return new A.ColorExpression(_this._hexColorContents$1(start), t1.spanFrom$1(start));
  57031. }
  57032. t2 = new A.StringBuffer("");
  57033. buffer = new A.InterpolationBuffer(t2, A._setArrayType([], type$.JSArray_Object));
  57034. t2._contents += A.Primitives_stringFromCharCode(35);
  57035. buffer.addInterpolation$1(identifier);
  57036. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  57037. },
  57038. _hexColorContents$1(start) {
  57039. var red, green, blue, alpha, digit4, t2, t3, t4, _this = this,
  57040. digit1 = _this._hexDigit$0(),
  57041. digit2 = _this._hexDigit$0(),
  57042. digit3 = _this._hexDigit$0(),
  57043. t1 = _this.scanner,
  57044. $self = t1.peekChar$0();
  57045. if (!($self != null && A.CharacterExtension_get_isHex($self))) {
  57046. red = (digit1 << 4 >>> 0) + digit1;
  57047. green = (digit2 << 4 >>> 0) + digit2;
  57048. blue = (digit3 << 4 >>> 0) + digit3;
  57049. alpha = null;
  57050. } else {
  57051. digit4 = _this._hexDigit$0();
  57052. $self = t1.peekChar$0();
  57053. t2 = $self != null && A.CharacterExtension_get_isHex($self);
  57054. t3 = digit1 << 4 >>> 0;
  57055. t4 = digit3 << 4 >>> 0;
  57056. if (!t2) {
  57057. red = t3 + digit1;
  57058. green = (digit2 << 4 >>> 0) + digit2;
  57059. blue = t4 + digit3;
  57060. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  57061. } else {
  57062. red = t3 + digit2;
  57063. green = t4 + digit4;
  57064. blue = (_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0();
  57065. $self = t1.peekChar$0();
  57066. alpha = $self != null && A.CharacterExtension_get_isHex($self) ? ((_this._hexDigit$0() << 4 >>> 0) + _this._hexDigit$0()) / 255 : null;
  57067. }
  57068. }
  57069. t2 = alpha == null;
  57070. t3 = t2 ? 1 : alpha;
  57071. return A.SassColor$rgbInternal(red, green, blue, t3, t2 ? new A.SpanColorFormat(t1.spanFrom$1(start)) : null);
  57072. },
  57073. _isHexColor$1(interpolation) {
  57074. var t1,
  57075. plain = interpolation.get$asPlain(),
  57076. _0_2 = A._InitializedCell$(new A.StylesheetParser__isHexColor_closure(plain));
  57077. if (typeof plain == "string")
  57078. t1 = 3 === _0_2._readFinal$0() || 4 === _0_2._readFinal$0() || 6 === _0_2._readFinal$0() || 8 === _0_2._readFinal$0();
  57079. else
  57080. t1 = false;
  57081. if (t1) {
  57082. t1 = new A.CodeUnits(plain);
  57083. return t1.every$1(t1, new A.StylesheetParser__isHexColor_closure0());
  57084. } else
  57085. return false;
  57086. },
  57087. _hexDigit$0() {
  57088. var t1 = this.scanner,
  57089. t2 = t1.peekChar$0();
  57090. t2 = t2 == null ? null : A.CharacterExtension_get_isHex(t2);
  57091. return t2 === true ? A.asHex(t1.readChar$0()) : t1.error$1(0, "Expected hex digit.");
  57092. },
  57093. _minusExpression$0() {
  57094. var _this = this,
  57095. _0_0 = _this.scanner.peekChar$1(1);
  57096. if (A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57 || 46 === _0_0)
  57097. return _this._number$0();
  57098. if (_this._lookingAtInterpolatedIdentifier$0())
  57099. return _this.identifierLike$0();
  57100. return _this._unaryOperation$0();
  57101. },
  57102. _importantExpression$0() {
  57103. var t1 = this.scanner,
  57104. t2 = t1._string_scanner$_position;
  57105. t1.readChar$0();
  57106. this.whitespace$0();
  57107. this.expectIdentifier$1("important");
  57108. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  57109. return new A.StringExpression(A.Interpolation$(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
  57110. },
  57111. _unaryOperation$0() {
  57112. var _this = this,
  57113. t1 = _this.scanner,
  57114. t2 = t1._string_scanner$_position,
  57115. operator = _this._unaryOperatorFor$1(t1.readChar$0());
  57116. if (operator == null)
  57117. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  57118. else if (_this.get$plainCss() && operator !== B.UnaryOperator_Ix1)
  57119. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  57120. _this.whitespace$0();
  57121. return new A.UnaryOperationExpression(operator, _this._singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  57122. },
  57123. _unaryOperatorFor$1(character) {
  57124. var t1;
  57125. $label0$0: {
  57126. if (43 === character) {
  57127. t1 = B.UnaryOperator_gg4;
  57128. break $label0$0;
  57129. }
  57130. if (45 === character) {
  57131. t1 = B.UnaryOperator_TLI;
  57132. break $label0$0;
  57133. }
  57134. if (47 === character) {
  57135. t1 = B.UnaryOperator_Ix1;
  57136. break $label0$0;
  57137. }
  57138. t1 = null;
  57139. break $label0$0;
  57140. }
  57141. return t1;
  57142. },
  57143. _number$0() {
  57144. var number, unit, _this = this,
  57145. t1 = _this.scanner,
  57146. t2 = t1._string_scanner$_position,
  57147. first = t1.peekChar$0(),
  57148. t3 = first !== 43;
  57149. if (!t3 || first === 45)
  57150. t1.readChar$0();
  57151. if (t1.peekChar$0() !== 46)
  57152. _this._consumeNaturalNumber$0();
  57153. _this._tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2 && t3 && first !== 45);
  57154. _this._tryExponent$0();
  57155. number = A.double_parse(t1.substring$1(0, t2));
  57156. if (t1.scanChar$1(37))
  57157. unit = "%";
  57158. else {
  57159. if (_this.lookingAtIdentifier$0())
  57160. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  57161. else
  57162. t3 = false;
  57163. unit = t3 ? _this.identifier$1$unit(true) : null;
  57164. }
  57165. return new A.NumberExpression(number, unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  57166. },
  57167. _consumeNaturalNumber$0() {
  57168. var $self,
  57169. t1 = this.scanner,
  57170. t2 = t1.readChar$0();
  57171. if (!(t2 >= 48 && t2 <= 57))
  57172. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  57173. while (true) {
  57174. $self = t1.peekChar$0();
  57175. if (!($self != null && $self >= 48 && $self <= 57))
  57176. break;
  57177. t1.readChar$0();
  57178. }
  57179. },
  57180. _tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  57181. var $self,
  57182. t1 = this.scanner;
  57183. if (t1.peekChar$0() !== 46)
  57184. return;
  57185. $self = t1.peekChar$1(1);
  57186. if (!($self != null && $self >= 48 && $self <= 57)) {
  57187. if (allowTrailingDot)
  57188. return;
  57189. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  57190. }
  57191. t1.readChar$0();
  57192. while (true) {
  57193. $self = t1.peekChar$0();
  57194. if (!($self != null && $self >= 48 && $self <= 57))
  57195. break;
  57196. t1.readChar$0();
  57197. }
  57198. },
  57199. _tryExponent$0() {
  57200. var next, $self,
  57201. t1 = this.scanner,
  57202. first = t1.peekChar$0();
  57203. if (first !== 101 && first !== 69)
  57204. return;
  57205. next = t1.peekChar$1(1);
  57206. if (!(next != null && next >= 48 && next <= 57) && next !== 45 && next !== 43)
  57207. return;
  57208. t1.readChar$0();
  57209. if (43 === next || 45 === next)
  57210. t1.readChar$0();
  57211. $self = t1.peekChar$0();
  57212. if (!($self != null && $self >= 48 && $self <= 57))
  57213. t1.error$1(0, "Expected digit.");
  57214. while (true) {
  57215. $self = t1.peekChar$0();
  57216. if (!($self != null && $self >= 48 && $self <= 57))
  57217. break;
  57218. t1.readChar$0();
  57219. }
  57220. },
  57221. _unicodeRange$0() {
  57222. var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
  57223. _s26_ = "Expected at most 6 digits.",
  57224. t1 = _this.scanner,
  57225. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57226. _this.expectIdentChar$1(117);
  57227. t1.expectChar$1(43);
  57228. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure());)
  57229. ++firstRangeLength;
  57230. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  57231. ++firstRangeLength;
  57232. if (firstRangeLength === 0)
  57233. t1.error$1(0, 'Expected hex digit or "?".');
  57234. else if (firstRangeLength > 6)
  57235. _this.error$2(0, _s26_, t1.spanFrom$1(start));
  57236. else if (hasQuestionMark) {
  57237. t2 = t1.substring$1(0, start.position);
  57238. t1 = t1.spanFrom$1(start);
  57239. return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  57240. }
  57241. if (t1.scanChar$1(45)) {
  57242. t2 = t1._string_scanner$_position;
  57243. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure0());)
  57244. ++secondRangeLength;
  57245. if (secondRangeLength === 0)
  57246. t1.error$1(0, "Expected hex digit.");
  57247. else if (secondRangeLength > 6)
  57248. _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  57249. }
  57250. if (_this._lookingAtInterpolatedIdentifierBody$0())
  57251. t1.error$1(0, "Expected end of identifier.");
  57252. t2 = t1.substring$1(0, start.position);
  57253. t1 = t1.spanFrom$1(start);
  57254. return new A.StringExpression(A.Interpolation$(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  57255. },
  57256. _variable$0() {
  57257. var _this = this,
  57258. t1 = _this.scanner,
  57259. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  57260. $name = _this.variableName$0();
  57261. if (_this.get$plainCss())
  57262. _this.error$2(0, string$.Sass_v, t1.spanFrom$1(start));
  57263. return new A.VariableExpression(null, $name, t1.spanFrom$1(start));
  57264. },
  57265. _selector$0() {
  57266. var t1, start, _this = this;
  57267. if (_this.get$plainCss())
  57268. _this.scanner.error$2$length(0, string$.The_pa, 1);
  57269. t1 = _this.scanner;
  57270. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57271. t1.expectChar$1(38);
  57272. if (t1.scanChar$1(38)) {
  57273. _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
  57274. t1.set$position(t1._string_scanner$_position - 1);
  57275. }
  57276. return new A.SelectorExpression(t1.spanFrom$1(start));
  57277. },
  57278. interpolatedString$0() {
  57279. var t3, t4, buffer, _0_0, second, t5,
  57280. t1 = this.scanner,
  57281. t2 = t1._string_scanner$_position,
  57282. quote = t1.readChar$0();
  57283. if (quote !== 39 && quote !== 34)
  57284. t1.error$2$position(0, "Expected string.", t2);
  57285. t3 = new A.StringBuffer("");
  57286. t4 = A._setArrayType([], type$.JSArray_Object);
  57287. buffer = new A.InterpolationBuffer(t3, t4);
  57288. for (; true;) {
  57289. _0_0 = t1.peekChar$0();
  57290. if (_0_0 === quote) {
  57291. t1.readChar$0();
  57292. break;
  57293. }
  57294. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  57295. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  57296. if (92 === _0_0) {
  57297. second = t1.peekChar$1(1);
  57298. if (second === 10 || second === 13 || second === 12) {
  57299. t1.readChar$0();
  57300. t1.readChar$0();
  57301. if (second === 13)
  57302. t1.scanChar$1(10);
  57303. } else
  57304. t3._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(t1));
  57305. continue;
  57306. }
  57307. if (35 === _0_0 && t1.peekChar$1(1) === 123) {
  57308. t5 = this.singleInterpolation$0();
  57309. buffer._flushText$0();
  57310. t4.push(t5);
  57311. continue;
  57312. }
  57313. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  57314. }
  57315. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  57316. },
  57317. identifierLike$0() {
  57318. var invocation, expression, _0_0, color, t3, _1_0, specialFunction, _2_0, _2_2, _2_4, _this = this,
  57319. t1 = _this.scanner,
  57320. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  57321. identifier = _this.interpolatedIdentifier$0(),
  57322. plain = identifier.get$asPlain(),
  57323. lower = A._Cell$(),
  57324. t2 = plain != null;
  57325. if (t2) {
  57326. if (plain === "if" && t1.peekChar$0() === 40) {
  57327. invocation = _this._argumentInvocation$0();
  57328. return new A.IfExpression(invocation, identifier.span.expand$1(0, invocation.span));
  57329. } else if (plain === "not") {
  57330. _this.whitespace$0();
  57331. expression = _this._singleExpression$0();
  57332. return new A.UnaryOperationExpression(B.UnaryOperator_not_not_not, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  57333. }
  57334. lower._value = plain.toLowerCase();
  57335. if (t1.peekChar$0() !== 40) {
  57336. switch (plain) {
  57337. case "false":
  57338. return new A.BooleanExpression(false, identifier.span);
  57339. case "null":
  57340. return new A.NullExpression(identifier.span);
  57341. case "true":
  57342. return new A.BooleanExpression(true, identifier.span);
  57343. }
  57344. _0_0 = $.$get$colorsByName().$index(0, lower._readLocal$0());
  57345. if (_0_0 != null) {
  57346. color = _0_0;
  57347. t3 = true;
  57348. } else {
  57349. color = null;
  57350. t3 = false;
  57351. }
  57352. if (t3) {
  57353. t1 = identifier.span;
  57354. 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);
  57355. }
  57356. }
  57357. _1_0 = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  57358. if (_1_0 != null) {
  57359. specialFunction = _1_0;
  57360. t3 = true;
  57361. } else {
  57362. specialFunction = null;
  57363. t3 = false;
  57364. }
  57365. if (t3)
  57366. return specialFunction;
  57367. }
  57368. _2_0 = t1.peekChar$0();
  57369. _2_2 = A._InitializedCell$(new A.StylesheetParser_identifierLike_closure(_2_0));
  57370. _2_4 = A._InitializedCell$(new A.StylesheetParser_identifierLike_closure0(_2_0));
  57371. if (_2_2._readFinal$0() && t1.peekChar$1(1) === 46)
  57372. return new A.StringExpression(identifier, false);
  57373. if (_2_2._readFinal$0()) {
  57374. t1.readChar$0();
  57375. if (t2)
  57376. return _this.namespacedExpression$2(plain, start);
  57377. _this.error$2(0, string$.Interpn, identifier.span);
  57378. }
  57379. if (_2_4._readFinal$0() && t2)
  57380. return new A.FunctionExpression(null, plain, _this._argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var")), t1.spanFrom$1(start));
  57381. if (_2_4._readFinal$0())
  57382. return new A.InterpolatedFunctionExpression(identifier, _this._argumentInvocation$0(), t1.spanFrom$1(start));
  57383. return new A.StringExpression(identifier, false);
  57384. },
  57385. namespacedExpression$2(namespace, start) {
  57386. var $name, _this = this,
  57387. t1 = _this.scanner;
  57388. if (t1.peekChar$0() === 36) {
  57389. $name = _this.variableName$0();
  57390. _this._assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure(_this, start));
  57391. return new A.VariableExpression(namespace, $name, t1.spanFrom$1(start));
  57392. }
  57393. return new A.FunctionExpression(namespace, _this._publicIdentifier$0(), _this._argumentInvocation$0(), t1.spanFrom$1(start));
  57394. },
  57395. trySpecialFunction$2($name, start) {
  57396. var t1, buffer, t2, next, t3, _this = this,
  57397. normalized = A.unvendor($name);
  57398. $label0$0: {
  57399. if (!("calc" === normalized && normalized !== $name && _this.scanner.scanChar$1(40)))
  57400. t1 = ("element" === normalized || "expression" === normalized) && _this.scanner.scanChar$1(40);
  57401. else
  57402. t1 = true;
  57403. if (t1) {
  57404. t1 = new A.StringBuffer("");
  57405. buffer = new A.InterpolationBuffer(t1, A._setArrayType([], type$.JSArray_Object));
  57406. t1._contents = "" + $name;
  57407. t1._contents += A.Primitives_stringFromCharCode(40);
  57408. break $label0$0;
  57409. }
  57410. if ("progid" === normalized && _this.scanner.scanChar$1(58)) {
  57411. t1 = new A.StringBuffer("");
  57412. buffer = new A.InterpolationBuffer(t1, A._setArrayType([], type$.JSArray_Object));
  57413. t1._contents = "" + $name;
  57414. t1._contents += A.Primitives_stringFromCharCode(58);
  57415. t2 = _this.scanner;
  57416. next = t2.peekChar$0();
  57417. while (true) {
  57418. if (next != null) {
  57419. if (!(next >= 97 && next <= 122))
  57420. t3 = next >= 65 && next <= 90;
  57421. else
  57422. t3 = true;
  57423. t3 = t3 || next === 46;
  57424. } else
  57425. t3 = false;
  57426. if (!t3)
  57427. break;
  57428. t1._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  57429. next = t2.peekChar$0();
  57430. }
  57431. t2.expectChar$1(40);
  57432. t1._contents += A.Primitives_stringFromCharCode(40);
  57433. break $label0$0;
  57434. }
  57435. if ("url" === normalized)
  57436. return A.NullableExtension_andThen(_this._tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure());
  57437. return null;
  57438. }
  57439. buffer.addInterpolation$1(_this._interpolatedDeclarationValue$1$allowEmpty(true));
  57440. t1 = _this.scanner;
  57441. t1.expectChar$1(41);
  57442. buffer._interpolation_buffer$_text._contents += A.Primitives_stringFromCharCode(41);
  57443. return new A.StringExpression(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  57444. },
  57445. _tryUrlContents$2$name(start, $name) {
  57446. var t3, t4, buffer, _0_0, _0_6, t5, endPosition, result, _this = this,
  57447. t1 = _this.scanner,
  57448. t2 = t1._string_scanner$_position;
  57449. if (!t1.scanChar$1(40))
  57450. return null;
  57451. _this.whitespaceWithoutComments$0();
  57452. t3 = new A.StringBuffer("");
  57453. t4 = A._setArrayType([], type$.JSArray_Object);
  57454. buffer = new A.InterpolationBuffer(t3, t4);
  57455. t3._contents = "" + ($name == null ? "url" : $name);
  57456. t3._contents += A.Primitives_stringFromCharCode(40);
  57457. for (; true;) {
  57458. _0_0 = t1.peekChar$0();
  57459. _0_6 = A._InitializedCell$(new A.StylesheetParser__tryUrlContents_closure(_0_0));
  57460. if (_0_0 == null)
  57461. break;
  57462. if (92 === _0_0) {
  57463. t3._contents += _this.escape$0();
  57464. continue;
  57465. }
  57466. if (_0_6._readFinal$0() && t1.peekChar$1(1) === 123) {
  57467. t5 = _this.singleInterpolation$0();
  57468. buffer._flushText$0();
  57469. t4.push(t5);
  57470. continue;
  57471. }
  57472. if (33 !== _0_0)
  57473. if (37 !== _0_0)
  57474. if (38 !== _0_0)
  57475. if (!_0_6._readFinal$0())
  57476. t5 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  57477. else
  57478. t5 = true;
  57479. else
  57480. t5 = true;
  57481. else
  57482. t5 = true;
  57483. else
  57484. t5 = true;
  57485. if (t5) {
  57486. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  57487. continue;
  57488. }
  57489. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  57490. _this.whitespaceWithoutComments$0();
  57491. if (t1.peekChar$0() !== 41)
  57492. break;
  57493. continue;
  57494. }
  57495. if (41 === _0_0) {
  57496. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  57497. endPosition = t1._string_scanner$_position;
  57498. t2 = t1._sourceFile;
  57499. t5 = start.position;
  57500. t1 = new A._FileSpan(t2, t5, endPosition);
  57501. t1._FileSpan$3(t2, t5, endPosition);
  57502. t5 = type$.Object;
  57503. t2 = A.List_List$of(t4, true, t5);
  57504. t4 = t3._contents;
  57505. if (t4.length !== 0)
  57506. t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
  57507. result = A.List_List$from(t2, false, t5);
  57508. result.fixed$length = Array;
  57509. result.immutable$list = Array;
  57510. t3 = new A.Interpolation(result, t1);
  57511. t3.Interpolation$2(t2, t1);
  57512. return t3;
  57513. }
  57514. break;
  57515. }
  57516. t1.set$state(new A._SpanScannerState(t1, t2));
  57517. return null;
  57518. },
  57519. _tryUrlContents$1(start) {
  57520. return this._tryUrlContents$2$name(start, null);
  57521. },
  57522. dynamicUrl$0() {
  57523. var _0_0, contents, t2, _this = this,
  57524. t1 = _this.scanner,
  57525. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  57526. _this.expectIdentifier$1("url");
  57527. _0_0 = _this._tryUrlContents$1(start);
  57528. if (_0_0 != null) {
  57529. contents = _0_0;
  57530. t2 = true;
  57531. } else {
  57532. contents = null;
  57533. t2 = false;
  57534. }
  57535. if (t2)
  57536. return new A.StringExpression(contents, false);
  57537. return new A.InterpolatedFunctionExpression(A.Interpolation$(A._setArrayType(["url"], type$.JSArray_Object), t1.spanFrom$1(start)), _this._argumentInvocation$0(), t1.spanFrom$1(start));
  57538. },
  57539. almostAnyValue$1$omitComments(omitComments) {
  57540. var t4, t5, t6, _1_0, commentStart, end, t7, _0_0, contents, t8, _this = this,
  57541. t1 = _this.scanner,
  57542. t2 = t1._string_scanner$_position,
  57543. t3 = new A.StringBuffer(""),
  57544. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  57545. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;)
  57546. $label0$0: {
  57547. _1_0 = t1.peekChar$0();
  57548. if (92 === _1_0) {
  57549. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  57550. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  57551. break $label0$0;
  57552. }
  57553. if (34 === _1_0 || 39 === _1_0) {
  57554. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  57555. break $label0$0;
  57556. }
  57557. if (47 === _1_0) {
  57558. commentStart = t1._string_scanner$_position;
  57559. if (_this.scanComment$0()) {
  57560. if (t6) {
  57561. end = t1._string_scanner$_position;
  57562. t3._contents += B.JSString_methods.substring$2(t4, commentStart, end);
  57563. }
  57564. } else
  57565. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  57566. break $label0$0;
  57567. }
  57568. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  57569. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  57570. break $label0$0;
  57571. }
  57572. if (13 === _1_0 || 10 === _1_0 || 12 === _1_0) {
  57573. if (_this.get$indented())
  57574. break;
  57575. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  57576. break $label0$0;
  57577. }
  57578. if (33 === _1_0 || 59 === _1_0 || 123 === _1_0 || 125 === _1_0)
  57579. break;
  57580. if (117 === _1_0 || 85 === _1_0) {
  57581. t7 = t1._string_scanner$_position;
  57582. if (!_this.scanIdentifier$1("url")) {
  57583. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  57584. continue;
  57585. }
  57586. _0_0 = _this._tryUrlContents$1(new A._SpanScannerState(t1, t7));
  57587. if (_0_0 != null) {
  57588. contents = _0_0;
  57589. t8 = true;
  57590. } else {
  57591. contents = null;
  57592. t8 = false;
  57593. }
  57594. if (t8)
  57595. buffer.addInterpolation$1(contents);
  57596. else {
  57597. if ((t7 === 0 ? 1 / t7 < 0 : t7 < 0) || t7 > t5)
  57598. A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
  57599. t1._string_scanner$_position = t7;
  57600. t1._lastMatch = null;
  57601. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  57602. }
  57603. break $label0$0;
  57604. }
  57605. if (_1_0 == null)
  57606. break;
  57607. t7 = _this.lookingAtIdentifier$0();
  57608. if (t7) {
  57609. t3._contents += _this.identifier$0();
  57610. break $label0$0;
  57611. }
  57612. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  57613. }
  57614. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  57615. },
  57616. almostAnyValue$0() {
  57617. return this.almostAnyValue$1$omitComments(false);
  57618. },
  57619. _interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
  57620. var t4, t5, t6, t7, wroteNewline, _1_0, _1_12, _1_14, _1_16, _1_18, _1_20, t8, start, end, bracket, _0_0, contents, t9, _this = this,
  57621. t1 = _this.scanner,
  57622. t2 = t1._string_scanner$_position,
  57623. t3 = new A.StringBuffer(""),
  57624. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object)),
  57625. brackets = A._setArrayType([], type$.JSArray_int);
  57626. for (t4 = t1.string, t5 = t4.length, t6 = !allowColon, t7 = !allowSemicolon, wroteNewline = false; true;)
  57627. $label0$0: {
  57628. _1_0 = t1.peekChar$0();
  57629. _1_12 = A._InitializedCell$(new A.StylesheetParser__interpolatedDeclarationValue_closure(_1_0));
  57630. _1_14 = A._InitializedCell$(new A.StylesheetParser__interpolatedDeclarationValue_closure0(_1_0));
  57631. _1_16 = A._InitializedCell$(new A.StylesheetParser__interpolatedDeclarationValue_closure1(_1_0));
  57632. _1_18 = A._InitializedCell$(new A.StylesheetParser__interpolatedDeclarationValue_closure2(_1_0));
  57633. _1_20 = A._InitializedCell$(new A.StylesheetParser__interpolatedDeclarationValue_closure3(_1_0));
  57634. if (92 === _1_0) {
  57635. t3._contents += _this.escape$1$identifierStart(true);
  57636. wroteNewline = false;
  57637. break $label0$0;
  57638. }
  57639. if (34 === _1_0 || 39 === _1_0) {
  57640. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  57641. wroteNewline = false;
  57642. break $label0$0;
  57643. }
  57644. if (47 === _1_0 && t1.peekChar$1(1) === 42) {
  57645. t8 = _this.get$loudComment();
  57646. start = t1._string_scanner$_position;
  57647. t8.call$0();
  57648. end = t1._string_scanner$_position;
  57649. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  57650. wroteNewline = false;
  57651. break $label0$0;
  57652. }
  57653. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  57654. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  57655. wroteNewline = false;
  57656. break $label0$0;
  57657. }
  57658. if (_1_12._readFinal$0() || _1_14._readFinal$0())
  57659. if (!wroteNewline) {
  57660. t8 = t1.peekChar$1(1);
  57661. t8 = t8 === 32 || t8 === 9 || t8 === 10 || t8 === 13 || t8 === 12;
  57662. } else
  57663. t8 = false;
  57664. else
  57665. t8 = false;
  57666. if (t8) {
  57667. t1.readChar$0();
  57668. break $label0$0;
  57669. }
  57670. if (_1_12._readFinal$0() || _1_14._readFinal$0()) {
  57671. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  57672. break $label0$0;
  57673. }
  57674. if ((_1_16._readFinal$0() || _1_18._readFinal$0() || _1_20._readFinal$0()) && _this.get$indented())
  57675. break;
  57676. if (_1_16._readFinal$0() || _1_18._readFinal$0() || _1_20._readFinal$0()) {
  57677. t8 = t1.peekChar$1(-1);
  57678. if (!(t8 === 10 || t8 === 13 || t8 === 12))
  57679. t3._contents += "\n";
  57680. t1.readChar$0();
  57681. wroteNewline = true;
  57682. break $label0$0;
  57683. }
  57684. if (40 === _1_0 || 123 === _1_0 || 91 === _1_0) {
  57685. bracket = t1.readChar$0();
  57686. t3._contents += A.Primitives_stringFromCharCode(bracket);
  57687. brackets.push(A.opposite(bracket));
  57688. wroteNewline = false;
  57689. break $label0$0;
  57690. }
  57691. if (41 === _1_0 || 125 === _1_0 || 93 === _1_0) {
  57692. if (brackets.length === 0)
  57693. break;
  57694. bracket = brackets.pop();
  57695. t1.expectChar$1(bracket);
  57696. t3._contents += A.Primitives_stringFromCharCode(bracket);
  57697. wroteNewline = false;
  57698. break $label0$0;
  57699. }
  57700. if (59 === _1_0) {
  57701. if (t7 && brackets.length === 0)
  57702. break;
  57703. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  57704. wroteNewline = false;
  57705. break $label0$0;
  57706. }
  57707. if (58 === _1_0) {
  57708. if (t6 && brackets.length === 0)
  57709. break;
  57710. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  57711. wroteNewline = false;
  57712. break $label0$0;
  57713. }
  57714. if (117 === _1_0 || 85 === _1_0) {
  57715. t8 = t1._string_scanner$_position;
  57716. if (!_this.scanIdentifier$1("url")) {
  57717. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  57718. wroteNewline = false;
  57719. continue;
  57720. }
  57721. _0_0 = _this._tryUrlContents$1(new A._SpanScannerState(t1, t8));
  57722. if (_0_0 != null) {
  57723. contents = _0_0;
  57724. t9 = true;
  57725. } else {
  57726. contents = null;
  57727. t9 = false;
  57728. }
  57729. if (t9)
  57730. buffer.addInterpolation$1(contents);
  57731. else {
  57732. if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
  57733. A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
  57734. t1._string_scanner$_position = t8;
  57735. t1._lastMatch = null;
  57736. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  57737. }
  57738. wroteNewline = false;
  57739. break $label0$0;
  57740. }
  57741. if (_1_0 == null)
  57742. break;
  57743. t8 = _this.lookingAtIdentifier$0();
  57744. if (t8) {
  57745. t3._contents += _this.identifier$0();
  57746. wroteNewline = false;
  57747. break $label0$0;
  57748. }
  57749. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  57750. wroteNewline = false;
  57751. }
  57752. if (brackets.length !== 0)
  57753. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  57754. if (!allowEmpty && buffer._interpolation_buffer$_contents.length === 0 && t3._contents.length === 0)
  57755. t1.error$1(0, "Expected token.");
  57756. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  57757. },
  57758. _interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  57759. return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, false);
  57760. },
  57761. _interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
  57762. return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, allowSemicolon);
  57763. },
  57764. _interpolatedDeclarationValue$0() {
  57765. return this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, false, false);
  57766. },
  57767. interpolatedIdentifier$0() {
  57768. var _0_0, _this = this,
  57769. _s20_ = "Expected identifier.",
  57770. t1 = _this.scanner,
  57771. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  57772. t2 = new A.StringBuffer(""),
  57773. t3 = A._setArrayType([], type$.JSArray_Object),
  57774. buffer = new A.InterpolationBuffer(t2, t3);
  57775. if (t1.scanChar$1(45)) {
  57776. t2._contents += A.Primitives_stringFromCharCode(45);
  57777. if (t1.scanChar$1(45)) {
  57778. t2._contents += A.Primitives_stringFromCharCode(45);
  57779. _this._interpolatedIdentifierBody$1(buffer);
  57780. return buffer.interpolation$1(t1.spanFrom$1(start));
  57781. }
  57782. }
  57783. $label0$0: {
  57784. _0_0 = t1.peekChar$0();
  57785. if (_0_0 == null)
  57786. t1.error$1(0, _s20_);
  57787. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128) {
  57788. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  57789. break $label0$0;
  57790. }
  57791. if (92 === _0_0) {
  57792. t2._contents += _this.escape$1$identifierStart(true);
  57793. break $label0$0;
  57794. }
  57795. if (35 === _0_0 && t1.peekChar$1(1) === 123) {
  57796. t2 = _this.singleInterpolation$0();
  57797. buffer._flushText$0();
  57798. t3.push(t2);
  57799. break $label0$0;
  57800. }
  57801. t1.error$1(0, _s20_);
  57802. }
  57803. _this._interpolatedIdentifierBody$1(buffer);
  57804. return buffer.interpolation$1(t1.spanFrom$1(start));
  57805. },
  57806. _interpolatedIdentifierBody$1(buffer) {
  57807. var t1, t2, t3, _0_0, t4;
  57808. for (t1 = buffer._interpolation_buffer$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer$_text; true;) {
  57809. _0_0 = t2.peekChar$0();
  57810. if (_0_0 == null)
  57811. break;
  57812. if (95 !== _0_0)
  57813. if (45 !== _0_0) {
  57814. if (!(_0_0 >= 97 && _0_0 <= 122))
  57815. t4 = _0_0 >= 65 && _0_0 <= 90;
  57816. else
  57817. t4 = true;
  57818. if (!t4)
  57819. t4 = _0_0 >= 48 && _0_0 <= 57;
  57820. else
  57821. t4 = true;
  57822. t4 = t4 || _0_0 >= 128;
  57823. } else
  57824. t4 = true;
  57825. else
  57826. t4 = true;
  57827. if (t4) {
  57828. t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  57829. continue;
  57830. }
  57831. if (92 === _0_0) {
  57832. t3._contents += this.escape$0();
  57833. continue;
  57834. }
  57835. if (35 === _0_0 && t2.peekChar$1(1) === 123) {
  57836. t4 = this.singleInterpolation$0();
  57837. buffer._flushText$0();
  57838. t1.push(t4);
  57839. continue;
  57840. }
  57841. break;
  57842. }
  57843. },
  57844. singleInterpolation$0() {
  57845. var contents, _this = this,
  57846. t1 = _this.scanner,
  57847. t2 = t1._string_scanner$_position;
  57848. t1.expect$1("#{");
  57849. _this.whitespace$0();
  57850. contents = _this._expression$0();
  57851. t1.expectChar$1(125);
  57852. if (_this.get$plainCss())
  57853. _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  57854. return contents;
  57855. },
  57856. _mediaQueryList$0() {
  57857. var _this = this,
  57858. t1 = _this.scanner,
  57859. t2 = t1._string_scanner$_position,
  57860. t3 = new A.StringBuffer(""),
  57861. buffer = new A.InterpolationBuffer(t3, A._setArrayType([], type$.JSArray_Object));
  57862. for (; true;) {
  57863. _this.whitespace$0();
  57864. _this._stylesheet$_mediaQuery$1(buffer);
  57865. _this.whitespace$0();
  57866. if (!t1.scanChar$1(44))
  57867. break;
  57868. t3._contents += A.Primitives_stringFromCharCode(44);
  57869. t3._contents += A.Primitives_stringFromCharCode(32);
  57870. }
  57871. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  57872. },
  57873. _stylesheet$_mediaQuery$1(buffer) {
  57874. var identifier1, t1, identifier2, _this = this, _s3_ = "and";
  57875. if (_this.scanner.peekChar$0() === 40) {
  57876. _this._stylesheet$_mediaInParens$1(buffer);
  57877. _this.whitespace$0();
  57878. if (_this.scanIdentifier$1(_s3_)) {
  57879. buffer._interpolation_buffer$_text._contents += " and ";
  57880. _this.expectWhitespace$0();
  57881. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  57882. } else if (_this.scanIdentifier$1("or")) {
  57883. buffer._interpolation_buffer$_text._contents += " or ";
  57884. _this.expectWhitespace$0();
  57885. _this._stylesheet$_mediaLogicSequence$2(buffer, "or");
  57886. }
  57887. return;
  57888. }
  57889. identifier1 = _this.interpolatedIdentifier$0();
  57890. if (A.equalsIgnoreCase(identifier1.get$asPlain(), "not")) {
  57891. _this.expectWhitespace$0();
  57892. if (!_this._lookingAtInterpolatedIdentifier$0()) {
  57893. buffer._interpolation_buffer$_text._contents += "not ";
  57894. _this._mediaOrInterp$1(buffer);
  57895. return;
  57896. }
  57897. }
  57898. _this.whitespace$0();
  57899. buffer.addInterpolation$1(identifier1);
  57900. if (!_this._lookingAtInterpolatedIdentifier$0())
  57901. return;
  57902. t1 = buffer._interpolation_buffer$_text;
  57903. t1._contents += A.Primitives_stringFromCharCode(32);
  57904. identifier2 = _this.interpolatedIdentifier$0();
  57905. if (A.equalsIgnoreCase(identifier2.get$asPlain(), _s3_)) {
  57906. _this.expectWhitespace$0();
  57907. t1._contents += " and ";
  57908. } else {
  57909. _this.whitespace$0();
  57910. buffer.addInterpolation$1(identifier2);
  57911. if (_this.scanIdentifier$1(_s3_)) {
  57912. _this.expectWhitespace$0();
  57913. t1._contents += " and ";
  57914. } else
  57915. return;
  57916. }
  57917. if (_this.scanIdentifier$1("not")) {
  57918. _this.expectWhitespace$0();
  57919. t1._contents += "not ";
  57920. _this._mediaOrInterp$1(buffer);
  57921. return;
  57922. }
  57923. _this._stylesheet$_mediaLogicSequence$2(buffer, _s3_);
  57924. return;
  57925. },
  57926. _stylesheet$_mediaLogicSequence$2(buffer, operator) {
  57927. var t1, t2, _this = this;
  57928. for (t1 = buffer._interpolation_buffer$_text; true;) {
  57929. _this._mediaOrInterp$1(buffer);
  57930. _this.whitespace$0();
  57931. if (!_this.scanIdentifier$1(operator))
  57932. return;
  57933. _this.expectWhitespace$0();
  57934. t2 = t1._contents += A.Primitives_stringFromCharCode(32);
  57935. t1._contents = t2 + operator;
  57936. t1._contents += A.Primitives_stringFromCharCode(32);
  57937. }
  57938. },
  57939. _mediaOrInterp$1(buffer) {
  57940. var interpolation;
  57941. if (this.scanner.peekChar$0() === 35) {
  57942. interpolation = this.singleInterpolation$0();
  57943. buffer.addInterpolation$1(A.Interpolation$(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation)));
  57944. } else
  57945. this._stylesheet$_mediaInParens$1(buffer);
  57946. },
  57947. _stylesheet$_mediaInParens$1(buffer) {
  57948. var t2, t3, t4, next, t5, _this = this,
  57949. t1 = _this.scanner;
  57950. t1.expectChar$2$name(40, "media condition in parentheses");
  57951. t2 = buffer._interpolation_buffer$_text;
  57952. t2._contents += A.Primitives_stringFromCharCode(40);
  57953. _this.whitespace$0();
  57954. if (t1.peekChar$0() === 40) {
  57955. _this._stylesheet$_mediaInParens$1(buffer);
  57956. _this.whitespace$0();
  57957. if (_this.scanIdentifier$1("and")) {
  57958. t2._contents += " and ";
  57959. _this.expectWhitespace$0();
  57960. _this._stylesheet$_mediaLogicSequence$2(buffer, "and");
  57961. } else if (_this.scanIdentifier$1("or")) {
  57962. t2._contents += " or ";
  57963. _this.expectWhitespace$0();
  57964. _this._stylesheet$_mediaLogicSequence$2(buffer, "or");
  57965. }
  57966. } else if (_this.scanIdentifier$1("not")) {
  57967. t2._contents += "not ";
  57968. _this.expectWhitespace$0();
  57969. _this._mediaOrInterp$1(buffer);
  57970. } else {
  57971. t3 = _this._expressionUntilComparison$0();
  57972. buffer._flushText$0();
  57973. t4 = buffer._interpolation_buffer$_contents;
  57974. t4.push(t3);
  57975. if (t1.scanChar$1(58)) {
  57976. _this.whitespace$0();
  57977. t2._contents += A.Primitives_stringFromCharCode(58);
  57978. t2._contents += A.Primitives_stringFromCharCode(32);
  57979. t3 = _this._expression$0();
  57980. buffer._flushText$0();
  57981. t4.push(t3);
  57982. } else {
  57983. next = t1.peekChar$0();
  57984. t3 = 60 !== next;
  57985. if (!t3 || 62 === next || 61 === next) {
  57986. t2._contents += A.Primitives_stringFromCharCode(32);
  57987. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  57988. if ((!t3 || 62 === next) && t1.scanChar$1(61))
  57989. t2._contents += A.Primitives_stringFromCharCode(61);
  57990. t2._contents += A.Primitives_stringFromCharCode(32);
  57991. _this.whitespace$0();
  57992. t5 = _this._expressionUntilComparison$0();
  57993. buffer._flushText$0();
  57994. t4.push(t5);
  57995. if (!t3 || 62 === next) {
  57996. next.toString;
  57997. t3 = t1.scanChar$1(next);
  57998. } else
  57999. t3 = false;
  58000. if (t3) {
  58001. t2._contents += A.Primitives_stringFromCharCode(32);
  58002. t2._contents += A.Primitives_stringFromCharCode(next);
  58003. if (t1.scanChar$1(61))
  58004. t2._contents += A.Primitives_stringFromCharCode(61);
  58005. t2._contents += A.Primitives_stringFromCharCode(32);
  58006. _this.whitespace$0();
  58007. t3 = _this._expressionUntilComparison$0();
  58008. buffer._flushText$0();
  58009. t4.push(t3);
  58010. }
  58011. }
  58012. }
  58013. }
  58014. t1.expectChar$1(41);
  58015. _this.whitespace$0();
  58016. t2._contents += A.Primitives_stringFromCharCode(41);
  58017. },
  58018. _expressionUntilComparison$0() {
  58019. return this._expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure(this));
  58020. },
  58021. _supportsCondition$0() {
  58022. var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
  58023. t1 = _this.scanner,
  58024. t2 = t1._string_scanner$_position;
  58025. if (_this.scanIdentifier$1("not")) {
  58026. _this.whitespace$0();
  58027. return new A.SupportsNegation(_this._supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  58028. }
  58029. condition = _this._supportsConditionInParens$0();
  58030. _this.whitespace$0();
  58031. for (operator = null; _this.lookingAtIdentifier$0();) {
  58032. if (operator != null)
  58033. _this.expectIdentifier$1(operator);
  58034. else if (_this.scanIdentifier$1("or"))
  58035. operator = "or";
  58036. else {
  58037. _this.expectIdentifier$1("and");
  58038. operator = "and";
  58039. }
  58040. _this.whitespace$0();
  58041. right = _this._supportsConditionInParens$0();
  58042. endPosition = t1._string_scanner$_position;
  58043. t3 = t1._sourceFile;
  58044. t4 = new A._FileSpan(t3, t2, endPosition);
  58045. t4._FileSpan$3(t3, t2, endPosition);
  58046. condition = new A.SupportsOperation(condition, right, operator, t4);
  58047. lowerOperator = operator.toLowerCase();
  58048. if (lowerOperator !== "and" && lowerOperator !== "or")
  58049. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  58050. _this.whitespace$0();
  58051. }
  58052. return condition;
  58053. },
  58054. _supportsConditionInParens$0() {
  58055. var $name, nameStart, wasInParentheses, identifier, operation, _1_0, contents, identifier0, t2, $arguments, _0_0, _0_4, expression, condition, exception, declaration, _this = this,
  58056. t1 = _this.scanner,
  58057. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58058. if (_this._lookingAtInterpolatedIdentifier$0()) {
  58059. identifier0 = _this.interpolatedIdentifier$0();
  58060. t2 = identifier0.get$asPlain();
  58061. if ((t2 == null ? null : t2.toLowerCase()) === "not")
  58062. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  58063. if (t1.scanChar$1(40)) {
  58064. $arguments = _this._interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  58065. t1.expectChar$1(41);
  58066. return new A.SupportsFunction(identifier0, $arguments, t1.spanFrom$1(start));
  58067. } else {
  58068. _0_0 = identifier0.contents;
  58069. _0_4 = A._InitializedCell$(new A.StylesheetParser__supportsConditionInParens_closure(_0_0));
  58070. if (_0_0.length === 1)
  58071. if (type$.Expression._is(_0_4._readFinal$0())) {
  58072. expression = _0_4._readFinal$0();
  58073. t2 = true;
  58074. } else {
  58075. expression = null;
  58076. t2 = false;
  58077. }
  58078. else {
  58079. expression = null;
  58080. t2 = false;
  58081. }
  58082. if (t2)
  58083. return new A.SupportsInterpolation(expression, t1.spanFrom$1(start));
  58084. else
  58085. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  58086. }
  58087. }
  58088. t1.expectChar$1(40);
  58089. _this.whitespace$0();
  58090. if (_this.scanIdentifier$1("not")) {
  58091. _this.whitespace$0();
  58092. condition = _this._supportsConditionInParens$0();
  58093. t1.expectChar$1(41);
  58094. return new A.SupportsNegation(condition, t1.spanFrom$1(start));
  58095. } else if (t1.peekChar$0() === 40) {
  58096. condition = _this._supportsCondition$0();
  58097. t1.expectChar$1(41);
  58098. return condition;
  58099. }
  58100. $name = null;
  58101. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58102. wasInParentheses = _this._inParentheses;
  58103. try {
  58104. $name = _this._expression$0();
  58105. t1.expectChar$1(58);
  58106. } catch (exception) {
  58107. if (type$.FormatException._is(A.unwrapException(exception))) {
  58108. t1.set$state(nameStart);
  58109. _this._inParentheses = wasInParentheses;
  58110. identifier = _this.interpolatedIdentifier$0();
  58111. operation = null;
  58112. _1_0 = _this._trySupportsOperation$2(identifier, nameStart);
  58113. if (_1_0 != null) {
  58114. operation = _1_0;
  58115. t2 = true;
  58116. } else
  58117. t2 = false;
  58118. if (t2) {
  58119. t1.expectChar$1(41);
  58120. return operation;
  58121. }
  58122. t2 = new A.InterpolationBuffer(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  58123. t2.addInterpolation$1(identifier);
  58124. t2.addInterpolation$1(_this._interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
  58125. contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
  58126. if (t1.peekChar$0() === 58)
  58127. throw exception;
  58128. t1.expectChar$1(41);
  58129. return new A.SupportsAnything(contents, t1.spanFrom$1(start));
  58130. } else
  58131. throw exception;
  58132. }
  58133. declaration = _this._supportsDeclarationValue$2($name, start);
  58134. t1.expectChar$1(41);
  58135. return declaration;
  58136. },
  58137. _supportsDeclarationValue$2($name, start) {
  58138. var t1, value, _this = this;
  58139. if ($name instanceof A.StringExpression)
  58140. if (!$name.hasQuotes)
  58141. t1 = B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  58142. else
  58143. t1 = false;
  58144. else
  58145. t1 = false;
  58146. if (t1)
  58147. value = new A.StringExpression(_this._interpolatedDeclarationValue$0(), false);
  58148. else {
  58149. _this.whitespace$0();
  58150. value = _this._expression$0();
  58151. }
  58152. return new A.SupportsDeclaration($name, value, _this.scanner.spanFrom$1(start));
  58153. },
  58154. _trySupportsOperation$2(interpolation, start) {
  58155. var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
  58156. t1 = interpolation.contents;
  58157. if (t1.length !== 1)
  58158. return _null;
  58159. expression = B.JSArray_methods.get$first(t1);
  58160. if (!type$.Expression._is(expression))
  58161. return _null;
  58162. t1 = _this.scanner;
  58163. beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
  58164. _this.whitespace$0();
  58165. for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  58166. if (operator != null)
  58167. _this.expectIdentifier$1(operator);
  58168. else if (_this.scanIdentifier$1("and"))
  58169. operator = "and";
  58170. else {
  58171. if (!_this.scanIdentifier$1("or")) {
  58172. if (beforeWhitespace._scanner !== t1)
  58173. A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
  58174. t2 = beforeWhitespace.position;
  58175. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  58176. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  58177. t1._string_scanner$_position = t2;
  58178. return t1._lastMatch = null;
  58179. }
  58180. operator = "or";
  58181. }
  58182. _this.whitespace$0();
  58183. right = _this._supportsConditionInParens$0();
  58184. t4 = operation == null ? new A.SupportsInterpolation(expression, t3) : operation;
  58185. endPosition = t1._string_scanner$_position;
  58186. t5 = t1._sourceFile;
  58187. t6 = new A._FileSpan(t5, t2, endPosition);
  58188. t6._FileSpan$3(t5, t2, endPosition);
  58189. operation = new A.SupportsOperation(t4, right, operator, t6);
  58190. lowerOperator = operator.toLowerCase();
  58191. if (lowerOperator !== "and" && lowerOperator !== "or")
  58192. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  58193. _this.whitespace$0();
  58194. }
  58195. return operation;
  58196. },
  58197. _lookingAtInterpolatedIdentifier$0() {
  58198. var _0_0,
  58199. t1 = this.scanner,
  58200. _1_0 = t1.peekChar$0();
  58201. $label0$0: {
  58202. if (_1_0 == null) {
  58203. t1 = false;
  58204. break $label0$0;
  58205. }
  58206. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128 || 92 === _1_0) {
  58207. t1 = true;
  58208. break $label0$0;
  58209. }
  58210. if (35 === _1_0) {
  58211. t1 = t1.peekChar$1(1) === 123;
  58212. break $label0$0;
  58213. }
  58214. if (45 === _1_0) {
  58215. _0_0 = t1.peekChar$1(1);
  58216. $label1$1: {
  58217. if (_0_0 == null) {
  58218. t1 = false;
  58219. break $label1$1;
  58220. }
  58221. if (35 === _0_0) {
  58222. t1 = t1.peekChar$1(2) === 123;
  58223. break $label1$1;
  58224. }
  58225. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128 || 92 === _0_0 || 45 === _0_0) {
  58226. t1 = true;
  58227. break $label1$1;
  58228. }
  58229. t1 = false;
  58230. break $label1$1;
  58231. }
  58232. break $label0$0;
  58233. }
  58234. t1 = false;
  58235. break $label0$0;
  58236. }
  58237. return t1;
  58238. },
  58239. _lookingAtPotentialPropertyHack$0() {
  58240. var t1 = this.scanner,
  58241. _0_0 = t1.peekChar$0();
  58242. $label0$0: {
  58243. if (58 === _0_0 || 42 === _0_0 || 46 === _0_0) {
  58244. t1 = true;
  58245. break $label0$0;
  58246. }
  58247. if (35 === _0_0) {
  58248. t1 = t1.peekChar$1(1) !== 123;
  58249. break $label0$0;
  58250. }
  58251. t1 = false;
  58252. break $label0$0;
  58253. }
  58254. return t1;
  58255. },
  58256. _lookingAtInterpolatedIdentifierBody$0() {
  58257. var t2,
  58258. t1 = this.scanner,
  58259. _0_0 = t1.peekChar$0();
  58260. $label0$0: {
  58261. if (_0_0 == null) {
  58262. t1 = false;
  58263. break $label0$0;
  58264. }
  58265. if (!(_0_0 === 95 || A.CharacterExtension_get_isAlphabetic(_0_0) || _0_0 >= 128))
  58266. t2 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  58267. else
  58268. t2 = true;
  58269. if (t2 || 92 === _0_0) {
  58270. t1 = true;
  58271. break $label0$0;
  58272. }
  58273. if (35 === _0_0) {
  58274. t1 = t1.peekChar$1(1) === 123;
  58275. break $label0$0;
  58276. }
  58277. t1 = false;
  58278. break $label0$0;
  58279. }
  58280. return t1;
  58281. },
  58282. _lookingAtExpression$0() {
  58283. var _0_0,
  58284. t1 = this.scanner,
  58285. _1_0 = t1.peekChar$0();
  58286. $label0$0: {
  58287. if (_1_0 == null) {
  58288. t1 = false;
  58289. break $label0$0;
  58290. }
  58291. if (46 === _1_0) {
  58292. t1 = t1.peekChar$1(1) !== 46;
  58293. break $label0$0;
  58294. }
  58295. if (33 === _1_0) {
  58296. _0_0 = t1.peekChar$1(1);
  58297. $label1$1: {
  58298. if (_0_0 != null)
  58299. if (105 !== _0_0)
  58300. if (73 !== _0_0)
  58301. t1 = _0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12;
  58302. else
  58303. t1 = true;
  58304. else
  58305. t1 = true;
  58306. else
  58307. t1 = true;
  58308. if (t1) {
  58309. t1 = true;
  58310. break $label1$1;
  58311. }
  58312. t1 = false;
  58313. break $label1$1;
  58314. }
  58315. break $label0$0;
  58316. }
  58317. if (40 !== _1_0)
  58318. if (47 !== _1_0)
  58319. if (91 !== _1_0)
  58320. if (39 !== _1_0)
  58321. if (34 !== _1_0)
  58322. if (35 !== _1_0)
  58323. if (43 !== _1_0)
  58324. if (45 !== _1_0)
  58325. if (92 !== _1_0)
  58326. if (36 !== _1_0)
  58327. if (38 !== _1_0)
  58328. if (!(_1_0 === 95 || A.CharacterExtension_get_isAlphabetic(_1_0) || _1_0 >= 128))
  58329. t1 = _1_0 >= 48 && _1_0 <= 57;
  58330. else
  58331. t1 = true;
  58332. else
  58333. t1 = true;
  58334. else
  58335. t1 = true;
  58336. else
  58337. t1 = true;
  58338. else
  58339. t1 = true;
  58340. else
  58341. t1 = true;
  58342. else
  58343. t1 = true;
  58344. else
  58345. t1 = true;
  58346. else
  58347. t1 = true;
  58348. else
  58349. t1 = true;
  58350. else
  58351. t1 = true;
  58352. else
  58353. t1 = true;
  58354. if (t1) {
  58355. t1 = true;
  58356. break $label0$0;
  58357. }
  58358. t1 = false;
  58359. break $label0$0;
  58360. }
  58361. return t1;
  58362. },
  58363. _withChildren$1$3(child, start, create) {
  58364. var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
  58365. this.whitespaceWithoutComments$0();
  58366. return result;
  58367. },
  58368. _withChildren$3(child, start, create) {
  58369. return this._withChildren$1$3(child, start, create, type$.dynamic);
  58370. },
  58371. _urlString$0() {
  58372. var innerError, stackTrace, t2, exception,
  58373. t1 = this.scanner,
  58374. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  58375. url = this.string$0();
  58376. try {
  58377. t2 = A.Uri_parse(url);
  58378. return t2;
  58379. } catch (exception) {
  58380. t2 = A.unwrapException(exception);
  58381. if (type$.FormatException._is(t2)) {
  58382. innerError = t2;
  58383. stackTrace = A.getTraceFromException(exception);
  58384. this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
  58385. } else
  58386. throw exception;
  58387. }
  58388. },
  58389. _publicIdentifier$0() {
  58390. var _this = this,
  58391. t1 = _this.scanner,
  58392. t2 = t1._string_scanner$_position,
  58393. result = _this.identifier$1$normalize(true);
  58394. _this._assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure(_this, new A._SpanScannerState(t1, t2)));
  58395. return result;
  58396. },
  58397. _assertPublic$2(identifier, span) {
  58398. var first = identifier.charCodeAt(0);
  58399. if (!(first === 45 || first === 95))
  58400. return;
  58401. this.error$2(0, string$.Privat, span.call$0());
  58402. },
  58403. get$plainCss() {
  58404. return false;
  58405. }
  58406. };
  58407. A.StylesheetParser_parse_closure.prototype = {
  58408. call$0() {
  58409. var statements, t4,
  58410. t1 = this.$this,
  58411. t2 = t1.scanner,
  58412. t3 = t2._string_scanner$_position;
  58413. t2.scanChar$1(65279);
  58414. statements = t1.statements$1(new A.StylesheetParser_parse__closure(t1));
  58415. t2.expectDone$0();
  58416. t4 = t1._globalVariables;
  58417. t4 = t4.get$values(t4);
  58418. B.JSArray_methods.addAll$1(statements, A.MappedIterable_MappedIterable(t4, new A.StylesheetParser_parse__closure0(), A._instanceType(t4)._eval$1("Iterable.E"), type$.Statement));
  58419. return A.Stylesheet$internal(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
  58420. },
  58421. $signature: 359
  58422. };
  58423. A.StylesheetParser_parse__closure.prototype = {
  58424. call$0() {
  58425. var t1 = this.$this;
  58426. if (t1.scanner.scan$1("@charset")) {
  58427. t1.whitespace$0();
  58428. t1.string$0();
  58429. return null;
  58430. }
  58431. return t1._statement$1$root(true);
  58432. },
  58433. $signature: 360
  58434. };
  58435. A.StylesheetParser_parse__closure0.prototype = {
  58436. call$1(declaration) {
  58437. var t1 = declaration.expression;
  58438. return A.VariableDeclaration$(declaration.name, new A.NullExpression(t1.get$span(t1)), declaration.span, null, false, true, null);
  58439. },
  58440. $signature: 362
  58441. };
  58442. A.StylesheetParser_parseArgumentDeclaration_closure.prototype = {
  58443. call$0() {
  58444. var $arguments,
  58445. t1 = this.$this,
  58446. t2 = t1.scanner;
  58447. t2.expectChar$2$name(64, "@-rule");
  58448. t1.identifier$0();
  58449. t1.whitespace$0();
  58450. t1.identifier$0();
  58451. $arguments = t1._argumentDeclaration$0();
  58452. t1.whitespace$0();
  58453. t2.expectChar$1(123);
  58454. return $arguments;
  58455. },
  58456. $signature: 363
  58457. };
  58458. A.StylesheetParser_parseVariableDeclaration_closure.prototype = {
  58459. call$0() {
  58460. var t1 = this.$this;
  58461. return t1.lookingAtIdentifier$0() ? t1._variableDeclarationWithNamespace$0() : t1.variableDeclarationWithoutNamespace$0();
  58462. },
  58463. $signature: 179
  58464. };
  58465. A.StylesheetParser_parseUseRule_closure.prototype = {
  58466. call$0() {
  58467. var t1 = this.$this,
  58468. t2 = t1.scanner,
  58469. t3 = t2._string_scanner$_position;
  58470. t2.expectChar$2$name(64, "@-rule");
  58471. t1.expectIdentifier$1("use");
  58472. t1.whitespace$0();
  58473. return t1._useRule$1(new A._SpanScannerState(t2, t3));
  58474. },
  58475. $signature: 365
  58476. };
  58477. A.StylesheetParser__parseSingleProduction_closure.prototype = {
  58478. call$0() {
  58479. var result = this.production.call$0();
  58480. this.$this.scanner.expectDone$0();
  58481. return result;
  58482. },
  58483. $signature() {
  58484. return this.T._eval$1("0()");
  58485. }
  58486. };
  58487. A.StylesheetParser__statement_closure.prototype = {
  58488. call$0() {
  58489. return this.$this._statement$0();
  58490. },
  58491. $signature: 119
  58492. };
  58493. A.StylesheetParser_variableDeclarationWithoutNamespace_closure.prototype = {
  58494. call$0() {
  58495. return this.$this.scanner.spanFrom$1(this.start);
  58496. },
  58497. $signature: 33
  58498. };
  58499. A.StylesheetParser_variableDeclarationWithoutNamespace_closure0.prototype = {
  58500. call$0() {
  58501. return this.declaration;
  58502. },
  58503. $signature: 179
  58504. };
  58505. A.StylesheetParser__declarationOrBuffer_closure.prototype = {
  58506. call$2(children, span) {
  58507. return A.Declaration$nested(this.name, children, span, null);
  58508. },
  58509. $signature: 114
  58510. };
  58511. A.StylesheetParser__declarationOrBuffer_closure0.prototype = {
  58512. call$2(children, span) {
  58513. return A.Declaration$nested(this.name, children, span, this._box_0.value);
  58514. },
  58515. $signature: 114
  58516. };
  58517. A.StylesheetParser__styleRule_closure.prototype = {
  58518. call$2(children, span) {
  58519. var _this = this,
  58520. t1 = _this.$this;
  58521. if (t1.get$indented() && children.length === 0)
  58522. t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
  58523. t1._inStyleRule = _this.wasInStyleRule;
  58524. return A.StyleRule$(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
  58525. },
  58526. $signature: 367
  58527. };
  58528. A.StylesheetParser__propertyOrVariableDeclaration_closure.prototype = {
  58529. call$2(children, span) {
  58530. return A.Declaration$nested(this._box_0.name, children, span, null);
  58531. },
  58532. $signature: 114
  58533. };
  58534. A.StylesheetParser__propertyOrVariableDeclaration_closure0.prototype = {
  58535. call$2(children, span) {
  58536. return A.Declaration$nested(this._box_0.name, children, span, this.value);
  58537. },
  58538. $signature: 114
  58539. };
  58540. A.StylesheetParser__atRootRule_closure.prototype = {
  58541. call$2(children, span) {
  58542. return A.AtRootRule$(children, span, this.query);
  58543. },
  58544. $signature: 175
  58545. };
  58546. A.StylesheetParser__atRootRule_closure0.prototype = {
  58547. call$2(children, span) {
  58548. return A.AtRootRule$(children, span, null);
  58549. },
  58550. $signature: 175
  58551. };
  58552. A.StylesheetParser__eachRule_closure.prototype = {
  58553. call$2(children, span) {
  58554. var _this = this;
  58555. _this.$this._inControlDirective = _this.wasInControlDirective;
  58556. return A.EachRule$(_this.variables, _this.list, children, span);
  58557. },
  58558. $signature: 370
  58559. };
  58560. A.StylesheetParser__functionRule_closure.prototype = {
  58561. call$2(children, span) {
  58562. return A.FunctionRule$(this.name, this.$arguments, children, span, this.precedingComment);
  58563. },
  58564. $signature: 372
  58565. };
  58566. A.StylesheetParser__forRule_closure.prototype = {
  58567. call$0() {
  58568. var t1 = this.$this;
  58569. if (!t1.lookingAtIdentifier$0())
  58570. return false;
  58571. if (t1.scanIdentifier$1("to"))
  58572. return this._box_0.exclusive = true;
  58573. else if (t1.scanIdentifier$1("through")) {
  58574. this._box_0.exclusive = false;
  58575. return true;
  58576. } else
  58577. return false;
  58578. },
  58579. $signature: 1
  58580. };
  58581. A.StylesheetParser__forRule_closure0.prototype = {
  58582. call$2(children, span) {
  58583. var t1, _this = this;
  58584. _this.$this._inControlDirective = _this.wasInControlDirective;
  58585. t1 = _this._box_0.exclusive;
  58586. t1.toString;
  58587. return A.ForRule$(_this.variable, _this.from, _this.to, children, span, t1);
  58588. },
  58589. $signature: 373
  58590. };
  58591. A.StylesheetParser__memberList_closure.prototype = {
  58592. call$0() {
  58593. var t1 = this.$this;
  58594. if (t1.scanner.peekChar$0() === 36)
  58595. this.variables.add$1(0, t1.variableName$0());
  58596. else
  58597. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  58598. },
  58599. $signature: 2
  58600. };
  58601. A.StylesheetParser__includeRule_closure.prototype = {
  58602. call$2(children, span) {
  58603. return A.ContentBlock$(this.contentArguments_, children, span);
  58604. },
  58605. $signature: 374
  58606. };
  58607. A.StylesheetParser_mediaRule_closure.prototype = {
  58608. call$2(children, span) {
  58609. return A.MediaRule$(this.query, children, span);
  58610. },
  58611. $signature: 375
  58612. };
  58613. A.StylesheetParser__mixinRule_closure.prototype = {
  58614. call$2(children, span) {
  58615. var _this = this;
  58616. _this.$this._stylesheet$_inMixin = false;
  58617. return A.MixinRule$(_this.name, _this.$arguments, children, span, _this.precedingComment);
  58618. },
  58619. $signature: 376
  58620. };
  58621. A.StylesheetParser_mozDocumentRule_closure.prototype = {
  58622. call$2(children, span) {
  58623. var _this = this;
  58624. if (_this._box_0.needsDeprecationWarning)
  58625. A.WarnForDeprecation_warnForDeprecation(_this.$this.logger, B.Deprecation_gJ9, string$.x40_moz_, span, null);
  58626. return A.AtRule$(_this.name, span, children, _this.value);
  58627. },
  58628. $signature: 174
  58629. };
  58630. A.StylesheetParser_supportsRule_closure.prototype = {
  58631. call$2(children, span) {
  58632. return A.SupportsRule$(this.condition, children, span);
  58633. },
  58634. $signature: 378
  58635. };
  58636. A.StylesheetParser__whileRule_closure.prototype = {
  58637. call$2(children, span) {
  58638. this.$this._inControlDirective = this.wasInControlDirective;
  58639. return A.WhileRule$(this.condition, children, span);
  58640. },
  58641. $signature: 383
  58642. };
  58643. A.StylesheetParser_unknownAtRule_closure.prototype = {
  58644. call$2(children, span) {
  58645. return A.AtRule$(this.name, span, children, this._box_0.value);
  58646. },
  58647. $signature: 174
  58648. };
  58649. A.StylesheetParser__expression_resetState.prototype = {
  58650. call$0() {
  58651. var t2,
  58652. t1 = this._box_0;
  58653. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  58654. t2 = this.$this;
  58655. t2.scanner.set$state(this.start);
  58656. t1.allowSlash = true;
  58657. t1.singleExpression_ = t2._singleExpression$0();
  58658. },
  58659. $signature: 0
  58660. };
  58661. A.StylesheetParser__expression_resolveOneOperation.prototype = {
  58662. call$0() {
  58663. var t2, t3, t4, t5, t6, t7, _this = this,
  58664. t1 = _this._box_0,
  58665. operator = t1.operators_.pop(),
  58666. left = t1.operands_.pop(),
  58667. right = t1.singleExpression_;
  58668. if (right == null) {
  58669. t2 = _this.$this.scanner;
  58670. t3 = operator.operator.length;
  58671. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  58672. }
  58673. if (t1.allowSlash) {
  58674. t2 = _this.$this;
  58675. t2 = !t2._inParentheses && operator === B.BinaryOperator_t8B && t2._isSlashOperand$1(left) && t2._isSlashOperand$1(right);
  58676. } else
  58677. t2 = false;
  58678. if (t2)
  58679. t1.singleExpression_ = new A.BinaryOperationExpression(B.BinaryOperator_t8B, left, right, true);
  58680. else {
  58681. t1.singleExpression_ = new A.BinaryOperationExpression(operator, left, right, false);
  58682. t2 = t1.allowSlash = false;
  58683. if (B.BinaryOperator_anB === operator || B.BinaryOperator_olz === operator) {
  58684. t3 = _this.$this;
  58685. t4 = t3.scanner.string;
  58686. t5 = right.get$span(right);
  58687. t5 = t5.get$start(t5);
  58688. t6 = right.get$span(right);
  58689. t7 = operator.operator;
  58690. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  58691. t2 = left.get$span(left);
  58692. t2 = t4.charCodeAt(t2.get$end(t2).offset);
  58693. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  58694. }
  58695. if (t2) {
  58696. t2 = left.toString$0(0);
  58697. t4 = right.toString$0(0);
  58698. t5 = left.toString$0(0);
  58699. t6 = right.toString$0(0);
  58700. t1 = t1.singleExpression_;
  58701. A.WarnForDeprecation_warnForDeprecation(t3.logger, B.Deprecation_sIK, "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, t1.get$span(t1), null);
  58702. }
  58703. }
  58704. }
  58705. },
  58706. $signature: 0
  58707. };
  58708. A.StylesheetParser__expression_resolveOperations.prototype = {
  58709. call$0() {
  58710. var t1,
  58711. operators = this._box_0.operators_;
  58712. if (operators == null)
  58713. return;
  58714. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  58715. t1.call$0();
  58716. },
  58717. $signature: 0
  58718. };
  58719. A.StylesheetParser__expression_addSingleExpression.prototype = {
  58720. call$1(expression) {
  58721. var t2, spaceExpressions, _this = this,
  58722. t1 = _this._box_0;
  58723. if (t1.singleExpression_ != null) {
  58724. t2 = _this.$this;
  58725. if (t2._inParentheses) {
  58726. t2._inParentheses = false;
  58727. if (t1.allowSlash) {
  58728. _this.resetState.call$0();
  58729. return;
  58730. }
  58731. }
  58732. spaceExpressions = t1.spaceExpressions_;
  58733. if (spaceExpressions == null)
  58734. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression);
  58735. _this.resolveOperations.call$0();
  58736. t2 = t1.singleExpression_;
  58737. t2.toString;
  58738. spaceExpressions.push(t2);
  58739. t1.allowSlash = true;
  58740. }
  58741. t1.singleExpression_ = expression;
  58742. },
  58743. $signature: 295
  58744. };
  58745. A.StylesheetParser__expression_addOperator.prototype = {
  58746. call$1(operator) {
  58747. var t2, t3, operators, operands, t4, singleExpression,
  58748. t1 = this.$this;
  58749. if (t1.get$plainCss() && operator !== B.BinaryOperator_2jN && operator !== B.BinaryOperator_anB && operator !== B.BinaryOperator_olz && operator !== B.BinaryOperator_qN2 && operator !== B.BinaryOperator_t8B) {
  58750. t2 = t1.scanner;
  58751. t3 = operator.operator.length;
  58752. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  58753. }
  58754. t2 = this._box_0;
  58755. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_t8B;
  58756. operators = t2.operators_;
  58757. if (operators == null)
  58758. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator);
  58759. operands = t2.operands_;
  58760. if (operands == null)
  58761. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression);
  58762. t3 = this.resolveOneOperation;
  58763. t4 = operator.precedence;
  58764. while (true) {
  58765. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  58766. break;
  58767. t3.call$0();
  58768. }
  58769. operators.push(operator);
  58770. singleExpression = t2.singleExpression_;
  58771. if (singleExpression == null) {
  58772. t3 = t1.scanner;
  58773. t4 = operator.operator.length;
  58774. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  58775. }
  58776. operands.push(singleExpression);
  58777. t1.whitespace$0();
  58778. t2.singleExpression_ = t1._singleExpression$0();
  58779. },
  58780. $signature: 385
  58781. };
  58782. A.StylesheetParser__expression_resolveSpaceExpressions.prototype = {
  58783. call$0() {
  58784. var t1, spaceExpressions, singleExpression, t2;
  58785. this.resolveOperations.call$0();
  58786. t1 = this._box_0;
  58787. spaceExpressions = t1.spaceExpressions_;
  58788. if (spaceExpressions == null)
  58789. return;
  58790. singleExpression = t1.singleExpression_;
  58791. if (singleExpression == null)
  58792. this.$this.scanner.error$1(0, "Expected expression.");
  58793. spaceExpressions.push(singleExpression);
  58794. t2 = B.JSArray_methods.get$first(spaceExpressions);
  58795. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  58796. t1.singleExpression_ = new A.ListExpression(A.List_List$unmodifiable(spaceExpressions, type$.Expression), B.ListSeparator_EVt, false, t2);
  58797. t1.spaceExpressions_ = null;
  58798. },
  58799. $signature: 0
  58800. };
  58801. A.StylesheetParser__expression_closure.prototype = {
  58802. call$0() {
  58803. return 43 === this._3_0;
  58804. },
  58805. $signature: 1
  58806. };
  58807. A.StylesheetParser__expression_closure0.prototype = {
  58808. call$0() {
  58809. return 47 === this._3_0;
  58810. },
  58811. $signature: 1
  58812. };
  58813. A.StylesheetParser__expression_closure1.prototype = {
  58814. call$0() {
  58815. return 46 === this._3_0;
  58816. },
  58817. $signature: 1
  58818. };
  58819. A.StylesheetParser_expressionUntilComma_closure.prototype = {
  58820. call$0() {
  58821. return this.$this.scanner.peekChar$0() === 44;
  58822. },
  58823. $signature: 1
  58824. };
  58825. A.StylesheetParser__isHexColor_closure.prototype = {
  58826. call$0() {
  58827. var t1 = this._0_0;
  58828. return (t1 == null ? A._asString(t1) : t1).length;
  58829. },
  58830. $signature: 3
  58831. };
  58832. A.StylesheetParser__isHexColor_closure0.prototype = {
  58833. call$1(char) {
  58834. return A.CharacterExtension_get_isHex(char);
  58835. },
  58836. $signature: 48
  58837. };
  58838. A.StylesheetParser__unicodeRange_closure.prototype = {
  58839. call$1(char) {
  58840. return char != null && A.CharacterExtension_get_isHex(char);
  58841. },
  58842. $signature: 34
  58843. };
  58844. A.StylesheetParser__unicodeRange_closure0.prototype = {
  58845. call$1(char) {
  58846. return char != null && A.CharacterExtension_get_isHex(char);
  58847. },
  58848. $signature: 34
  58849. };
  58850. A.StylesheetParser_identifierLike_closure.prototype = {
  58851. call$0() {
  58852. return 46 === this._2_0;
  58853. },
  58854. $signature: 1
  58855. };
  58856. A.StylesheetParser_identifierLike_closure0.prototype = {
  58857. call$0() {
  58858. return 40 === this._2_0;
  58859. },
  58860. $signature: 1
  58861. };
  58862. A.StylesheetParser_namespacedExpression_closure.prototype = {
  58863. call$0() {
  58864. return this.$this.scanner.spanFrom$1(this.start);
  58865. },
  58866. $signature: 33
  58867. };
  58868. A.StylesheetParser_trySpecialFunction_closure.prototype = {
  58869. call$1(contents) {
  58870. return new A.StringExpression(contents, false);
  58871. },
  58872. $signature: 386
  58873. };
  58874. A.StylesheetParser__tryUrlContents_closure.prototype = {
  58875. call$0() {
  58876. return 35 === this._0_0;
  58877. },
  58878. $signature: 1
  58879. };
  58880. A.StylesheetParser__interpolatedDeclarationValue_closure.prototype = {
  58881. call$0() {
  58882. return 32 === this._1_0;
  58883. },
  58884. $signature: 1
  58885. };
  58886. A.StylesheetParser__interpolatedDeclarationValue_closure0.prototype = {
  58887. call$0() {
  58888. return 9 === this._1_0;
  58889. },
  58890. $signature: 1
  58891. };
  58892. A.StylesheetParser__interpolatedDeclarationValue_closure1.prototype = {
  58893. call$0() {
  58894. return 10 === this._1_0;
  58895. },
  58896. $signature: 1
  58897. };
  58898. A.StylesheetParser__interpolatedDeclarationValue_closure2.prototype = {
  58899. call$0() {
  58900. return 13 === this._1_0;
  58901. },
  58902. $signature: 1
  58903. };
  58904. A.StylesheetParser__interpolatedDeclarationValue_closure3.prototype = {
  58905. call$0() {
  58906. return 12 === this._1_0;
  58907. },
  58908. $signature: 1
  58909. };
  58910. A.StylesheetParser__expressionUntilComparison_closure.prototype = {
  58911. call$0() {
  58912. var t1 = this.$this.scanner,
  58913. _0_0 = t1.peekChar$0();
  58914. $label0$0: {
  58915. if (61 === _0_0) {
  58916. t1 = t1.peekChar$1(1) !== 61;
  58917. break $label0$0;
  58918. }
  58919. if (60 === _0_0 || 62 === _0_0) {
  58920. t1 = true;
  58921. break $label0$0;
  58922. }
  58923. t1 = false;
  58924. break $label0$0;
  58925. }
  58926. return t1;
  58927. },
  58928. $signature: 1
  58929. };
  58930. A.StylesheetParser__supportsConditionInParens_closure.prototype = {
  58931. call$0() {
  58932. return this._0_0[0];
  58933. },
  58934. $signature: 14
  58935. };
  58936. A.StylesheetParser__publicIdentifier_closure.prototype = {
  58937. call$0() {
  58938. return this.$this.scanner.spanFrom$1(this.start);
  58939. },
  58940. $signature: 33
  58941. };
  58942. A.StylesheetGraph.prototype = {
  58943. modifiedSince$3(url, since, baseImporter) {
  58944. var node = this._stylesheet_graph$_add$3(url, baseImporter, null);
  58945. if (node == null)
  58946. return true;
  58947. return new A.StylesheetGraph_modifiedSince_transitiveModificationTime(this).call$1(node)._core$_value > since._core$_value;
  58948. },
  58949. _stylesheet_graph$_add$3(url, baseImporter, baseUrl) {
  58950. var importer, canonicalUrl, originalUrl, t1, _this = this, _null = null,
  58951. result = _this._ignoreErrors$1(new A.StylesheetGraph__add_closure(_this, url, baseImporter, baseUrl));
  58952. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(result)) {
  58953. importer = result._0;
  58954. canonicalUrl = result._1;
  58955. originalUrl = result._2;
  58956. t1 = true;
  58957. } else {
  58958. originalUrl = _null;
  58959. canonicalUrl = originalUrl;
  58960. importer = canonicalUrl;
  58961. t1 = false;
  58962. }
  58963. if (t1) {
  58964. _this.addCanonical$3(importer, canonicalUrl, originalUrl);
  58965. return _this._nodes.$index(0, canonicalUrl);
  58966. } else
  58967. return _null;
  58968. },
  58969. addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, recanonicalize) {
  58970. var stylesheet, _this = this,
  58971. t1 = _this._nodes;
  58972. if (t1.$index(0, canonicalUrl) != null)
  58973. return B.Set_empty3;
  58974. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_addCanonical_closure(_this, importer, canonicalUrl, originalUrl));
  58975. if (stylesheet == null)
  58976. return B.Set_empty3;
  58977. t1.$indexSet(0, canonicalUrl, A.StylesheetNode$_(stylesheet, importer, canonicalUrl, _this._upstreamNodes$3(stylesheet, importer, canonicalUrl)));
  58978. return recanonicalize ? _this._recanonicalizeImports$2(importer, canonicalUrl) : B.Set_empty3;
  58979. },
  58980. addCanonical$3(importer, canonicalUrl, originalUrl) {
  58981. return this.addCanonical$4$recanonicalize(importer, canonicalUrl, originalUrl, true);
  58982. },
  58983. _upstreamNodes$3(stylesheet, baseImporter, baseUrl) {
  58984. var t6, t7, t8, t9, t10,
  58985. t1 = type$.Uri,
  58986. active = A.LinkedHashSet_LinkedHashSet$_literal([baseUrl], t1),
  58987. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  58988. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  58989. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  58990. t5 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  58991. new A._FindDependenciesVisitor(t2, t3, t4, t5, A.LinkedHashSet_LinkedHashSet$_empty(type$.nullable_String)).visitChildren$1(stylesheet.children);
  58992. t6 = type$.UnmodifiableSetView_Uri;
  58993. t2 = new A.UnmodifiableSetView0(t2, t6);
  58994. t3 = new A.UnmodifiableSetView0(t3, t6);
  58995. t4 = new A.UnmodifiableSetView0(t4, t6);
  58996. t7 = type$.nullable_StylesheetNode;
  58997. t8 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t7);
  58998. for (t9 = new A.UnionSet(A.LinkedHashSet_LinkedHashSet$_literal([t2, t3, t4], type$.Set_Uri), type$.UnionSet_Uri).get$_union_set$_iterable(), t9 = t9.get$iterator(t9); t9.moveNext$0();) {
  58999. t10 = t9.get$current(t9);
  59000. t8.$indexSet(0, t10, this._nodeFor$4(t10, baseImporter, baseUrl, active));
  59001. }
  59002. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t7);
  59003. for (t2 = new A.DependencyReport(t2, t3, t4, new A.UnmodifiableSetView0(t5, t6)).imports._base, t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  59004. t3 = t2.get$current(t2);
  59005. t1.$indexSet(0, t3, this._nodeFor$5$forImport(t3, baseImporter, baseUrl, active, true));
  59006. }
  59007. return new A._Record_2_imports_modules(t1, t8);
  59008. },
  59009. reload$1(canonicalUrl) {
  59010. var stylesheet, upstream, _this = this,
  59011. node = _this._nodes.$index(0, canonicalUrl);
  59012. if (node == null)
  59013. throw A.wrapException(A.StateError$(canonicalUrl.toString$0(0) + " is not in the dependency graph."));
  59014. _this._transitiveModificationTimes.clear$0(0);
  59015. _this.importCache.clearImport$1(canonicalUrl);
  59016. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph_reload_closure(_this, node, canonicalUrl));
  59017. if (stylesheet == null)
  59018. return false;
  59019. node._stylesheet = stylesheet;
  59020. upstream = _this._upstreamNodes$3(stylesheet, node.importer, canonicalUrl);
  59021. node._replaceUpstream$2(upstream._1, upstream._0);
  59022. return true;
  59023. },
  59024. _recanonicalizeImports$2(importer, canonicalUrl) {
  59025. var t1, t2, t3, t4, t5, newUpstream, newUpstreamImports, _this = this,
  59026. changed = A.LinkedHashSet_LinkedHashSet$_empty(type$.StylesheetNode);
  59027. 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();) {
  59028. t5 = t1.get$current(t1);
  59029. newUpstream = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, false);
  59030. newUpstreamImports = _this._recanonicalizeImportsForNode$4$forImport(t5, importer, canonicalUrl, true);
  59031. if (newUpstream.__js_helper$_length !== 0 || newUpstreamImports.__js_helper$_length !== 0) {
  59032. changed.add$1(0, t5);
  59033. 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));
  59034. }
  59035. }
  59036. if (changed._collection$_length !== 0)
  59037. _this._transitiveModificationTimes.clear$0(0);
  59038. return changed;
  59039. },
  59040. _recanonicalizeImportsForNode$4$forImport(node, importer, canonicalUrl, forImport) {
  59041. var url, result, t2, newMap, t3, t4, t5, t6, upstream, exception, newCanonicalUrl,
  59042. t1 = type$.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode,
  59043. map = forImport ? new A.UnmodifiableMapView(node._upstreamImports, t1) : new A.UnmodifiableMapView(node._upstream, t1);
  59044. t1 = type$.Uri;
  59045. t2 = type$.nullable_StylesheetNode;
  59046. newMap = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  59047. for (t1 = A.MapExtensions_get_pairs(map, t1, t2), t1 = t1.get$iterator(t1), t2 = this._nodes, t3 = this.importCache, t4 = node.importer, t5 = node.canonicalUrl; t1.moveNext$0();) {
  59048. t6 = t1.get$current(t1);
  59049. url = null;
  59050. url = t6._0;
  59051. upstream = t6._1;
  59052. if (!importer.couldCanonicalize$2(url, canonicalUrl))
  59053. continue;
  59054. t3.clearCanonicalize$1(url);
  59055. result = null;
  59056. try {
  59057. result = t3.canonicalize$4$baseImporter$baseUrl$forImport(0, url, t4, t5, forImport);
  59058. } catch (exception) {
  59059. }
  59060. t6 = result;
  59061. newCanonicalUrl = t6 == null ? null : t6._1;
  59062. if (J.$eq$(newCanonicalUrl, upstream == null ? null : upstream.canonicalUrl))
  59063. continue;
  59064. t6 = url;
  59065. newMap.$indexSet(0, t6, result == null ? null : t2.$index(0, newCanonicalUrl));
  59066. }
  59067. return newMap;
  59068. },
  59069. _nodeFor$5$forImport(url, baseImporter, baseUrl, active, forImport) {
  59070. var canonicalUrl, t2, _1_0, node, t3, stylesheet, t4, _this = this, _null = null, t1 = {},
  59071. result = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure(_this, url, baseImporter, baseUrl, forImport));
  59072. if (result == null)
  59073. return _null;
  59074. t1.originalUrl = t1.canonicalUrl = t1.importer = null;
  59075. t1.importer = result._0;
  59076. canonicalUrl = t1.canonicalUrl = result._1;
  59077. t1.originalUrl = result._2;
  59078. t2 = _this._nodes;
  59079. _1_0 = t2.$index(0, canonicalUrl);
  59080. if (_1_0 != null) {
  59081. node = _1_0;
  59082. t3 = true;
  59083. } else {
  59084. node = _null;
  59085. t3 = false;
  59086. }
  59087. if (t3)
  59088. return node;
  59089. if (active.contains$1(0, canonicalUrl))
  59090. return _null;
  59091. stylesheet = _this._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure0(t1, _this));
  59092. if (stylesheet == null)
  59093. return _null;
  59094. active.add$1(0, t1.canonicalUrl);
  59095. t3 = t1.importer;
  59096. t4 = t1.canonicalUrl;
  59097. node = A.StylesheetNode$_(stylesheet, t3, t4, _this._upstreamNodes$3(stylesheet, t3, t4));
  59098. active.remove$1(0, t1.canonicalUrl);
  59099. t2.$indexSet(0, t1.canonicalUrl, node);
  59100. return node;
  59101. },
  59102. _nodeFor$4(url, baseImporter, baseUrl, active) {
  59103. return this._nodeFor$5$forImport(url, baseImporter, baseUrl, active, false);
  59104. },
  59105. _ignoreErrors$1$1(callback) {
  59106. var t1, exception;
  59107. try {
  59108. t1 = callback.call$0();
  59109. return t1;
  59110. } catch (exception) {
  59111. return null;
  59112. }
  59113. },
  59114. _ignoreErrors$1(callback) {
  59115. return this._ignoreErrors$1$1(callback, type$.dynamic);
  59116. }
  59117. };
  59118. A.StylesheetGraph_modifiedSince_transitiveModificationTime.prototype = {
  59119. call$1(node) {
  59120. return this.$this._transitiveModificationTimes.putIfAbsent$2(node.canonicalUrl, new A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure(node, this));
  59121. },
  59122. $signature: 395
  59123. };
  59124. A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure.prototype = {
  59125. call$0() {
  59126. var t2, t3, upstreamTime,
  59127. t1 = this.node,
  59128. latest = t1.importer.modificationTime$1(t1.canonicalUrl);
  59129. 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();) {
  59130. t3 = t1._currentIterator;
  59131. t3 = t3.get$current(t3);
  59132. upstreamTime = t3 == null ? new A.DateTime(Date.now(), false) : t2.call$1(t3);
  59133. if (upstreamTime._core$_value > latest._core$_value)
  59134. latest = upstreamTime;
  59135. }
  59136. return latest;
  59137. },
  59138. $signature: 191
  59139. };
  59140. A.StylesheetGraph__add_closure.prototype = {
  59141. call$0() {
  59142. var _this = this;
  59143. return _this.$this.importCache.canonicalize$3$baseImporter$baseUrl(0, _this.url, _this.baseImporter, _this.baseUrl);
  59144. },
  59145. $signature: 91
  59146. };
  59147. A.StylesheetGraph_addCanonical_closure.prototype = {
  59148. call$0() {
  59149. var _this = this;
  59150. return _this.$this.importCache.importCanonical$3$originalUrl(_this.importer, _this.canonicalUrl, _this.originalUrl);
  59151. },
  59152. $signature: 93
  59153. };
  59154. A.StylesheetGraph_reload_closure.prototype = {
  59155. call$0() {
  59156. return this.$this.importCache.importCanonical$2(this.node.importer, this.canonicalUrl);
  59157. },
  59158. $signature: 93
  59159. };
  59160. A.StylesheetGraph__nodeFor_closure.prototype = {
  59161. call$0() {
  59162. var _this = this;
  59163. return _this.$this.importCache.canonicalize$4$baseImporter$baseUrl$forImport(0, _this.url, _this.baseImporter, _this.baseUrl, _this.forImport);
  59164. },
  59165. $signature: 91
  59166. };
  59167. A.StylesheetGraph__nodeFor_closure0.prototype = {
  59168. call$0() {
  59169. var t1 = this._box_0;
  59170. return this.$this.importCache.importCanonical$3$originalUrl(t1.importer, t1.canonicalUrl, t1.originalUrl);
  59171. },
  59172. $signature: 93
  59173. };
  59174. A.StylesheetNode.prototype = {
  59175. StylesheetNode$_$4(_stylesheet, importer, canonicalUrl, allUpstream) {
  59176. var t1, t2;
  59177. 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();) {
  59178. t1 = t2._currentIterator;
  59179. t1 = t1.get$current(t1);
  59180. if (t1 != null)
  59181. t1._downstream.add$1(0, this);
  59182. }
  59183. },
  59184. _replaceUpstream$2(newUpstream, newUpstreamImports) {
  59185. var t3, oldUpstream, newUpstreamSet, _this = this,
  59186. t1 = _this._upstream,
  59187. t2 = type$.nullable_StylesheetNode;
  59188. t1 = A.LinkedHashSet_LinkedHashSet$of(t1.get$values(t1), t2);
  59189. t3 = _this._upstreamImports;
  59190. t1.addAll$1(0, t3.get$values(t3));
  59191. t3 = type$.StylesheetNode;
  59192. oldUpstream = A.SetExtension_removeNull(t1, t3);
  59193. t2 = A.LinkedHashSet_LinkedHashSet$of(newUpstream.get$values(newUpstream), t2);
  59194. t2.addAll$1(0, newUpstreamImports.get$values(newUpstreamImports));
  59195. newUpstreamSet = A.SetExtension_removeNull(t2, t3);
  59196. for (t1 = oldUpstream.difference$1(newUpstreamSet), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  59197. t1.get$current(t1)._downstream.remove$1(0, _this);
  59198. for (t1 = newUpstreamSet.difference$1(oldUpstream), t1 = t1.get$iterator(t1); t1.moveNext$0();)
  59199. t1.get$current(t1)._downstream.add$1(0, _this);
  59200. _this._upstream = newUpstream;
  59201. _this._upstreamImports = newUpstreamImports;
  59202. },
  59203. _stylesheet_graph$_remove$0() {
  59204. var t1, t2, t3, t4, _i, url, _this = this;
  59205. 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();) {
  59206. t3 = t1._collection$_current;
  59207. if (t3 == null)
  59208. t3 = t2._as(t3);
  59209. if (t3 == null)
  59210. continue;
  59211. t3._downstream.remove$1(0, _this);
  59212. }
  59213. for (t1 = _this._downstream, t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  59214. t2 = t1.get$current(t1);
  59215. for (t3 = t2._upstream, t4 = A._instanceType(t3)._eval$1("LinkedHashMapKeyIterable<1>"), t4 = A.List_List$of(new A.LinkedHashMapKeyIterable(t3, t4), true, t4._eval$1("Iterable.E")), t3 = t4.length, _i = 0; _i < t3; ++_i) {
  59216. url = t4[_i];
  59217. if (J.$eq$(t2._upstream.$index(0, url), _this)) {
  59218. t2._upstream.$indexSet(0, url, null);
  59219. break;
  59220. }
  59221. }
  59222. for (t3 = t2._upstreamImports, t4 = A._instanceType(t3)._eval$1("LinkedHashMapKeyIterable<1>"), t4 = A.List_List$of(new A.LinkedHashMapKeyIterable(t3, t4), true, t4._eval$1("Iterable.E")), t3 = t4.length, _i = 0; _i < t3; ++_i) {
  59223. url = t4[_i];
  59224. if (J.$eq$(t2._upstreamImports.$index(0, url), _this)) {
  59225. t2._upstreamImports.$indexSet(0, url, null);
  59226. break;
  59227. }
  59228. }
  59229. }
  59230. },
  59231. toString$0(_) {
  59232. var t1 = this._stylesheet.span;
  59233. t1 = A.NullableExtension_andThen(t1.get$sourceUrl(t1), A.path__prettyUri$closure());
  59234. return t1 == null ? "<unknown>" : t1;
  59235. }
  59236. };
  59237. A.Syntax.prototype = {
  59238. _enumToString$0() {
  59239. return "Syntax." + this._name;
  59240. },
  59241. toString$0(_) {
  59242. return this._syntax$_name;
  59243. }
  59244. };
  59245. A.Box.prototype = {
  59246. $eq(_, other) {
  59247. if (other == null)
  59248. return false;
  59249. return this.$ti._is(other) && other._box$_inner === this._box$_inner;
  59250. },
  59251. get$hashCode(_) {
  59252. return A.Primitives_objectHashCode(this._box$_inner);
  59253. }
  59254. };
  59255. A.ModifiableBox.prototype = {};
  59256. A.LazyFileSpan.prototype = {
  59257. get$span(_) {
  59258. var t1 = this._lazy_file_span$_span;
  59259. return t1 == null ? this._lazy_file_span$_span = this._builder.call$0() : t1;
  59260. },
  59261. compareTo$1(_, other) {
  59262. return this.get$span(this).compareTo$1(0, other);
  59263. },
  59264. get$context(_) {
  59265. var t1 = this.get$span(this);
  59266. return t1.get$context(t1);
  59267. },
  59268. get$end(_) {
  59269. var t1 = this.get$span(this);
  59270. return t1.get$end(t1);
  59271. },
  59272. expand$1(_, other) {
  59273. return this.get$span(this).expand$1(0, other);
  59274. },
  59275. get$file(_) {
  59276. var t1 = this.get$span(this);
  59277. return t1.get$file(t1);
  59278. },
  59279. highlight$1$color(color) {
  59280. return this.get$span(this).highlight$1$color(color);
  59281. },
  59282. get$length(_) {
  59283. var t1 = this.get$span(this);
  59284. return t1.get$length(t1);
  59285. },
  59286. message$2$color(_, message, color) {
  59287. return this.get$span(this).message$2$color(0, message, color);
  59288. },
  59289. message$1($receiver, message) {
  59290. return this.message$2$color($receiver, message, null);
  59291. },
  59292. get$sourceUrl(_) {
  59293. var t1 = this.get$span(this);
  59294. return t1.get$sourceUrl(t1);
  59295. },
  59296. get$start(_) {
  59297. var t1 = this.get$span(this);
  59298. return t1.get$start(t1);
  59299. },
  59300. get$text() {
  59301. return this.get$span(this).get$text();
  59302. },
  59303. $isComparable: 1,
  59304. $isFileSpan: 1,
  59305. $isSourceSpan: 1,
  59306. $isSourceSpanWithContext: 1
  59307. };
  59308. A.LimitedMapView.prototype = {
  59309. get$keys(_) {
  59310. return this._limited_map_view$_keys;
  59311. },
  59312. get$length(_) {
  59313. return this._limited_map_view$_keys._collection$_length;
  59314. },
  59315. get$isEmpty(_) {
  59316. return this._limited_map_view$_keys._collection$_length === 0;
  59317. },
  59318. get$isNotEmpty(_) {
  59319. return this._limited_map_view$_keys._collection$_length !== 0;
  59320. },
  59321. $index(_, key) {
  59322. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.$index(0, key) : null;
  59323. },
  59324. containsKey$1(key) {
  59325. return this._limited_map_view$_keys.contains$1(0, key);
  59326. },
  59327. remove$1(_, key) {
  59328. return this._limited_map_view$_keys.contains$1(0, key) ? this._limited_map_view$_map.remove$1(0, key) : null;
  59329. }
  59330. };
  59331. A.MapExtensions_get_pairs_closure.prototype = {
  59332. call$1(e) {
  59333. return new A._Record_2(e.key, e.value);
  59334. },
  59335. $signature() {
  59336. return this.K._eval$1("@<0>")._bind$1(this.V)._eval$1("+(1,2)(MapEntry<1,2>)");
  59337. }
  59338. };
  59339. A.MergedMapView.prototype = {
  59340. get$keys(_) {
  59341. var t1 = this._mapsByKey;
  59342. return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"));
  59343. },
  59344. get$length(_) {
  59345. return this._mapsByKey.__js_helper$_length;
  59346. },
  59347. get$isEmpty(_) {
  59348. return this._mapsByKey.__js_helper$_length === 0;
  59349. },
  59350. get$isNotEmpty(_) {
  59351. return this._mapsByKey.__js_helper$_length !== 0;
  59352. },
  59353. MergedMapView$1(maps, $K, $V) {
  59354. var t1, t2, t3, _i, map, t4, t5, t6;
  59355. 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) {
  59356. map = maps[_i];
  59357. if (t3._is(map))
  59358. 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();) {
  59359. t6 = t4.__internal$_current;
  59360. if (t6 == null)
  59361. t6 = t5._as(t6);
  59362. A.setAll(t2, t6.get$keys(t6), t6);
  59363. }
  59364. else
  59365. A.setAll(t2, map.get$keys(map), map);
  59366. }
  59367. },
  59368. $index(_, key) {
  59369. var t1 = this._mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  59370. return t1 == null ? null : t1.$index(0, key);
  59371. },
  59372. $indexSet(_, key, value) {
  59373. var child, t1,
  59374. _0_0 = this._mapsByKey.$index(0, key);
  59375. if (_0_0 != null) {
  59376. child = _0_0;
  59377. t1 = true;
  59378. } else {
  59379. child = null;
  59380. t1 = false;
  59381. }
  59382. if (t1)
  59383. child.$indexSet(0, key, value);
  59384. else
  59385. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  59386. },
  59387. remove$1(_, key) {
  59388. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  59389. },
  59390. containsKey$1(key) {
  59391. return this._mapsByKey.containsKey$1(key);
  59392. }
  59393. };
  59394. A.MultiDirWatcher.prototype = {
  59395. watch$1(_, directory) {
  59396. var t1, t2, t3, t4, isParentOfExistingDir, _i, t5, _0_1, t6, existingWatcher, future, completer;
  59397. for (t1 = this._watchers, t2 = A.MapExtensions_get_pairs(t1, type$.nullable_String, type$.Stream_WatchEvent).toList$0(0), t3 = t2.length, t1 = t1._map, t4 = this._group, isParentOfExistingDir = false, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  59398. t5 = t2[_i];
  59399. _0_1 = A._InitializedCell$(new A.MultiDirWatcher_watch_closure(t5));
  59400. _0_1._readFinal$0().toString;
  59401. t6 = _0_1._readFinal$0();
  59402. t6.toString;
  59403. existingWatcher = t5._1;
  59404. if (!isParentOfExistingDir) {
  59405. t5 = $.$get$context();
  59406. t5 = t5._isWithinOrEquals$2(t6, directory) === B._PathRelation_equal || t5._isWithinOrEquals$2(t6, directory) === B._PathRelation_within;
  59407. } else
  59408. t5 = false;
  59409. if (t5) {
  59410. t1 = new A._Future($.Zone__current, type$._Future_void);
  59411. t1._asyncComplete$1(null);
  59412. return t1;
  59413. }
  59414. if ($.$get$context()._isWithinOrEquals$2(directory, t6) === B._PathRelation_within) {
  59415. t1.remove$1(0, t6);
  59416. t4.remove$1(0, existingWatcher);
  59417. isParentOfExistingDir = true;
  59418. }
  59419. }
  59420. future = A.watchDir(directory, this._poll);
  59421. t2 = new A._CompleterStream(type$._CompleterStream_WatchEvent);
  59422. completer = new A.StreamCompleter(t2, type$.StreamCompleter_WatchEvent);
  59423. future.then$1$2$onError(0, completer.get$setSourceStream(), completer.get$setError(), type$.void);
  59424. t1.$indexSet(0, directory, t2);
  59425. t4.add$1(0, t2);
  59426. return future;
  59427. }
  59428. };
  59429. A.MultiDirWatcher_watch_closure.prototype = {
  59430. call$0() {
  59431. return this._0_0._0;
  59432. },
  59433. $signature: 30
  59434. };
  59435. A.MultiSpan.prototype = {
  59436. get$start(_) {
  59437. var t1 = this._multi_span$_primary;
  59438. return t1.get$start(t1);
  59439. },
  59440. get$end(_) {
  59441. var t1 = this._multi_span$_primary;
  59442. return t1.get$end(t1);
  59443. },
  59444. get$text() {
  59445. return this._multi_span$_primary.get$text();
  59446. },
  59447. get$context(_) {
  59448. var t1 = this._multi_span$_primary;
  59449. return t1.get$context(t1);
  59450. },
  59451. get$file(_) {
  59452. var t1 = this._multi_span$_primary;
  59453. return t1.get$file(t1);
  59454. },
  59455. get$length(_) {
  59456. var t1 = this._multi_span$_primary;
  59457. return t1.get$length(t1);
  59458. },
  59459. get$sourceUrl(_) {
  59460. var t1 = this._multi_span$_primary;
  59461. return t1.get$sourceUrl(t1);
  59462. },
  59463. compareTo$1(_, other) {
  59464. return this._multi_span$_primary.compareTo$1(0, other);
  59465. },
  59466. toString$0(_) {
  59467. return this._multi_span$_primary.toString$0(0);
  59468. },
  59469. expand$1(_, other) {
  59470. return new A.MultiSpan(this._multi_span$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  59471. },
  59472. highlight$1$color(color) {
  59473. var t1 = color === true || false;
  59474. return A.Highlighter$multiple(this._multi_span$_primary, this.primaryLabel, this.secondarySpans, t1, null, null).highlight$0();
  59475. },
  59476. message$2$color(_, message, color) {
  59477. var t1 = J.$eq$(color, true) || typeof color == "string",
  59478. t2 = typeof color == "string" ? color : null;
  59479. return A.SourceSpanExtension_messageMultiple(this._multi_span$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2, null);
  59480. },
  59481. message$1($receiver, message) {
  59482. return this.message$2$color($receiver, message, null);
  59483. },
  59484. $isComparable: 1,
  59485. $isFileSpan: 1,
  59486. $isSourceSpan: 1,
  59487. $isSourceSpanWithContext: 1
  59488. };
  59489. A.NoSourceMapBuffer.prototype = {
  59490. get$length(_) {
  59491. return this._no_source_map_buffer$_buffer._contents.length;
  59492. },
  59493. forSpan$1$2(span, callback) {
  59494. return callback.call$0();
  59495. },
  59496. forSpan$2(span, callback) {
  59497. return this.forSpan$1$2(span, callback, type$.dynamic);
  59498. },
  59499. write$1(_, object) {
  59500. this._no_source_map_buffer$_buffer._contents += A.S(object);
  59501. return null;
  59502. },
  59503. writeCharCode$1(charCode) {
  59504. this._no_source_map_buffer$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
  59505. return null;
  59506. },
  59507. toString$0(_) {
  59508. var t1 = this._no_source_map_buffer$_buffer._contents;
  59509. return t1.charCodeAt(0) == 0 ? t1 : t1;
  59510. },
  59511. buildSourceMap$1$prefix(prefix) {
  59512. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  59513. }
  59514. };
  59515. A.PrefixedMapView.prototype = {
  59516. get$keys(_) {
  59517. return new A._PrefixedKeys(this);
  59518. },
  59519. get$length(_) {
  59520. var t1 = this._prefixed_map_view$_map;
  59521. return t1.get$length(t1);
  59522. },
  59523. get$isEmpty(_) {
  59524. var t1 = this._prefixed_map_view$_map;
  59525. return t1.get$isEmpty(t1);
  59526. },
  59527. get$isNotEmpty(_) {
  59528. var t1 = this._prefixed_map_view$_map;
  59529. return t1.get$isNotEmpty(t1);
  59530. },
  59531. $index(_, key) {
  59532. 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;
  59533. },
  59534. containsKey$1(key) {
  59535. 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));
  59536. }
  59537. };
  59538. A._PrefixedKeys.prototype = {
  59539. get$length(_) {
  59540. var t1 = this._view._prefixed_map_view$_map;
  59541. return t1.get$length(t1);
  59542. },
  59543. get$iterator(_) {
  59544. var t1 = this._view._prefixed_map_view$_map;
  59545. t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure(this), type$.String);
  59546. return t1.get$iterator(t1);
  59547. },
  59548. contains$1(_, key) {
  59549. return this._view.containsKey$1(key);
  59550. }
  59551. };
  59552. A._PrefixedKeys_iterator_closure.prototype = {
  59553. call$1(key) {
  59554. return this.$this._view._prefix + key;
  59555. },
  59556. $signature: 7
  59557. };
  59558. A.PublicMemberMapView.prototype = {
  59559. get$keys(_) {
  59560. var t1 = this._public_member_map_view$_inner;
  59561. return J.where$1$ax(t1.get$keys(t1), A.utils__isPublic$closure());
  59562. },
  59563. containsKey$1(key) {
  59564. return typeof key == "string" && A.isPublic(key) && this._public_member_map_view$_inner.containsKey$1(key);
  59565. },
  59566. $index(_, key) {
  59567. if (typeof key == "string" && A.isPublic(key))
  59568. return this._public_member_map_view$_inner.$index(0, key);
  59569. return null;
  59570. }
  59571. };
  59572. A.SourceMapBuffer.prototype = {
  59573. get$_targetLocation() {
  59574. var t1 = this._source_map_buffer$_buffer._contents,
  59575. t2 = this._line;
  59576. return A.SourceLocation$(t1.length, this._column, t2, null);
  59577. },
  59578. get$length(_) {
  59579. return this._source_map_buffer$_buffer._contents.length;
  59580. },
  59581. forSpan$1$2(span, callback) {
  59582. var t1, _this = this,
  59583. wasInSpan = _this._inSpan;
  59584. _this._inSpan = true;
  59585. _this._addEntry$2(span.get$start(span), _this.get$_targetLocation());
  59586. try {
  59587. t1 = callback.call$0();
  59588. return t1;
  59589. } finally {
  59590. _this._inSpan = wasInSpan;
  59591. }
  59592. },
  59593. forSpan$2(span, callback) {
  59594. return this.forSpan$1$2(span, callback, type$.dynamic);
  59595. },
  59596. _addEntry$2(source, target) {
  59597. var entry, t2,
  59598. t1 = this._entries;
  59599. if (t1.length !== 0) {
  59600. entry = B.JSArray_methods.get$last(t1);
  59601. t2 = entry.source;
  59602. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  59603. return;
  59604. if (entry.target.offset === target.offset)
  59605. return;
  59606. }
  59607. t1.push(new A.Entry(source, target, null));
  59608. },
  59609. write$1(_, object) {
  59610. var t1, i,
  59611. string = J.toString$0$(object);
  59612. this._source_map_buffer$_buffer._contents += string;
  59613. for (t1 = string.length, i = 0; i < t1; ++i)
  59614. if (string.charCodeAt(i) === 10)
  59615. this._source_map_buffer$_writeLine$0();
  59616. else
  59617. ++this._column;
  59618. },
  59619. writeCharCode$1(charCode) {
  59620. this._source_map_buffer$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
  59621. if (charCode === 10)
  59622. this._source_map_buffer$_writeLine$0();
  59623. else
  59624. ++this._column;
  59625. },
  59626. _source_map_buffer$_writeLine$0() {
  59627. var _this = this,
  59628. t1 = _this._entries;
  59629. if (B.JSArray_methods.get$last(t1).target.line === _this._line && B.JSArray_methods.get$last(t1).target.column === _this._column)
  59630. t1.pop();
  59631. ++_this._line;
  59632. _this._column = 0;
  59633. if (_this._inSpan)
  59634. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_targetLocation(), null));
  59635. },
  59636. toString$0(_) {
  59637. var t1 = this._source_map_buffer$_buffer._contents;
  59638. return t1.charCodeAt(0) == 0 ? t1 : t1;
  59639. },
  59640. buildSourceMap$1$prefix(prefix) {
  59641. var i, t2, prefixColumn, _box_0 = {},
  59642. t1 = prefix.length;
  59643. if (t1 === 0)
  59644. return A.SingleMapping_SingleMapping$fromEntries(this._entries);
  59645. _box_0.prefixColumn = _box_0.prefixLines = 0;
  59646. for (i = 0, t2 = 0; i < t1; ++i)
  59647. if (prefix.charCodeAt(i) === 10) {
  59648. ++_box_0.prefixLines;
  59649. _box_0.prefixColumn = 0;
  59650. t2 = 0;
  59651. } else {
  59652. prefixColumn = t2 + 1;
  59653. _box_0.prefixColumn = prefixColumn;
  59654. t2 = prefixColumn;
  59655. }
  59656. t2 = this._entries;
  59657. 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>")));
  59658. }
  59659. };
  59660. A.SourceMapBuffer_buildSourceMap_closure.prototype = {
  59661. call$1(entry) {
  59662. var t1 = entry.target,
  59663. t2 = t1.line,
  59664. t3 = this._box_0,
  59665. t4 = t3.prefixLines;
  59666. t3 = t2 === 0 ? t3.prefixColumn : 0;
  59667. return new A.Entry(entry.source, A.SourceLocation$(t1.offset + this.prefixLength, t1.column + t3, t2 + t4, null), entry.identifierName);
  59668. },
  59669. $signature: 172
  59670. };
  59671. A.UnprefixedMapView.prototype = {
  59672. get$keys(_) {
  59673. return new A._UnprefixedKeys(this);
  59674. },
  59675. $index(_, key) {
  59676. return typeof key == "string" ? this._unprefixed_map_view$_map.$index(0, this._unprefixed_map_view$_prefix + key) : null;
  59677. },
  59678. containsKey$1(key) {
  59679. return typeof key == "string" && this._unprefixed_map_view$_map.containsKey$1(this._unprefixed_map_view$_prefix + key);
  59680. },
  59681. remove$1(_, key) {
  59682. return typeof key == "string" ? this._unprefixed_map_view$_map.remove$1(0, this._unprefixed_map_view$_prefix + key) : null;
  59683. }
  59684. };
  59685. A._UnprefixedKeys.prototype = {
  59686. get$iterator(_) {
  59687. var t1 = this._unprefixed_map_view$_view._unprefixed_map_view$_map;
  59688. 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);
  59689. return t1.get$iterator(t1);
  59690. },
  59691. contains$1(_, key) {
  59692. return this._unprefixed_map_view$_view.containsKey$1(key);
  59693. }
  59694. };
  59695. A._UnprefixedKeys_iterator_closure.prototype = {
  59696. call$1(key) {
  59697. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix);
  59698. },
  59699. $signature: 10
  59700. };
  59701. A._UnprefixedKeys_iterator_closure0.prototype = {
  59702. call$1(key) {
  59703. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix.length);
  59704. },
  59705. $signature: 7
  59706. };
  59707. A.indent_closure.prototype = {
  59708. call$1(line) {
  59709. return B.JSString_methods.$mul(" ", this.indentation) + line;
  59710. },
  59711. $signature: 7
  59712. };
  59713. A.flattenVertically_closure.prototype = {
  59714. call$1(inner) {
  59715. return A.QueueList_QueueList$from(inner, this.T);
  59716. },
  59717. $signature() {
  59718. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  59719. }
  59720. };
  59721. A.flattenVertically_closure0.prototype = {
  59722. call$1(queue) {
  59723. this.result.push(queue.removeFirst$0());
  59724. return queue.get$length(queue) === 0;
  59725. },
  59726. $signature() {
  59727. return this.T._eval$1("bool(QueueList<0>)");
  59728. }
  59729. };
  59730. A.longestCommonSubsequence_backtrack.prototype = {
  59731. call$2(i, j) {
  59732. var selection, t1, _this = this;
  59733. if (i === -1 || j === -1)
  59734. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  59735. selection = _this.selections[i][j];
  59736. if (selection != null) {
  59737. t1 = _this.call$2(i - 1, j - 1);
  59738. J.add$1$ax(t1, selection);
  59739. return t1;
  59740. }
  59741. t1 = _this.lengths;
  59742. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  59743. },
  59744. $signature() {
  59745. return this.T._eval$1("List<0>(int,int)");
  59746. }
  59747. };
  59748. A.mapAddAll2_closure.prototype = {
  59749. call$2(key, inner) {
  59750. var innerDestination, t2,
  59751. t1 = this.destination,
  59752. _0_0 = t1.$index(0, key);
  59753. if (_0_0 != null) {
  59754. innerDestination = _0_0;
  59755. t2 = true;
  59756. } else {
  59757. innerDestination = null;
  59758. t2 = false;
  59759. }
  59760. if (t2)
  59761. innerDestination.addAll$1(0, inner);
  59762. else
  59763. t1.$indexSet(0, key, inner);
  59764. },
  59765. $signature() {
  59766. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  59767. }
  59768. };
  59769. A.Value.prototype = {
  59770. get$isTruthy() {
  59771. return true;
  59772. },
  59773. get$separator(_) {
  59774. return B.ListSeparator_undecided_null_undecided;
  59775. },
  59776. get$hasBrackets() {
  59777. return false;
  59778. },
  59779. get$asList() {
  59780. return A._setArrayType([this], type$.JSArray_Value);
  59781. },
  59782. get$lengthAsList() {
  59783. return 1;
  59784. },
  59785. get$isBlank() {
  59786. return false;
  59787. },
  59788. get$isSpecialNumber() {
  59789. return false;
  59790. },
  59791. get$isVar() {
  59792. return false;
  59793. },
  59794. get$realNull() {
  59795. return this;
  59796. },
  59797. sassIndexToListIndex$2(sassIndex, $name) {
  59798. var t1, t2, index,
  59799. indexValue = sassIndex.assertNumber$1($name);
  59800. if (indexValue.get$hasUnits()) {
  59801. t1 = indexValue.get$unitString();
  59802. t2 = indexValue.unitSuggestion$1($name);
  59803. A.EvaluationContext_current().warn$2(0, "$" + $name + ": Passing a number with unit " + t1 + string$.x20is_de + t2 + string$.x0a_Morex3a, B.Deprecation_8WR);
  59804. }
  59805. index = indexValue.assertInt$1($name);
  59806. if (index === 0)
  59807. throw A.wrapException(A.SassScriptException$("List index may not be 0.", $name));
  59808. if (Math.abs(index) > this.get$lengthAsList())
  59809. throw A.wrapException(A.SassScriptException$("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  59810. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  59811. },
  59812. assertCalculation$1($name) {
  59813. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a calculation.", $name));
  59814. },
  59815. assertColor$1($name) {
  59816. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a color.", $name));
  59817. },
  59818. assertFunction$1($name) {
  59819. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a function reference.", $name));
  59820. },
  59821. assertMixin$1($name) {
  59822. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a mixin reference.", $name));
  59823. },
  59824. assertMap$1($name) {
  59825. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a map.", $name));
  59826. },
  59827. tryMap$0() {
  59828. return null;
  59829. },
  59830. assertNumber$1($name) {
  59831. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a number.", $name));
  59832. },
  59833. assertNumber$0() {
  59834. return this.assertNumber$1(null);
  59835. },
  59836. assertString$1($name) {
  59837. return A.throwExpression(A.SassScriptException$(this.toString$0(0) + " is not a string.", $name));
  59838. },
  59839. _selectorString$1($name) {
  59840. var string, t1,
  59841. _0_0 = this._selectorStringOrNull$0();
  59842. if (_0_0 != null) {
  59843. string = _0_0;
  59844. t1 = true;
  59845. } else {
  59846. string = null;
  59847. t1 = false;
  59848. }
  59849. if (t1)
  59850. return string;
  59851. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + string$.x20is_noa, $name));
  59852. },
  59853. _selectorStringOrNull$0() {
  59854. var t1, t2, result, _1_0, _i, complex, string, compound, _this = this, _null = null;
  59855. if (_this instanceof A.SassString)
  59856. return _this._string$_text;
  59857. if (!(_this instanceof A.SassList))
  59858. return _null;
  59859. t1 = _this._list$_contents;
  59860. t2 = t1.length;
  59861. if (t2 === 0)
  59862. return _null;
  59863. result = A._setArrayType([], type$.JSArray_String);
  59864. $label0$1: {
  59865. _1_0 = _this._separator;
  59866. if (B.ListSeparator_rXA === _1_0) {
  59867. for (_i = 0; _i < t2; ++_i) {
  59868. complex = t1[_i];
  59869. if (complex instanceof A.SassString) {
  59870. result.push(complex._string$_text);
  59871. continue;
  59872. }
  59873. if (complex instanceof A.SassList && B.ListSeparator_EVt === complex._separator) {
  59874. string = complex._selectorStringOrNull$0();
  59875. if (string == null)
  59876. return _null;
  59877. result.push(string);
  59878. continue;
  59879. }
  59880. return _null;
  59881. }
  59882. break $label0$1;
  59883. }
  59884. if (B.ListSeparator_zg9 === _1_0)
  59885. return _null;
  59886. for (_i = 0; _i < t2; ++_i) {
  59887. compound = t1[_i];
  59888. if (!(compound instanceof A.SassString))
  59889. return _null;
  59890. result.push(compound._string$_text);
  59891. }
  59892. }
  59893. return B.JSArray_methods.join$1(result, _1_0 === B.ListSeparator_rXA ? ", " : " ");
  59894. },
  59895. withListContents$2$separator(contents, separator) {
  59896. var t1 = separator == null ? this.get$separator(this) : separator,
  59897. t2 = this.get$hasBrackets();
  59898. return A.SassList$(contents, t1, t2);
  59899. },
  59900. withListContents$1(contents) {
  59901. return this.withListContents$2$separator(contents, null);
  59902. },
  59903. greaterThan$1(other) {
  59904. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  59905. },
  59906. greaterThanOrEquals$1(other) {
  59907. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  59908. },
  59909. lessThan$1(other) {
  59910. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  59911. },
  59912. lessThanOrEquals$1(other) {
  59913. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  59914. },
  59915. times$1(other) {
  59916. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  59917. },
  59918. modulo$1(other) {
  59919. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  59920. },
  59921. plus$1(other) {
  59922. var t1;
  59923. $label0$0: {
  59924. if (other instanceof A.SassString) {
  59925. t1 = new A.SassString(A.serializeValue(this, false, true) + other._string$_text, other._hasQuotes);
  59926. break $label0$0;
  59927. }
  59928. if (other instanceof A.SassCalculation)
  59929. A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  59930. t1 = new A.SassString(A.serializeValue(this, false, true) + A.serializeValue(other, false, true), false);
  59931. break $label0$0;
  59932. }
  59933. return t1;
  59934. },
  59935. minus$1(other) {
  59936. return other instanceof A.SassCalculation ? A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null)) : new A.SassString(A.serializeValue(this, false, true) + "-" + A.serializeValue(other, false, true), false);
  59937. },
  59938. dividedBy$1(other) {
  59939. return new A.SassString(A.serializeValue(this, false, true) + "/" + A.serializeValue(other, false, true), false);
  59940. },
  59941. unaryPlus$0() {
  59942. return new A.SassString("+" + A.serializeValue(this, false, true), false);
  59943. },
  59944. unaryMinus$0() {
  59945. return new A.SassString("-" + A.serializeValue(this, false, true), false);
  59946. },
  59947. unaryNot$0() {
  59948. return B.SassBoolean_false;
  59949. },
  59950. withoutSlash$0() {
  59951. return this;
  59952. },
  59953. toString$0(_) {
  59954. return A.serializeValue(this, true, true);
  59955. }
  59956. };
  59957. A.SassArgumentList.prototype = {};
  59958. A.SassBoolean.prototype = {
  59959. get$isTruthy() {
  59960. return this.value;
  59961. },
  59962. accept$1$1(visitor) {
  59963. return visitor._serialize$_buffer.write$1(0, String(this.value));
  59964. },
  59965. accept$1(visitor) {
  59966. return this.accept$1$1(visitor, type$.dynamic);
  59967. },
  59968. unaryNot$0() {
  59969. return this.value ? B.SassBoolean_false : B.SassBoolean_true;
  59970. }
  59971. };
  59972. A.SassCalculation.prototype = {
  59973. get$isSpecialNumber() {
  59974. return true;
  59975. },
  59976. accept$1$1(visitor) {
  59977. return visitor.visitCalculation$1(this);
  59978. },
  59979. accept$1(visitor) {
  59980. return this.accept$1$1(visitor, type$.dynamic);
  59981. },
  59982. assertCalculation$1($name) {
  59983. return this;
  59984. },
  59985. plus$1(other) {
  59986. if (other instanceof A.SassString)
  59987. return this.super$Value$plus(other);
  59988. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  59989. },
  59990. minus$1(other) {
  59991. return A.throwExpression(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  59992. },
  59993. unaryPlus$0() {
  59994. return A.throwExpression(A.SassScriptException$('Undefined operation "+' + this.toString$0(0) + '".', null));
  59995. },
  59996. unaryMinus$0() {
  59997. return A.throwExpression(A.SassScriptException$('Undefined operation "-' + this.toString$0(0) + '".', null));
  59998. },
  59999. $eq(_, other) {
  60000. if (other == null)
  60001. return false;
  60002. return other instanceof A.SassCalculation && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  60003. },
  60004. get$hashCode(_) {
  60005. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  60006. }
  60007. };
  60008. A.SassCalculation_sign_closure.prototype = {
  60009. call$0() {
  60010. return type$.SassNumber._as(this._0_0)._number$_value;
  60011. },
  60012. $signature: 111
  60013. };
  60014. A.SassCalculation_round_closure.prototype = {
  60015. call$0() {
  60016. return this._0_0._0;
  60017. },
  60018. $signature: 14
  60019. };
  60020. A.SassCalculation_round_closure0.prototype = {
  60021. call$0() {
  60022. return this._0_0._1;
  60023. },
  60024. $signature: 29
  60025. };
  60026. A.SassCalculation_round_closure1.prototype = {
  60027. call$0() {
  60028. return this._0_2._readFinal$0() == null;
  60029. },
  60030. $signature: 1
  60031. };
  60032. A.SassCalculation_round_closure2.prototype = {
  60033. call$0() {
  60034. return this._0_0._2;
  60035. },
  60036. $signature: 29
  60037. };
  60038. A.SassCalculation_round_closure3.prototype = {
  60039. call$0() {
  60040. return this._0_5._readFinal$0() == null;
  60041. },
  60042. $signature: 1
  60043. };
  60044. A.SassCalculation_round_closure4.prototype = {
  60045. call$0() {
  60046. return type$.SassString._as(this._0_1._readFinal$0())._string$_text;
  60047. },
  60048. $signature: 21
  60049. };
  60050. A.SassCalculation_round_closure5.prototype = {
  60051. call$0() {
  60052. return "nearest" === this._0_8._readFinal$0();
  60053. },
  60054. $signature: 1
  60055. };
  60056. A.SassCalculation_round_closure6.prototype = {
  60057. call$0() {
  60058. return "up" === this._0_8._readFinal$0();
  60059. },
  60060. $signature: 1
  60061. };
  60062. A.SassCalculation_round_closure7.prototype = {
  60063. call$0() {
  60064. return "down" === this._0_8._readFinal$0();
  60065. },
  60066. $signature: 1
  60067. };
  60068. A.SassCalculation_round_closure8.prototype = {
  60069. call$0() {
  60070. return "to-zero" === this._0_8._readFinal$0();
  60071. },
  60072. $signature: 1
  60073. };
  60074. A.SassCalculation__roundWithStep_closure0.prototype = {
  60075. call$0() {
  60076. return this._0_0._0;
  60077. },
  60078. $signature: 21
  60079. };
  60080. A.SassCalculation__roundWithStep_closure.prototype = {
  60081. call$0() {
  60082. return this._0_0._1;
  60083. },
  60084. $signature: 111
  60085. };
  60086. A.SassCalculation__roundWithStep_closure1.prototype = {
  60087. call$0() {
  60088. return "nearest" === this._0_1._readFinal$0();
  60089. },
  60090. $signature: 1
  60091. };
  60092. A.SassCalculation__roundWithStep_closure2.prototype = {
  60093. call$0() {
  60094. return "to-zero" === this._0_1._readFinal$0();
  60095. },
  60096. $signature: 1
  60097. };
  60098. A.SassCalculation__roundWithStep_closure3.prototype = {
  60099. call$0() {
  60100. return this._0_2._readFinal$0() > 0;
  60101. },
  60102. $signature: 1
  60103. };
  60104. A.SassCalculation__roundWithStep_closure4.prototype = {
  60105. call$0() {
  60106. return "up" === this._0_1._readFinal$0();
  60107. },
  60108. $signature: 1
  60109. };
  60110. A.SassCalculation__roundWithStep_closure5.prototype = {
  60111. call$0() {
  60112. return "down" === this._0_1._readFinal$0();
  60113. },
  60114. $signature: 1
  60115. };
  60116. A.SassCalculation__simplify_closure.prototype = {
  60117. call$0() {
  60118. return "calc" === this._0_0.name;
  60119. },
  60120. $signature: 1
  60121. };
  60122. A.SassCalculation__simplify_closure0.prototype = {
  60123. call$0() {
  60124. return type$.SassCalculation._as(this._0_0).$arguments;
  60125. },
  60126. $signature: 123
  60127. };
  60128. A.SassCalculation__simplify_closure1.prototype = {
  60129. call$0() {
  60130. return J.get$length$asx(this._0_12._readFinal$0()) === 1;
  60131. },
  60132. $signature: 1
  60133. };
  60134. A.SassCalculation__simplify_closure2.prototype = {
  60135. call$0() {
  60136. return J.$index$asx(this._0_12._readFinal$0(), 0);
  60137. },
  60138. $signature: 14
  60139. };
  60140. A.SassCalculation__verifyLength_closure.prototype = {
  60141. call$1(arg) {
  60142. return arg instanceof A.SassString;
  60143. },
  60144. $signature: 68
  60145. };
  60146. A.CalculationOperation.prototype = {
  60147. $eq(_, other) {
  60148. if (other == null)
  60149. return false;
  60150. return other instanceof A.CalculationOperation && this._operator === other._operator && J.$eq$(this._left, other._left) && J.$eq$(this._right, other._right);
  60151. },
  60152. get$hashCode(_) {
  60153. return (A.Primitives_objectHashCode(this._operator) ^ J.get$hashCode$(this._left) ^ J.get$hashCode$(this._right)) >>> 0;
  60154. },
  60155. toString$0(_) {
  60156. var parenthesized = A.serializeValue(new A.SassCalculation("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  60157. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  60158. }
  60159. };
  60160. A.CalculationOperator.prototype = {
  60161. _enumToString$0() {
  60162. return "CalculationOperator." + this._name;
  60163. },
  60164. toString$0(_) {
  60165. return this.name;
  60166. }
  60167. };
  60168. A.SassColor.prototype = {
  60169. get$red(_) {
  60170. var t1;
  60171. if (this._red == null)
  60172. this._hslToRgb$0();
  60173. t1 = this._red;
  60174. t1.toString;
  60175. return t1;
  60176. },
  60177. get$green(_) {
  60178. var t1;
  60179. if (this._green == null)
  60180. this._hslToRgb$0();
  60181. t1 = this._green;
  60182. t1.toString;
  60183. return t1;
  60184. },
  60185. get$blue(_) {
  60186. var t1;
  60187. if (this._blue == null)
  60188. this._hslToRgb$0();
  60189. t1 = this._blue;
  60190. t1.toString;
  60191. return t1;
  60192. },
  60193. get$hue(_) {
  60194. var t1;
  60195. if (this._hue == null)
  60196. this._rgbToHsl$0();
  60197. t1 = this._hue;
  60198. t1.toString;
  60199. return t1;
  60200. },
  60201. get$saturation(_) {
  60202. var t1;
  60203. if (this._saturation == null)
  60204. this._rgbToHsl$0();
  60205. t1 = this._saturation;
  60206. t1.toString;
  60207. return t1;
  60208. },
  60209. get$lightness(_) {
  60210. var t1;
  60211. if (this._lightness == null)
  60212. this._rgbToHsl$0();
  60213. t1 = this._lightness;
  60214. t1.toString;
  60215. return t1;
  60216. },
  60217. get$whiteness(_) {
  60218. var _this = this;
  60219. return Math.min(Math.min(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
  60220. },
  60221. get$blackness(_) {
  60222. var _this = this;
  60223. return 100 - Math.max(Math.max(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
  60224. },
  60225. accept$1$1(visitor) {
  60226. return visitor.visitColor$1(this);
  60227. },
  60228. accept$1(visitor) {
  60229. return this.accept$1$1(visitor, type$.dynamic);
  60230. },
  60231. assertColor$1($name) {
  60232. return this;
  60233. },
  60234. changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
  60235. return A.SassColor$rgb(red, green, blue, alpha == null ? this._alpha : alpha);
  60236. },
  60237. changeRgb$3$blue$green$red(blue, green, red) {
  60238. return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
  60239. },
  60240. changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
  60241. var _this = this, _null = null,
  60242. t1 = hue == null ? _this.get$hue(_this) : hue,
  60243. t2 = saturation == null ? _this.get$saturation(_this) : saturation,
  60244. t3 = lightness == null ? _this.get$lightness(_this) : lightness,
  60245. t4 = A.SassColor__handleNullAlpha(alpha == null ? _this._alpha : alpha);
  60246. return new A.SassColor(_null, _null, _null, B.JSNumber_methods.$mod(t1, 360), A.fuzzyAssertRange(t2, 0, 100, "saturation"), A.fuzzyAssertRange(t3, 0, 100, "lightness"), A.fuzzyAssertRange(t4, 0, 1, "alpha"), _null);
  60247. },
  60248. changeHsl$1$saturation(saturation) {
  60249. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
  60250. },
  60251. changeHsl$1$lightness(lightness) {
  60252. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
  60253. },
  60254. changeHsl$1$hue(hue) {
  60255. return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
  60256. },
  60257. changeAlpha$1(alpha) {
  60258. var _this = this;
  60259. return new A.SassColor(_this._red, _this._green, _this._blue, _this._hue, _this._saturation, _this._lightness, A.fuzzyAssertRange(alpha, 0, 1, "alpha"), null);
  60260. },
  60261. plus$1(other) {
  60262. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  60263. return this.super$Value$plus(other);
  60264. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  60265. },
  60266. minus$1(other) {
  60267. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  60268. return this.super$Value$minus(other);
  60269. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  60270. },
  60271. dividedBy$1(other) {
  60272. if (!(other instanceof A.SassNumber) && !(other instanceof A.SassColor))
  60273. return this.super$Value$dividedBy(other);
  60274. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  60275. },
  60276. $eq(_, other) {
  60277. var _this = this;
  60278. if (other == null)
  60279. return false;
  60280. 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;
  60281. },
  60282. get$hashCode(_) {
  60283. var _this = this;
  60284. 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);
  60285. },
  60286. _rgbToHsl$0() {
  60287. var t2, lightness, _this = this,
  60288. scaledRed = _this.get$red(_this) / 255,
  60289. scaledGreen = _this.get$green(_this) / 255,
  60290. scaledBlue = _this.get$blue(_this) / 255,
  60291. max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
  60292. min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
  60293. delta = max - min,
  60294. t1 = max === min;
  60295. if (t1)
  60296. _this._hue = 0;
  60297. else if (max === scaledRed)
  60298. _this._hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
  60299. else if (max === scaledGreen)
  60300. _this._hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
  60301. else if (max === scaledBlue)
  60302. _this._hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
  60303. t2 = max + min;
  60304. lightness = 50 * t2;
  60305. _this._lightness = lightness;
  60306. if (t1)
  60307. _this._saturation = 0;
  60308. else {
  60309. t1 = 100 * delta;
  60310. if (lightness < 50)
  60311. _this._saturation = t1 / t2;
  60312. else
  60313. _this._saturation = t1 / (2 - max - min);
  60314. }
  60315. },
  60316. _hslToRgb$0() {
  60317. var _this = this,
  60318. scaledHue = _this.get$hue(_this) / 360,
  60319. scaledSaturation = _this.get$saturation(_this) / 100,
  60320. scaledLightness = _this.get$lightness(_this) / 100,
  60321. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  60322. m1 = scaledLightness * 2 - m2;
  60323. _this._red = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue + 0.3333333333333333) * 255);
  60324. _this._green = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue) * 255);
  60325. _this._blue = A.fuzzyRound(A.SassColor__hueToRgb(m1, m2, scaledHue - 0.3333333333333333) * 255);
  60326. }
  60327. };
  60328. A.SassColor_SassColor$hwb_toRgb.prototype = {
  60329. call$1(hue) {
  60330. return A.fuzzyRound((A.SassColor__hueToRgb(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
  60331. },
  60332. $signature: 171
  60333. };
  60334. A._ColorFormatEnum.prototype = {
  60335. toString$0(_) {
  60336. return this._color$_name;
  60337. }
  60338. };
  60339. A.SpanColorFormat.prototype = {};
  60340. A.SassFunction.prototype = {
  60341. accept$1$1(visitor) {
  60342. var t1, t2;
  60343. if (!visitor._inspect)
  60344. A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value.", null));
  60345. t1 = visitor._serialize$_buffer;
  60346. t1.write$1(0, "get-function(");
  60347. t2 = this.callable;
  60348. visitor._visitQuotedString$1(t2.get$name(t2));
  60349. t1.writeCharCode$1(41);
  60350. return null;
  60351. },
  60352. accept$1(visitor) {
  60353. return this.accept$1$1(visitor, type$.dynamic);
  60354. },
  60355. assertFunction$1($name) {
  60356. return this;
  60357. },
  60358. $eq(_, other) {
  60359. if (other == null)
  60360. return false;
  60361. return other instanceof A.SassFunction && this.callable.$eq(0, other.callable);
  60362. },
  60363. get$hashCode(_) {
  60364. var t1 = this.callable;
  60365. return t1.get$hashCode(t1);
  60366. }
  60367. };
  60368. A.SassList.prototype = {
  60369. get$separator(_) {
  60370. return this._separator;
  60371. },
  60372. get$hasBrackets() {
  60373. return this._hasBrackets;
  60374. },
  60375. get$isBlank() {
  60376. return !this._hasBrackets && B.JSArray_methods.every$1(this._list$_contents, new A.SassList_isBlank_closure());
  60377. },
  60378. get$asList() {
  60379. return this._list$_contents;
  60380. },
  60381. get$lengthAsList() {
  60382. return this._list$_contents.length;
  60383. },
  60384. SassList$3$brackets(contents, _separator, brackets) {
  60385. if (this._separator === B.ListSeparator_undecided_null_undecided && this._list$_contents.length > 1)
  60386. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  60387. },
  60388. accept$1$1(visitor) {
  60389. return visitor.visitList$1(this);
  60390. },
  60391. accept$1(visitor) {
  60392. return this.accept$1$1(visitor, type$.dynamic);
  60393. },
  60394. assertMap$1($name) {
  60395. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : this.super$Value$assertMap($name);
  60396. },
  60397. tryMap$0() {
  60398. return this._list$_contents.length === 0 ? B.SassMap_Map_empty : null;
  60399. },
  60400. $eq(_, other) {
  60401. var t1, _this = this;
  60402. if (other == null)
  60403. return false;
  60404. 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)))
  60405. t1 = _this._list$_contents.length === 0 && other instanceof A.SassMap && other.get$asList().length === 0;
  60406. else
  60407. t1 = true;
  60408. return t1;
  60409. },
  60410. get$hashCode(_) {
  60411. return B.C_ListEquality0.hash$1(this._list$_contents);
  60412. }
  60413. };
  60414. A.SassList_isBlank_closure.prototype = {
  60415. call$1(element) {
  60416. return element.get$isBlank();
  60417. },
  60418. $signature: 71
  60419. };
  60420. A.ListSeparator.prototype = {
  60421. _enumToString$0() {
  60422. return "ListSeparator." + this._name;
  60423. },
  60424. toString$0(_) {
  60425. return this._list$_name;
  60426. }
  60427. };
  60428. A.SassMap.prototype = {
  60429. get$separator(_) {
  60430. var t1 = this._map$_contents;
  60431. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_undecided : B.ListSeparator_rXA;
  60432. },
  60433. get$asList() {
  60434. var t3, t4, t5, result,
  60435. t1 = type$.JSArray_Value,
  60436. t2 = A._setArrayType([], t1);
  60437. for (t3 = type$.Value, t4 = A.MapExtensions_get_pairs(this._map$_contents, t3, t3), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
  60438. t5 = t4.get$current(t4);
  60439. result = A.List_List$from(A._setArrayType([t5._0, t5._1], t1), false, t3);
  60440. result.fixed$length = Array;
  60441. result.immutable$list = Array;
  60442. t2.push(new A.SassList(result, B.ListSeparator_EVt, false));
  60443. }
  60444. return t2;
  60445. },
  60446. get$lengthAsList() {
  60447. var t1 = this._map$_contents;
  60448. return t1.get$length(t1);
  60449. },
  60450. accept$1$1(visitor) {
  60451. return visitor.visitMap$1(this);
  60452. },
  60453. accept$1(visitor) {
  60454. return this.accept$1$1(visitor, type$.dynamic);
  60455. },
  60456. assertMap$1($name) {
  60457. return this;
  60458. },
  60459. tryMap$0() {
  60460. return this;
  60461. },
  60462. $eq(_, other) {
  60463. var t1;
  60464. if (other == null)
  60465. return false;
  60466. if (!(other instanceof A.SassMap && B.C_MapEquality.equals$2(0, other._map$_contents, this._map$_contents))) {
  60467. t1 = this._map$_contents;
  60468. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList && other._list$_contents.length === 0;
  60469. } else
  60470. t1 = true;
  60471. return t1;
  60472. },
  60473. get$hashCode(_) {
  60474. var t1 = this._map$_contents;
  60475. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty8) : B.C_MapEquality.hash$1(t1);
  60476. }
  60477. };
  60478. A.SassMixin.prototype = {
  60479. accept$1$1(visitor) {
  60480. var t1, t2;
  60481. if (!visitor._inspect)
  60482. A.throwExpression(A.SassScriptException$(this.toString$0(0) + " isn't a valid CSS value.", null));
  60483. t1 = visitor._serialize$_buffer;
  60484. t1.write$1(0, "get-mixin(");
  60485. t2 = this.callable;
  60486. visitor._visitQuotedString$1(t2.get$name(t2));
  60487. t1.writeCharCode$1(41);
  60488. return null;
  60489. },
  60490. accept$1(visitor) {
  60491. return this.accept$1$1(visitor, type$.dynamic);
  60492. },
  60493. assertMixin$1($name) {
  60494. return this;
  60495. },
  60496. $eq(_, other) {
  60497. if (other == null)
  60498. return false;
  60499. return other instanceof A.SassMixin && this.callable.$eq(0, other.callable);
  60500. },
  60501. get$hashCode(_) {
  60502. var t1 = this.callable;
  60503. return t1.get$hashCode(t1);
  60504. }
  60505. };
  60506. A._SassNull.prototype = {
  60507. get$isTruthy() {
  60508. return false;
  60509. },
  60510. get$isBlank() {
  60511. return true;
  60512. },
  60513. get$realNull() {
  60514. return null;
  60515. },
  60516. accept$1$1(visitor) {
  60517. if (visitor._inspect)
  60518. visitor._serialize$_buffer.write$1(0, "null");
  60519. return null;
  60520. },
  60521. accept$1(visitor) {
  60522. return this.accept$1$1(visitor, type$.dynamic);
  60523. },
  60524. unaryNot$0() {
  60525. return B.SassBoolean_true;
  60526. }
  60527. };
  60528. A.SassNumber.prototype = {
  60529. get$unitString() {
  60530. var _this = this;
  60531. return _this.get$hasUnits() ? _this._unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  60532. },
  60533. accept$1$1(visitor) {
  60534. return visitor.visitNumber$1(this);
  60535. },
  60536. accept$1(visitor) {
  60537. return this.accept$1$1(visitor, type$.dynamic);
  60538. },
  60539. withoutSlash$0() {
  60540. var _this = this;
  60541. return _this.asSlash == null ? _this : _this.withValue$1(_this._number$_value);
  60542. },
  60543. assertNumber$1($name) {
  60544. return this;
  60545. },
  60546. assertNumber$0() {
  60547. return this.assertNumber$1(null);
  60548. },
  60549. assertInt$1($name) {
  60550. var integer, t1,
  60551. _0_0 = A.fuzzyAsInt(this._number$_value);
  60552. if (_0_0 != null) {
  60553. integer = _0_0;
  60554. t1 = true;
  60555. } else {
  60556. integer = null;
  60557. t1 = false;
  60558. }
  60559. if (t1)
  60560. return integer;
  60561. throw A.wrapException(A.SassScriptException$(this.toString$0(0) + " is not an int.", $name));
  60562. },
  60563. assertInt$0() {
  60564. return this.assertInt$1(null);
  60565. },
  60566. valueInRange$3(min, max, $name) {
  60567. var result, t1, _this = this,
  60568. _0_0 = A.fuzzyCheckRange(_this._number$_value, min, max);
  60569. if (_0_0 != null) {
  60570. result = _0_0;
  60571. t1 = true;
  60572. } else {
  60573. result = null;
  60574. t1 = false;
  60575. }
  60576. if (t1)
  60577. return result;
  60578. throw A.wrapException(A.SassScriptException$("Expected " + _this.toString$0(0) + " to be within " + min + _this.get$unitString() + " and " + max + _this.get$unitString() + ".", $name));
  60579. },
  60580. valueInRangeWithUnit$4(min, max, $name, unit) {
  60581. var result, t1,
  60582. _0_0 = A.fuzzyCheckRange(this._number$_value, min, max);
  60583. if (_0_0 != null) {
  60584. result = _0_0;
  60585. t1 = true;
  60586. } else {
  60587. result = null;
  60588. t1 = false;
  60589. }
  60590. if (t1)
  60591. return result;
  60592. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  60593. },
  60594. hasCompatibleUnits$1(other) {
  60595. var _this = this;
  60596. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  60597. return false;
  60598. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  60599. return false;
  60600. return _this.isComparableTo$1(other);
  60601. },
  60602. assertUnit$2(unit, $name) {
  60603. if (this.hasUnit$1(unit))
  60604. return;
  60605. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  60606. },
  60607. assertNoUnits$1($name) {
  60608. if (!this.get$hasUnits())
  60609. return;
  60610. throw A.wrapException(A.SassScriptException$("Expected " + this.toString$0(0) + " to have no units.", $name));
  60611. },
  60612. assertNoUnits$0() {
  60613. return this.assertNoUnits$1(null);
  60614. },
  60615. convertValueToMatch$3(other, $name, otherName) {
  60616. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  60617. },
  60618. convertValueToMatch$1(other) {
  60619. return this.convertValueToMatch$3(other, null, null);
  60620. },
  60621. coerce$3(newNumerators, newDenominators, $name) {
  60622. return A.SassNumber_SassNumber$withUnits(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  60623. },
  60624. coerce$2(newNumerators, newDenominators) {
  60625. return this.coerce$3(newNumerators, newDenominators, null);
  60626. },
  60627. coerceValue$3(newNumerators, newDenominators, $name) {
  60628. return this._coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  60629. },
  60630. coerceValueToUnit$2(unit, $name) {
  60631. var t1 = type$.JSArray_String;
  60632. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  60633. },
  60634. coerceValueToUnit$1(unit) {
  60635. return this.coerceValueToUnit$2(unit, null);
  60636. },
  60637. coerceToMatch$3(other, $name, otherName) {
  60638. var t1 = this.coerceValueToMatch$3(other, $name, otherName),
  60639. t2 = other.get$numeratorUnits(other);
  60640. return A.SassNumber_SassNumber$withUnits(t1, other.get$denominatorUnits(other), t2);
  60641. },
  60642. coerceValueToMatch$3(other, $name, otherName) {
  60643. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  60644. },
  60645. coerceValueToMatch$1(other) {
  60646. return this.coerceValueToMatch$3(other, null, null);
  60647. },
  60648. _coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  60649. var otherHasUnits, t1, compatibilityException, oldNumerators, _i, oldDenominators, _this = this, _box_0 = {};
  60650. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  60651. return _this._number$_value;
  60652. otherHasUnits = newNumerators.length !== 0 || newDenominators.length !== 0;
  60653. if (coerceUnitless)
  60654. t1 = !_this.get$hasUnits() || !otherHasUnits;
  60655. else
  60656. t1 = false;
  60657. if (t1)
  60658. return _this._number$_value;
  60659. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  60660. _box_0.value = _this._number$_value;
  60661. t1 = _this.get$numeratorUnits(_this);
  60662. oldNumerators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  60663. for (t1 = newNumerators.length, _i = 0; _i < newNumerators.length; newNumerators.length === t1 || (0, A.throwConcurrentModificationError)(newNumerators), ++_i)
  60664. A.removeFirstWhere(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure(_box_0, newNumerators[_i]), new A.SassNumber__coerceOrConvertValue_closure0(compatibilityException));
  60665. t1 = _this.get$denominatorUnits(_this);
  60666. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  60667. for (t1 = newDenominators.length, _i = 0; _i < newDenominators.length; newDenominators.length === t1 || (0, A.throwConcurrentModificationError)(newDenominators), ++_i)
  60668. A.removeFirstWhere(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure1(_box_0, newDenominators[_i]), new A.SassNumber__coerceOrConvertValue_closure2(compatibilityException));
  60669. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  60670. throw A.wrapException(compatibilityException.call$0());
  60671. return _box_0.value;
  60672. },
  60673. _coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  60674. return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  60675. },
  60676. isComparableTo$1(other) {
  60677. var exception;
  60678. if (!this.get$hasUnits() || !other.get$hasUnits())
  60679. return true;
  60680. try {
  60681. this.greaterThan$1(other);
  60682. return true;
  60683. } catch (exception) {
  60684. if (A.unwrapException(exception) instanceof A.SassScriptException)
  60685. return false;
  60686. else
  60687. throw exception;
  60688. }
  60689. },
  60690. greaterThan$1(other) {
  60691. if (other instanceof A.SassNumber)
  60692. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  60693. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  60694. },
  60695. greaterThanOrEquals$1(other) {
  60696. if (other instanceof A.SassNumber)
  60697. return this._coerceUnits$2(other, A.number0__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  60698. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  60699. },
  60700. lessThan$1(other) {
  60701. if (other instanceof A.SassNumber)
  60702. return this._coerceUnits$2(other, A.number0__fuzzyLessThan$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  60703. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  60704. },
  60705. lessThanOrEquals$1(other) {
  60706. if (other instanceof A.SassNumber)
  60707. return this._coerceUnits$2(other, A.number0__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true : B.SassBoolean_false;
  60708. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  60709. },
  60710. modulo$1(other) {
  60711. if (other instanceof A.SassNumber)
  60712. return this.withValue$1(this._coerceUnits$2(other, A.number0__moduloLikeSass$closure()));
  60713. throw A.wrapException(A.SassScriptException$('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  60714. },
  60715. plus$1(other) {
  60716. var _this = this;
  60717. if (other instanceof A.SassNumber)
  60718. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_plus_closure()));
  60719. if (!(other instanceof A.SassColor))
  60720. return _this.super$Value$plus(other);
  60721. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  60722. },
  60723. minus$1(other) {
  60724. var _this = this;
  60725. if (other instanceof A.SassNumber)
  60726. return _this.withValue$1(_this._coerceUnits$2(other, new A.SassNumber_minus_closure()));
  60727. if (!(other instanceof A.SassColor))
  60728. return _this.super$Value$minus(other);
  60729. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  60730. },
  60731. times$1(other) {
  60732. var _this = this;
  60733. if (other instanceof A.SassNumber) {
  60734. if (!other.get$hasUnits())
  60735. return _this.withValue$1(_this._number$_value * other._number$_value);
  60736. return _this.multiplyUnits$3(_this._number$_value * other._number$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
  60737. }
  60738. throw A.wrapException(A.SassScriptException$('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  60739. },
  60740. dividedBy$1(other) {
  60741. var _this = this;
  60742. if (other instanceof A.SassNumber) {
  60743. if (!other.get$hasUnits())
  60744. return _this.withValue$1(_this._number$_value / other._number$_value);
  60745. return _this.multiplyUnits$3(_this._number$_value / other._number$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  60746. }
  60747. return _this.super$Value$dividedBy(other);
  60748. },
  60749. unaryPlus$0() {
  60750. return this;
  60751. },
  60752. _coerceUnits$1$2(other, operation) {
  60753. var t1, exception;
  60754. try {
  60755. t1 = operation.call$2(this._number$_value, other.coerceValueToMatch$1(this));
  60756. return t1;
  60757. } catch (exception) {
  60758. if (A.unwrapException(exception) instanceof A.SassScriptException) {
  60759. this.coerceValueToMatch$1(other);
  60760. throw exception;
  60761. } else
  60762. throw exception;
  60763. }
  60764. },
  60765. _coerceUnits$2(other, operation) {
  60766. return this._coerceUnits$1$2(other, operation, type$.dynamic);
  60767. },
  60768. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  60769. var _0_0, _0_1, _0_2, _0_3, _0_6, _0_7, _0_9, _0_11, _0_13, numerators_case_0, denominators_case_0, t1, denominators_case_00, t2, t3, denominators_case_1, numerators_case_1, newNumerators, mutableOtherDenominators, _i, numerator, mutableDenominatorUnits, _this = this, _null = null, _box_0 = {};
  60770. _box_0.value = value;
  60771. _0_0 = new A._Record_4([_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this), otherNumerators, otherDenominators]);
  60772. _0_1 = A._InitializedCell$(new A.SassNumber_multiplyUnits_closure(_0_0));
  60773. _0_2 = A._InitializedCell$(new A.SassNumber_multiplyUnits_closure0(_0_0));
  60774. _0_3 = A._InitializedCell$(new A.SassNumber_multiplyUnits_closure1(_0_0));
  60775. _0_6 = A._InitializedCell$(new A.SassNumber_multiplyUnits_closure2(_0_3));
  60776. _0_7 = A._InitializedCell$(new A.SassNumber_multiplyUnits_closure3(_0_0));
  60777. _0_9 = A._InitializedCell$(new A.SassNumber_multiplyUnits_closure4(_0_7));
  60778. _0_11 = A._InitializedCell$(new A.SassNumber_multiplyUnits_closure5(_0_1));
  60779. _0_13 = A._InitializedCell$(new A.SassNumber_multiplyUnits_closure6(_0_2));
  60780. numerators_case_0 = _0_1._readFinal$0();
  60781. denominators_case_0 = _0_2._readFinal$0();
  60782. t1 = _0_6._readFinal$0() && _0_9._readFinal$0();
  60783. if (!t1)
  60784. if (_0_11._readFinal$0())
  60785. if (_0_13._readFinal$0()) {
  60786. numerators_case_0 = _0_3._readFinal$0();
  60787. denominators_case_00 = _0_7._readFinal$0();
  60788. denominators_case_0 = denominators_case_00;
  60789. t1 = true;
  60790. } else
  60791. t1 = false;
  60792. else
  60793. t1 = false;
  60794. else
  60795. t1 = true;
  60796. if (t1) {
  60797. t2 = denominators_case_0;
  60798. t1 = numerators_case_0;
  60799. t3 = true;
  60800. } else {
  60801. t2 = _null;
  60802. t1 = t2;
  60803. t3 = false;
  60804. }
  60805. if (!t3) {
  60806. if (_0_11._readFinal$0()) {
  60807. denominators_case_1 = _0_2._readFinal$0();
  60808. numerators_case_1 = _0_3._readFinal$0();
  60809. t3 = _0_9._readFinal$0();
  60810. t3 = t3;
  60811. } else {
  60812. numerators_case_1 = _null;
  60813. denominators_case_1 = numerators_case_1;
  60814. t3 = false;
  60815. }
  60816. if (!t3) {
  60817. numerators_case_1 = _0_1._readFinal$0();
  60818. if (_0_13._readFinal$0())
  60819. if (_0_6._readFinal$0()) {
  60820. denominators_case_1 = _0_7._readFinal$0();
  60821. t3 = true;
  60822. } else
  60823. t3 = false;
  60824. else
  60825. t3 = false;
  60826. } else
  60827. t3 = true;
  60828. if (t3)
  60829. if (!_this._areAnyConvertible$2(numerators_case_1, denominators_case_1)) {
  60830. t2 = denominators_case_1;
  60831. t1 = numerators_case_1;
  60832. t3 = true;
  60833. } else
  60834. t3 = false;
  60835. else
  60836. t3 = false;
  60837. } else
  60838. t3 = true;
  60839. if (t3)
  60840. return A.SassNumber_SassNumber$withUnits(value, t2, t1);
  60841. newNumerators = A._setArrayType([], type$.JSArray_String);
  60842. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  60843. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  60844. numerator = t1[_i];
  60845. A.removeFirstWhere(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure7(_box_0, numerator), new A.SassNumber_multiplyUnits_closure8(newNumerators, numerator));
  60846. }
  60847. t1 = _this.get$denominatorUnits(_this);
  60848. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  60849. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  60850. numerator = otherNumerators[_i];
  60851. A.removeFirstWhere(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure9(_box_0, numerator), new A.SassNumber_multiplyUnits_closure10(newNumerators, numerator));
  60852. }
  60853. t1 = _box_0.value;
  60854. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  60855. return A.SassNumber_SassNumber$withUnits(t1, mutableDenominatorUnits, newNumerators);
  60856. },
  60857. _areAnyConvertible$2(units1, units2) {
  60858. return J.any$1$ax(units1, new A.SassNumber__areAnyConvertible_closure(units2));
  60859. },
  60860. _unitString$2(numerators, denominators) {
  60861. var t1, denominator,
  60862. _0_0 = new A._Record_2(numerators, denominators),
  60863. _0_4 = A._InitializedCell$(new A.SassNumber__unitString_closure(_0_0)),
  60864. _0_5 = A._InitializedCell$(new A.SassNumber__unitString_closure0(_0_0)),
  60865. _0_6 = A._InitializedCell$(new A.SassNumber__unitString_closure1(_0_5)),
  60866. _0_7 = A._InitializedCell$(new A.SassNumber__unitString_closure2(_0_6));
  60867. $label0$0: {
  60868. if (_0_4._readFinal$0() && _0_7._readFinal$0()) {
  60869. t1 = "no units";
  60870. break $label0$0;
  60871. }
  60872. if (_0_4._readFinal$0())
  60873. if (J.$eq$(_0_6._readFinal$0(), 1)) {
  60874. denominator = J.$index$asx(_0_5._readFinal$0(), 0);
  60875. t1 = true;
  60876. } else {
  60877. denominator = null;
  60878. t1 = false;
  60879. }
  60880. else {
  60881. denominator = null;
  60882. t1 = false;
  60883. }
  60884. if (t1) {
  60885. t1 = A.S(denominator) + "^-1";
  60886. break $label0$0;
  60887. }
  60888. if (_0_4._readFinal$0()) {
  60889. t1 = "(" + B.JSArray_methods.join$1(denominators, "*") + ")^-1";
  60890. break $label0$0;
  60891. }
  60892. if (_0_7._readFinal$0()) {
  60893. t1 = B.JSArray_methods.join$1(numerators, "*");
  60894. break $label0$0;
  60895. }
  60896. t1 = B.JSArray_methods.join$1(numerators, "*") + "/" + B.JSArray_methods.join$1(denominators, "*");
  60897. break $label0$0;
  60898. }
  60899. return t1;
  60900. },
  60901. $eq(_, other) {
  60902. var _this = this;
  60903. if (other == null)
  60904. return false;
  60905. if (!(other instanceof A.SassNumber))
  60906. return false;
  60907. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  60908. return false;
  60909. if (!_this.get$hasUnits())
  60910. return A.fuzzyEquals(_this._number$_value, other._number$_value);
  60911. 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))))
  60912. return false;
  60913. 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)));
  60914. },
  60915. get$hashCode(_) {
  60916. var _this = this,
  60917. t1 = _this.hashCache;
  60918. 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;
  60919. },
  60920. _canonicalizeUnitList$1(units) {
  60921. var type,
  60922. t1 = units.length;
  60923. if (t1 === 0)
  60924. return units;
  60925. if (t1 === 1) {
  60926. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(units));
  60927. if (type == null)
  60928. t1 = units;
  60929. else {
  60930. t1 = B.Map_ws7dy.$index(0, type);
  60931. t1.toString;
  60932. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  60933. }
  60934. return t1;
  60935. }
  60936. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  60937. t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure(), t1), true, t1._eval$1("ListIterable.E"));
  60938. B.JSArray_methods.sort$0(t1);
  60939. return t1;
  60940. },
  60941. _canonicalMultiplier$1(units) {
  60942. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure(this));
  60943. },
  60944. canonicalMultiplierForUnit$1(unit) {
  60945. var t1,
  60946. innerMap = B.Map_nfuzN.$index(0, unit);
  60947. if (innerMap == null)
  60948. t1 = 1;
  60949. else {
  60950. t1 = innerMap.get$values(innerMap);
  60951. t1 = 1 / t1.get$first(t1);
  60952. }
  60953. return t1;
  60954. },
  60955. unitSuggestion$2($name, unit) {
  60956. var t2, t3, result, _this = this,
  60957. t1 = _this.get$denominatorUnits(_this);
  60958. t1 = new A.MappedListIterable(t1, new A.SassNumber_unitSuggestion_closure(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  60959. t2 = _this.get$numeratorUnits(_this);
  60960. t2 = new A.MappedListIterable(t2, new A.SassNumber_unitSuggestion_closure0(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  60961. t3 = unit == null ? "" : " * 1" + unit;
  60962. result = "$" + $name + t1 + t2 + t3;
  60963. return _this.get$numeratorUnits(_this).length === 0 ? result : "calc(" + result + ")";
  60964. },
  60965. unitSuggestion$1($name) {
  60966. return this.unitSuggestion$2($name, null);
  60967. }
  60968. };
  60969. A.SassNumber_SassNumber$withUnits_closure0.prototype = {
  60970. call$0() {
  60971. return this._0_1._readFinal$0() == null;
  60972. },
  60973. $signature: 1
  60974. };
  60975. A.SassNumber_SassNumber$withUnits_closure.prototype = {
  60976. call$0() {
  60977. return this._0_0._0;
  60978. },
  60979. $signature: 115
  60980. };
  60981. A.SassNumber_SassNumber$withUnits_closure1.prototype = {
  60982. call$0() {
  60983. var t1 = this._0_1._readFinal$0();
  60984. return J.get$length$asx(t1 == null ? type$.List_String._as(t1) : t1);
  60985. },
  60986. $signature: 3
  60987. };
  60988. A.SassNumber_SassNumber$withUnits_closure2.prototype = {
  60989. call$0() {
  60990. return this._0_4._readFinal$0() <= 0;
  60991. },
  60992. $signature: 1
  60993. };
  60994. A.SassNumber_SassNumber$withUnits_closure4.prototype = {
  60995. call$0() {
  60996. return this._0_7._readFinal$0() == null;
  60997. },
  60998. $signature: 1
  60999. };
  61000. A.SassNumber_SassNumber$withUnits_closure3.prototype = {
  61001. call$0() {
  61002. return this._0_0._1;
  61003. },
  61004. $signature: 115
  61005. };
  61006. A.SassNumber_SassNumber$withUnits_closure5.prototype = {
  61007. call$0() {
  61008. return J.get$length$asx(this._0_7._readFinal$0()) <= 0;
  61009. },
  61010. $signature: 1
  61011. };
  61012. A.SassNumber_SassNumber$withUnits_closure6.prototype = {
  61013. call$0() {
  61014. return this._1_0._0;
  61015. },
  61016. $signature: 28
  61017. };
  61018. A.SassNumber_SassNumber$withUnits_closure7.prototype = {
  61019. call$0() {
  61020. return J.get$length$asx(this._1_1._readFinal$0());
  61021. },
  61022. $signature: 3
  61023. };
  61024. A.SassNumber_SassNumber$withUnits_closure8.prototype = {
  61025. call$0() {
  61026. return J.get$length$asx(this._1_0._1) <= 0;
  61027. },
  61028. $signature: 1
  61029. };
  61030. A.SassNumber__coerceOrConvertValue_compatibilityException.prototype = {
  61031. call$0() {
  61032. var t2, t3, message, t4, type, unit, _this = this,
  61033. t1 = _this.other;
  61034. if (t1 != null) {
  61035. t2 = _this.$this;
  61036. t3 = t2.toString$0(0) + " and";
  61037. message = new A.StringBuffer(t3);
  61038. t4 = _this.otherName;
  61039. if (t4 != null)
  61040. t3 = message._contents = t3 + (" $" + t4 + ":");
  61041. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  61042. message._contents = t1;
  61043. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  61044. message._contents = t1 + " (one has units and the other doesn't)";
  61045. t1 = message.toString$0(0) + ".";
  61046. t2 = _this.name;
  61047. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  61048. } else if (!_this.otherHasUnits) {
  61049. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  61050. t2 = _this.name;
  61051. return new A.SassScriptException(t2 == null ? t1 : "$" + t2 + ": " + t1);
  61052. } else {
  61053. t1 = _this.newNumerators;
  61054. if (t1.length === 1 && _this.newDenominators.length === 0) {
  61055. type = $.$get$_typesByUnit().$index(0, B.JSArray_methods.get$first(t1));
  61056. if (type != null) {
  61057. t1 = _this.$this.toString$0(0);
  61058. t2 = B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), type.charCodeAt(0)) ? "an " + type : "a " + type;
  61059. t3 = B.Map_ws7dy.$index(0, type);
  61060. t3.toString;
  61061. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  61062. t2 = _this.name;
  61063. return new A.SassScriptException(t2 == null ? t3 : "$" + t2 + ": " + t3);
  61064. }
  61065. }
  61066. t2 = _this.newDenominators;
  61067. unit = A.pluralize("unit", t1.length + t2.length, null);
  61068. t3 = _this.$this;
  61069. t2 = "Expected " + t3.toString$0(0) + " to have " + unit + " " + t3._unitString$2(t1, t2) + ".";
  61070. t1 = _this.name;
  61071. return new A.SassScriptException(t1 == null ? t2 : "$" + t1 + ": " + t2);
  61072. }
  61073. },
  61074. $signature: 413
  61075. };
  61076. A.SassNumber__coerceOrConvertValue_closure.prototype = {
  61077. call$1(oldNumerator) {
  61078. var factor = A.conversionFactor(this.newNumerator, oldNumerator);
  61079. if (factor == null)
  61080. return false;
  61081. this._box_0.value *= factor;
  61082. return true;
  61083. },
  61084. $signature: 10
  61085. };
  61086. A.SassNumber__coerceOrConvertValue_closure0.prototype = {
  61087. call$0() {
  61088. return A.throwExpression(this.compatibilityException.call$0());
  61089. },
  61090. $signature: 0
  61091. };
  61092. A.SassNumber__coerceOrConvertValue_closure1.prototype = {
  61093. call$1(oldDenominator) {
  61094. var factor = A.conversionFactor(this.newDenominator, oldDenominator);
  61095. if (factor == null)
  61096. return false;
  61097. this._box_0.value /= factor;
  61098. return true;
  61099. },
  61100. $signature: 10
  61101. };
  61102. A.SassNumber__coerceOrConvertValue_closure2.prototype = {
  61103. call$0() {
  61104. return A.throwExpression(this.compatibilityException.call$0());
  61105. },
  61106. $signature: 0
  61107. };
  61108. A.SassNumber_plus_closure.prototype = {
  61109. call$2(num1, num2) {
  61110. return num1 + num2;
  61111. },
  61112. $signature: 57
  61113. };
  61114. A.SassNumber_minus_closure.prototype = {
  61115. call$2(num1, num2) {
  61116. return num1 - num2;
  61117. },
  61118. $signature: 57
  61119. };
  61120. A.SassNumber_multiplyUnits_closure.prototype = {
  61121. call$0() {
  61122. return this._0_0._values[0];
  61123. },
  61124. $signature: 28
  61125. };
  61126. A.SassNumber_multiplyUnits_closure0.prototype = {
  61127. call$0() {
  61128. return this._0_0._values[1];
  61129. },
  61130. $signature: 28
  61131. };
  61132. A.SassNumber_multiplyUnits_closure1.prototype = {
  61133. call$0() {
  61134. return this._0_0._values[2];
  61135. },
  61136. $signature: 28
  61137. };
  61138. A.SassNumber_multiplyUnits_closure2.prototype = {
  61139. call$0() {
  61140. return J.get$length$asx(this._0_3._readFinal$0()) <= 0;
  61141. },
  61142. $signature: 1
  61143. };
  61144. A.SassNumber_multiplyUnits_closure3.prototype = {
  61145. call$0() {
  61146. return this._0_0._values[3];
  61147. },
  61148. $signature: 28
  61149. };
  61150. A.SassNumber_multiplyUnits_closure4.prototype = {
  61151. call$0() {
  61152. return J.get$length$asx(this._0_7._readFinal$0()) <= 0;
  61153. },
  61154. $signature: 1
  61155. };
  61156. A.SassNumber_multiplyUnits_closure5.prototype = {
  61157. call$0() {
  61158. return J.get$length$asx(this._0_1._readFinal$0()) <= 0;
  61159. },
  61160. $signature: 1
  61161. };
  61162. A.SassNumber_multiplyUnits_closure6.prototype = {
  61163. call$0() {
  61164. return J.get$length$asx(this._0_2._readFinal$0()) <= 0;
  61165. },
  61166. $signature: 1
  61167. };
  61168. A.SassNumber_multiplyUnits_closure7.prototype = {
  61169. call$1(denominator) {
  61170. var factor = A.conversionFactor(this.numerator, denominator);
  61171. if (factor == null)
  61172. return false;
  61173. this._box_0.value /= factor;
  61174. return true;
  61175. },
  61176. $signature: 10
  61177. };
  61178. A.SassNumber_multiplyUnits_closure8.prototype = {
  61179. call$0() {
  61180. return this.newNumerators.push(this.numerator);
  61181. },
  61182. $signature: 0
  61183. };
  61184. A.SassNumber_multiplyUnits_closure9.prototype = {
  61185. call$1(denominator) {
  61186. var factor = A.conversionFactor(this.numerator, denominator);
  61187. if (factor == null)
  61188. return false;
  61189. this._box_0.value /= factor;
  61190. return true;
  61191. },
  61192. $signature: 10
  61193. };
  61194. A.SassNumber_multiplyUnits_closure10.prototype = {
  61195. call$0() {
  61196. return this.newNumerators.push(this.numerator);
  61197. },
  61198. $signature: 0
  61199. };
  61200. A.SassNumber__areAnyConvertible_closure.prototype = {
  61201. call$1(unit1) {
  61202. var innerMap, t1,
  61203. _0_0 = B.Map_nfuzN.$index(0, unit1);
  61204. $label0$0: {
  61205. if (_0_0 != null) {
  61206. innerMap = _0_0;
  61207. t1 = true;
  61208. } else {
  61209. innerMap = null;
  61210. t1 = false;
  61211. }
  61212. if (t1) {
  61213. t1 = J.any$1$ax(this.units2, innerMap.get$containsKey());
  61214. break $label0$0;
  61215. }
  61216. t1 = J.contains$1$asx(this.units2, unit1);
  61217. break $label0$0;
  61218. }
  61219. return t1;
  61220. },
  61221. $signature: 10
  61222. };
  61223. A.SassNumber__unitString_closure.prototype = {
  61224. call$0() {
  61225. return J.get$length$asx(this._0_0._0) <= 0;
  61226. },
  61227. $signature: 1
  61228. };
  61229. A.SassNumber__unitString_closure0.prototype = {
  61230. call$0() {
  61231. return this._0_0._1;
  61232. },
  61233. $signature: 28
  61234. };
  61235. A.SassNumber__unitString_closure1.prototype = {
  61236. call$0() {
  61237. return J.get$length$asx(this._0_5._readFinal$0());
  61238. },
  61239. $signature: 3
  61240. };
  61241. A.SassNumber__unitString_closure2.prototype = {
  61242. call$0() {
  61243. return this._0_6._readFinal$0() <= 0;
  61244. },
  61245. $signature: 1
  61246. };
  61247. A.SassNumber__canonicalizeUnitList_closure.prototype = {
  61248. call$1(unit) {
  61249. var t1,
  61250. type = $.$get$_typesByUnit().$index(0, unit);
  61251. if (type == null)
  61252. t1 = unit;
  61253. else {
  61254. t1 = B.Map_ws7dy.$index(0, type);
  61255. t1.toString;
  61256. t1 = B.JSArray_methods.get$first(t1);
  61257. }
  61258. return t1;
  61259. },
  61260. $signature: 7
  61261. };
  61262. A.SassNumber__canonicalMultiplier_closure.prototype = {
  61263. call$2(multiplier, unit) {
  61264. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  61265. },
  61266. $signature: 168
  61267. };
  61268. A.SassNumber_unitSuggestion_closure.prototype = {
  61269. call$1(unit) {
  61270. return " * 1" + unit;
  61271. },
  61272. $signature: 7
  61273. };
  61274. A.SassNumber_unitSuggestion_closure0.prototype = {
  61275. call$1(unit) {
  61276. return " / 1" + unit;
  61277. },
  61278. $signature: 7
  61279. };
  61280. A.ComplexSassNumber.prototype = {
  61281. get$numeratorUnits(_) {
  61282. return this._numeratorUnits;
  61283. },
  61284. get$denominatorUnits(_) {
  61285. return this._denominatorUnits;
  61286. },
  61287. get$hasUnits() {
  61288. return true;
  61289. },
  61290. get$hasComplexUnits() {
  61291. return true;
  61292. },
  61293. hasUnit$1(unit) {
  61294. return false;
  61295. },
  61296. compatibleWithUnit$1(unit) {
  61297. return false;
  61298. },
  61299. hasPossiblyCompatibleUnits$1(other) {
  61300. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  61301. },
  61302. withValue$1(value) {
  61303. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, value, null);
  61304. },
  61305. withSlash$2(numerator, denominator) {
  61306. return new A.ComplexSassNumber(this._numeratorUnits, this._denominatorUnits, this._number$_value, new A._Record_2(numerator, denominator));
  61307. }
  61308. };
  61309. A.SingleUnitSassNumber.prototype = {
  61310. get$numeratorUnits(_) {
  61311. return A.List_List$unmodifiable([this._unit], type$.String);
  61312. },
  61313. get$denominatorUnits(_) {
  61314. return B.List_empty;
  61315. },
  61316. get$hasUnits() {
  61317. return true;
  61318. },
  61319. get$hasComplexUnits() {
  61320. return false;
  61321. },
  61322. withValue$1(value) {
  61323. return new A.SingleUnitSassNumber(this._unit, value, null);
  61324. },
  61325. withSlash$2(numerator, denominator) {
  61326. return new A.SingleUnitSassNumber(this._unit, this._number$_value, new A._Record_2(numerator, denominator));
  61327. },
  61328. hasUnit$1(unit) {
  61329. return unit === this._unit;
  61330. },
  61331. hasCompatibleUnits$1(other) {
  61332. return other instanceof A.SingleUnitSassNumber && A.conversionFactor(this._unit, other._unit) != null;
  61333. },
  61334. hasPossiblyCompatibleUnits$1(other) {
  61335. var t1, knownCompatibilities, otherUnit;
  61336. if (!(other instanceof A.SingleUnitSassNumber))
  61337. return false;
  61338. t1 = $.$get$_knownCompatibilitiesByUnit();
  61339. knownCompatibilities = t1.$index(0, this._unit.toLowerCase());
  61340. if (knownCompatibilities == null)
  61341. return true;
  61342. otherUnit = other._unit.toLowerCase();
  61343. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  61344. },
  61345. compatibleWithUnit$1(unit) {
  61346. return A.conversionFactor(this._unit, unit) != null;
  61347. },
  61348. coerceToMatch$1(other) {
  61349. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceToUnit$1(other._unit) : null;
  61350. return t1 == null ? this.super$SassNumber$coerceToMatch(other, null, null) : t1;
  61351. },
  61352. coerceValueToMatch$3(other, $name, otherName) {
  61353. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  61354. return t1 == null ? this.super$SassNumber$coerceValueToMatch(other, $name, otherName) : t1;
  61355. },
  61356. coerceValueToMatch$1(other) {
  61357. return this.coerceValueToMatch$3(other, null, null);
  61358. },
  61359. convertValueToMatch$3(other, $name, otherName) {
  61360. var t1 = other instanceof A.SingleUnitSassNumber ? this._coerceValueToUnit$1(other._unit) : null;
  61361. return t1 == null ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : t1;
  61362. },
  61363. convertValueToMatch$1(other) {
  61364. return this.convertValueToMatch$3(other, null, null);
  61365. },
  61366. coerce$2(newNumerators, newDenominators) {
  61367. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceToUnit$1(newNumerators[0]) : null;
  61368. return t1 == null ? this.super$SassNumber$coerce(newNumerators, newDenominators, null) : t1;
  61369. },
  61370. coerceValue$3(newNumerators, newDenominators, $name) {
  61371. var t1 = newNumerators.length === 1 && newDenominators.length === 0 ? this._coerceValueToUnit$1(newNumerators[0]) : null;
  61372. return t1 == null ? this.super$SassNumber$coerceValue(newNumerators, newDenominators, $name) : t1;
  61373. },
  61374. coerceValueToUnit$2(unit, $name) {
  61375. var t1 = this._coerceValueToUnit$1(unit);
  61376. return t1 == null ? this.super$SassNumber$coerceValueToUnit(unit, $name) : t1;
  61377. },
  61378. coerceValueToUnit$1(unit) {
  61379. return this.coerceValueToUnit$2(unit, null);
  61380. },
  61381. _coerceToUnit$1(unit) {
  61382. var t1 = this._unit;
  61383. if (t1 === unit)
  61384. return this;
  61385. return A.NullableExtension_andThen(A.conversionFactor(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure(this, unit));
  61386. },
  61387. _coerceValueToUnit$1(unit) {
  61388. return A.NullableExtension_andThen(A.conversionFactor(unit, this._unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure(this));
  61389. },
  61390. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  61391. var mutableOtherDenominators, t1 = {};
  61392. t1.value = value;
  61393. t1.newNumerators = otherNumerators;
  61394. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  61395. A.removeFirstWhere(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure0(t1, this));
  61396. return A.SassNumber_SassNumber$withUnits(t1.value, mutableOtherDenominators, t1.newNumerators);
  61397. },
  61398. unaryMinus$0() {
  61399. return new A.SingleUnitSassNumber(this._unit, -this._number$_value, null);
  61400. },
  61401. $eq(_, other) {
  61402. var factor;
  61403. if (other == null)
  61404. return false;
  61405. if (other instanceof A.SingleUnitSassNumber) {
  61406. factor = A.conversionFactor(other._unit, this._unit);
  61407. return factor != null && A.fuzzyEquals(this._number$_value * factor, other._number$_value);
  61408. } else
  61409. return false;
  61410. },
  61411. get$hashCode(_) {
  61412. var _this = this,
  61413. t1 = _this.hashCache;
  61414. return t1 == null ? _this.hashCache = A.fuzzyHashCode(_this._number$_value * _this.canonicalMultiplierForUnit$1(_this._unit)) : t1;
  61415. }
  61416. };
  61417. A.SingleUnitSassNumber__coerceToUnit_closure.prototype = {
  61418. call$1(factor) {
  61419. return new A.SingleUnitSassNumber(this.unit, this.$this._number$_value * factor, null);
  61420. },
  61421. $signature: 417
  61422. };
  61423. A.SingleUnitSassNumber__coerceValueToUnit_closure.prototype = {
  61424. call$1(factor) {
  61425. return this.$this._number$_value * factor;
  61426. },
  61427. $signature: 42
  61428. };
  61429. A.SingleUnitSassNumber_multiplyUnits_closure.prototype = {
  61430. call$1(denominator) {
  61431. var factor = A.conversionFactor(denominator, this.$this._unit);
  61432. if (factor == null)
  61433. return false;
  61434. this._box_0.value *= factor;
  61435. return true;
  61436. },
  61437. $signature: 10
  61438. };
  61439. A.SingleUnitSassNumber_multiplyUnits_closure0.prototype = {
  61440. call$0() {
  61441. var t1 = A._setArrayType([this.$this._unit], type$.JSArray_String),
  61442. t2 = this._box_0;
  61443. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  61444. t2.newNumerators = t1;
  61445. },
  61446. $signature: 0
  61447. };
  61448. A.UnitlessSassNumber.prototype = {
  61449. get$numeratorUnits(_) {
  61450. return B.List_empty;
  61451. },
  61452. get$denominatorUnits(_) {
  61453. return B.List_empty;
  61454. },
  61455. get$hasUnits() {
  61456. return false;
  61457. },
  61458. get$hasComplexUnits() {
  61459. return false;
  61460. },
  61461. withValue$1(value) {
  61462. return new A.UnitlessSassNumber(value, null);
  61463. },
  61464. withSlash$2(numerator, denominator) {
  61465. return new A.UnitlessSassNumber(this._number$_value, new A._Record_2(numerator, denominator));
  61466. },
  61467. hasUnit$1(unit) {
  61468. return false;
  61469. },
  61470. hasCompatibleUnits$1(other) {
  61471. return other instanceof A.UnitlessSassNumber;
  61472. },
  61473. hasPossiblyCompatibleUnits$1(other) {
  61474. return other instanceof A.UnitlessSassNumber;
  61475. },
  61476. compatibleWithUnit$1(unit) {
  61477. return true;
  61478. },
  61479. coerceToMatch$1(other) {
  61480. return other.withValue$1(this._number$_value);
  61481. },
  61482. coerceValueToMatch$3(other, $name, otherName) {
  61483. return this._number$_value;
  61484. },
  61485. coerceValueToMatch$1(other) {
  61486. return this.coerceValueToMatch$3(other, null, null);
  61487. },
  61488. convertValueToMatch$3(other, $name, otherName) {
  61489. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch(other, $name, otherName) : this._number$_value;
  61490. },
  61491. convertValueToMatch$1(other) {
  61492. return this.convertValueToMatch$3(other, null, null);
  61493. },
  61494. coerce$2(newNumerators, newDenominators) {
  61495. return A.SassNumber_SassNumber$withUnits(this._number$_value, newDenominators, newNumerators);
  61496. },
  61497. coerceValue$3(newNumerators, newDenominators, $name) {
  61498. return this._number$_value;
  61499. },
  61500. coerceValueToUnit$2(unit, $name) {
  61501. return this._number$_value;
  61502. },
  61503. coerceValueToUnit$1(unit) {
  61504. return this.coerceValueToUnit$2(unit, null);
  61505. },
  61506. greaterThan$1(other) {
  61507. var t1, t2;
  61508. if (other instanceof A.SassNumber) {
  61509. t1 = this._number$_value;
  61510. t2 = other._number$_value;
  61511. return t1 > t2 && !A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  61512. }
  61513. return this.super$SassNumber$greaterThan(other);
  61514. },
  61515. greaterThanOrEquals$1(other) {
  61516. var t1, t2;
  61517. if (other instanceof A.SassNumber) {
  61518. t1 = this._number$_value;
  61519. t2 = other._number$_value;
  61520. return t1 > t2 || A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  61521. }
  61522. return this.super$SassNumber$greaterThanOrEquals(other);
  61523. },
  61524. lessThan$1(other) {
  61525. var t1, t2;
  61526. if (other instanceof A.SassNumber) {
  61527. t1 = this._number$_value;
  61528. t2 = other._number$_value;
  61529. return t1 < t2 && !A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  61530. }
  61531. return this.super$SassNumber$lessThan(other);
  61532. },
  61533. lessThanOrEquals$1(other) {
  61534. var t1, t2;
  61535. if (other instanceof A.SassNumber) {
  61536. t1 = this._number$_value;
  61537. t2 = other._number$_value;
  61538. return t1 < t2 || A.fuzzyEquals(t1, t2) ? B.SassBoolean_true : B.SassBoolean_false;
  61539. }
  61540. return this.super$SassNumber$lessThanOrEquals(other);
  61541. },
  61542. modulo$1(other) {
  61543. if (other instanceof A.SassNumber)
  61544. return other.withValue$1(A.moduloLikeSass(this._number$_value, other._number$_value));
  61545. return this.super$SassNumber$modulo(other);
  61546. },
  61547. plus$1(other) {
  61548. if (other instanceof A.SassNumber)
  61549. return other.withValue$1(this._number$_value + other._number$_value);
  61550. return this.super$SassNumber$plus(other);
  61551. },
  61552. minus$1(other) {
  61553. if (other instanceof A.SassNumber)
  61554. return other.withValue$1(this._number$_value - other._number$_value);
  61555. return this.super$SassNumber$minus(other);
  61556. },
  61557. times$1(other) {
  61558. if (other instanceof A.SassNumber)
  61559. return other.withValue$1(this._number$_value * other._number$_value);
  61560. return this.super$SassNumber$times(other);
  61561. },
  61562. dividedBy$1(other) {
  61563. var t1, t2;
  61564. if (other instanceof A.SassNumber) {
  61565. t1 = this._number$_value / other._number$_value;
  61566. if (other.get$hasUnits()) {
  61567. t2 = other.get$denominatorUnits(other);
  61568. t2 = A.SassNumber_SassNumber$withUnits(t1, other.get$numeratorUnits(other), t2);
  61569. t1 = t2;
  61570. } else
  61571. t1 = new A.UnitlessSassNumber(t1, null);
  61572. return t1;
  61573. }
  61574. return this.super$SassNumber$dividedBy(other);
  61575. },
  61576. unaryMinus$0() {
  61577. return new A.UnitlessSassNumber(-this._number$_value, null);
  61578. },
  61579. $eq(_, other) {
  61580. if (other == null)
  61581. return false;
  61582. return other instanceof A.UnitlessSassNumber && A.fuzzyEquals(this._number$_value, other._number$_value);
  61583. },
  61584. get$hashCode(_) {
  61585. var t1 = this.hashCache;
  61586. return t1 == null ? this.hashCache = A.fuzzyHashCode(this._number$_value) : t1;
  61587. }
  61588. };
  61589. A.SassString.prototype = {
  61590. get$_sassLength() {
  61591. var t1, result, _this = this,
  61592. value = _this.__SassString__sassLength_FI;
  61593. if (value === $) {
  61594. t1 = new A.Runes(_this._string$_text);
  61595. result = t1.get$length(t1);
  61596. _this.__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  61597. _this.__SassString__sassLength_FI = result;
  61598. value = result;
  61599. }
  61600. return value;
  61601. },
  61602. get$isSpecialNumber() {
  61603. var t1, _2_0, _0_0, _1_0;
  61604. if (this._hasQuotes)
  61605. return false;
  61606. t1 = this._string$_text;
  61607. if (t1.length < 6)
  61608. return false;
  61609. _2_0 = t1.charCodeAt(0);
  61610. $label1$1: {
  61611. if (99 === _2_0 || 67 === _2_0) {
  61612. _0_0 = t1.charCodeAt(1);
  61613. $label0$0: {
  61614. if (108 === _0_0 || 76 === _0_0) {
  61615. t1 = (t1.charCodeAt(2) | 32) === 97 && (t1.charCodeAt(3) | 32) === 109 && (t1.charCodeAt(4) | 32) === 112 && t1.charCodeAt(5) === 40;
  61616. break $label0$0;
  61617. }
  61618. if (97 === _0_0 || 65 === _0_0) {
  61619. t1 = (t1.charCodeAt(2) | 32) === 108 && (t1.charCodeAt(3) | 32) === 99 && t1.charCodeAt(4) === 40;
  61620. break $label0$0;
  61621. }
  61622. t1 = false;
  61623. break $label0$0;
  61624. }
  61625. break $label1$1;
  61626. }
  61627. if (118 === _2_0 || 86 === _2_0) {
  61628. t1 = (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  61629. break $label1$1;
  61630. }
  61631. if (101 === _2_0 || 69 === _2_0) {
  61632. t1 = (t1.charCodeAt(1) | 32) === 110 && (t1.charCodeAt(2) | 32) === 118 && t1.charCodeAt(3) === 40;
  61633. break $label1$1;
  61634. }
  61635. if (109 === _2_0 || 77 === _2_0) {
  61636. _1_0 = t1.charCodeAt(1);
  61637. $label2$2: {
  61638. if (97 === _1_0 || 65 === _1_0) {
  61639. t1 = (t1.charCodeAt(2) | 32) === 120 && t1.charCodeAt(3) === 40;
  61640. break $label2$2;
  61641. }
  61642. if (105 === _1_0 || 73 === _1_0) {
  61643. t1 = (t1.charCodeAt(2) | 32) === 110 && t1.charCodeAt(3) === 40;
  61644. break $label2$2;
  61645. }
  61646. t1 = false;
  61647. break $label2$2;
  61648. }
  61649. break $label1$1;
  61650. }
  61651. t1 = false;
  61652. break $label1$1;
  61653. }
  61654. return t1;
  61655. },
  61656. get$isVar() {
  61657. if (this._hasQuotes)
  61658. return false;
  61659. var t1 = this._string$_text;
  61660. if (t1.length < 8)
  61661. return false;
  61662. return (t1.charCodeAt(0) | 32) === 118 && (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  61663. },
  61664. get$isBlank() {
  61665. return !this._hasQuotes && this._string$_text.length === 0;
  61666. },
  61667. accept$1$1(visitor) {
  61668. var t1 = visitor._quote && this._hasQuotes,
  61669. t2 = this._string$_text;
  61670. if (t1)
  61671. visitor._visitQuotedString$1(t2);
  61672. else
  61673. visitor._visitUnquotedString$1(t2);
  61674. return null;
  61675. },
  61676. accept$1(visitor) {
  61677. return this.accept$1$1(visitor, type$.dynamic);
  61678. },
  61679. assertString$1($name) {
  61680. return this;
  61681. },
  61682. plus$1(other) {
  61683. var t1 = this._string$_text,
  61684. t2 = this._hasQuotes;
  61685. return other instanceof A.SassString ? new A.SassString(t1 + other._string$_text, t2) : new A.SassString(t1 + A.serializeValue(other, false, true), t2);
  61686. },
  61687. $eq(_, other) {
  61688. if (other == null)
  61689. return false;
  61690. return other instanceof A.SassString && this._string$_text === other._string$_text;
  61691. },
  61692. get$hashCode(_) {
  61693. var t1 = this._hashCache;
  61694. return t1 == null ? this._hashCache = B.JSString_methods.get$hashCode(this._string$_text) : t1;
  61695. }
  61696. };
  61697. A.AnySelectorVisitor.prototype = {
  61698. visitComplexSelector$1(complex) {
  61699. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure(this));
  61700. },
  61701. visitCompoundSelector$1(compound) {
  61702. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure(this));
  61703. },
  61704. visitPseudoSelector$1(pseudo) {
  61705. var selector = pseudo.selector;
  61706. return selector == null ? false : this.visitSelectorList$1(selector);
  61707. },
  61708. visitSelectorList$1(list) {
  61709. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  61710. },
  61711. visitAttributeSelector$1(attribute) {
  61712. return false;
  61713. },
  61714. visitClassSelector$1(klass) {
  61715. return false;
  61716. },
  61717. visitIDSelector$1(id) {
  61718. return false;
  61719. },
  61720. visitParentSelector$1($parent) {
  61721. return false;
  61722. },
  61723. visitPlaceholderSelector$1(placeholder) {
  61724. return false;
  61725. },
  61726. visitTypeSelector$1(type) {
  61727. return false;
  61728. },
  61729. visitUniversalSelector$1(universal) {
  61730. return false;
  61731. }
  61732. };
  61733. A.AnySelectorVisitor_visitComplexSelector_closure.prototype = {
  61734. call$1(component) {
  61735. return this.$this.visitCompoundSelector$1(component.selector);
  61736. },
  61737. $signature: 54
  61738. };
  61739. A.AnySelectorVisitor_visitCompoundSelector_closure.prototype = {
  61740. call$1(simple) {
  61741. return simple.accept$1(this.$this);
  61742. },
  61743. $signature: 15
  61744. };
  61745. A._EvaluateVisitor0.prototype = {
  61746. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  61747. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  61748. _s20_ = "$name, $module: null",
  61749. _s9_ = "sass:meta",
  61750. _s7_ = "$module",
  61751. t1 = type$.JSArray_AsyncBuiltInCallable,
  61752. metaFunctions = A._setArrayType([A.BuiltInCallable$function("global-variable-exists", _s20_, new A._EvaluateVisitor_closure12(_this), _s9_), A.BuiltInCallable$function("variable-exists", "$name", new A._EvaluateVisitor_closure13(_this), _s9_), A.BuiltInCallable$function("function-exists", _s20_, new A._EvaluateVisitor_closure14(_this), _s9_), A.BuiltInCallable$function("mixin-exists", _s20_, new A._EvaluateVisitor_closure15(_this), _s9_), A.BuiltInCallable$function("content-exists", "", new A._EvaluateVisitor_closure16(_this), _s9_), A.BuiltInCallable$function("module-variables", _s7_, new A._EvaluateVisitor_closure17(_this), _s9_), A.BuiltInCallable$function("module-functions", _s7_, new A._EvaluateVisitor_closure18(_this), _s9_), A.BuiltInCallable$function("module-mixins", _s7_, new A._EvaluateVisitor_closure19(_this), _s9_), A.BuiltInCallable$function("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure20(_this), _s9_), A.BuiltInCallable$function("get-mixin", _s20_, new A._EvaluateVisitor_closure21(_this), _s9_), new A.AsyncBuiltInCallable("call", A.ScssParser$("@function call($function, $args...) {", null, _s9_).parseArgumentDeclaration$0(), new A._EvaluateVisitor_closure22(_this), false)], t1),
  61753. metaMixins = A._setArrayType([A.AsyncBuiltInCallable$mixin("load-css", "$url, $with: null", new A._EvaluateVisitor_closure23(_this), false, _s9_), A.AsyncBuiltInCallable$mixin("apply", "$mixin, $args...", new A._EvaluateVisitor_closure24(_this), true, _s9_)], t1);
  61754. t1 = type$.AsyncBuiltInCallable;
  61755. t2 = A.List_List$of($.$get$global(), true, t1);
  61756. B.JSArray_methods.addAll$1(t2, $.$get$local());
  61757. B.JSArray_methods.addAll$1(t2, metaFunctions);
  61758. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  61759. for (t1 = A.List_List$of($.$get$coreModules(), true, type$.BuiltInModule_AsyncCallable), t1.push(metaModule), t2 = t1.length, t3 = _this._async_evaluate$_builtInModules, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  61760. module = t1[_i];
  61761. t3.$indexSet(0, module.url, module);
  61762. }
  61763. t1 = A._setArrayType([], type$.JSArray_AsyncCallable);
  61764. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
  61765. B.JSArray_methods.addAll$1(t1, metaFunctions);
  61766. for (t2 = t1.length, t3 = _this._async_evaluate$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  61767. $function = t1[_i];
  61768. t4 = J.get$name$x($function);
  61769. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  61770. }
  61771. },
  61772. run$2(_, importer, node) {
  61773. return this.run$body$_EvaluateVisitor(0, importer, node);
  61774. },
  61775. run$body$_EvaluateVisitor(_, importer, node) {
  61776. var $async$goto = 0,
  61777. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet),
  61778. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, $async$exception;
  61779. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  61780. if ($async$errorCode === 1) {
  61781. $async$currentError = $async$result;
  61782. $async$goto = $async$handler;
  61783. }
  61784. while (true)
  61785. switch ($async$goto) {
  61786. case 0:
  61787. // Function start
  61788. $async$handler = 4;
  61789. t1 = type$.nullable_Object;
  61790. t1 = 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_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet);
  61791. $async$goto = 7;
  61792. return A._asyncAwait(type$.Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet._is(t1) ? t1 : A._Future$value(t1, type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet), $async$run$2);
  61793. case 7:
  61794. // returning from await.
  61795. t1 = $async$result;
  61796. $async$returnValue = t1;
  61797. // goto return
  61798. $async$goto = 1;
  61799. break;
  61800. $async$handler = 2;
  61801. // goto after finally
  61802. $async$goto = 6;
  61803. break;
  61804. case 4:
  61805. // catch
  61806. $async$handler = 3;
  61807. $async$exception = $async$currentError;
  61808. t1 = A.unwrapException($async$exception);
  61809. if (t1 instanceof A.SassException) {
  61810. error = t1;
  61811. stackTrace = A.getTraceFromException($async$exception);
  61812. A.throwWithTrace(error.withLoadedUrls$1($async$self._async_evaluate$_loadedUrls), error, stackTrace);
  61813. } else
  61814. throw $async$exception;
  61815. // goto after finally
  61816. $async$goto = 6;
  61817. break;
  61818. case 3:
  61819. // uncaught
  61820. // goto rethrow
  61821. $async$goto = 2;
  61822. break;
  61823. case 6:
  61824. // after finally
  61825. case 1:
  61826. // return
  61827. return A._asyncReturn($async$returnValue, $async$completer);
  61828. case 2:
  61829. // rethrow
  61830. return A._asyncRethrow($async$currentError, $async$completer);
  61831. }
  61832. });
  61833. return A._asyncStartSync($async$run$2, $async$completer);
  61834. },
  61835. _async_evaluate$_assertInModule$1$2(value, $name) {
  61836. if (value != null)
  61837. return value;
  61838. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  61839. },
  61840. _async_evaluate$_assertInModule$2(value, $name) {
  61841. return this._async_evaluate$_assertInModule$1$2(value, $name, type$.dynamic);
  61842. },
  61843. _async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  61844. return this._loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  61845. },
  61846. _async_evaluate$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  61847. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  61848. },
  61849. _async_evaluate$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  61850. return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  61851. },
  61852. _loadModule$body$_EvaluateVisitor(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  61853. var $async$goto = 0,
  61854. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  61855. $async$returnValue, $async$self = this, _0_0, t2, t1;
  61856. var $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  61857. if ($async$errorCode === 1)
  61858. return A._asyncRethrow($async$result, $async$completer);
  61859. while (true)
  61860. switch ($async$goto) {
  61861. case 0:
  61862. // Function start
  61863. t1 = {};
  61864. t1.builtInModule = null;
  61865. _0_0 = $async$self._async_evaluate$_builtInModules.$index(0, url);
  61866. if (_0_0 != null) {
  61867. t1.builtInModule = _0_0;
  61868. t2 = true;
  61869. } else
  61870. t2 = false;
  61871. $async$goto = t2 ? 3 : 4;
  61872. break;
  61873. case 3:
  61874. // then
  61875. if (configuration instanceof A.ExplicitConfiguration) {
  61876. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  61877. t2 = configuration.nodeWithSpan;
  61878. throw A.wrapException($async$self._async_evaluate$_exception$2(t1, t2.get$span(t2)));
  61879. }
  61880. $async$goto = 5;
  61881. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure1(t1, callback), type$.void), $async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors);
  61882. case 5:
  61883. // returning from await.
  61884. // goto return
  61885. $async$goto = 1;
  61886. break;
  61887. case 4:
  61888. // join
  61889. $async$goto = 6;
  61890. 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);
  61891. case 6:
  61892. // returning from await.
  61893. case 1:
  61894. // return
  61895. return A._asyncReturn($async$returnValue, $async$completer);
  61896. }
  61897. });
  61898. return A._asyncStartSync($async$_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  61899. },
  61900. _async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  61901. return this._execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  61902. },
  61903. _async_evaluate$_execute$2(importer, stylesheet) {
  61904. return this._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  61905. },
  61906. _execute$body$_EvaluateVisitor(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  61907. var $async$goto = 0,
  61908. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable),
  61909. $async$returnValue, $async$self = this, _0_0, alreadyLoaded, t2, currentConfiguration, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, t1, url;
  61910. var $async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  61911. if ($async$errorCode === 1)
  61912. return A._asyncRethrow($async$result, $async$completer);
  61913. while (true)
  61914. switch ($async$goto) {
  61915. case 0:
  61916. // Function start
  61917. t1 = stylesheet.span;
  61918. url = t1.get$sourceUrl(t1);
  61919. t1 = $async$self._async_evaluate$_modules;
  61920. _0_0 = t1.$index(0, url);
  61921. if (_0_0 != null) {
  61922. alreadyLoaded = _0_0;
  61923. t2 = true;
  61924. } else {
  61925. alreadyLoaded = null;
  61926. t2 = false;
  61927. }
  61928. if (t2) {
  61929. t1 = configuration == null;
  61930. currentConfiguration = t1 ? $async$self._async_evaluate$_configuration : configuration;
  61931. t2 = $async$self._async_evaluate$_moduleConfigurations.$index(0, url);
  61932. t3 = t2.__originalConfiguration;
  61933. t2 = t3 == null ? t2 : t3;
  61934. t3 = currentConfiguration.__originalConfiguration;
  61935. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration) {
  61936. if (namesInErrors) {
  61937. t2 = $.$get$context();
  61938. url.toString;
  61939. message = t2.prettyUri$1(url) + string$.x20was_a;
  61940. } else
  61941. message = string$.This_mw;
  61942. t2 = $async$self._async_evaluate$_moduleNodes.$index(0, url);
  61943. existingSpan = t2 == null ? null : t2.get$span(t2);
  61944. if (t1) {
  61945. t1 = currentConfiguration.nodeWithSpan;
  61946. configurationSpan = t1.get$span(t1);
  61947. } else
  61948. configurationSpan = null;
  61949. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  61950. if (existingSpan != null)
  61951. t1.$indexSet(0, existingSpan, "original load");
  61952. if (configurationSpan != null)
  61953. t1.$indexSet(0, configurationSpan, "configuration");
  61954. throw A.wrapException(t1.get$isEmpty(t1) ? $async$self._async_evaluate$_exception$1(message) : $async$self._async_evaluate$_multiSpanException$3(message, "new load", t1));
  61955. }
  61956. $async$returnValue = alreadyLoaded;
  61957. // goto return
  61958. $async$goto = 1;
  61959. break;
  61960. }
  61961. environment = A.AsyncEnvironment$();
  61962. css = A._Cell$();
  61963. preModuleComments = A._Cell$();
  61964. extensionStore = A.ExtensionStore$();
  61965. $async$goto = 3;
  61966. return A._asyncAwait($async$self._async_evaluate$_withEnvironment$1$2(environment, new A._EvaluateVisitor__execute_closure0($async$self, importer, stylesheet, extensionStore, configuration, css, preModuleComments), type$.Null), $async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan);
  61967. case 3:
  61968. // returning from await.
  61969. t2 = css._readLocal$0();
  61970. t3 = preModuleComments._readLocal$0();
  61971. module = environment.toModule$3(t2, t3 == null ? B.Map_empty7 : t3, extensionStore);
  61972. if (url != null) {
  61973. t1.$indexSet(0, url, module);
  61974. $async$self._async_evaluate$_moduleConfigurations.$indexSet(0, url, $async$self._async_evaluate$_configuration);
  61975. if (nodeWithSpan != null)
  61976. $async$self._async_evaluate$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  61977. }
  61978. $async$returnValue = module;
  61979. // goto return
  61980. $async$goto = 1;
  61981. break;
  61982. case 1:
  61983. // return
  61984. return A._asyncReturn($async$returnValue, $async$completer);
  61985. }
  61986. });
  61987. return A._asyncStartSync($async$_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  61988. },
  61989. _async_evaluate$_addOutOfOrderImports$0() {
  61990. var t1, t2, _this = this, _s5_ = "_root",
  61991. _s13_ = "_endOfImports",
  61992. _0_0 = _this._async_evaluate$_outOfOrderImports;
  61993. $label0$0: {
  61994. if (_0_0 == null) {
  61995. t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  61996. break $label0$0;
  61997. }
  61998. t1 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  61999. t1 = t1.children;
  62000. 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("ListBase.E")), true, type$.ModifiableCssNode);
  62001. B.JSArray_methods.addAll$1(t1, _0_0);
  62002. t2 = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children;
  62003. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  62004. break $label0$0;
  62005. }
  62006. return t1;
  62007. },
  62008. _async_evaluate$_combineCss$2$clone(root, clone) {
  62009. var selectors, _0_0, unsatisfiedExtension, t1, imports, css, sorted, t2;
  62010. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure1())) {
  62011. selectors = root.get$extensionStore().get$simpleSelectors();
  62012. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure2(selectors)));
  62013. if (_0_0 != null) {
  62014. unsatisfiedExtension = _0_0;
  62015. t1 = true;
  62016. } else {
  62017. unsatisfiedExtension = null;
  62018. t1 = false;
  62019. }
  62020. if (t1)
  62021. this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
  62022. return root.get$css(root);
  62023. }
  62024. t1 = type$.JSArray_CssNode;
  62025. imports = A._setArrayType([], t1);
  62026. css = A._setArrayType([], t1);
  62027. t1 = type$.Module_AsyncCallable;
  62028. sorted = A.ListQueue$(t1);
  62029. new A._EvaluateVisitor__combineCss_visitModule0(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  62030. if (root.get$transitivelyContainsExtensions())
  62031. this._async_evaluate$_extendModules$1(sorted);
  62032. t1 = B.JSArray_methods.$add(imports, css);
  62033. t2 = root.get$css(root);
  62034. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  62035. },
  62036. _async_evaluate$_combineCss$1(root) {
  62037. return this._async_evaluate$_combineCss$2$clone(root, false);
  62038. },
  62039. _async_evaluate$_extendModules$1(sortedModules) {
  62040. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0, url, t6,
  62041. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  62042. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  62043. for (t1 = A._ListQueueIterator$(sortedModules), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  62044. t3 = t1._collection$_current;
  62045. if (t3 == null)
  62046. t3 = t2._as(t3);
  62047. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  62048. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure1(originalSelectors)));
  62049. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  62050. t4 = t3.get$extensionStore().get$addExtensions();
  62051. if ($self != null)
  62052. t4.call$1($self);
  62053. t4 = t3.get$extensionStore();
  62054. if (t4.get$isEmpty(t4))
  62055. continue;
  62056. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  62057. upstream = t4[_i];
  62058. _0_0 = upstream.get$url(upstream);
  62059. if (_0_0 != null) {
  62060. url = _0_0;
  62061. t6 = true;
  62062. } else {
  62063. url = null;
  62064. t6 = false;
  62065. }
  62066. if (t6)
  62067. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure2()), t3.get$extensionStore());
  62068. }
  62069. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  62070. }
  62071. if (unsatisfiedExtensions._collection$_length !== 0)
  62072. this._async_evaluate$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
  62073. },
  62074. _async_evaluate$_throwForUnsatisfiedExtension$1(extension) {
  62075. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  62076. },
  62077. _async_evaluate$_indexAfterImports$1(statements) {
  62078. var t1, lastImport, i, _0_0;
  62079. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  62080. $label0$0: {
  62081. _0_0 = t1.$index(statements, i);
  62082. if (_0_0 instanceof A.ModifiableCssImport)
  62083. break $label0$0;
  62084. if (_0_0 instanceof A.ModifiableCssComment)
  62085. continue;
  62086. break;
  62087. }
  62088. lastImport = i;
  62089. }
  62090. return lastImport + 1;
  62091. },
  62092. visitStylesheet$1(node) {
  62093. return this.visitStylesheet$body$_EvaluateVisitor(node);
  62094. },
  62095. visitStylesheet$body$_EvaluateVisitor(node) {
  62096. var $async$goto = 0,
  62097. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  62098. $async$returnValue, $async$self = this, t1, t2, _i;
  62099. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62100. if ($async$errorCode === 1)
  62101. return A._asyncRethrow($async$result, $async$completer);
  62102. while (true)
  62103. switch ($async$goto) {
  62104. case 0:
  62105. // Function start
  62106. t1 = node.children, t2 = t1.length, _i = 0;
  62107. case 3:
  62108. // for condition
  62109. if (!(_i < t2)) {
  62110. // goto after for
  62111. $async$goto = 5;
  62112. break;
  62113. }
  62114. $async$goto = 6;
  62115. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  62116. case 6:
  62117. // returning from await.
  62118. case 4:
  62119. // for update
  62120. ++_i;
  62121. // goto for condition
  62122. $async$goto = 3;
  62123. break;
  62124. case 5:
  62125. // after for
  62126. $async$returnValue = null;
  62127. // goto return
  62128. $async$goto = 1;
  62129. break;
  62130. case 1:
  62131. // return
  62132. return A._asyncReturn($async$returnValue, $async$completer);
  62133. }
  62134. });
  62135. return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
  62136. },
  62137. visitAtRootRule$1(node) {
  62138. return this.visitAtRootRule$body$_EvaluateVisitor(node);
  62139. },
  62140. visitAtRootRule$body$_EvaluateVisitor(node) {
  62141. var $async$goto = 0,
  62142. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  62143. $async$returnValue, $async$self = this, unparsedQuery, t1, _1_0, resolved, query, $parent, included, _2_0, grandparent, t2, root, first, rest, innerCopy, outerCopy, _i, copy, _0_0;
  62144. var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62145. if ($async$errorCode === 1)
  62146. return A._asyncRethrow($async$result, $async$completer);
  62147. while (true)
  62148. switch ($async$goto) {
  62149. case 0:
  62150. // Function start
  62151. _0_0 = node.query;
  62152. if (_0_0 != null) {
  62153. unparsedQuery = _0_0;
  62154. t1 = true;
  62155. } else {
  62156. unparsedQuery = null;
  62157. t1 = false;
  62158. }
  62159. $async$goto = t1 ? 3 : 5;
  62160. break;
  62161. case 3:
  62162. // then
  62163. $async$goto = 6;
  62164. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(unparsedQuery, true), $async$visitAtRootRule$1);
  62165. case 6:
  62166. // returning from await.
  62167. _1_0 = $async$result;
  62168. resolved = _1_0._0;
  62169. _1_0._1;
  62170. query = A.AtRootQueryParser$(resolved, $async$self._async_evaluate$_logger, null).parse$0();
  62171. // goto join
  62172. $async$goto = 4;
  62173. break;
  62174. case 5:
  62175. // else
  62176. query = B.AtRootQuery_UsS;
  62177. case 4:
  62178. // join
  62179. $parent = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  62180. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  62181. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = grandparent) {
  62182. if (!query.excludes$1($parent))
  62183. included.push($parent);
  62184. _2_0 = $parent._parent;
  62185. if (_2_0 != null) {
  62186. grandparent = _2_0;
  62187. t2 = true;
  62188. } else {
  62189. grandparent = null;
  62190. t2 = false;
  62191. }
  62192. if (!t2)
  62193. throw A.wrapException(A.StateError$(string$.CssNod));
  62194. }
  62195. root = $async$self._async_evaluate$_trimIncluded$1(included);
  62196. $async$goto = root === $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent") ? 7 : 8;
  62197. break;
  62198. case 7:
  62199. // then
  62200. $async$goto = 9;
  62201. return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure1($async$self, node), node.hasDeclarations, type$.Null), $async$visitAtRootRule$1);
  62202. case 9:
  62203. // returning from await.
  62204. $async$returnValue = null;
  62205. // goto return
  62206. $async$goto = 1;
  62207. break;
  62208. case 8:
  62209. // join
  62210. if (included.length >= 1) {
  62211. first = included[0];
  62212. rest = B.JSArray_methods.sublist$1(included, 1);
  62213. t1 = true;
  62214. } else {
  62215. first = null;
  62216. rest = null;
  62217. t1 = false;
  62218. }
  62219. if (t1) {
  62220. innerCopy = first.copyWithoutChildren$0();
  62221. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  62222. copy = rest[_i].copyWithoutChildren$0();
  62223. copy.addChild$1(outerCopy);
  62224. }
  62225. root.addChild$1(outerCopy);
  62226. } else
  62227. innerCopy = root;
  62228. $async$goto = 10;
  62229. return A._asyncAwait($async$self._async_evaluate$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure2($async$self, node)), $async$visitAtRootRule$1);
  62230. case 10:
  62231. // returning from await.
  62232. $async$returnValue = null;
  62233. // goto return
  62234. $async$goto = 1;
  62235. break;
  62236. case 1:
  62237. // return
  62238. return A._asyncReturn($async$returnValue, $async$completer);
  62239. }
  62240. });
  62241. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  62242. },
  62243. _async_evaluate$_trimIncluded$1(nodes) {
  62244. var $parent, t1, innermostContiguous, i, t2, _0_0, grandparent, t3, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  62245. _s22_ = " to be an ancestor of ";
  62246. if (nodes.length === 0)
  62247. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  62248. $parent = _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__parent, "__parent");
  62249. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
  62250. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
  62251. _0_0 = $parent._parent;
  62252. if (_0_0 != null) {
  62253. grandparent = _0_0;
  62254. t3 = true;
  62255. } else {
  62256. grandparent = _null;
  62257. t3 = false;
  62258. }
  62259. if (!t3)
  62260. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  62261. }
  62262. if (innermostContiguous == null)
  62263. innermostContiguous = i;
  62264. _1_0 = $parent._parent;
  62265. if (_1_0 != null) {
  62266. grandparent = _1_0;
  62267. t3 = true;
  62268. } else {
  62269. grandparent = _null;
  62270. t3 = false;
  62271. }
  62272. if (!t3)
  62273. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  62274. }
  62275. if ($parent !== _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_))
  62276. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_);
  62277. innermostContiguous.toString;
  62278. root = nodes[innermostContiguous];
  62279. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  62280. return root;
  62281. },
  62282. _async_evaluate$_scopeForAtRoot$4(node, newParent, query, included) {
  62283. var _this = this,
  62284. scope = new A._EvaluateVisitor__scopeForAtRoot_closure5(_this, newParent, node),
  62285. t1 = query._all || query._at_root_query$_rule;
  62286. if (t1 !== query.include)
  62287. scope = new A._EvaluateVisitor__scopeForAtRoot_closure6(_this, scope);
  62288. if (_this._async_evaluate$_mediaQueries != null && query.excludesName$1("media"))
  62289. scope = new A._EvaluateVisitor__scopeForAtRoot_closure7(_this, scope);
  62290. if (_this._async_evaluate$_inKeyframes && query.excludesName$1("keyframes"))
  62291. scope = new A._EvaluateVisitor__scopeForAtRoot_closure8(_this, scope);
  62292. return _this._async_evaluate$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure9()) ? new A._EvaluateVisitor__scopeForAtRoot_closure10(_this, scope) : scope;
  62293. },
  62294. visitContentBlock$1(node) {
  62295. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  62296. },
  62297. visitContentRule$1(node) {
  62298. return this.visitContentRule$body$_EvaluateVisitor(node);
  62299. },
  62300. visitContentRule$body$_EvaluateVisitor(node) {
  62301. var $async$goto = 0,
  62302. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  62303. $async$returnValue, $async$self = this, $content;
  62304. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62305. if ($async$errorCode === 1)
  62306. return A._asyncRethrow($async$result, $async$completer);
  62307. while (true)
  62308. switch ($async$goto) {
  62309. case 0:
  62310. // Function start
  62311. $content = $async$self._async_evaluate$_environment._async_environment$_content;
  62312. if ($content == null) {
  62313. $async$returnValue = null;
  62314. // goto return
  62315. $async$goto = 1;
  62316. break;
  62317. }
  62318. $async$goto = 3;
  62319. 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);
  62320. case 3:
  62321. // returning from await.
  62322. $async$returnValue = null;
  62323. // goto return
  62324. $async$goto = 1;
  62325. break;
  62326. case 1:
  62327. // return
  62328. return A._asyncReturn($async$returnValue, $async$completer);
  62329. }
  62330. });
  62331. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  62332. },
  62333. visitDebugRule$1(node) {
  62334. return this.visitDebugRule$body$_EvaluateVisitor(node);
  62335. },
  62336. visitDebugRule$body$_EvaluateVisitor(node) {
  62337. var $async$goto = 0,
  62338. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  62339. $async$returnValue, $async$self = this, value, t1;
  62340. var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62341. if ($async$errorCode === 1)
  62342. return A._asyncRethrow($async$result, $async$completer);
  62343. while (true)
  62344. switch ($async$goto) {
  62345. case 0:
  62346. // Function start
  62347. $async$goto = 3;
  62348. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  62349. case 3:
  62350. // returning from await.
  62351. value = $async$result;
  62352. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  62353. $async$self._async_evaluate$_logger.debug$2(0, t1, node.span);
  62354. $async$returnValue = null;
  62355. // goto return
  62356. $async$goto = 1;
  62357. break;
  62358. case 1:
  62359. // return
  62360. return A._asyncReturn($async$returnValue, $async$completer);
  62361. }
  62362. });
  62363. return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
  62364. },
  62365. visitDeclaration$1(node) {
  62366. return this.visitDeclaration$body$_EvaluateVisitor(node);
  62367. },
  62368. visitDeclaration$body$_EvaluateVisitor(node) {
  62369. var $async$goto = 0,
  62370. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  62371. $async$returnValue, $async$self = this, t2, $name, _0_0, declarationName, t3, _1_0, expression, value, t4, t5, _2_0, oldDeclarationName, t1;
  62372. var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62373. if ($async$errorCode === 1)
  62374. return A._asyncRethrow($async$result, $async$completer);
  62375. while (true)
  62376. switch ($async$goto) {
  62377. case 0:
  62378. // Function start
  62379. t1 = {};
  62380. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate$_inUnknownAtRule && !$async$self._async_evaluate$_inKeyframes)
  62381. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarm, node.span));
  62382. if ($async$self._async_evaluate$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  62383. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Declarw, node.span));
  62384. t2 = node.name;
  62385. $async$goto = 3;
  62386. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$2$warnForColor(t2, true), $async$visitDeclaration$1);
  62387. case 3:
  62388. // returning from await.
  62389. $name = $async$result;
  62390. _0_0 = $async$self._async_evaluate$_declarationName;
  62391. if (_0_0 != null) {
  62392. declarationName = _0_0;
  62393. t3 = true;
  62394. } else {
  62395. declarationName = null;
  62396. t3 = false;
  62397. }
  62398. if (t3)
  62399. $name = new A.CssValue(A.S(declarationName) + "-" + A.S($name.value), $name.span, type$.CssValue_String);
  62400. _1_0 = node.value;
  62401. if (_1_0 != null) {
  62402. expression = _1_0;
  62403. t3 = true;
  62404. } else {
  62405. expression = null;
  62406. t3 = false;
  62407. }
  62408. $async$goto = t3 ? 4 : 5;
  62409. break;
  62410. case 4:
  62411. // then
  62412. $async$goto = 6;
  62413. return A._asyncAwait(expression.accept$1($async$self), $async$visitDeclaration$1);
  62414. case 6:
  62415. // returning from await.
  62416. value = $async$result;
  62417. if (!value.get$isBlank() || value.get$asList().length === 0) {
  62418. t3 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  62419. t4 = expression.get$span(expression);
  62420. t2 = B.JSString_methods.startsWith$1(t2.get$initialPlain(), "--");
  62421. if ($async$self._async_evaluate$_sourceMap) {
  62422. t5 = A.NullableExtension_andThen(_1_0, $async$self.get$_async_evaluate$_expressionNode());
  62423. t5 = t5 == null ? null : J.get$span$z(t5);
  62424. } else
  62425. t5 = null;
  62426. t3.addChild$1(A.ModifiableCssDeclaration$($name, new A.CssValue(value, t4, type$.CssValue_Value), node.span, t2, t5));
  62427. } else if (J.startsWith$1$s($name.value, "--"))
  62428. throw A.wrapException($async$self._async_evaluate$_exception$2("Custom property values may not be empty.", expression.get$span(expression)));
  62429. case 5:
  62430. // join
  62431. t1.children = null;
  62432. _2_0 = node.children;
  62433. if (_2_0 != null) {
  62434. t1.children = _2_0;
  62435. t2 = true;
  62436. } else
  62437. t2 = false;
  62438. $async$goto = t2 ? 7 : 8;
  62439. break;
  62440. case 7:
  62441. // then
  62442. oldDeclarationName = $async$self._async_evaluate$_declarationName;
  62443. $async$self._async_evaluate$_declarationName = $name.value;
  62444. $async$goto = 9;
  62445. return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure0(t1, $async$self), node.hasDeclarations, type$.Null), $async$visitDeclaration$1);
  62446. case 9:
  62447. // returning from await.
  62448. $async$self._async_evaluate$_declarationName = oldDeclarationName;
  62449. case 8:
  62450. // join
  62451. $async$returnValue = null;
  62452. // goto return
  62453. $async$goto = 1;
  62454. break;
  62455. case 1:
  62456. // return
  62457. return A._asyncReturn($async$returnValue, $async$completer);
  62458. }
  62459. });
  62460. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  62461. },
  62462. visitEachRule$1(node) {
  62463. return this.visitEachRule$body$_EvaluateVisitor(node);
  62464. },
  62465. visitEachRule$body$_EvaluateVisitor(node) {
  62466. var $async$goto = 0,
  62467. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  62468. $async$returnValue, $async$self = this, t2, _box_0, t1, list, nodeWithSpan, _0_0;
  62469. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62470. if ($async$errorCode === 1)
  62471. return A._asyncRethrow($async$result, $async$completer);
  62472. while (true)
  62473. switch ($async$goto) {
  62474. case 0:
  62475. // Function start
  62476. _box_0 = {};
  62477. t1 = node.list;
  62478. $async$goto = 3;
  62479. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  62480. case 3:
  62481. // returning from await.
  62482. list = $async$result;
  62483. nodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t1);
  62484. _0_0 = node.variables;
  62485. $label0$0: {
  62486. _box_0.variable = null;
  62487. if (_0_0.length === 1) {
  62488. _box_0.variable = _0_0[0];
  62489. t1 = true;
  62490. } else
  62491. t1 = false;
  62492. if (t1) {
  62493. t1 = new A._EvaluateVisitor_visitEachRule_closure2(_box_0, $async$self, nodeWithSpan);
  62494. break $label0$0;
  62495. }
  62496. t1 = _box_0.variables = null;
  62497. _box_0.variables = _0_0;
  62498. t2 = new A._EvaluateVisitor_visitEachRule_closure3(_box_0, $async$self, nodeWithSpan);
  62499. t1 = t2;
  62500. break $label0$0;
  62501. }
  62502. $async$returnValue = $async$self._async_evaluate$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure4($async$self, list, t1, node), true, type$.nullable_Value);
  62503. // goto return
  62504. $async$goto = 1;
  62505. break;
  62506. case 1:
  62507. // return
  62508. return A._asyncReturn($async$returnValue, $async$completer);
  62509. }
  62510. });
  62511. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  62512. },
  62513. _async_evaluate$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  62514. var i,
  62515. list = value.get$asList(),
  62516. t1 = variables.length,
  62517. minLength = Math.min(t1, list.length);
  62518. for (i = 0; i < minLength; ++i)
  62519. this._async_evaluate$_environment.setLocalVariable$3(variables[i], this._async_evaluate$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  62520. for (i = minLength; i < t1; ++i)
  62521. this._async_evaluate$_environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  62522. },
  62523. visitErrorRule$1(node) {
  62524. return this.visitErrorRule$body$_EvaluateVisitor(node);
  62525. },
  62526. visitErrorRule$body$_EvaluateVisitor(node) {
  62527. var $async$goto = 0,
  62528. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  62529. $async$self = this, $async$temp1, $async$temp2;
  62530. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62531. if ($async$errorCode === 1)
  62532. return A._asyncRethrow($async$result, $async$completer);
  62533. while (true)
  62534. switch ($async$goto) {
  62535. case 0:
  62536. // Function start
  62537. $async$temp1 = A;
  62538. $async$temp2 = J;
  62539. $async$goto = 2;
  62540. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  62541. case 2:
  62542. // returning from await.
  62543. throw $async$temp1.wrapException($async$self._async_evaluate$_exception$2($async$temp2.toString$0$($async$result), node.span));
  62544. // implicit return
  62545. return A._asyncReturn(null, $async$completer);
  62546. }
  62547. });
  62548. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  62549. },
  62550. visitExtendRule$1(node) {
  62551. return this.visitExtendRule$body$_EvaluateVisitor(node);
  62552. },
  62553. visitExtendRule$body$_EvaluateVisitor(node) {
  62554. var $async$goto = 0,
  62555. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  62556. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, targetText, targetMap, compound, styleRule;
  62557. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62558. if ($async$errorCode === 1)
  62559. return A._asyncRethrow($async$result, $async$completer);
  62560. while (true)
  62561. switch ($async$goto) {
  62562. case 0:
  62563. // Function start
  62564. styleRule = $async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  62565. if (styleRule == null || $async$self._async_evaluate$_declarationName != null)
  62566. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.x40exten, node.span));
  62567. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  62568. complex = t1[_i];
  62569. if (!complex.accept$1(B._IsBogusVisitor_true))
  62570. continue;
  62571. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  62572. complex.accept$1(visitor);
  62573. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  62574. t7 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  62575. $async$self._async_evaluate$_warn$3('The selector "' + t6 + '" is invalid CSS and ' + t7 + string$.x20be_an, new A.MultiSpan(A.SpanExtensions_trimRight(complex.span), "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t3, "@extend rule"], t4, t5), t4, t5)), B.Deprecation_vrR);
  62576. }
  62577. $async$goto = 3;
  62578. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  62579. case 3:
  62580. // returning from await.
  62581. _0_0 = $async$result;
  62582. targetText = _0_0._0;
  62583. targetMap = _0_0._1;
  62584. for (t1 = A.SelectorList_SelectorList$parse(A.trimAscii(targetText, true), false, true, targetMap, $async$self._async_evaluate$_logger).components, t2 = t1.length, t3 = styleRule._style_rule$_selector._box$_inner, _i = 0; _i < t2; ++_i) {
  62585. complex = t1[_i];
  62586. compound = complex.get$singleCompound();
  62587. if (compound == null)
  62588. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", complex.span, null));
  62589. t4 = compound.components;
  62590. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  62591. if (t5 == null)
  62592. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, null));
  62593. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, $async$self._async_evaluate$_mediaQueries);
  62594. }
  62595. $async$returnValue = null;
  62596. // goto return
  62597. $async$goto = 1;
  62598. break;
  62599. case 1:
  62600. // return
  62601. return A._asyncReturn($async$returnValue, $async$completer);
  62602. }
  62603. });
  62604. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  62605. },
  62606. visitAtRule$1(node) {
  62607. return this.visitAtRule$body$_EvaluateVisitor(node);
  62608. },
  62609. visitAtRule$body$_EvaluateVisitor(node) {
  62610. var $async$goto = 0,
  62611. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  62612. $async$returnValue, $async$self = this, $name, t1, value, children, wasInKeyframes, wasInUnknownAtRule;
  62613. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62614. if ($async$errorCode === 1)
  62615. return A._asyncRethrow($async$result, $async$completer);
  62616. while (true)
  62617. switch ($async$goto) {
  62618. case 0:
  62619. // Function start
  62620. if ($async$self._async_evaluate$_declarationName != null)
  62621. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  62622. $async$goto = 3;
  62623. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  62624. case 3:
  62625. // returning from await.
  62626. $name = $async$result;
  62627. t1 = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure2($async$self));
  62628. $async$goto = 4;
  62629. return A._asyncAwait(type$.Future_nullable_CssValue_String._is(t1) ? t1 : A._Future$value(t1, type$.nullable_CssValue_String), $async$visitAtRule$1);
  62630. case 4:
  62631. // returning from await.
  62632. value = $async$result;
  62633. children = node.children;
  62634. if (children == null) {
  62635. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  62636. $async$returnValue = null;
  62637. // goto return
  62638. $async$goto = 1;
  62639. break;
  62640. }
  62641. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  62642. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  62643. if (A.unvendor($name.value) === "keyframes")
  62644. $async$self._async_evaluate$_inKeyframes = true;
  62645. else
  62646. $async$self._async_evaluate$_inUnknownAtRule = true;
  62647. $async$goto = 5;
  62648. 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, $name, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure4(), type$.ModifiableCssAtRule, type$.Null), $async$visitAtRule$1);
  62649. case 5:
  62650. // returning from await.
  62651. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  62652. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  62653. $async$returnValue = null;
  62654. // goto return
  62655. $async$goto = 1;
  62656. break;
  62657. case 1:
  62658. // return
  62659. return A._asyncReturn($async$returnValue, $async$completer);
  62660. }
  62661. });
  62662. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  62663. },
  62664. visitForRule$1(node) {
  62665. return this.visitForRule$body$_EvaluateVisitor(node);
  62666. },
  62667. visitForRule$body$_EvaluateVisitor(node) {
  62668. var $async$goto = 0,
  62669. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  62670. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  62671. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62672. if ($async$errorCode === 1)
  62673. return A._asyncRethrow($async$result, $async$completer);
  62674. while (true)
  62675. switch ($async$goto) {
  62676. case 0:
  62677. // Function start
  62678. t1 = {};
  62679. t2 = node.from;
  62680. t3 = type$.SassNumber;
  62681. $async$goto = 3;
  62682. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure4($async$self, node), t3), $async$visitForRule$1);
  62683. case 3:
  62684. // returning from await.
  62685. fromNumber = $async$result;
  62686. t4 = node.to;
  62687. $async$goto = 4;
  62688. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure5($async$self, node), t3), $async$visitForRule$1);
  62689. case 4:
  62690. // returning from await.
  62691. toNumber = $async$result;
  62692. from = $async$self._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure6(fromNumber));
  62693. to = t1.to = $async$self._async_evaluate$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure7(toNumber, fromNumber));
  62694. direction = from > to ? -1 : 1;
  62695. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  62696. $async$returnValue = null;
  62697. // goto return
  62698. $async$goto = 1;
  62699. break;
  62700. }
  62701. $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);
  62702. // goto return
  62703. $async$goto = 1;
  62704. break;
  62705. case 1:
  62706. // return
  62707. return A._asyncReturn($async$returnValue, $async$completer);
  62708. }
  62709. });
  62710. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  62711. },
  62712. visitForwardRule$1(node) {
  62713. return this.visitForwardRule$body$_EvaluateVisitor(node);
  62714. },
  62715. visitForwardRule$body$_EvaluateVisitor(node) {
  62716. var $async$goto = 0,
  62717. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  62718. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  62719. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62720. if ($async$errorCode === 1)
  62721. return A._asyncRethrow($async$result, $async$completer);
  62722. while (true)
  62723. switch ($async$goto) {
  62724. case 0:
  62725. // Function start
  62726. oldConfiguration = $async$self._async_evaluate$_configuration;
  62727. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  62728. t1 = node.configuration;
  62729. t2 = t1.length;
  62730. t3 = node.url;
  62731. $async$goto = t2 !== 0 ? 3 : 5;
  62732. break;
  62733. case 3:
  62734. // then
  62735. $async$goto = 6;
  62736. return A._asyncAwait($async$self._async_evaluate$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  62737. case 6:
  62738. // returning from await.
  62739. newConfiguration = $async$result;
  62740. $async$goto = 7;
  62741. 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);
  62742. case 7:
  62743. // returning from await.
  62744. t3 = type$.String;
  62745. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  62746. for (_i = 0; _i < t2; ++_i) {
  62747. variable = t1[_i];
  62748. if (!variable.isGuarded)
  62749. t4.add$1(0, variable.name);
  62750. }
  62751. $async$self._async_evaluate$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  62752. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  62753. for (_i = 0; _i < t2; ++_i)
  62754. t3.add$1(0, t1[_i].name);
  62755. 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) {
  62756. $name = t2[_i];
  62757. if (!t3.contains$1(0, $name))
  62758. if (!t1.get$isEmpty(t1))
  62759. t1.remove$1(0, $name);
  62760. }
  62761. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(newConfiguration);
  62762. // goto join
  62763. $async$goto = 4;
  62764. break;
  62765. case 5:
  62766. // else
  62767. $async$self._async_evaluate$_configuration = adjustedConfiguration;
  62768. $async$goto = 8;
  62769. return A._asyncAwait($async$self._async_evaluate$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure2($async$self, node)), $async$visitForwardRule$1);
  62770. case 8:
  62771. // returning from await.
  62772. $async$self._async_evaluate$_configuration = oldConfiguration;
  62773. case 4:
  62774. // join
  62775. $async$returnValue = null;
  62776. // goto return
  62777. $async$goto = 1;
  62778. break;
  62779. case 1:
  62780. // return
  62781. return A._asyncReturn($async$returnValue, $async$completer);
  62782. }
  62783. });
  62784. return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
  62785. },
  62786. _async_evaluate$_addForwardConfiguration$2(configuration, node) {
  62787. return this._addForwardConfiguration$body$_EvaluateVisitor(configuration, node);
  62788. },
  62789. _addForwardConfiguration$body$_EvaluateVisitor(configuration, node) {
  62790. var $async$goto = 0,
  62791. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration),
  62792. $async$returnValue, $async$self = this, t2, t3, t4, t5, _i, variable, t6, oldValue, t7, variableNodeWithSpan, t8, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
  62793. var $async$_async_evaluate$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62794. if ($async$errorCode === 1)
  62795. return A._asyncRethrow($async$result, $async$completer);
  62796. while (true)
  62797. switch ($async$goto) {
  62798. case 0:
  62799. // Function start
  62800. t1 = configuration._configuration$_values;
  62801. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  62802. t2 = node.configuration, t3 = t2.length, t4 = type$._Future_Value, t5 = type$.Future_Value, _i = 0;
  62803. case 3:
  62804. // for condition
  62805. if (!(_i < t3)) {
  62806. // goto after for
  62807. $async$goto = 5;
  62808. break;
  62809. }
  62810. variable = t2[_i];
  62811. if (variable.isGuarded) {
  62812. t6 = variable.name;
  62813. oldValue = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t6);
  62814. if (oldValue != null)
  62815. t7 = true;
  62816. else {
  62817. oldValue = null;
  62818. t7 = false;
  62819. }
  62820. if (t7 && !oldValue.value.$eq(0, B.C__SassNull)) {
  62821. newValues.$indexSet(0, t6, oldValue);
  62822. // goto for update
  62823. $async$goto = 4;
  62824. break;
  62825. }
  62826. }
  62827. t6 = variable.expression;
  62828. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t6);
  62829. t7 = variable.name;
  62830. t6 = t6.accept$1($async$self);
  62831. if (!t5._is(t6)) {
  62832. t8 = new A._Future($.Zone__current, t4);
  62833. t8._state = 8;
  62834. t8._resultOrListeners = t6;
  62835. t6 = t8;
  62836. }
  62837. $async$temp1 = newValues;
  62838. $async$temp2 = t7;
  62839. $async$temp3 = A;
  62840. $async$goto = 6;
  62841. return A._asyncAwait(t6, $async$_async_evaluate$_addForwardConfiguration$2);
  62842. case 6:
  62843. // returning from await.
  62844. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  62845. case 4:
  62846. // for update
  62847. ++_i;
  62848. // goto for condition
  62849. $async$goto = 3;
  62850. break;
  62851. case 5:
  62852. // after for
  62853. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1)) {
  62854. $async$returnValue = new A.ExplicitConfiguration(node, newValues, null);
  62855. // goto return
  62856. $async$goto = 1;
  62857. break;
  62858. } else {
  62859. $async$returnValue = new A.Configuration(newValues, null);
  62860. // goto return
  62861. $async$goto = 1;
  62862. break;
  62863. }
  62864. case 1:
  62865. // return
  62866. return A._asyncReturn($async$returnValue, $async$completer);
  62867. }
  62868. });
  62869. return A._asyncStartSync($async$_async_evaluate$_addForwardConfiguration$2, $async$completer);
  62870. },
  62871. _async_evaluate$_registerCommentsForModule$1(module) {
  62872. var _this = this, _s5_ = "_root",
  62873. t1 = _this._async_evaluate$__root;
  62874. if (t1 == null)
  62875. return;
  62876. t1 = _this._async_evaluate$_assertInModule$2(t1, _s5_).children;
  62877. if (t1.get$length(t1) === 0 || !module.get$transitivelyContainsCss())
  62878. return;
  62879. t1 = _this._async_evaluate$_preModuleComments;
  62880. if (t1 == null)
  62881. t1 = _this._async_evaluate$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable, type$.List_CssComment);
  62882. J.addAll$1$ax(t1.putIfAbsent$2(module, new A._EvaluateVisitor__registerCommentsForModule_closure0()), new A.UnmodifiableListView(J.cast$1$0$ax(_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).children._collection$_source, type$.CssComment), type$.UnmodifiableListView_CssComment));
  62883. _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__root, _s5_).clearChildren$0();
  62884. _this._async_evaluate$__endOfImports = 0;
  62885. },
  62886. _async_evaluate$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  62887. var t1, t2, t3, t4, _i, $name;
  62888. 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) {
  62889. $name = t2[_i];
  62890. if (except.contains$1(0, $name))
  62891. continue;
  62892. if (!t4.containsKey$1($name))
  62893. if (!t1.get$isEmpty(t1))
  62894. t1.remove$1(0, $name);
  62895. }
  62896. },
  62897. _async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  62898. var t1, _0_0, $name, value;
  62899. if (!(configuration instanceof A.ExplicitConfiguration))
  62900. return;
  62901. t1 = configuration._configuration$_values;
  62902. if (t1.get$isEmpty(t1))
  62903. return;
  62904. t1 = A.MapExtensions_get_pairs(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  62905. _0_0 = t1.get$first(t1);
  62906. $name = _0_0._0;
  62907. value = _0_0._1;
  62908. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  62909. throw A.wrapException(this._async_evaluate$_exception$2(t1, value.configurationSpan));
  62910. },
  62911. _async_evaluate$_assertConfigurationIsEmpty$1(configuration) {
  62912. return this._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  62913. },
  62914. visitFunctionRule$1(node) {
  62915. return this.visitFunctionRule$body$_EvaluateVisitor(node);
  62916. },
  62917. visitFunctionRule$body$_EvaluateVisitor(node) {
  62918. var $async$goto = 0,
  62919. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  62920. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  62921. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62922. if ($async$errorCode === 1)
  62923. return A._asyncRethrow($async$result, $async$completer);
  62924. while (true)
  62925. switch ($async$goto) {
  62926. case 0:
  62927. // Function start
  62928. t1 = $async$self._async_evaluate$_environment;
  62929. t2 = t1.closure$0();
  62930. t3 = $async$self._async_evaluate$_inDependency;
  62931. t4 = t1._async_environment$_functions;
  62932. index = t4.length - 1;
  62933. t5 = node.name;
  62934. t1._async_environment$_functionIndices.$indexSet(0, t5, index);
  62935. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  62936. $async$returnValue = null;
  62937. // goto return
  62938. $async$goto = 1;
  62939. break;
  62940. case 1:
  62941. // return
  62942. return A._asyncReturn($async$returnValue, $async$completer);
  62943. }
  62944. });
  62945. return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
  62946. },
  62947. visitIfRule$1(node) {
  62948. return this.visitIfRule$body$_EvaluateVisitor(node);
  62949. },
  62950. visitIfRule$body$_EvaluateVisitor(node) {
  62951. var $async$goto = 0,
  62952. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  62953. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, clause;
  62954. var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  62955. if ($async$errorCode === 1)
  62956. return A._asyncRethrow($async$result, $async$completer);
  62957. while (true)
  62958. switch ($async$goto) {
  62959. case 0:
  62960. // Function start
  62961. clause = node.lastClause;
  62962. t1 = node.clauses, t2 = t1.length, _i = 0;
  62963. case 3:
  62964. // for condition
  62965. if (!(_i < t2)) {
  62966. // goto after for
  62967. $async$goto = 5;
  62968. break;
  62969. }
  62970. clauseToCheck = t1[_i];
  62971. $async$goto = 6;
  62972. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  62973. case 6:
  62974. // returning from await.
  62975. if ($async$result.get$isTruthy()) {
  62976. clause = clauseToCheck;
  62977. // goto after for
  62978. $async$goto = 5;
  62979. break;
  62980. }
  62981. case 4:
  62982. // for update
  62983. ++_i;
  62984. // goto for condition
  62985. $async$goto = 3;
  62986. break;
  62987. case 5:
  62988. // after for
  62989. t1 = A.NullableExtension_andThen(clause, new A._EvaluateVisitor_visitIfRule_closure0($async$self));
  62990. $async$goto = 7;
  62991. return A._asyncAwait(type$.Future_nullable_Value._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Value), $async$visitIfRule$1);
  62992. case 7:
  62993. // returning from await.
  62994. $async$returnValue = $async$result;
  62995. // goto return
  62996. $async$goto = 1;
  62997. break;
  62998. case 1:
  62999. // return
  63000. return A._asyncReturn($async$returnValue, $async$completer);
  63001. }
  63002. });
  63003. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  63004. },
  63005. visitImportRule$1(node) {
  63006. return this.visitImportRule$body$_EvaluateVisitor(node);
  63007. },
  63008. visitImportRule$body$_EvaluateVisitor(node) {
  63009. var $async$goto = 0,
  63010. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63011. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  63012. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63013. if ($async$errorCode === 1)
  63014. return A._asyncRethrow($async$result, $async$completer);
  63015. while (true)
  63016. switch ($async$goto) {
  63017. case 0:
  63018. // Function start
  63019. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport, _i = 0;
  63020. case 3:
  63021. // for condition
  63022. if (!(_i < t2)) {
  63023. // goto after for
  63024. $async$goto = 5;
  63025. break;
  63026. }
  63027. $import = t1[_i];
  63028. $async$goto = $import instanceof A.DynamicImport ? 6 : 8;
  63029. break;
  63030. case 6:
  63031. // then
  63032. $async$goto = 9;
  63033. return A._asyncAwait($async$self._async_evaluate$_visitDynamicImport$1($import), $async$visitImportRule$1);
  63034. case 9:
  63035. // returning from await.
  63036. // goto join
  63037. $async$goto = 7;
  63038. break;
  63039. case 8:
  63040. // else
  63041. $async$goto = 10;
  63042. return A._asyncAwait($async$self._visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  63043. case 10:
  63044. // returning from await.
  63045. case 7:
  63046. // join
  63047. case 4:
  63048. // for update
  63049. ++_i;
  63050. // goto for condition
  63051. $async$goto = 3;
  63052. break;
  63053. case 5:
  63054. // after for
  63055. $async$returnValue = null;
  63056. // goto return
  63057. $async$goto = 1;
  63058. break;
  63059. case 1:
  63060. // return
  63061. return A._asyncReturn($async$returnValue, $async$completer);
  63062. }
  63063. });
  63064. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  63065. },
  63066. _async_evaluate$_visitDynamicImport$1($import) {
  63067. return this._async_evaluate$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure0(this, $import), type$.void);
  63068. },
  63069. _async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  63070. return this._loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport);
  63071. },
  63072. _async_evaluate$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  63073. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  63074. },
  63075. _async_evaluate$_loadStylesheet$3$forImport(url, span, forImport) {
  63076. return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  63077. },
  63078. _loadStylesheet$body$_EvaluateVisitor(url, span, baseUrl, forImport) {
  63079. var $async$goto = 0,
  63080. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency),
  63081. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, importCache, _0_0, importer, canonicalUrl, originalUrl, _1_0, isDependency, stylesheet, _2_0, result, _3_0, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, $async$exception;
  63082. var $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63083. if ($async$errorCode === 1) {
  63084. $async$currentError = $async$result;
  63085. $async$goto = $async$handler;
  63086. }
  63087. while (true)
  63088. switch ($async$goto) {
  63089. case 0:
  63090. // Function start
  63091. baseUrl = baseUrl;
  63092. $async$handler = 4;
  63093. $async$self._async_evaluate$_importSpan = span;
  63094. importCache = null;
  63095. _0_0 = $async$self._async_evaluate$_importCache;
  63096. if (_0_0 != null) {
  63097. importCache = _0_0;
  63098. t1 = true;
  63099. } else
  63100. t1 = false;
  63101. $async$goto = t1 ? 7 : 9;
  63102. break;
  63103. case 7:
  63104. // then
  63105. if (baseUrl == null) {
  63106. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span;
  63107. baseUrl = t1.get$sourceUrl(t1);
  63108. }
  63109. importer = null;
  63110. canonicalUrl = null;
  63111. originalUrl = null;
  63112. $async$goto = 10;
  63113. 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);
  63114. case 10:
  63115. // returning from await.
  63116. _1_0 = $async$result;
  63117. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0)) {
  63118. importer = _1_0._0;
  63119. canonicalUrl = _1_0._1;
  63120. originalUrl = _1_0._2;
  63121. t1 = true;
  63122. } else
  63123. t1 = false;
  63124. $async$goto = t1 ? 11 : 12;
  63125. break;
  63126. case 11:
  63127. // then
  63128. $async$self._async_evaluate$_loadedUrls.add$1(0, canonicalUrl);
  63129. isDependency = $async$self._async_evaluate$_inDependency || !J.$eq$(importer, $async$self._async_evaluate$_importer);
  63130. stylesheet = null;
  63131. t1 = importCache;
  63132. t2 = importer;
  63133. t3 = canonicalUrl;
  63134. t4 = originalUrl;
  63135. $async$goto = 13;
  63136. return A._asyncAwait(t1.importCanonical$4$originalUrl$quiet(t2, t3, t4, $async$self._async_evaluate$_quietDeps && isDependency), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
  63137. case 13:
  63138. // returning from await.
  63139. _2_0 = $async$result;
  63140. if (_2_0 != null) {
  63141. stylesheet = _2_0;
  63142. t1 = true;
  63143. } else
  63144. t1 = false;
  63145. if (t1) {
  63146. t1 = stylesheet;
  63147. t2 = importer;
  63148. $async$returnValue = new A._Record_3_importer_isDependency(t1, t2, isDependency);
  63149. $async$next = [1];
  63150. // goto finally
  63151. $async$goto = 5;
  63152. break;
  63153. }
  63154. case 12:
  63155. // join
  63156. // goto join
  63157. $async$goto = 8;
  63158. break;
  63159. case 9:
  63160. // else
  63161. result = null;
  63162. t1 = baseUrl;
  63163. if (t1 == null) {
  63164. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").span;
  63165. t1 = t1.get$sourceUrl(t1);
  63166. }
  63167. $async$goto = 14;
  63168. return A._asyncAwait($async$self._async_evaluate$_importLikeNode$3(url, t1, forImport), $async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport);
  63169. case 14:
  63170. // returning from await.
  63171. _3_0 = $async$result;
  63172. if (_3_0 != null) {
  63173. result = _3_0;
  63174. t1 = true;
  63175. } else
  63176. t1 = false;
  63177. if (t1) {
  63178. t1 = result._0.span;
  63179. t2 = $async$self._async_evaluate$_loadedUrls;
  63180. A.NullableExtension_andThen(t1.get$sourceUrl(t1), t2.get$add(t2));
  63181. t2 = result;
  63182. $async$returnValue = t2;
  63183. $async$next = [1];
  63184. // goto finally
  63185. $async$goto = 5;
  63186. break;
  63187. }
  63188. case 8:
  63189. // join
  63190. if (B.JSString_methods.startsWith$1(url, "package:") && true)
  63191. throw A.wrapException(string$.x22packa);
  63192. else
  63193. throw A.wrapException("Can't find stylesheet to import.");
  63194. $async$next.push(6);
  63195. // goto finally
  63196. $async$goto = 5;
  63197. break;
  63198. case 4:
  63199. // catch
  63200. $async$handler = 3;
  63201. $async$exception = $async$currentError;
  63202. t1 = A.unwrapException($async$exception);
  63203. if (t1 instanceof A.SassException)
  63204. throw $async$exception;
  63205. else if (t1 instanceof A.ArgumentError) {
  63206. error = t1;
  63207. stackTrace = A.getTraceFromException($async$exception);
  63208. A.throwWithTrace($async$self._async_evaluate$_exception$1(J.toString$0$(error)), error, stackTrace);
  63209. } else {
  63210. error0 = t1;
  63211. stackTrace0 = A.getTraceFromException($async$exception);
  63212. message = null;
  63213. try {
  63214. message = A._asString(J.get$message$x(error0));
  63215. } catch (exception) {
  63216. message0 = J.toString$0$(error0);
  63217. message = message0;
  63218. }
  63219. A.throwWithTrace($async$self._async_evaluate$_exception$1(message), error0, stackTrace0);
  63220. }
  63221. $async$next.push(6);
  63222. // goto finally
  63223. $async$goto = 5;
  63224. break;
  63225. case 3:
  63226. // uncaught
  63227. $async$next = [2];
  63228. case 5:
  63229. // finally
  63230. $async$handler = 2;
  63231. $async$self._async_evaluate$_importSpan = null;
  63232. // goto the next finally handler
  63233. $async$goto = $async$next.pop();
  63234. break;
  63235. case 6:
  63236. // after finally
  63237. case 1:
  63238. // return
  63239. return A._asyncReturn($async$returnValue, $async$completer);
  63240. case 2:
  63241. // rethrow
  63242. return A._asyncRethrow($async$currentError, $async$completer);
  63243. }
  63244. });
  63245. return A._asyncStartSync($async$_async_evaluate$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  63246. },
  63247. _async_evaluate$_importLikeNode$3(originalUrl, previous, forImport) {
  63248. return this._importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport);
  63249. },
  63250. _importLikeNode$body$_EvaluateVisitor(originalUrl, previous, forImport) {
  63251. var $async$goto = 0,
  63252. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency),
  63253. $async$returnValue, $async$self = this, result, isDependency, url, t1, t2;
  63254. var $async$_async_evaluate$_importLikeNode$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63255. if ($async$errorCode === 1)
  63256. return A._asyncRethrow($async$result, $async$completer);
  63257. while (true)
  63258. switch ($async$goto) {
  63259. case 0:
  63260. // Function start
  63261. result = $async$self._async_evaluate$_nodeImporter.loadRelative$3(originalUrl, previous, forImport);
  63262. isDependency = $async$self._async_evaluate$_inDependency;
  63263. url = result._1;
  63264. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath(url) : B.Syntax_SCSS_scss;
  63265. t2 = $async$self._async_evaluate$_quietDeps && isDependency ? $.$get$Logger_quiet() : $async$self._async_evaluate$_logger;
  63266. $async$returnValue = new A._Record_3_importer_isDependency(A.Stylesheet_Stylesheet$parse(result._0, t1, t2, url), null, isDependency);
  63267. // goto return
  63268. $async$goto = 1;
  63269. break;
  63270. case 1:
  63271. // return
  63272. return A._asyncReturn($async$returnValue, $async$completer);
  63273. }
  63274. });
  63275. return A._asyncStartSync($async$_async_evaluate$_importLikeNode$3, $async$completer);
  63276. },
  63277. _visitStaticImport$1($import) {
  63278. return this._visitStaticImport$body$_EvaluateVisitor($import);
  63279. },
  63280. _visitStaticImport$body$_EvaluateVisitor($import) {
  63281. var $async$goto = 0,
  63282. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  63283. $async$self = this, t1, t2, node, $async$temp1, $async$temp2;
  63284. var $async$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63285. if ($async$errorCode === 1)
  63286. return A._asyncRethrow($async$result, $async$completer);
  63287. while (true)
  63288. switch ($async$goto) {
  63289. case 0:
  63290. // Function start
  63291. $async$goto = 2;
  63292. return A._asyncAwait($async$self._async_evaluate$_interpolationToValue$1($import.url), $async$_visitStaticImport$1);
  63293. case 2:
  63294. // returning from await.
  63295. t1 = $async$result;
  63296. t2 = A.NullableExtension_andThen($import.modifiers, $async$self.get$_async_evaluate$_interpolationToValue());
  63297. $async$temp1 = A;
  63298. $async$temp2 = t1;
  63299. $async$goto = 3;
  63300. return A._asyncAwait(type$.Future_nullable_CssValue_String._is(t2) ? t2 : A._Future$value(t2, type$.nullable_CssValue_String), $async$_visitStaticImport$1);
  63301. case 3:
  63302. // returning from await.
  63303. node = new $async$temp1.ModifiableCssImport($async$temp2, $async$result, $import.span);
  63304. 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"))
  63305. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(node);
  63306. 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)) {
  63307. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(node);
  63308. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  63309. } else {
  63310. t1 = $async$self._async_evaluate$_outOfOrderImports;
  63311. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(node);
  63312. }
  63313. // implicit return
  63314. return A._asyncReturn(null, $async$completer);
  63315. }
  63316. });
  63317. return A._asyncStartSync($async$_visitStaticImport$1, $async$completer);
  63318. },
  63319. _async_evaluate$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  63320. return this._applyMixin$body$_EvaluateVisitor(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent);
  63321. },
  63322. _applyMixin$body$_EvaluateVisitor(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  63323. var $async$goto = 0,
  63324. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  63325. $async$self = this, _1_8, t1, _0_0;
  63326. var $async$_async_evaluate$_applyMixin$5 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63327. if ($async$errorCode === 1)
  63328. return A._asyncRethrow($async$result, $async$completer);
  63329. while (true)
  63330. switch ($async$goto) {
  63331. case 0:
  63332. // Function start
  63333. _1_8 = A._InitializedCell$(new A._EvaluateVisitor__applyMixin_closure2(mixin));
  63334. if (mixin == null)
  63335. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  63336. t1 = type$.AsyncBuiltInCallable._is(mixin);
  63337. $async$goto = t1 && !mixin.get$acceptsContent() && contentCallable != null ? 3 : 4;
  63338. break;
  63339. case 3:
  63340. // then
  63341. $async$goto = 5;
  63342. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_applyMixin$5);
  63343. case 5:
  63344. // returning from await.
  63345. t1 = $async$result._values;
  63346. _0_0 = mixin.callbackFor$2(J.get$length$asx(t1[2]), new A.MapKeySet(t1[0], type$.MapKeySet_String));
  63347. throw A.wrapException(A.MultiSpanSassRuntimeException$("Mixin doesn't accept a content block.", nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([_0_0._0.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), null));
  63348. case 4:
  63349. // join
  63350. $async$goto = t1 ? 6 : 7;
  63351. break;
  63352. case 6:
  63353. // then
  63354. $async$goto = 8;
  63355. return A._asyncAwait($async$self._async_evaluate$_environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure3($async$self, $arguments, mixin, nodeWithSpanWithoutContent)), $async$_async_evaluate$_applyMixin$5);
  63356. case 8:
  63357. // returning from await.
  63358. // goto break $label0$0
  63359. $async$goto = 2;
  63360. break;
  63361. case 7:
  63362. // join
  63363. t1 = type$.UserDefinedCallable_AsyncEnvironment._is(mixin);
  63364. if (t1 && _1_8._readFinal$0() instanceof A.MixinRule && !_1_8._readFinal$0().get$hasContent() && contentCallable != null)
  63365. throw A.wrapException(A.MultiSpanSassRuntimeException$("Mixin doesn't accept a content block.", nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.$arguments.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), null));
  63366. $async$goto = t1 ? 9 : 10;
  63367. break;
  63368. case 9:
  63369. // then
  63370. $async$goto = 11;
  63371. return A._asyncAwait($async$self._async_evaluate$_runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure4($async$self, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null), $async$_async_evaluate$_applyMixin$5);
  63372. case 11:
  63373. // returning from await.
  63374. // goto break $label0$0
  63375. $async$goto = 2;
  63376. break;
  63377. case 10:
  63378. // join
  63379. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  63380. case 2:
  63381. // break $label0$0
  63382. // implicit return
  63383. return A._asyncReturn(null, $async$completer);
  63384. }
  63385. });
  63386. return A._asyncStartSync($async$_async_evaluate$_applyMixin$5, $async$completer);
  63387. },
  63388. visitIncludeRule$1(node) {
  63389. return this.visitIncludeRule$body$_EvaluateVisitor(node);
  63390. },
  63391. visitIncludeRule$body$_EvaluateVisitor(node) {
  63392. var $async$goto = 0,
  63393. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63394. $async$returnValue, $async$self = this;
  63395. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63396. if ($async$errorCode === 1)
  63397. return A._asyncRethrow($async$result, $async$completer);
  63398. while (true)
  63399. switch ($async$goto) {
  63400. case 0:
  63401. // Function start
  63402. $async$goto = 3;
  63403. return A._asyncAwait($async$self._async_evaluate$_applyMixin$5($async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure2($async$self, node)), A.NullableExtension_andThen(node.content, new A._EvaluateVisitor_visitIncludeRule_closure3($async$self)), node.$arguments, node, new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure4(node))), $async$visitIncludeRule$1);
  63404. case 3:
  63405. // returning from await.
  63406. $async$returnValue = null;
  63407. // goto return
  63408. $async$goto = 1;
  63409. break;
  63410. case 1:
  63411. // return
  63412. return A._asyncReturn($async$returnValue, $async$completer);
  63413. }
  63414. });
  63415. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  63416. },
  63417. visitMixinRule$1(node) {
  63418. return this.visitMixinRule$body$_EvaluateVisitor(node);
  63419. },
  63420. visitMixinRule$body$_EvaluateVisitor(node) {
  63421. var $async$goto = 0,
  63422. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63423. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  63424. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63425. if ($async$errorCode === 1)
  63426. return A._asyncRethrow($async$result, $async$completer);
  63427. while (true)
  63428. switch ($async$goto) {
  63429. case 0:
  63430. // Function start
  63431. t1 = $async$self._async_evaluate$_environment;
  63432. t2 = t1.closure$0();
  63433. t3 = $async$self._async_evaluate$_inDependency;
  63434. t4 = t1._async_environment$_mixins;
  63435. index = t4.length - 1;
  63436. t5 = node.name;
  63437. t1._async_environment$_mixinIndices.$indexSet(0, t5, index);
  63438. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment));
  63439. $async$returnValue = null;
  63440. // goto return
  63441. $async$goto = 1;
  63442. break;
  63443. case 1:
  63444. // return
  63445. return A._asyncReturn($async$returnValue, $async$completer);
  63446. }
  63447. });
  63448. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  63449. },
  63450. visitLoudComment$1(node) {
  63451. return this.visitLoudComment$body$_EvaluateVisitor(node);
  63452. },
  63453. visitLoudComment$body$_EvaluateVisitor(node) {
  63454. var $async$goto = 0,
  63455. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63456. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  63457. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63458. if ($async$errorCode === 1)
  63459. return A._asyncRethrow($async$result, $async$completer);
  63460. while (true)
  63461. switch ($async$goto) {
  63462. case 0:
  63463. // Function start
  63464. if ($async$self._async_evaluate$_inFunction) {
  63465. $async$returnValue = null;
  63466. // goto return
  63467. $async$goto = 1;
  63468. break;
  63469. }
  63470. 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))
  63471. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  63472. t1 = node.text;
  63473. $async$temp1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  63474. $async$temp2 = A;
  63475. $async$goto = 3;
  63476. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$visitLoudComment$1);
  63477. case 3:
  63478. // returning from await.
  63479. $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment($async$result, t1.span));
  63480. $async$returnValue = null;
  63481. // goto return
  63482. $async$goto = 1;
  63483. break;
  63484. case 1:
  63485. // return
  63486. return A._asyncReturn($async$returnValue, $async$completer);
  63487. }
  63488. });
  63489. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  63490. },
  63491. visitMediaRule$1(node) {
  63492. return this.visitMediaRule$body$_EvaluateVisitor(node);
  63493. },
  63494. visitMediaRule$body$_EvaluateVisitor(node) {
  63495. var $async$goto = 0,
  63496. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63497. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  63498. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63499. if ($async$errorCode === 1)
  63500. return A._asyncRethrow($async$result, $async$completer);
  63501. while (true)
  63502. switch ($async$goto) {
  63503. case 0:
  63504. // Function start
  63505. if ($async$self._async_evaluate$_declarationName != null)
  63506. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  63507. $async$goto = 3;
  63508. return A._asyncAwait($async$self._visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  63509. case 3:
  63510. // returning from await.
  63511. queries = $async$result;
  63512. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure2($async$self, queries));
  63513. t1 = mergedQueries == null;
  63514. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  63515. $async$returnValue = null;
  63516. // goto return
  63517. $async$goto = 1;
  63518. break;
  63519. }
  63520. if (t1)
  63521. mergedSources = B.Set_empty1;
  63522. else {
  63523. t2 = $async$self._async_evaluate$_mediaQuerySources;
  63524. t2.toString;
  63525. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  63526. t3 = $async$self._async_evaluate$_mediaQueries;
  63527. t3.toString;
  63528. t2.addAll$1(0, t3);
  63529. t2.addAll$1(0, queries);
  63530. mergedSources = t2;
  63531. }
  63532. t1 = t1 ? queries : mergedQueries;
  63533. $async$goto = 4;
  63534. 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);
  63535. case 4:
  63536. // returning from await.
  63537. $async$returnValue = null;
  63538. // goto return
  63539. $async$goto = 1;
  63540. break;
  63541. case 1:
  63542. // return
  63543. return A._asyncReturn($async$returnValue, $async$completer);
  63544. }
  63545. });
  63546. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  63547. },
  63548. _visitMediaQueries$1(interpolation) {
  63549. return this._visitMediaQueries$body$_EvaluateVisitor(interpolation);
  63550. },
  63551. _visitMediaQueries$body$_EvaluateVisitor(interpolation) {
  63552. var $async$goto = 0,
  63553. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery),
  63554. $async$returnValue, $async$self = this, _0_0;
  63555. var $async$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63556. if ($async$errorCode === 1)
  63557. return A._asyncRethrow($async$result, $async$completer);
  63558. while (true)
  63559. switch ($async$goto) {
  63560. case 0:
  63561. // Function start
  63562. $async$goto = 3;
  63563. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(interpolation, true), $async$_visitMediaQueries$1);
  63564. case 3:
  63565. // returning from await.
  63566. _0_0 = $async$result;
  63567. $async$returnValue = A.CssMediaQuery_parseList(_0_0._0, _0_0._1, $async$self._async_evaluate$_logger);
  63568. // goto return
  63569. $async$goto = 1;
  63570. break;
  63571. case 1:
  63572. // return
  63573. return A._asyncReturn($async$returnValue, $async$completer);
  63574. }
  63575. });
  63576. return A._asyncStartSync($async$_visitMediaQueries$1, $async$completer);
  63577. },
  63578. _async_evaluate$_mergeMediaQueries$2(queries1, queries2) {
  63579. var t1, t2, t3, t4, _0_0, result, t5,
  63580. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  63581. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  63582. t3 = t1.get$current(t1);
  63583. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  63584. _0_0 = t3.merge$1(t4.get$current(t4));
  63585. if (B._SingletonCssMediaQueryMergeResult_0 === _0_0)
  63586. continue;
  63587. if (B._SingletonCssMediaQueryMergeResult_1 === _0_0)
  63588. return null;
  63589. if (_0_0 instanceof A.MediaQuerySuccessfulMergeResult) {
  63590. result = _0_0;
  63591. t5 = true;
  63592. } else {
  63593. result = null;
  63594. t5 = false;
  63595. }
  63596. if (t5)
  63597. queries.push(result.query);
  63598. }
  63599. }
  63600. return queries;
  63601. },
  63602. visitReturnRule$1(node) {
  63603. return this.visitReturnRule$body$_EvaluateVisitor(node);
  63604. },
  63605. visitReturnRule$body$_EvaluateVisitor(node) {
  63606. var $async$goto = 0,
  63607. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  63608. $async$returnValue, $async$self = this, t1, t2;
  63609. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63610. if ($async$errorCode === 1)
  63611. return A._asyncRethrow($async$result, $async$completer);
  63612. while (true)
  63613. switch ($async$goto) {
  63614. case 0:
  63615. // Function start
  63616. t1 = node.expression;
  63617. t2 = t1.accept$1($async$self);
  63618. $async$goto = 3;
  63619. return A._asyncAwait(type$.Future_Value._is(t2) ? t2 : A._Future$value(t2, type$.Value), $async$visitReturnRule$1);
  63620. case 3:
  63621. // returning from await.
  63622. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, t1);
  63623. // goto return
  63624. $async$goto = 1;
  63625. break;
  63626. case 1:
  63627. // return
  63628. return A._asyncReturn($async$returnValue, $async$completer);
  63629. }
  63630. });
  63631. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  63632. },
  63633. visitSilentComment$1(node) {
  63634. return this.visitSilentComment$body$_EvaluateVisitor(node);
  63635. },
  63636. visitSilentComment$body$_EvaluateVisitor(node) {
  63637. var $async$goto = 0,
  63638. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63639. $async$returnValue;
  63640. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63641. if ($async$errorCode === 1)
  63642. return A._asyncRethrow($async$result, $async$completer);
  63643. while (true)
  63644. switch ($async$goto) {
  63645. case 0:
  63646. // Function start
  63647. $async$returnValue = null;
  63648. // goto return
  63649. $async$goto = 1;
  63650. break;
  63651. case 1:
  63652. // return
  63653. return A._asyncReturn($async$returnValue, $async$completer);
  63654. }
  63655. });
  63656. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  63657. },
  63658. visitStyleRule$1(node) {
  63659. return this.visitStyleRule$body$_EvaluateVisitor(node);
  63660. },
  63661. visitStyleRule$body$_EvaluateVisitor(node) {
  63662. var $async$goto = 0,
  63663. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63664. $async$returnValue, $async$self = this, t1, _0_0, selectorText, selectorMap, t2, parsedSelector, rule, oldAtRootExcludingStyleRule, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9;
  63665. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63666. if ($async$errorCode === 1)
  63667. return A._asyncRethrow($async$result, $async$completer);
  63668. while (true)
  63669. switch ($async$goto) {
  63670. case 0:
  63671. // Function start
  63672. if ($async$self._async_evaluate$_declarationName != null)
  63673. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_, node.span));
  63674. t1 = node.selector;
  63675. $async$goto = 3;
  63676. return A._asyncAwait($async$self._async_evaluate$_performInterpolationWithMap$2$warnForColor(t1, true), $async$visitStyleRule$1);
  63677. case 3:
  63678. // returning from await.
  63679. _0_0 = $async$result;
  63680. selectorText = _0_0._0;
  63681. selectorMap = _0_0._1;
  63682. $async$goto = $async$self._async_evaluate$_inKeyframes ? 4 : 5;
  63683. break;
  63684. case 4:
  63685. // then
  63686. $async$goto = 6;
  63687. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$(new A.CssValue(A.List_List$unmodifiable(A.KeyframeSelectorParser$(selectorText, selectorMap, $async$self._async_evaluate$_logger).parse$0(), type$.String), t1.span, type$.CssValue_List_String), node.span), new A._EvaluateVisitor_visitStyleRule_closure4($async$self, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure5(), type$.ModifiableCssKeyframeBlock, type$.Null), $async$visitStyleRule$1);
  63688. case 6:
  63689. // returning from await.
  63690. $async$returnValue = null;
  63691. // goto return
  63692. $async$goto = 1;
  63693. break;
  63694. case 5:
  63695. // join
  63696. t1 = A.SelectorList_SelectorList$parse(selectorText, !$async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss, !$async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss, selectorMap, $async$self._async_evaluate$_logger);
  63697. t2 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  63698. t2 = t2 == null ? null : t2.originalSelector;
  63699. parsedSelector = t1.resolveParentSelectors$2$implicitParent(t2, !$async$self._async_evaluate$_atRootExcludingStyleRule);
  63700. rule = A.ModifiableCssStyleRule$($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addSelector$2(parsedSelector, $async$self._async_evaluate$_mediaQueries), node.span, parsedSelector);
  63701. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  63702. $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  63703. $async$goto = 7;
  63704. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure6($async$self, rule, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure7(), type$.ModifiableCssStyleRule, type$.Null), $async$visitStyleRule$1);
  63705. case 7:
  63706. // returning from await.
  63707. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  63708. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  63709. for (t1 = parsedSelector.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  63710. complex = t1[_i];
  63711. if (!complex.accept$1(B._IsBogusVisitor_true))
  63712. continue;
  63713. if (complex.accept$1(B.C__IsUselessVisitor)) {
  63714. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  63715. complex.accept$1(visitor);
  63716. $async$self._async_evaluate$_warn$3('The selector "' + B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0)) + string$.x22x20is_ix20, A.SpanExtensions_trimRight(complex.span), B.Deprecation_vrR);
  63717. } else if (complex.leadingCombinators.length !== 0) {
  63718. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  63719. complex.accept$1(visitor);
  63720. $async$self._async_evaluate$_warn$3('The selector "' + B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0)) + string$.x22x20is_ix0a, A.SpanExtensions_trimRight(complex.span), B.Deprecation_vrR);
  63721. } else {
  63722. visitor = A._SerializeVisitor$(null, true, null, true, false, null, true);
  63723. complex.accept$1(visitor);
  63724. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  63725. t7 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  63726. t8 = A.SpanExtensions_trimRight(complex.span);
  63727. if (t5.get$length(t5) === 0)
  63728. A.throwExpression(A.IterableElementError_noElement());
  63729. t9 = J.get$span$z(t5.$index(0, 0));
  63730. $async$self._async_evaluate$_warn$3('The selector "' + t6 + string$.x22x20is_o + t7 + string$.x0aThis_, new A.MultiSpan(t8, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t9, "this is not a style rule" + (t5.every$1(t5, new A._EvaluateVisitor_visitStyleRule_closure8()) ? "\n(try converting to a //-style comment)" : "")], t3, t4), t3, t4)), B.Deprecation_vrR);
  63731. }
  63732. }
  63733. if (($async$self._async_evaluate$_atRootExcludingStyleRule ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot) == null) {
  63734. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  63735. t1 = !t1.get$isEmpty(t1);
  63736. } else
  63737. t1 = false;
  63738. if (t1) {
  63739. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  63740. t1.get$last(t1).isGroupEnd = true;
  63741. }
  63742. $async$returnValue = null;
  63743. // goto return
  63744. $async$goto = 1;
  63745. break;
  63746. case 1:
  63747. // return
  63748. return A._asyncReturn($async$returnValue, $async$completer);
  63749. }
  63750. });
  63751. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  63752. },
  63753. visitSupportsRule$1(node) {
  63754. return this.visitSupportsRule$body$_EvaluateVisitor(node);
  63755. },
  63756. visitSupportsRule$body$_EvaluateVisitor(node) {
  63757. var $async$goto = 0,
  63758. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  63759. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  63760. var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63761. if ($async$errorCode === 1)
  63762. return A._asyncRethrow($async$result, $async$completer);
  63763. while (true)
  63764. switch ($async$goto) {
  63765. case 0:
  63766. // Function start
  63767. if ($async$self._async_evaluate$_declarationName != null)
  63768. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
  63769. t1 = node.condition;
  63770. $async$temp1 = A;
  63771. $async$temp2 = A;
  63772. $async$goto = 4;
  63773. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  63774. case 4:
  63775. // returning from await.
  63776. $async$goto = 3;
  63777. 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);
  63778. case 3:
  63779. // returning from await.
  63780. $async$returnValue = null;
  63781. // goto return
  63782. $async$goto = 1;
  63783. break;
  63784. case 1:
  63785. // return
  63786. return A._asyncReturn($async$returnValue, $async$completer);
  63787. }
  63788. });
  63789. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  63790. },
  63791. _async_evaluate$_visitSupportsCondition$1(condition) {
  63792. return this._visitSupportsCondition$body$_EvaluateVisitor(condition);
  63793. },
  63794. _visitSupportsCondition$body$_EvaluateVisitor(condition) {
  63795. var $async$goto = 0,
  63796. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  63797. $async$returnValue, $async$self = this, operation, t1, t2, negation, interpolation, $function, anything, _box_0, $async$temp1, $async$temp2;
  63798. var $async$_async_evaluate$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63799. if ($async$errorCode === 1)
  63800. return A._asyncRethrow($async$result, $async$completer);
  63801. while (true)
  63802. switch ($async$goto) {
  63803. case 0:
  63804. // Function start
  63805. _box_0 = {};
  63806. if (condition instanceof A.SupportsOperation) {
  63807. operation = condition;
  63808. t1 = true;
  63809. } else {
  63810. operation = null;
  63811. t1 = false;
  63812. }
  63813. $async$goto = t1 ? 4 : 5;
  63814. break;
  63815. case 4:
  63816. // then
  63817. t1 = operation.left;
  63818. t2 = operation.operator;
  63819. $async$temp1 = A;
  63820. $async$goto = 6;
  63821. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(t1, t2), $async$_async_evaluate$_visitSupportsCondition$1);
  63822. case 6:
  63823. // returning from await.
  63824. $async$temp1 = $async$temp1.S($async$result) + " " + t2 + " ";
  63825. $async$temp2 = A;
  63826. $async$goto = 7;
  63827. return A._asyncAwait($async$self._async_evaluate$_parenthesize$2(operation.right, t2), $async$_async_evaluate$_visitSupportsCondition$1);
  63828. case 7:
  63829. // returning from await.
  63830. t2 = $async$temp1 + $async$temp2.S($async$result);
  63831. t1 = t2;
  63832. // goto break $label0$0
  63833. $async$goto = 3;
  63834. break;
  63835. case 5:
  63836. // join
  63837. if (condition instanceof A.SupportsNegation) {
  63838. negation = condition;
  63839. t1 = true;
  63840. } else {
  63841. negation = null;
  63842. t1 = false;
  63843. }
  63844. $async$goto = t1 ? 8 : 9;
  63845. break;
  63846. case 8:
  63847. // then
  63848. $async$temp1 = A;
  63849. $async$goto = 10;
  63850. return A._asyncAwait($async$self._async_evaluate$_parenthesize$1(negation.condition), $async$_async_evaluate$_visitSupportsCondition$1);
  63851. case 10:
  63852. // returning from await.
  63853. t1 = "not " + $async$temp1.S($async$result);
  63854. // goto break $label0$0
  63855. $async$goto = 3;
  63856. break;
  63857. case 9:
  63858. // join
  63859. if (condition instanceof A.SupportsInterpolation) {
  63860. interpolation = condition;
  63861. t1 = true;
  63862. } else {
  63863. interpolation = null;
  63864. t1 = false;
  63865. }
  63866. $async$goto = t1 ? 11 : 12;
  63867. break;
  63868. case 11:
  63869. // then
  63870. $async$goto = 13;
  63871. return A._asyncAwait($async$self._evaluateToCss$2$quote(interpolation.expression, false), $async$_async_evaluate$_visitSupportsCondition$1);
  63872. case 13:
  63873. // returning from await.
  63874. t1 = $async$result;
  63875. // goto break $label0$0
  63876. $async$goto = 3;
  63877. break;
  63878. case 12:
  63879. // join
  63880. _box_0.declaration = null;
  63881. if (condition instanceof A.SupportsDeclaration) {
  63882. _box_0.declaration = condition;
  63883. t1 = true;
  63884. } else
  63885. t1 = false;
  63886. $async$goto = t1 ? 14 : 15;
  63887. break;
  63888. case 14:
  63889. // then
  63890. $async$goto = 16;
  63891. return A._asyncAwait($async$self._async_evaluate$_withSupportsDeclaration$1$1(new A._EvaluateVisitor__visitSupportsCondition_closure0(_box_0, $async$self), type$.String), $async$_async_evaluate$_visitSupportsCondition$1);
  63892. case 16:
  63893. // returning from await.
  63894. t1 = $async$result;
  63895. // goto break $label0$0
  63896. $async$goto = 3;
  63897. break;
  63898. case 15:
  63899. // join
  63900. if (condition instanceof A.SupportsFunction) {
  63901. $function = condition;
  63902. t1 = true;
  63903. } else {
  63904. $function = null;
  63905. t1 = false;
  63906. }
  63907. $async$goto = t1 ? 17 : 18;
  63908. break;
  63909. case 17:
  63910. // then
  63911. $async$temp1 = A;
  63912. $async$goto = 19;
  63913. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1($function.name), $async$_async_evaluate$_visitSupportsCondition$1);
  63914. case 19:
  63915. // returning from await.
  63916. $async$temp1 = $async$temp1.S($async$result) + "(";
  63917. $async$temp2 = A;
  63918. $async$goto = 20;
  63919. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1($function.$arguments), $async$_async_evaluate$_visitSupportsCondition$1);
  63920. case 20:
  63921. // returning from await.
  63922. t1 = $async$temp1 + $async$temp2.S($async$result) + ")";
  63923. // goto break $label0$0
  63924. $async$goto = 3;
  63925. break;
  63926. case 18:
  63927. // join
  63928. if (condition instanceof A.SupportsAnything) {
  63929. anything = condition;
  63930. t1 = true;
  63931. } else {
  63932. anything = null;
  63933. t1 = false;
  63934. }
  63935. $async$goto = t1 ? 21 : 22;
  63936. break;
  63937. case 21:
  63938. // then
  63939. $async$temp1 = A;
  63940. $async$goto = 23;
  63941. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(anything.contents), $async$_async_evaluate$_visitSupportsCondition$1);
  63942. case 23:
  63943. // returning from await.
  63944. t1 = "(" + $async$temp1.S($async$result) + ")";
  63945. // goto break $label0$0
  63946. $async$goto = 3;
  63947. break;
  63948. case 22:
  63949. // join
  63950. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  63951. case 3:
  63952. // break $label0$0
  63953. $async$returnValue = t1;
  63954. // goto return
  63955. $async$goto = 1;
  63956. break;
  63957. case 1:
  63958. // return
  63959. return A._asyncReturn($async$returnValue, $async$completer);
  63960. }
  63961. });
  63962. return A._asyncStartSync($async$_async_evaluate$_visitSupportsCondition$1, $async$completer);
  63963. },
  63964. _async_evaluate$_withSupportsDeclaration$1$1(callback, $T) {
  63965. return this._withSupportsDeclaration$body$_EvaluateVisitor(callback, $T, $T);
  63966. },
  63967. _withSupportsDeclaration$body$_EvaluateVisitor(callback, $T, $async$type) {
  63968. var $async$goto = 0,
  63969. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  63970. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, t1, oldInSupportsDeclaration;
  63971. var $async$_async_evaluate$_withSupportsDeclaration$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  63972. if ($async$errorCode === 1) {
  63973. $async$currentError = $async$result;
  63974. $async$goto = $async$handler;
  63975. }
  63976. while (true)
  63977. switch ($async$goto) {
  63978. case 0:
  63979. // Function start
  63980. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  63981. $async$self._async_evaluate$_inSupportsDeclaration = true;
  63982. $async$handler = 3;
  63983. t1 = callback.call$0();
  63984. $async$goto = 6;
  63985. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate$_withSupportsDeclaration$1$1);
  63986. case 6:
  63987. // returning from await.
  63988. t1 = $async$result;
  63989. $async$returnValue = t1;
  63990. $async$next = [1];
  63991. // goto finally
  63992. $async$goto = 4;
  63993. break;
  63994. $async$next.push(5);
  63995. // goto finally
  63996. $async$goto = 4;
  63997. break;
  63998. case 3:
  63999. // uncaught
  64000. $async$next = [2];
  64001. case 4:
  64002. // finally
  64003. $async$handler = 2;
  64004. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  64005. // goto the next finally handler
  64006. $async$goto = $async$next.pop();
  64007. break;
  64008. case 5:
  64009. // after finally
  64010. case 1:
  64011. // return
  64012. return A._asyncReturn($async$returnValue, $async$completer);
  64013. case 2:
  64014. // rethrow
  64015. return A._asyncRethrow($async$currentError, $async$completer);
  64016. }
  64017. });
  64018. return A._asyncStartSync($async$_async_evaluate$_withSupportsDeclaration$1$1, $async$completer);
  64019. },
  64020. _async_evaluate$_parenthesize$2(condition, operator) {
  64021. return this._parenthesize$body$_EvaluateVisitor(condition, operator);
  64022. },
  64023. _async_evaluate$_parenthesize$1(condition) {
  64024. return this._async_evaluate$_parenthesize$2(condition, null);
  64025. },
  64026. _parenthesize$body$_EvaluateVisitor(condition, operator) {
  64027. var $async$goto = 0,
  64028. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  64029. $async$returnValue, $async$self = this, t1, $async$temp1;
  64030. var $async$_async_evaluate$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64031. if ($async$errorCode === 1)
  64032. return A._asyncRethrow($async$result, $async$completer);
  64033. while (true)
  64034. switch ($async$goto) {
  64035. case 0:
  64036. // Function start
  64037. if (!(condition instanceof A.SupportsNegation))
  64038. if (condition instanceof A.SupportsOperation)
  64039. t1 = operator == null || operator !== condition.operator;
  64040. else
  64041. t1 = false;
  64042. else
  64043. t1 = true;
  64044. $async$goto = t1 ? 3 : 4;
  64045. break;
  64046. case 3:
  64047. // then
  64048. $async$temp1 = A;
  64049. $async$goto = 5;
  64050. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  64051. case 5:
  64052. // returning from await.
  64053. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  64054. // goto return
  64055. $async$goto = 1;
  64056. break;
  64057. case 4:
  64058. // join
  64059. $async$goto = 6;
  64060. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(condition), $async$_async_evaluate$_parenthesize$2);
  64061. case 6:
  64062. // returning from await.
  64063. $async$returnValue = $async$result;
  64064. // goto return
  64065. $async$goto = 1;
  64066. break;
  64067. case 1:
  64068. // return
  64069. return A._asyncReturn($async$returnValue, $async$completer);
  64070. }
  64071. });
  64072. return A._asyncStartSync($async$_async_evaluate$_parenthesize$2, $async$completer);
  64073. },
  64074. visitVariableDeclaration$1(node) {
  64075. return this.visitVariableDeclaration$body$_EvaluateVisitor(node);
  64076. },
  64077. visitVariableDeclaration$body$_EvaluateVisitor(node) {
  64078. var $async$goto = 0,
  64079. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64080. $async$returnValue, $async$self = this, t2, t3, value, t1, $async$temp1, $async$temp2, $async$temp3;
  64081. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64082. if ($async$errorCode === 1)
  64083. return A._asyncRethrow($async$result, $async$completer);
  64084. while (true)
  64085. switch ($async$goto) {
  64086. case 0:
  64087. // Function start
  64088. t1 = {};
  64089. if (node.isGuarded) {
  64090. if (node.namespace == null && $async$self._async_evaluate$_environment._async_environment$_variables.length === 1) {
  64091. t1.override = null;
  64092. t2 = $async$self._async_evaluate$_configuration._configuration$_values;
  64093. t2 = t2.get$isEmpty(t2) ? null : t2.remove$1(0, node.name);
  64094. if (t2 != null) {
  64095. t1.override = t2;
  64096. t3 = t2;
  64097. t2 = true;
  64098. } else {
  64099. t2 = false;
  64100. t3 = null;
  64101. }
  64102. if (t2 && !t3.value.$eq(0, B.C__SassNull)) {
  64103. $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure2(t1, $async$self, node));
  64104. $async$returnValue = null;
  64105. // goto return
  64106. $async$goto = 1;
  64107. break;
  64108. }
  64109. }
  64110. value = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure3($async$self, node));
  64111. if (value != null && !value.$eq(0, B.C__SassNull)) {
  64112. $async$returnValue = null;
  64113. // goto return
  64114. $async$goto = 1;
  64115. break;
  64116. }
  64117. }
  64118. if (node.isGlobal && !$async$self._async_evaluate$_environment.globalVariableExists$1(node.name)) {
  64119. 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.";
  64120. $async$self._async_evaluate$_warn$3(t1, node.span, B.Deprecation_hzy);
  64121. }
  64122. t1 = node.expression;
  64123. t2 = t1.accept$1($async$self);
  64124. $async$temp1 = node;
  64125. $async$temp2 = A;
  64126. $async$temp3 = node;
  64127. $async$goto = 3;
  64128. return A._asyncAwait(type$.Future_Value._is(t2) ? t2 : A._Future$value(t2, type$.Value), $async$visitVariableDeclaration$1);
  64129. case 3:
  64130. // returning from await.
  64131. $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)));
  64132. $async$returnValue = null;
  64133. // goto return
  64134. $async$goto = 1;
  64135. break;
  64136. case 1:
  64137. // return
  64138. return A._asyncReturn($async$returnValue, $async$completer);
  64139. }
  64140. });
  64141. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  64142. },
  64143. visitUseRule$1(node) {
  64144. return this.visitUseRule$body$_EvaluateVisitor(node);
  64145. },
  64146. visitUseRule$body$_EvaluateVisitor(node) {
  64147. var $async$goto = 0,
  64148. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64149. $async$returnValue, $async$self = this, values, t3, t4, _i, variable, t5, variableNodeWithSpan, t6, t7, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  64150. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64151. if ($async$errorCode === 1)
  64152. return A._asyncRethrow($async$result, $async$completer);
  64153. while (true)
  64154. switch ($async$goto) {
  64155. case 0:
  64156. // Function start
  64157. t1 = node.configuration;
  64158. t2 = t1.length;
  64159. $async$goto = t2 !== 0 ? 3 : 5;
  64160. break;
  64161. case 3:
  64162. // then
  64163. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  64164. t3 = type$._Future_Value, t4 = type$.Future_Value, _i = 0;
  64165. case 6:
  64166. // for condition
  64167. if (!(_i < t2)) {
  64168. // goto after for
  64169. $async$goto = 8;
  64170. break;
  64171. }
  64172. variable = t1[_i];
  64173. t5 = variable.expression;
  64174. variableNodeWithSpan = $async$self._async_evaluate$_expressionNode$1(t5);
  64175. t6 = variable.name;
  64176. t5 = t5.accept$1($async$self);
  64177. if (!t4._is(t5)) {
  64178. t7 = new A._Future($.Zone__current, t3);
  64179. t7._state = 8;
  64180. t7._resultOrListeners = t5;
  64181. t5 = t7;
  64182. }
  64183. $async$temp1 = values;
  64184. $async$temp2 = t6;
  64185. $async$temp3 = A;
  64186. $async$goto = 9;
  64187. return A._asyncAwait(t5, $async$visitUseRule$1);
  64188. case 9:
  64189. // returning from await.
  64190. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue($async$self._async_evaluate$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  64191. case 7:
  64192. // for update
  64193. ++_i;
  64194. // goto for condition
  64195. $async$goto = 6;
  64196. break;
  64197. case 8:
  64198. // after for
  64199. configuration = new A.ExplicitConfiguration(node, values, null);
  64200. // goto join
  64201. $async$goto = 4;
  64202. break;
  64203. case 5:
  64204. // else
  64205. configuration = B.Configuration_Map_empty_null;
  64206. case 4:
  64207. // join
  64208. $async$goto = 10;
  64209. 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);
  64210. case 10:
  64211. // returning from await.
  64212. $async$self._async_evaluate$_assertConfigurationIsEmpty$1(configuration);
  64213. $async$returnValue = null;
  64214. // goto return
  64215. $async$goto = 1;
  64216. break;
  64217. case 1:
  64218. // return
  64219. return A._asyncReturn($async$returnValue, $async$completer);
  64220. }
  64221. });
  64222. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  64223. },
  64224. visitWarnRule$1(node) {
  64225. return this.visitWarnRule$body$_EvaluateVisitor(node);
  64226. },
  64227. visitWarnRule$body$_EvaluateVisitor(node) {
  64228. var $async$goto = 0,
  64229. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  64230. $async$returnValue, $async$self = this, value, t1;
  64231. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64232. if ($async$errorCode === 1)
  64233. return A._asyncRethrow($async$result, $async$completer);
  64234. while (true)
  64235. switch ($async$goto) {
  64236. case 0:
  64237. // Function start
  64238. $async$goto = 3;
  64239. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitWarnRule_closure0($async$self, node), type$.Value), $async$visitWarnRule$1);
  64240. case 3:
  64241. // returning from await.
  64242. value = $async$result;
  64243. t1 = value instanceof A.SassString ? value._string$_text : $async$self._async_evaluate$_serialize$2(value, node.expression);
  64244. $async$self._async_evaluate$_logger.warn$2$trace(0, t1, $async$self._async_evaluate$_stackTrace$1(node.span));
  64245. $async$returnValue = null;
  64246. // goto return
  64247. $async$goto = 1;
  64248. break;
  64249. case 1:
  64250. // return
  64251. return A._asyncReturn($async$returnValue, $async$completer);
  64252. }
  64253. });
  64254. return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
  64255. },
  64256. visitWhileRule$1(node) {
  64257. return this._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure0(this, node), true, node.hasDeclarations, type$.nullable_Value);
  64258. },
  64259. visitBinaryOperationExpression$1(node) {
  64260. var t1, _this = this;
  64261. if (_this._async_evaluate$_assertInModule$2(_this._async_evaluate$__stylesheet, "_stylesheet").plainCss) {
  64262. t1 = node.operator;
  64263. t1 = t1 !== B.BinaryOperator_2jN && t1 !== B.BinaryOperator_t8B;
  64264. } else
  64265. t1 = false;
  64266. if (t1)
  64267. throw A.wrapException(_this._async_evaluate$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  64268. return _this._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure0(_this, node), type$.Value);
  64269. },
  64270. _async_evaluate$_slash$3(left, right, node) {
  64271. var t1, _null = null,
  64272. result = left.dividedBy$1(right),
  64273. _1_0 = new A._Record_2(left, right),
  64274. _1_1 = A._InitializedCell$(new A._EvaluateVisitor__slash_closure1(_1_0)),
  64275. _1_2 = A._InitializedCell$(new A._EvaluateVisitor__slash_closure2(_1_0));
  64276. if (_1_1._readFinal$0() instanceof A.SassNumber) {
  64277. left = _1_1._readFinal$0();
  64278. if (_1_2._readFinal$0() instanceof A.SassNumber) {
  64279. right = _1_2._readFinal$0();
  64280. t1 = node.allowsSlash && this._async_evaluate$_operandAllowsSlash$1(node.left) && this._async_evaluate$_operandAllowsSlash$1(node.right);
  64281. } else {
  64282. right = _null;
  64283. t1 = false;
  64284. }
  64285. } else {
  64286. right = _null;
  64287. left = right;
  64288. t1 = false;
  64289. }
  64290. if (t1)
  64291. return type$.SassNumber._as(result).withSlash$2(left, right);
  64292. if (_1_1._readFinal$0() instanceof A.SassNumber && _1_2._readFinal$0() instanceof A.SassNumber) {
  64293. this._async_evaluate$_warn$3(string$.Using__o + A.S(new A._EvaluateVisitor__slash_recommendation0().call$1(node)) + " or " + A.expressionToCalc(node).toString$0(0) + string$.x0a_Morex20, node.get$span(node), B.Deprecation_xHK);
  64294. return result;
  64295. }
  64296. return result;
  64297. },
  64298. _async_evaluate$_operandAllowsSlash$1(node) {
  64299. var t1, t2;
  64300. if (node instanceof A.FunctionExpression)
  64301. if (node.namespace == null) {
  64302. t1 = node.originalName;
  64303. if (B.Set_WfnXb.contains$1(0, A.stringReplaceAllUnchecked(t1, "_", "-").toLowerCase())) {
  64304. t2 = this._async_evaluate$_environment;
  64305. t1 = t2.getFunction$1(A.stringReplaceAllUnchecked(t1, "_", "-")) == null;
  64306. } else
  64307. t1 = false;
  64308. } else
  64309. t1 = false;
  64310. else
  64311. t1 = true;
  64312. return t1;
  64313. },
  64314. visitValueExpression$1(node) {
  64315. return this.visitValueExpression$body$_EvaluateVisitor(node);
  64316. },
  64317. visitValueExpression$body$_EvaluateVisitor(node) {
  64318. var $async$goto = 0,
  64319. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  64320. $async$returnValue;
  64321. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64322. if ($async$errorCode === 1)
  64323. return A._asyncRethrow($async$result, $async$completer);
  64324. while (true)
  64325. switch ($async$goto) {
  64326. case 0:
  64327. // Function start
  64328. $async$returnValue = node.value;
  64329. // goto return
  64330. $async$goto = 1;
  64331. break;
  64332. case 1:
  64333. // return
  64334. return A._asyncReturn($async$returnValue, $async$completer);
  64335. }
  64336. });
  64337. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  64338. },
  64339. visitVariableExpression$1(node) {
  64340. return this.visitVariableExpression$body$_EvaluateVisitor(node);
  64341. },
  64342. visitVariableExpression$body$_EvaluateVisitor(node) {
  64343. var $async$goto = 0,
  64344. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  64345. $async$returnValue, $async$self = this, result;
  64346. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64347. if ($async$errorCode === 1)
  64348. return A._asyncRethrow($async$result, $async$completer);
  64349. while (true)
  64350. switch ($async$goto) {
  64351. case 0:
  64352. // Function start
  64353. result = $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure0($async$self, node));
  64354. if (result != null) {
  64355. $async$returnValue = result;
  64356. // goto return
  64357. $async$goto = 1;
  64358. break;
  64359. }
  64360. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined variable.", node.span));
  64361. case 1:
  64362. // return
  64363. return A._asyncReturn($async$returnValue, $async$completer);
  64364. }
  64365. });
  64366. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  64367. },
  64368. visitUnaryOperationExpression$1(node) {
  64369. return this.visitUnaryOperationExpression$body$_EvaluateVisitor(node);
  64370. },
  64371. visitUnaryOperationExpression$body$_EvaluateVisitor(node) {
  64372. var $async$goto = 0,
  64373. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  64374. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  64375. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64376. if ($async$errorCode === 1)
  64377. return A._asyncRethrow($async$result, $async$completer);
  64378. while (true)
  64379. switch ($async$goto) {
  64380. case 0:
  64381. // Function start
  64382. $async$temp1 = node;
  64383. $async$temp2 = A;
  64384. $async$temp3 = node;
  64385. $async$goto = 3;
  64386. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  64387. case 3:
  64388. // returning from await.
  64389. $async$returnValue = $async$self._async_evaluate$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure0($async$temp3, $async$result));
  64390. // goto return
  64391. $async$goto = 1;
  64392. break;
  64393. case 1:
  64394. // return
  64395. return A._asyncReturn($async$returnValue, $async$completer);
  64396. }
  64397. });
  64398. return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
  64399. },
  64400. visitBooleanExpression$1(node) {
  64401. return this.visitBooleanExpression$body$_EvaluateVisitor(node);
  64402. },
  64403. visitBooleanExpression$body$_EvaluateVisitor(node) {
  64404. var $async$goto = 0,
  64405. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean),
  64406. $async$returnValue;
  64407. var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64408. if ($async$errorCode === 1)
  64409. return A._asyncRethrow($async$result, $async$completer);
  64410. while (true)
  64411. switch ($async$goto) {
  64412. case 0:
  64413. // Function start
  64414. $async$returnValue = node.value ? B.SassBoolean_true : B.SassBoolean_false;
  64415. // goto return
  64416. $async$goto = 1;
  64417. break;
  64418. case 1:
  64419. // return
  64420. return A._asyncReturn($async$returnValue, $async$completer);
  64421. }
  64422. });
  64423. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  64424. },
  64425. visitIfExpression$1(node) {
  64426. return this.visitIfExpression$body$_EvaluateVisitor(node);
  64427. },
  64428. visitIfExpression$body$_EvaluateVisitor(node) {
  64429. var $async$goto = 0,
  64430. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  64431. $async$returnValue, $async$self = this, condition, t1, ifTrue, ifFalse, result, _0_0, positional, named;
  64432. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64433. if ($async$errorCode === 1)
  64434. return A._asyncRethrow($async$result, $async$completer);
  64435. while (true)
  64436. switch ($async$goto) {
  64437. case 0:
  64438. // Function start
  64439. $async$goto = 3;
  64440. return A._asyncAwait($async$self._async_evaluate$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  64441. case 3:
  64442. // returning from await.
  64443. _0_0 = $async$result;
  64444. positional = _0_0._0;
  64445. named = _0_0._1;
  64446. $async$self._async_evaluate$_verifyArguments$4(J.get$length$asx(positional), named, $.$get$IfExpression_declaration(), node);
  64447. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  64448. if (condition == null) {
  64449. t1 = named.$index(0, "condition");
  64450. t1.toString;
  64451. condition = t1;
  64452. }
  64453. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  64454. if (ifTrue == null) {
  64455. t1 = named.$index(0, "if-true");
  64456. t1.toString;
  64457. ifTrue = t1;
  64458. }
  64459. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  64460. if (ifFalse == null) {
  64461. t1 = named.$index(0, "if-false");
  64462. t1.toString;
  64463. ifFalse = t1;
  64464. }
  64465. $async$goto = 4;
  64466. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  64467. case 4:
  64468. // returning from await.
  64469. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  64470. t1 = result.accept$1($async$self);
  64471. $async$goto = 5;
  64472. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$visitIfExpression$1);
  64473. case 5:
  64474. // returning from await.
  64475. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, $async$self._async_evaluate$_expressionNode$1(result));
  64476. // goto return
  64477. $async$goto = 1;
  64478. break;
  64479. case 1:
  64480. // return
  64481. return A._asyncReturn($async$returnValue, $async$completer);
  64482. }
  64483. });
  64484. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  64485. },
  64486. visitNullExpression$1(node) {
  64487. return this.visitNullExpression$body$_EvaluateVisitor(node);
  64488. },
  64489. visitNullExpression$body$_EvaluateVisitor(node) {
  64490. var $async$goto = 0,
  64491. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  64492. $async$returnValue;
  64493. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64494. if ($async$errorCode === 1)
  64495. return A._asyncRethrow($async$result, $async$completer);
  64496. while (true)
  64497. switch ($async$goto) {
  64498. case 0:
  64499. // Function start
  64500. $async$returnValue = B.C__SassNull;
  64501. // goto return
  64502. $async$goto = 1;
  64503. break;
  64504. case 1:
  64505. // return
  64506. return A._asyncReturn($async$returnValue, $async$completer);
  64507. }
  64508. });
  64509. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  64510. },
  64511. visitNumberExpression$1(node) {
  64512. return this.visitNumberExpression$body$_EvaluateVisitor(node);
  64513. },
  64514. visitNumberExpression$body$_EvaluateVisitor(node) {
  64515. var $async$goto = 0,
  64516. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  64517. $async$returnValue;
  64518. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64519. if ($async$errorCode === 1)
  64520. return A._asyncRethrow($async$result, $async$completer);
  64521. while (true)
  64522. switch ($async$goto) {
  64523. case 0:
  64524. // Function start
  64525. $async$returnValue = A.SassNumber_SassNumber(node.value, node.unit);
  64526. // goto return
  64527. $async$goto = 1;
  64528. break;
  64529. case 1:
  64530. // return
  64531. return A._asyncReturn($async$returnValue, $async$completer);
  64532. }
  64533. });
  64534. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  64535. },
  64536. visitParenthesizedExpression$1(node) {
  64537. var _this = this;
  64538. return _this._async_evaluate$_assertInModule$2(_this._async_evaluate$__stylesheet, "_stylesheet").plainCss ? A.throwExpression(_this._async_evaluate$_exception$2("Parentheses aren't allowed in plain CSS.", node.span)) : node.expression.accept$1(_this);
  64539. },
  64540. visitColorExpression$1(node) {
  64541. return this.visitColorExpression$body$_EvaluateVisitor(node);
  64542. },
  64543. visitColorExpression$body$_EvaluateVisitor(node) {
  64544. var $async$goto = 0,
  64545. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor),
  64546. $async$returnValue;
  64547. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64548. if ($async$errorCode === 1)
  64549. return A._asyncRethrow($async$result, $async$completer);
  64550. while (true)
  64551. switch ($async$goto) {
  64552. case 0:
  64553. // Function start
  64554. $async$returnValue = node.value;
  64555. // goto return
  64556. $async$goto = 1;
  64557. break;
  64558. case 1:
  64559. // return
  64560. return A._asyncReturn($async$returnValue, $async$completer);
  64561. }
  64562. });
  64563. return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
  64564. },
  64565. visitListExpression$1(node) {
  64566. return this.visitListExpression$body$_EvaluateVisitor(node);
  64567. },
  64568. visitListExpression$body$_EvaluateVisitor(node) {
  64569. var $async$goto = 0,
  64570. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList),
  64571. $async$returnValue, $async$self = this, $async$temp1;
  64572. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64573. if ($async$errorCode === 1)
  64574. return A._asyncRethrow($async$result, $async$completer);
  64575. while (true)
  64576. switch ($async$goto) {
  64577. case 0:
  64578. // Function start
  64579. $async$temp1 = A;
  64580. $async$goto = 3;
  64581. return A._asyncAwait(A.mapAsync(node.contents, new A._EvaluateVisitor_visitListExpression_closure0($async$self), type$.Expression, type$.Value), $async$visitListExpression$1);
  64582. case 3:
  64583. // returning from await.
  64584. $async$returnValue = $async$temp1.SassList$($async$result, node.separator, node.hasBrackets);
  64585. // goto return
  64586. $async$goto = 1;
  64587. break;
  64588. case 1:
  64589. // return
  64590. return A._asyncReturn($async$returnValue, $async$completer);
  64591. }
  64592. });
  64593. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  64594. },
  64595. visitMapExpression$1(node) {
  64596. return this.visitMapExpression$body$_EvaluateVisitor(node);
  64597. },
  64598. visitMapExpression$body$_EvaluateVisitor(node) {
  64599. var $async$goto = 0,
  64600. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap),
  64601. $async$returnValue, $async$self = this, t2, t3, _i, t4, key, value, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  64602. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64603. if ($async$errorCode === 1)
  64604. return A._asyncRethrow($async$result, $async$completer);
  64605. while (true)
  64606. switch ($async$goto) {
  64607. case 0:
  64608. // Function start
  64609. t1 = type$.Value;
  64610. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  64611. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  64612. t2 = node.pairs, t3 = t2.length, _i = 0;
  64613. case 3:
  64614. // for condition
  64615. if (!(_i < t3)) {
  64616. // goto after for
  64617. $async$goto = 5;
  64618. break;
  64619. }
  64620. t4 = t2[_i];
  64621. key = t4._0;
  64622. value = t4._1;
  64623. $async$goto = 6;
  64624. return A._asyncAwait(key.accept$1($async$self), $async$visitMapExpression$1);
  64625. case 6:
  64626. // returning from await.
  64627. keyValue = $async$result;
  64628. $async$goto = 7;
  64629. return A._asyncAwait(value.accept$1($async$self), $async$visitMapExpression$1);
  64630. case 7:
  64631. // returning from await.
  64632. valueValue = $async$result;
  64633. if (map.containsKey$1(keyValue)) {
  64634. t1 = keyNodes.$index(0, keyValue);
  64635. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  64636. t1 = key.get$span(key);
  64637. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  64638. if (oldValueSpan != null)
  64639. t2.$indexSet(0, oldValueSpan, "first key");
  64640. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t1, "second key", t2, $async$self._async_evaluate$_stackTrace$1(key.get$span(key)), null));
  64641. }
  64642. map.$indexSet(0, keyValue, valueValue);
  64643. keyNodes.$indexSet(0, keyValue, key);
  64644. case 4:
  64645. // for update
  64646. ++_i;
  64647. // goto for condition
  64648. $async$goto = 3;
  64649. break;
  64650. case 5:
  64651. // after for
  64652. $async$returnValue = new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  64653. // goto return
  64654. $async$goto = 1;
  64655. break;
  64656. case 1:
  64657. // return
  64658. return A._asyncReturn($async$returnValue, $async$completer);
  64659. }
  64660. });
  64661. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  64662. },
  64663. visitFunctionExpression$1(node) {
  64664. return this.visitFunctionExpression$body$_EvaluateVisitor(node);
  64665. },
  64666. visitFunctionExpression$body$_EvaluateVisitor(node) {
  64667. var $async$goto = 0,
  64668. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  64669. $async$returnValue, $async$self = this, t2, _0_0, t3, t4, oldInFunction, result, t1, $function;
  64670. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64671. if ($async$errorCode === 1)
  64672. return A._asyncRethrow($async$result, $async$completer);
  64673. while (true)
  64674. switch ($async$goto) {
  64675. case 0:
  64676. // Function start
  64677. t1 = {};
  64678. $function = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss ? null : $async$self._async_evaluate$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure2($async$self, node));
  64679. t1.$function = $function;
  64680. $async$goto = $function == null ? 3 : 4;
  64681. break;
  64682. case 3:
  64683. // then
  64684. if (node.namespace != null)
  64685. throw A.wrapException($async$self._async_evaluate$_exception$2("Undefined function.", node.span));
  64686. t2 = node.originalName;
  64687. _0_0 = A.stringReplaceAllUnchecked(t2, "_", "-").toLowerCase();
  64688. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  64689. t3 = node.$arguments;
  64690. t4 = t3.named;
  64691. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure3());
  64692. } else
  64693. t3 = false;
  64694. $async$goto = t3 ? 5 : 6;
  64695. break;
  64696. case 5:
  64697. // then
  64698. $async$goto = 7;
  64699. return A._asyncAwait($async$self._async_evaluate$_visitCalculation$2$inLegacySassFunction(node, true), $async$visitFunctionExpression$1);
  64700. case 7:
  64701. // returning from await.
  64702. $async$returnValue = $async$result;
  64703. // goto return
  64704. $async$goto = 1;
  64705. break;
  64706. case 6:
  64707. // join
  64708. $async$goto = "calc" === _0_0 || "clamp" === _0_0 || "hypot" === _0_0 || "sin" === _0_0 || "cos" === _0_0 || "tan" === _0_0 || "asin" === _0_0 || "acos" === _0_0 || "atan" === _0_0 || "sqrt" === _0_0 || "exp" === _0_0 || "sign" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "atan2" === _0_0 || "pow" === _0_0 || "log" === _0_0 ? 8 : 9;
  64709. break;
  64710. case 8:
  64711. // then
  64712. $async$goto = 10;
  64713. return A._asyncAwait($async$self._async_evaluate$_visitCalculation$1(node), $async$visitFunctionExpression$1);
  64714. case 10:
  64715. // returning from await.
  64716. $async$returnValue = $async$result;
  64717. // goto return
  64718. $async$goto = 1;
  64719. break;
  64720. case 9:
  64721. // join
  64722. if ($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__stylesheet, "_stylesheet").plainCss)
  64723. $function = null;
  64724. else {
  64725. t3 = $async$self._async_evaluate$_builtInFunctions.$index(0, A.stringReplaceAllUnchecked(t2, "_", "-"));
  64726. $function = t3;
  64727. }
  64728. t1.$function = $function == null ? new A.PlainCssCallable(t2) : $function;
  64729. case 4:
  64730. // join
  64731. oldInFunction = $async$self._async_evaluate$_inFunction;
  64732. $async$self._async_evaluate$_inFunction = true;
  64733. $async$goto = 11;
  64734. return A._asyncAwait($async$self._async_evaluate$_addErrorSpan$1$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure4(t1, $async$self, node), type$.Value), $async$visitFunctionExpression$1);
  64735. case 11:
  64736. // returning from await.
  64737. result = $async$result;
  64738. $async$self._async_evaluate$_inFunction = oldInFunction;
  64739. $async$returnValue = result;
  64740. // goto return
  64741. $async$goto = 1;
  64742. break;
  64743. case 1:
  64744. // return
  64745. return A._asyncReturn($async$returnValue, $async$completer);
  64746. }
  64747. });
  64748. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  64749. },
  64750. _async_evaluate$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  64751. return this._visitCalculation$body$_EvaluateVisitor(node, inLegacySassFunction);
  64752. },
  64753. _async_evaluate$_visitCalculation$1(node) {
  64754. return this._async_evaluate$_visitCalculation$2$inLegacySassFunction(node, false);
  64755. },
  64756. _visitCalculation$body$_EvaluateVisitor(node, inLegacySassFunction) {
  64757. var $async$goto = 0,
  64758. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  64759. $async$returnValue, $async$next = [], $async$self = this, $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, t2, t3, $async$temp1;
  64760. var $async$_async_evaluate$_visitCalculation$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64761. if ($async$errorCode === 1)
  64762. return A._asyncRethrow($async$result, $async$completer);
  64763. while (true)
  64764. switch ($async$goto) {
  64765. case 0:
  64766. // Function start
  64767. t2 = node.$arguments;
  64768. t3 = t2.named;
  64769. if (t3.get$isNotEmpty(t3))
  64770. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Keywor, node.span));
  64771. else if (t2.rest != null)
  64772. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Rest_a, node.span));
  64773. $async$self._async_evaluate$_checkCalculationArguments$1(node);
  64774. t3 = A._setArrayType([], type$.JSArray_Object);
  64775. t2 = t2.positional, t4 = t2.length, _i = 0;
  64776. case 3:
  64777. // for condition
  64778. if (!(_i < t4)) {
  64779. // goto after for
  64780. $async$goto = 5;
  64781. break;
  64782. }
  64783. $async$temp1 = t3;
  64784. $async$goto = 6;
  64785. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate$_visitCalculation$2$inLegacySassFunction);
  64786. case 6:
  64787. // returning from await.
  64788. $async$temp1.push($async$result);
  64789. case 4:
  64790. // for update
  64791. ++_i;
  64792. // goto for condition
  64793. $async$goto = 3;
  64794. break;
  64795. case 5:
  64796. // after for
  64797. $arguments = t3;
  64798. if ($async$self._async_evaluate$_inSupportsDeclaration) {
  64799. $async$returnValue = new A.SassCalculation(A.stringReplaceAllUnchecked(node.originalName, "_", "-"), A.List_List$unmodifiable($arguments, type$.Object));
  64800. // goto return
  64801. $async$goto = 1;
  64802. break;
  64803. }
  64804. oldCallableNode = $async$self._async_evaluate$_callableNode;
  64805. $async$self._async_evaluate$_callableNode = node;
  64806. try {
  64807. t1 = null;
  64808. _0_0 = A.stringReplaceAllUnchecked(node.originalName, "_", "-").toLowerCase();
  64809. $label0$0: {
  64810. if ("calc" === _0_0) {
  64811. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  64812. break $label0$0;
  64813. }
  64814. if ("sqrt" === _0_0) {
  64815. t1 = A.SassCalculation__singleArgument("sqrt", J.$index$asx($arguments, 0), A.number0__sqrt$closure(), true);
  64816. break $label0$0;
  64817. }
  64818. if ("sin" === _0_0) {
  64819. t1 = A.SassCalculation__singleArgument("sin", J.$index$asx($arguments, 0), A.number0__sin$closure(), false);
  64820. break $label0$0;
  64821. }
  64822. if ("cos" === _0_0) {
  64823. t1 = A.SassCalculation__singleArgument("cos", J.$index$asx($arguments, 0), A.number0__cos$closure(), false);
  64824. break $label0$0;
  64825. }
  64826. if ("tan" === _0_0) {
  64827. t1 = A.SassCalculation__singleArgument("tan", J.$index$asx($arguments, 0), A.number0__tan$closure(), false);
  64828. break $label0$0;
  64829. }
  64830. if ("asin" === _0_0) {
  64831. t1 = A.SassCalculation__singleArgument("asin", J.$index$asx($arguments, 0), A.number0__asin$closure(), true);
  64832. break $label0$0;
  64833. }
  64834. if ("acos" === _0_0) {
  64835. t1 = A.SassCalculation__singleArgument("acos", J.$index$asx($arguments, 0), A.number0__acos$closure(), true);
  64836. break $label0$0;
  64837. }
  64838. if ("atan" === _0_0) {
  64839. t1 = A.SassCalculation__singleArgument("atan", J.$index$asx($arguments, 0), A.number0__atan$closure(), true);
  64840. break $label0$0;
  64841. }
  64842. if ("abs" === _0_0) {
  64843. t1 = A.SassCalculation_abs(J.$index$asx($arguments, 0));
  64844. break $label0$0;
  64845. }
  64846. if ("exp" === _0_0) {
  64847. t1 = A.SassCalculation_exp(J.$index$asx($arguments, 0));
  64848. break $label0$0;
  64849. }
  64850. if ("sign" === _0_0) {
  64851. t1 = A.SassCalculation_sign(J.$index$asx($arguments, 0));
  64852. break $label0$0;
  64853. }
  64854. if ("min" === _0_0) {
  64855. t1 = A.SassCalculation_min($arguments);
  64856. break $label0$0;
  64857. }
  64858. if ("max" === _0_0) {
  64859. t1 = A.SassCalculation_max($arguments);
  64860. break $label0$0;
  64861. }
  64862. if ("hypot" === _0_0) {
  64863. t1 = A.SassCalculation_hypot($arguments);
  64864. break $label0$0;
  64865. }
  64866. if ("pow" === _0_0) {
  64867. t1 = A.SassCalculation_pow(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  64868. break $label0$0;
  64869. }
  64870. if ("atan2" === _0_0) {
  64871. t1 = A.SassCalculation_atan2(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  64872. break $label0$0;
  64873. }
  64874. if ("log" === _0_0) {
  64875. t1 = A.SassCalculation_log(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  64876. break $label0$0;
  64877. }
  64878. if ("mod" === _0_0) {
  64879. t1 = A.SassCalculation_mod(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  64880. break $label0$0;
  64881. }
  64882. if ("rem" === _0_0) {
  64883. t1 = A.SassCalculation_rem(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  64884. break $label0$0;
  64885. }
  64886. if ("round" === _0_0) {
  64887. t1 = A.SassCalculation_round(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  64888. break $label0$0;
  64889. }
  64890. if ("clamp" === _0_0) {
  64891. t1 = A.SassCalculation_clamp(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  64892. break $label0$0;
  64893. }
  64894. t3 = A.UnsupportedError$('Unknown calculation name "' + node.get$name(node) + '".');
  64895. t1 = A.throwExpression(t3);
  64896. }
  64897. t1 = t1;
  64898. $async$returnValue = t1;
  64899. // goto return
  64900. $async$goto = 1;
  64901. break;
  64902. } catch (exception) {
  64903. t1 = A.unwrapException(exception);
  64904. if (t1 instanceof A.SassScriptException) {
  64905. error = t1;
  64906. stackTrace = A.getTraceFromException(exception);
  64907. if (B.JSString_methods.contains$1(error.message, "compatible"))
  64908. $async$self._async_evaluate$_verifyCompatibleNumbers$2($arguments, t2);
  64909. A.throwWithTrace($async$self._async_evaluate$_exception$2(error.message, node.span), error, stackTrace);
  64910. } else
  64911. throw exception;
  64912. } finally {
  64913. $async$self._async_evaluate$_callableNode = oldCallableNode;
  64914. }
  64915. case 1:
  64916. // return
  64917. return A._asyncReturn($async$returnValue, $async$completer);
  64918. }
  64919. });
  64920. return A._asyncStartSync($async$_async_evaluate$_visitCalculation$2$inLegacySassFunction, $async$completer);
  64921. },
  64922. _async_evaluate$_checkCalculationArguments$1(node) {
  64923. var _0_0,
  64924. check = new A._EvaluateVisitor__checkCalculationArguments_check0(this, node);
  64925. $label0$0: {
  64926. _0_0 = A.stringReplaceAllUnchecked(node.originalName, "_", "-").toLowerCase();
  64927. if ("calc" === _0_0 || "sqrt" === _0_0 || "sin" === _0_0 || "cos" === _0_0 || "tan" === _0_0 || "asin" === _0_0 || "acos" === _0_0 || "atan" === _0_0 || "abs" === _0_0 || "exp" === _0_0 || "sign" === _0_0) {
  64928. check.call$1(1);
  64929. break $label0$0;
  64930. }
  64931. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  64932. check.call$0();
  64933. break $label0$0;
  64934. }
  64935. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0) {
  64936. check.call$1(2);
  64937. break $label0$0;
  64938. }
  64939. if ("round" === _0_0 || "clamp" === _0_0) {
  64940. check.call$1(3);
  64941. break $label0$0;
  64942. }
  64943. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + node.get$name(node) + '".'));
  64944. }
  64945. },
  64946. _async_evaluate$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  64947. var i, t1, _0_0, arg, number1, j, number2;
  64948. for (i = 0; t1 = args.length, i < t1; ++i) {
  64949. _0_0 = args[i];
  64950. if (_0_0 instanceof A.SassNumber) {
  64951. t1 = _0_0.get$hasComplexUnits();
  64952. arg = _0_0;
  64953. } else {
  64954. arg = null;
  64955. t1 = false;
  64956. }
  64957. if (t1)
  64958. throw A.wrapException(this._async_evaluate$_exception$2("Number " + A.S(arg) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  64959. }
  64960. for (i = 0; i < t1 - 1; ++i) {
  64961. number1 = args[i];
  64962. if (!(number1 instanceof A.SassNumber))
  64963. continue;
  64964. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  64965. number2 = args[j];
  64966. if (!(number2 instanceof A.SassNumber))
  64967. continue;
  64968. if (number1.hasPossiblyCompatibleUnits$1(number2))
  64969. continue;
  64970. 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])), null));
  64971. }
  64972. }
  64973. },
  64974. _async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  64975. return this._visitCalculationExpression$body$_EvaluateVisitor(node, inLegacySassFunction);
  64976. },
  64977. _visitCalculationExpression$body$_EvaluateVisitor(node, inLegacySassFunction) {
  64978. var $async$goto = 0,
  64979. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  64980. $async$returnValue, $async$self = this, inner, t1, result, t2, _0_0, _1_0, t3, _i, i, _box_0, $async$temp1;
  64981. var $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  64982. if ($async$errorCode === 1)
  64983. return A._asyncRethrow($async$result, $async$completer);
  64984. while (true)
  64985. switch ($async$goto) {
  64986. case 0:
  64987. // Function start
  64988. _box_0 = {};
  64989. if (node instanceof A.ParenthesizedExpression) {
  64990. inner = node.expression;
  64991. t1 = true;
  64992. } else {
  64993. inner = null;
  64994. t1 = false;
  64995. }
  64996. $async$goto = t1 ? 3 : 4;
  64997. break;
  64998. case 3:
  64999. // then
  65000. $async$goto = 5;
  65001. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  65002. case 5:
  65003. // returning from await.
  65004. result = $async$result;
  65005. $async$returnValue = result instanceof A.SassString ? new A.SassString("(" + result._string$_text + ")", false) : result;
  65006. // goto return
  65007. $async$goto = 1;
  65008. break;
  65009. case 4:
  65010. // join
  65011. $async$goto = node instanceof A.StringExpression && node.accept$1(new A._IsCalculationSafeVisitor()) ? 6 : 7;
  65012. break;
  65013. case 6:
  65014. // then
  65015. t1 = node.text;
  65016. t2 = t1.get$asPlain();
  65017. _0_0 = t2 == null ? null : t2.toLowerCase();
  65018. if ("pi" === _0_0) {
  65019. t1 = A.SassNumber_SassNumber(3.141592653589793, null);
  65020. // goto break $label0$0
  65021. $async$goto = 8;
  65022. break;
  65023. }
  65024. if ("e" === _0_0) {
  65025. t1 = A.SassNumber_SassNumber(2.718281828459045, null);
  65026. // goto break $label0$0
  65027. $async$goto = 8;
  65028. break;
  65029. }
  65030. if ("infinity" === _0_0) {
  65031. t1 = A.SassNumber_SassNumber(1 / 0, null);
  65032. // goto break $label0$0
  65033. $async$goto = 8;
  65034. break;
  65035. }
  65036. if ("-infinity" === _0_0) {
  65037. t1 = A.SassNumber_SassNumber(-1 / 0, null);
  65038. // goto break $label0$0
  65039. $async$goto = 8;
  65040. break;
  65041. }
  65042. if ("nan" === _0_0) {
  65043. t1 = A.SassNumber_SassNumber(0 / 0, null);
  65044. // goto break $label0$0
  65045. $async$goto = 8;
  65046. break;
  65047. }
  65048. $async$temp1 = A;
  65049. $async$goto = 9;
  65050. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(t1), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  65051. case 9:
  65052. // returning from await.
  65053. t1 = new $async$temp1.SassString($async$result, false);
  65054. // goto break $label0$0
  65055. $async$goto = 8;
  65056. break;
  65057. case 8:
  65058. // break $label0$0
  65059. $async$returnValue = t1;
  65060. // goto return
  65061. $async$goto = 1;
  65062. break;
  65063. case 7:
  65064. // join
  65065. _box_0.right = _box_0.left = _box_0.operator = null;
  65066. if (node instanceof A.BinaryOperationExpression) {
  65067. _box_0.operator = node.operator;
  65068. _box_0.left = node.left;
  65069. _box_0.right = node.right;
  65070. t1 = true;
  65071. } else
  65072. t1 = false;
  65073. $async$goto = t1 ? 10 : 11;
  65074. break;
  65075. case 10:
  65076. // then
  65077. $async$self._async_evaluate$_checkWhitespaceAroundCalculationOperator$1(node);
  65078. $async$goto = 12;
  65079. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor__visitCalculationExpression_closure0(_box_0, $async$self, node, inLegacySassFunction), type$.Object), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  65080. case 12:
  65081. // returning from await.
  65082. $async$returnValue = $async$result;
  65083. // goto return
  65084. $async$goto = 1;
  65085. break;
  65086. case 11:
  65087. // join
  65088. $async$goto = node instanceof A.NumberExpression || node instanceof A.VariableExpression || node instanceof A.FunctionExpression || node instanceof A.IfExpression ? 13 : 14;
  65089. break;
  65090. case 13:
  65091. // then
  65092. $async$goto = 15;
  65093. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  65094. case 15:
  65095. // returning from await.
  65096. _1_0 = $async$result;
  65097. $label1$1: {
  65098. if (_1_0 instanceof A.SassNumber) {
  65099. result = _1_0;
  65100. t1 = true;
  65101. } else {
  65102. result = null;
  65103. t1 = false;
  65104. }
  65105. if (t1) {
  65106. t1 = result;
  65107. break $label1$1;
  65108. }
  65109. if (_1_0 instanceof A.SassCalculation) {
  65110. result = _1_0;
  65111. t1 = true;
  65112. } else {
  65113. result = null;
  65114. t1 = false;
  65115. }
  65116. if (t1) {
  65117. t1 = result;
  65118. break $label1$1;
  65119. }
  65120. if (_1_0 instanceof A.SassString) {
  65121. t1 = !_1_0._hasQuotes;
  65122. result = _1_0;
  65123. } else {
  65124. result = null;
  65125. t1 = false;
  65126. }
  65127. if (t1) {
  65128. t1 = result;
  65129. break $label1$1;
  65130. }
  65131. t1 = A.throwExpression($async$self._async_evaluate$_exception$2("Value " + _1_0.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  65132. }
  65133. $async$returnValue = t1;
  65134. // goto return
  65135. $async$goto = 1;
  65136. break;
  65137. case 14:
  65138. // join
  65139. $async$goto = node instanceof A.ListExpression && !node.hasBrackets && B.ListSeparator_EVt === node.separator && node.contents.length >= 2 ? 16 : 17;
  65140. break;
  65141. case 16:
  65142. // then
  65143. t1 = A._setArrayType([], type$.JSArray_Object);
  65144. t2 = node.contents, t3 = t2.length, _i = 0;
  65145. case 18:
  65146. // for condition
  65147. if (!(_i < t3)) {
  65148. // goto after for
  65149. $async$goto = 20;
  65150. break;
  65151. }
  65152. $async$temp1 = t1;
  65153. $async$goto = 21;
  65154. return A._asyncAwait($async$self._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction);
  65155. case 21:
  65156. // returning from await.
  65157. $async$temp1.push($async$result);
  65158. case 19:
  65159. // for update
  65160. ++_i;
  65161. // goto for condition
  65162. $async$goto = 18;
  65163. break;
  65164. case 20:
  65165. // after for
  65166. $async$self._async_evaluate$_checkAdjacentCalculationValues$2(t1, node);
  65167. for (i = 0; i < t1.length; ++i) {
  65168. t3 = t1[i];
  65169. if (t3 instanceof A.CalculationOperation && t2[i] instanceof A.ParenthesizedExpression)
  65170. t1[i] = new A.SassString("(" + A.S(t3) + ")", false);
  65171. }
  65172. $async$returnValue = new A.SassString(B.JSArray_methods.join$1(t1, " "), false);
  65173. // goto return
  65174. $async$goto = 1;
  65175. break;
  65176. case 17:
  65177. // join
  65178. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.This_e, node.get$span(node)));
  65179. case 1:
  65180. // return
  65181. return A._asyncReturn($async$returnValue, $async$completer);
  65182. }
  65183. });
  65184. return A._asyncStartSync($async$_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction, $async$completer);
  65185. },
  65186. _async_evaluate$_checkWhitespaceAroundCalculationOperator$1(node) {
  65187. var t2, t3, t4, textBetweenOperands, first, last,
  65188. t1 = node.operator;
  65189. if (t1 !== B.BinaryOperator_anB && t1 !== B.BinaryOperator_olz)
  65190. return;
  65191. t1 = node.left;
  65192. t2 = t1.get$span(t1);
  65193. t2 = t2.get$file(t2);
  65194. t3 = node.right;
  65195. t4 = t3.get$span(t3);
  65196. if (t2 !== t4.get$file(t4))
  65197. return;
  65198. t2 = t1.get$span(t1);
  65199. t2 = t2.get$end(t2);
  65200. t4 = t3.get$span(t3);
  65201. if (t2.offset >= t4.get$start(t4).offset)
  65202. return;
  65203. t2 = t1.get$span(t1);
  65204. t2 = t2.get$file(t2);
  65205. t1 = t1.get$span(t1);
  65206. t1 = t1.get$end(t1);
  65207. t3 = t3.get$span(t3);
  65208. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  65209. first = textBetweenOperands.charCodeAt(0);
  65210. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  65211. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  65212. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  65213. else
  65214. t1 = true;
  65215. if (t1)
  65216. throw A.wrapException(this._async_evaluate$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  65217. },
  65218. _async_evaluate$_binaryOperatorToCalculationOperator$2(operator, node) {
  65219. var t1;
  65220. $label0$0: {
  65221. if (B.BinaryOperator_anB === operator) {
  65222. t1 = B.CalculationOperator_IyK;
  65223. break $label0$0;
  65224. }
  65225. if (B.BinaryOperator_olz === operator) {
  65226. t1 = B.CalculationOperator_2bx;
  65227. break $label0$0;
  65228. }
  65229. if (B.BinaryOperator_qN2 === operator) {
  65230. t1 = B.CalculationOperator_jFr;
  65231. break $label0$0;
  65232. }
  65233. if (B.BinaryOperator_t8B === operator) {
  65234. t1 = B.CalculationOperator_OvN;
  65235. break $label0$0;
  65236. }
  65237. t1 = A.throwExpression(this._async_evaluate$_exception$2(string$.This_o, node.get$operatorSpan()));
  65238. }
  65239. return t1;
  65240. },
  65241. _async_evaluate$_checkAdjacentCalculationValues$2(elements, node) {
  65242. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  65243. for (t1 = elements.length, i = 1; i < t1; ++i) {
  65244. t2 = i - 1;
  65245. previous = elements[t2];
  65246. current = elements[i];
  65247. if (previous instanceof A.SassString || current instanceof A.SassString)
  65248. continue;
  65249. t1 = node.contents;
  65250. previousNode = t1[t2];
  65251. currentNode = t1[i];
  65252. _0_2 = A._InitializedCell$(new A._EvaluateVisitor__checkAdjacentCalculationValues_closure0(currentNode));
  65253. if (currentNode instanceof A.UnaryOperationExpression)
  65254. t1 = B.UnaryOperator_TLI === _0_2._readFinal$0() || B.UnaryOperator_gg4 === _0_2._readFinal$0();
  65255. else
  65256. t1 = false;
  65257. if (!t1)
  65258. t1 = currentNode instanceof A.NumberExpression && currentNode.value < 0;
  65259. else
  65260. t1 = true;
  65261. if (t1)
  65262. throw A.wrapException(this._async_evaluate$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  65263. else
  65264. throw A.wrapException(this._async_evaluate$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  65265. }
  65266. },
  65267. visitInterpolatedFunctionExpression$1(node) {
  65268. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor(node);
  65269. },
  65270. visitInterpolatedFunctionExpression$body$_EvaluateVisitor(node) {
  65271. var $async$goto = 0,
  65272. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  65273. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  65274. var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65275. if ($async$errorCode === 1)
  65276. return A._asyncRethrow($async$result, $async$completer);
  65277. while (true)
  65278. switch ($async$goto) {
  65279. case 0:
  65280. // Function start
  65281. $async$goto = 3;
  65282. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  65283. case 3:
  65284. // returning from await.
  65285. t1 = $async$result;
  65286. oldInFunction = $async$self._async_evaluate$_inFunction;
  65287. $async$self._async_evaluate$_inFunction = true;
  65288. $async$goto = 4;
  65289. 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);
  65290. case 4:
  65291. // returning from await.
  65292. result = $async$result;
  65293. $async$self._async_evaluate$_inFunction = oldInFunction;
  65294. $async$returnValue = result;
  65295. // goto return
  65296. $async$goto = 1;
  65297. break;
  65298. case 1:
  65299. // return
  65300. return A._asyncReturn($async$returnValue, $async$completer);
  65301. }
  65302. });
  65303. return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
  65304. },
  65305. _async_evaluate$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  65306. return this._runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $V);
  65307. },
  65308. _runUserDefinedCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  65309. var $async$goto = 0,
  65310. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  65311. $async$returnValue, $async$self = this, oldCallable, result, evaluated, $name;
  65312. var $async$_async_evaluate$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65313. if ($async$errorCode === 1)
  65314. return A._asyncRethrow($async$result, $async$completer);
  65315. while (true)
  65316. switch ($async$goto) {
  65317. case 0:
  65318. // Function start
  65319. $async$goto = 3;
  65320. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runUserDefinedCallable$1$4);
  65321. case 3:
  65322. // returning from await.
  65323. evaluated = $async$result;
  65324. $name = callable.declaration.name;
  65325. if ($name !== "@content")
  65326. $name += "()";
  65327. oldCallable = $async$self._async_evaluate$_currentCallable;
  65328. $async$self._async_evaluate$_currentCallable = callable;
  65329. $async$goto = 4;
  65330. 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);
  65331. case 4:
  65332. // returning from await.
  65333. result = $async$result;
  65334. $async$self._async_evaluate$_currentCallable = oldCallable;
  65335. $async$returnValue = result;
  65336. // goto return
  65337. $async$goto = 1;
  65338. break;
  65339. case 1:
  65340. // return
  65341. return A._asyncReturn($async$returnValue, $async$completer);
  65342. }
  65343. });
  65344. return A._asyncStartSync($async$_async_evaluate$_runUserDefinedCallable$1$4, $async$completer);
  65345. },
  65346. _async_evaluate$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  65347. return this._runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  65348. },
  65349. _runFunctionCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  65350. var $async$goto = 0,
  65351. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  65352. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, buffer, first, argument, restArg, rest, error, t1, t2, _i, exception, $async$exception, $async$temp1, $async$temp2;
  65353. var $async$_async_evaluate$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65354. if ($async$errorCode === 1) {
  65355. $async$currentError = $async$result;
  65356. $async$goto = $async$handler;
  65357. }
  65358. while (true)
  65359. switch ($async$goto) {
  65360. case 0:
  65361. // Function start
  65362. $async$goto = type$.AsyncBuiltInCallable._is(callable) ? 3 : 5;
  65363. break;
  65364. case 3:
  65365. // then
  65366. $async$goto = 6;
  65367. return A._asyncAwait($async$self._async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate$_runFunctionCallable$3);
  65368. case 6:
  65369. // returning from await.
  65370. $async$returnValue = $async$self._async_evaluate$_withoutSlash$2($async$result, nodeWithSpan);
  65371. // goto return
  65372. $async$goto = 1;
  65373. break;
  65374. // goto join
  65375. $async$goto = 4;
  65376. break;
  65377. case 5:
  65378. // else
  65379. $async$goto = type$.UserDefinedCallable_AsyncEnvironment._is(callable) ? 7 : 9;
  65380. break;
  65381. case 7:
  65382. // then
  65383. $async$goto = 10;
  65384. 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);
  65385. case 10:
  65386. // returning from await.
  65387. $async$returnValue = $async$result;
  65388. // goto return
  65389. $async$goto = 1;
  65390. break;
  65391. // goto join
  65392. $async$goto = 8;
  65393. break;
  65394. case 9:
  65395. // else
  65396. $async$goto = callable instanceof A.PlainCssCallable ? 11 : 13;
  65397. break;
  65398. case 11:
  65399. // then
  65400. t1 = $arguments.named;
  65401. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  65402. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  65403. buffer = new A.StringBuffer(callable.name + "(");
  65404. $async$handler = 15;
  65405. first = true;
  65406. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  65407. case 18:
  65408. // for condition
  65409. if (!(_i < t2)) {
  65410. // goto after for
  65411. $async$goto = 20;
  65412. break;
  65413. }
  65414. argument = t1[_i];
  65415. if (first)
  65416. first = false;
  65417. else
  65418. buffer._contents += ", ";
  65419. $async$temp1 = buffer;
  65420. $async$temp2 = A;
  65421. $async$goto = 21;
  65422. return A._asyncAwait($async$self._evaluateToCss$1(argument), $async$_async_evaluate$_runFunctionCallable$3);
  65423. case 21:
  65424. // returning from await.
  65425. $async$temp1._contents += $async$temp2.S($async$result);
  65426. case 19:
  65427. // for update
  65428. ++_i;
  65429. // goto for condition
  65430. $async$goto = 18;
  65431. break;
  65432. case 20:
  65433. // after for
  65434. restArg = $arguments.rest;
  65435. $async$goto = restArg != null ? 22 : 23;
  65436. break;
  65437. case 22:
  65438. // then
  65439. $async$goto = 24;
  65440. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate$_runFunctionCallable$3);
  65441. case 24:
  65442. // returning from await.
  65443. rest = $async$result;
  65444. if (!first)
  65445. buffer._contents += ", ";
  65446. buffer._contents += $async$self._async_evaluate$_serialize$2(rest, restArg);
  65447. case 23:
  65448. // join
  65449. $async$handler = 2;
  65450. // goto after finally
  65451. $async$goto = 17;
  65452. break;
  65453. case 15:
  65454. // catch
  65455. $async$handler = 14;
  65456. $async$exception = $async$currentError;
  65457. t1 = A.unwrapException($async$exception);
  65458. if (type$.SassRuntimeException._is(t1)) {
  65459. error = t1;
  65460. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  65461. throw $async$exception;
  65462. throw A.wrapException(A.MultiSpanSassRuntimeException$(error._span_exception$_message, J.get$span$z(error), "value", A.LinkedHashMap_LinkedHashMap$_literal([nodeWithSpan.get$span(nodeWithSpan), "unknown function treated as plain CSS"], type$.FileSpan, type$.String), J.get$trace$z(error), null));
  65463. } else
  65464. throw $async$exception;
  65465. // goto after finally
  65466. $async$goto = 17;
  65467. break;
  65468. case 14:
  65469. // uncaught
  65470. // goto rethrow
  65471. $async$goto = 2;
  65472. break;
  65473. case 17:
  65474. // after finally
  65475. buffer._contents += A.Primitives_stringFromCharCode(41);
  65476. t1 = buffer._contents;
  65477. $async$returnValue = new A.SassString(t1.charCodeAt(0) == 0 ? t1 : t1, false);
  65478. // goto return
  65479. $async$goto = 1;
  65480. break;
  65481. // goto join
  65482. $async$goto = 12;
  65483. break;
  65484. case 13:
  65485. // else
  65486. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  65487. case 12:
  65488. // join
  65489. case 8:
  65490. // join
  65491. case 4:
  65492. // join
  65493. case 1:
  65494. // return
  65495. return A._asyncReturn($async$returnValue, $async$completer);
  65496. case 2:
  65497. // rethrow
  65498. return A._asyncRethrow($async$currentError, $async$completer);
  65499. }
  65500. });
  65501. return A._asyncStartSync($async$_async_evaluate$_runFunctionCallable$3, $async$completer);
  65502. },
  65503. _async_evaluate$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  65504. return this._runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan);
  65505. },
  65506. _runBuiltInCallable$body$_EvaluateVisitor($arguments, callable, nodeWithSpan) {
  65507. var $async$goto = 0,
  65508. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  65509. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, result, error, stackTrace, message, namedSet, _0_0, declaredArguments, i, t1, t2, t3, argument, t4, t5, t6, t7, rest, argumentList, exception, message0, _box_0, evaluated, oldCallableNode, $async$exception;
  65510. var $async$_async_evaluate$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65511. if ($async$errorCode === 1) {
  65512. $async$currentError = $async$result;
  65513. $async$goto = $async$handler;
  65514. }
  65515. while (true)
  65516. switch ($async$goto) {
  65517. case 0:
  65518. // Function start
  65519. _box_0 = {};
  65520. $async$goto = 3;
  65521. return A._asyncAwait($async$self._async_evaluate$_evaluateArguments$1($arguments), $async$_async_evaluate$_runBuiltInCallable$3);
  65522. case 3:
  65523. // returning from await.
  65524. evaluated = $async$result;
  65525. oldCallableNode = $async$self._async_evaluate$_callableNode;
  65526. $async$self._async_evaluate$_callableNode = nodeWithSpan;
  65527. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  65528. _box_0.callback = _box_0.overload = null;
  65529. _0_0 = callable.callbackFor$2(J.get$length$asx(evaluated._values[2]), namedSet);
  65530. _box_0.overload = _0_0._0;
  65531. _box_0.callback = _0_0._1;
  65532. $async$self._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure2(_box_0, evaluated, namedSet));
  65533. declaredArguments = _box_0.overload.$arguments;
  65534. i = J.get$length$asx(evaluated._values[2]), t1 = declaredArguments.length, t2 = type$._Future_Value, t3 = type$.Future_Value;
  65535. case 4:
  65536. // for condition
  65537. if (!(i < t1)) {
  65538. // goto after for
  65539. $async$goto = 6;
  65540. break;
  65541. }
  65542. argument = declaredArguments[i];
  65543. t4 = evaluated._values[2];
  65544. t5 = evaluated._values[0].remove$1(0, argument.name);
  65545. $async$goto = t5 == null ? 7 : 8;
  65546. break;
  65547. case 7:
  65548. // then
  65549. t5 = argument.defaultValue;
  65550. t6 = t5.accept$1($async$self);
  65551. if (!t3._is(t6)) {
  65552. t7 = new A._Future($.Zone__current, t2);
  65553. t7._state = 8;
  65554. t7._resultOrListeners = t6;
  65555. t6 = t7;
  65556. }
  65557. $async$goto = 9;
  65558. return A._asyncAwait(t6, $async$_async_evaluate$_runBuiltInCallable$3);
  65559. case 9:
  65560. // returning from await.
  65561. t5 = $async$self._async_evaluate$_withoutSlash$2($async$result, t5);
  65562. case 8:
  65563. // join
  65564. J.add$1$ax(t4, t5);
  65565. case 5:
  65566. // for update
  65567. ++i;
  65568. // goto for condition
  65569. $async$goto = 4;
  65570. break;
  65571. case 6:
  65572. // after for
  65573. if (_box_0.overload.restArgument != null) {
  65574. if (J.get$length$asx(evaluated._values[2]) > t1) {
  65575. rest = J.sublist$1$ax(evaluated._values[2], t1);
  65576. J.removeRange$2$ax(evaluated._values[2], t1, J.get$length$asx(evaluated._values[2]));
  65577. } else
  65578. rest = B.List_empty8;
  65579. t1 = evaluated._values[0];
  65580. argumentList = A.SassArgumentList$(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_rXA : evaluated._values[4]);
  65581. J.add$1$ax(evaluated._values[2], argumentList);
  65582. } else
  65583. argumentList = null;
  65584. result = null;
  65585. $async$handler = 11;
  65586. $async$goto = 14;
  65587. return A._asyncAwait($async$self._addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure3(_box_0, evaluated), type$.Value), $async$_async_evaluate$_runBuiltInCallable$3);
  65588. case 14:
  65589. // returning from await.
  65590. result = $async$result;
  65591. $async$handler = 2;
  65592. // goto after finally
  65593. $async$goto = 13;
  65594. break;
  65595. case 11:
  65596. // catch
  65597. $async$handler = 10;
  65598. $async$exception = $async$currentError;
  65599. t1 = A.unwrapException($async$exception);
  65600. if (t1 instanceof A.SassException)
  65601. throw $async$exception;
  65602. else {
  65603. error = t1;
  65604. stackTrace = A.getTraceFromException($async$exception);
  65605. message = null;
  65606. try {
  65607. message = A._asString(J.get$message$x(error));
  65608. } catch (exception) {
  65609. message0 = J.toString$0$(error);
  65610. message = message0;
  65611. }
  65612. A.throwWithTrace($async$self._async_evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  65613. }
  65614. // goto after finally
  65615. $async$goto = 13;
  65616. break;
  65617. case 10:
  65618. // uncaught
  65619. // goto rethrow
  65620. $async$goto = 2;
  65621. break;
  65622. case 13:
  65623. // after finally
  65624. $async$self._async_evaluate$_callableNode = oldCallableNode;
  65625. if (argumentList == null) {
  65626. $async$returnValue = result;
  65627. // goto return
  65628. $async$goto = 1;
  65629. break;
  65630. }
  65631. t1 = evaluated._values[0];
  65632. if (t1.get$isEmpty(t1)) {
  65633. $async$returnValue = result;
  65634. // goto return
  65635. $async$goto = 1;
  65636. break;
  65637. }
  65638. if (argumentList._wereKeywordsAccessed) {
  65639. $async$returnValue = result;
  65640. // goto return
  65641. $async$goto = 1;
  65642. break;
  65643. }
  65644. t1 = evaluated._values[0];
  65645. t1 = A.pluralize("argument", J.get$length$asx(t1.get$keys(t1)), null);
  65646. t2 = evaluated._values[0];
  65647. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + t1 + " named " + A.toSentence(J.map$1$1$ax(t2.get$keys(t2), new A._EvaluateVisitor__runBuiltInCallable_closure4(), type$.Object), "or") + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([_box_0.overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), null));
  65648. case 1:
  65649. // return
  65650. return A._asyncReturn($async$returnValue, $async$completer);
  65651. case 2:
  65652. // rethrow
  65653. return A._asyncRethrow($async$currentError, $async$completer);
  65654. }
  65655. });
  65656. return A._asyncStartSync($async$_async_evaluate$_runBuiltInCallable$3, $async$completer);
  65657. },
  65658. _async_evaluate$_evaluateArguments$1($arguments) {
  65659. return this._evaluateArguments$body$_EvaluateVisitor($arguments);
  65660. },
  65661. _evaluateArguments$body$_EvaluateVisitor($arguments) {
  65662. var $async$goto = 0,
  65663. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_5_Map_String_Value_named_and_Map_String_AstNode_namedNodes_and_List_Value_positional_and_List_AstNode_positionalNodes_and_ListSeparator_separator),
  65664. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, expression, nodeForSpan, t5, t6, named, namedNodes, $name, value, t7, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, positional, positionalNodes, $async$temp1, $async$temp2;
  65665. var $async$_async_evaluate$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65666. if ($async$errorCode === 1)
  65667. return A._asyncRethrow($async$result, $async$completer);
  65668. while (true)
  65669. switch ($async$goto) {
  65670. case 0:
  65671. // Function start
  65672. positional = A._setArrayType([], type$.JSArray_Value);
  65673. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  65674. t1 = $arguments.positional, t2 = t1.length, t3 = type$._Future_Value, t4 = type$.Future_Value, _i = 0;
  65675. case 3:
  65676. // for condition
  65677. if (!(_i < t2)) {
  65678. // goto after for
  65679. $async$goto = 5;
  65680. break;
  65681. }
  65682. expression = t1[_i];
  65683. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(expression);
  65684. t5 = expression.accept$1($async$self);
  65685. if (!t4._is(t5)) {
  65686. t6 = new A._Future($.Zone__current, t3);
  65687. t6._state = 8;
  65688. t6._resultOrListeners = t5;
  65689. t5 = t6;
  65690. }
  65691. $async$temp1 = positional;
  65692. $async$goto = 6;
  65693. return A._asyncAwait(t5, $async$_async_evaluate$_evaluateArguments$1);
  65694. case 6:
  65695. // returning from await.
  65696. $async$temp1.push($async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  65697. positionalNodes.push(nodeForSpan);
  65698. case 4:
  65699. // for update
  65700. ++_i;
  65701. // goto for condition
  65702. $async$goto = 3;
  65703. break;
  65704. case 5:
  65705. // after for
  65706. t1 = type$.String;
  65707. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  65708. t2 = type$.AstNode;
  65709. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  65710. t5 = A.MapExtensions_get_pairs($arguments.named, t1, type$.Expression), t5 = t5.get$iterator(t5);
  65711. case 7:
  65712. // for condition
  65713. if (!t5.moveNext$0()) {
  65714. // goto after for
  65715. $async$goto = 8;
  65716. break;
  65717. }
  65718. t6 = t5.get$current(t5);
  65719. $name = t6._0;
  65720. value = t6._1;
  65721. nodeForSpan = $async$self._async_evaluate$_expressionNode$1(value);
  65722. t6 = value.accept$1($async$self);
  65723. if (!t4._is(t6)) {
  65724. t7 = new A._Future($.Zone__current, t3);
  65725. t7._state = 8;
  65726. t7._resultOrListeners = t6;
  65727. t6 = t7;
  65728. }
  65729. $async$temp1 = named;
  65730. $async$temp2 = $name;
  65731. $async$goto = 9;
  65732. return A._asyncAwait(t6, $async$_async_evaluate$_evaluateArguments$1);
  65733. case 9:
  65734. // returning from await.
  65735. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate$_withoutSlash$2($async$result, nodeForSpan));
  65736. namedNodes.$indexSet(0, $name, nodeForSpan);
  65737. // goto for condition
  65738. $async$goto = 7;
  65739. break;
  65740. case 8:
  65741. // after for
  65742. restArgs = $arguments.rest;
  65743. if (restArgs == null) {
  65744. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided]);
  65745. // goto return
  65746. $async$goto = 1;
  65747. break;
  65748. }
  65749. $async$goto = 10;
  65750. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  65751. case 10:
  65752. // returning from await.
  65753. rest = $async$result;
  65754. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs);
  65755. if (rest instanceof A.SassMap) {
  65756. $async$self._async_evaluate$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure3());
  65757. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  65758. for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
  65759. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  65760. namedNodes.addAll$1(0, t3);
  65761. separator = B.ListSeparator_undecided_null_undecided;
  65762. } else if (rest instanceof A.SassList) {
  65763. t3 = rest._list$_contents;
  65764. 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>")));
  65765. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  65766. separator = rest._separator;
  65767. if (rest instanceof A.SassArgumentList) {
  65768. rest._wereKeywordsAccessed = true;
  65769. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure5($async$self, named, restNodeForSpan, namedNodes));
  65770. }
  65771. } else {
  65772. positional.push($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan));
  65773. positionalNodes.push(restNodeForSpan);
  65774. separator = B.ListSeparator_undecided_null_undecided;
  65775. }
  65776. keywordRestArgs = $arguments.keywordRest;
  65777. if (keywordRestArgs == null) {
  65778. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  65779. // goto return
  65780. $async$goto = 1;
  65781. break;
  65782. }
  65783. $async$goto = 11;
  65784. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate$_evaluateArguments$1);
  65785. case 11:
  65786. // returning from await.
  65787. keywordRest = $async$result;
  65788. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs);
  65789. if (keywordRest instanceof A.SassMap) {
  65790. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure6());
  65791. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  65792. for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
  65793. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  65794. namedNodes.addAll$1(0, t1);
  65795. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  65796. // goto return
  65797. $async$goto = 1;
  65798. break;
  65799. } else
  65800. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  65801. case 1:
  65802. // return
  65803. return A._asyncReturn($async$returnValue, $async$completer);
  65804. }
  65805. });
  65806. return A._asyncStartSync($async$_async_evaluate$_evaluateArguments$1, $async$completer);
  65807. },
  65808. _async_evaluate$_evaluateMacroArguments$1(invocation) {
  65809. return this._evaluateMacroArguments$body$_EvaluateVisitor(invocation);
  65810. },
  65811. _evaluateMacroArguments$body$_EvaluateVisitor(invocation) {
  65812. var $async$goto = 0,
  65813. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_List_Expression_and_Map_String_Expression),
  65814. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  65815. var $async$_async_evaluate$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65816. if ($async$errorCode === 1)
  65817. return A._asyncRethrow($async$result, $async$completer);
  65818. while (true)
  65819. switch ($async$goto) {
  65820. case 0:
  65821. // Function start
  65822. t1 = invocation.$arguments;
  65823. restArgs_ = t1.rest;
  65824. if (restArgs_ == null) {
  65825. $async$returnValue = new A._Record_2(t1.positional, t1.named);
  65826. // goto return
  65827. $async$goto = 1;
  65828. break;
  65829. }
  65830. t2 = t1.positional;
  65831. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  65832. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  65833. $async$goto = 3;
  65834. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  65835. case 3:
  65836. // returning from await.
  65837. rest = $async$result;
  65838. restNodeForSpan = $async$self._async_evaluate$_expressionNode$1(restArgs_);
  65839. if (rest instanceof A.SassMap)
  65840. $async$self._async_evaluate$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure3(restArgs_));
  65841. else if (rest instanceof A.SassList) {
  65842. t2 = rest._list$_contents;
  65843. 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>")));
  65844. if (rest instanceof A.SassArgumentList) {
  65845. rest._wereKeywordsAccessed = true;
  65846. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure5($async$self, named, restNodeForSpan, restArgs_));
  65847. }
  65848. } else
  65849. positional.push(new A.ValueExpression($async$self._async_evaluate$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  65850. keywordRestArgs_ = t1.keywordRest;
  65851. if (keywordRestArgs_ == null) {
  65852. $async$returnValue = new A._Record_2(positional, named);
  65853. // goto return
  65854. $async$goto = 1;
  65855. break;
  65856. }
  65857. $async$goto = 4;
  65858. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate$_evaluateMacroArguments$1);
  65859. case 4:
  65860. // returning from await.
  65861. keywordRest = $async$result;
  65862. keywordRestNodeForSpan = $async$self._async_evaluate$_expressionNode$1(keywordRestArgs_);
  65863. if (keywordRest instanceof A.SassMap) {
  65864. $async$self._async_evaluate$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure6($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  65865. $async$returnValue = new A._Record_2(positional, named);
  65866. // goto return
  65867. $async$goto = 1;
  65868. break;
  65869. } else
  65870. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  65871. case 1:
  65872. // return
  65873. return A._asyncReturn($async$returnValue, $async$completer);
  65874. }
  65875. });
  65876. return A._asyncStartSync($async$_async_evaluate$_evaluateMacroArguments$1, $async$completer);
  65877. },
  65878. _async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  65879. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure0(this, values, convert, this._async_evaluate$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  65880. },
  65881. _async_evaluate$_addRestMap$4(values, map, nodeWithSpan, convert) {
  65882. return this._async_evaluate$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  65883. },
  65884. _async_evaluate$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  65885. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure0($arguments, positional, named));
  65886. },
  65887. visitSelectorExpression$1(node) {
  65888. return this.visitSelectorExpression$body$_EvaluateVisitor(node);
  65889. },
  65890. visitSelectorExpression$body$_EvaluateVisitor(node) {
  65891. var $async$goto = 0,
  65892. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  65893. $async$returnValue, $async$self = this, t1;
  65894. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65895. if ($async$errorCode === 1)
  65896. return A._asyncRethrow($async$result, $async$completer);
  65897. while (true)
  65898. switch ($async$goto) {
  65899. case 0:
  65900. // Function start
  65901. t1 = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  65902. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  65903. $async$returnValue = t1 == null ? B.C__SassNull : t1;
  65904. // goto return
  65905. $async$goto = 1;
  65906. break;
  65907. case 1:
  65908. // return
  65909. return A._asyncReturn($async$returnValue, $async$completer);
  65910. }
  65911. });
  65912. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  65913. },
  65914. visitStringExpression$1(node) {
  65915. return this.visitStringExpression$body$_EvaluateVisitor(node);
  65916. },
  65917. visitStringExpression$body$_EvaluateVisitor(node) {
  65918. var $async$goto = 0,
  65919. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  65920. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, value, t5, _0_0, text, oldInSupportsDeclaration;
  65921. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  65922. if ($async$errorCode === 1)
  65923. return A._asyncRethrow($async$result, $async$completer);
  65924. while (true)
  65925. switch ($async$goto) {
  65926. case 0:
  65927. // Function start
  65928. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  65929. $async$self._async_evaluate$_inSupportsDeclaration = false;
  65930. t1 = A._setArrayType([], type$.JSArray_String);
  65931. t2 = node.text.contents, t3 = t2.length, t4 = type$.Expression, _i = 0;
  65932. case 3:
  65933. // for condition
  65934. if (!(_i < t3)) {
  65935. // goto after for
  65936. $async$goto = 5;
  65937. break;
  65938. }
  65939. value = t2[_i];
  65940. if (typeof value == "string") {
  65941. t5 = value;
  65942. // goto break $label0$0
  65943. $async$goto = 6;
  65944. break;
  65945. }
  65946. $async$goto = t4._is(value) ? 7 : 8;
  65947. break;
  65948. case 7:
  65949. // then
  65950. $async$goto = 9;
  65951. return A._asyncAwait(value.accept$1($async$self), $async$visitStringExpression$1);
  65952. case 9:
  65953. // returning from await.
  65954. _0_0 = $async$result;
  65955. $label1$1: {
  65956. if (_0_0 instanceof A.SassString) {
  65957. text = _0_0._string$_text;
  65958. t5 = true;
  65959. } else {
  65960. text = null;
  65961. t5 = false;
  65962. }
  65963. if (t5) {
  65964. t5 = text;
  65965. break $label1$1;
  65966. }
  65967. t5 = $async$self._async_evaluate$_serialize$3$quote(_0_0, value, false);
  65968. break $label1$1;
  65969. }
  65970. // goto break $label0$0
  65971. $async$goto = 6;
  65972. break;
  65973. case 8:
  65974. // join
  65975. t5 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  65976. case 6:
  65977. // break $label0$0
  65978. t1.push(t5);
  65979. case 4:
  65980. // for update
  65981. ++_i;
  65982. // goto for condition
  65983. $async$goto = 3;
  65984. break;
  65985. case 5:
  65986. // after for
  65987. t1 = B.JSArray_methods.join$0(t1);
  65988. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  65989. $async$returnValue = new A.SassString(t1, node.hasQuotes);
  65990. // goto return
  65991. $async$goto = 1;
  65992. break;
  65993. case 1:
  65994. // return
  65995. return A._asyncReturn($async$returnValue, $async$completer);
  65996. }
  65997. });
  65998. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  65999. },
  66000. visitSupportsExpression$1(expression) {
  66001. return this.visitSupportsExpression$body$_EvaluateVisitor(expression);
  66002. },
  66003. visitSupportsExpression$body$_EvaluateVisitor(expression) {
  66004. var $async$goto = 0,
  66005. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString),
  66006. $async$returnValue, $async$self = this, $async$temp1;
  66007. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66008. if ($async$errorCode === 1)
  66009. return A._asyncRethrow($async$result, $async$completer);
  66010. while (true)
  66011. switch ($async$goto) {
  66012. case 0:
  66013. // Function start
  66014. $async$temp1 = A;
  66015. $async$goto = 3;
  66016. return A._asyncAwait($async$self._async_evaluate$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  66017. case 3:
  66018. // returning from await.
  66019. $async$returnValue = new $async$temp1.SassString($async$result, false);
  66020. // goto return
  66021. $async$goto = 1;
  66022. break;
  66023. case 1:
  66024. // return
  66025. return A._asyncReturn($async$returnValue, $async$completer);
  66026. }
  66027. });
  66028. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  66029. },
  66030. visitCssAtRule$1(node) {
  66031. return this.visitCssAtRule$body$_EvaluateVisitor(node);
  66032. },
  66033. visitCssAtRule$body$_EvaluateVisitor(node) {
  66034. var $async$goto = 0,
  66035. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  66036. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  66037. var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66038. if ($async$errorCode === 1)
  66039. return A._asyncRethrow($async$result, $async$completer);
  66040. while (true)
  66041. switch ($async$goto) {
  66042. case 0:
  66043. // Function start
  66044. if ($async$self._async_evaluate$_declarationName != null)
  66045. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.At_rul, node.span));
  66046. if (node.isChildless) {
  66047. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  66048. // goto return
  66049. $async$goto = 1;
  66050. break;
  66051. }
  66052. wasInKeyframes = $async$self._async_evaluate$_inKeyframes;
  66053. wasInUnknownAtRule = $async$self._async_evaluate$_inUnknownAtRule;
  66054. t1 = node.name;
  66055. if (A.unvendor(t1.value) === "keyframes")
  66056. $async$self._async_evaluate$_inKeyframes = true;
  66057. else
  66058. $async$self._async_evaluate$_inUnknownAtRule = true;
  66059. $async$goto = 3;
  66060. 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);
  66061. case 3:
  66062. // returning from await.
  66063. $async$self._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  66064. $async$self._async_evaluate$_inKeyframes = wasInKeyframes;
  66065. case 1:
  66066. // return
  66067. return A._asyncReturn($async$returnValue, $async$completer);
  66068. }
  66069. });
  66070. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  66071. },
  66072. visitCssComment$1(node) {
  66073. return this.visitCssComment$body$_EvaluateVisitor(node);
  66074. },
  66075. visitCssComment$body$_EvaluateVisitor(node) {
  66076. var $async$goto = 0,
  66077. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  66078. $async$self = this;
  66079. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66080. if ($async$errorCode === 1)
  66081. return A._asyncRethrow($async$result, $async$completer);
  66082. while (true)
  66083. switch ($async$goto) {
  66084. case 0:
  66085. // Function start
  66086. 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))
  66087. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  66088. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(new A.ModifiableCssComment(node.text, node.span));
  66089. // implicit return
  66090. return A._asyncReturn(null, $async$completer);
  66091. }
  66092. });
  66093. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  66094. },
  66095. visitCssDeclaration$1(node) {
  66096. return this.visitCssDeclaration$body$_EvaluateVisitor(node);
  66097. },
  66098. visitCssDeclaration$body$_EvaluateVisitor(node) {
  66099. var $async$goto = 0,
  66100. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  66101. $async$self = this;
  66102. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66103. if ($async$errorCode === 1)
  66104. return A._asyncRethrow($async$result, $async$completer);
  66105. while (true)
  66106. switch ($async$goto) {
  66107. case 0:
  66108. // Function start
  66109. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap));
  66110. // implicit return
  66111. return A._asyncReturn(null, $async$completer);
  66112. }
  66113. });
  66114. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  66115. },
  66116. visitCssImport$1(node) {
  66117. return this.visitCssImport$body$_EvaluateVisitor(node);
  66118. },
  66119. visitCssImport$body$_EvaluateVisitor(node) {
  66120. var $async$goto = 0,
  66121. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  66122. $async$self = this, t1, modifiableNode;
  66123. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66124. if ($async$errorCode === 1)
  66125. return A._asyncRethrow($async$result, $async$completer);
  66126. while (true)
  66127. switch ($async$goto) {
  66128. case 0:
  66129. // Function start
  66130. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  66131. 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"))
  66132. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").addChild$1(modifiableNode);
  66133. 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)) {
  66134. $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__root, "_root").addChild$1(modifiableNode);
  66135. $async$self._async_evaluate$__endOfImports = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__endOfImports, "_endOfImports") + 1;
  66136. } else {
  66137. t1 = $async$self._async_evaluate$_outOfOrderImports;
  66138. (t1 == null ? $async$self._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  66139. }
  66140. // implicit return
  66141. return A._asyncReturn(null, $async$completer);
  66142. }
  66143. });
  66144. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  66145. },
  66146. visitCssKeyframeBlock$1(node) {
  66147. return this.visitCssKeyframeBlock$body$_EvaluateVisitor(node);
  66148. },
  66149. visitCssKeyframeBlock$body$_EvaluateVisitor(node) {
  66150. var $async$goto = 0,
  66151. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  66152. $async$self = this;
  66153. var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66154. if ($async$errorCode === 1)
  66155. return A._asyncRethrow($async$result, $async$completer);
  66156. while (true)
  66157. switch ($async$goto) {
  66158. case 0:
  66159. // Function start
  66160. $async$goto = 2;
  66161. 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);
  66162. case 2:
  66163. // returning from await.
  66164. // implicit return
  66165. return A._asyncReturn(null, $async$completer);
  66166. }
  66167. });
  66168. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  66169. },
  66170. visitCssMediaRule$1(node) {
  66171. return this.visitCssMediaRule$body$_EvaluateVisitor(node);
  66172. },
  66173. visitCssMediaRule$body$_EvaluateVisitor(node) {
  66174. var $async$goto = 0,
  66175. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  66176. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  66177. var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66178. if ($async$errorCode === 1)
  66179. return A._asyncRethrow($async$result, $async$completer);
  66180. while (true)
  66181. switch ($async$goto) {
  66182. case 0:
  66183. // Function start
  66184. if ($async$self._async_evaluate$_declarationName != null)
  66185. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Media_, node.span));
  66186. mergedQueries = A.NullableExtension_andThen($async$self._async_evaluate$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure2($async$self, node));
  66187. t1 = mergedQueries == null;
  66188. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  66189. // goto return
  66190. $async$goto = 1;
  66191. break;
  66192. }
  66193. if (t1)
  66194. mergedSources = B.Set_empty1;
  66195. else {
  66196. t2 = $async$self._async_evaluate$_mediaQuerySources;
  66197. t2.toString;
  66198. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  66199. t3 = $async$self._async_evaluate$_mediaQueries;
  66200. t3.toString;
  66201. t2.addAll$1(0, t3);
  66202. t2.addAll$1(0, node.queries);
  66203. mergedSources = t2;
  66204. }
  66205. t1 = t1 ? node.queries : mergedQueries;
  66206. $async$goto = 3;
  66207. 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);
  66208. case 3:
  66209. // returning from await.
  66210. case 1:
  66211. // return
  66212. return A._asyncReturn($async$returnValue, $async$completer);
  66213. }
  66214. });
  66215. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  66216. },
  66217. visitCssStyleRule$1(node) {
  66218. return this.visitCssStyleRule$body$_EvaluateVisitor(node);
  66219. },
  66220. visitCssStyleRule$body$_EvaluateVisitor(node) {
  66221. var $async$goto = 0,
  66222. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  66223. $async$self = this, t1, styleRule, t2, t3, t4, originalSelector, rule, oldAtRootExcludingStyleRule, _0_0, _0_1, lastChild;
  66224. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66225. if ($async$errorCode === 1)
  66226. return A._asyncRethrow($async$result, $async$completer);
  66227. while (true)
  66228. switch ($async$goto) {
  66229. case 0:
  66230. // Function start
  66231. if ($async$self._async_evaluate$_declarationName != null)
  66232. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Style_, node.span));
  66233. t1 = $async$self._async_evaluate$_atRootExcludingStyleRule;
  66234. styleRule = t1 ? null : $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  66235. t2 = node._style_rule$_selector._box$_inner.value;
  66236. t3 = styleRule == null;
  66237. t4 = t3 ? null : styleRule.originalSelector;
  66238. originalSelector = t2.resolveParentSelectors$2$implicitParent(t4, !t1);
  66239. rule = A.ModifiableCssStyleRule$($async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__extensionStore, "_extensionStore").addSelector$2(originalSelector, $async$self._async_evaluate$_mediaQueries), node.span, originalSelector);
  66240. oldAtRootExcludingStyleRule = $async$self._async_evaluate$_atRootExcludingStyleRule;
  66241. $async$self._async_evaluate$_atRootExcludingStyleRule = false;
  66242. $async$goto = 2;
  66243. return A._asyncAwait($async$self._async_evaluate$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure2($async$self, rule, node), false, new A._EvaluateVisitor_visitCssStyleRule_closure3(), type$.ModifiableCssStyleRule, type$.Null), $async$visitCssStyleRule$1);
  66244. case 2:
  66245. // returning from await.
  66246. $async$self._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  66247. _0_0 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent").children;
  66248. _0_1 = A._InitializedCell$(new A._EvaluateVisitor_visitCssStyleRule_closure4(_0_0));
  66249. if (_0_1._readFinal$0() >= 1) {
  66250. lastChild = J.elementAt$1$ax(_0_0._collection$_source, _0_1._readFinal$0() - 1);
  66251. t1 = t3;
  66252. } else {
  66253. lastChild = null;
  66254. t1 = false;
  66255. }
  66256. if (t1)
  66257. lastChild.isGroupEnd = true;
  66258. // implicit return
  66259. return A._asyncReturn(null, $async$completer);
  66260. }
  66261. });
  66262. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  66263. },
  66264. visitCssStylesheet$1(node) {
  66265. return this.visitCssStylesheet$body$_EvaluateVisitor(node);
  66266. },
  66267. visitCssStylesheet$body$_EvaluateVisitor(node) {
  66268. var $async$goto = 0,
  66269. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  66270. $async$self = this, t1;
  66271. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66272. if ($async$errorCode === 1)
  66273. return A._asyncRethrow($async$result, $async$completer);
  66274. while (true)
  66275. switch ($async$goto) {
  66276. case 0:
  66277. // Function start
  66278. t1 = J.get$iterator$ax(node.get$children(node));
  66279. case 2:
  66280. // for condition
  66281. if (!t1.moveNext$0()) {
  66282. // goto after for
  66283. $async$goto = 3;
  66284. break;
  66285. }
  66286. $async$goto = 4;
  66287. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  66288. case 4:
  66289. // returning from await.
  66290. // goto for condition
  66291. $async$goto = 2;
  66292. break;
  66293. case 3:
  66294. // after for
  66295. // implicit return
  66296. return A._asyncReturn(null, $async$completer);
  66297. }
  66298. });
  66299. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  66300. },
  66301. visitCssSupportsRule$1(node) {
  66302. return this.visitCssSupportsRule$body$_EvaluateVisitor(node);
  66303. },
  66304. visitCssSupportsRule$body$_EvaluateVisitor(node) {
  66305. var $async$goto = 0,
  66306. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  66307. $async$self = this;
  66308. var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66309. if ($async$errorCode === 1)
  66310. return A._asyncRethrow($async$result, $async$completer);
  66311. while (true)
  66312. switch ($async$goto) {
  66313. case 0:
  66314. // Function start
  66315. if ($async$self._async_evaluate$_declarationName != null)
  66316. throw A.wrapException($async$self._async_evaluate$_exception$2(string$.Suppor, node.span));
  66317. $async$goto = 2;
  66318. 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);
  66319. case 2:
  66320. // returning from await.
  66321. // implicit return
  66322. return A._asyncReturn(null, $async$completer);
  66323. }
  66324. });
  66325. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  66326. },
  66327. _async_evaluate$_handleReturn$1$2(list, callback) {
  66328. return this._handleReturn$body$_EvaluateVisitor(list, callback);
  66329. },
  66330. _async_evaluate$_handleReturn$2(list, callback) {
  66331. return this._async_evaluate$_handleReturn$1$2(list, callback, type$.dynamic);
  66332. },
  66333. _handleReturn$body$_EvaluateVisitor(list, callback) {
  66334. var $async$goto = 0,
  66335. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  66336. $async$returnValue, t1, _i, _0_0, result, t2;
  66337. var $async$_async_evaluate$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66338. if ($async$errorCode === 1)
  66339. return A._asyncRethrow($async$result, $async$completer);
  66340. while (true)
  66341. switch ($async$goto) {
  66342. case 0:
  66343. // Function start
  66344. t1 = list.length, _i = 0;
  66345. case 3:
  66346. // for condition
  66347. if (!(_i < list.length)) {
  66348. // goto after for
  66349. $async$goto = 5;
  66350. break;
  66351. }
  66352. $async$goto = 6;
  66353. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate$_handleReturn$1$2);
  66354. case 6:
  66355. // returning from await.
  66356. _0_0 = $async$result;
  66357. if (_0_0 != null) {
  66358. result = _0_0;
  66359. t2 = true;
  66360. } else {
  66361. result = null;
  66362. t2 = false;
  66363. }
  66364. if (t2) {
  66365. $async$returnValue = result;
  66366. // goto return
  66367. $async$goto = 1;
  66368. break;
  66369. }
  66370. case 4:
  66371. // for update
  66372. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  66373. // goto for condition
  66374. $async$goto = 3;
  66375. break;
  66376. case 5:
  66377. // after for
  66378. $async$returnValue = null;
  66379. // goto return
  66380. $async$goto = 1;
  66381. break;
  66382. case 1:
  66383. // return
  66384. return A._asyncReturn($async$returnValue, $async$completer);
  66385. }
  66386. });
  66387. return A._asyncStartSync($async$_async_evaluate$_handleReturn$1$2, $async$completer);
  66388. },
  66389. _async_evaluate$_withEnvironment$1$2(environment, callback, $T) {
  66390. return this._withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $T);
  66391. },
  66392. _withEnvironment$body$_EvaluateVisitor(environment, callback, $T, $async$type) {
  66393. var $async$goto = 0,
  66394. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  66395. $async$returnValue, $async$self = this, result, oldEnvironment;
  66396. var $async$_async_evaluate$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66397. if ($async$errorCode === 1)
  66398. return A._asyncRethrow($async$result, $async$completer);
  66399. while (true)
  66400. switch ($async$goto) {
  66401. case 0:
  66402. // Function start
  66403. oldEnvironment = $async$self._async_evaluate$_environment;
  66404. $async$self._async_evaluate$_environment = environment;
  66405. $async$goto = 3;
  66406. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withEnvironment$1$2);
  66407. case 3:
  66408. // returning from await.
  66409. result = $async$result;
  66410. $async$self._async_evaluate$_environment = oldEnvironment;
  66411. $async$returnValue = result;
  66412. // goto return
  66413. $async$goto = 1;
  66414. break;
  66415. case 1:
  66416. // return
  66417. return A._asyncReturn($async$returnValue, $async$completer);
  66418. }
  66419. });
  66420. return A._asyncStartSync($async$_async_evaluate$_withEnvironment$1$2, $async$completer);
  66421. },
  66422. _async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  66423. return this._interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor);
  66424. },
  66425. _async_evaluate$_interpolationToValue$1(interpolation) {
  66426. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  66427. },
  66428. _async_evaluate$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  66429. return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  66430. },
  66431. _interpolationToValue$body$_EvaluateVisitor(interpolation, trim, warnForColor) {
  66432. var $async$goto = 0,
  66433. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String),
  66434. $async$returnValue, $async$self = this, result, t1;
  66435. var $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66436. if ($async$errorCode === 1)
  66437. return A._asyncRethrow($async$result, $async$completer);
  66438. while (true)
  66439. switch ($async$goto) {
  66440. case 0:
  66441. // Function start
  66442. $async$goto = 3;
  66443. return A._asyncAwait($async$self._async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate$_interpolationToValue$3$trim$warnForColor);
  66444. case 3:
  66445. // returning from await.
  66446. result = $async$result;
  66447. t1 = trim ? A.trimAscii(result, true) : result;
  66448. $async$returnValue = new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  66449. // goto return
  66450. $async$goto = 1;
  66451. break;
  66452. case 1:
  66453. // return
  66454. return A._asyncReturn($async$returnValue, $async$completer);
  66455. }
  66456. });
  66457. return A._asyncStartSync($async$_async_evaluate$_interpolationToValue$3$trim$warnForColor, $async$completer);
  66458. },
  66459. _async_evaluate$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  66460. return this._performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor);
  66461. },
  66462. _async_evaluate$_performInterpolation$1(interpolation) {
  66463. return this._async_evaluate$_performInterpolation$2$warnForColor(interpolation, false);
  66464. },
  66465. _performInterpolation$body$_EvaluateVisitor(interpolation, warnForColor) {
  66466. var $async$goto = 0,
  66467. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  66468. $async$returnValue, $async$self = this;
  66469. var $async$_async_evaluate$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66470. if ($async$errorCode === 1)
  66471. return A._asyncRethrow($async$result, $async$completer);
  66472. while (true)
  66473. switch ($async$goto) {
  66474. case 0:
  66475. // Function start
  66476. $async$goto = 3;
  66477. return A._asyncAwait($async$self._async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor), $async$_async_evaluate$_performInterpolation$2$warnForColor);
  66478. case 3:
  66479. // returning from await.
  66480. $async$returnValue = $async$result._0;
  66481. // goto return
  66482. $async$goto = 1;
  66483. break;
  66484. case 1:
  66485. // return
  66486. return A._asyncReturn($async$returnValue, $async$completer);
  66487. }
  66488. });
  66489. return A._asyncStartSync($async$_async_evaluate$_performInterpolation$2$warnForColor, $async$completer);
  66490. },
  66491. _async_evaluate$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  66492. return this._performInterpolationWithMap$body$_EvaluateVisitor(interpolation, true);
  66493. },
  66494. _performInterpolationWithMap$body$_EvaluateVisitor(interpolation, warnForColor) {
  66495. var $async$goto = 0,
  66496. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_InterpolationMap),
  66497. $async$returnValue, $async$self = this, _0_0, result, map;
  66498. var $async$_async_evaluate$_performInterpolationWithMap$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66499. if ($async$errorCode === 1)
  66500. return A._asyncRethrow($async$result, $async$completer);
  66501. while (true)
  66502. switch ($async$goto) {
  66503. case 0:
  66504. // Function start
  66505. $async$goto = 3;
  66506. return A._asyncAwait($async$self._async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true), $async$_async_evaluate$_performInterpolationWithMap$2$warnForColor);
  66507. case 3:
  66508. // returning from await.
  66509. _0_0 = $async$result;
  66510. result = _0_0._0;
  66511. map = _0_0._1;
  66512. map.toString;
  66513. $async$returnValue = new A._Record_2(result, map);
  66514. // goto return
  66515. $async$goto = 1;
  66516. break;
  66517. case 1:
  66518. // return
  66519. return A._asyncReturn($async$returnValue, $async$completer);
  66520. }
  66521. });
  66522. return A._asyncStartSync($async$_async_evaluate$_performInterpolationWithMap$2$warnForColor, $async$completer);
  66523. },
  66524. _async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  66525. return this._performInterpolationHelper$body$_EvaluateVisitor(interpolation, sourceMap, warnForColor);
  66526. },
  66527. _performInterpolationHelper$body$_EvaluateVisitor(interpolation, sourceMap, warnForColor) {
  66528. var $async$goto = 0,
  66529. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_nullable_InterpolationMap),
  66530. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, t7, first, _i, t8, value, result, t9, result0, targetLocations, oldInSupportsDeclaration;
  66531. var $async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66532. if ($async$errorCode === 1)
  66533. return A._asyncRethrow($async$result, $async$completer);
  66534. while (true)
  66535. switch ($async$goto) {
  66536. case 0:
  66537. // Function start
  66538. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : null;
  66539. oldInSupportsDeclaration = $async$self._async_evaluate$_inSupportsDeclaration;
  66540. $async$self._async_evaluate$_inSupportsDeclaration = false;
  66541. t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression, t4 = targetLocations == null, t5 = type$.JSArray_Object, t6 = interpolation.span, t7 = type$.Object, first = true, _i = 0, t8 = "";
  66542. case 3:
  66543. // for condition
  66544. if (!(_i < t2)) {
  66545. // goto after for
  66546. $async$goto = 5;
  66547. break;
  66548. }
  66549. value = t1[_i];
  66550. if (!first)
  66551. if (!t4)
  66552. targetLocations.push(A.SourceLocation$(t8.length, null, null, null));
  66553. if (typeof value == "string") {
  66554. t8 += value;
  66555. // goto for update
  66556. $async$goto = 4;
  66557. break;
  66558. }
  66559. t3._as(value);
  66560. $async$goto = 6;
  66561. return A._asyncAwait(value.accept$1($async$self), $async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor);
  66562. case 6:
  66563. // returning from await.
  66564. result = $async$result;
  66565. if (warnForColor && $.$get$namesByColor().containsKey$1(result)) {
  66566. t9 = A._setArrayType([""], t5);
  66567. result0 = A.List_List$from(t9, false, t7);
  66568. result0.fixed$length = Array;
  66569. result0.immutable$list = Array;
  66570. result0 = new A.Interpolation(result0, t6);
  66571. result0.Interpolation$2(t9, t6);
  66572. t9 = $.$get$namesByColor();
  66573. $async$self._async_evaluate$_warn$2(string$.You_pr + A.S(t9.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t9.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression(B.BinaryOperator_anB, new A.StringExpression(result0, true), value, false).toString$0(0) + "'.", value.get$span(value));
  66574. }
  66575. t8 += $async$self._async_evaluate$_serialize$3$quote(result, value, false);
  66576. case 4:
  66577. // for update
  66578. ++_i, first = false;
  66579. // goto for condition
  66580. $async$goto = 3;
  66581. break;
  66582. case 5:
  66583. // after for
  66584. $async$self._async_evaluate$_inSupportsDeclaration = oldInSupportsDeclaration;
  66585. $async$returnValue = new A._Record_2(t8.charCodeAt(0) == 0 ? t8 : t8, A.NullableExtension_andThen(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure0(interpolation)));
  66586. // goto return
  66587. $async$goto = 1;
  66588. break;
  66589. case 1:
  66590. // return
  66591. return A._asyncReturn($async$returnValue, $async$completer);
  66592. }
  66593. });
  66594. return A._asyncStartSync($async$_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor, $async$completer);
  66595. },
  66596. _evaluateToCss$2$quote(expression, quote) {
  66597. return this._evaluateToCss$body$_EvaluateVisitor(expression, quote);
  66598. },
  66599. _evaluateToCss$1(expression) {
  66600. return this._evaluateToCss$2$quote(expression, true);
  66601. },
  66602. _evaluateToCss$body$_EvaluateVisitor(expression, quote) {
  66603. var $async$goto = 0,
  66604. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  66605. $async$returnValue, $async$self = this, t1;
  66606. var $async$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66607. if ($async$errorCode === 1)
  66608. return A._asyncRethrow($async$result, $async$completer);
  66609. while (true)
  66610. switch ($async$goto) {
  66611. case 0:
  66612. // Function start
  66613. t1 = expression.accept$1($async$self);
  66614. $async$goto = 3;
  66615. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$_evaluateToCss$2$quote);
  66616. case 3:
  66617. // returning from await.
  66618. $async$returnValue = $async$self._async_evaluate$_serialize$3$quote($async$result, expression, quote);
  66619. // goto return
  66620. $async$goto = 1;
  66621. break;
  66622. case 1:
  66623. // return
  66624. return A._asyncReturn($async$returnValue, $async$completer);
  66625. }
  66626. });
  66627. return A._asyncStartSync($async$_evaluateToCss$2$quote, $async$completer);
  66628. },
  66629. _async_evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  66630. return this._async_evaluate$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure0(value, quote));
  66631. },
  66632. _async_evaluate$_serialize$2(value, nodeWithSpan) {
  66633. return this._async_evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  66634. },
  66635. _async_evaluate$_expressionNode$1(expression) {
  66636. var t1;
  66637. if (expression instanceof A.VariableExpression) {
  66638. t1 = this._async_evaluate$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure0(this, expression));
  66639. return t1 == null ? expression : t1;
  66640. } else
  66641. return expression;
  66642. },
  66643. _async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  66644. return this._withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $T);
  66645. },
  66646. _async_evaluate$_withParent$2$2(node, callback, $S, $T) {
  66647. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  66648. },
  66649. _async_evaluate$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  66650. return this._async_evaluate$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  66651. },
  66652. _withParent$body$_EvaluateVisitor(node, callback, scopeWhen, through, $S, $T, $async$type) {
  66653. var $async$goto = 0,
  66654. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  66655. $async$returnValue, $async$self = this, t1, result;
  66656. var $async$_async_evaluate$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66657. if ($async$errorCode === 1)
  66658. return A._asyncRethrow($async$result, $async$completer);
  66659. while (true)
  66660. switch ($async$goto) {
  66661. case 0:
  66662. // Function start
  66663. $async$self._async_evaluate$_addChild$2$through(node, through);
  66664. t1 = $async$self._async_evaluate$_assertInModule$2($async$self._async_evaluate$__parent, "__parent");
  66665. $async$self._async_evaluate$__parent = node;
  66666. $async$goto = 3;
  66667. return A._asyncAwait($async$self._async_evaluate$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate$_withParent$2$4$scopeWhen$through);
  66668. case 3:
  66669. // returning from await.
  66670. result = $async$result;
  66671. $async$self._async_evaluate$__parent = t1;
  66672. $async$returnValue = result;
  66673. // goto return
  66674. $async$goto = 1;
  66675. break;
  66676. case 1:
  66677. // return
  66678. return A._asyncReturn($async$returnValue, $async$completer);
  66679. }
  66680. });
  66681. return A._asyncStartSync($async$_async_evaluate$_withParent$2$4$scopeWhen$through, $async$completer);
  66682. },
  66683. _async_evaluate$_addChild$2$through(node, through) {
  66684. var _0_0, grandparent, t1,
  66685. $parent = this._async_evaluate$_assertInModule$2(this._async_evaluate$__parent, "__parent");
  66686. if (through != null) {
  66687. for (; through.call$1($parent); $parent = grandparent) {
  66688. _0_0 = $parent._parent;
  66689. if (_0_0 != null) {
  66690. grandparent = _0_0;
  66691. t1 = true;
  66692. } else {
  66693. grandparent = null;
  66694. t1 = false;
  66695. }
  66696. if (!t1)
  66697. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  66698. }
  66699. if ($parent.get$hasFollowingSibling()) {
  66700. grandparent = $parent._parent;
  66701. t1 = grandparent.children;
  66702. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  66703. $parent = type$.ModifiableCssParentNode._as(t1.get$last(t1));
  66704. else {
  66705. $parent = $parent.copyWithoutChildren$0();
  66706. grandparent.addChild$1($parent);
  66707. }
  66708. }
  66709. }
  66710. $parent.addChild$1(node);
  66711. },
  66712. _async_evaluate$_addChild$1(node) {
  66713. return this._async_evaluate$_addChild$2$through(node, null);
  66714. },
  66715. _async_evaluate$_withStyleRule$1$2(rule, callback, $T) {
  66716. return this._withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $T);
  66717. },
  66718. _withStyleRule$body$_EvaluateVisitor(rule, callback, $T, $async$type) {
  66719. var $async$goto = 0,
  66720. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  66721. $async$returnValue, $async$self = this, result, oldRule;
  66722. var $async$_async_evaluate$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66723. if ($async$errorCode === 1)
  66724. return A._asyncRethrow($async$result, $async$completer);
  66725. while (true)
  66726. switch ($async$goto) {
  66727. case 0:
  66728. // Function start
  66729. oldRule = $async$self._async_evaluate$_styleRuleIgnoringAtRoot;
  66730. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = rule;
  66731. $async$goto = 3;
  66732. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStyleRule$1$2);
  66733. case 3:
  66734. // returning from await.
  66735. result = $async$result;
  66736. $async$self._async_evaluate$_styleRuleIgnoringAtRoot = oldRule;
  66737. $async$returnValue = result;
  66738. // goto return
  66739. $async$goto = 1;
  66740. break;
  66741. case 1:
  66742. // return
  66743. return A._asyncReturn($async$returnValue, $async$completer);
  66744. }
  66745. });
  66746. return A._asyncStartSync($async$_async_evaluate$_withStyleRule$1$2, $async$completer);
  66747. },
  66748. _async_evaluate$_withMediaQueries$1$3(queries, sources, callback, $T) {
  66749. return this._withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $T);
  66750. },
  66751. _withMediaQueries$body$_EvaluateVisitor(queries, sources, callback, $T, $async$type) {
  66752. var $async$goto = 0,
  66753. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  66754. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  66755. var $async$_async_evaluate$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66756. if ($async$errorCode === 1)
  66757. return A._asyncRethrow($async$result, $async$completer);
  66758. while (true)
  66759. switch ($async$goto) {
  66760. case 0:
  66761. // Function start
  66762. oldMediaQueries = $async$self._async_evaluate$_mediaQueries;
  66763. oldSources = $async$self._async_evaluate$_mediaQuerySources;
  66764. $async$self._async_evaluate$_mediaQueries = queries;
  66765. $async$self._async_evaluate$_mediaQuerySources = sources;
  66766. $async$goto = 3;
  66767. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withMediaQueries$1$3);
  66768. case 3:
  66769. // returning from await.
  66770. result = $async$result;
  66771. $async$self._async_evaluate$_mediaQueries = oldMediaQueries;
  66772. $async$self._async_evaluate$_mediaQuerySources = oldSources;
  66773. $async$returnValue = result;
  66774. // goto return
  66775. $async$goto = 1;
  66776. break;
  66777. case 1:
  66778. // return
  66779. return A._asyncReturn($async$returnValue, $async$completer);
  66780. }
  66781. });
  66782. return A._asyncStartSync($async$_async_evaluate$_withMediaQueries$1$3, $async$completer);
  66783. },
  66784. _async_evaluate$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  66785. return this._withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $T);
  66786. },
  66787. _withStackFrame$body$_EvaluateVisitor(member, nodeWithSpan, callback, $T, $async$type) {
  66788. var $async$goto = 0,
  66789. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  66790. $async$returnValue, $async$self = this, oldMember, result, t1;
  66791. var $async$_async_evaluate$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66792. if ($async$errorCode === 1)
  66793. return A._asyncRethrow($async$result, $async$completer);
  66794. while (true)
  66795. switch ($async$goto) {
  66796. case 0:
  66797. // Function start
  66798. t1 = $async$self._async_evaluate$_stack;
  66799. t1.push(new A._Record_2($async$self._async_evaluate$_member, nodeWithSpan));
  66800. oldMember = $async$self._async_evaluate$_member;
  66801. $async$self._async_evaluate$_member = member;
  66802. $async$goto = 3;
  66803. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_withStackFrame$1$3);
  66804. case 3:
  66805. // returning from await.
  66806. result = $async$result;
  66807. $async$self._async_evaluate$_member = oldMember;
  66808. t1.pop();
  66809. $async$returnValue = result;
  66810. // goto return
  66811. $async$goto = 1;
  66812. break;
  66813. case 1:
  66814. // return
  66815. return A._asyncReturn($async$returnValue, $async$completer);
  66816. }
  66817. });
  66818. return A._asyncStartSync($async$_async_evaluate$_withStackFrame$1$3, $async$completer);
  66819. },
  66820. _async_evaluate$_withoutSlash$2(value, nodeForSpan) {
  66821. if (value instanceof A.SassNumber && value.asSlash != null && true)
  66822. this._async_evaluate$_warn$3(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation0().call$1(value)) + string$.x0a_Morex20, nodeForSpan.get$span(nodeForSpan), B.Deprecation_xHK);
  66823. return value.withoutSlash$0();
  66824. },
  66825. _async_evaluate$_stackFrame$2(member, span) {
  66826. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure0(this)));
  66827. },
  66828. _async_evaluate$_stackTrace$1(span) {
  66829. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  66830. t1 = A._setArrayType([], type$.JSArray_Frame);
  66831. for (t2 = _this._async_evaluate$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  66832. t4 = t2[_i];
  66833. nodeWithSpan = t4._1;
  66834. t1.push(_this._async_evaluate$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  66835. }
  66836. if (span != null)
  66837. t1.push(_this._async_evaluate$_stackFrame$2(_this._async_evaluate$_member, span));
  66838. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  66839. },
  66840. _async_evaluate$_stackTrace$0() {
  66841. return this._async_evaluate$_stackTrace$1(null);
  66842. },
  66843. _async_evaluate$_warn$3(message, span, deprecation) {
  66844. var t1, trace, _this = this;
  66845. if (_this._async_evaluate$_quietDeps)
  66846. if (!_this._async_evaluate$_inDependency) {
  66847. t1 = _this._async_evaluate$_currentCallable;
  66848. t1 = t1 == null ? null : t1.inDependency;
  66849. t1 = t1 === true;
  66850. } else
  66851. t1 = true;
  66852. else
  66853. t1 = false;
  66854. if (t1)
  66855. return;
  66856. if (!_this._async_evaluate$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  66857. return;
  66858. trace = _this._async_evaluate$_stackTrace$1(span);
  66859. t1 = _this._async_evaluate$_logger;
  66860. if (deprecation == null)
  66861. t1.warn$3$span$trace(0, message, span, trace);
  66862. else
  66863. A.WarnForDeprecation_warnForDeprecation(t1, deprecation, message, span, trace);
  66864. },
  66865. _async_evaluate$_warn$2(message, span) {
  66866. return this._async_evaluate$_warn$3(message, span, null);
  66867. },
  66868. _async_evaluate$_exception$2(message, span) {
  66869. var t1, t2;
  66870. if (span == null) {
  66871. t1 = B.JSArray_methods.get$last(this._async_evaluate$_stack)._1;
  66872. t1 = t1.get$span(t1);
  66873. } else
  66874. t1 = span;
  66875. t2 = this._async_evaluate$_stackTrace$1(span);
  66876. return new A.SassRuntimeException(t2, B.Set_empty, message, t1);
  66877. },
  66878. _async_evaluate$_exception$1(message) {
  66879. return this._async_evaluate$_exception$2(message, null);
  66880. },
  66881. _async_evaluate$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  66882. var t1 = B.JSArray_methods.get$last(this._async_evaluate$_stack)._1;
  66883. return A.MultiSpanSassRuntimeException$(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._async_evaluate$_stackTrace$0(), null);
  66884. },
  66885. _async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  66886. var error, stackTrace, t1, exception,
  66887. addStackFrame = true;
  66888. try {
  66889. t1 = callback.call$0();
  66890. return t1;
  66891. } catch (exception) {
  66892. t1 = A.unwrapException(exception);
  66893. if (t1 instanceof A.SassScriptException) {
  66894. error = t1;
  66895. stackTrace = A.getTraceFromException(exception);
  66896. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  66897. A.throwWithTrace(t1.withTrace$1(this._async_evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  66898. } else
  66899. throw exception;
  66900. }
  66901. },
  66902. _async_evaluate$_addExceptionSpan$2(nodeWithSpan, callback) {
  66903. return this._async_evaluate$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  66904. },
  66905. _addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, $T) {
  66906. return this._addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, addStackFrame, $T, $T);
  66907. },
  66908. _addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  66909. return this._addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, true, $T);
  66910. },
  66911. _addExceptionSpanAsync$body$_EvaluateVisitor(nodeWithSpan, callback, addStackFrame, $T, $async$type) {
  66912. var $async$goto = 0,
  66913. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  66914. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, $async$exception;
  66915. var $async$_addExceptionSpanAsync$1$3$addStackFrame = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66916. if ($async$errorCode === 1) {
  66917. $async$currentError = $async$result;
  66918. $async$goto = $async$handler;
  66919. }
  66920. while (true)
  66921. switch ($async$goto) {
  66922. case 0:
  66923. // Function start
  66924. $async$handler = 4;
  66925. t1 = callback.call$0();
  66926. $async$goto = 7;
  66927. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_addExceptionSpanAsync$1$3$addStackFrame);
  66928. case 7:
  66929. // returning from await.
  66930. t1 = $async$result;
  66931. $async$returnValue = t1;
  66932. // goto return
  66933. $async$goto = 1;
  66934. break;
  66935. $async$handler = 2;
  66936. // goto after finally
  66937. $async$goto = 6;
  66938. break;
  66939. case 4:
  66940. // catch
  66941. $async$handler = 3;
  66942. $async$exception = $async$currentError;
  66943. t1 = A.unwrapException($async$exception);
  66944. if (t1 instanceof A.SassScriptException) {
  66945. error = t1;
  66946. stackTrace = A.getTraceFromException($async$exception);
  66947. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  66948. A.throwWithTrace(t1.withTrace$1($async$self._async_evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  66949. } else
  66950. throw $async$exception;
  66951. // goto after finally
  66952. $async$goto = 6;
  66953. break;
  66954. case 3:
  66955. // uncaught
  66956. // goto rethrow
  66957. $async$goto = 2;
  66958. break;
  66959. case 6:
  66960. // after finally
  66961. case 1:
  66962. // return
  66963. return A._asyncReturn($async$returnValue, $async$completer);
  66964. case 2:
  66965. // rethrow
  66966. return A._asyncRethrow($async$currentError, $async$completer);
  66967. }
  66968. });
  66969. return A._asyncStartSync($async$_addExceptionSpanAsync$1$3$addStackFrame, $async$completer);
  66970. },
  66971. _async_evaluate$_addExceptionTrace$1$1(callback, $T) {
  66972. return this._addExceptionTrace$body$_EvaluateVisitor(callback, $T, $T);
  66973. },
  66974. _addExceptionTrace$body$_EvaluateVisitor(callback, $T, $async$type) {
  66975. var $async$goto = 0,
  66976. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  66977. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  66978. var $async$_async_evaluate$_addExceptionTrace$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  66979. if ($async$errorCode === 1) {
  66980. $async$currentError = $async$result;
  66981. $async$goto = $async$handler;
  66982. }
  66983. while (true)
  66984. switch ($async$goto) {
  66985. case 0:
  66986. // Function start
  66987. $async$handler = 4;
  66988. t1 = callback.call$0();
  66989. $async$goto = 7;
  66990. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate$_addExceptionTrace$1$1);
  66991. case 7:
  66992. // returning from await.
  66993. t1 = $async$result;
  66994. $async$returnValue = t1;
  66995. // goto return
  66996. $async$goto = 1;
  66997. break;
  66998. $async$handler = 2;
  66999. // goto after finally
  67000. $async$goto = 6;
  67001. break;
  67002. case 4:
  67003. // catch
  67004. $async$handler = 3;
  67005. $async$exception = $async$currentError;
  67006. t1 = A.unwrapException($async$exception);
  67007. if (type$.SassRuntimeException._is(t1))
  67008. throw $async$exception;
  67009. else if (t1 instanceof A.SassException) {
  67010. error = t1;
  67011. stackTrace = A.getTraceFromException($async$exception);
  67012. t1 = error;
  67013. t2 = J.getInterceptor$z(t1);
  67014. A.throwWithTrace(error.withTrace$1($async$self._async_evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  67015. } else
  67016. throw $async$exception;
  67017. // goto after finally
  67018. $async$goto = 6;
  67019. break;
  67020. case 3:
  67021. // uncaught
  67022. // goto rethrow
  67023. $async$goto = 2;
  67024. break;
  67025. case 6:
  67026. // after finally
  67027. case 1:
  67028. // return
  67029. return A._asyncReturn($async$returnValue, $async$completer);
  67030. case 2:
  67031. // rethrow
  67032. return A._asyncRethrow($async$currentError, $async$completer);
  67033. }
  67034. });
  67035. return A._asyncStartSync($async$_async_evaluate$_addExceptionTrace$1$1, $async$completer);
  67036. },
  67037. _async_evaluate$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  67038. return this._addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $T);
  67039. },
  67040. _addErrorSpan$body$_EvaluateVisitor(nodeWithSpan, callback, $T, $async$type) {
  67041. var $async$goto = 0,
  67042. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  67043. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, t3, $async$exception;
  67044. var $async$_async_evaluate$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67045. if ($async$errorCode === 1) {
  67046. $async$currentError = $async$result;
  67047. $async$goto = $async$handler;
  67048. }
  67049. while (true)
  67050. switch ($async$goto) {
  67051. case 0:
  67052. // Function start
  67053. $async$handler = 4;
  67054. $async$goto = 7;
  67055. return A._asyncAwait(callback.call$0(), $async$_async_evaluate$_addErrorSpan$1$2);
  67056. case 7:
  67057. // returning from await.
  67058. t1 = $async$result;
  67059. $async$returnValue = t1;
  67060. // goto return
  67061. $async$goto = 1;
  67062. break;
  67063. $async$handler = 2;
  67064. // goto after finally
  67065. $async$goto = 6;
  67066. break;
  67067. case 4:
  67068. // catch
  67069. $async$handler = 3;
  67070. $async$exception = $async$currentError;
  67071. t1 = A.unwrapException($async$exception);
  67072. if (type$.SassRuntimeException._is(t1)) {
  67073. error = t1;
  67074. stackTrace = A.getTraceFromException($async$exception);
  67075. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  67076. throw $async$exception;
  67077. t1 = error._span_exception$_message;
  67078. t2 = nodeWithSpan.get$span(nodeWithSpan);
  67079. t3 = $async$self._async_evaluate$_stackTrace$0();
  67080. A.throwWithTrace(new A.SassRuntimeException(t3, B.Set_empty, t1, t2), error, stackTrace);
  67081. } else
  67082. throw $async$exception;
  67083. // goto after finally
  67084. $async$goto = 6;
  67085. break;
  67086. case 3:
  67087. // uncaught
  67088. // goto rethrow
  67089. $async$goto = 2;
  67090. break;
  67091. case 6:
  67092. // after finally
  67093. case 1:
  67094. // return
  67095. return A._asyncReturn($async$returnValue, $async$completer);
  67096. case 2:
  67097. // rethrow
  67098. return A._asyncRethrow($async$currentError, $async$completer);
  67099. }
  67100. });
  67101. return A._asyncStartSync($async$_async_evaluate$_addErrorSpan$1$2, $async$completer);
  67102. }
  67103. };
  67104. A._EvaluateVisitor_closure12.prototype = {
  67105. call$1($arguments) {
  67106. var module, t2,
  67107. t1 = J.getInterceptor$asx($arguments),
  67108. variable = t1.$index($arguments, 0).assertString$1("name");
  67109. t1 = t1.$index($arguments, 1).get$realNull();
  67110. module = t1 == null ? null : t1.assertString$1("module");
  67111. t1 = this.$this._async_evaluate$_environment;
  67112. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  67113. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  67114. },
  67115. $signature: 23
  67116. };
  67117. A._EvaluateVisitor_closure13.prototype = {
  67118. call$1($arguments) {
  67119. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  67120. t1 = this.$this._async_evaluate$_environment;
  67121. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  67122. },
  67123. $signature: 23
  67124. };
  67125. A._EvaluateVisitor_closure14.prototype = {
  67126. call$1($arguments) {
  67127. var module, t2, t3, t4,
  67128. t1 = J.getInterceptor$asx($arguments),
  67129. variable = t1.$index($arguments, 0).assertString$1("name");
  67130. t1 = t1.$index($arguments, 1).get$realNull();
  67131. module = t1 == null ? null : t1.assertString$1("module");
  67132. t1 = this.$this;
  67133. t2 = t1._async_evaluate$_environment;
  67134. t3 = variable._string$_text;
  67135. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  67136. 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;
  67137. },
  67138. $signature: 23
  67139. };
  67140. A._EvaluateVisitor_closure15.prototype = {
  67141. call$1($arguments) {
  67142. var module, t2,
  67143. t1 = J.getInterceptor$asx($arguments),
  67144. variable = t1.$index($arguments, 0).assertString$1("name");
  67145. t1 = t1.$index($arguments, 1).get$realNull();
  67146. module = t1 == null ? null : t1.assertString$1("module");
  67147. t1 = this.$this._async_evaluate$_environment;
  67148. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  67149. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  67150. },
  67151. $signature: 23
  67152. };
  67153. A._EvaluateVisitor_closure16.prototype = {
  67154. call$1($arguments) {
  67155. var t1 = this.$this._async_evaluate$_environment;
  67156. if (!t1._async_environment$_inMixin)
  67157. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  67158. return t1._async_environment$_content != null ? B.SassBoolean_true : B.SassBoolean_false;
  67159. },
  67160. $signature: 23
  67161. };
  67162. A._EvaluateVisitor_closure17.prototype = {
  67163. call$1($arguments) {
  67164. var t2, t3, t4,
  67165. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  67166. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  67167. if (module == null)
  67168. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  67169. t1 = type$.Value;
  67170. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  67171. for (t3 = A.MapExtensions_get_pairs(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  67172. t4 = t3.get$current(t3);
  67173. t2.$indexSet(0, new A.SassString(t4._0, true), t4._1);
  67174. }
  67175. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  67176. },
  67177. $signature: 38
  67178. };
  67179. A._EvaluateVisitor_closure18.prototype = {
  67180. call$1($arguments) {
  67181. var t2, t3, t4,
  67182. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  67183. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  67184. if (module == null)
  67185. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  67186. t1 = type$.Value;
  67187. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  67188. for (t3 = A.MapExtensions_get_pairs(module.get$functions(module), type$.String, type$.AsyncCallable), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  67189. t4 = t3.get$current(t3);
  67190. t2.$indexSet(0, new A.SassString(t4._0, true), new A.SassFunction(t4._1));
  67191. }
  67192. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  67193. },
  67194. $signature: 38
  67195. };
  67196. A._EvaluateVisitor_closure19.prototype = {
  67197. call$1($arguments) {
  67198. var t2, t3, t4,
  67199. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  67200. module = this.$this._async_evaluate$_environment._async_environment$_modules.$index(0, t1);
  67201. if (module == null)
  67202. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  67203. t1 = type$.Value;
  67204. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  67205. for (t3 = A.MapExtensions_get_pairs(module.get$mixins(), type$.String, type$.AsyncCallable), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  67206. t4 = t3.get$current(t3);
  67207. t2.$indexSet(0, new A.SassString(t4._0, true), new A.SassMixin(t4._1));
  67208. }
  67209. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  67210. },
  67211. $signature: 38
  67212. };
  67213. A._EvaluateVisitor_closure20.prototype = {
  67214. call$1($arguments) {
  67215. var module, t2, callable,
  67216. t1 = J.getInterceptor$asx($arguments),
  67217. $name = t1.$index($arguments, 0).assertString$1("name"),
  67218. css = t1.$index($arguments, 1).get$isTruthy();
  67219. t1 = t1.$index($arguments, 2).get$realNull();
  67220. module = t1 == null ? null : t1.assertString$1("module");
  67221. if (css) {
  67222. if (module != null)
  67223. throw A.wrapException(string$.x24css_a);
  67224. return new A.SassFunction(new A.PlainCssCallable($name._string$_text));
  67225. }
  67226. t1 = this.$this;
  67227. t2 = t1._async_evaluate$_callableNode;
  67228. t2.toString;
  67229. callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure6(t1, $name, module));
  67230. if (callable == null)
  67231. throw A.wrapException("Function not found: " + $name.toString$0(0));
  67232. return new A.SassFunction(callable);
  67233. },
  67234. $signature: 164
  67235. };
  67236. A._EvaluateVisitor__closure6.prototype = {
  67237. call$0() {
  67238. var local,
  67239. normalizedName = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  67240. t1 = this.module,
  67241. namespace = t1 == null ? null : t1._string$_text;
  67242. t1 = this.$this;
  67243. local = t1._async_evaluate$_environment.getFunction$2$namespace(normalizedName, namespace);
  67244. if (local != null || namespace != null)
  67245. return local;
  67246. return t1._async_evaluate$_builtInFunctions.$index(0, normalizedName);
  67247. },
  67248. $signature: 103
  67249. };
  67250. A._EvaluateVisitor_closure21.prototype = {
  67251. call$1($arguments) {
  67252. var module, t2, callable,
  67253. t1 = J.getInterceptor$asx($arguments),
  67254. $name = t1.$index($arguments, 0).assertString$1("name");
  67255. t1 = t1.$index($arguments, 1).get$realNull();
  67256. module = t1 == null ? null : t1.assertString$1("module");
  67257. t1 = this.$this;
  67258. t2 = t1._async_evaluate$_callableNode;
  67259. t2.toString;
  67260. callable = t1._async_evaluate$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure5(t1, $name, module));
  67261. if (callable == null)
  67262. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  67263. return new A.SassMixin(callable);
  67264. },
  67265. $signature: 161
  67266. };
  67267. A._EvaluateVisitor__closure5.prototype = {
  67268. call$0() {
  67269. var t1 = this.$this._async_evaluate$_environment,
  67270. t2 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  67271. t3 = this.module;
  67272. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string$_text);
  67273. },
  67274. $signature: 103
  67275. };
  67276. A._EvaluateVisitor_closure22.prototype = {
  67277. call$1($arguments) {
  67278. return this.$call$body$_EvaluateVisitor_closure1($arguments);
  67279. },
  67280. $call$body$_EvaluateVisitor_closure1($arguments) {
  67281. var $async$goto = 0,
  67282. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  67283. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  67284. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67285. if ($async$errorCode === 1)
  67286. return A._asyncRethrow($async$result, $async$completer);
  67287. while (true)
  67288. switch ($async$goto) {
  67289. case 0:
  67290. // Function start
  67291. t1 = J.getInterceptor$asx($arguments);
  67292. $function = t1.$index($arguments, 0);
  67293. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  67294. t1 = $async$self.$this;
  67295. t2 = t1._async_evaluate$_callableNode;
  67296. t2.toString;
  67297. t3 = A._setArrayType([], type$.JSArray_Expression);
  67298. t4 = type$.String;
  67299. t5 = type$.Expression;
  67300. t6 = t2.get$span(t2);
  67301. t7 = t2.get$span(t2);
  67302. args._wereKeywordsAccessed = true;
  67303. t8 = args._keywords;
  67304. if (t8.get$isEmpty(t8))
  67305. t2 = null;
  67306. else {
  67307. t9 = type$.Value;
  67308. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  67309. for (args._wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  67310. t11 = t8.get$current(t8);
  67311. t10.$indexSet(0, new A.SassString(t11._0, false), t11._1);
  67312. }
  67313. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  67314. }
  67315. 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);
  67316. $async$goto = $function instanceof A.SassString ? 3 : 4;
  67317. break;
  67318. case 3:
  67319. // then
  67320. t2 = $function.toString$0(0);
  67321. A.EvaluationContext_current().warn$2(0, string$.Passina + t2 + "))", B.Deprecation_qVK);
  67322. callableNode = t1._async_evaluate$_callableNode;
  67323. t1 = t1.visitFunctionExpression$1(new A.FunctionExpression(null, $function._string$_text, invocation, callableNode.get$span(callableNode)));
  67324. $async$goto = 5;
  67325. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$1);
  67326. case 5:
  67327. // returning from await.
  67328. $async$returnValue = $async$result;
  67329. // goto return
  67330. $async$goto = 1;
  67331. break;
  67332. case 4:
  67333. // join
  67334. t2 = $function.assertFunction$1("function");
  67335. t3 = t1._async_evaluate$_callableNode;
  67336. t3.toString;
  67337. $async$goto = 6;
  67338. return A._asyncAwait(t1._async_evaluate$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  67339. case 6:
  67340. // returning from await.
  67341. t3 = $async$result;
  67342. $async$returnValue = t3;
  67343. // goto return
  67344. $async$goto = 1;
  67345. break;
  67346. case 1:
  67347. // return
  67348. return A._asyncReturn($async$returnValue, $async$completer);
  67349. }
  67350. });
  67351. return A._asyncStartSync($async$call$1, $async$completer);
  67352. },
  67353. $signature: 229
  67354. };
  67355. A._EvaluateVisitor_closure23.prototype = {
  67356. call$1($arguments) {
  67357. return this.$call$body$_EvaluateVisitor_closure0($arguments);
  67358. },
  67359. $call$body$_EvaluateVisitor_closure0($arguments) {
  67360. var $async$goto = 0,
  67361. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67362. $async$self = this, withMap, t2, values, configuration, t3, t1, url;
  67363. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67364. if ($async$errorCode === 1)
  67365. return A._asyncRethrow($async$result, $async$completer);
  67366. while (true)
  67367. switch ($async$goto) {
  67368. case 0:
  67369. // Function start
  67370. t1 = J.getInterceptor$asx($arguments);
  67371. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  67372. t1 = t1.$index($arguments, 1).get$realNull();
  67373. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  67374. t1 = $async$self.$this;
  67375. t2 = t1._async_evaluate$_callableNode;
  67376. t2.toString;
  67377. if (withMap != null) {
  67378. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  67379. withMap.forEach$1(0, new A._EvaluateVisitor__closure3(values, t2.get$span(t2), t2));
  67380. configuration = new A.ExplicitConfiguration(t2, values, null);
  67381. } else
  67382. configuration = B.Configuration_Map_empty_null;
  67383. t3 = t2.get$span(t2);
  67384. $async$goto = 2;
  67385. return A._asyncAwait(t1._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure4(t1), t3.get$sourceUrl(t3), configuration, true), $async$call$1);
  67386. case 2:
  67387. // returning from await.
  67388. t1._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  67389. // implicit return
  67390. return A._asyncReturn(null, $async$completer);
  67391. }
  67392. });
  67393. return A._asyncStartSync($async$call$1, $async$completer);
  67394. },
  67395. $signature: 160
  67396. };
  67397. A._EvaluateVisitor__closure3.prototype = {
  67398. call$2(variable, value) {
  67399. var t1 = variable.assertString$1("with key"),
  67400. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  67401. t1 = this.values;
  67402. if (t1.containsKey$1($name))
  67403. throw A.wrapException("The variable $" + $name + " was configured twice.");
  67404. t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
  67405. },
  67406. $signature: 96
  67407. };
  67408. A._EvaluateVisitor__closure4.prototype = {
  67409. call$2(module, _) {
  67410. var t1 = this.$this;
  67411. return t1._async_evaluate$_combineCss$2$clone(module, true).accept$1(t1);
  67412. },
  67413. $signature: 438
  67414. };
  67415. A._EvaluateVisitor_closure24.prototype = {
  67416. call$1($arguments) {
  67417. return this.$call$body$_EvaluateVisitor_closure($arguments);
  67418. },
  67419. $call$body$_EvaluateVisitor_closure($arguments) {
  67420. var $async$goto = 0,
  67421. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67422. $async$self = this, callableNode, t2, t3, t4, t5, t1, mixin, args;
  67423. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67424. if ($async$errorCode === 1)
  67425. return A._asyncRethrow($async$result, $async$completer);
  67426. while (true)
  67427. switch ($async$goto) {
  67428. case 0:
  67429. // Function start
  67430. t1 = J.getInterceptor$asx($arguments);
  67431. mixin = t1.$index($arguments, 0);
  67432. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  67433. t1 = $async$self.$this;
  67434. callableNode = t1._async_evaluate$_callableNode;
  67435. t2 = callableNode.get$span(callableNode);
  67436. t3 = callableNode.get$span(callableNode);
  67437. t4 = type$.Expression;
  67438. t5 = A.List_List$unmodifiable(B.List_empty9, t4);
  67439. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty6, type$.String, t4);
  67440. $async$goto = 2;
  67441. return A._asyncAwait(t1._async_evaluate$_applyMixin$5(mixin.assertMixin$1("mixin").callable, t1._async_evaluate$_environment._async_environment$_content, new A.ArgumentInvocation(t5, t4, new A.ValueExpression(args, t3), null, t2), callableNode, callableNode), $async$call$1);
  67442. case 2:
  67443. // returning from await.
  67444. // implicit return
  67445. return A._asyncReturn(null, $async$completer);
  67446. }
  67447. });
  67448. return A._asyncStartSync($async$call$1, $async$completer);
  67449. },
  67450. $signature: 160
  67451. };
  67452. A._EvaluateVisitor_run_closure0.prototype = {
  67453. call$0() {
  67454. var $async$goto = 0,
  67455. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet),
  67456. $async$returnValue, $async$self = this, module, url, t1, t2, _0_0;
  67457. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67458. if ($async$errorCode === 1)
  67459. return A._asyncRethrow($async$result, $async$completer);
  67460. while (true)
  67461. switch ($async$goto) {
  67462. case 0:
  67463. // Function start
  67464. url = null;
  67465. t1 = $async$self.node;
  67466. t2 = t1.span;
  67467. _0_0 = t2.get$sourceUrl(t2);
  67468. if (_0_0 != null) {
  67469. url = _0_0;
  67470. t2 = true;
  67471. } else
  67472. t2 = false;
  67473. if (t2) {
  67474. t2 = $async$self.$this;
  67475. t2._async_evaluate$_activeModules.$indexSet(0, url, null);
  67476. t2._async_evaluate$_loadedUrls.add$1(0, url);
  67477. }
  67478. t2 = $async$self.$this;
  67479. $async$goto = 3;
  67480. return A._asyncAwait(t2._async_evaluate$_addExceptionTrace$1$1(new A._EvaluateVisitor_run__closure0(t2, $async$self.importer, t1), type$.Module_AsyncCallable), $async$call$0);
  67481. case 3:
  67482. // returning from await.
  67483. module = $async$result;
  67484. $async$returnValue = new A._Record_2_loadedUrls_stylesheet(t2._async_evaluate$_loadedUrls, t2._async_evaluate$_combineCss$1(module));
  67485. // goto return
  67486. $async$goto = 1;
  67487. break;
  67488. case 1:
  67489. // return
  67490. return A._asyncReturn($async$returnValue, $async$completer);
  67491. }
  67492. });
  67493. return A._asyncStartSync($async$call$0, $async$completer);
  67494. },
  67495. $signature: 442
  67496. };
  67497. A._EvaluateVisitor_run__closure0.prototype = {
  67498. call$0() {
  67499. return this.$this._async_evaluate$_execute$2(this.importer, this.node);
  67500. },
  67501. $signature: 443
  67502. };
  67503. A._EvaluateVisitor__loadModule_closure1.prototype = {
  67504. call$0() {
  67505. return this.callback.call$2(this._box_1.builtInModule, false);
  67506. },
  67507. $signature: 0
  67508. };
  67509. A._EvaluateVisitor__loadModule_closure2.prototype = {
  67510. call$0() {
  67511. return this.$call$body$_EvaluateVisitor__loadModule_closure();
  67512. },
  67513. $call$body$_EvaluateVisitor__loadModule_closure() {
  67514. var $async$goto = 0,
  67515. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  67516. $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, canonicalUrl, oldInDependency, isDependency, t4, message, t1, stylesheet, importer, t2, t3, _1_0, $async$temp1;
  67517. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67518. if ($async$errorCode === 1) {
  67519. $async$currentError = $async$result;
  67520. $async$goto = $async$handler;
  67521. }
  67522. while (true)
  67523. switch ($async$goto) {
  67524. case 0:
  67525. // Function start
  67526. t1 = {};
  67527. stylesheet = null;
  67528. importer = null;
  67529. t2 = $async$self.$this;
  67530. t3 = $async$self.nodeWithSpan;
  67531. $async$goto = 2;
  67532. return A._asyncAwait(t2._async_evaluate$_loadStylesheet$3$baseUrl($async$self.url.toString$0(0), t3.get$span(t3), $async$self.baseUrl), $async$call$0);
  67533. case 2:
  67534. // returning from await.
  67535. _1_0 = $async$result;
  67536. stylesheet = _1_0._0;
  67537. importer = _1_0._1;
  67538. isDependency = _1_0._2;
  67539. t4 = stylesheet.span;
  67540. canonicalUrl = t4.get$sourceUrl(t4);
  67541. if (canonicalUrl != null) {
  67542. t4 = t2._async_evaluate$_activeModules;
  67543. if (t4.containsKey$1(canonicalUrl)) {
  67544. if ($async$self.namesInErrors) {
  67545. t1 = canonicalUrl;
  67546. t3 = $.$get$context();
  67547. t1.toString;
  67548. message = "Module loop: " + t3.prettyUri$1(t1) + " is already being loaded.";
  67549. } else
  67550. message = string$.Modulel;
  67551. t1 = A.NullableExtension_andThen(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure1(t2, message));
  67552. throw A.wrapException(t1 == null ? t2._async_evaluate$_exception$1(message) : t1);
  67553. } else
  67554. t4.$indexSet(0, canonicalUrl, t3);
  67555. }
  67556. t4 = t2._async_evaluate$_modules.containsKey$1(canonicalUrl);
  67557. oldInDependency = t2._async_evaluate$_inDependency;
  67558. t2._async_evaluate$_inDependency = isDependency;
  67559. t1.module = null;
  67560. $async$handler = 3;
  67561. $async$temp1 = t1;
  67562. $async$goto = 6;
  67563. return A._asyncAwait(t2._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t3), $async$call$0);
  67564. case 6:
  67565. // returning from await.
  67566. $async$temp1.module = $async$result;
  67567. $async$next.push(5);
  67568. // goto finally
  67569. $async$goto = 4;
  67570. break;
  67571. case 3:
  67572. // uncaught
  67573. $async$next = [1];
  67574. case 4:
  67575. // finally
  67576. $async$handler = 1;
  67577. t2._async_evaluate$_activeModules.remove$1(0, canonicalUrl);
  67578. t2._async_evaluate$_inDependency = oldInDependency;
  67579. // goto the next finally handler
  67580. $async$goto = $async$next.pop();
  67581. break;
  67582. case 5:
  67583. // after finally
  67584. $async$goto = 7;
  67585. return A._asyncAwait(t2._addExceptionSpanAsync$1$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure2(t1, $async$self.callback, !t4), false, type$.void), $async$call$0);
  67586. case 7:
  67587. // returning from await.
  67588. // implicit return
  67589. return A._asyncReturn(null, $async$completer);
  67590. case 1:
  67591. // rethrow
  67592. return A._asyncRethrow($async$currentError, $async$completer);
  67593. }
  67594. });
  67595. return A._asyncStartSync($async$call$0, $async$completer);
  67596. },
  67597. $signature: 4
  67598. };
  67599. A._EvaluateVisitor__loadModule__closure1.prototype = {
  67600. call$1(previousLoad) {
  67601. 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));
  67602. },
  67603. $signature: 95
  67604. };
  67605. A._EvaluateVisitor__loadModule__closure2.prototype = {
  67606. call$0() {
  67607. return this.callback.call$2(this._box_0.module, this.firstLoad);
  67608. },
  67609. $signature: 0
  67610. };
  67611. A._EvaluateVisitor__execute_closure0.prototype = {
  67612. call$0() {
  67613. var $async$goto = 0,
  67614. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  67615. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldPreModuleComments, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  67616. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67617. if ($async$errorCode === 1)
  67618. return A._asyncRethrow($async$result, $async$completer);
  67619. while (true)
  67620. switch ($async$goto) {
  67621. case 0:
  67622. // Function start
  67623. t1 = $async$self.$this;
  67624. oldImporter = t1._async_evaluate$_importer;
  67625. oldStylesheet = t1._async_evaluate$__stylesheet;
  67626. oldRoot = t1._async_evaluate$__root;
  67627. oldPreModuleComments = t1._async_evaluate$_preModuleComments;
  67628. oldParent = t1._async_evaluate$__parent;
  67629. oldEndOfImports = t1._async_evaluate$__endOfImports;
  67630. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  67631. oldExtensionStore = t1._async_evaluate$__extensionStore;
  67632. t2 = t1._async_evaluate$_atRootExcludingStyleRule;
  67633. oldStyleRule = t2 ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  67634. oldMediaQueries = t1._async_evaluate$_mediaQueries;
  67635. oldDeclarationName = t1._async_evaluate$_declarationName;
  67636. oldInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  67637. oldInKeyframes = t1._async_evaluate$_inKeyframes;
  67638. oldConfiguration = t1._async_evaluate$_configuration;
  67639. t1._async_evaluate$_importer = $async$self.importer;
  67640. t3 = t1._async_evaluate$__stylesheet = $async$self.stylesheet;
  67641. t4 = t3.span;
  67642. t5 = t1._async_evaluate$__parent = t1._async_evaluate$__root = A.ModifiableCssStylesheet$(t4);
  67643. t1._async_evaluate$__endOfImports = 0;
  67644. t1._async_evaluate$_outOfOrderImports = null;
  67645. t1._async_evaluate$__extensionStore = $async$self.extensionStore;
  67646. t1._async_evaluate$_declarationName = t1._async_evaluate$_mediaQueries = t1._async_evaluate$_styleRuleIgnoringAtRoot = null;
  67647. t1._async_evaluate$_inKeyframes = t1._async_evaluate$_atRootExcludingStyleRule = t1._async_evaluate$_inUnknownAtRule = false;
  67648. t6 = $async$self.configuration;
  67649. if (t6 != null)
  67650. t1._async_evaluate$_configuration = t6;
  67651. $async$goto = 2;
  67652. return A._asyncAwait(t1.visitStylesheet$1(t3), $async$call$0);
  67653. case 2:
  67654. // returning from await.
  67655. t3 = t1._async_evaluate$_outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._async_evaluate$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  67656. $async$self.css._value = t3;
  67657. $async$self.preModuleComments._value = t1._async_evaluate$_preModuleComments;
  67658. t1._async_evaluate$_importer = oldImporter;
  67659. t1._async_evaluate$__stylesheet = oldStylesheet;
  67660. t1._async_evaluate$__root = oldRoot;
  67661. t1._async_evaluate$_preModuleComments = oldPreModuleComments;
  67662. t1._async_evaluate$__parent = oldParent;
  67663. t1._async_evaluate$__endOfImports = oldEndOfImports;
  67664. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  67665. t1._async_evaluate$__extensionStore = oldExtensionStore;
  67666. t1._async_evaluate$_styleRuleIgnoringAtRoot = oldStyleRule;
  67667. t1._async_evaluate$_mediaQueries = oldMediaQueries;
  67668. t1._async_evaluate$_declarationName = oldDeclarationName;
  67669. t1._async_evaluate$_inUnknownAtRule = oldInUnknownAtRule;
  67670. t1._async_evaluate$_atRootExcludingStyleRule = t2;
  67671. t1._async_evaluate$_inKeyframes = oldInKeyframes;
  67672. t1._async_evaluate$_configuration = oldConfiguration;
  67673. // implicit return
  67674. return A._asyncReturn(null, $async$completer);
  67675. }
  67676. });
  67677. return A._asyncStartSync($async$call$0, $async$completer);
  67678. },
  67679. $signature: 4
  67680. };
  67681. A._EvaluateVisitor__combineCss_closure1.prototype = {
  67682. call$1(module) {
  67683. return module.get$transitivelyContainsCss();
  67684. },
  67685. $signature: 130
  67686. };
  67687. A._EvaluateVisitor__combineCss_closure2.prototype = {
  67688. call$1(target) {
  67689. return !this.selectors.contains$1(0, target);
  67690. },
  67691. $signature: 15
  67692. };
  67693. A._EvaluateVisitor__combineCss_visitModule0.prototype = {
  67694. call$1(module) {
  67695. var t1, t2, t3, t4, _i, upstream, _1_0, comments, t5, statements, index, _this = this;
  67696. if (!_this.seen.add$1(0, module))
  67697. return;
  67698. if (_this.clone)
  67699. module = module.cloneCss$0();
  67700. for (t1 = module.get$upstream(), t2 = t1.length, t3 = _this.css, t4 = _this.imports, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  67701. upstream = t1[_i];
  67702. if (upstream.get$transitivelyContainsCss()) {
  67703. _1_0 = module.get$preModuleComments().$index(0, upstream);
  67704. if (_1_0 != null) {
  67705. comments = _1_0;
  67706. t5 = true;
  67707. } else {
  67708. comments = null;
  67709. t5 = false;
  67710. }
  67711. if (t5)
  67712. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, comments);
  67713. _this.call$1(upstream);
  67714. }
  67715. }
  67716. _this.sorted.addFirst$1(module);
  67717. t1 = module.get$css(module);
  67718. statements = t1.get$children(t1);
  67719. index = _this.$this._async_evaluate$_indexAfterImports$1(statements);
  67720. t1 = J.getInterceptor$ax(statements);
  67721. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  67722. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  67723. },
  67724. $signature: 449
  67725. };
  67726. A._EvaluateVisitor__extendModules_closure1.prototype = {
  67727. call$1(target) {
  67728. return !this.originalSelectors.contains$1(0, target);
  67729. },
  67730. $signature: 15
  67731. };
  67732. A._EvaluateVisitor__extendModules_closure2.prototype = {
  67733. call$0() {
  67734. return A._setArrayType([], type$.JSArray_ExtensionStore);
  67735. },
  67736. $signature: 158
  67737. };
  67738. A._EvaluateVisitor_visitAtRootRule_closure1.prototype = {
  67739. call$0() {
  67740. var $async$goto = 0,
  67741. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  67742. $async$self = this, t1, t2, t3, _i;
  67743. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67744. if ($async$errorCode === 1)
  67745. return A._asyncRethrow($async$result, $async$completer);
  67746. while (true)
  67747. switch ($async$goto) {
  67748. case 0:
  67749. // Function start
  67750. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  67751. case 2:
  67752. // for condition
  67753. if (!(_i < t2)) {
  67754. // goto after for
  67755. $async$goto = 4;
  67756. break;
  67757. }
  67758. $async$goto = 5;
  67759. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  67760. case 5:
  67761. // returning from await.
  67762. case 3:
  67763. // for update
  67764. ++_i;
  67765. // goto for condition
  67766. $async$goto = 2;
  67767. break;
  67768. case 4:
  67769. // after for
  67770. // implicit return
  67771. return A._asyncReturn(null, $async$completer);
  67772. }
  67773. });
  67774. return A._asyncStartSync($async$call$0, $async$completer);
  67775. },
  67776. $signature: 4
  67777. };
  67778. A._EvaluateVisitor_visitAtRootRule_closure2.prototype = {
  67779. call$0() {
  67780. var $async$goto = 0,
  67781. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  67782. $async$self = this, t1, t2, t3, _i;
  67783. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67784. if ($async$errorCode === 1)
  67785. return A._asyncRethrow($async$result, $async$completer);
  67786. while (true)
  67787. switch ($async$goto) {
  67788. case 0:
  67789. // Function start
  67790. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  67791. case 2:
  67792. // for condition
  67793. if (!(_i < t2)) {
  67794. // goto after for
  67795. $async$goto = 4;
  67796. break;
  67797. }
  67798. $async$goto = 5;
  67799. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  67800. case 5:
  67801. // returning from await.
  67802. case 3:
  67803. // for update
  67804. ++_i;
  67805. // goto for condition
  67806. $async$goto = 2;
  67807. break;
  67808. case 4:
  67809. // after for
  67810. // implicit return
  67811. return A._asyncReturn(null, $async$completer);
  67812. }
  67813. });
  67814. return A._asyncStartSync($async$call$0, $async$completer);
  67815. },
  67816. $signature: 31
  67817. };
  67818. A._EvaluateVisitor__scopeForAtRoot_closure5.prototype = {
  67819. call$1(callback) {
  67820. var $async$goto = 0,
  67821. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  67822. $async$self = this, t1, t2;
  67823. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67824. if ($async$errorCode === 1)
  67825. return A._asyncRethrow($async$result, $async$completer);
  67826. while (true)
  67827. switch ($async$goto) {
  67828. case 0:
  67829. // Function start
  67830. t1 = $async$self.$this;
  67831. t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  67832. t1._async_evaluate$__parent = $async$self.newParent;
  67833. $async$goto = 2;
  67834. return A._asyncAwait(t1._async_evaluate$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  67835. case 2:
  67836. // returning from await.
  67837. t1._async_evaluate$__parent = t2;
  67838. // implicit return
  67839. return A._asyncReturn(null, $async$completer);
  67840. }
  67841. });
  67842. return A._asyncStartSync($async$call$1, $async$completer);
  67843. },
  67844. $signature: 41
  67845. };
  67846. A._EvaluateVisitor__scopeForAtRoot_closure6.prototype = {
  67847. call$1(callback) {
  67848. var $async$goto = 0,
  67849. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  67850. $async$self = this, t1, oldAtRootExcludingStyleRule;
  67851. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67852. if ($async$errorCode === 1)
  67853. return A._asyncRethrow($async$result, $async$completer);
  67854. while (true)
  67855. switch ($async$goto) {
  67856. case 0:
  67857. // Function start
  67858. t1 = $async$self.$this;
  67859. oldAtRootExcludingStyleRule = t1._async_evaluate$_atRootExcludingStyleRule;
  67860. t1._async_evaluate$_atRootExcludingStyleRule = true;
  67861. $async$goto = 2;
  67862. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  67863. case 2:
  67864. // returning from await.
  67865. t1._async_evaluate$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  67866. // implicit return
  67867. return A._asyncReturn(null, $async$completer);
  67868. }
  67869. });
  67870. return A._asyncStartSync($async$call$1, $async$completer);
  67871. },
  67872. $signature: 41
  67873. };
  67874. A._EvaluateVisitor__scopeForAtRoot_closure7.prototype = {
  67875. call$1(callback) {
  67876. return this.$this._async_evaluate$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure0(this.innerScope, callback), type$.Null);
  67877. },
  67878. $signature: 41
  67879. };
  67880. A._EvaluateVisitor__scopeForAtRoot__closure0.prototype = {
  67881. call$0() {
  67882. return this.innerScope.call$1(this.callback);
  67883. },
  67884. $signature: 4
  67885. };
  67886. A._EvaluateVisitor__scopeForAtRoot_closure8.prototype = {
  67887. call$1(callback) {
  67888. var $async$goto = 0,
  67889. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  67890. $async$self = this, t1, wasInKeyframes;
  67891. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67892. if ($async$errorCode === 1)
  67893. return A._asyncRethrow($async$result, $async$completer);
  67894. while (true)
  67895. switch ($async$goto) {
  67896. case 0:
  67897. // Function start
  67898. t1 = $async$self.$this;
  67899. wasInKeyframes = t1._async_evaluate$_inKeyframes;
  67900. t1._async_evaluate$_inKeyframes = false;
  67901. $async$goto = 2;
  67902. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  67903. case 2:
  67904. // returning from await.
  67905. t1._async_evaluate$_inKeyframes = wasInKeyframes;
  67906. // implicit return
  67907. return A._asyncReturn(null, $async$completer);
  67908. }
  67909. });
  67910. return A._asyncStartSync($async$call$1, $async$completer);
  67911. },
  67912. $signature: 41
  67913. };
  67914. A._EvaluateVisitor__scopeForAtRoot_closure9.prototype = {
  67915. call$1($parent) {
  67916. return $parent instanceof A.ModifiableCssAtRule;
  67917. },
  67918. $signature: 154
  67919. };
  67920. A._EvaluateVisitor__scopeForAtRoot_closure10.prototype = {
  67921. call$1(callback) {
  67922. var $async$goto = 0,
  67923. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  67924. $async$self = this, t1, wasInUnknownAtRule;
  67925. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67926. if ($async$errorCode === 1)
  67927. return A._asyncRethrow($async$result, $async$completer);
  67928. while (true)
  67929. switch ($async$goto) {
  67930. case 0:
  67931. // Function start
  67932. t1 = $async$self.$this;
  67933. wasInUnknownAtRule = t1._async_evaluate$_inUnknownAtRule;
  67934. t1._async_evaluate$_inUnknownAtRule = false;
  67935. $async$goto = 2;
  67936. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  67937. case 2:
  67938. // returning from await.
  67939. t1._async_evaluate$_inUnknownAtRule = wasInUnknownAtRule;
  67940. // implicit return
  67941. return A._asyncReturn(null, $async$completer);
  67942. }
  67943. });
  67944. return A._asyncStartSync($async$call$1, $async$completer);
  67945. },
  67946. $signature: 41
  67947. };
  67948. A._EvaluateVisitor_visitContentRule_closure0.prototype = {
  67949. call$0() {
  67950. var $async$goto = 0,
  67951. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  67952. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  67953. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67954. if ($async$errorCode === 1)
  67955. return A._asyncRethrow($async$result, $async$completer);
  67956. while (true)
  67957. switch ($async$goto) {
  67958. case 0:
  67959. // Function start
  67960. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  67961. case 3:
  67962. // for condition
  67963. if (!(_i < t2)) {
  67964. // goto after for
  67965. $async$goto = 5;
  67966. break;
  67967. }
  67968. $async$goto = 6;
  67969. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  67970. case 6:
  67971. // returning from await.
  67972. case 4:
  67973. // for update
  67974. ++_i;
  67975. // goto for condition
  67976. $async$goto = 3;
  67977. break;
  67978. case 5:
  67979. // after for
  67980. $async$returnValue = null;
  67981. // goto return
  67982. $async$goto = 1;
  67983. break;
  67984. case 1:
  67985. // return
  67986. return A._asyncReturn($async$returnValue, $async$completer);
  67987. }
  67988. });
  67989. return A._asyncStartSync($async$call$0, $async$completer);
  67990. },
  67991. $signature: 4
  67992. };
  67993. A._EvaluateVisitor_visitDeclaration_closure0.prototype = {
  67994. call$0() {
  67995. var $async$goto = 0,
  67996. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  67997. $async$self = this, t1, t2, t3, _i;
  67998. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  67999. if ($async$errorCode === 1)
  68000. return A._asyncRethrow($async$result, $async$completer);
  68001. while (true)
  68002. switch ($async$goto) {
  68003. case 0:
  68004. // Function start
  68005. t1 = $async$self._box_0.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  68006. case 2:
  68007. // for condition
  68008. if (!(_i < t2)) {
  68009. // goto after for
  68010. $async$goto = 4;
  68011. break;
  68012. }
  68013. $async$goto = 5;
  68014. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  68015. case 5:
  68016. // returning from await.
  68017. case 3:
  68018. // for update
  68019. ++_i;
  68020. // goto for condition
  68021. $async$goto = 2;
  68022. break;
  68023. case 4:
  68024. // after for
  68025. // implicit return
  68026. return A._asyncReturn(null, $async$completer);
  68027. }
  68028. });
  68029. return A._asyncStartSync($async$call$0, $async$completer);
  68030. },
  68031. $signature: 4
  68032. };
  68033. A._EvaluateVisitor_visitEachRule_closure2.prototype = {
  68034. call$1(value) {
  68035. var t1 = this.$this,
  68036. t2 = this.nodeWithSpan;
  68037. return t1._async_evaluate$_environment.setLocalVariable$3(this._box_0.variable, t1._async_evaluate$_withoutSlash$2(value, t2), t2);
  68038. },
  68039. $signature: 63
  68040. };
  68041. A._EvaluateVisitor_visitEachRule_closure3.prototype = {
  68042. call$1(value) {
  68043. return this.$this._async_evaluate$_setMultipleVariables$3(this._box_0.variables, value, this.nodeWithSpan);
  68044. },
  68045. $signature: 63
  68046. };
  68047. A._EvaluateVisitor_visitEachRule_closure4.prototype = {
  68048. call$0() {
  68049. var _this = this,
  68050. t1 = _this.$this;
  68051. return t1._async_evaluate$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure0(t1, _this.setVariables, _this.node));
  68052. },
  68053. $signature: 78
  68054. };
  68055. A._EvaluateVisitor_visitEachRule__closure0.prototype = {
  68056. call$1(element) {
  68057. var t1;
  68058. this.setVariables.call$1(element);
  68059. t1 = this.$this;
  68060. return t1._async_evaluate$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure0(t1));
  68061. },
  68062. $signature: 468
  68063. };
  68064. A._EvaluateVisitor_visitEachRule___closure0.prototype = {
  68065. call$1(child) {
  68066. return child.accept$1(this.$this);
  68067. },
  68068. $signature: 88
  68069. };
  68070. A._EvaluateVisitor_visitAtRule_closure2.prototype = {
  68071. call$1(value) {
  68072. return this.$this._async_evaluate$_interpolationToValue$3$trim$warnForColor(value, true, true);
  68073. },
  68074. $signature: 472
  68075. };
  68076. A._EvaluateVisitor_visitAtRule_closure3.prototype = {
  68077. call$0() {
  68078. var $async$goto = 0,
  68079. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  68080. $async$self = this, t2, t3, _i, t1, styleRule;
  68081. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68082. if ($async$errorCode === 1)
  68083. return A._asyncRethrow($async$result, $async$completer);
  68084. while (true)
  68085. switch ($async$goto) {
  68086. case 0:
  68087. // Function start
  68088. t1 = $async$self.$this;
  68089. styleRule = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  68090. $async$goto = styleRule == null || t1._async_evaluate$_inKeyframes || J.$eq$($async$self.name.value, "font-face") ? 2 : 4;
  68091. break;
  68092. case 2:
  68093. // then
  68094. t2 = $async$self.children, t3 = t2.length, _i = 0;
  68095. case 5:
  68096. // for condition
  68097. if (!(_i < t3)) {
  68098. // goto after for
  68099. $async$goto = 7;
  68100. break;
  68101. }
  68102. $async$goto = 8;
  68103. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  68104. case 8:
  68105. // returning from await.
  68106. case 6:
  68107. // for update
  68108. ++_i;
  68109. // goto for condition
  68110. $async$goto = 5;
  68111. break;
  68112. case 7:
  68113. // after for
  68114. // goto join
  68115. $async$goto = 3;
  68116. break;
  68117. case 4:
  68118. // else
  68119. $async$goto = 9;
  68120. return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule._style_rule$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure0(t1, $async$self.children), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  68121. case 9:
  68122. // returning from await.
  68123. case 3:
  68124. // join
  68125. // implicit return
  68126. return A._asyncReturn(null, $async$completer);
  68127. }
  68128. });
  68129. return A._asyncStartSync($async$call$0, $async$completer);
  68130. },
  68131. $signature: 4
  68132. };
  68133. A._EvaluateVisitor_visitAtRule__closure0.prototype = {
  68134. call$0() {
  68135. var $async$goto = 0,
  68136. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  68137. $async$self = this, t1, t2, t3, _i;
  68138. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68139. if ($async$errorCode === 1)
  68140. return A._asyncRethrow($async$result, $async$completer);
  68141. while (true)
  68142. switch ($async$goto) {
  68143. case 0:
  68144. // Function start
  68145. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  68146. case 2:
  68147. // for condition
  68148. if (!(_i < t2)) {
  68149. // goto after for
  68150. $async$goto = 4;
  68151. break;
  68152. }
  68153. $async$goto = 5;
  68154. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  68155. case 5:
  68156. // returning from await.
  68157. case 3:
  68158. // for update
  68159. ++_i;
  68160. // goto for condition
  68161. $async$goto = 2;
  68162. break;
  68163. case 4:
  68164. // after for
  68165. // implicit return
  68166. return A._asyncReturn(null, $async$completer);
  68167. }
  68168. });
  68169. return A._asyncStartSync($async$call$0, $async$completer);
  68170. },
  68171. $signature: 4
  68172. };
  68173. A._EvaluateVisitor_visitAtRule_closure4.prototype = {
  68174. call$1(node) {
  68175. return node instanceof A.ModifiableCssStyleRule;
  68176. },
  68177. $signature: 9
  68178. };
  68179. A._EvaluateVisitor_visitForRule_closure4.prototype = {
  68180. call$0() {
  68181. var $async$goto = 0,
  68182. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  68183. $async$returnValue, $async$self = this;
  68184. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68185. if ($async$errorCode === 1)
  68186. return A._asyncRethrow($async$result, $async$completer);
  68187. while (true)
  68188. switch ($async$goto) {
  68189. case 0:
  68190. // Function start
  68191. $async$goto = 3;
  68192. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  68193. case 3:
  68194. // returning from await.
  68195. $async$returnValue = $async$result.assertNumber$0();
  68196. // goto return
  68197. $async$goto = 1;
  68198. break;
  68199. case 1:
  68200. // return
  68201. return A._asyncReturn($async$returnValue, $async$completer);
  68202. }
  68203. });
  68204. return A._asyncStartSync($async$call$0, $async$completer);
  68205. },
  68206. $signature: 153
  68207. };
  68208. A._EvaluateVisitor_visitForRule_closure5.prototype = {
  68209. call$0() {
  68210. var $async$goto = 0,
  68211. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber),
  68212. $async$returnValue, $async$self = this;
  68213. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68214. if ($async$errorCode === 1)
  68215. return A._asyncRethrow($async$result, $async$completer);
  68216. while (true)
  68217. switch ($async$goto) {
  68218. case 0:
  68219. // Function start
  68220. $async$goto = 3;
  68221. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  68222. case 3:
  68223. // returning from await.
  68224. $async$returnValue = $async$result.assertNumber$0();
  68225. // goto return
  68226. $async$goto = 1;
  68227. break;
  68228. case 1:
  68229. // return
  68230. return A._asyncReturn($async$returnValue, $async$completer);
  68231. }
  68232. });
  68233. return A._asyncStartSync($async$call$0, $async$completer);
  68234. },
  68235. $signature: 153
  68236. };
  68237. A._EvaluateVisitor_visitForRule_closure6.prototype = {
  68238. call$0() {
  68239. return this.fromNumber.assertInt$0();
  68240. },
  68241. $signature: 3
  68242. };
  68243. A._EvaluateVisitor_visitForRule_closure7.prototype = {
  68244. call$0() {
  68245. var t1 = this.fromNumber;
  68246. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  68247. },
  68248. $signature: 3
  68249. };
  68250. A._EvaluateVisitor_visitForRule_closure8.prototype = {
  68251. call$0() {
  68252. var $async$goto = 0,
  68253. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  68254. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, _0_0, result, t1, t2, nodeWithSpan;
  68255. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68256. if ($async$errorCode === 1)
  68257. return A._asyncRethrow($async$result, $async$completer);
  68258. while (true)
  68259. switch ($async$goto) {
  68260. case 0:
  68261. // Function start
  68262. t1 = $async$self.$this;
  68263. t2 = $async$self.node;
  68264. nodeWithSpan = t1._async_evaluate$_expressionNode$1(t2.from);
  68265. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  68266. case 3:
  68267. // for condition
  68268. if (!(i !== t3.to)) {
  68269. // goto after for
  68270. $async$goto = 5;
  68271. break;
  68272. }
  68273. t7 = t1._async_evaluate$_environment;
  68274. t8 = t6.get$numeratorUnits(t6);
  68275. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  68276. $async$goto = 6;
  68277. return A._asyncAwait(t1._async_evaluate$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure0(t1)), $async$call$0);
  68278. case 6:
  68279. // returning from await.
  68280. _0_0 = $async$result;
  68281. if (_0_0 != null) {
  68282. result = _0_0;
  68283. t7 = true;
  68284. } else {
  68285. result = null;
  68286. t7 = false;
  68287. }
  68288. if (t7) {
  68289. $async$returnValue = result;
  68290. // goto return
  68291. $async$goto = 1;
  68292. break;
  68293. }
  68294. case 4:
  68295. // for update
  68296. i += t4;
  68297. // goto for condition
  68298. $async$goto = 3;
  68299. break;
  68300. case 5:
  68301. // after for
  68302. $async$returnValue = null;
  68303. // goto return
  68304. $async$goto = 1;
  68305. break;
  68306. case 1:
  68307. // return
  68308. return A._asyncReturn($async$returnValue, $async$completer);
  68309. }
  68310. });
  68311. return A._asyncStartSync($async$call$0, $async$completer);
  68312. },
  68313. $signature: 78
  68314. };
  68315. A._EvaluateVisitor_visitForRule__closure0.prototype = {
  68316. call$1(child) {
  68317. return child.accept$1(this.$this);
  68318. },
  68319. $signature: 88
  68320. };
  68321. A._EvaluateVisitor_visitForwardRule_closure1.prototype = {
  68322. call$2(module, firstLoad) {
  68323. if (firstLoad)
  68324. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  68325. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  68326. },
  68327. $signature: 143
  68328. };
  68329. A._EvaluateVisitor_visitForwardRule_closure2.prototype = {
  68330. call$2(module, firstLoad) {
  68331. if (firstLoad)
  68332. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  68333. this.$this._async_evaluate$_environment.forwardModule$2(module, this.node);
  68334. },
  68335. $signature: 143
  68336. };
  68337. A._EvaluateVisitor__registerCommentsForModule_closure0.prototype = {
  68338. call$0() {
  68339. return A._setArrayType([], type$.JSArray_CssComment);
  68340. },
  68341. $signature: 151
  68342. };
  68343. A._EvaluateVisitor_visitIfRule_closure0.prototype = {
  68344. call$1(clause) {
  68345. var t1 = this.$this;
  68346. return t1._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure0(t1, clause), true, clause.hasDeclarations, type$.nullable_Value);
  68347. },
  68348. $signature: 480
  68349. };
  68350. A._EvaluateVisitor_visitIfRule__closure0.prototype = {
  68351. call$0() {
  68352. var t1 = this.$this;
  68353. return t1._async_evaluate$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure0(t1));
  68354. },
  68355. $signature: 78
  68356. };
  68357. A._EvaluateVisitor_visitIfRule___closure0.prototype = {
  68358. call$1(child) {
  68359. return child.accept$1(this.$this);
  68360. },
  68361. $signature: 88
  68362. };
  68363. A._EvaluateVisitor__visitDynamicImport_closure0.prototype = {
  68364. call$0() {
  68365. return this.$call$body$_EvaluateVisitor__visitDynamicImport_closure();
  68366. },
  68367. $call$body$_EvaluateVisitor__visitDynamicImport_closure() {
  68368. var $async$goto = 0,
  68369. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  68370. $async$returnValue, $async$self = this, t1, t2, _0_0, stylesheet, importer, isDependency, t3, url, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor, _box_0;
  68371. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68372. if ($async$errorCode === 1)
  68373. return A._asyncRethrow($async$result, $async$completer);
  68374. while (true)
  68375. switch ($async$goto) {
  68376. case 0:
  68377. // Function start
  68378. _box_0 = {};
  68379. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  68380. t1 = $async$self.$this;
  68381. t2 = $async$self.$import;
  68382. $async$goto = 3;
  68383. return A._asyncAwait(t1._async_evaluate$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  68384. case 3:
  68385. // returning from await.
  68386. _0_0 = $async$result;
  68387. stylesheet = _box_0.stylesheet = _0_0._0;
  68388. importer = _0_0._1;
  68389. _box_0.importer = importer;
  68390. isDependency = _0_0._2;
  68391. _box_0.isDependency = isDependency;
  68392. t3 = stylesheet.span;
  68393. url = t3.get$sourceUrl(t3);
  68394. if (url != null) {
  68395. t3 = t1._async_evaluate$_activeModules;
  68396. if (t3.containsKey$1(url)) {
  68397. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure3(t1));
  68398. throw A.wrapException(t2 == null ? t1._async_evaluate$_exception$1("This file is already being loaded.") : t2);
  68399. }
  68400. t3.$indexSet(0, url, t2);
  68401. }
  68402. t2 = stylesheet._uses;
  68403. t3 = type$.UnmodifiableListView_UseRule;
  68404. t4 = new A.UnmodifiableListView(t2, t3);
  68405. if (t4.get$length(t4) === 0) {
  68406. t4 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  68407. t4 = t4.get$length(t4) === 0;
  68408. } else
  68409. t4 = false;
  68410. $async$goto = t4 ? 4 : 5;
  68411. break;
  68412. case 4:
  68413. // then
  68414. oldImporter = t1._async_evaluate$_importer;
  68415. t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  68416. oldInDependency = t1._async_evaluate$_inDependency;
  68417. t1._async_evaluate$_importer = importer;
  68418. t1._async_evaluate$__stylesheet = stylesheet;
  68419. t1._async_evaluate$_inDependency = isDependency;
  68420. $async$goto = 6;
  68421. return A._asyncAwait(t1.visitStylesheet$1(stylesheet), $async$call$0);
  68422. case 6:
  68423. // returning from await.
  68424. t1._async_evaluate$_importer = oldImporter;
  68425. t1._async_evaluate$__stylesheet = t2;
  68426. t1._async_evaluate$_inDependency = oldInDependency;
  68427. t1._async_evaluate$_activeModules.remove$1(0, url);
  68428. // goto return
  68429. $async$goto = 1;
  68430. break;
  68431. case 5:
  68432. // join
  68433. t2 = new A.UnmodifiableListView(t2, t3);
  68434. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure4())) {
  68435. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  68436. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure5());
  68437. } else
  68438. loadsUserDefinedModules = true;
  68439. children = A._Cell$();
  68440. t2 = t1._async_evaluate$_environment;
  68441. t3 = type$.String;
  68442. t4 = type$.Module_AsyncCallable;
  68443. t5 = type$.AstNode;
  68444. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable);
  68445. t7 = t2._async_environment$_variables;
  68446. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  68447. t8 = t2._async_environment$_variableNodes;
  68448. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  68449. t9 = t2._async_environment$_functions;
  68450. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  68451. t10 = t2._async_environment$_mixins;
  68452. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  68453. 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);
  68454. $async$goto = 7;
  68455. return A._asyncAwait(t1._async_evaluate$_withEnvironment$1$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure6(_box_0, t1, loadsUserDefinedModules, environment, children), type$.Null), $async$call$0);
  68456. case 7:
  68457. // returning from await.
  68458. module = environment.toDummyModule$0();
  68459. t1._async_evaluate$_environment.importForwards$1(module);
  68460. $async$goto = loadsUserDefinedModules ? 8 : 9;
  68461. break;
  68462. case 8:
  68463. // then
  68464. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  68465. break;
  68466. case 10:
  68467. // then
  68468. $async$goto = 12;
  68469. return A._asyncAwait(t1._async_evaluate$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  68470. case 12:
  68471. // returning from await.
  68472. case 11:
  68473. // join
  68474. visitor = new A._ImportedCssVisitor0(t1);
  68475. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  68476. t2.get$current(t2).accept$1(visitor);
  68477. case 9:
  68478. // join
  68479. t1._async_evaluate$_activeModules.remove$1(0, url);
  68480. case 1:
  68481. // return
  68482. return A._asyncReturn($async$returnValue, $async$completer);
  68483. }
  68484. });
  68485. return A._asyncStartSync($async$call$0, $async$completer);
  68486. },
  68487. $signature: 31
  68488. };
  68489. A._EvaluateVisitor__visitDynamicImport__closure3.prototype = {
  68490. call$1(previousLoad) {
  68491. 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));
  68492. },
  68493. $signature: 95
  68494. };
  68495. A._EvaluateVisitor__visitDynamicImport__closure4.prototype = {
  68496. call$1(rule) {
  68497. return rule.url.get$scheme() !== "sass";
  68498. },
  68499. $signature: 150
  68500. };
  68501. A._EvaluateVisitor__visitDynamicImport__closure5.prototype = {
  68502. call$1(rule) {
  68503. return rule.url.get$scheme() !== "sass";
  68504. },
  68505. $signature: 197
  68506. };
  68507. A._EvaluateVisitor__visitDynamicImport__closure6.prototype = {
  68508. call$0() {
  68509. var $async$goto = 0,
  68510. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  68511. $async$self = this, t7, t8, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
  68512. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68513. if ($async$errorCode === 1)
  68514. return A._asyncRethrow($async$result, $async$completer);
  68515. while (true)
  68516. switch ($async$goto) {
  68517. case 0:
  68518. // Function start
  68519. t1 = $async$self.$this;
  68520. oldImporter = t1._async_evaluate$_importer;
  68521. t2 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__stylesheet, "_stylesheet");
  68522. t3 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root");
  68523. t4 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent");
  68524. t5 = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, "_endOfImports");
  68525. oldOutOfOrderImports = t1._async_evaluate$_outOfOrderImports;
  68526. oldConfiguration = t1._async_evaluate$_configuration;
  68527. oldInDependency = t1._async_evaluate$_inDependency;
  68528. t6 = $async$self._box_0;
  68529. t1._async_evaluate$_importer = t6.importer;
  68530. t7 = t6.stylesheet;
  68531. t1._async_evaluate$__stylesheet = t7;
  68532. t8 = $async$self.loadsUserDefinedModules;
  68533. if (t8) {
  68534. t7 = A.ModifiableCssStylesheet$(t7.span);
  68535. t1._async_evaluate$__root = t7;
  68536. t1._async_evaluate$__parent = t1._async_evaluate$_assertInModule$2(t7, "_root");
  68537. t1._async_evaluate$__endOfImports = 0;
  68538. t1._async_evaluate$_outOfOrderImports = null;
  68539. }
  68540. t1._async_evaluate$_inDependency = t6.isDependency;
  68541. t7 = new A.UnmodifiableListView(t6.stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  68542. if (!t7.get$isEmpty(t7))
  68543. t1._async_evaluate$_configuration = $async$self.environment.toImplicitConfiguration$0();
  68544. $async$goto = 2;
  68545. return A._asyncAwait(t1.visitStylesheet$1(t6.stylesheet), $async$call$0);
  68546. case 2:
  68547. // returning from await.
  68548. t6 = t8 ? t1._async_evaluate$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  68549. $async$self.children._value = t6;
  68550. t1._async_evaluate$_importer = oldImporter;
  68551. t1._async_evaluate$__stylesheet = t2;
  68552. if (t8) {
  68553. t1._async_evaluate$__root = t3;
  68554. t1._async_evaluate$__parent = t4;
  68555. t1._async_evaluate$__endOfImports = t5;
  68556. t1._async_evaluate$_outOfOrderImports = oldOutOfOrderImports;
  68557. }
  68558. t1._async_evaluate$_configuration = oldConfiguration;
  68559. t1._async_evaluate$_inDependency = oldInDependency;
  68560. // implicit return
  68561. return A._asyncReturn(null, $async$completer);
  68562. }
  68563. });
  68564. return A._asyncStartSync($async$call$0, $async$completer);
  68565. },
  68566. $signature: 4
  68567. };
  68568. A._EvaluateVisitor__applyMixin_closure3.prototype = {
  68569. call$0() {
  68570. var $async$goto = 0,
  68571. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  68572. $async$self = this, t1;
  68573. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68574. if ($async$errorCode === 1)
  68575. return A._asyncRethrow($async$result, $async$completer);
  68576. while (true)
  68577. switch ($async$goto) {
  68578. case 0:
  68579. // Function start
  68580. t1 = $async$self.$this;
  68581. $async$goto = 2;
  68582. return A._asyncAwait(t1._async_evaluate$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure2(t1, $async$self.$arguments, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  68583. case 2:
  68584. // returning from await.
  68585. // implicit return
  68586. return A._asyncReturn(null, $async$completer);
  68587. }
  68588. });
  68589. return A._asyncStartSync($async$call$0, $async$completer);
  68590. },
  68591. $signature: 31
  68592. };
  68593. A._EvaluateVisitor__applyMixin__closure2.prototype = {
  68594. call$0() {
  68595. var $async$goto = 0,
  68596. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  68597. $async$self = this;
  68598. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68599. if ($async$errorCode === 1)
  68600. return A._asyncRethrow($async$result, $async$completer);
  68601. while (true)
  68602. switch ($async$goto) {
  68603. case 0:
  68604. // Function start
  68605. $async$goto = 2;
  68606. return A._asyncAwait($async$self.$this._async_evaluate$_runBuiltInCallable$3($async$self.$arguments, $async$self.mixin, $async$self.nodeWithSpanWithoutContent), $async$call$0);
  68607. case 2:
  68608. // returning from await.
  68609. // implicit return
  68610. return A._asyncReturn(null, $async$completer);
  68611. }
  68612. });
  68613. return A._asyncStartSync($async$call$0, $async$completer);
  68614. },
  68615. $signature: 31
  68616. };
  68617. A._EvaluateVisitor__applyMixin_closure2.prototype = {
  68618. call$0() {
  68619. var t1 = this._1_0;
  68620. if (t1 == null)
  68621. t1 = type$.AsyncCallable._as(t1);
  68622. return type$.UserDefinedCallable_AsyncEnvironment._as(t1).declaration;
  68623. },
  68624. $signature: 140
  68625. };
  68626. A._EvaluateVisitor__applyMixin_closure4.prototype = {
  68627. call$0() {
  68628. var $async$goto = 0,
  68629. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  68630. $async$self = this, t1;
  68631. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68632. if ($async$errorCode === 1)
  68633. return A._asyncRethrow($async$result, $async$completer);
  68634. while (true)
  68635. switch ($async$goto) {
  68636. case 0:
  68637. // Function start
  68638. t1 = $async$self.$this;
  68639. $async$goto = 2;
  68640. return A._asyncAwait(t1._async_evaluate$_environment.withContent$2($async$self.contentCallable, new A._EvaluateVisitor__applyMixin__closure1(t1, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  68641. case 2:
  68642. // returning from await.
  68643. // implicit return
  68644. return A._asyncReturn(null, $async$completer);
  68645. }
  68646. });
  68647. return A._asyncStartSync($async$call$0, $async$completer);
  68648. },
  68649. $signature: 4
  68650. };
  68651. A._EvaluateVisitor__applyMixin__closure1.prototype = {
  68652. call$0() {
  68653. var $async$goto = 0,
  68654. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  68655. $async$self = this, t1;
  68656. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68657. if ($async$errorCode === 1)
  68658. return A._asyncRethrow($async$result, $async$completer);
  68659. while (true)
  68660. switch ($async$goto) {
  68661. case 0:
  68662. // Function start
  68663. t1 = $async$self.$this;
  68664. $async$goto = 2;
  68665. return A._asyncAwait(t1._async_evaluate$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure0(t1, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  68666. case 2:
  68667. // returning from await.
  68668. // implicit return
  68669. return A._asyncReturn(null, $async$completer);
  68670. }
  68671. });
  68672. return A._asyncStartSync($async$call$0, $async$completer);
  68673. },
  68674. $signature: 31
  68675. };
  68676. A._EvaluateVisitor__applyMixin___closure0.prototype = {
  68677. call$0() {
  68678. var $async$goto = 0,
  68679. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  68680. $async$self = this, t1, t2, t3, t4, t5, _i;
  68681. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68682. if ($async$errorCode === 1)
  68683. return A._asyncRethrow($async$result, $async$completer);
  68684. while (true)
  68685. switch ($async$goto) {
  68686. case 0:
  68687. // Function start
  68688. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpanWithoutContent, t5 = type$.nullable_Value, _i = 0;
  68689. case 2:
  68690. // for condition
  68691. if (!(_i < t2)) {
  68692. // goto after for
  68693. $async$goto = 4;
  68694. break;
  68695. }
  68696. $async$goto = 5;
  68697. return A._asyncAwait(t3._async_evaluate$_addErrorSpan$1$2(t4, new A._EvaluateVisitor__applyMixin____closure0(t3, t1[_i]), t5), $async$call$0);
  68698. case 5:
  68699. // returning from await.
  68700. case 3:
  68701. // for update
  68702. ++_i;
  68703. // goto for condition
  68704. $async$goto = 2;
  68705. break;
  68706. case 4:
  68707. // after for
  68708. // implicit return
  68709. return A._asyncReturn(null, $async$completer);
  68710. }
  68711. });
  68712. return A._asyncStartSync($async$call$0, $async$completer);
  68713. },
  68714. $signature: 31
  68715. };
  68716. A._EvaluateVisitor__applyMixin____closure0.prototype = {
  68717. call$0() {
  68718. return this.statement.accept$1(this.$this);
  68719. },
  68720. $signature: 78
  68721. };
  68722. A._EvaluateVisitor_visitIncludeRule_closure2.prototype = {
  68723. call$0() {
  68724. var t1 = this.node;
  68725. return this.$this._async_evaluate$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  68726. },
  68727. $signature: 103
  68728. };
  68729. A._EvaluateVisitor_visitIncludeRule_closure3.prototype = {
  68730. call$1($content) {
  68731. var t1 = this.$this;
  68732. return new A.UserDefinedCallable($content, t1._async_evaluate$_environment.closure$0(), t1._async_evaluate$_inDependency, type$.UserDefinedCallable_AsyncEnvironment);
  68733. },
  68734. $signature: 494
  68735. };
  68736. A._EvaluateVisitor_visitIncludeRule_closure4.prototype = {
  68737. call$0() {
  68738. return this.node.get$spanWithoutContent();
  68739. },
  68740. $signature: 33
  68741. };
  68742. A._EvaluateVisitor_visitMediaRule_closure2.prototype = {
  68743. call$1(mediaQueries) {
  68744. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.queries);
  68745. },
  68746. $signature: 81
  68747. };
  68748. A._EvaluateVisitor_visitMediaRule_closure3.prototype = {
  68749. call$0() {
  68750. var $async$goto = 0,
  68751. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  68752. $async$self = this, t1, t2;
  68753. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68754. if ($async$errorCode === 1)
  68755. return A._asyncRethrow($async$result, $async$completer);
  68756. while (true)
  68757. switch ($async$goto) {
  68758. case 0:
  68759. // Function start
  68760. t1 = $async$self.$this;
  68761. t2 = $async$self.mergedQueries;
  68762. if (t2 == null)
  68763. t2 = $async$self.queries;
  68764. $async$goto = 2;
  68765. 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);
  68766. case 2:
  68767. // returning from await.
  68768. // implicit return
  68769. return A._asyncReturn(null, $async$completer);
  68770. }
  68771. });
  68772. return A._asyncStartSync($async$call$0, $async$completer);
  68773. },
  68774. $signature: 4
  68775. };
  68776. A._EvaluateVisitor_visitMediaRule__closure0.prototype = {
  68777. call$0() {
  68778. var $async$goto = 0,
  68779. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  68780. $async$self = this, styleRule, t2, t3, _i, t1, _0_0;
  68781. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68782. if ($async$errorCode === 1)
  68783. return A._asyncRethrow($async$result, $async$completer);
  68784. while (true)
  68785. switch ($async$goto) {
  68786. case 0:
  68787. // Function start
  68788. t1 = $async$self.$this;
  68789. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  68790. if (_0_0 != null) {
  68791. styleRule = _0_0;
  68792. t2 = true;
  68793. } else {
  68794. styleRule = null;
  68795. t2 = false;
  68796. }
  68797. $async$goto = t2 ? 2 : 4;
  68798. break;
  68799. case 2:
  68800. // then
  68801. $async$goto = 5;
  68802. return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule._style_rule$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure0(t1, $async$self.node), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  68803. case 5:
  68804. // returning from await.
  68805. // goto join
  68806. $async$goto = 3;
  68807. break;
  68808. case 4:
  68809. // else
  68810. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  68811. case 6:
  68812. // for condition
  68813. if (!(_i < t3)) {
  68814. // goto after for
  68815. $async$goto = 8;
  68816. break;
  68817. }
  68818. $async$goto = 9;
  68819. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  68820. case 9:
  68821. // returning from await.
  68822. case 7:
  68823. // for update
  68824. ++_i;
  68825. // goto for condition
  68826. $async$goto = 6;
  68827. break;
  68828. case 8:
  68829. // after for
  68830. case 3:
  68831. // join
  68832. // implicit return
  68833. return A._asyncReturn(null, $async$completer);
  68834. }
  68835. });
  68836. return A._asyncStartSync($async$call$0, $async$completer);
  68837. },
  68838. $signature: 4
  68839. };
  68840. A._EvaluateVisitor_visitMediaRule___closure0.prototype = {
  68841. call$0() {
  68842. var $async$goto = 0,
  68843. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  68844. $async$self = this, t1, t2, t3, _i;
  68845. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68846. if ($async$errorCode === 1)
  68847. return A._asyncRethrow($async$result, $async$completer);
  68848. while (true)
  68849. switch ($async$goto) {
  68850. case 0:
  68851. // Function start
  68852. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  68853. case 2:
  68854. // for condition
  68855. if (!(_i < t2)) {
  68856. // goto after for
  68857. $async$goto = 4;
  68858. break;
  68859. }
  68860. $async$goto = 5;
  68861. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  68862. case 5:
  68863. // returning from await.
  68864. case 3:
  68865. // for update
  68866. ++_i;
  68867. // goto for condition
  68868. $async$goto = 2;
  68869. break;
  68870. case 4:
  68871. // after for
  68872. // implicit return
  68873. return A._asyncReturn(null, $async$completer);
  68874. }
  68875. });
  68876. return A._asyncStartSync($async$call$0, $async$completer);
  68877. },
  68878. $signature: 4
  68879. };
  68880. A._EvaluateVisitor_visitMediaRule_closure4.prototype = {
  68881. call$1(node) {
  68882. var t1;
  68883. if (!(node instanceof A.ModifiableCssStyleRule)) {
  68884. t1 = this.mergedSources;
  68885. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  68886. } else
  68887. t1 = true;
  68888. return t1;
  68889. },
  68890. $signature: 9
  68891. };
  68892. A._EvaluateVisitor_visitStyleRule_closure4.prototype = {
  68893. call$0() {
  68894. var $async$goto = 0,
  68895. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  68896. $async$self = this, t1, t2, t3, _i;
  68897. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68898. if ($async$errorCode === 1)
  68899. return A._asyncRethrow($async$result, $async$completer);
  68900. while (true)
  68901. switch ($async$goto) {
  68902. case 0:
  68903. // Function start
  68904. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  68905. case 2:
  68906. // for condition
  68907. if (!(_i < t2)) {
  68908. // goto after for
  68909. $async$goto = 4;
  68910. break;
  68911. }
  68912. $async$goto = 5;
  68913. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  68914. case 5:
  68915. // returning from await.
  68916. case 3:
  68917. // for update
  68918. ++_i;
  68919. // goto for condition
  68920. $async$goto = 2;
  68921. break;
  68922. case 4:
  68923. // after for
  68924. // implicit return
  68925. return A._asyncReturn(null, $async$completer);
  68926. }
  68927. });
  68928. return A._asyncStartSync($async$call$0, $async$completer);
  68929. },
  68930. $signature: 4
  68931. };
  68932. A._EvaluateVisitor_visitStyleRule_closure5.prototype = {
  68933. call$1(node) {
  68934. return node instanceof A.ModifiableCssStyleRule;
  68935. },
  68936. $signature: 9
  68937. };
  68938. A._EvaluateVisitor_visitStyleRule_closure6.prototype = {
  68939. call$0() {
  68940. var $async$goto = 0,
  68941. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  68942. $async$self = this, t1;
  68943. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68944. if ($async$errorCode === 1)
  68945. return A._asyncRethrow($async$result, $async$completer);
  68946. while (true)
  68947. switch ($async$goto) {
  68948. case 0:
  68949. // Function start
  68950. t1 = $async$self.$this;
  68951. $async$goto = 2;
  68952. 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);
  68953. case 2:
  68954. // returning from await.
  68955. // implicit return
  68956. return A._asyncReturn(null, $async$completer);
  68957. }
  68958. });
  68959. return A._asyncStartSync($async$call$0, $async$completer);
  68960. },
  68961. $signature: 4
  68962. };
  68963. A._EvaluateVisitor_visitStyleRule__closure0.prototype = {
  68964. call$0() {
  68965. var $async$goto = 0,
  68966. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  68967. $async$self = this, t1, t2, t3, _i;
  68968. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  68969. if ($async$errorCode === 1)
  68970. return A._asyncRethrow($async$result, $async$completer);
  68971. while (true)
  68972. switch ($async$goto) {
  68973. case 0:
  68974. // Function start
  68975. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  68976. case 2:
  68977. // for condition
  68978. if (!(_i < t2)) {
  68979. // goto after for
  68980. $async$goto = 4;
  68981. break;
  68982. }
  68983. $async$goto = 5;
  68984. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  68985. case 5:
  68986. // returning from await.
  68987. case 3:
  68988. // for update
  68989. ++_i;
  68990. // goto for condition
  68991. $async$goto = 2;
  68992. break;
  68993. case 4:
  68994. // after for
  68995. // implicit return
  68996. return A._asyncReturn(null, $async$completer);
  68997. }
  68998. });
  68999. return A._asyncStartSync($async$call$0, $async$completer);
  69000. },
  69001. $signature: 4
  69002. };
  69003. A._EvaluateVisitor_visitStyleRule_closure7.prototype = {
  69004. call$1(node) {
  69005. return node instanceof A.ModifiableCssStyleRule;
  69006. },
  69007. $signature: 9
  69008. };
  69009. A._EvaluateVisitor_visitStyleRule_closure8.prototype = {
  69010. call$1(child) {
  69011. return child instanceof A.ModifiableCssComment;
  69012. },
  69013. $signature: 146
  69014. };
  69015. A._EvaluateVisitor_visitSupportsRule_closure1.prototype = {
  69016. call$0() {
  69017. var $async$goto = 0,
  69018. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69019. $async$self = this, styleRule, t2, t3, _i, t1, _0_0;
  69020. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69021. if ($async$errorCode === 1)
  69022. return A._asyncRethrow($async$result, $async$completer);
  69023. while (true)
  69024. switch ($async$goto) {
  69025. case 0:
  69026. // Function start
  69027. t1 = $async$self.$this;
  69028. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  69029. if (_0_0 != null) {
  69030. styleRule = _0_0;
  69031. t2 = true;
  69032. } else {
  69033. styleRule = null;
  69034. t2 = false;
  69035. }
  69036. $async$goto = t2 ? 2 : 4;
  69037. break;
  69038. case 2:
  69039. // then
  69040. $async$goto = 5;
  69041. return A._asyncAwait(t1._async_evaluate$_withParent$2$2(A.ModifiableCssStyleRule$(styleRule._style_rule$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure0(t1, $async$self.node), type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  69042. case 5:
  69043. // returning from await.
  69044. // goto join
  69045. $async$goto = 3;
  69046. break;
  69047. case 4:
  69048. // else
  69049. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  69050. case 6:
  69051. // for condition
  69052. if (!(_i < t3)) {
  69053. // goto after for
  69054. $async$goto = 8;
  69055. break;
  69056. }
  69057. $async$goto = 9;
  69058. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  69059. case 9:
  69060. // returning from await.
  69061. case 7:
  69062. // for update
  69063. ++_i;
  69064. // goto for condition
  69065. $async$goto = 6;
  69066. break;
  69067. case 8:
  69068. // after for
  69069. case 3:
  69070. // join
  69071. // implicit return
  69072. return A._asyncReturn(null, $async$completer);
  69073. }
  69074. });
  69075. return A._asyncStartSync($async$call$0, $async$completer);
  69076. },
  69077. $signature: 4
  69078. };
  69079. A._EvaluateVisitor_visitSupportsRule__closure0.prototype = {
  69080. call$0() {
  69081. var $async$goto = 0,
  69082. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  69083. $async$self = this, t1, t2, t3, _i;
  69084. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69085. if ($async$errorCode === 1)
  69086. return A._asyncRethrow($async$result, $async$completer);
  69087. while (true)
  69088. switch ($async$goto) {
  69089. case 0:
  69090. // Function start
  69091. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  69092. case 2:
  69093. // for condition
  69094. if (!(_i < t2)) {
  69095. // goto after for
  69096. $async$goto = 4;
  69097. break;
  69098. }
  69099. $async$goto = 5;
  69100. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  69101. case 5:
  69102. // returning from await.
  69103. case 3:
  69104. // for update
  69105. ++_i;
  69106. // goto for condition
  69107. $async$goto = 2;
  69108. break;
  69109. case 4:
  69110. // after for
  69111. // implicit return
  69112. return A._asyncReturn(null, $async$completer);
  69113. }
  69114. });
  69115. return A._asyncStartSync($async$call$0, $async$completer);
  69116. },
  69117. $signature: 4
  69118. };
  69119. A._EvaluateVisitor_visitSupportsRule_closure2.prototype = {
  69120. call$1(node) {
  69121. return node instanceof A.ModifiableCssStyleRule;
  69122. },
  69123. $signature: 9
  69124. };
  69125. A._EvaluateVisitor__visitSupportsCondition_closure0.prototype = {
  69126. call$0() {
  69127. var $async$goto = 0,
  69128. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  69129. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2;
  69130. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69131. if ($async$errorCode === 1)
  69132. return A._asyncRethrow($async$result, $async$completer);
  69133. while (true)
  69134. switch ($async$goto) {
  69135. case 0:
  69136. // Function start
  69137. t1 = $async$self.$this;
  69138. t2 = $async$self._box_0;
  69139. $async$temp1 = A;
  69140. $async$goto = 3;
  69141. return A._asyncAwait(t1._evaluateToCss$1(t2.declaration.name), $async$call$0);
  69142. case 3:
  69143. // returning from await.
  69144. t3 = $async$temp1.S($async$result);
  69145. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  69146. $async$temp1 = "(" + t3 + ":" + t4;
  69147. $async$temp2 = A;
  69148. $async$goto = 4;
  69149. return A._asyncAwait(t1._evaluateToCss$1(t2.declaration.value), $async$call$0);
  69150. case 4:
  69151. // returning from await.
  69152. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  69153. // goto return
  69154. $async$goto = 1;
  69155. break;
  69156. case 1:
  69157. // return
  69158. return A._asyncReturn($async$returnValue, $async$completer);
  69159. }
  69160. });
  69161. return A._asyncStartSync($async$call$0, $async$completer);
  69162. },
  69163. $signature: 245
  69164. };
  69165. A._EvaluateVisitor_visitVariableDeclaration_closure2.prototype = {
  69166. call$0() {
  69167. var t1 = this.$this._async_evaluate$_environment,
  69168. t2 = this._box_0.override;
  69169. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  69170. },
  69171. $signature: 2
  69172. };
  69173. A._EvaluateVisitor_visitVariableDeclaration_closure3.prototype = {
  69174. call$0() {
  69175. var t1 = this.node;
  69176. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  69177. },
  69178. $signature: 43
  69179. };
  69180. A._EvaluateVisitor_visitVariableDeclaration_closure4.prototype = {
  69181. call$0() {
  69182. var t1 = this.$this,
  69183. t2 = this.node;
  69184. t1._async_evaluate$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  69185. },
  69186. $signature: 2
  69187. };
  69188. A._EvaluateVisitor_visitUseRule_closure0.prototype = {
  69189. call$2(module, firstLoad) {
  69190. var t1, t2, t3, _0_0, $name, t4, t5, span;
  69191. if (firstLoad)
  69192. this.$this._async_evaluate$_registerCommentsForModule$1(module);
  69193. t1 = this.$this._async_evaluate$_environment;
  69194. t2 = this.node;
  69195. t3 = t2.namespace;
  69196. if (t3 == null) {
  69197. t1._async_environment$_globalModules.$indexSet(0, module, t2);
  69198. t1._async_environment$_allModules.push(module);
  69199. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._async_environment$_variables)), module.get$variables().get$containsKey());
  69200. if (_0_0 != null) {
  69201. $name = _0_0;
  69202. t1 = true;
  69203. } else {
  69204. $name = null;
  69205. t1 = false;
  69206. }
  69207. if (t1)
  69208. A.throwExpression(A.SassScriptException$(string$.This_ma + A.S($name) + '".', null));
  69209. } else {
  69210. t4 = t1._async_environment$_modules;
  69211. if (t4.containsKey$1(t3)) {
  69212. t5 = t1._async_environment$_namespaceNodes.$index(0, t3);
  69213. span = t5 == null ? null : t5.span;
  69214. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  69215. if (span != null)
  69216. t5.$indexSet(0, span, "original @use");
  69217. A.throwExpression(A.MultiSpanSassScriptException$(string$.There_ + t3 + '".', "new @use", t5));
  69218. }
  69219. t4.$indexSet(0, t3, module);
  69220. t1._async_environment$_namespaceNodes.$indexSet(0, t3, t2);
  69221. t1._async_environment$_allModules.push(module);
  69222. }
  69223. },
  69224. $signature: 143
  69225. };
  69226. A._EvaluateVisitor_visitWarnRule_closure0.prototype = {
  69227. call$0() {
  69228. return this.node.expression.accept$1(this.$this);
  69229. },
  69230. $signature: 69
  69231. };
  69232. A._EvaluateVisitor_visitWhileRule_closure0.prototype = {
  69233. call$0() {
  69234. var $async$goto = 0,
  69235. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value),
  69236. $async$returnValue, $async$self = this, t1, t2, t3, _0_0, result, t4;
  69237. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69238. if ($async$errorCode === 1)
  69239. return A._asyncRethrow($async$result, $async$completer);
  69240. while (true)
  69241. switch ($async$goto) {
  69242. case 0:
  69243. // Function start
  69244. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  69245. case 3:
  69246. // for condition
  69247. $async$goto = 5;
  69248. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  69249. case 5:
  69250. // returning from await.
  69251. if (!$async$result.get$isTruthy()) {
  69252. // goto after for
  69253. $async$goto = 4;
  69254. break;
  69255. }
  69256. $async$goto = 6;
  69257. return A._asyncAwait(t3._async_evaluate$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure0(t3)), $async$call$0);
  69258. case 6:
  69259. // returning from await.
  69260. _0_0 = $async$result;
  69261. if (_0_0 != null) {
  69262. result = _0_0;
  69263. t4 = true;
  69264. } else {
  69265. result = null;
  69266. t4 = false;
  69267. }
  69268. if (t4) {
  69269. $async$returnValue = result;
  69270. // goto return
  69271. $async$goto = 1;
  69272. break;
  69273. }
  69274. // goto for condition
  69275. $async$goto = 3;
  69276. break;
  69277. case 4:
  69278. // after for
  69279. $async$returnValue = null;
  69280. // goto return
  69281. $async$goto = 1;
  69282. break;
  69283. case 1:
  69284. // return
  69285. return A._asyncReturn($async$returnValue, $async$completer);
  69286. }
  69287. });
  69288. return A._asyncStartSync($async$call$0, $async$completer);
  69289. },
  69290. $signature: 78
  69291. };
  69292. A._EvaluateVisitor_visitWhileRule__closure0.prototype = {
  69293. call$1(child) {
  69294. return child.accept$1(this.$this);
  69295. },
  69296. $signature: 88
  69297. };
  69298. A._EvaluateVisitor_visitBinaryOperationExpression_closure0.prototype = {
  69299. call$0() {
  69300. var $async$goto = 0,
  69301. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  69302. $async$returnValue, $async$self = this, t3, t1, t2, left, $async$temp1, $async$temp2;
  69303. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69304. if ($async$errorCode === 1)
  69305. return A._asyncRethrow($async$result, $async$completer);
  69306. while (true)
  69307. switch ($async$goto) {
  69308. case 0:
  69309. // Function start
  69310. t1 = $async$self.node;
  69311. t2 = $async$self.$this;
  69312. $async$goto = 3;
  69313. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  69314. case 3:
  69315. // returning from await.
  69316. left = $async$result;
  69317. case 4:
  69318. // switch
  69319. switch (t1.operator) {
  69320. case B.BinaryOperator_2jN:
  69321. // goto case
  69322. $async$goto = 6;
  69323. break;
  69324. case B.BinaryOperator_M6L:
  69325. // goto case
  69326. $async$goto = 7;
  69327. break;
  69328. case B.BinaryOperator_SNp:
  69329. // goto case
  69330. $async$goto = 8;
  69331. break;
  69332. case B.BinaryOperator_ql5:
  69333. // goto case
  69334. $async$goto = 9;
  69335. break;
  69336. case B.BinaryOperator_ViB:
  69337. // goto case
  69338. $async$goto = 10;
  69339. break;
  69340. case B.BinaryOperator_cIH:
  69341. // goto case
  69342. $async$goto = 11;
  69343. break;
  69344. case B.BinaryOperator_7Tg:
  69345. // goto case
  69346. $async$goto = 12;
  69347. break;
  69348. case B.BinaryOperator_U8c:
  69349. // goto case
  69350. $async$goto = 13;
  69351. break;
  69352. case B.BinaryOperator_kpg:
  69353. // goto case
  69354. $async$goto = 14;
  69355. break;
  69356. case B.BinaryOperator_anB:
  69357. // goto case
  69358. $async$goto = 15;
  69359. break;
  69360. case B.BinaryOperator_olz:
  69361. // goto case
  69362. $async$goto = 16;
  69363. break;
  69364. case B.BinaryOperator_qN2:
  69365. // goto case
  69366. $async$goto = 17;
  69367. break;
  69368. case B.BinaryOperator_t8B:
  69369. // goto case
  69370. $async$goto = 18;
  69371. break;
  69372. case B.BinaryOperator_OTG:
  69373. // goto case
  69374. $async$goto = 19;
  69375. break;
  69376. default:
  69377. // goto default
  69378. $async$goto = 20;
  69379. break;
  69380. }
  69381. break;
  69382. case 6:
  69383. // case
  69384. t1 = t1.right.accept$1(t2);
  69385. $async$goto = 21;
  69386. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  69387. case 21:
  69388. // returning from await.
  69389. t1 = $async$result;
  69390. t1 = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(t1, false, true), false);
  69391. // goto after switch
  69392. $async$goto = 5;
  69393. break;
  69394. case 7:
  69395. // case
  69396. $async$goto = left.get$isTruthy() ? 22 : 24;
  69397. break;
  69398. case 22:
  69399. // then
  69400. t1 = left;
  69401. // goto join
  69402. $async$goto = 23;
  69403. break;
  69404. case 24:
  69405. // else
  69406. t1 = t1.right.accept$1(t2);
  69407. $async$goto = 25;
  69408. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  69409. case 25:
  69410. // returning from await.
  69411. t1 = $async$result;
  69412. case 23:
  69413. // join
  69414. // goto after switch
  69415. $async$goto = 5;
  69416. break;
  69417. case 8:
  69418. // case
  69419. $async$goto = left.get$isTruthy() ? 26 : 28;
  69420. break;
  69421. case 26:
  69422. // then
  69423. t1 = t1.right.accept$1(t2);
  69424. $async$goto = 29;
  69425. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  69426. case 29:
  69427. // returning from await.
  69428. t1 = $async$result;
  69429. // goto join
  69430. $async$goto = 27;
  69431. break;
  69432. case 28:
  69433. // else
  69434. t1 = left;
  69435. case 27:
  69436. // join
  69437. // goto after switch
  69438. $async$goto = 5;
  69439. break;
  69440. case 9:
  69441. // case
  69442. $async$temp1 = left;
  69443. $async$goto = 30;
  69444. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  69445. case 30:
  69446. // returning from await.
  69447. t1 = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  69448. // goto after switch
  69449. $async$goto = 5;
  69450. break;
  69451. case 10:
  69452. // case
  69453. $async$temp1 = left;
  69454. $async$goto = 31;
  69455. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  69456. case 31:
  69457. // returning from await.
  69458. t1 = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true : B.SassBoolean_false;
  69459. // goto after switch
  69460. $async$goto = 5;
  69461. break;
  69462. case 11:
  69463. // case
  69464. t1 = t1.right.accept$1(t2);
  69465. $async$temp1 = left;
  69466. $async$goto = 32;
  69467. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  69468. case 32:
  69469. // returning from await.
  69470. t1 = $async$temp1.greaterThan$1($async$result);
  69471. // goto after switch
  69472. $async$goto = 5;
  69473. break;
  69474. case 12:
  69475. // case
  69476. t1 = t1.right.accept$1(t2);
  69477. $async$temp1 = left;
  69478. $async$goto = 33;
  69479. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  69480. case 33:
  69481. // returning from await.
  69482. t1 = $async$temp1.greaterThanOrEquals$1($async$result);
  69483. // goto after switch
  69484. $async$goto = 5;
  69485. break;
  69486. case 13:
  69487. // case
  69488. t1 = t1.right.accept$1(t2);
  69489. $async$temp1 = left;
  69490. $async$goto = 34;
  69491. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  69492. case 34:
  69493. // returning from await.
  69494. t1 = $async$temp1.lessThan$1($async$result);
  69495. // goto after switch
  69496. $async$goto = 5;
  69497. break;
  69498. case 14:
  69499. // case
  69500. t1 = t1.right.accept$1(t2);
  69501. $async$temp1 = left;
  69502. $async$goto = 35;
  69503. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  69504. case 35:
  69505. // returning from await.
  69506. t1 = $async$temp1.lessThanOrEquals$1($async$result);
  69507. // goto after switch
  69508. $async$goto = 5;
  69509. break;
  69510. case 15:
  69511. // case
  69512. t1 = t1.right.accept$1(t2);
  69513. $async$temp1 = left;
  69514. $async$goto = 36;
  69515. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  69516. case 36:
  69517. // returning from await.
  69518. t1 = $async$temp1.plus$1($async$result);
  69519. // goto after switch
  69520. $async$goto = 5;
  69521. break;
  69522. case 16:
  69523. // case
  69524. t1 = t1.right.accept$1(t2);
  69525. $async$temp1 = left;
  69526. $async$goto = 37;
  69527. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  69528. case 37:
  69529. // returning from await.
  69530. t1 = $async$temp1.minus$1($async$result);
  69531. // goto after switch
  69532. $async$goto = 5;
  69533. break;
  69534. case 17:
  69535. // case
  69536. t1 = t1.right.accept$1(t2);
  69537. $async$temp1 = left;
  69538. $async$goto = 38;
  69539. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  69540. case 38:
  69541. // returning from await.
  69542. t1 = $async$temp1.times$1($async$result);
  69543. // goto after switch
  69544. $async$goto = 5;
  69545. break;
  69546. case 18:
  69547. // case
  69548. t3 = t1.right.accept$1(t2);
  69549. $async$temp1 = t2;
  69550. $async$temp2 = left;
  69551. $async$goto = 39;
  69552. return A._asyncAwait(type$.Future_Value._is(t3) ? t3 : A._Future$value(t3, type$.Value), $async$call$0);
  69553. case 39:
  69554. // returning from await.
  69555. t1 = $async$temp1._async_evaluate$_slash$3($async$temp2, $async$result, t1);
  69556. // goto after switch
  69557. $async$goto = 5;
  69558. break;
  69559. case 19:
  69560. // case
  69561. t1 = t1.right.accept$1(t2);
  69562. $async$temp1 = left;
  69563. $async$goto = 40;
  69564. return A._asyncAwait(type$.Future_Value._is(t1) ? t1 : A._Future$value(t1, type$.Value), $async$call$0);
  69565. case 40:
  69566. // returning from await.
  69567. t1 = $async$temp1.modulo$1($async$result);
  69568. // goto after switch
  69569. $async$goto = 5;
  69570. break;
  69571. case 20:
  69572. // default
  69573. t1 = null;
  69574. case 5:
  69575. // after switch
  69576. $async$returnValue = t1;
  69577. // goto return
  69578. $async$goto = 1;
  69579. break;
  69580. case 1:
  69581. // return
  69582. return A._asyncReturn($async$returnValue, $async$completer);
  69583. }
  69584. });
  69585. return A._asyncStartSync($async$call$0, $async$completer);
  69586. },
  69587. $signature: 69
  69588. };
  69589. A._EvaluateVisitor__slash_closure1.prototype = {
  69590. call$0() {
  69591. return this._1_0._0;
  69592. },
  69593. $signature: 25
  69594. };
  69595. A._EvaluateVisitor__slash_closure2.prototype = {
  69596. call$0() {
  69597. return this._1_0._1;
  69598. },
  69599. $signature: 25
  69600. };
  69601. A._EvaluateVisitor__slash_recommendation0.prototype = {
  69602. call$1(expression) {
  69603. var left, right, t1, _null = null;
  69604. $label0$0: {
  69605. if (expression instanceof A.BinaryOperationExpression)
  69606. if (B.BinaryOperator_t8B === expression.operator) {
  69607. left = expression.left;
  69608. right = expression.right;
  69609. t1 = true;
  69610. } else {
  69611. right = _null;
  69612. left = right;
  69613. t1 = false;
  69614. }
  69615. else {
  69616. right = _null;
  69617. left = right;
  69618. t1 = false;
  69619. }
  69620. if (t1) {
  69621. t1 = "math.div(" + A.S(this.call$1(left)) + ", " + A.S(this.call$1(right)) + ")";
  69622. break $label0$0;
  69623. }
  69624. if (expression instanceof A.ParenthesizedExpression) {
  69625. t1 = expression.expression.toString$0(0);
  69626. break $label0$0;
  69627. }
  69628. t1 = expression.toString$0(0);
  69629. break $label0$0;
  69630. }
  69631. return t1;
  69632. },
  69633. $signature: 135
  69634. };
  69635. A._EvaluateVisitor_visitVariableExpression_closure0.prototype = {
  69636. call$0() {
  69637. var t1 = this.node;
  69638. return this.$this._async_evaluate$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  69639. },
  69640. $signature: 43
  69641. };
  69642. A._EvaluateVisitor_visitUnaryOperationExpression_closure0.prototype = {
  69643. call$0() {
  69644. var t1, _this = this;
  69645. switch (_this.node.operator) {
  69646. case B.UnaryOperator_gg4:
  69647. t1 = _this.operand.unaryPlus$0();
  69648. break;
  69649. case B.UnaryOperator_TLI:
  69650. t1 = _this.operand.unaryMinus$0();
  69651. break;
  69652. case B.UnaryOperator_Ix1:
  69653. t1 = new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  69654. break;
  69655. case B.UnaryOperator_not_not_not:
  69656. t1 = _this.operand.unaryNot$0();
  69657. break;
  69658. default:
  69659. t1 = null;
  69660. }
  69661. return t1;
  69662. },
  69663. $signature: 25
  69664. };
  69665. A._EvaluateVisitor_visitListExpression_closure0.prototype = {
  69666. call$1(expression) {
  69667. return expression.accept$1(this.$this);
  69668. },
  69669. $signature: 518
  69670. };
  69671. A._EvaluateVisitor_visitFunctionExpression_closure2.prototype = {
  69672. call$0() {
  69673. var t1 = this.$this._async_evaluate$_environment,
  69674. t2 = this.node;
  69675. return t1.getFunction$2$namespace(A.stringReplaceAllUnchecked(t2.originalName, "_", "-"), t2.namespace);
  69676. },
  69677. $signature: 103
  69678. };
  69679. A._EvaluateVisitor_visitFunctionExpression_closure3.prototype = {
  69680. call$1(argument) {
  69681. return argument.accept$1(new A._IsCalculationSafeVisitor());
  69682. },
  69683. $signature: 142
  69684. };
  69685. A._EvaluateVisitor_visitFunctionExpression_closure4.prototype = {
  69686. call$0() {
  69687. var t1 = this.node;
  69688. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  69689. },
  69690. $signature: 69
  69691. };
  69692. A._EvaluateVisitor__checkCalculationArguments_check0.prototype = {
  69693. call$1(maxArgs) {
  69694. var t1 = this.node,
  69695. t2 = t1.$arguments.positional.length;
  69696. if (t2 === 0)
  69697. throw A.wrapException(this.$this._async_evaluate$_exception$2("Missing argument.", t1.span));
  69698. else if (maxArgs != null && t2 > maxArgs)
  69699. throw A.wrapException(this.$this._async_evaluate$_exception$2("Only " + A.S(maxArgs) + " " + A.pluralize("argument", maxArgs, null) + " allowed, but " + t2 + " " + A.pluralize("was", t2, "were") + " passed.", t1.span));
  69700. },
  69701. call$0() {
  69702. return this.call$1(null);
  69703. },
  69704. $signature: 86
  69705. };
  69706. A._EvaluateVisitor__visitCalculationExpression_closure0.prototype = {
  69707. call$0() {
  69708. var $async$goto = 0,
  69709. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  69710. $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
  69711. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69712. if ($async$errorCode === 1)
  69713. return A._asyncRethrow($async$result, $async$completer);
  69714. while (true)
  69715. switch ($async$goto) {
  69716. case 0:
  69717. // Function start
  69718. t1 = $async$self.$this;
  69719. t2 = $async$self._box_0;
  69720. t3 = $async$self.inLegacySassFunction;
  69721. $async$temp1 = A;
  69722. $async$temp2 = t1._async_evaluate$_binaryOperatorToCalculationOperator$2(t2.operator, $async$self.node);
  69723. $async$goto = 3;
  69724. return A._asyncAwait(t1._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2.left, t3), $async$call$0);
  69725. case 3:
  69726. // returning from await.
  69727. $async$temp3 = $async$result;
  69728. $async$goto = 4;
  69729. return A._asyncAwait(t1._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(t2.right, t3), $async$call$0);
  69730. case 4:
  69731. // returning from await.
  69732. $async$returnValue = $async$temp1.SassCalculation_operateInternal($async$temp2, $async$temp3, $async$result, t3, !t1._async_evaluate$_inSupportsDeclaration);
  69733. // goto return
  69734. $async$goto = 1;
  69735. break;
  69736. case 1:
  69737. // return
  69738. return A._asyncReturn($async$returnValue, $async$completer);
  69739. }
  69740. });
  69741. return A._asyncStartSync($async$call$0, $async$completer);
  69742. },
  69743. $signature: 152
  69744. };
  69745. A._EvaluateVisitor__checkAdjacentCalculationValues_closure0.prototype = {
  69746. call$0() {
  69747. return type$.UnaryOperationExpression._as(this._0_0).operator;
  69748. },
  69749. $signature: 134
  69750. };
  69751. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0.prototype = {
  69752. call$0() {
  69753. var t1 = this.node;
  69754. return this.$this._async_evaluate$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  69755. },
  69756. $signature: 69
  69757. };
  69758. A._EvaluateVisitor__runUserDefinedCallable_closure0.prototype = {
  69759. call$0() {
  69760. var _this = this,
  69761. t1 = _this.$this,
  69762. t2 = _this.callable,
  69763. t3 = _this.V;
  69764. 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);
  69765. },
  69766. $signature() {
  69767. return this.V._eval$1("Future<0>()");
  69768. }
  69769. };
  69770. A._EvaluateVisitor__runUserDefinedCallable__closure0.prototype = {
  69771. call$0() {
  69772. var _this = this,
  69773. t1 = _this.$this,
  69774. t2 = _this.V;
  69775. return t1._async_evaluate$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure0(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  69776. },
  69777. $signature() {
  69778. return this.V._eval$1("Future<0>()");
  69779. }
  69780. };
  69781. A._EvaluateVisitor__runUserDefinedCallable___closure0.prototype = {
  69782. call$0() {
  69783. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure(this.V);
  69784. },
  69785. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure($async$type) {
  69786. var $async$goto = 0,
  69787. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  69788. $async$returnValue, $async$self = this, declaredArguments, t5, minLength, i, argument, t6, t7, value, t8, restArgument, rest, argumentList, result, t1, t2, t3, t4, $async$temp1;
  69789. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69790. if ($async$errorCode === 1)
  69791. return A._asyncRethrow($async$result, $async$completer);
  69792. while (true)
  69793. switch ($async$goto) {
  69794. case 0:
  69795. // Function start
  69796. t1 = $async$self.$this;
  69797. t2 = $async$self.evaluated._values;
  69798. t3 = $async$self.callable.declaration.$arguments;
  69799. t4 = $async$self.nodeWithSpan;
  69800. t1._async_evaluate$_verifyArguments$4(J.get$length$asx(t2[2]), t2[0], t3, t4);
  69801. declaredArguments = t3.$arguments;
  69802. t5 = declaredArguments.length;
  69803. minLength = Math.min(J.get$length$asx(t2[2]), t5);
  69804. for (i = 0; i < minLength; ++i)
  69805. t1._async_evaluate$_environment.setLocalVariable$3(declaredArguments[i].name, J.$index$asx(t2[2], i), J.$index$asx(t2[3], i));
  69806. i = J.get$length$asx(t2[2]);
  69807. case 3:
  69808. // for condition
  69809. if (!(i < t5)) {
  69810. // goto after for
  69811. $async$goto = 5;
  69812. break;
  69813. }
  69814. argument = declaredArguments[i];
  69815. t6 = t2[0];
  69816. t7 = argument.name;
  69817. value = J.remove$1$z(t6, t7);
  69818. $async$goto = value == null ? 6 : 7;
  69819. break;
  69820. case 6:
  69821. // then
  69822. t6 = argument.defaultValue;
  69823. $async$temp1 = t1;
  69824. $async$goto = 8;
  69825. return A._asyncAwait(t6.accept$1(t1), $async$call$0);
  69826. case 8:
  69827. // returning from await.
  69828. value = $async$temp1._async_evaluate$_withoutSlash$2($async$result, t1._async_evaluate$_expressionNode$1(t6));
  69829. case 7:
  69830. // join
  69831. t6 = t1._async_evaluate$_environment;
  69832. t8 = J.$index$asx(t2[1], t7);
  69833. if (t8 == null) {
  69834. t8 = argument.defaultValue;
  69835. t8.toString;
  69836. t8 = t1._async_evaluate$_expressionNode$1(t8);
  69837. }
  69838. t6.setLocalVariable$3(t7, value, t8);
  69839. case 4:
  69840. // for update
  69841. ++i;
  69842. // goto for condition
  69843. $async$goto = 3;
  69844. break;
  69845. case 5:
  69846. // after for
  69847. restArgument = t3.restArgument;
  69848. if (restArgument != null) {
  69849. rest = J.get$length$asx(t2[2]) > t5 ? J.sublist$1$ax(t2[2], t5) : B.List_empty8;
  69850. t5 = t2[0];
  69851. t6 = t2[4];
  69852. argumentList = A.SassArgumentList$(rest, t5, t6 === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_rXA : t6);
  69853. t1._async_evaluate$_environment.setLocalVariable$3(restArgument, argumentList, t4);
  69854. } else
  69855. argumentList = null;
  69856. $async$goto = 9;
  69857. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  69858. case 9:
  69859. // returning from await.
  69860. result = $async$result;
  69861. if (argumentList == null) {
  69862. $async$returnValue = result;
  69863. // goto return
  69864. $async$goto = 1;
  69865. break;
  69866. }
  69867. if (J.get$isEmpty$asx(t2[0])) {
  69868. $async$returnValue = result;
  69869. // goto return
  69870. $async$goto = 1;
  69871. break;
  69872. }
  69873. if (argumentList._wereKeywordsAccessed) {
  69874. $async$returnValue = result;
  69875. // goto return
  69876. $async$goto = 1;
  69877. break;
  69878. }
  69879. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + A.pluralize("argument", J.get$length$asx(J.get$keys$z(t2[0])), null) + " named " + A.toSentence(J.map$1$1$ax(J.get$keys$z(t2[0]), new A._EvaluateVisitor__runUserDefinedCallable____closure0(), type$.Object), "or") + ".", t4.get$span(t4), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t3.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._async_evaluate$_stackTrace$1(t4.get$span(t4)), null));
  69880. case 1:
  69881. // return
  69882. return A._asyncReturn($async$returnValue, $async$completer);
  69883. }
  69884. });
  69885. return A._asyncStartSync($async$call$0, $async$completer);
  69886. },
  69887. $signature() {
  69888. return this.V._eval$1("Future<0>()");
  69889. }
  69890. };
  69891. A._EvaluateVisitor__runUserDefinedCallable____closure0.prototype = {
  69892. call$1($name) {
  69893. return "$" + $name;
  69894. },
  69895. $signature: 7
  69896. };
  69897. A._EvaluateVisitor__runFunctionCallable_closure0.prototype = {
  69898. call$0() {
  69899. var $async$goto = 0,
  69900. $async$completer = A._makeAsyncAwaitCompleter(type$.Value),
  69901. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  69902. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  69903. if ($async$errorCode === 1)
  69904. return A._asyncRethrow($async$result, $async$completer);
  69905. while (true)
  69906. switch ($async$goto) {
  69907. case 0:
  69908. // Function start
  69909. t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  69910. case 3:
  69911. // for condition
  69912. if (!(_i < t3)) {
  69913. // goto after for
  69914. $async$goto = 5;
  69915. break;
  69916. }
  69917. $async$goto = 6;
  69918. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  69919. case 6:
  69920. // returning from await.
  69921. $returnValue = $async$result;
  69922. if ($returnValue instanceof A.Value) {
  69923. $async$returnValue = $returnValue;
  69924. // goto return
  69925. $async$goto = 1;
  69926. break;
  69927. }
  69928. case 4:
  69929. // for update
  69930. ++_i;
  69931. // goto for condition
  69932. $async$goto = 3;
  69933. break;
  69934. case 5:
  69935. // after for
  69936. throw A.wrapException(t4._async_evaluate$_exception$2("Function finished without @return.", t1.span));
  69937. case 1:
  69938. // return
  69939. return A._asyncReturn($async$returnValue, $async$completer);
  69940. }
  69941. });
  69942. return A._asyncStartSync($async$call$0, $async$completer);
  69943. },
  69944. $signature: 69
  69945. };
  69946. A._EvaluateVisitor__runBuiltInCallable_closure2.prototype = {
  69947. call$0() {
  69948. return this._box_0.overload.verify$2(J.get$length$asx(this.evaluated._values[2]), this.namedSet);
  69949. },
  69950. $signature: 0
  69951. };
  69952. A._EvaluateVisitor__runBuiltInCallable_closure3.prototype = {
  69953. call$0() {
  69954. return this._box_0.callback.call$1(this.evaluated._values[2]);
  69955. },
  69956. $signature: 529
  69957. };
  69958. A._EvaluateVisitor__runBuiltInCallable_closure4.prototype = {
  69959. call$1($name) {
  69960. return "$" + $name;
  69961. },
  69962. $signature: 7
  69963. };
  69964. A._EvaluateVisitor__evaluateArguments_closure3.prototype = {
  69965. call$1(value) {
  69966. return value;
  69967. },
  69968. $signature: 44
  69969. };
  69970. A._EvaluateVisitor__evaluateArguments_closure4.prototype = {
  69971. call$1(value) {
  69972. return this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan);
  69973. },
  69974. $signature: 44
  69975. };
  69976. A._EvaluateVisitor__evaluateArguments_closure5.prototype = {
  69977. call$2(key, value) {
  69978. var _this = this,
  69979. t1 = _this.restNodeForSpan;
  69980. _this.named.$indexSet(0, key, _this.$this._async_evaluate$_withoutSlash$2(value, t1));
  69981. _this.namedNodes.$indexSet(0, key, t1);
  69982. },
  69983. $signature: 87
  69984. };
  69985. A._EvaluateVisitor__evaluateArguments_closure6.prototype = {
  69986. call$1(value) {
  69987. return value;
  69988. },
  69989. $signature: 44
  69990. };
  69991. A._EvaluateVisitor__evaluateMacroArguments_closure3.prototype = {
  69992. call$1(value) {
  69993. var t1 = this.restArgs;
  69994. return new A.ValueExpression(value, t1.get$span(t1));
  69995. },
  69996. $signature: 64
  69997. };
  69998. A._EvaluateVisitor__evaluateMacroArguments_closure4.prototype = {
  69999. call$1(value) {
  70000. var t1 = this.restArgs;
  70001. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  70002. },
  70003. $signature: 64
  70004. };
  70005. A._EvaluateVisitor__evaluateMacroArguments_closure5.prototype = {
  70006. call$2(key, value) {
  70007. var _this = this,
  70008. t1 = _this.restArgs;
  70009. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._async_evaluate$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  70010. },
  70011. $signature: 87
  70012. };
  70013. A._EvaluateVisitor__evaluateMacroArguments_closure6.prototype = {
  70014. call$1(value) {
  70015. var t1 = this.keywordRestArgs;
  70016. return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  70017. },
  70018. $signature: 64
  70019. };
  70020. A._EvaluateVisitor__addRestMap_closure0.prototype = {
  70021. call$2(key, value) {
  70022. var t2, _this = this,
  70023. t1 = _this.$this;
  70024. if (key instanceof A.SassString)
  70025. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._async_evaluate$_withoutSlash$2(value, _this.expressionNode)));
  70026. else {
  70027. t2 = _this.nodeWithSpan;
  70028. 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)));
  70029. }
  70030. },
  70031. $signature: 96
  70032. };
  70033. A._EvaluateVisitor__verifyArguments_closure0.prototype = {
  70034. call$0() {
  70035. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  70036. },
  70037. $signature: 0
  70038. };
  70039. A._EvaluateVisitor_visitCssAtRule_closure1.prototype = {
  70040. call$0() {
  70041. var $async$goto = 0,
  70042. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70043. $async$self = this, t1, t2, t3, t4;
  70044. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70045. if ($async$errorCode === 1)
  70046. return A._asyncRethrow($async$result, $async$completer);
  70047. while (true)
  70048. switch ($async$goto) {
  70049. case 0:
  70050. // Function start
  70051. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  70052. case 2:
  70053. // for condition
  70054. if (!t1.moveNext$0()) {
  70055. // goto after for
  70056. $async$goto = 3;
  70057. break;
  70058. }
  70059. t4 = t1.__internal$_current;
  70060. $async$goto = 4;
  70061. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  70062. case 4:
  70063. // returning from await.
  70064. // goto for condition
  70065. $async$goto = 2;
  70066. break;
  70067. case 3:
  70068. // after for
  70069. // implicit return
  70070. return A._asyncReturn(null, $async$completer);
  70071. }
  70072. });
  70073. return A._asyncStartSync($async$call$0, $async$completer);
  70074. },
  70075. $signature: 4
  70076. };
  70077. A._EvaluateVisitor_visitCssAtRule_closure2.prototype = {
  70078. call$1(node) {
  70079. return node instanceof A.ModifiableCssStyleRule;
  70080. },
  70081. $signature: 9
  70082. };
  70083. A._EvaluateVisitor_visitCssKeyframeBlock_closure1.prototype = {
  70084. call$0() {
  70085. var $async$goto = 0,
  70086. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70087. $async$self = this, t1, t2, t3, t4;
  70088. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70089. if ($async$errorCode === 1)
  70090. return A._asyncRethrow($async$result, $async$completer);
  70091. while (true)
  70092. switch ($async$goto) {
  70093. case 0:
  70094. // Function start
  70095. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  70096. case 2:
  70097. // for condition
  70098. if (!t1.moveNext$0()) {
  70099. // goto after for
  70100. $async$goto = 3;
  70101. break;
  70102. }
  70103. t4 = t1.__internal$_current;
  70104. $async$goto = 4;
  70105. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  70106. case 4:
  70107. // returning from await.
  70108. // goto for condition
  70109. $async$goto = 2;
  70110. break;
  70111. case 3:
  70112. // after for
  70113. // implicit return
  70114. return A._asyncReturn(null, $async$completer);
  70115. }
  70116. });
  70117. return A._asyncStartSync($async$call$0, $async$completer);
  70118. },
  70119. $signature: 4
  70120. };
  70121. A._EvaluateVisitor_visitCssKeyframeBlock_closure2.prototype = {
  70122. call$1(node) {
  70123. return node instanceof A.ModifiableCssStyleRule;
  70124. },
  70125. $signature: 9
  70126. };
  70127. A._EvaluateVisitor_visitCssMediaRule_closure2.prototype = {
  70128. call$1(mediaQueries) {
  70129. return this.$this._async_evaluate$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  70130. },
  70131. $signature: 81
  70132. };
  70133. A._EvaluateVisitor_visitCssMediaRule_closure3.prototype = {
  70134. call$0() {
  70135. var $async$goto = 0,
  70136. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70137. $async$self = this, t1, t2;
  70138. var $async$call$0 = 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 = $async$self.$this;
  70146. t2 = $async$self.mergedQueries;
  70147. if (t2 == null)
  70148. t2 = $async$self.node.queries;
  70149. $async$goto = 2;
  70150. 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);
  70151. case 2:
  70152. // returning from await.
  70153. // implicit return
  70154. return A._asyncReturn(null, $async$completer);
  70155. }
  70156. });
  70157. return A._asyncStartSync($async$call$0, $async$completer);
  70158. },
  70159. $signature: 4
  70160. };
  70161. A._EvaluateVisitor_visitCssMediaRule__closure0.prototype = {
  70162. call$0() {
  70163. var $async$goto = 0,
  70164. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70165. $async$self = this, styleRule, t2, t3, t4, t1, _0_0;
  70166. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70167. if ($async$errorCode === 1)
  70168. return A._asyncRethrow($async$result, $async$completer);
  70169. while (true)
  70170. switch ($async$goto) {
  70171. case 0:
  70172. // Function start
  70173. t1 = $async$self.$this;
  70174. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  70175. if (_0_0 != null) {
  70176. styleRule = _0_0;
  70177. t2 = true;
  70178. } else {
  70179. styleRule = null;
  70180. t2 = false;
  70181. }
  70182. $async$goto = t2 ? 2 : 4;
  70183. break;
  70184. case 2:
  70185. // then
  70186. $async$goto = 5;
  70187. return A._asyncAwait(t1._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule._style_rule$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure0(t1, $async$self.node), false, type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  70188. case 5:
  70189. // returning from await.
  70190. // goto join
  70191. $async$goto = 3;
  70192. break;
  70193. case 4:
  70194. // else
  70195. t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
  70196. case 6:
  70197. // for condition
  70198. if (!t2.moveNext$0()) {
  70199. // goto after for
  70200. $async$goto = 7;
  70201. break;
  70202. }
  70203. t4 = t2.__internal$_current;
  70204. $async$goto = 8;
  70205. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  70206. case 8:
  70207. // returning from await.
  70208. // goto for condition
  70209. $async$goto = 6;
  70210. break;
  70211. case 7:
  70212. // after for
  70213. case 3:
  70214. // join
  70215. // implicit return
  70216. return A._asyncReturn(null, $async$completer);
  70217. }
  70218. });
  70219. return A._asyncStartSync($async$call$0, $async$completer);
  70220. },
  70221. $signature: 4
  70222. };
  70223. A._EvaluateVisitor_visitCssMediaRule___closure0.prototype = {
  70224. call$0() {
  70225. var $async$goto = 0,
  70226. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70227. $async$self = this, t1, t2, t3, t4;
  70228. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70229. if ($async$errorCode === 1)
  70230. return A._asyncRethrow($async$result, $async$completer);
  70231. while (true)
  70232. switch ($async$goto) {
  70233. case 0:
  70234. // Function start
  70235. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  70236. case 2:
  70237. // for condition
  70238. if (!t1.moveNext$0()) {
  70239. // goto after for
  70240. $async$goto = 3;
  70241. break;
  70242. }
  70243. t4 = t1.__internal$_current;
  70244. $async$goto = 4;
  70245. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  70246. case 4:
  70247. // returning from await.
  70248. // goto for condition
  70249. $async$goto = 2;
  70250. break;
  70251. case 3:
  70252. // after for
  70253. // implicit return
  70254. return A._asyncReturn(null, $async$completer);
  70255. }
  70256. });
  70257. return A._asyncStartSync($async$call$0, $async$completer);
  70258. },
  70259. $signature: 4
  70260. };
  70261. A._EvaluateVisitor_visitCssMediaRule_closure4.prototype = {
  70262. call$1(node) {
  70263. var t1;
  70264. if (!(node instanceof A.ModifiableCssStyleRule)) {
  70265. t1 = this.mergedSources;
  70266. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  70267. } else
  70268. t1 = true;
  70269. return t1;
  70270. },
  70271. $signature: 9
  70272. };
  70273. A._EvaluateVisitor_visitCssStyleRule_closure2.prototype = {
  70274. call$0() {
  70275. var $async$goto = 0,
  70276. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70277. $async$self = this, t1;
  70278. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70279. if ($async$errorCode === 1)
  70280. return A._asyncRethrow($async$result, $async$completer);
  70281. while (true)
  70282. switch ($async$goto) {
  70283. case 0:
  70284. // Function start
  70285. t1 = $async$self.$this;
  70286. $async$goto = 2;
  70287. 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);
  70288. case 2:
  70289. // returning from await.
  70290. // implicit return
  70291. return A._asyncReturn(null, $async$completer);
  70292. }
  70293. });
  70294. return A._asyncStartSync($async$call$0, $async$completer);
  70295. },
  70296. $signature: 4
  70297. };
  70298. A._EvaluateVisitor_visitCssStyleRule__closure0.prototype = {
  70299. call$0() {
  70300. var $async$goto = 0,
  70301. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70302. $async$self = this, t1, t2, t3, t4;
  70303. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70304. if ($async$errorCode === 1)
  70305. return A._asyncRethrow($async$result, $async$completer);
  70306. while (true)
  70307. switch ($async$goto) {
  70308. case 0:
  70309. // Function start
  70310. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  70311. case 2:
  70312. // for condition
  70313. if (!t1.moveNext$0()) {
  70314. // goto after for
  70315. $async$goto = 3;
  70316. break;
  70317. }
  70318. t4 = t1.__internal$_current;
  70319. $async$goto = 4;
  70320. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  70321. case 4:
  70322. // returning from await.
  70323. // goto for condition
  70324. $async$goto = 2;
  70325. break;
  70326. case 3:
  70327. // after for
  70328. // implicit return
  70329. return A._asyncReturn(null, $async$completer);
  70330. }
  70331. });
  70332. return A._asyncStartSync($async$call$0, $async$completer);
  70333. },
  70334. $signature: 4
  70335. };
  70336. A._EvaluateVisitor_visitCssStyleRule_closure3.prototype = {
  70337. call$1(node) {
  70338. return node instanceof A.ModifiableCssStyleRule;
  70339. },
  70340. $signature: 9
  70341. };
  70342. A._EvaluateVisitor_visitCssStyleRule_closure4.prototype = {
  70343. call$0() {
  70344. return J.get$length$asx(this._0_0._collection$_source);
  70345. },
  70346. $signature: 3
  70347. };
  70348. A._EvaluateVisitor_visitCssSupportsRule_closure1.prototype = {
  70349. call$0() {
  70350. var $async$goto = 0,
  70351. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70352. $async$self = this, styleRule, t2, t3, t4, t1, _0_0;
  70353. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70354. if ($async$errorCode === 1)
  70355. return A._asyncRethrow($async$result, $async$completer);
  70356. while (true)
  70357. switch ($async$goto) {
  70358. case 0:
  70359. // Function start
  70360. t1 = $async$self.$this;
  70361. _0_0 = t1._async_evaluate$_atRootExcludingStyleRule ? null : t1._async_evaluate$_styleRuleIgnoringAtRoot;
  70362. if (_0_0 != null) {
  70363. styleRule = _0_0;
  70364. t2 = true;
  70365. } else {
  70366. styleRule = null;
  70367. t2 = false;
  70368. }
  70369. $async$goto = t2 ? 2 : 4;
  70370. break;
  70371. case 2:
  70372. // then
  70373. $async$goto = 5;
  70374. return A._asyncAwait(t1._async_evaluate$_withParent$2$2(A.ModifiableCssStyleRule$(styleRule._style_rule$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure0(t1, $async$self.node), type$.ModifiableCssStyleRule, type$.Null), $async$call$0);
  70375. case 5:
  70376. // returning from await.
  70377. // goto join
  70378. $async$goto = 3;
  70379. break;
  70380. case 4:
  70381. // else
  70382. t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
  70383. case 6:
  70384. // for condition
  70385. if (!t2.moveNext$0()) {
  70386. // goto after for
  70387. $async$goto = 7;
  70388. break;
  70389. }
  70390. t4 = t2.__internal$_current;
  70391. $async$goto = 8;
  70392. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  70393. case 8:
  70394. // returning from await.
  70395. // goto for condition
  70396. $async$goto = 6;
  70397. break;
  70398. case 7:
  70399. // after for
  70400. case 3:
  70401. // join
  70402. // implicit return
  70403. return A._asyncReturn(null, $async$completer);
  70404. }
  70405. });
  70406. return A._asyncStartSync($async$call$0, $async$completer);
  70407. },
  70408. $signature: 4
  70409. };
  70410. A._EvaluateVisitor_visitCssSupportsRule__closure0.prototype = {
  70411. call$0() {
  70412. var $async$goto = 0,
  70413. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  70414. $async$self = this, t1, t2, t3, t4;
  70415. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  70416. if ($async$errorCode === 1)
  70417. return A._asyncRethrow($async$result, $async$completer);
  70418. while (true)
  70419. switch ($async$goto) {
  70420. case 0:
  70421. // Function start
  70422. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  70423. case 2:
  70424. // for condition
  70425. if (!t1.moveNext$0()) {
  70426. // goto after for
  70427. $async$goto = 3;
  70428. break;
  70429. }
  70430. t4 = t1.__internal$_current;
  70431. $async$goto = 4;
  70432. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  70433. case 4:
  70434. // returning from await.
  70435. // goto for condition
  70436. $async$goto = 2;
  70437. break;
  70438. case 3:
  70439. // after for
  70440. // implicit return
  70441. return A._asyncReturn(null, $async$completer);
  70442. }
  70443. });
  70444. return A._asyncStartSync($async$call$0, $async$completer);
  70445. },
  70446. $signature: 4
  70447. };
  70448. A._EvaluateVisitor_visitCssSupportsRule_closure2.prototype = {
  70449. call$1(node) {
  70450. return node instanceof A.ModifiableCssStyleRule;
  70451. },
  70452. $signature: 9
  70453. };
  70454. A._EvaluateVisitor__performInterpolationHelper_closure0.prototype = {
  70455. call$1(targetLocations) {
  70456. return A.InterpolationMap$(this.interpolation, targetLocations);
  70457. },
  70458. $signature: 155
  70459. };
  70460. A._EvaluateVisitor__serialize_closure0.prototype = {
  70461. call$0() {
  70462. return A.serializeValue(this.value, false, this.quote);
  70463. },
  70464. $signature: 21
  70465. };
  70466. A._EvaluateVisitor__expressionNode_closure0.prototype = {
  70467. call$0() {
  70468. var t1 = this.expression;
  70469. return this.$this._async_evaluate$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  70470. },
  70471. $signature: 156
  70472. };
  70473. A._EvaluateVisitor__withoutSlash_recommendation0.prototype = {
  70474. call$1(number) {
  70475. var t1, before, after,
  70476. _1_0 = number.asSlash;
  70477. $label0$0: {
  70478. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  70479. t1 = type$.SassNumber;
  70480. before = t1._as(_1_0._0);
  70481. after = t1._as(_1_0._1);
  70482. t1 = true;
  70483. } else {
  70484. before = null;
  70485. after = null;
  70486. t1 = false;
  70487. }
  70488. if (t1) {
  70489. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  70490. break $label0$0;
  70491. }
  70492. t1 = A.serializeValue(number, true, true);
  70493. break $label0$0;
  70494. }
  70495. return t1;
  70496. },
  70497. $signature: 157
  70498. };
  70499. A._EvaluateVisitor__stackFrame_closure0.prototype = {
  70500. call$1(url) {
  70501. var t1 = this.$this._async_evaluate$_importCache;
  70502. t1 = t1 == null ? null : t1.humanize$1(url);
  70503. return t1 == null ? url : t1;
  70504. },
  70505. $signature: 49
  70506. };
  70507. A._ImportedCssVisitor0.prototype = {
  70508. visitCssAtRule$1(node) {
  70509. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure0();
  70510. this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, t1);
  70511. },
  70512. visitCssComment$1(node) {
  70513. return this._async_evaluate$_visitor._async_evaluate$_addChild$1(node);
  70514. },
  70515. visitCssDeclaration$1(node) {
  70516. },
  70517. visitCssImport$1(node) {
  70518. var t2,
  70519. _s13_ = "_endOfImports",
  70520. t1 = this._async_evaluate$_visitor;
  70521. if (t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__parent, "__parent") !== t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__root, "_root"))
  70522. t1._async_evaluate$_addChild$1(node);
  70523. 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)) {
  70524. t1._async_evaluate$_addChild$1(node);
  70525. t1._async_evaluate$__endOfImports = t1._async_evaluate$_assertInModule$2(t1._async_evaluate$__endOfImports, _s13_) + 1;
  70526. } else {
  70527. t2 = t1._async_evaluate$_outOfOrderImports;
  70528. (t2 == null ? t1._async_evaluate$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  70529. }
  70530. },
  70531. visitCssKeyframeBlock$1(node) {
  70532. },
  70533. visitCssMediaRule$1(node) {
  70534. var t1 = this._async_evaluate$_visitor,
  70535. mediaQueries = t1._async_evaluate$_mediaQueries;
  70536. t1._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure0(mediaQueries == null || t1._async_evaluate$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  70537. },
  70538. visitCssStyleRule$1(node) {
  70539. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure0());
  70540. },
  70541. visitCssStylesheet$1(node) {
  70542. var t1, t2, t3;
  70543. for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  70544. t3 = t1.__internal$_current;
  70545. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  70546. }
  70547. },
  70548. visitCssSupportsRule$1(node) {
  70549. return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure0());
  70550. }
  70551. };
  70552. A._ImportedCssVisitor_visitCssAtRule_closure0.prototype = {
  70553. call$1(node) {
  70554. return node instanceof A.ModifiableCssStyleRule;
  70555. },
  70556. $signature: 9
  70557. };
  70558. A._ImportedCssVisitor_visitCssMediaRule_closure0.prototype = {
  70559. call$1(node) {
  70560. var t1;
  70561. if (!(node instanceof A.ModifiableCssStyleRule))
  70562. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule;
  70563. else
  70564. t1 = true;
  70565. return t1;
  70566. },
  70567. $signature: 9
  70568. };
  70569. A._ImportedCssVisitor_visitCssStyleRule_closure0.prototype = {
  70570. call$1(node) {
  70571. return node instanceof A.ModifiableCssStyleRule;
  70572. },
  70573. $signature: 9
  70574. };
  70575. A._ImportedCssVisitor_visitCssSupportsRule_closure0.prototype = {
  70576. call$1(node) {
  70577. return node instanceof A.ModifiableCssStyleRule;
  70578. },
  70579. $signature: 9
  70580. };
  70581. A._EvaluationContext0.prototype = {
  70582. get$currentCallableSpan() {
  70583. var callableNode, t1,
  70584. _0_0 = this._async_evaluate$_visitor._async_evaluate$_callableNode;
  70585. if (_0_0 != null) {
  70586. callableNode = _0_0;
  70587. t1 = true;
  70588. } else {
  70589. callableNode = null;
  70590. t1 = false;
  70591. }
  70592. if (t1)
  70593. return callableNode.get$span(callableNode);
  70594. throw A.wrapException(A.StateError$(string$.No_Sasc));
  70595. },
  70596. warn$2(_, message, deprecation) {
  70597. var t1 = this._async_evaluate$_visitor,
  70598. t2 = t1._async_evaluate$_importSpan;
  70599. if (t2 == null) {
  70600. t2 = t1._async_evaluate$_callableNode;
  70601. t2 = t2 == null ? null : t2.get$span(t2);
  70602. }
  70603. t1._async_evaluate$_warn$3(message, t2 == null ? this._async_evaluate$_defaultWarnNodeWithSpan.span : t2, deprecation);
  70604. },
  70605. $isEvaluationContext: 1
  70606. };
  70607. A._CloneCssVisitor.prototype = {
  70608. visitCssAtRule$1(node) {
  70609. var t1 = node.isChildless,
  70610. rule = A.ModifiableCssAtRule$(node.name, node.span, t1, node.value);
  70611. return t1 ? rule : this._visitChildren$2(rule, node);
  70612. },
  70613. visitCssComment$1(node) {
  70614. return new A.ModifiableCssComment(node.text, node.span);
  70615. },
  70616. visitCssDeclaration$1(node) {
  70617. return A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
  70618. },
  70619. visitCssImport$1(node) {
  70620. return new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  70621. },
  70622. visitCssKeyframeBlock$1(node) {
  70623. return this._visitChildren$2(A.ModifiableCssKeyframeBlock$(node.selector, node.span), node);
  70624. },
  70625. visitCssMediaRule$1(node) {
  70626. return this._visitChildren$2(A.ModifiableCssMediaRule$(node.queries, node.span), node);
  70627. },
  70628. visitCssStyleRule$1(node) {
  70629. var newSelector, t1,
  70630. _0_0 = this._oldToNewSelectors.$index(0, node._style_rule$_selector._box$_inner.value);
  70631. if (_0_0 != null) {
  70632. newSelector = _0_0;
  70633. t1 = true;
  70634. } else {
  70635. newSelector = null;
  70636. t1 = false;
  70637. }
  70638. if (t1)
  70639. return this._visitChildren$2(A.ModifiableCssStyleRule$(newSelector, node.span, node.originalSelector), node);
  70640. else
  70641. throw A.wrapException(A.StateError$(string$.The_Ex));
  70642. },
  70643. visitCssStylesheet$1(node) {
  70644. return this._visitChildren$2(A.ModifiableCssStylesheet$(node.get$span(node)), node);
  70645. },
  70646. visitCssSupportsRule$1(node) {
  70647. return this._visitChildren$2(A.ModifiableCssSupportsRule$(node.condition, node.span), node);
  70648. },
  70649. _visitChildren$1$2(newParent, oldParent) {
  70650. var t1, t2, newChild;
  70651. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  70652. t2 = t1.get$current(t1);
  70653. newChild = t2.accept$1(this);
  70654. newChild.isGroupEnd = t2.get$isGroupEnd();
  70655. newParent.addChild$1(newChild);
  70656. }
  70657. return newParent;
  70658. },
  70659. _visitChildren$2(newParent, oldParent) {
  70660. return this._visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode);
  70661. }
  70662. };
  70663. A.Evaluator.prototype = {};
  70664. A._EvaluateVisitor.prototype = {
  70665. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  70666. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  70667. _s20_ = "$name, $module: null",
  70668. _s9_ = "sass:meta",
  70669. _s7_ = "$module",
  70670. t1 = type$.JSArray_BuiltInCallable,
  70671. 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", _s7_, new A._EvaluateVisitor_closure4(_this), _s9_), A.BuiltInCallable$function("module-functions", _s7_, new A._EvaluateVisitor_closure5(_this), _s9_), A.BuiltInCallable$function("module-mixins", _s7_, new A._EvaluateVisitor_closure6(_this), _s9_), A.BuiltInCallable$function("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure7(_this), _s9_), A.BuiltInCallable$function("get-mixin", _s20_, new A._EvaluateVisitor_closure8(_this), _s9_), A.BuiltInCallable$function("call", "$function, $args...", new A._EvaluateVisitor_closure9(_this), _s9_)], t1),
  70672. metaMixins = A._setArrayType([A.BuiltInCallable$mixin("load-css", "$url, $with: null", new A._EvaluateVisitor_closure10(_this), false, _s9_), A.BuiltInCallable$mixin("apply", "$mixin, $args...", new A._EvaluateVisitor_closure11(_this), true, _s9_)], t1);
  70673. t1 = type$.BuiltInCallable;
  70674. t2 = A.List_List$of($.$get$global(), true, t1);
  70675. B.JSArray_methods.addAll$1(t2, $.$get$local());
  70676. B.JSArray_methods.addAll$1(t2, metaFunctions);
  70677. metaModule = A.BuiltInModule$("meta", t2, metaMixins, null, t1);
  70678. for (t1 = A.List_List$of($.$get$coreModules(), true, type$.BuiltInModule_Callable), t1.push(metaModule), t2 = t1.length, t3 = _this._builtInModules, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  70679. module = t1[_i];
  70680. t3.$indexSet(0, module.url, module);
  70681. }
  70682. t1 = A._setArrayType([], type$.JSArray_Callable);
  70683. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions());
  70684. B.JSArray_methods.addAll$1(t1, metaFunctions);
  70685. for (t2 = t1.length, t3 = _this._builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  70686. $function = t1[_i];
  70687. t4 = J.get$name$x($function);
  70688. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  70689. }
  70690. },
  70691. run$2(_, importer, node) {
  70692. var error, stackTrace, t1, exception;
  70693. try {
  70694. t1 = type$.nullable_Object;
  70695. t1 = 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$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet);
  70696. return t1;
  70697. } catch (exception) {
  70698. t1 = A.unwrapException(exception);
  70699. if (t1 instanceof A.SassException) {
  70700. error = t1;
  70701. stackTrace = A.getTraceFromException(exception);
  70702. A.throwWithTrace(error.withLoadedUrls$1(this._loadedUrls), error, stackTrace);
  70703. } else
  70704. throw exception;
  70705. }
  70706. },
  70707. runExpression$2(importer, expression) {
  70708. var t1 = type$.nullable_Object;
  70709. 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);
  70710. },
  70711. runStatement$2(importer, statement) {
  70712. var t1 = type$.nullable_Object;
  70713. 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);
  70714. },
  70715. _assertInModule$1$2(value, $name) {
  70716. if (value != null)
  70717. return value;
  70718. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  70719. },
  70720. _assertInModule$2(value, $name) {
  70721. return this._assertInModule$1$2(value, $name, type$.dynamic);
  70722. },
  70723. _withFakeStylesheet$1$3(importer, nodeWithSpan, callback) {
  70724. var t1, _this = this,
  70725. oldImporter = _this._importer;
  70726. _this._importer = importer;
  70727. _this.__stylesheet = A.Stylesheet$(B.List_empty12, nodeWithSpan.get$span(nodeWithSpan));
  70728. try {
  70729. t1 = callback.call$0();
  70730. return t1;
  70731. } finally {
  70732. _this._importer = oldImporter;
  70733. _this.__stylesheet = null;
  70734. }
  70735. },
  70736. _withFakeStylesheet$3(importer, nodeWithSpan, callback) {
  70737. return this._withFakeStylesheet$1$3(importer, nodeWithSpan, callback, type$.dynamic);
  70738. },
  70739. _loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  70740. var _0_0, t2, _this = this, t1 = {};
  70741. t1.builtInModule = null;
  70742. _0_0 = _this._builtInModules.$index(0, url);
  70743. if (_0_0 != null) {
  70744. t1.builtInModule = _0_0;
  70745. t2 = true;
  70746. } else
  70747. t2 = false;
  70748. if (t2) {
  70749. if (configuration instanceof A.ExplicitConfiguration) {
  70750. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  70751. t2 = configuration.nodeWithSpan;
  70752. throw A.wrapException(_this._evaluate$_exception$2(t1, t2.get$span(t2)));
  70753. }
  70754. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure(t1, callback));
  70755. return;
  70756. }
  70757. _this._withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure0(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  70758. },
  70759. _loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  70760. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  70761. },
  70762. _loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  70763. return this._loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  70764. },
  70765. _execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  70766. var _0_0, alreadyLoaded, t2, currentConfiguration, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, _this = this,
  70767. t1 = stylesheet.span,
  70768. url = t1.get$sourceUrl(t1);
  70769. t1 = _this._modules;
  70770. _0_0 = t1.$index(0, url);
  70771. if (_0_0 != null) {
  70772. alreadyLoaded = _0_0;
  70773. t2 = true;
  70774. } else {
  70775. alreadyLoaded = null;
  70776. t2 = false;
  70777. }
  70778. if (t2) {
  70779. t1 = configuration == null;
  70780. currentConfiguration = t1 ? _this._configuration : configuration;
  70781. t2 = _this._moduleConfigurations.$index(0, url);
  70782. t3 = t2.__originalConfiguration;
  70783. t2 = t3 == null ? t2 : t3;
  70784. t3 = currentConfiguration.__originalConfiguration;
  70785. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration) {
  70786. if (namesInErrors) {
  70787. t2 = $.$get$context();
  70788. url.toString;
  70789. message = t2.prettyUri$1(url) + string$.x20was_a;
  70790. } else
  70791. message = string$.This_mw;
  70792. t2 = _this._moduleNodes.$index(0, url);
  70793. existingSpan = t2 == null ? null : t2.get$span(t2);
  70794. if (t1) {
  70795. t1 = currentConfiguration.nodeWithSpan;
  70796. configurationSpan = t1.get$span(t1);
  70797. } else
  70798. configurationSpan = null;
  70799. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  70800. if (existingSpan != null)
  70801. t1.$indexSet(0, existingSpan, "original load");
  70802. if (configurationSpan != null)
  70803. t1.$indexSet(0, configurationSpan, "configuration");
  70804. throw A.wrapException(t1.get$isEmpty(t1) ? _this._evaluate$_exception$1(message) : _this._multiSpanException$3(message, "new load", t1));
  70805. }
  70806. return alreadyLoaded;
  70807. }
  70808. environment = A.Environment$();
  70809. css = A._Cell$();
  70810. preModuleComments = A._Cell$();
  70811. extensionStore = A.ExtensionStore$();
  70812. _this._withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure(_this, importer, stylesheet, extensionStore, configuration, css, preModuleComments));
  70813. t2 = css._readLocal$0();
  70814. t3 = preModuleComments._readLocal$0();
  70815. module = environment.toModule$3(t2, t3 == null ? B.Map_empty0 : t3, extensionStore);
  70816. if (url != null) {
  70817. t1.$indexSet(0, url, module);
  70818. _this._moduleConfigurations.$indexSet(0, url, _this._configuration);
  70819. if (nodeWithSpan != null)
  70820. _this._moduleNodes.$indexSet(0, url, nodeWithSpan);
  70821. }
  70822. return module;
  70823. },
  70824. _execute$2(importer, stylesheet) {
  70825. return this._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  70826. },
  70827. _addOutOfOrderImports$0() {
  70828. var t1, t2, _this = this, _s5_ = "_root",
  70829. _s13_ = "_endOfImports",
  70830. _0_0 = _this._outOfOrderImports;
  70831. $label0$0: {
  70832. if (_0_0 == null) {
  70833. t1 = _this._assertInModule$2(_this.__root, _s5_).children;
  70834. break $label0$0;
  70835. }
  70836. t1 = _this._assertInModule$2(_this.__root, _s5_);
  70837. t1 = t1.children;
  70838. t1 = A.List_List$of(A.SubListIterable$(t1, 0, A.checkNotNullable(_this._assertInModule$2(_this.__endOfImports, _s13_), "count", type$.int), t1.$ti._eval$1("ListBase.E")), true, type$.ModifiableCssNode);
  70839. B.JSArray_methods.addAll$1(t1, _0_0);
  70840. t2 = _this._assertInModule$2(_this.__root, _s5_).children;
  70841. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._assertInModule$2(_this.__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  70842. break $label0$0;
  70843. }
  70844. return t1;
  70845. },
  70846. _combineCss$2$clone(root, clone) {
  70847. var selectors, _0_0, unsatisfiedExtension, t1, imports, css, sorted, t2;
  70848. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure())) {
  70849. selectors = root.get$extensionStore().get$simpleSelectors();
  70850. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure0(selectors)));
  70851. if (_0_0 != null) {
  70852. unsatisfiedExtension = _0_0;
  70853. t1 = true;
  70854. } else {
  70855. unsatisfiedExtension = null;
  70856. t1 = false;
  70857. }
  70858. if (t1)
  70859. this._throwForUnsatisfiedExtension$1(unsatisfiedExtension);
  70860. return root.get$css(root);
  70861. }
  70862. t1 = type$.JSArray_CssNode;
  70863. imports = A._setArrayType([], t1);
  70864. css = A._setArrayType([], t1);
  70865. t1 = type$.Module_Callable;
  70866. sorted = A.ListQueue$(t1);
  70867. new A._EvaluateVisitor__combineCss_visitModule(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  70868. if (root.get$transitivelyContainsExtensions())
  70869. this._extendModules$1(sorted);
  70870. t1 = B.JSArray_methods.$add(imports, css);
  70871. t2 = root.get$css(root);
  70872. return new A.CssStylesheet(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode), t2.get$span(t2));
  70873. },
  70874. _combineCss$1(root) {
  70875. return this._combineCss$2$clone(root, false);
  70876. },
  70877. _extendModules$1(sortedModules) {
  70878. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0, url, t6,
  70879. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore),
  70880. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension);
  70881. for (t1 = A._ListQueueIterator$(sortedModules), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  70882. t3 = t1._collection$_current;
  70883. if (t3 == null)
  70884. t3 = t2._as(t3);
  70885. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  70886. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure(originalSelectors)));
  70887. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  70888. t4 = t3.get$extensionStore().get$addExtensions();
  70889. if ($self != null)
  70890. t4.call$1($self);
  70891. t4 = t3.get$extensionStore();
  70892. if (t4.get$isEmpty(t4))
  70893. continue;
  70894. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  70895. upstream = t4[_i];
  70896. _0_0 = upstream.get$url(upstream);
  70897. if (_0_0 != null) {
  70898. url = _0_0;
  70899. t6 = true;
  70900. } else {
  70901. url = null;
  70902. t6 = false;
  70903. }
  70904. if (t6)
  70905. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure0()), t3.get$extensionStore());
  70906. }
  70907. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  70908. }
  70909. if (unsatisfiedExtensions._collection$_length !== 0)
  70910. this._throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
  70911. },
  70912. _throwForUnsatisfiedExtension$1(extension) {
  70913. throw A.wrapException(A.SassException$(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  70914. },
  70915. _indexAfterImports$1(statements) {
  70916. var t1, lastImport, i, _0_0;
  70917. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  70918. $label0$0: {
  70919. _0_0 = t1.$index(statements, i);
  70920. if (_0_0 instanceof A.ModifiableCssImport)
  70921. break $label0$0;
  70922. if (_0_0 instanceof A.ModifiableCssComment)
  70923. continue;
  70924. break;
  70925. }
  70926. lastImport = i;
  70927. }
  70928. return lastImport + 1;
  70929. },
  70930. visitStylesheet$1(node) {
  70931. var t1, t2, _i;
  70932. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  70933. t1[_i].accept$1(this);
  70934. return null;
  70935. },
  70936. visitAtRootRule$1(node) {
  70937. var unparsedQuery, t1, query, $parent, included, _2_0, grandparent, t2, root, first, rest, innerCopy, outerCopy, _i, copy, _this = this, _null = null,
  70938. _s8_ = "__parent",
  70939. _0_0 = node.query;
  70940. if (_0_0 != null) {
  70941. unparsedQuery = _0_0;
  70942. t1 = true;
  70943. } else {
  70944. unparsedQuery = _null;
  70945. t1 = false;
  70946. }
  70947. query = t1 ? A.AtRootQueryParser$(_this._performInterpolationWithMap$2$warnForColor(unparsedQuery, true)._0, _this._evaluate$_logger, _null).parse$0() : B.AtRootQuery_UsS;
  70948. $parent = _this._assertInModule$2(_this.__parent, _s8_);
  70949. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode);
  70950. for (t1 = type$.CssStylesheet; !t1._is($parent); $parent = grandparent) {
  70951. if (!query.excludes$1($parent))
  70952. included.push($parent);
  70953. _2_0 = $parent._parent;
  70954. if (_2_0 != null) {
  70955. grandparent = _2_0;
  70956. t2 = true;
  70957. } else {
  70958. grandparent = _null;
  70959. t2 = false;
  70960. }
  70961. if (!t2)
  70962. throw A.wrapException(A.StateError$(string$.CssNod));
  70963. }
  70964. root = _this._trimIncluded$1(included);
  70965. if (root === _this._assertInModule$2(_this.__parent, _s8_)) {
  70966. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure(_this, node), node.hasDeclarations, type$.Null);
  70967. return _null;
  70968. }
  70969. if (included.length >= 1) {
  70970. first = included[0];
  70971. rest = B.JSArray_methods.sublist$1(included, 1);
  70972. t1 = true;
  70973. } else {
  70974. rest = _null;
  70975. first = rest;
  70976. t1 = false;
  70977. }
  70978. if (t1) {
  70979. innerCopy = first.copyWithoutChildren$0();
  70980. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  70981. copy = rest[_i].copyWithoutChildren$0();
  70982. copy.addChild$1(outerCopy);
  70983. }
  70984. root.addChild$1(outerCopy);
  70985. } else
  70986. innerCopy = root;
  70987. _this._scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure0(_this, node));
  70988. return _null;
  70989. },
  70990. _trimIncluded$1(nodes) {
  70991. var $parent, t1, innermostContiguous, i, t2, _0_0, grandparent, t3, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  70992. _s22_ = " to be an ancestor of ";
  70993. if (nodes.length === 0)
  70994. return _this._assertInModule$2(_this.__root, _s5_);
  70995. $parent = _this._assertInModule$2(_this.__parent, "__parent");
  70996. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
  70997. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
  70998. _0_0 = $parent._parent;
  70999. if (_0_0 != null) {
  71000. grandparent = _0_0;
  71001. t3 = true;
  71002. } else {
  71003. grandparent = _null;
  71004. t3 = false;
  71005. }
  71006. if (!t3)
  71007. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  71008. }
  71009. if (innermostContiguous == null)
  71010. innermostContiguous = i;
  71011. _1_0 = $parent._parent;
  71012. if (_1_0 != null) {
  71013. grandparent = _1_0;
  71014. t3 = true;
  71015. } else {
  71016. grandparent = _null;
  71017. t3 = false;
  71018. }
  71019. if (!t3)
  71020. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  71021. }
  71022. if ($parent !== _this._assertInModule$2(_this.__root, _s5_))
  71023. return _this._assertInModule$2(_this.__root, _s5_);
  71024. innermostContiguous.toString;
  71025. root = nodes[innermostContiguous];
  71026. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  71027. return root;
  71028. },
  71029. _scopeForAtRoot$4(node, newParent, query, included) {
  71030. var _this = this,
  71031. scope = new A._EvaluateVisitor__scopeForAtRoot_closure(_this, newParent, node),
  71032. t1 = query._all || query._at_root_query$_rule;
  71033. if (t1 !== query.include)
  71034. scope = new A._EvaluateVisitor__scopeForAtRoot_closure0(_this, scope);
  71035. if (_this._mediaQueries != null && query.excludesName$1("media"))
  71036. scope = new A._EvaluateVisitor__scopeForAtRoot_closure1(_this, scope);
  71037. if (_this._inKeyframes && query.excludesName$1("keyframes"))
  71038. scope = new A._EvaluateVisitor__scopeForAtRoot_closure2(_this, scope);
  71039. return _this._inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure3()) ? new A._EvaluateVisitor__scopeForAtRoot_closure4(_this, scope) : scope;
  71040. },
  71041. visitContentBlock$1(node) {
  71042. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  71043. },
  71044. visitContentRule$1(node) {
  71045. var $content = this._environment._content;
  71046. if ($content == null)
  71047. return null;
  71048. this._runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure(this, $content), type$.Null);
  71049. return null;
  71050. },
  71051. visitDebugRule$1(node) {
  71052. var value = node.expression.accept$1(this),
  71053. t1 = value instanceof A.SassString ? value._string$_text : A.serializeValue(value, true, true);
  71054. this._evaluate$_logger.debug$2(0, t1, node.span);
  71055. return null;
  71056. },
  71057. visitDeclaration$1(node) {
  71058. var t2, $name, _0_0, declarationName, t3, _1_0, expression, value, t4, t5, _2_0, oldDeclarationName, _this = this, _null = null, t1 = {};
  71059. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null && !_this._inUnknownAtRule && !_this._inKeyframes)
  71060. throw A.wrapException(_this._evaluate$_exception$2(string$.Declarm, node.span));
  71061. if (_this._declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  71062. throw A.wrapException(_this._evaluate$_exception$2(string$.Declarw, node.span));
  71063. t2 = node.name;
  71064. $name = _this._interpolationToValue$2$warnForColor(t2, true);
  71065. _0_0 = _this._declarationName;
  71066. if (_0_0 != null) {
  71067. declarationName = _0_0;
  71068. t3 = true;
  71069. } else {
  71070. declarationName = _null;
  71071. t3 = false;
  71072. }
  71073. if (t3)
  71074. $name = new A.CssValue(A.S(declarationName) + "-" + A.S($name.value), $name.span, type$.CssValue_String);
  71075. _1_0 = node.value;
  71076. if (_1_0 != null) {
  71077. expression = _1_0;
  71078. t3 = true;
  71079. } else {
  71080. expression = _null;
  71081. t3 = false;
  71082. }
  71083. if (t3) {
  71084. value = expression.accept$1(_this);
  71085. if (!value.get$isBlank() || value.get$asList().length === 0) {
  71086. t3 = _this._assertInModule$2(_this.__parent, "__parent");
  71087. t4 = expression.get$span(expression);
  71088. t2 = B.JSString_methods.startsWith$1(t2.get$initialPlain(), "--");
  71089. if (_this._sourceMap) {
  71090. t5 = A.NullableExtension_andThen(_1_0, _this.get$_expressionNode());
  71091. t5 = t5 == null ? _null : J.get$span$z(t5);
  71092. } else
  71093. t5 = _null;
  71094. t3.addChild$1(A.ModifiableCssDeclaration$($name, new A.CssValue(value, t4, type$.CssValue_Value), node.span, t2, t5));
  71095. } else if (J.startsWith$1$s($name.value, "--"))
  71096. throw A.wrapException(_this._evaluate$_exception$2("Custom property values may not be empty.", expression.get$span(expression)));
  71097. }
  71098. t1.children = null;
  71099. _2_0 = node.children;
  71100. if (_2_0 != null) {
  71101. t1.children = _2_0;
  71102. t2 = true;
  71103. } else
  71104. t2 = false;
  71105. if (t2) {
  71106. oldDeclarationName = _this._declarationName;
  71107. _this._declarationName = $name.value;
  71108. _this._environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure(t1, _this), node.hasDeclarations, type$.Null);
  71109. _this._declarationName = oldDeclarationName;
  71110. }
  71111. return _null;
  71112. },
  71113. visitEachRule$1(node) {
  71114. var t2, _this = this, _box_0 = {},
  71115. t1 = node.list,
  71116. list = t1.accept$1(_this),
  71117. nodeWithSpan = _this._expressionNode$1(t1),
  71118. _0_0 = node.variables;
  71119. $label0$0: {
  71120. _box_0.variable = null;
  71121. if (_0_0.length === 1) {
  71122. _box_0.variable = _0_0[0];
  71123. t1 = true;
  71124. } else
  71125. t1 = false;
  71126. if (t1) {
  71127. t1 = new A._EvaluateVisitor_visitEachRule_closure(_box_0, _this, nodeWithSpan);
  71128. break $label0$0;
  71129. }
  71130. t1 = _box_0.variables = null;
  71131. _box_0.variables = _0_0;
  71132. t2 = new A._EvaluateVisitor_visitEachRule_closure0(_box_0, _this, nodeWithSpan);
  71133. t1 = t2;
  71134. break $label0$0;
  71135. }
  71136. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure1(_this, list, t1, node), true, type$.nullable_Value);
  71137. },
  71138. _setMultipleVariables$3(variables, value, nodeWithSpan) {
  71139. var i,
  71140. list = value.get$asList(),
  71141. t1 = variables.length,
  71142. minLength = Math.min(t1, list.length);
  71143. for (i = 0; i < minLength; ++i)
  71144. this._environment.setLocalVariable$3(variables[i], this._withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  71145. for (i = minLength; i < t1; ++i)
  71146. this._environment.setLocalVariable$3(variables[i], B.C__SassNull, nodeWithSpan);
  71147. },
  71148. visitErrorRule$1(node) {
  71149. throw A.wrapException(this._evaluate$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
  71150. },
  71151. visitExtendRule$1(node) {
  71152. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, compound, _this = this, _null = null,
  71153. styleRule = _this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot;
  71154. if (styleRule == null || _this._declarationName != null)
  71155. throw A.wrapException(_this._evaluate$_exception$2(string$.x40exten, node.span));
  71156. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  71157. complex = t1[_i];
  71158. if (!complex.accept$1(B._IsBogusVisitor_true))
  71159. continue;
  71160. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  71161. complex.accept$1(visitor);
  71162. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  71163. t7 = complex.accept$1(B.C__IsUselessVisitor) ? "can't" : "shouldn't";
  71164. _this._warn$3('The selector "' + t6 + '" is invalid CSS and ' + t7 + string$.x20be_an, new A.MultiSpan(A.SpanExtensions_trimRight(complex.span), "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t3, "@extend rule"], t4, t5), t4, t5)), B.Deprecation_vrR);
  71165. }
  71166. _0_0 = _this._performInterpolationWithMap$2$warnForColor(node.selector, true);
  71167. for (t1 = A.SelectorList_SelectorList$parse(A.trimAscii(_0_0._0, true), false, true, _0_0._1, _this._evaluate$_logger).components, t2 = t1.length, t3 = styleRule._style_rule$_selector._box$_inner, _i = 0; _i < t2; ++_i) {
  71168. complex = t1[_i];
  71169. compound = complex.get$singleCompound();
  71170. if (compound == null)
  71171. throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.", complex.span, _null));
  71172. t4 = compound.components;
  71173. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  71174. if (t5 == null)
  71175. throw A.wrapException(A.SassFormatException$(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, _null));
  71176. _this._assertInModule$2(_this.__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, _this._mediaQueries);
  71177. }
  71178. return _null;
  71179. },
  71180. visitAtRule$1(node) {
  71181. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  71182. if (_this._declarationName != null)
  71183. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  71184. $name = _this._interpolationToValue$1(node.name);
  71185. value = A.NullableExtension_andThen(node.value, new A._EvaluateVisitor_visitAtRule_closure(_this));
  71186. children = node.children;
  71187. if (children == null) {
  71188. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$($name, node.span, true, value));
  71189. return null;
  71190. }
  71191. wasInKeyframes = _this._inKeyframes;
  71192. wasInUnknownAtRule = _this._inUnknownAtRule;
  71193. if (A.unvendor($name.value) === "keyframes")
  71194. _this._inKeyframes = true;
  71195. else
  71196. _this._inUnknownAtRule = true;
  71197. _this._withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$($name, node.span, false, value), new A._EvaluateVisitor_visitAtRule_closure0(_this, $name, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure1(), type$.ModifiableCssAtRule, type$.Null);
  71198. _this._inUnknownAtRule = wasInUnknownAtRule;
  71199. _this._inKeyframes = wasInKeyframes;
  71200. return null;
  71201. },
  71202. visitForRule$1(node) {
  71203. var _this = this, t1 = {},
  71204. t2 = node.from,
  71205. fromNumber = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure(_this, node)),
  71206. t3 = node.to,
  71207. toNumber = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure0(_this, node)),
  71208. from = _this._addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure1(fromNumber)),
  71209. to = t1.to = _this._addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure2(toNumber, fromNumber)),
  71210. direction = from > to ? -1 : 1;
  71211. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  71212. return null;
  71213. return _this._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure3(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value);
  71214. },
  71215. visitForwardRule$1(node) {
  71216. var newConfiguration, t4, _i, variable, $name, _this = this,
  71217. _s8_ = "@forward",
  71218. oldConfiguration = _this._configuration,
  71219. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  71220. t1 = node.configuration,
  71221. t2 = t1.length,
  71222. t3 = node.url;
  71223. if (t2 !== 0) {
  71224. newConfiguration = _this._addForwardConfiguration$2(adjustedConfiguration, node);
  71225. _this._loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure(_this, node), newConfiguration);
  71226. t3 = type$.String;
  71227. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  71228. for (_i = 0; _i < t2; ++_i) {
  71229. variable = t1[_i];
  71230. if (!variable.isGuarded)
  71231. t4.add$1(0, variable.name);
  71232. }
  71233. _this._removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  71234. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  71235. for (_i = 0; _i < t2; ++_i)
  71236. t3.add$1(0, t1[_i].name);
  71237. 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) {
  71238. $name = t2[_i];
  71239. if (!t3.contains$1(0, $name))
  71240. if (!t1.get$isEmpty(t1))
  71241. t1.remove$1(0, $name);
  71242. }
  71243. _this._assertConfigurationIsEmpty$1(newConfiguration);
  71244. } else {
  71245. _this._configuration = adjustedConfiguration;
  71246. _this._loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure0(_this, node));
  71247. _this._configuration = oldConfiguration;
  71248. }
  71249. return null;
  71250. },
  71251. _addForwardConfiguration$2(configuration, node) {
  71252. var t2, t3, _i, variable, t4, oldValue, t5, variableNodeWithSpan, _null = null,
  71253. t1 = configuration._configuration$_values,
  71254. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  71255. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  71256. variable = t2[_i];
  71257. if (variable.isGuarded) {
  71258. t4 = variable.name;
  71259. oldValue = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, t4);
  71260. if (oldValue != null)
  71261. t5 = true;
  71262. else {
  71263. oldValue = _null;
  71264. t5 = false;
  71265. }
  71266. if (t5 && !oldValue.value.$eq(0, B.C__SassNull)) {
  71267. newValues.$indexSet(0, t4, oldValue);
  71268. continue;
  71269. }
  71270. }
  71271. t4 = variable.expression;
  71272. variableNodeWithSpan = this._expressionNode$1(t4);
  71273. newValues.$indexSet(0, variable.name, new A.ConfiguredValue(this._withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  71274. }
  71275. if (configuration instanceof A.ExplicitConfiguration || t1.get$isEmpty(t1))
  71276. return new A.ExplicitConfiguration(node, newValues, _null);
  71277. else
  71278. return new A.Configuration(newValues, _null);
  71279. },
  71280. _registerCommentsForModule$1(module) {
  71281. var _this = this, _s5_ = "_root",
  71282. t1 = _this.__root;
  71283. if (t1 == null)
  71284. return;
  71285. t1 = _this._assertInModule$2(t1, _s5_).children;
  71286. if (t1.get$length(t1) === 0 || !module.get$transitivelyContainsCss())
  71287. return;
  71288. t1 = _this._preModuleComments;
  71289. if (t1 == null)
  71290. t1 = _this._preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable, type$.List_CssComment);
  71291. J.addAll$1$ax(t1.putIfAbsent$2(module, new A._EvaluateVisitor__registerCommentsForModule_closure()), new A.UnmodifiableListView(J.cast$1$0$ax(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source, type$.CssComment), type$.UnmodifiableListView_CssComment));
  71292. _this._assertInModule$2(_this.__root, _s5_).clearChildren$0();
  71293. _this.__endOfImports = 0;
  71294. },
  71295. _removeUsedConfiguration$3$except(upstream, downstream, except) {
  71296. var t1, t2, t3, t4, _i, $name;
  71297. 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) {
  71298. $name = t2[_i];
  71299. if (except.contains$1(0, $name))
  71300. continue;
  71301. if (!t4.containsKey$1($name))
  71302. if (!t1.get$isEmpty(t1))
  71303. t1.remove$1(0, $name);
  71304. }
  71305. },
  71306. _assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  71307. var t1, _0_0, $name, value;
  71308. if (!(configuration instanceof A.ExplicitConfiguration))
  71309. return;
  71310. t1 = configuration._configuration$_values;
  71311. if (t1.get$isEmpty(t1))
  71312. return;
  71313. t1 = A.MapExtensions_get_pairs(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue), type$.String, type$.ConfiguredValue);
  71314. _0_0 = t1.get$first(t1);
  71315. $name = _0_0._0;
  71316. value = _0_0._1;
  71317. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  71318. throw A.wrapException(this._evaluate$_exception$2(t1, value.configurationSpan));
  71319. },
  71320. _assertConfigurationIsEmpty$1(configuration) {
  71321. return this._assertConfigurationIsEmpty$2$nameInError(configuration, false);
  71322. },
  71323. visitFunctionRule$1(node) {
  71324. var t1 = this._environment,
  71325. t2 = t1.closure$0(),
  71326. t3 = this._inDependency,
  71327. t4 = t1._functions,
  71328. index = t4.length - 1,
  71329. t5 = node.name;
  71330. t1._functionIndices.$indexSet(0, t5, index);
  71331. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  71332. return null;
  71333. },
  71334. visitIfRule$1(node) {
  71335. var t1, t2, _i, clauseToCheck,
  71336. clause = node.lastClause;
  71337. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  71338. clauseToCheck = t1[_i];
  71339. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  71340. clause = clauseToCheck;
  71341. break;
  71342. }
  71343. }
  71344. return A.NullableExtension_andThen(clause, new A._EvaluateVisitor_visitIfRule_closure(this));
  71345. },
  71346. visitImportRule$1(node) {
  71347. var t1, t2, t3, t4, t5, t6, _i, $import, t7, _0_0, $self, t8, _this = this,
  71348. _s8_ = "__parent",
  71349. _s5_ = "_root",
  71350. _s13_ = "_endOfImports";
  71351. 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) {
  71352. $import = t1[_i];
  71353. if ($import instanceof A.DynamicImport)
  71354. _this._visitDynamicImport$1($import);
  71355. else {
  71356. t5._as($import);
  71357. t7 = $import.url;
  71358. _0_0 = _this._performInterpolationHelper$3$sourceMap$warnForColor(t7, false, false);
  71359. $self = $import.modifiers;
  71360. t8 = $self == null ? null : t4.call$1($self);
  71361. node = new A.ModifiableCssImport(new A.CssValue(_0_0._0, t7.span, t3), t8, $import.span);
  71362. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
  71363. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(node);
  71364. else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  71365. t7 = _this._assertInModule$2(_this.__root, _s5_);
  71366. node._parent = t7;
  71367. t7 = t7._children;
  71368. node._indexInParent = t7.length;
  71369. t7.push(node);
  71370. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  71371. } else {
  71372. t7 = _this._outOfOrderImports;
  71373. (t7 == null ? _this._outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  71374. }
  71375. }
  71376. }
  71377. return null;
  71378. },
  71379. _visitDynamicImport$1($import) {
  71380. return this._withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure(this, $import));
  71381. },
  71382. _loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  71383. var importCache, _0_0, importer, canonicalUrl, originalUrl, _1_0, isDependency, stylesheet, _2_0, result, _3_0, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, _this = this,
  71384. _s11_ = "_stylesheet";
  71385. baseUrl = baseUrl;
  71386. try {
  71387. _this._importSpan = span;
  71388. importCache = null;
  71389. _0_0 = _this._evaluate$_importCache;
  71390. if (_0_0 != null) {
  71391. importCache = _0_0;
  71392. t1 = true;
  71393. } else
  71394. t1 = false;
  71395. if (t1) {
  71396. if (baseUrl == null) {
  71397. t1 = _this._assertInModule$2(_this.__stylesheet, _s11_).span;
  71398. baseUrl = t1.get$sourceUrl(t1);
  71399. }
  71400. importer = null;
  71401. canonicalUrl = null;
  71402. originalUrl = null;
  71403. _1_0 = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._importer, baseUrl, forImport);
  71404. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0)) {
  71405. importer = _1_0._0;
  71406. canonicalUrl = _1_0._1;
  71407. originalUrl = _1_0._2;
  71408. t1 = true;
  71409. } else
  71410. t1 = false;
  71411. if (t1) {
  71412. _this._loadedUrls.add$1(0, canonicalUrl);
  71413. isDependency = _this._inDependency || !J.$eq$(importer, _this._importer);
  71414. stylesheet = null;
  71415. t1 = importCache;
  71416. t2 = importer;
  71417. t3 = canonicalUrl;
  71418. t4 = originalUrl;
  71419. _2_0 = t1.importCanonical$4$originalUrl$quiet(t2, t3, t4, _this._quietDeps && isDependency);
  71420. if (_2_0 != null) {
  71421. stylesheet = _2_0;
  71422. t1 = true;
  71423. } else
  71424. t1 = false;
  71425. if (t1) {
  71426. t1 = stylesheet;
  71427. t2 = importer;
  71428. return new A._Record_3_importer_isDependency(t1, t2, isDependency);
  71429. }
  71430. }
  71431. } else {
  71432. result = null;
  71433. t1 = baseUrl;
  71434. if (t1 == null) {
  71435. t1 = _this._assertInModule$2(_this.__stylesheet, _s11_).span;
  71436. t1 = t1.get$sourceUrl(t1);
  71437. }
  71438. _3_0 = _this._importLikeNode$3(url, t1, forImport);
  71439. if (_3_0 != null) {
  71440. result = _3_0;
  71441. t1 = true;
  71442. } else
  71443. t1 = false;
  71444. if (t1) {
  71445. t1 = result._0.span;
  71446. t2 = _this._loadedUrls;
  71447. A.NullableExtension_andThen(t1.get$sourceUrl(t1), t2.get$add(t2));
  71448. t2 = result;
  71449. return t2;
  71450. }
  71451. }
  71452. if (B.JSString_methods.startsWith$1(url, "package:") && true)
  71453. throw A.wrapException(string$.x22packa);
  71454. else
  71455. throw A.wrapException("Can't find stylesheet to import.");
  71456. } catch (exception) {
  71457. t1 = A.unwrapException(exception);
  71458. if (t1 instanceof A.SassException)
  71459. throw exception;
  71460. else if (t1 instanceof A.ArgumentError) {
  71461. error = t1;
  71462. stackTrace = A.getTraceFromException(exception);
  71463. A.throwWithTrace(_this._evaluate$_exception$1(J.toString$0$(error)), error, stackTrace);
  71464. } else {
  71465. error0 = t1;
  71466. stackTrace0 = A.getTraceFromException(exception);
  71467. message = null;
  71468. try {
  71469. message = A._asString(J.get$message$x(error0));
  71470. } catch (exception) {
  71471. message0 = J.toString$0$(error0);
  71472. message = message0;
  71473. }
  71474. A.throwWithTrace(_this._evaluate$_exception$1(message), error0, stackTrace0);
  71475. }
  71476. } finally {
  71477. _this._importSpan = null;
  71478. }
  71479. },
  71480. _loadStylesheet$3$baseUrl(url, span, baseUrl) {
  71481. return this._loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  71482. },
  71483. _loadStylesheet$3$forImport(url, span, forImport) {
  71484. return this._loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  71485. },
  71486. _importLikeNode$3(originalUrl, previous, forImport) {
  71487. var _this = this,
  71488. result = _this._nodeImporter.loadRelative$3(originalUrl, previous, forImport),
  71489. isDependency = _this._inDependency,
  71490. url = result._1,
  71491. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath(url) : B.Syntax_SCSS_scss,
  71492. t2 = _this._quietDeps && isDependency ? $.$get$Logger_quiet() : _this._evaluate$_logger;
  71493. return new A._Record_3_importer_isDependency(A.Stylesheet_Stylesheet$parse(result._0, t1, t2, url), null, isDependency);
  71494. },
  71495. _applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  71496. var _1_8, t1, _0_0, _this = this,
  71497. _s37_ = "Mixin doesn't accept a content block.",
  71498. _s10_ = "invocation";
  71499. $label0$0: {
  71500. _1_8 = A._InitializedCell$(new A._EvaluateVisitor__applyMixin_closure(mixin));
  71501. if (mixin == null)
  71502. throw A.wrapException(_this._evaluate$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  71503. t1 = mixin instanceof A.BuiltInCallable;
  71504. if (t1 && !mixin.acceptsContent && contentCallable != null) {
  71505. t1 = _this._evaluateArguments$1($arguments)._values;
  71506. _0_0 = mixin.callbackFor$2(t1[2].length, new A.MapKeySet(t1[0], type$.MapKeySet_String));
  71507. throw A.wrapException(A.MultiSpanSassRuntimeException$(_s37_, nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_0_0._0.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), null));
  71508. }
  71509. if (t1) {
  71510. _this._environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure0(_this, $arguments, mixin, nodeWithSpanWithoutContent));
  71511. break $label0$0;
  71512. }
  71513. t1 = type$.UserDefinedCallable_Environment._is(mixin);
  71514. if (t1 && _1_8._readFinal$0() instanceof A.MixinRule && !_1_8._readFinal$0().get$hasContent() && contentCallable != null)
  71515. throw A.wrapException(A.MultiSpanSassRuntimeException$(_s37_, nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), _s10_, A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.$arguments.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), null));
  71516. if (t1) {
  71517. _this._runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure1(_this, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null);
  71518. break $label0$0;
  71519. }
  71520. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  71521. }
  71522. },
  71523. visitIncludeRule$1(node) {
  71524. var _this = this;
  71525. _this._applyMixin$5(_this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure(_this, node)), A.NullableExtension_andThen(node.content, new A._EvaluateVisitor_visitIncludeRule_closure0(_this)), node.$arguments, node, new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure1(node)));
  71526. return null;
  71527. },
  71528. visitMixinRule$1(node) {
  71529. var t1 = this._environment,
  71530. t2 = t1.closure$0(),
  71531. t3 = this._inDependency,
  71532. t4 = t1._mixins,
  71533. index = t4.length - 1,
  71534. t5 = node.name;
  71535. t1._mixinIndices.$indexSet(0, t5, index);
  71536. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable(node, t2, t3, type$.UserDefinedCallable_Environment));
  71537. return null;
  71538. },
  71539. visitLoudComment$1(node) {
  71540. var t1, _this = this,
  71541. _s8_ = "__parent",
  71542. _s13_ = "_endOfImports";
  71543. if (_this._inFunction)
  71544. return null;
  71545. 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))
  71546. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  71547. t1 = node.text;
  71548. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(_this._performInterpolation$1(t1), t1.span));
  71549. return null;
  71550. },
  71551. visitMediaRule$1(node) {
  71552. var _0_0, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  71553. if (_this._declarationName != null)
  71554. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  71555. _0_0 = _this._performInterpolationWithMap$2$warnForColor(node.query, true);
  71556. queries = A.CssMediaQuery_parseList(_0_0._0, _0_0._1, _this._evaluate$_logger);
  71557. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure(_this, queries));
  71558. t1 = mergedQueries == null;
  71559. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  71560. return null;
  71561. if (t1)
  71562. mergedSources = B.Set_empty1;
  71563. else {
  71564. t2 = _this._mediaQuerySources;
  71565. t2.toString;
  71566. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  71567. t3 = _this._mediaQueries;
  71568. t3.toString;
  71569. t2.addAll$1(0, t3);
  71570. t2.addAll$1(0, queries);
  71571. mergedSources = t2;
  71572. }
  71573. t1 = t1 ? queries : mergedQueries;
  71574. _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);
  71575. return null;
  71576. },
  71577. _mergeMediaQueries$2(queries1, queries2) {
  71578. var t1, t2, t3, t4, _0_0, result, t5,
  71579. queries = A._setArrayType([], type$.JSArray_CssMediaQuery);
  71580. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  71581. t3 = t1.get$current(t1);
  71582. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  71583. _0_0 = t3.merge$1(t4.get$current(t4));
  71584. if (B._SingletonCssMediaQueryMergeResult_0 === _0_0)
  71585. continue;
  71586. if (B._SingletonCssMediaQueryMergeResult_1 === _0_0)
  71587. return null;
  71588. if (_0_0 instanceof A.MediaQuerySuccessfulMergeResult) {
  71589. result = _0_0;
  71590. t5 = true;
  71591. } else {
  71592. result = null;
  71593. t5 = false;
  71594. }
  71595. if (t5)
  71596. queries.push(result.query);
  71597. }
  71598. }
  71599. return queries;
  71600. },
  71601. visitReturnRule$1(node) {
  71602. var t1 = node.expression;
  71603. return this._withoutSlash$2(t1.accept$1(this), t1);
  71604. },
  71605. visitSilentComment$1(node) {
  71606. return null;
  71607. },
  71608. visitStyleRule$1(node) {
  71609. var t1, _0_0, selectorText, selectorMap, t2, parsedSelector, rule, oldAtRootExcludingStyleRule, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null,
  71610. _s11_ = "_stylesheet",
  71611. _s8_ = "__parent";
  71612. if (_this._declarationName != null)
  71613. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_, node.span));
  71614. t1 = node.selector;
  71615. _0_0 = _this._performInterpolationWithMap$2$warnForColor(t1, true);
  71616. selectorText = _0_0._0;
  71617. selectorMap = _0_0._1;
  71618. if (_this._inKeyframes) {
  71619. _this._withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$(new A.CssValue(A.List_List$unmodifiable(A.KeyframeSelectorParser$(selectorText, selectorMap, _this._evaluate$_logger).parse$0(), type$.String), t1.span, type$.CssValue_List_String), node.span), new A._EvaluateVisitor_visitStyleRule_closure(_this, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure0(), type$.ModifiableCssKeyframeBlock, type$.Null);
  71620. return _null;
  71621. }
  71622. t1 = A.SelectorList_SelectorList$parse(selectorText, !_this._assertInModule$2(_this.__stylesheet, _s11_).plainCss, !_this._assertInModule$2(_this.__stylesheet, _s11_).plainCss, selectorMap, _this._evaluate$_logger);
  71623. t2 = _this._styleRuleIgnoringAtRoot;
  71624. t2 = t2 == null ? _null : t2.originalSelector;
  71625. parsedSelector = t1.resolveParentSelectors$2$implicitParent(t2, !_this._atRootExcludingStyleRule);
  71626. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$2(parsedSelector, _this._mediaQueries), node.span, parsedSelector);
  71627. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  71628. _this._atRootExcludingStyleRule = false;
  71629. _this._withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure1(_this, rule, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure2(), type$.ModifiableCssStyleRule, type$.Null);
  71630. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  71631. if (!rule.accept$1(B._IsInvisibleVisitor_false_false))
  71632. for (t1 = parsedSelector.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  71633. complex = t1[_i];
  71634. if (!complex.accept$1(B._IsBogusVisitor_true))
  71635. continue;
  71636. if (complex.accept$1(B.C__IsUselessVisitor)) {
  71637. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  71638. complex.accept$1(visitor);
  71639. _this._warn$3('The selector "' + B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0)) + string$.x22x20is_ix20, A.SpanExtensions_trimRight(complex.span), B.Deprecation_vrR);
  71640. } else if (complex.leadingCombinators.length !== 0) {
  71641. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  71642. complex.accept$1(visitor);
  71643. _this._warn$3('The selector "' + B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0)) + string$.x22x20is_ix0a, A.SpanExtensions_trimRight(complex.span), B.Deprecation_vrR);
  71644. } else {
  71645. visitor = A._SerializeVisitor$(_null, true, _null, true, false, _null, true);
  71646. complex.accept$1(visitor);
  71647. t6 = B.JSString_methods.trim$0(visitor._serialize$_buffer.toString$0(0));
  71648. t7 = complex.accept$1(B._IsBogusVisitor_false) ? string$.x20It_wi : "";
  71649. t8 = A.SpanExtensions_trimRight(complex.span);
  71650. if (t5.get$length(t5) === 0)
  71651. A.throwExpression(A.IterableElementError_noElement());
  71652. t9 = J.get$span$z(t5.$index(0, 0));
  71653. _this._warn$3('The selector "' + t6 + string$.x22x20is_o + t7 + string$.x0aThis_, new A.MultiSpan(t8, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t9, "this is not a style rule" + (t5.every$1(t5, new A._EvaluateVisitor_visitStyleRule_closure3()) ? "\n(try converting to a //-style comment)" : "")], t3, t4), t3, t4)), B.Deprecation_vrR);
  71654. }
  71655. }
  71656. if ((_this._atRootExcludingStyleRule ? _null : _this._styleRuleIgnoringAtRoot) == null) {
  71657. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  71658. t1 = !t1.get$isEmpty(t1);
  71659. } else
  71660. t1 = false;
  71661. if (t1) {
  71662. t1 = _this._assertInModule$2(_this.__parent, _s8_).children;
  71663. t1.get$last(t1).isGroupEnd = true;
  71664. }
  71665. return _null;
  71666. },
  71667. visitSupportsRule$1(node) {
  71668. var t1, _this = this;
  71669. if (_this._declarationName != null)
  71670. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  71671. t1 = node.condition;
  71672. _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);
  71673. return null;
  71674. },
  71675. _visitSupportsCondition$1(condition) {
  71676. var operation, t1, t2, negation, interpolation, $function, anything, _this = this, _null = null, _box_0 = {};
  71677. $label0$0: {
  71678. if (condition instanceof A.SupportsOperation) {
  71679. operation = condition;
  71680. t1 = true;
  71681. } else {
  71682. operation = _null;
  71683. t1 = false;
  71684. }
  71685. if (t1) {
  71686. t1 = operation.left;
  71687. t2 = operation.operator;
  71688. t2 = _this._parenthesize$2(t1, t2) + " " + t2 + " " + _this._parenthesize$2(operation.right, t2);
  71689. t1 = t2;
  71690. break $label0$0;
  71691. }
  71692. if (condition instanceof A.SupportsNegation) {
  71693. negation = condition;
  71694. t1 = true;
  71695. } else {
  71696. negation = _null;
  71697. t1 = false;
  71698. }
  71699. if (t1) {
  71700. t1 = "not " + _this._parenthesize$1(negation.condition);
  71701. break $label0$0;
  71702. }
  71703. if (condition instanceof A.SupportsInterpolation) {
  71704. interpolation = condition;
  71705. t1 = true;
  71706. } else {
  71707. interpolation = _null;
  71708. t1 = false;
  71709. }
  71710. if (t1) {
  71711. t1 = interpolation.expression;
  71712. t1 = _this._evaluate$_serialize$3$quote(t1.accept$1(_this), t1, false);
  71713. break $label0$0;
  71714. }
  71715. _box_0.declaration = null;
  71716. if (condition instanceof A.SupportsDeclaration) {
  71717. _box_0.declaration = condition;
  71718. t1 = true;
  71719. } else
  71720. t1 = false;
  71721. if (t1) {
  71722. t1 = _this._withSupportsDeclaration$1(new A._EvaluateVisitor__visitSupportsCondition_closure(_box_0, _this));
  71723. break $label0$0;
  71724. }
  71725. if (condition instanceof A.SupportsFunction) {
  71726. $function = condition;
  71727. t1 = true;
  71728. } else {
  71729. $function = _null;
  71730. t1 = false;
  71731. }
  71732. if (t1) {
  71733. t1 = _this._performInterpolation$1($function.name) + "(" + _this._performInterpolation$1($function.$arguments) + ")";
  71734. break $label0$0;
  71735. }
  71736. if (condition instanceof A.SupportsAnything) {
  71737. anything = condition;
  71738. t1 = true;
  71739. } else {
  71740. anything = _null;
  71741. t1 = false;
  71742. }
  71743. if (t1) {
  71744. t1 = "(" + _this._performInterpolation$1(anything.contents) + ")";
  71745. break $label0$0;
  71746. }
  71747. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", _null));
  71748. }
  71749. return t1;
  71750. },
  71751. _withSupportsDeclaration$1$1(callback) {
  71752. var t1,
  71753. oldInSupportsDeclaration = this._inSupportsDeclaration;
  71754. this._inSupportsDeclaration = true;
  71755. try {
  71756. t1 = callback.call$0();
  71757. return t1;
  71758. } finally {
  71759. this._inSupportsDeclaration = oldInSupportsDeclaration;
  71760. }
  71761. },
  71762. _withSupportsDeclaration$1(callback) {
  71763. return this._withSupportsDeclaration$1$1(callback, type$.dynamic);
  71764. },
  71765. _parenthesize$2(condition, operator) {
  71766. var t1;
  71767. if (!(condition instanceof A.SupportsNegation))
  71768. if (condition instanceof A.SupportsOperation)
  71769. t1 = operator == null || operator !== condition.operator;
  71770. else
  71771. t1 = false;
  71772. else
  71773. t1 = true;
  71774. if (t1)
  71775. return "(" + this._visitSupportsCondition$1(condition) + ")";
  71776. return this._visitSupportsCondition$1(condition);
  71777. },
  71778. _parenthesize$1(condition) {
  71779. return this._parenthesize$2(condition, null);
  71780. },
  71781. visitVariableDeclaration$1(node) {
  71782. var t2, t3, value, _this = this, _null = null, t1 = {};
  71783. if (node.isGuarded) {
  71784. if (node.namespace == null && _this._environment._variables.length === 1) {
  71785. t1.override = null;
  71786. t2 = _this._configuration._configuration$_values;
  71787. t2 = t2.get$isEmpty(t2) ? _null : t2.remove$1(0, node.name);
  71788. if (t2 != null) {
  71789. t1.override = t2;
  71790. t3 = t2;
  71791. t2 = true;
  71792. } else {
  71793. t3 = _null;
  71794. t2 = false;
  71795. }
  71796. if (t2 && !t3.value.$eq(0, B.C__SassNull)) {
  71797. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure(t1, _this, node));
  71798. return _null;
  71799. }
  71800. }
  71801. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure0(_this, node));
  71802. if (value != null && !value.$eq(0, B.C__SassNull))
  71803. return _null;
  71804. }
  71805. if (node.isGlobal && !_this._environment.globalVariableExists$1(node.name)) {
  71806. t1 = _this._environment._variables.length === 1 ? string$.As_of_S : string$.As_of_R + A.declarationName(node.span) + ": null` at the stylesheet root.";
  71807. _this._warn$3(t1, node.span, B.Deprecation_hzy);
  71808. }
  71809. t1 = node.expression;
  71810. _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure1(_this, node, _this._withoutSlash$2(t1.accept$1(_this), t1)));
  71811. return _null;
  71812. },
  71813. visitUseRule$1(node) {
  71814. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  71815. t1 = node.configuration,
  71816. t2 = t1.length;
  71817. if (t2 !== 0) {
  71818. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  71819. for (_i = 0; _i < t2; ++_i) {
  71820. variable = t1[_i];
  71821. t3 = variable.expression;
  71822. variableNodeWithSpan = _this._expressionNode$1(t3);
  71823. values.$indexSet(0, variable.name, new A.ConfiguredValue(_this._withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  71824. }
  71825. configuration = new A.ExplicitConfiguration(node, values, null);
  71826. } else
  71827. configuration = B.Configuration_Map_empty_null;
  71828. _this._loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure(_this, node), configuration);
  71829. _this._assertConfigurationIsEmpty$1(configuration);
  71830. return null;
  71831. },
  71832. visitWarnRule$1(node) {
  71833. var _this = this,
  71834. value = _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure(_this, node)),
  71835. t1 = value instanceof A.SassString ? value._string$_text : _this._evaluate$_serialize$2(value, node.expression);
  71836. _this._evaluate$_logger.warn$2$trace(0, t1, _this._evaluate$_stackTrace$1(node.span));
  71837. return null;
  71838. },
  71839. visitWhileRule$1(node) {
  71840. return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure(this, node), true, node.hasDeclarations, type$.nullable_Value);
  71841. },
  71842. visitBinaryOperationExpression$1(node) {
  71843. var t1, _this = this;
  71844. if (_this._assertInModule$2(_this.__stylesheet, "_stylesheet").plainCss) {
  71845. t1 = node.operator;
  71846. t1 = t1 !== B.BinaryOperator_2jN && t1 !== B.BinaryOperator_t8B;
  71847. } else
  71848. t1 = false;
  71849. if (t1)
  71850. throw A.wrapException(_this._evaluate$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  71851. return _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure(_this, node));
  71852. },
  71853. _slash$3(left, right, node) {
  71854. var t1, _null = null,
  71855. result = left.dividedBy$1(right),
  71856. _1_0 = new A._Record_2(left, right),
  71857. _1_1 = A._InitializedCell$(new A._EvaluateVisitor__slash_closure(_1_0)),
  71858. _1_2 = A._InitializedCell$(new A._EvaluateVisitor__slash_closure0(_1_0));
  71859. if (_1_1._readFinal$0() instanceof A.SassNumber) {
  71860. left = _1_1._readFinal$0();
  71861. if (_1_2._readFinal$0() instanceof A.SassNumber) {
  71862. right = _1_2._readFinal$0();
  71863. t1 = node.allowsSlash && this._operandAllowsSlash$1(node.left) && this._operandAllowsSlash$1(node.right);
  71864. } else {
  71865. right = _null;
  71866. t1 = false;
  71867. }
  71868. } else {
  71869. right = _null;
  71870. left = right;
  71871. t1 = false;
  71872. }
  71873. if (t1)
  71874. return type$.SassNumber._as(result).withSlash$2(left, right);
  71875. if (_1_1._readFinal$0() instanceof A.SassNumber && _1_2._readFinal$0() instanceof A.SassNumber) {
  71876. this._warn$3(string$.Using__o + A.S(new A._EvaluateVisitor__slash_recommendation().call$1(node)) + " or " + A.expressionToCalc(node).toString$0(0) + string$.x0a_Morex20, node.get$span(node), B.Deprecation_xHK);
  71877. return result;
  71878. }
  71879. return result;
  71880. },
  71881. _operandAllowsSlash$1(node) {
  71882. var t1, t2;
  71883. if (node instanceof A.FunctionExpression)
  71884. if (node.namespace == null) {
  71885. t1 = node.originalName;
  71886. if (B.Set_WfnXb.contains$1(0, A.stringReplaceAllUnchecked(t1, "_", "-").toLowerCase())) {
  71887. t2 = this._environment;
  71888. t1 = t2.getFunction$1(A.stringReplaceAllUnchecked(t1, "_", "-")) == null;
  71889. } else
  71890. t1 = false;
  71891. } else
  71892. t1 = false;
  71893. else
  71894. t1 = true;
  71895. return t1;
  71896. },
  71897. visitValueExpression$1(node) {
  71898. return node.value;
  71899. },
  71900. visitVariableExpression$1(node) {
  71901. var result = this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure(this, node));
  71902. if (result != null)
  71903. return result;
  71904. throw A.wrapException(this._evaluate$_exception$2("Undefined variable.", node.span));
  71905. },
  71906. visitUnaryOperationExpression$1(node) {
  71907. return this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure(node, node.operand.accept$1(this)));
  71908. },
  71909. visitBooleanExpression$1(node) {
  71910. return node.value ? B.SassBoolean_true : B.SassBoolean_false;
  71911. },
  71912. visitIfExpression$1(node) {
  71913. var condition, t1, ifTrue, ifFalse, result, _this = this,
  71914. _0_0 = _this._evaluateMacroArguments$1(node),
  71915. positional = _0_0._0,
  71916. named = _0_0._1;
  71917. _this._verifyArguments$4(positional.length, named, $.$get$IfExpression_declaration(), node);
  71918. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  71919. if (condition == null) {
  71920. t1 = named.$index(0, "condition");
  71921. t1.toString;
  71922. condition = t1;
  71923. }
  71924. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  71925. if (ifTrue == null) {
  71926. t1 = named.$index(0, "if-true");
  71927. t1.toString;
  71928. ifTrue = t1;
  71929. }
  71930. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  71931. if (ifFalse == null) {
  71932. t1 = named.$index(0, "if-false");
  71933. t1.toString;
  71934. ifFalse = t1;
  71935. }
  71936. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  71937. return _this._withoutSlash$2(result.accept$1(_this), _this._expressionNode$1(result));
  71938. },
  71939. visitNullExpression$1(node) {
  71940. return B.C__SassNull;
  71941. },
  71942. visitNumberExpression$1(node) {
  71943. return A.SassNumber_SassNumber(node.value, node.unit);
  71944. },
  71945. visitParenthesizedExpression$1(node) {
  71946. var _this = this;
  71947. return _this._assertInModule$2(_this.__stylesheet, "_stylesheet").plainCss ? A.throwExpression(_this._evaluate$_exception$2("Parentheses aren't allowed in plain CSS.", node.span)) : node.expression.accept$1(_this);
  71948. },
  71949. visitColorExpression$1(node) {
  71950. return node.value;
  71951. },
  71952. visitListExpression$1(node) {
  71953. var t1 = node.contents;
  71954. 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);
  71955. },
  71956. visitMapExpression$1(node) {
  71957. var t2, t3, _i, t4, key, value, keyValue, valueValue, oldValueSpan,
  71958. t1 = type$.Value,
  71959. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  71960. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode);
  71961. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  71962. t4 = t2[_i];
  71963. key = t4._0;
  71964. value = t4._1;
  71965. keyValue = key.accept$1(this);
  71966. valueValue = value.accept$1(this);
  71967. if (map.containsKey$1(keyValue)) {
  71968. t1 = keyNodes.$index(0, keyValue);
  71969. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  71970. t1 = key.get$span(key);
  71971. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  71972. if (oldValueSpan != null)
  71973. t2.$indexSet(0, oldValueSpan, "first key");
  71974. throw A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.", t1, "second key", t2, this._evaluate$_stackTrace$1(key.get$span(key)), null));
  71975. }
  71976. map.$indexSet(0, keyValue, valueValue);
  71977. keyNodes.$indexSet(0, keyValue, key);
  71978. }
  71979. return new A.SassMap(A.ConstantMap_ConstantMap$from(map, t1, t1));
  71980. },
  71981. visitFunctionExpression$1(node) {
  71982. var t2, _0_0, t3, t4, oldInFunction, result, _this = this,
  71983. _s11_ = "_stylesheet",
  71984. t1 = {},
  71985. $function = _this._assertInModule$2(_this.__stylesheet, _s11_).plainCss ? null : _this._addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure(_this, node));
  71986. t1.$function = $function;
  71987. if ($function == null) {
  71988. if (node.namespace != null)
  71989. throw A.wrapException(_this._evaluate$_exception$2("Undefined function.", node.span));
  71990. t2 = node.originalName;
  71991. _0_0 = A.stringReplaceAllUnchecked(t2, "_", "-").toLowerCase();
  71992. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  71993. t3 = node.$arguments;
  71994. t4 = t3.named;
  71995. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure0());
  71996. } else
  71997. t3 = false;
  71998. if (t3)
  71999. return _this._visitCalculation$2$inLegacySassFunction(node, true);
  72000. if ("calc" === _0_0 || "clamp" === _0_0 || "hypot" === _0_0 || "sin" === _0_0 || "cos" === _0_0 || "tan" === _0_0 || "asin" === _0_0 || "acos" === _0_0 || "atan" === _0_0 || "sqrt" === _0_0 || "exp" === _0_0 || "sign" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "atan2" === _0_0 || "pow" === _0_0 || "log" === _0_0)
  72001. return _this._visitCalculation$1(node);
  72002. if (_this._assertInModule$2(_this.__stylesheet, _s11_).plainCss)
  72003. $function = null;
  72004. else {
  72005. t3 = _this._builtInFunctions.$index(0, A.stringReplaceAllUnchecked(t2, "_", "-"));
  72006. $function = t3;
  72007. }
  72008. t1.$function = $function == null ? new A.PlainCssCallable(t2) : $function;
  72009. }
  72010. oldInFunction = _this._inFunction;
  72011. _this._inFunction = true;
  72012. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure1(t1, _this, node));
  72013. _this._inFunction = oldInFunction;
  72014. return result;
  72015. },
  72016. _visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  72017. var $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, _this = this,
  72018. t2 = node.$arguments,
  72019. t3 = t2.named;
  72020. if (t3.get$isNotEmpty(t3))
  72021. throw A.wrapException(_this._evaluate$_exception$2(string$.Keywor, node.span));
  72022. else if (t2.rest != null)
  72023. throw A.wrapException(_this._evaluate$_exception$2(string$.Rest_a, node.span));
  72024. _this._checkCalculationArguments$1(node);
  72025. t3 = A._setArrayType([], type$.JSArray_Object);
  72026. for (t2 = t2.positional, t4 = t2.length, _i = 0; _i < t4; ++_i)
  72027. t3.push(_this._visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  72028. $arguments = t3;
  72029. if (_this._inSupportsDeclaration)
  72030. return new A.SassCalculation(A.stringReplaceAllUnchecked(node.originalName, "_", "-"), A.List_List$unmodifiable($arguments, type$.Object));
  72031. oldCallableNode = _this._callableNode;
  72032. _this._callableNode = node;
  72033. try {
  72034. t1 = null;
  72035. _0_0 = A.stringReplaceAllUnchecked(node.originalName, "_", "-").toLowerCase();
  72036. $label0$0: {
  72037. if ("calc" === _0_0) {
  72038. t1 = A.SassCalculation_calc(J.$index$asx($arguments, 0));
  72039. break $label0$0;
  72040. }
  72041. if ("sqrt" === _0_0) {
  72042. t1 = A.SassCalculation__singleArgument("sqrt", J.$index$asx($arguments, 0), A.number0__sqrt$closure(), true);
  72043. break $label0$0;
  72044. }
  72045. if ("sin" === _0_0) {
  72046. t1 = A.SassCalculation__singleArgument("sin", J.$index$asx($arguments, 0), A.number0__sin$closure(), false);
  72047. break $label0$0;
  72048. }
  72049. if ("cos" === _0_0) {
  72050. t1 = A.SassCalculation__singleArgument("cos", J.$index$asx($arguments, 0), A.number0__cos$closure(), false);
  72051. break $label0$0;
  72052. }
  72053. if ("tan" === _0_0) {
  72054. t1 = A.SassCalculation__singleArgument("tan", J.$index$asx($arguments, 0), A.number0__tan$closure(), false);
  72055. break $label0$0;
  72056. }
  72057. if ("asin" === _0_0) {
  72058. t1 = A.SassCalculation__singleArgument("asin", J.$index$asx($arguments, 0), A.number0__asin$closure(), true);
  72059. break $label0$0;
  72060. }
  72061. if ("acos" === _0_0) {
  72062. t1 = A.SassCalculation__singleArgument("acos", J.$index$asx($arguments, 0), A.number0__acos$closure(), true);
  72063. break $label0$0;
  72064. }
  72065. if ("atan" === _0_0) {
  72066. t1 = A.SassCalculation__singleArgument("atan", J.$index$asx($arguments, 0), A.number0__atan$closure(), true);
  72067. break $label0$0;
  72068. }
  72069. if ("abs" === _0_0) {
  72070. t1 = A.SassCalculation_abs(J.$index$asx($arguments, 0));
  72071. break $label0$0;
  72072. }
  72073. if ("exp" === _0_0) {
  72074. t1 = A.SassCalculation_exp(J.$index$asx($arguments, 0));
  72075. break $label0$0;
  72076. }
  72077. if ("sign" === _0_0) {
  72078. t1 = A.SassCalculation_sign(J.$index$asx($arguments, 0));
  72079. break $label0$0;
  72080. }
  72081. if ("min" === _0_0) {
  72082. t1 = A.SassCalculation_min($arguments);
  72083. break $label0$0;
  72084. }
  72085. if ("max" === _0_0) {
  72086. t1 = A.SassCalculation_max($arguments);
  72087. break $label0$0;
  72088. }
  72089. if ("hypot" === _0_0) {
  72090. t1 = A.SassCalculation_hypot($arguments);
  72091. break $label0$0;
  72092. }
  72093. if ("pow" === _0_0) {
  72094. t1 = A.SassCalculation_pow(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  72095. break $label0$0;
  72096. }
  72097. if ("atan2" === _0_0) {
  72098. t1 = A.SassCalculation_atan2(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  72099. break $label0$0;
  72100. }
  72101. if ("log" === _0_0) {
  72102. t1 = A.SassCalculation_log(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  72103. break $label0$0;
  72104. }
  72105. if ("mod" === _0_0) {
  72106. t1 = A.SassCalculation_mod(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  72107. break $label0$0;
  72108. }
  72109. if ("rem" === _0_0) {
  72110. t1 = A.SassCalculation_rem(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  72111. break $label0$0;
  72112. }
  72113. if ("round" === _0_0) {
  72114. t1 = A.SassCalculation_round(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  72115. break $label0$0;
  72116. }
  72117. if ("clamp" === _0_0) {
  72118. t1 = A.SassCalculation_clamp(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  72119. break $label0$0;
  72120. }
  72121. t3 = A.UnsupportedError$('Unknown calculation name "' + node.get$name(node) + '".');
  72122. t1 = A.throwExpression(t3);
  72123. }
  72124. t1 = t1;
  72125. return t1;
  72126. } catch (exception) {
  72127. t1 = A.unwrapException(exception);
  72128. if (t1 instanceof A.SassScriptException) {
  72129. error = t1;
  72130. stackTrace = A.getTraceFromException(exception);
  72131. if (B.JSString_methods.contains$1(error.message, "compatible"))
  72132. _this._verifyCompatibleNumbers$2($arguments, t2);
  72133. A.throwWithTrace(_this._evaluate$_exception$2(error.message, node.span), error, stackTrace);
  72134. } else
  72135. throw exception;
  72136. } finally {
  72137. _this._callableNode = oldCallableNode;
  72138. }
  72139. },
  72140. _visitCalculation$1(node) {
  72141. return this._visitCalculation$2$inLegacySassFunction(node, false);
  72142. },
  72143. _checkCalculationArguments$1(node) {
  72144. var _0_0,
  72145. check = new A._EvaluateVisitor__checkCalculationArguments_check(this, node);
  72146. $label0$0: {
  72147. _0_0 = A.stringReplaceAllUnchecked(node.originalName, "_", "-").toLowerCase();
  72148. if ("calc" === _0_0 || "sqrt" === _0_0 || "sin" === _0_0 || "cos" === _0_0 || "tan" === _0_0 || "asin" === _0_0 || "acos" === _0_0 || "atan" === _0_0 || "abs" === _0_0 || "exp" === _0_0 || "sign" === _0_0) {
  72149. check.call$1(1);
  72150. break $label0$0;
  72151. }
  72152. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  72153. check.call$0();
  72154. break $label0$0;
  72155. }
  72156. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0) {
  72157. check.call$1(2);
  72158. break $label0$0;
  72159. }
  72160. if ("round" === _0_0 || "clamp" === _0_0) {
  72161. check.call$1(3);
  72162. break $label0$0;
  72163. }
  72164. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + node.get$name(node) + '".'));
  72165. }
  72166. },
  72167. _verifyCompatibleNumbers$2(args, nodesWithSpans) {
  72168. var i, t1, _0_0, arg, number1, j, number2;
  72169. for (i = 0; t1 = args.length, i < t1; ++i) {
  72170. _0_0 = args[i];
  72171. if (_0_0 instanceof A.SassNumber) {
  72172. t1 = _0_0.get$hasComplexUnits();
  72173. arg = _0_0;
  72174. } else {
  72175. arg = null;
  72176. t1 = false;
  72177. }
  72178. if (t1)
  72179. throw A.wrapException(this._evaluate$_exception$2("Number " + A.S(arg) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  72180. }
  72181. for (i = 0; i < t1 - 1; ++i) {
  72182. number1 = args[i];
  72183. if (!(number1 instanceof A.SassNumber))
  72184. continue;
  72185. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  72186. number2 = args[j];
  72187. if (!(number2 instanceof A.SassNumber))
  72188. continue;
  72189. if (number1.hasPossiblyCompatibleUnits$1(number2))
  72190. continue;
  72191. 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])), null));
  72192. }
  72193. }
  72194. },
  72195. _visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  72196. var inner, t1, result, t2, _0_0, _1_0, t3, _i, i, _this = this, _null = null, _box_0 = {};
  72197. if (node instanceof A.ParenthesizedExpression) {
  72198. inner = node.expression;
  72199. t1 = true;
  72200. } else {
  72201. inner = _null;
  72202. t1 = false;
  72203. }
  72204. if (t1) {
  72205. result = _this._visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction);
  72206. return result instanceof A.SassString ? new A.SassString("(" + result._string$_text + ")", false) : result;
  72207. }
  72208. if (node instanceof A.StringExpression && node.accept$1(new A._IsCalculationSafeVisitor())) {
  72209. t1 = node.text;
  72210. t2 = t1.get$asPlain();
  72211. _0_0 = t2 == null ? _null : t2.toLowerCase();
  72212. $label0$0: {
  72213. if ("pi" === _0_0) {
  72214. t1 = A.SassNumber_SassNumber(3.141592653589793, _null);
  72215. break $label0$0;
  72216. }
  72217. if ("e" === _0_0) {
  72218. t1 = A.SassNumber_SassNumber(2.718281828459045, _null);
  72219. break $label0$0;
  72220. }
  72221. if ("infinity" === _0_0) {
  72222. t1 = A.SassNumber_SassNumber(1 / 0, _null);
  72223. break $label0$0;
  72224. }
  72225. if ("-infinity" === _0_0) {
  72226. t1 = A.SassNumber_SassNumber(-1 / 0, _null);
  72227. break $label0$0;
  72228. }
  72229. if ("nan" === _0_0) {
  72230. t1 = A.SassNumber_SassNumber(0 / 0, _null);
  72231. break $label0$0;
  72232. }
  72233. t1 = new A.SassString(_this._performInterpolation$1(t1), false);
  72234. break $label0$0;
  72235. }
  72236. return t1;
  72237. }
  72238. _box_0.right = _box_0.left = _box_0.operator = null;
  72239. if (node instanceof A.BinaryOperationExpression) {
  72240. _box_0.operator = node.operator;
  72241. _box_0.left = node.left;
  72242. _box_0.right = node.right;
  72243. t1 = true;
  72244. } else
  72245. t1 = false;
  72246. if (t1) {
  72247. _this._checkWhitespaceAroundCalculationOperator$1(node);
  72248. return _this._addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationExpression_closure(_box_0, _this, node, inLegacySassFunction));
  72249. }
  72250. if (node instanceof A.NumberExpression || node instanceof A.VariableExpression || node instanceof A.FunctionExpression || node instanceof A.IfExpression) {
  72251. _1_0 = node.accept$1(_this);
  72252. $label1$1: {
  72253. if (_1_0 instanceof A.SassNumber) {
  72254. result = _1_0;
  72255. t1 = true;
  72256. } else {
  72257. result = _null;
  72258. t1 = false;
  72259. }
  72260. if (t1) {
  72261. t1 = result;
  72262. break $label1$1;
  72263. }
  72264. if (_1_0 instanceof A.SassCalculation) {
  72265. result = _1_0;
  72266. t1 = true;
  72267. } else {
  72268. result = _null;
  72269. t1 = false;
  72270. }
  72271. if (t1) {
  72272. t1 = result;
  72273. break $label1$1;
  72274. }
  72275. if (_1_0 instanceof A.SassString) {
  72276. t1 = !_1_0._hasQuotes;
  72277. result = _1_0;
  72278. } else {
  72279. result = _null;
  72280. t1 = false;
  72281. }
  72282. if (t1) {
  72283. t1 = result;
  72284. break $label1$1;
  72285. }
  72286. t1 = A.throwExpression(_this._evaluate$_exception$2("Value " + _1_0.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  72287. }
  72288. return t1;
  72289. }
  72290. if (node instanceof A.ListExpression && !node.hasBrackets && B.ListSeparator_EVt === node.separator && node.contents.length >= 2) {
  72291. t1 = A._setArrayType([], type$.JSArray_Object);
  72292. for (t2 = node.contents, t3 = t2.length, _i = 0; _i < t3; ++_i)
  72293. t1.push(_this._visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  72294. _this._checkAdjacentCalculationValues$2(t1, node);
  72295. for (i = 0; i < t1.length; ++i) {
  72296. t3 = t1[i];
  72297. if (t3 instanceof A.CalculationOperation && t2[i] instanceof A.ParenthesizedExpression)
  72298. t1[i] = new A.SassString("(" + A.S(t3) + ")", false);
  72299. }
  72300. return new A.SassString(B.JSArray_methods.join$1(t1, " "), false);
  72301. }
  72302. throw A.wrapException(_this._evaluate$_exception$2(string$.This_e, node.get$span(node)));
  72303. },
  72304. _checkWhitespaceAroundCalculationOperator$1(node) {
  72305. var t2, t3, t4, textBetweenOperands, first, last,
  72306. t1 = node.operator;
  72307. if (t1 !== B.BinaryOperator_anB && t1 !== B.BinaryOperator_olz)
  72308. return;
  72309. t1 = node.left;
  72310. t2 = t1.get$span(t1);
  72311. t2 = t2.get$file(t2);
  72312. t3 = node.right;
  72313. t4 = t3.get$span(t3);
  72314. if (t2 !== t4.get$file(t4))
  72315. return;
  72316. t2 = t1.get$span(t1);
  72317. t2 = t2.get$end(t2);
  72318. t4 = t3.get$span(t3);
  72319. if (t2.offset >= t4.get$start(t4).offset)
  72320. return;
  72321. t2 = t1.get$span(t1);
  72322. t2 = t2.get$file(t2);
  72323. t1 = t1.get$span(t1);
  72324. t1 = t1.get$end(t1);
  72325. t3 = t3.get$span(t3);
  72326. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  72327. first = textBetweenOperands.charCodeAt(0);
  72328. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  72329. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  72330. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  72331. else
  72332. t1 = true;
  72333. if (t1)
  72334. throw A.wrapException(this._evaluate$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  72335. },
  72336. _binaryOperatorToCalculationOperator$2(operator, node) {
  72337. var t1;
  72338. $label0$0: {
  72339. if (B.BinaryOperator_anB === operator) {
  72340. t1 = B.CalculationOperator_IyK;
  72341. break $label0$0;
  72342. }
  72343. if (B.BinaryOperator_olz === operator) {
  72344. t1 = B.CalculationOperator_2bx;
  72345. break $label0$0;
  72346. }
  72347. if (B.BinaryOperator_qN2 === operator) {
  72348. t1 = B.CalculationOperator_jFr;
  72349. break $label0$0;
  72350. }
  72351. if (B.BinaryOperator_t8B === operator) {
  72352. t1 = B.CalculationOperator_OvN;
  72353. break $label0$0;
  72354. }
  72355. t1 = A.throwExpression(this._evaluate$_exception$2(string$.This_o, node.get$operatorSpan()));
  72356. }
  72357. return t1;
  72358. },
  72359. _checkAdjacentCalculationValues$2(elements, node) {
  72360. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  72361. for (t1 = elements.length, i = 1; i < t1; ++i) {
  72362. t2 = i - 1;
  72363. previous = elements[t2];
  72364. current = elements[i];
  72365. if (previous instanceof A.SassString || current instanceof A.SassString)
  72366. continue;
  72367. t1 = node.contents;
  72368. previousNode = t1[t2];
  72369. currentNode = t1[i];
  72370. _0_2 = A._InitializedCell$(new A._EvaluateVisitor__checkAdjacentCalculationValues_closure(currentNode));
  72371. if (currentNode instanceof A.UnaryOperationExpression)
  72372. t1 = B.UnaryOperator_TLI === _0_2._readFinal$0() || B.UnaryOperator_gg4 === _0_2._readFinal$0();
  72373. else
  72374. t1 = false;
  72375. if (!t1)
  72376. t1 = currentNode instanceof A.NumberExpression && currentNode.value < 0;
  72377. else
  72378. t1 = true;
  72379. if (t1)
  72380. throw A.wrapException(this._evaluate$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  72381. else
  72382. throw A.wrapException(this._evaluate$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  72383. }
  72384. },
  72385. visitInterpolatedFunctionExpression$1(node) {
  72386. var result, _this = this,
  72387. t1 = _this._performInterpolation$1(node.name),
  72388. oldInFunction = _this._inFunction;
  72389. _this._inFunction = true;
  72390. result = _this._addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure(_this, node, new A.PlainCssCallable(t1)));
  72391. _this._inFunction = oldInFunction;
  72392. return result;
  72393. },
  72394. _runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  72395. var oldCallable, result, _this = this,
  72396. evaluated = _this._evaluateArguments$1($arguments),
  72397. $name = callable.declaration.name;
  72398. if ($name !== "@content")
  72399. $name += "()";
  72400. oldCallable = _this._currentCallable;
  72401. _this._currentCallable = callable;
  72402. result = _this._withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure(_this, callable, evaluated, nodeWithSpan, run, $V));
  72403. _this._currentCallable = oldCallable;
  72404. return result;
  72405. },
  72406. _runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  72407. var buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, exception, _this = this;
  72408. if (callable instanceof A.BuiltInCallable)
  72409. return _this._withoutSlash$2(_this._runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  72410. else if (type$.UserDefinedCallable_Environment._is(callable))
  72411. return _this._runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure(_this, callable), type$.Value);
  72412. else if (callable instanceof A.PlainCssCallable) {
  72413. t1 = $arguments.named;
  72414. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  72415. throw A.wrapException(_this._evaluate$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  72416. buffer = new A.StringBuffer(callable.name + "(");
  72417. try {
  72418. first = true;
  72419. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  72420. argument = t1[_i];
  72421. if (first)
  72422. first = false;
  72423. else
  72424. buffer._contents += ", ";
  72425. t3 = argument;
  72426. buffer._contents += _this._evaluate$_serialize$3$quote(t3.accept$1(_this), t3, true);
  72427. }
  72428. restArg = $arguments.rest;
  72429. if (restArg != null) {
  72430. rest = restArg.accept$1(_this);
  72431. if (!first)
  72432. buffer._contents += ", ";
  72433. buffer._contents += _this._evaluate$_serialize$2(rest, restArg);
  72434. }
  72435. } catch (exception) {
  72436. t1 = A.unwrapException(exception);
  72437. if (type$.SassRuntimeException._is(t1)) {
  72438. error = t1;
  72439. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  72440. throw exception;
  72441. throw A.wrapException(A.MultiSpanSassRuntimeException$(error._span_exception$_message, J.get$span$z(error), "value", A.LinkedHashMap_LinkedHashMap$_literal([nodeWithSpan.get$span(nodeWithSpan), "unknown function treated as plain CSS"], type$.FileSpan, type$.String), J.get$trace$z(error), null));
  72442. } else
  72443. throw exception;
  72444. }
  72445. buffer._contents += A.Primitives_stringFromCharCode(41);
  72446. t1 = buffer._contents;
  72447. return new A.SassString(t1.charCodeAt(0) == 0 ? t1 : t1, false);
  72448. } else
  72449. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  72450. },
  72451. _runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  72452. var result, error, stackTrace, message, namedSet, _0_0, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, message0, _this = this, _box_0 = {},
  72453. evaluated = _this._evaluateArguments$1($arguments),
  72454. oldCallableNode = _this._callableNode;
  72455. _this._callableNode = nodeWithSpan;
  72456. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  72457. _box_0.callback = _box_0.overload = null;
  72458. _0_0 = callable.callbackFor$2(evaluated._values[2].length, namedSet);
  72459. _box_0.overload = _0_0._0;
  72460. _box_0.callback = _0_0._1;
  72461. _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure(_box_0, evaluated, namedSet));
  72462. declaredArguments = _box_0.overload.$arguments;
  72463. for (i = evaluated._values[2].length, t1 = declaredArguments.length; i < t1; ++i) {
  72464. argument = declaredArguments[i];
  72465. t2 = evaluated._values[2];
  72466. t3 = evaluated._values[0].remove$1(0, argument.name);
  72467. if (t3 == null) {
  72468. t3 = argument.defaultValue;
  72469. t3 = _this._withoutSlash$2(t3.accept$1(_this), t3);
  72470. }
  72471. t2.push(t3);
  72472. }
  72473. if (_box_0.overload.restArgument != null) {
  72474. if (evaluated._values[2].length > t1) {
  72475. rest = B.JSArray_methods.sublist$1(evaluated._values[2], t1);
  72476. B.JSArray_methods.removeRange$2(evaluated._values[2], t1, evaluated._values[2].length);
  72477. } else
  72478. rest = B.List_empty8;
  72479. t1 = evaluated._values[0];
  72480. argumentList = A.SassArgumentList$(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_rXA : evaluated._values[4]);
  72481. evaluated._values[2].push(argumentList);
  72482. } else
  72483. argumentList = null;
  72484. result = null;
  72485. try {
  72486. result = _this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure0(_box_0, evaluated));
  72487. } catch (exception) {
  72488. t1 = A.unwrapException(exception);
  72489. if (t1 instanceof A.SassException)
  72490. throw exception;
  72491. else {
  72492. error = t1;
  72493. stackTrace = A.getTraceFromException(exception);
  72494. message = null;
  72495. try {
  72496. message = A._asString(J.get$message$x(error));
  72497. } catch (exception) {
  72498. message0 = J.toString$0$(error);
  72499. message = message0;
  72500. }
  72501. A.throwWithTrace(_this._evaluate$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  72502. }
  72503. }
  72504. _this._callableNode = oldCallableNode;
  72505. if (argumentList == null)
  72506. return result;
  72507. if (evaluated._values[0].__js_helper$_length === 0)
  72508. return result;
  72509. if (argumentList._wereKeywordsAccessed)
  72510. return result;
  72511. t1 = evaluated._values[0];
  72512. t1 = t1.get$keys(t1);
  72513. t1 = A.pluralize("argument", t1.get$length(t1), null);
  72514. t2 = evaluated._values[0];
  72515. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + t1 + " named " + A.toSentence(t2.get$keys(t2).map$1$1(0, new A._EvaluateVisitor__runBuiltInCallable_closure1(), type$.Object), "or") + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([_box_0.overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), null));
  72516. },
  72517. _evaluateArguments$1($arguments) {
  72518. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, $name, value, restArgs, rest, restNodeForSpan, t5, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  72519. positional = A._setArrayType([], type$.JSArray_Value),
  72520. positionalNodes = A._setArrayType([], type$.JSArray_AstNode);
  72521. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  72522. expression = t1[_i];
  72523. nodeForSpan = _this._expressionNode$1(expression);
  72524. positional.push(_this._withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  72525. positionalNodes.push(nodeForSpan);
  72526. }
  72527. t1 = type$.String;
  72528. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value);
  72529. t2 = type$.AstNode;
  72530. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  72531. for (t3 = A.MapExtensions_get_pairs($arguments.named, t1, type$.Expression), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  72532. t4 = t3.get$current(t3);
  72533. $name = t4._0;
  72534. value = t4._1;
  72535. nodeForSpan = _this._expressionNode$1(value);
  72536. named.$indexSet(0, $name, _this._withoutSlash$2(value.accept$1(_this), nodeForSpan));
  72537. namedNodes.$indexSet(0, $name, nodeForSpan);
  72538. }
  72539. restArgs = $arguments.rest;
  72540. if (restArgs == null)
  72541. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided]);
  72542. rest = restArgs.accept$1(_this);
  72543. restNodeForSpan = _this._expressionNode$1(restArgs);
  72544. if (rest instanceof A.SassMap) {
  72545. _this._addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure());
  72546. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  72547. for (t4 = rest._map$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString; t4.moveNext$0();)
  72548. t3.$indexSet(0, t5._as(t4.get$current(t4))._string$_text, restNodeForSpan);
  72549. namedNodes.addAll$1(0, t3);
  72550. separator = B.ListSeparator_undecided_null_undecided;
  72551. } else if (rest instanceof A.SassList) {
  72552. t3 = rest._list$_contents;
  72553. 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>")));
  72554. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  72555. separator = rest._separator;
  72556. if (rest instanceof A.SassArgumentList) {
  72557. rest._wereKeywordsAccessed = true;
  72558. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure1(_this, named, restNodeForSpan, namedNodes));
  72559. }
  72560. } else {
  72561. positional.push(_this._withoutSlash$2(rest, restNodeForSpan));
  72562. positionalNodes.push(restNodeForSpan);
  72563. separator = B.ListSeparator_undecided_null_undecided;
  72564. }
  72565. keywordRestArgs = $arguments.keywordRest;
  72566. if (keywordRestArgs == null)
  72567. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  72568. keywordRest = keywordRestArgs.accept$1(_this);
  72569. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs);
  72570. if (keywordRest instanceof A.SassMap) {
  72571. _this._addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure2());
  72572. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  72573. for (t2 = keywordRest._map$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString; t2.moveNext$0();)
  72574. t1.$indexSet(0, t3._as(t2.get$current(t2))._string$_text, keywordRestNodeForSpan);
  72575. namedNodes.addAll$1(0, t1);
  72576. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  72577. } else
  72578. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  72579. },
  72580. _evaluateMacroArguments$1(invocation) {
  72581. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  72582. t1 = invocation.$arguments,
  72583. restArgs_ = t1.rest;
  72584. if (restArgs_ == null)
  72585. return new A._Record_2(t1.positional, t1.named);
  72586. t2 = t1.positional;
  72587. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  72588. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression);
  72589. rest = restArgs_.accept$1(_this);
  72590. restNodeForSpan = _this._expressionNode$1(restArgs_);
  72591. if (rest instanceof A.SassMap)
  72592. _this._addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure(restArgs_));
  72593. else if (rest instanceof A.SassList) {
  72594. t2 = rest._list$_contents;
  72595. 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>")));
  72596. if (rest instanceof A.SassArgumentList) {
  72597. rest._wereKeywordsAccessed = true;
  72598. rest._keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure1(_this, named, restNodeForSpan, restArgs_));
  72599. }
  72600. } else
  72601. positional.push(new A.ValueExpression(_this._withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  72602. keywordRestArgs_ = t1.keywordRest;
  72603. if (keywordRestArgs_ == null)
  72604. return new A._Record_2(positional, named);
  72605. keywordRest = keywordRestArgs_.accept$1(_this);
  72606. keywordRestNodeForSpan = _this._expressionNode$1(keywordRestArgs_);
  72607. if (keywordRest instanceof A.SassMap) {
  72608. _this._addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure2(_this, keywordRestNodeForSpan, keywordRestArgs_));
  72609. return new A._Record_2(positional, named);
  72610. } else
  72611. throw A.wrapException(_this._evaluate$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  72612. },
  72613. _addRestMap$1$4(values, map, nodeWithSpan, convert) {
  72614. map._map$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure(this, values, convert, this._expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  72615. },
  72616. _addRestMap$4(values, map, nodeWithSpan, convert) {
  72617. return this._addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  72618. },
  72619. _verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  72620. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure($arguments, positional, named));
  72621. },
  72622. visitSelectorExpression$1(node) {
  72623. var t1 = this._styleRuleIgnoringAtRoot;
  72624. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  72625. return t1 == null ? B.C__SassNull : t1;
  72626. },
  72627. visitStringExpression$1(node) {
  72628. var t1, t2, t3, t4, _i, value, t5, _0_0, text, _this = this,
  72629. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  72630. _this._inSupportsDeclaration = false;
  72631. t1 = A._setArrayType([], type$.JSArray_String);
  72632. for (t2 = node.text.contents, t3 = t2.length, t4 = type$.Expression, _i = 0; _i < t3; ++_i) {
  72633. value = t2[_i];
  72634. $label0$0: {
  72635. if (typeof value == "string") {
  72636. t5 = value;
  72637. break $label0$0;
  72638. }
  72639. if (t4._is(value)) {
  72640. _0_0 = value.accept$1(_this);
  72641. $label1$1: {
  72642. if (_0_0 instanceof A.SassString) {
  72643. text = _0_0._string$_text;
  72644. t5 = true;
  72645. } else {
  72646. text = null;
  72647. t5 = false;
  72648. }
  72649. if (t5) {
  72650. t5 = text;
  72651. break $label1$1;
  72652. }
  72653. t5 = _this._evaluate$_serialize$3$quote(_0_0, value, false);
  72654. break $label1$1;
  72655. }
  72656. break $label0$0;
  72657. }
  72658. t5 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  72659. }
  72660. t1.push(t5);
  72661. }
  72662. t1 = B.JSArray_methods.join$0(t1);
  72663. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  72664. return new A.SassString(t1, node.hasQuotes);
  72665. },
  72666. visitSupportsExpression$1(expression) {
  72667. return new A.SassString(this._visitSupportsCondition$1(expression.condition), false);
  72668. },
  72669. visitCssAtRule$1(node) {
  72670. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  72671. if (_this._declarationName != null)
  72672. throw A.wrapException(_this._evaluate$_exception$2(string$.At_rul, node.span));
  72673. if (node.isChildless) {
  72674. _this._assertInModule$2(_this.__parent, "__parent").addChild$1(A.ModifiableCssAtRule$(node.name, node.span, true, node.value));
  72675. return;
  72676. }
  72677. wasInKeyframes = _this._inKeyframes;
  72678. wasInUnknownAtRule = _this._inUnknownAtRule;
  72679. t1 = node.name;
  72680. if (A.unvendor(t1.value) === "keyframes")
  72681. _this._inKeyframes = true;
  72682. else
  72683. _this._inUnknownAtRule = true;
  72684. _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);
  72685. _this._inUnknownAtRule = wasInUnknownAtRule;
  72686. _this._inKeyframes = wasInKeyframes;
  72687. },
  72688. visitCssComment$1(node) {
  72689. var _this = this,
  72690. _s8_ = "__parent",
  72691. _s13_ = "_endOfImports";
  72692. 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))
  72693. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  72694. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(new A.ModifiableCssComment(node.text, node.span));
  72695. },
  72696. visitCssDeclaration$1(node) {
  72697. this._assertInModule$2(this.__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap));
  72698. },
  72699. visitCssImport$1(node) {
  72700. var t1, _this = this,
  72701. _s8_ = "__parent",
  72702. _s5_ = "_root",
  72703. _s13_ = "_endOfImports",
  72704. modifiableNode = new A.ModifiableCssImport(node.url, node.modifiers, node.span);
  72705. if (_this._assertInModule$2(_this.__parent, _s8_) !== _this._assertInModule$2(_this.__root, _s5_))
  72706. _this._assertInModule$2(_this.__parent, _s8_).addChild$1(modifiableNode);
  72707. else if (_this._assertInModule$2(_this.__endOfImports, _s13_) === J.get$length$asx(_this._assertInModule$2(_this.__root, _s5_).children._collection$_source)) {
  72708. _this._assertInModule$2(_this.__root, _s5_).addChild$1(modifiableNode);
  72709. _this.__endOfImports = _this._assertInModule$2(_this.__endOfImports, _s13_) + 1;
  72710. } else {
  72711. t1 = _this._outOfOrderImports;
  72712. (t1 == null ? _this._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t1).push(modifiableNode);
  72713. }
  72714. },
  72715. visitCssKeyframeBlock$1(node) {
  72716. 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);
  72717. },
  72718. visitCssMediaRule$1(node) {
  72719. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  72720. if (_this._declarationName != null)
  72721. throw A.wrapException(_this._evaluate$_exception$2(string$.Media_, node.span));
  72722. mergedQueries = A.NullableExtension_andThen(_this._mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure(_this, node));
  72723. t1 = mergedQueries == null;
  72724. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  72725. return;
  72726. if (t1)
  72727. mergedSources = B.Set_empty1;
  72728. else {
  72729. t2 = _this._mediaQuerySources;
  72730. t2.toString;
  72731. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery);
  72732. t3 = _this._mediaQueries;
  72733. t3.toString;
  72734. t2.addAll$1(0, t3);
  72735. t2.addAll$1(0, node.queries);
  72736. mergedSources = t2;
  72737. }
  72738. t1 = t1 ? node.queries : mergedQueries;
  72739. _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);
  72740. },
  72741. visitCssStyleRule$1(node) {
  72742. var t1, styleRule, t2, t3, t4, originalSelector, rule, oldAtRootExcludingStyleRule, _0_0, _0_1, lastChild, _this = this;
  72743. if (_this._declarationName != null)
  72744. throw A.wrapException(_this._evaluate$_exception$2(string$.Style_, node.span));
  72745. t1 = _this._atRootExcludingStyleRule;
  72746. styleRule = t1 ? null : _this._styleRuleIgnoringAtRoot;
  72747. t2 = node._style_rule$_selector._box$_inner.value;
  72748. t3 = styleRule == null;
  72749. t4 = t3 ? null : styleRule.originalSelector;
  72750. originalSelector = t2.resolveParentSelectors$2$implicitParent(t4, !t1);
  72751. rule = A.ModifiableCssStyleRule$(_this._assertInModule$2(_this.__extensionStore, "_extensionStore").addSelector$2(originalSelector, _this._mediaQueries), node.span, originalSelector);
  72752. oldAtRootExcludingStyleRule = _this._atRootExcludingStyleRule;
  72753. _this._atRootExcludingStyleRule = false;
  72754. _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);
  72755. _this._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  72756. _0_0 = _this._assertInModule$2(_this.__parent, "__parent").children;
  72757. _0_1 = A._InitializedCell$(new A._EvaluateVisitor_visitCssStyleRule_closure1(_0_0));
  72758. if (_0_1._readFinal$0() >= 1) {
  72759. lastChild = J.elementAt$1$ax(_0_0._collection$_source, _0_1._readFinal$0() - 1);
  72760. t1 = t3;
  72761. } else {
  72762. lastChild = null;
  72763. t1 = false;
  72764. }
  72765. if (t1)
  72766. lastChild.isGroupEnd = true;
  72767. },
  72768. visitCssStylesheet$1(node) {
  72769. var t1;
  72770. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  72771. t1.get$current(t1).accept$1(this);
  72772. },
  72773. visitCssSupportsRule$1(node) {
  72774. var _this = this;
  72775. if (_this._declarationName != null)
  72776. throw A.wrapException(_this._evaluate$_exception$2(string$.Suppor, node.span));
  72777. _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);
  72778. },
  72779. _handleReturn$1$2(list, callback) {
  72780. var t1, _i, _0_0, result, t2;
  72781. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  72782. _0_0 = callback.call$1(list[_i]);
  72783. if (_0_0 != null) {
  72784. result = _0_0;
  72785. t2 = true;
  72786. } else {
  72787. result = null;
  72788. t2 = false;
  72789. }
  72790. if (t2)
  72791. return result;
  72792. }
  72793. return null;
  72794. },
  72795. _handleReturn$2(list, callback) {
  72796. return this._handleReturn$1$2(list, callback, type$.dynamic);
  72797. },
  72798. _withEnvironment$1$2(environment, callback) {
  72799. var result,
  72800. oldEnvironment = this._environment;
  72801. this._environment = environment;
  72802. result = callback.call$0();
  72803. this._environment = oldEnvironment;
  72804. return result;
  72805. },
  72806. _withEnvironment$2(environment, callback) {
  72807. return this._withEnvironment$1$2(environment, callback, type$.dynamic);
  72808. },
  72809. _interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  72810. var result = this._performInterpolation$2$warnForColor(interpolation, warnForColor),
  72811. t1 = trim ? A.trimAscii(result, true) : result;
  72812. return new A.CssValue(t1, interpolation.span, type$.CssValue_String);
  72813. },
  72814. _interpolationToValue$1(interpolation) {
  72815. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  72816. },
  72817. _interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  72818. return this._interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  72819. },
  72820. _performInterpolation$2$warnForColor(interpolation, warnForColor) {
  72821. return this._performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor)._0;
  72822. },
  72823. _performInterpolation$1(interpolation) {
  72824. return this._performInterpolation$2$warnForColor(interpolation, false);
  72825. },
  72826. _performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  72827. var _0_0 = this._performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true),
  72828. map = _0_0._1;
  72829. map.toString;
  72830. return new A._Record_2(_0_0._0, map);
  72831. },
  72832. _performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  72833. var t1, t2, t3, t4, t5, t6, t7, first, _i, t8, value, result, t9, result0, _this = this, _null = null,
  72834. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : _null,
  72835. oldInSupportsDeclaration = _this._inSupportsDeclaration;
  72836. _this._inSupportsDeclaration = false;
  72837. for (t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression, t4 = targetLocations == null, t5 = type$.JSArray_Object, t6 = interpolation.span, t7 = type$.Object, first = true, _i = 0, t8 = ""; _i < t2; ++_i, first = false) {
  72838. value = t1[_i];
  72839. if (!first)
  72840. if (!t4)
  72841. targetLocations.push(A.SourceLocation$(t8.length, _null, _null, _null));
  72842. if (typeof value == "string") {
  72843. t8 += value;
  72844. continue;
  72845. }
  72846. t3._as(value);
  72847. result = value.accept$1(_this);
  72848. if (warnForColor && $.$get$namesByColor().containsKey$1(result)) {
  72849. t9 = A._setArrayType([""], t5);
  72850. result0 = A.List_List$from(t9, false, t7);
  72851. result0.fixed$length = Array;
  72852. result0.immutable$list = Array;
  72853. result0 = new A.Interpolation(result0, t6);
  72854. result0.Interpolation$2(t9, t6);
  72855. t9 = $.$get$namesByColor();
  72856. _this._warn$2(string$.You_pr + A.S(t9.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t9.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression(B.BinaryOperator_anB, new A.StringExpression(result0, true), value, false).toString$0(0) + "'.", value.get$span(value));
  72857. }
  72858. t8 += _this._evaluate$_serialize$3$quote(result, value, false);
  72859. }
  72860. _this._inSupportsDeclaration = oldInSupportsDeclaration;
  72861. return new A._Record_2(t8.charCodeAt(0) == 0 ? t8 : t8, A.NullableExtension_andThen(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure(interpolation)));
  72862. },
  72863. _evaluate$_serialize$3$quote(value, nodeWithSpan, quote) {
  72864. return this._addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure(value, quote));
  72865. },
  72866. _evaluate$_serialize$2(value, nodeWithSpan) {
  72867. return this._evaluate$_serialize$3$quote(value, nodeWithSpan, true);
  72868. },
  72869. _expressionNode$1(expression) {
  72870. var t1;
  72871. if (expression instanceof A.VariableExpression) {
  72872. t1 = this._addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure(this, expression));
  72873. return t1 == null ? expression : t1;
  72874. } else
  72875. return expression;
  72876. },
  72877. _withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  72878. var t1, result, _this = this;
  72879. _this._addChild$2$through(node, through);
  72880. t1 = _this._assertInModule$2(_this.__parent, "__parent");
  72881. _this.__parent = node;
  72882. result = _this._environment.scope$1$2$when(callback, scopeWhen, $T);
  72883. _this.__parent = t1;
  72884. return result;
  72885. },
  72886. _withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  72887. return this._withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  72888. },
  72889. _withParent$2$2(node, callback, $S, $T) {
  72890. return this._withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  72891. },
  72892. _addChild$2$through(node, through) {
  72893. var _0_0, grandparent, t1,
  72894. $parent = this._assertInModule$2(this.__parent, "__parent");
  72895. if (through != null) {
  72896. for (; through.call$1($parent); $parent = grandparent) {
  72897. _0_0 = $parent._parent;
  72898. if (_0_0 != null) {
  72899. grandparent = _0_0;
  72900. t1 = true;
  72901. } else {
  72902. grandparent = null;
  72903. t1 = false;
  72904. }
  72905. if (!t1)
  72906. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  72907. }
  72908. if ($parent.get$hasFollowingSibling()) {
  72909. grandparent = $parent._parent;
  72910. t1 = grandparent.children;
  72911. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  72912. $parent = type$.ModifiableCssParentNode._as(t1.get$last(t1));
  72913. else {
  72914. $parent = $parent.copyWithoutChildren$0();
  72915. grandparent.addChild$1($parent);
  72916. }
  72917. }
  72918. }
  72919. $parent.addChild$1(node);
  72920. },
  72921. _addChild$1(node) {
  72922. return this._addChild$2$through(node, null);
  72923. },
  72924. _withStyleRule$1$2(rule, callback) {
  72925. var result,
  72926. oldRule = this._styleRuleIgnoringAtRoot;
  72927. this._styleRuleIgnoringAtRoot = rule;
  72928. result = callback.call$0();
  72929. this._styleRuleIgnoringAtRoot = oldRule;
  72930. return result;
  72931. },
  72932. _withStyleRule$2(rule, callback) {
  72933. return this._withStyleRule$1$2(rule, callback, type$.dynamic);
  72934. },
  72935. _withMediaQueries$1$3(queries, sources, callback) {
  72936. var result, _this = this,
  72937. oldMediaQueries = _this._mediaQueries,
  72938. oldSources = _this._mediaQuerySources;
  72939. _this._mediaQueries = queries;
  72940. _this._mediaQuerySources = sources;
  72941. result = callback.call$0();
  72942. _this._mediaQueries = oldMediaQueries;
  72943. _this._mediaQuerySources = oldSources;
  72944. return result;
  72945. },
  72946. _withMediaQueries$3(queries, sources, callback) {
  72947. return this._withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  72948. },
  72949. _withStackFrame$1$3(member, nodeWithSpan, callback) {
  72950. var oldMember, result, _this = this,
  72951. t1 = _this._stack;
  72952. t1.push(new A._Record_2(_this._member, nodeWithSpan));
  72953. oldMember = _this._member;
  72954. _this._member = member;
  72955. result = callback.call$0();
  72956. _this._member = oldMember;
  72957. t1.pop();
  72958. return result;
  72959. },
  72960. _withStackFrame$3(member, nodeWithSpan, callback) {
  72961. return this._withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  72962. },
  72963. _withoutSlash$2(value, nodeForSpan) {
  72964. if (value instanceof A.SassNumber && value.asSlash != null && true)
  72965. this._warn$3(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation().call$1(value)) + string$.x0a_Morex20, nodeForSpan.get$span(nodeForSpan), B.Deprecation_xHK);
  72966. return value.withoutSlash$0();
  72967. },
  72968. _stackFrame$2(member, span) {
  72969. return A.frameForSpan(span, member, A.NullableExtension_andThen(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure(this)));
  72970. },
  72971. _evaluate$_stackTrace$1(span) {
  72972. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  72973. t1 = A._setArrayType([], type$.JSArray_Frame);
  72974. for (t2 = _this._stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  72975. t4 = t2[_i];
  72976. nodeWithSpan = t4._1;
  72977. t1.push(_this._stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  72978. }
  72979. if (span != null)
  72980. t1.push(_this._stackFrame$2(_this._member, span));
  72981. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  72982. },
  72983. _evaluate$_stackTrace$0() {
  72984. return this._evaluate$_stackTrace$1(null);
  72985. },
  72986. _warn$3(message, span, deprecation) {
  72987. var t1, trace, _this = this;
  72988. if (_this._quietDeps)
  72989. if (!_this._inDependency) {
  72990. t1 = _this._currentCallable;
  72991. t1 = t1 == null ? null : t1.inDependency;
  72992. t1 = t1 === true;
  72993. } else
  72994. t1 = true;
  72995. else
  72996. t1 = false;
  72997. if (t1)
  72998. return;
  72999. if (!_this._warningsEmitted.add$1(0, new A._Record_2(message, span)))
  73000. return;
  73001. trace = _this._evaluate$_stackTrace$1(span);
  73002. t1 = _this._evaluate$_logger;
  73003. if (deprecation == null)
  73004. t1.warn$3$span$trace(0, message, span, trace);
  73005. else
  73006. A.WarnForDeprecation_warnForDeprecation(t1, deprecation, message, span, trace);
  73007. },
  73008. _warn$2(message, span) {
  73009. return this._warn$3(message, span, null);
  73010. },
  73011. _evaluate$_exception$2(message, span) {
  73012. var t1, t2;
  73013. if (span == null) {
  73014. t1 = B.JSArray_methods.get$last(this._stack)._1;
  73015. t1 = t1.get$span(t1);
  73016. } else
  73017. t1 = span;
  73018. t2 = this._evaluate$_stackTrace$1(span);
  73019. return new A.SassRuntimeException(t2, B.Set_empty, message, t1);
  73020. },
  73021. _evaluate$_exception$1(message) {
  73022. return this._evaluate$_exception$2(message, null);
  73023. },
  73024. _multiSpanException$3(message, primaryLabel, secondaryLabels) {
  73025. var t1 = B.JSArray_methods.get$last(this._stack)._1;
  73026. return A.MultiSpanSassRuntimeException$(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._evaluate$_stackTrace$0(), null);
  73027. },
  73028. _addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  73029. var error, stackTrace, t1, exception;
  73030. try {
  73031. t1 = callback.call$0();
  73032. return t1;
  73033. } catch (exception) {
  73034. t1 = A.unwrapException(exception);
  73035. if (t1 instanceof A.SassScriptException) {
  73036. error = t1;
  73037. stackTrace = A.getTraceFromException(exception);
  73038. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  73039. A.throwWithTrace(t1.withTrace$1(this._evaluate$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  73040. } else
  73041. throw exception;
  73042. }
  73043. },
  73044. _addExceptionSpan$2(nodeWithSpan, callback) {
  73045. return this._addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, true, type$.dynamic);
  73046. },
  73047. _addExceptionSpan$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  73048. return this._addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, type$.dynamic);
  73049. },
  73050. _addExceptionTrace$1$1(callback) {
  73051. var error, stackTrace, t1, exception, t2;
  73052. try {
  73053. t1 = callback.call$0();
  73054. return t1;
  73055. } catch (exception) {
  73056. t1 = A.unwrapException(exception);
  73057. if (type$.SassRuntimeException._is(t1))
  73058. throw exception;
  73059. else if (t1 instanceof A.SassException) {
  73060. error = t1;
  73061. stackTrace = A.getTraceFromException(exception);
  73062. t1 = error;
  73063. t2 = J.getInterceptor$z(t1);
  73064. A.throwWithTrace(error.withTrace$1(this._evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  73065. } else
  73066. throw exception;
  73067. }
  73068. },
  73069. _addExceptionTrace$1(callback) {
  73070. return this._addExceptionTrace$1$1(callback, type$.dynamic);
  73071. },
  73072. _addErrorSpan$1$2(nodeWithSpan, callback) {
  73073. var error, stackTrace, t1, exception, t2, t3;
  73074. try {
  73075. t1 = callback.call$0();
  73076. return t1;
  73077. } catch (exception) {
  73078. t1 = A.unwrapException(exception);
  73079. if (type$.SassRuntimeException._is(t1)) {
  73080. error = t1;
  73081. stackTrace = A.getTraceFromException(exception);
  73082. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  73083. throw exception;
  73084. t1 = error._span_exception$_message;
  73085. t2 = nodeWithSpan.get$span(nodeWithSpan);
  73086. t3 = this._evaluate$_stackTrace$0();
  73087. A.throwWithTrace(new A.SassRuntimeException(t3, B.Set_empty, t1, t2), error, stackTrace);
  73088. } else
  73089. throw exception;
  73090. }
  73091. },
  73092. _addErrorSpan$2(nodeWithSpan, callback) {
  73093. return this._addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  73094. }
  73095. };
  73096. A._EvaluateVisitor_closure.prototype = {
  73097. call$1($arguments) {
  73098. var module, t2,
  73099. t1 = J.getInterceptor$asx($arguments),
  73100. variable = t1.$index($arguments, 0).assertString$1("name");
  73101. t1 = t1.$index($arguments, 1).get$realNull();
  73102. module = t1 == null ? null : t1.assertString$1("module");
  73103. t1 = this.$this._environment;
  73104. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  73105. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string$_text) ? B.SassBoolean_true : B.SassBoolean_false;
  73106. },
  73107. $signature: 23
  73108. };
  73109. A._EvaluateVisitor_closure0.prototype = {
  73110. call$1($arguments) {
  73111. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  73112. t1 = this.$this._environment;
  73113. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string$_text, "_", "-")) != null ? B.SassBoolean_true : B.SassBoolean_false;
  73114. },
  73115. $signature: 23
  73116. };
  73117. A._EvaluateVisitor_closure1.prototype = {
  73118. call$1($arguments) {
  73119. var module, t2, t3, t4,
  73120. t1 = J.getInterceptor$asx($arguments),
  73121. variable = t1.$index($arguments, 0).assertString$1("name");
  73122. t1 = t1.$index($arguments, 1).get$realNull();
  73123. module = t1 == null ? null : t1.assertString$1("module");
  73124. t1 = this.$this;
  73125. t2 = t1._environment;
  73126. t3 = variable._string$_text;
  73127. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  73128. return t2.getFunction$2$namespace(t4, module == null ? null : module._string$_text) != null || t1._builtInFunctions.containsKey$1(t3) ? B.SassBoolean_true : B.SassBoolean_false;
  73129. },
  73130. $signature: 23
  73131. };
  73132. A._EvaluateVisitor_closure2.prototype = {
  73133. call$1($arguments) {
  73134. var module, t2,
  73135. t1 = J.getInterceptor$asx($arguments),
  73136. variable = t1.$index($arguments, 0).assertString$1("name");
  73137. t1 = t1.$index($arguments, 1).get$realNull();
  73138. module = t1 == null ? null : t1.assertString$1("module");
  73139. t1 = this.$this._environment;
  73140. t2 = A.stringReplaceAllUnchecked(variable._string$_text, "_", "-");
  73141. return t1.getMixin$2$namespace(t2, module == null ? null : module._string$_text) != null ? B.SassBoolean_true : B.SassBoolean_false;
  73142. },
  73143. $signature: 23
  73144. };
  73145. A._EvaluateVisitor_closure3.prototype = {
  73146. call$1($arguments) {
  73147. var t1 = this.$this._environment;
  73148. if (!t1._inMixin)
  73149. throw A.wrapException(A.SassScriptException$(string$.conten, null));
  73150. return t1._content != null ? B.SassBoolean_true : B.SassBoolean_false;
  73151. },
  73152. $signature: 23
  73153. };
  73154. A._EvaluateVisitor_closure4.prototype = {
  73155. call$1($arguments) {
  73156. var t2, t3, t4,
  73157. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  73158. module = this.$this._environment._environment$_modules.$index(0, t1);
  73159. if (module == null)
  73160. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  73161. t1 = type$.Value;
  73162. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  73163. for (t3 = A.MapExtensions_get_pairs(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  73164. t4 = t3.get$current(t3);
  73165. t2.$indexSet(0, new A.SassString(t4._0, true), t4._1);
  73166. }
  73167. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  73168. },
  73169. $signature: 38
  73170. };
  73171. A._EvaluateVisitor_closure5.prototype = {
  73172. call$1($arguments) {
  73173. var t2, t3, t4,
  73174. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  73175. module = this.$this._environment._environment$_modules.$index(0, t1);
  73176. if (module == null)
  73177. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  73178. t1 = type$.Value;
  73179. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  73180. for (t3 = A.MapExtensions_get_pairs(module.get$functions(module), type$.String, type$.Callable), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  73181. t4 = t3.get$current(t3);
  73182. t2.$indexSet(0, new A.SassString(t4._0, true), new A.SassFunction(t4._1));
  73183. }
  73184. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  73185. },
  73186. $signature: 38
  73187. };
  73188. A._EvaluateVisitor_closure6.prototype = {
  73189. call$1($arguments) {
  73190. var t2, t3, t4,
  73191. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string$_text,
  73192. module = this.$this._environment._environment$_modules.$index(0, t1);
  73193. if (module == null)
  73194. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  73195. t1 = type$.Value;
  73196. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  73197. for (t3 = A.MapExtensions_get_pairs(module.get$mixins(), type$.String, type$.Callable), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  73198. t4 = t3.get$current(t3);
  73199. t2.$indexSet(0, new A.SassString(t4._0, true), new A.SassMixin(t4._1));
  73200. }
  73201. return new A.SassMap(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  73202. },
  73203. $signature: 38
  73204. };
  73205. A._EvaluateVisitor_closure7.prototype = {
  73206. call$1($arguments) {
  73207. var module, t2, callable,
  73208. t1 = J.getInterceptor$asx($arguments),
  73209. $name = t1.$index($arguments, 0).assertString$1("name"),
  73210. css = t1.$index($arguments, 1).get$isTruthy();
  73211. t1 = t1.$index($arguments, 2).get$realNull();
  73212. module = t1 == null ? null : t1.assertString$1("module");
  73213. if (css) {
  73214. if (module != null)
  73215. throw A.wrapException(string$.x24css_a);
  73216. return new A.SassFunction(new A.PlainCssCallable($name._string$_text));
  73217. }
  73218. t1 = this.$this;
  73219. t2 = t1._callableNode;
  73220. t2.toString;
  73221. callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure2(t1, $name, module));
  73222. if (callable == null)
  73223. throw A.wrapException("Function not found: " + $name.toString$0(0));
  73224. return new A.SassFunction(callable);
  73225. },
  73226. $signature: 164
  73227. };
  73228. A._EvaluateVisitor__closure2.prototype = {
  73229. call$0() {
  73230. var local,
  73231. normalizedName = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  73232. t1 = this.module,
  73233. namespace = t1 == null ? null : t1._string$_text;
  73234. t1 = this.$this;
  73235. local = t1._environment.getFunction$2$namespace(normalizedName, namespace);
  73236. if (local != null || namespace != null)
  73237. return local;
  73238. return t1._builtInFunctions.$index(0, normalizedName);
  73239. },
  73240. $signature: 94
  73241. };
  73242. A._EvaluateVisitor_closure8.prototype = {
  73243. call$1($arguments) {
  73244. var module, t2, callable,
  73245. t1 = J.getInterceptor$asx($arguments),
  73246. $name = t1.$index($arguments, 0).assertString$1("name");
  73247. t1 = t1.$index($arguments, 1).get$realNull();
  73248. module = t1 == null ? null : t1.assertString$1("module");
  73249. t1 = this.$this;
  73250. t2 = t1._callableNode;
  73251. t2.toString;
  73252. callable = t1._addExceptionSpan$2(t2, new A._EvaluateVisitor__closure1(t1, $name, module));
  73253. if (callable == null)
  73254. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  73255. return new A.SassMixin(callable);
  73256. },
  73257. $signature: 161
  73258. };
  73259. A._EvaluateVisitor__closure1.prototype = {
  73260. call$0() {
  73261. var t1 = this.$this._environment,
  73262. t2 = A.stringReplaceAllUnchecked(this.name._string$_text, "_", "-"),
  73263. t3 = this.module;
  73264. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string$_text);
  73265. },
  73266. $signature: 94
  73267. };
  73268. A._EvaluateVisitor_closure9.prototype = {
  73269. call$1($arguments) {
  73270. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  73271. t1 = J.getInterceptor$asx($arguments),
  73272. $function = t1.$index($arguments, 0),
  73273. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  73274. t1 = this.$this;
  73275. t2 = t1._callableNode;
  73276. t2.toString;
  73277. t3 = A._setArrayType([], type$.JSArray_Expression);
  73278. t4 = type$.String;
  73279. t5 = type$.Expression;
  73280. t6 = t2.get$span(t2);
  73281. t7 = t2.get$span(t2);
  73282. args._wereKeywordsAccessed = true;
  73283. t8 = args._keywords;
  73284. if (t8.get$isEmpty(t8))
  73285. t2 = null;
  73286. else {
  73287. t9 = type$.Value;
  73288. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  73289. for (args._wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  73290. t11 = t8.get$current(t8);
  73291. t10.$indexSet(0, new A.SassString(t11._0, false), t11._1);
  73292. }
  73293. t2 = new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  73294. }
  73295. 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);
  73296. if ($function instanceof A.SassString) {
  73297. t2 = $function.toString$0(0);
  73298. A.EvaluationContext_current().warn$2(0, string$.Passina + t2 + "))", B.Deprecation_qVK);
  73299. callableNode = t1._callableNode;
  73300. return t1.visitFunctionExpression$1(new A.FunctionExpression(null, $function._string$_text, invocation, callableNode.get$span(callableNode)));
  73301. }
  73302. callable = $function.assertFunction$1("function").callable;
  73303. if (type$.Callable._is(callable)) {
  73304. t2 = t1._callableNode;
  73305. t2.toString;
  73306. return t1._runFunctionCallable$3(invocation, callable, t2);
  73307. } else
  73308. throw A.wrapException(A.SassScriptException$("The function " + callable.get$name(callable) + string$.x20is_as, null));
  73309. },
  73310. $signature: 6
  73311. };
  73312. A._EvaluateVisitor_closure10.prototype = {
  73313. call$1($arguments) {
  73314. var withMap, t2, values, configuration, t3,
  73315. t1 = J.getInterceptor$asx($arguments),
  73316. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string$_text);
  73317. t1 = t1.$index($arguments, 1).get$realNull();
  73318. withMap = t1 == null ? null : t1.assertMap$1("with")._map$_contents;
  73319. t1 = this.$this;
  73320. t2 = t1._callableNode;
  73321. t2.toString;
  73322. if (withMap != null) {
  73323. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue);
  73324. withMap.forEach$1(0, new A._EvaluateVisitor__closure(values, t2.get$span(t2), t2));
  73325. configuration = new A.ExplicitConfiguration(t2, values, null);
  73326. } else
  73327. configuration = B.Configuration_Map_empty_null;
  73328. t3 = t2.get$span(t2);
  73329. t1._loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure0(t1), t3.get$sourceUrl(t3), configuration, true);
  73330. t1._assertConfigurationIsEmpty$2$nameInError(configuration, true);
  73331. },
  73332. $signature: 159
  73333. };
  73334. A._EvaluateVisitor__closure.prototype = {
  73335. call$2(variable, value) {
  73336. var t1 = variable.assertString$1("with key"),
  73337. $name = A.stringReplaceAllUnchecked(t1._string$_text, "_", "-");
  73338. t1 = this.values;
  73339. if (t1.containsKey$1($name))
  73340. throw A.wrapException("The variable $" + $name + " was configured twice.");
  73341. t1.$indexSet(0, $name, new A.ConfiguredValue(value, this.span, this.callableNode));
  73342. },
  73343. $signature: 96
  73344. };
  73345. A._EvaluateVisitor__closure0.prototype = {
  73346. call$2(module, _) {
  73347. var t1 = this.$this;
  73348. return t1._combineCss$2$clone(module, true).accept$1(t1);
  73349. },
  73350. $signature: 99
  73351. };
  73352. A._EvaluateVisitor_closure11.prototype = {
  73353. call$1($arguments) {
  73354. var callableNode, t2, t3, t4, t5, callable, $content,
  73355. t1 = J.getInterceptor$asx($arguments),
  73356. mixin = t1.$index($arguments, 0),
  73357. args = type$.SassArgumentList._as(t1.$index($arguments, 1));
  73358. t1 = this.$this;
  73359. callableNode = t1._callableNode;
  73360. t2 = callableNode.get$span(callableNode);
  73361. t3 = callableNode.get$span(callableNode);
  73362. t4 = type$.Expression;
  73363. t5 = A.List_List$unmodifiable(B.List_empty9, t4);
  73364. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty6, type$.String, t4);
  73365. callable = mixin.assertMixin$1("mixin").callable;
  73366. $content = t1._environment._content;
  73367. if (type$.Callable._is(callable))
  73368. t1._applyMixin$5(callable, $content, new A.ArgumentInvocation(t5, t4, new A.ValueExpression(args, t3), null, t2), callableNode, callableNode);
  73369. else
  73370. throw A.wrapException(A.SassScriptException$("The mixin " + callable.get$name(callable) + string$.x20is_as, null));
  73371. },
  73372. $signature: 159
  73373. };
  73374. A._EvaluateVisitor_run_closure.prototype = {
  73375. call$0() {
  73376. var module, _this = this, url = null,
  73377. t1 = _this.node,
  73378. t2 = t1.span,
  73379. _0_0 = t2.get$sourceUrl(t2);
  73380. if (_0_0 != null) {
  73381. url = _0_0;
  73382. t2 = true;
  73383. } else
  73384. t2 = false;
  73385. if (t2) {
  73386. t2 = _this.$this;
  73387. t2._activeModules.$indexSet(0, url, null);
  73388. t2._loadedUrls.add$1(0, url);
  73389. }
  73390. t2 = _this.$this;
  73391. module = t2._addExceptionTrace$1(new A._EvaluateVisitor_run__closure(t2, _this.importer, t1));
  73392. return new A._Record_2_loadedUrls_stylesheet(t2._loadedUrls, t2._combineCss$1(module));
  73393. },
  73394. $signature: 550
  73395. };
  73396. A._EvaluateVisitor_run__closure.prototype = {
  73397. call$0() {
  73398. return this.$this._execute$2(this.importer, this.node);
  73399. },
  73400. $signature: 552
  73401. };
  73402. A._EvaluateVisitor_runExpression_closure.prototype = {
  73403. call$0() {
  73404. var t1 = this.$this,
  73405. t2 = this.expression;
  73406. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runExpression__closure(t1, t2));
  73407. },
  73408. $signature: 25
  73409. };
  73410. A._EvaluateVisitor_runExpression__closure.prototype = {
  73411. call$0() {
  73412. var t1 = this.$this;
  73413. return t1._addExceptionTrace$1(new A._EvaluateVisitor_runExpression___closure(t1, this.expression));
  73414. },
  73415. $signature: 25
  73416. };
  73417. A._EvaluateVisitor_runExpression___closure.prototype = {
  73418. call$0() {
  73419. return this.expression.accept$1(this.$this);
  73420. },
  73421. $signature: 25
  73422. };
  73423. A._EvaluateVisitor_runStatement_closure.prototype = {
  73424. call$0() {
  73425. var t1 = this.$this,
  73426. t2 = this.statement;
  73427. return t1._withFakeStylesheet$3(this.importer, t2, new A._EvaluateVisitor_runStatement__closure(t1, t2));
  73428. },
  73429. $signature: 0
  73430. };
  73431. A._EvaluateVisitor_runStatement__closure.prototype = {
  73432. call$0() {
  73433. var t1 = this.$this;
  73434. return t1._addExceptionTrace$1(new A._EvaluateVisitor_runStatement___closure(t1, this.statement));
  73435. },
  73436. $signature: 0
  73437. };
  73438. A._EvaluateVisitor_runStatement___closure.prototype = {
  73439. call$0() {
  73440. return this.statement.accept$1(this.$this);
  73441. },
  73442. $signature: 0
  73443. };
  73444. A._EvaluateVisitor__loadModule_closure.prototype = {
  73445. call$0() {
  73446. return this.callback.call$2(this._box_1.builtInModule, false);
  73447. },
  73448. $signature: 0
  73449. };
  73450. A._EvaluateVisitor__loadModule_closure0.prototype = {
  73451. call$0() {
  73452. var canonicalUrl, oldInDependency, t4, message, _this = this, t1 = {}, stylesheet = null, importer = null,
  73453. t2 = _this.$this,
  73454. t3 = _this.nodeWithSpan,
  73455. _1_0 = t2._loadStylesheet$3$baseUrl(_this.url.toString$0(0), t3.get$span(t3), _this.baseUrl);
  73456. stylesheet = _1_0._0;
  73457. importer = _1_0._1;
  73458. t4 = stylesheet.span;
  73459. canonicalUrl = t4.get$sourceUrl(t4);
  73460. if (canonicalUrl != null) {
  73461. t4 = t2._activeModules;
  73462. if (t4.containsKey$1(canonicalUrl)) {
  73463. if (_this.namesInErrors) {
  73464. t1 = canonicalUrl;
  73465. t3 = $.$get$context();
  73466. t1.toString;
  73467. message = "Module loop: " + t3.prettyUri$1(t1) + " is already being loaded.";
  73468. } else
  73469. message = string$.Modulel;
  73470. t1 = A.NullableExtension_andThen(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure(t2, message));
  73471. throw A.wrapException(t1 == null ? t2._evaluate$_exception$1(message) : t1);
  73472. } else
  73473. t4.$indexSet(0, canonicalUrl, t3);
  73474. }
  73475. t4 = t2._modules.containsKey$1(canonicalUrl);
  73476. oldInDependency = t2._inDependency;
  73477. t2._inDependency = _1_0._2;
  73478. t1.module = null;
  73479. try {
  73480. t1.module = t2._execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, _this.configuration, _this.namesInErrors, t3);
  73481. } finally {
  73482. t2._activeModules.remove$1(0, canonicalUrl);
  73483. t2._inDependency = oldInDependency;
  73484. }
  73485. t2._addExceptionSpan$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure0(t1, _this.callback, !t4), false);
  73486. },
  73487. $signature: 2
  73488. };
  73489. A._EvaluateVisitor__loadModule__closure.prototype = {
  73490. call$1(previousLoad) {
  73491. return this.$this._multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  73492. },
  73493. $signature: 95
  73494. };
  73495. A._EvaluateVisitor__loadModule__closure0.prototype = {
  73496. call$0() {
  73497. return this.callback.call$2(this._box_0.module, this.firstLoad);
  73498. },
  73499. $signature: 0
  73500. };
  73501. A._EvaluateVisitor__execute_closure.prototype = {
  73502. call$0() {
  73503. var t3, t4, t5, t6, _this = this,
  73504. t1 = _this.$this,
  73505. oldImporter = t1._importer,
  73506. oldStylesheet = t1.__stylesheet,
  73507. oldRoot = t1.__root,
  73508. oldPreModuleComments = t1._preModuleComments,
  73509. oldParent = t1.__parent,
  73510. oldEndOfImports = t1.__endOfImports,
  73511. oldOutOfOrderImports = t1._outOfOrderImports,
  73512. oldExtensionStore = t1.__extensionStore,
  73513. t2 = t1._atRootExcludingStyleRule,
  73514. oldStyleRule = t2 ? null : t1._styleRuleIgnoringAtRoot,
  73515. oldMediaQueries = t1._mediaQueries,
  73516. oldDeclarationName = t1._declarationName,
  73517. oldInUnknownAtRule = t1._inUnknownAtRule,
  73518. oldInKeyframes = t1._inKeyframes,
  73519. oldConfiguration = t1._configuration;
  73520. t1._importer = _this.importer;
  73521. t3 = t1.__stylesheet = _this.stylesheet;
  73522. t4 = t3.span;
  73523. t5 = t1.__parent = t1.__root = A.ModifiableCssStylesheet$(t4);
  73524. t1.__endOfImports = 0;
  73525. t1._outOfOrderImports = null;
  73526. t1.__extensionStore = _this.extensionStore;
  73527. t1._declarationName = t1._mediaQueries = t1._styleRuleIgnoringAtRoot = null;
  73528. t1._inKeyframes = t1._atRootExcludingStyleRule = t1._inUnknownAtRule = false;
  73529. t6 = _this.configuration;
  73530. if (t6 != null)
  73531. t1._configuration = t6;
  73532. t1.visitStylesheet$1(t3);
  73533. t3 = t1._outOfOrderImports == null ? t5 : new A.CssStylesheet(new A.UnmodifiableListView(t1._addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode), t4);
  73534. _this.css._value = t3;
  73535. _this.preModuleComments._value = t1._preModuleComments;
  73536. t1._importer = oldImporter;
  73537. t1.__stylesheet = oldStylesheet;
  73538. t1.__root = oldRoot;
  73539. t1._preModuleComments = oldPreModuleComments;
  73540. t1.__parent = oldParent;
  73541. t1.__endOfImports = oldEndOfImports;
  73542. t1._outOfOrderImports = oldOutOfOrderImports;
  73543. t1.__extensionStore = oldExtensionStore;
  73544. t1._styleRuleIgnoringAtRoot = oldStyleRule;
  73545. t1._mediaQueries = oldMediaQueries;
  73546. t1._declarationName = oldDeclarationName;
  73547. t1._inUnknownAtRule = oldInUnknownAtRule;
  73548. t1._atRootExcludingStyleRule = t2;
  73549. t1._inKeyframes = oldInKeyframes;
  73550. t1._configuration = oldConfiguration;
  73551. },
  73552. $signature: 2
  73553. };
  73554. A._EvaluateVisitor__combineCss_closure.prototype = {
  73555. call$1(module) {
  73556. return module.get$transitivelyContainsCss();
  73557. },
  73558. $signature: 132
  73559. };
  73560. A._EvaluateVisitor__combineCss_closure0.prototype = {
  73561. call$1(target) {
  73562. return !this.selectors.contains$1(0, target);
  73563. },
  73564. $signature: 15
  73565. };
  73566. A._EvaluateVisitor__combineCss_visitModule.prototype = {
  73567. call$1(module) {
  73568. var t1, t2, t3, t4, _i, upstream, _1_0, comments, t5, statements, index, _this = this;
  73569. if (!_this.seen.add$1(0, module))
  73570. return;
  73571. if (_this.clone)
  73572. module = module.cloneCss$0();
  73573. for (t1 = module.get$upstream(), t2 = t1.length, t3 = _this.css, t4 = _this.imports, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  73574. upstream = t1[_i];
  73575. if (upstream.get$transitivelyContainsCss()) {
  73576. _1_0 = module.get$preModuleComments().$index(0, upstream);
  73577. if (_1_0 != null) {
  73578. comments = _1_0;
  73579. t5 = true;
  73580. } else {
  73581. comments = null;
  73582. t5 = false;
  73583. }
  73584. if (t5)
  73585. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, comments);
  73586. _this.call$1(upstream);
  73587. }
  73588. }
  73589. _this.sorted.addFirst$1(module);
  73590. t1 = module.get$css(module);
  73591. statements = t1.get$children(t1);
  73592. index = _this.$this._indexAfterImports$1(statements);
  73593. t1 = J.getInterceptor$ax(statements);
  73594. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  73595. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  73596. },
  73597. $signature: 559
  73598. };
  73599. A._EvaluateVisitor__extendModules_closure.prototype = {
  73600. call$1(target) {
  73601. return !this.originalSelectors.contains$1(0, target);
  73602. },
  73603. $signature: 15
  73604. };
  73605. A._EvaluateVisitor__extendModules_closure0.prototype = {
  73606. call$0() {
  73607. return A._setArrayType([], type$.JSArray_ExtensionStore);
  73608. },
  73609. $signature: 158
  73610. };
  73611. A._EvaluateVisitor_visitAtRootRule_closure.prototype = {
  73612. call$0() {
  73613. var t1, t2, t3, _i;
  73614. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  73615. t1[_i].accept$1(t3);
  73616. },
  73617. $signature: 2
  73618. };
  73619. A._EvaluateVisitor_visitAtRootRule_closure0.prototype = {
  73620. call$0() {
  73621. var t1, t2, t3, _i;
  73622. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  73623. t1[_i].accept$1(t3);
  73624. },
  73625. $signature: 0
  73626. };
  73627. A._EvaluateVisitor__scopeForAtRoot_closure.prototype = {
  73628. call$1(callback) {
  73629. var t1 = this.$this,
  73630. t2 = t1._assertInModule$2(t1.__parent, "__parent");
  73631. t1.__parent = this.newParent;
  73632. t1._environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  73633. t1.__parent = t2;
  73634. },
  73635. $signature: 40
  73636. };
  73637. A._EvaluateVisitor__scopeForAtRoot_closure0.prototype = {
  73638. call$1(callback) {
  73639. var t1 = this.$this,
  73640. oldAtRootExcludingStyleRule = t1._atRootExcludingStyleRule;
  73641. t1._atRootExcludingStyleRule = true;
  73642. this.innerScope.call$1(callback);
  73643. t1._atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  73644. },
  73645. $signature: 40
  73646. };
  73647. A._EvaluateVisitor__scopeForAtRoot_closure1.prototype = {
  73648. call$1(callback) {
  73649. return this.$this._withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure(this.innerScope, callback));
  73650. },
  73651. $signature: 40
  73652. };
  73653. A._EvaluateVisitor__scopeForAtRoot__closure.prototype = {
  73654. call$0() {
  73655. return this.innerScope.call$1(this.callback);
  73656. },
  73657. $signature: 2
  73658. };
  73659. A._EvaluateVisitor__scopeForAtRoot_closure2.prototype = {
  73660. call$1(callback) {
  73661. var t1 = this.$this,
  73662. wasInKeyframes = t1._inKeyframes;
  73663. t1._inKeyframes = false;
  73664. this.innerScope.call$1(callback);
  73665. t1._inKeyframes = wasInKeyframes;
  73666. },
  73667. $signature: 40
  73668. };
  73669. A._EvaluateVisitor__scopeForAtRoot_closure3.prototype = {
  73670. call$1($parent) {
  73671. return $parent instanceof A.ModifiableCssAtRule;
  73672. },
  73673. $signature: 154
  73674. };
  73675. A._EvaluateVisitor__scopeForAtRoot_closure4.prototype = {
  73676. call$1(callback) {
  73677. var t1 = this.$this,
  73678. wasInUnknownAtRule = t1._inUnknownAtRule;
  73679. t1._inUnknownAtRule = false;
  73680. this.innerScope.call$1(callback);
  73681. t1._inUnknownAtRule = wasInUnknownAtRule;
  73682. },
  73683. $signature: 40
  73684. };
  73685. A._EvaluateVisitor_visitContentRule_closure.prototype = {
  73686. call$0() {
  73687. var t1, t2, t3, _i;
  73688. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  73689. t1[_i].accept$1(t3);
  73690. return null;
  73691. },
  73692. $signature: 2
  73693. };
  73694. A._EvaluateVisitor_visitDeclaration_closure.prototype = {
  73695. call$0() {
  73696. var t1, t2, t3, _i;
  73697. for (t1 = this._box_0.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  73698. t1[_i].accept$1(t3);
  73699. },
  73700. $signature: 2
  73701. };
  73702. A._EvaluateVisitor_visitEachRule_closure.prototype = {
  73703. call$1(value) {
  73704. var t1 = this.$this,
  73705. t2 = this.nodeWithSpan;
  73706. return t1._environment.setLocalVariable$3(this._box_0.variable, t1._withoutSlash$2(value, t2), t2);
  73707. },
  73708. $signature: 63
  73709. };
  73710. A._EvaluateVisitor_visitEachRule_closure0.prototype = {
  73711. call$1(value) {
  73712. return this.$this._setMultipleVariables$3(this._box_0.variables, value, this.nodeWithSpan);
  73713. },
  73714. $signature: 63
  73715. };
  73716. A._EvaluateVisitor_visitEachRule_closure1.prototype = {
  73717. call$0() {
  73718. var _this = this,
  73719. t1 = _this.$this;
  73720. return t1._handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure(t1, _this.setVariables, _this.node));
  73721. },
  73722. $signature: 43
  73723. };
  73724. A._EvaluateVisitor_visitEachRule__closure.prototype = {
  73725. call$1(element) {
  73726. var t1;
  73727. this.setVariables.call$1(element);
  73728. t1 = this.$this;
  73729. return t1._handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure(t1));
  73730. },
  73731. $signature: 561
  73732. };
  73733. A._EvaluateVisitor_visitEachRule___closure.prototype = {
  73734. call$1(child) {
  73735. return child.accept$1(this.$this);
  73736. },
  73737. $signature: 101
  73738. };
  73739. A._EvaluateVisitor_visitAtRule_closure.prototype = {
  73740. call$1(value) {
  73741. return this.$this._interpolationToValue$3$trim$warnForColor(value, true, true);
  73742. },
  73743. $signature: 574
  73744. };
  73745. A._EvaluateVisitor_visitAtRule_closure0.prototype = {
  73746. call$0() {
  73747. var t2, t3, _i, _this = this,
  73748. t1 = _this.$this,
  73749. styleRule = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  73750. if (styleRule == null || t1._inKeyframes || J.$eq$(_this.name.value, "font-face"))
  73751. for (t2 = _this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  73752. t2[_i].accept$1(t1);
  73753. else
  73754. t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule._style_rule$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure(t1, _this.children), false, type$.ModifiableCssStyleRule, type$.Null);
  73755. },
  73756. $signature: 2
  73757. };
  73758. A._EvaluateVisitor_visitAtRule__closure.prototype = {
  73759. call$0() {
  73760. var t1, t2, t3, _i;
  73761. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  73762. t1[_i].accept$1(t3);
  73763. },
  73764. $signature: 2
  73765. };
  73766. A._EvaluateVisitor_visitAtRule_closure1.prototype = {
  73767. call$1(node) {
  73768. return node instanceof A.ModifiableCssStyleRule;
  73769. },
  73770. $signature: 9
  73771. };
  73772. A._EvaluateVisitor_visitForRule_closure.prototype = {
  73773. call$0() {
  73774. return this.node.from.accept$1(this.$this).assertNumber$0();
  73775. },
  73776. $signature: 162
  73777. };
  73778. A._EvaluateVisitor_visitForRule_closure0.prototype = {
  73779. call$0() {
  73780. return this.node.to.accept$1(this.$this).assertNumber$0();
  73781. },
  73782. $signature: 162
  73783. };
  73784. A._EvaluateVisitor_visitForRule_closure1.prototype = {
  73785. call$0() {
  73786. return this.fromNumber.assertInt$0();
  73787. },
  73788. $signature: 3
  73789. };
  73790. A._EvaluateVisitor_visitForRule_closure2.prototype = {
  73791. call$0() {
  73792. var t1 = this.fromNumber;
  73793. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  73794. },
  73795. $signature: 3
  73796. };
  73797. A._EvaluateVisitor_visitForRule_closure3.prototype = {
  73798. call$0() {
  73799. var i, t3, t4, t5, t6, t7, t8, _0_0, result, _this = this,
  73800. t1 = _this.$this,
  73801. t2 = _this.node,
  73802. nodeWithSpan = t1._expressionNode$1(t2.from);
  73803. 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) {
  73804. t7 = t1._environment;
  73805. t8 = t6.get$numeratorUnits(t6);
  73806. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  73807. _0_0 = t1._handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure(t1));
  73808. if (_0_0 != null) {
  73809. result = _0_0;
  73810. t7 = true;
  73811. } else {
  73812. result = null;
  73813. t7 = false;
  73814. }
  73815. if (t7)
  73816. return result;
  73817. }
  73818. return null;
  73819. },
  73820. $signature: 43
  73821. };
  73822. A._EvaluateVisitor_visitForRule__closure.prototype = {
  73823. call$1(child) {
  73824. return child.accept$1(this.$this);
  73825. },
  73826. $signature: 101
  73827. };
  73828. A._EvaluateVisitor_visitForwardRule_closure.prototype = {
  73829. call$2(module, firstLoad) {
  73830. if (firstLoad)
  73831. this.$this._registerCommentsForModule$1(module);
  73832. this.$this._environment.forwardModule$2(module, this.node);
  73833. },
  73834. $signature: 99
  73835. };
  73836. A._EvaluateVisitor_visitForwardRule_closure0.prototype = {
  73837. call$2(module, firstLoad) {
  73838. if (firstLoad)
  73839. this.$this._registerCommentsForModule$1(module);
  73840. this.$this._environment.forwardModule$2(module, this.node);
  73841. },
  73842. $signature: 99
  73843. };
  73844. A._EvaluateVisitor__registerCommentsForModule_closure.prototype = {
  73845. call$0() {
  73846. return A._setArrayType([], type$.JSArray_CssComment);
  73847. },
  73848. $signature: 151
  73849. };
  73850. A._EvaluateVisitor_visitIfRule_closure.prototype = {
  73851. call$1(clause) {
  73852. var t1 = this.$this;
  73853. return t1._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure(t1, clause), true, clause.hasDeclarations, type$.nullable_Value);
  73854. },
  73855. $signature: 583
  73856. };
  73857. A._EvaluateVisitor_visitIfRule__closure.prototype = {
  73858. call$0() {
  73859. var t1 = this.$this;
  73860. return t1._handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure(t1));
  73861. },
  73862. $signature: 43
  73863. };
  73864. A._EvaluateVisitor_visitIfRule___closure.prototype = {
  73865. call$1(child) {
  73866. return child.accept$1(this.$this);
  73867. },
  73868. $signature: 101
  73869. };
  73870. A._EvaluateVisitor__visitDynamicImport_closure.prototype = {
  73871. call$0() {
  73872. var t1, t2, _0_0, stylesheet, importer, isDependency, t3, url, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor, _box_0 = {};
  73873. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  73874. t1 = this.$this;
  73875. t2 = this.$import;
  73876. _0_0 = t1._loadStylesheet$3$forImport(t2.urlString, t2.span, true);
  73877. stylesheet = _box_0.stylesheet = _0_0._0;
  73878. importer = _0_0._1;
  73879. _box_0.importer = importer;
  73880. isDependency = _0_0._2;
  73881. _box_0.isDependency = isDependency;
  73882. t3 = stylesheet.span;
  73883. url = t3.get$sourceUrl(t3);
  73884. if (url != null) {
  73885. t3 = t1._activeModules;
  73886. if (t3.containsKey$1(url)) {
  73887. t2 = A.NullableExtension_andThen(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure(t1));
  73888. throw A.wrapException(t2 == null ? t1._evaluate$_exception$1("This file is already being loaded.") : t2);
  73889. }
  73890. t3.$indexSet(0, url, t2);
  73891. }
  73892. t2 = stylesheet._uses;
  73893. t3 = type$.UnmodifiableListView_UseRule;
  73894. t4 = new A.UnmodifiableListView(t2, t3);
  73895. if (t4.get$length(t4) === 0) {
  73896. t4 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  73897. t4 = t4.get$length(t4) === 0;
  73898. } else
  73899. t4 = false;
  73900. if (t4) {
  73901. oldImporter = t1._importer;
  73902. t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet");
  73903. oldInDependency = t1._inDependency;
  73904. t1._importer = importer;
  73905. t1.__stylesheet = stylesheet;
  73906. t1._inDependency = isDependency;
  73907. t1.visitStylesheet$1(stylesheet);
  73908. t1._importer = oldImporter;
  73909. t1.__stylesheet = t2;
  73910. t1._inDependency = oldInDependency;
  73911. t1._activeModules.remove$1(0, url);
  73912. return;
  73913. }
  73914. t2 = new A.UnmodifiableListView(t2, t3);
  73915. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure0())) {
  73916. t2 = new A.UnmodifiableListView(stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  73917. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure1());
  73918. } else
  73919. loadsUserDefinedModules = true;
  73920. children = A._Cell$();
  73921. t2 = t1._environment;
  73922. t3 = type$.String;
  73923. t4 = type$.Module_Callable;
  73924. t5 = type$.AstNode;
  73925. t6 = A._setArrayType([], type$.JSArray_Module_Callable);
  73926. t7 = t2._variables;
  73927. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  73928. t8 = t2._variableNodes;
  73929. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  73930. t9 = t2._functions;
  73931. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  73932. t10 = t2._mixins;
  73933. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  73934. 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);
  73935. t1._withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure2(_box_0, t1, loadsUserDefinedModules, environment, children));
  73936. module = environment.toDummyModule$0();
  73937. t1._environment.importForwards$1(module);
  73938. if (loadsUserDefinedModules) {
  73939. if (module.transitivelyContainsCss)
  73940. t1._combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  73941. visitor = new A._ImportedCssVisitor(t1);
  73942. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  73943. t2.get$current(t2).accept$1(visitor);
  73944. }
  73945. t1._activeModules.remove$1(0, url);
  73946. },
  73947. $signature: 0
  73948. };
  73949. A._EvaluateVisitor__visitDynamicImport__closure.prototype = {
  73950. call$1(previousLoad) {
  73951. 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));
  73952. },
  73953. $signature: 95
  73954. };
  73955. A._EvaluateVisitor__visitDynamicImport__closure0.prototype = {
  73956. call$1(rule) {
  73957. return rule.url.get$scheme() !== "sass";
  73958. },
  73959. $signature: 150
  73960. };
  73961. A._EvaluateVisitor__visitDynamicImport__closure1.prototype = {
  73962. call$1(rule) {
  73963. return rule.url.get$scheme() !== "sass";
  73964. },
  73965. $signature: 197
  73966. };
  73967. A._EvaluateVisitor__visitDynamicImport__closure2.prototype = {
  73968. call$0() {
  73969. var t7, t8, _this = this,
  73970. t1 = _this.$this,
  73971. oldImporter = t1._importer,
  73972. t2 = t1._assertInModule$2(t1.__stylesheet, "_stylesheet"),
  73973. t3 = t1._assertInModule$2(t1.__root, "_root"),
  73974. t4 = t1._assertInModule$2(t1.__parent, "__parent"),
  73975. t5 = t1._assertInModule$2(t1.__endOfImports, "_endOfImports"),
  73976. oldOutOfOrderImports = t1._outOfOrderImports,
  73977. oldConfiguration = t1._configuration,
  73978. oldInDependency = t1._inDependency,
  73979. t6 = _this._box_0;
  73980. t1._importer = t6.importer;
  73981. t7 = t6.stylesheet;
  73982. t1.__stylesheet = t7;
  73983. t8 = _this.loadsUserDefinedModules;
  73984. if (t8) {
  73985. t7 = A.ModifiableCssStylesheet$(t7.span);
  73986. t1.__root = t7;
  73987. t1.__parent = t1._assertInModule$2(t7, "_root");
  73988. t1.__endOfImports = 0;
  73989. t1._outOfOrderImports = null;
  73990. }
  73991. t1._inDependency = t6.isDependency;
  73992. t7 = new A.UnmodifiableListView(t6.stylesheet._forwards, type$.UnmodifiableListView_ForwardRule);
  73993. if (!t7.get$isEmpty(t7))
  73994. t1._configuration = _this.environment.toImplicitConfiguration$0();
  73995. t1.visitStylesheet$1(t6.stylesheet);
  73996. t6 = t8 ? t1._addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode);
  73997. _this.children._value = t6;
  73998. t1._importer = oldImporter;
  73999. t1.__stylesheet = t2;
  74000. if (t8) {
  74001. t1.__root = t3;
  74002. t1.__parent = t4;
  74003. t1.__endOfImports = t5;
  74004. t1._outOfOrderImports = oldOutOfOrderImports;
  74005. }
  74006. t1._configuration = oldConfiguration;
  74007. t1._inDependency = oldInDependency;
  74008. },
  74009. $signature: 2
  74010. };
  74011. A._EvaluateVisitor__applyMixin_closure0.prototype = {
  74012. call$0() {
  74013. var _this = this,
  74014. t1 = _this.$this;
  74015. t1._environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure0(t1, _this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent));
  74016. },
  74017. $signature: 0
  74018. };
  74019. A._EvaluateVisitor__applyMixin__closure0.prototype = {
  74020. call$0() {
  74021. var _this = this;
  74022. _this.$this._runBuiltInCallable$3(_this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent);
  74023. },
  74024. $signature: 0
  74025. };
  74026. A._EvaluateVisitor__applyMixin_closure.prototype = {
  74027. call$0() {
  74028. var t1 = this._1_0;
  74029. if (t1 == null)
  74030. t1 = type$.Callable._as(t1);
  74031. return type$.UserDefinedCallable_Environment._as(t1).declaration;
  74032. },
  74033. $signature: 140
  74034. };
  74035. A._EvaluateVisitor__applyMixin_closure1.prototype = {
  74036. call$0() {
  74037. var _this = this,
  74038. t1 = _this.$this;
  74039. t1._environment.withContent$2(_this.contentCallable, new A._EvaluateVisitor__applyMixin__closure(t1, _this.mixin, _this.nodeWithSpanWithoutContent));
  74040. },
  74041. $signature: 2
  74042. };
  74043. A._EvaluateVisitor__applyMixin__closure.prototype = {
  74044. call$0() {
  74045. var t1 = this.$this;
  74046. t1._environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure(t1, this.mixin, this.nodeWithSpanWithoutContent));
  74047. },
  74048. $signature: 0
  74049. };
  74050. A._EvaluateVisitor__applyMixin___closure.prototype = {
  74051. call$0() {
  74052. var t1, t2, t3, t4, _i;
  74053. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpanWithoutContent, _i = 0; _i < t2; ++_i)
  74054. t3._addErrorSpan$2(t4, new A._EvaluateVisitor__applyMixin____closure(t3, t1[_i]));
  74055. },
  74056. $signature: 0
  74057. };
  74058. A._EvaluateVisitor__applyMixin____closure.prototype = {
  74059. call$0() {
  74060. return this.statement.accept$1(this.$this);
  74061. },
  74062. $signature: 43
  74063. };
  74064. A._EvaluateVisitor_visitIncludeRule_closure.prototype = {
  74065. call$0() {
  74066. var t1 = this.node;
  74067. return this.$this._environment.getMixin$2$namespace(t1.name, t1.namespace);
  74068. },
  74069. $signature: 94
  74070. };
  74071. A._EvaluateVisitor_visitIncludeRule_closure0.prototype = {
  74072. call$1($content) {
  74073. var t1 = this.$this;
  74074. return new A.UserDefinedCallable($content, t1._environment.closure$0(), t1._inDependency, type$.UserDefinedCallable_Environment);
  74075. },
  74076. $signature: 590
  74077. };
  74078. A._EvaluateVisitor_visitIncludeRule_closure1.prototype = {
  74079. call$0() {
  74080. return this.node.get$spanWithoutContent();
  74081. },
  74082. $signature: 33
  74083. };
  74084. A._EvaluateVisitor_visitMediaRule_closure.prototype = {
  74085. call$1(mediaQueries) {
  74086. return this.$this._mergeMediaQueries$2(mediaQueries, this.queries);
  74087. },
  74088. $signature: 81
  74089. };
  74090. A._EvaluateVisitor_visitMediaRule_closure0.prototype = {
  74091. call$0() {
  74092. var _this = this,
  74093. t1 = _this.$this,
  74094. t2 = _this.mergedQueries;
  74095. if (t2 == null)
  74096. t2 = _this.queries;
  74097. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure(t1, _this.node));
  74098. },
  74099. $signature: 2
  74100. };
  74101. A._EvaluateVisitor_visitMediaRule__closure.prototype = {
  74102. call$0() {
  74103. var styleRule, t2, t3, _i,
  74104. t1 = this.$this,
  74105. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  74106. if (_0_0 != null) {
  74107. styleRule = _0_0;
  74108. t2 = true;
  74109. } else {
  74110. styleRule = null;
  74111. t2 = false;
  74112. }
  74113. if (t2)
  74114. t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule._style_rule$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure(t1, this.node), false, type$.ModifiableCssStyleRule, type$.Null);
  74115. else
  74116. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  74117. t2[_i].accept$1(t1);
  74118. },
  74119. $signature: 2
  74120. };
  74121. A._EvaluateVisitor_visitMediaRule___closure.prototype = {
  74122. call$0() {
  74123. var t1, t2, t3, _i;
  74124. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  74125. t1[_i].accept$1(t3);
  74126. },
  74127. $signature: 2
  74128. };
  74129. A._EvaluateVisitor_visitMediaRule_closure1.prototype = {
  74130. call$1(node) {
  74131. var t1;
  74132. if (!(node instanceof A.ModifiableCssStyleRule)) {
  74133. t1 = this.mergedSources;
  74134. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  74135. } else
  74136. t1 = true;
  74137. return t1;
  74138. },
  74139. $signature: 9
  74140. };
  74141. A._EvaluateVisitor_visitStyleRule_closure.prototype = {
  74142. call$0() {
  74143. var t1, t2, t3, _i;
  74144. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  74145. t1[_i].accept$1(t3);
  74146. },
  74147. $signature: 2
  74148. };
  74149. A._EvaluateVisitor_visitStyleRule_closure0.prototype = {
  74150. call$1(node) {
  74151. return node instanceof A.ModifiableCssStyleRule;
  74152. },
  74153. $signature: 9
  74154. };
  74155. A._EvaluateVisitor_visitStyleRule_closure1.prototype = {
  74156. call$0() {
  74157. var t1 = this.$this;
  74158. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure(t1, this.node));
  74159. },
  74160. $signature: 2
  74161. };
  74162. A._EvaluateVisitor_visitStyleRule__closure.prototype = {
  74163. call$0() {
  74164. var t1, t2, t3, _i;
  74165. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  74166. t1[_i].accept$1(t3);
  74167. },
  74168. $signature: 2
  74169. };
  74170. A._EvaluateVisitor_visitStyleRule_closure2.prototype = {
  74171. call$1(node) {
  74172. return node instanceof A.ModifiableCssStyleRule;
  74173. },
  74174. $signature: 9
  74175. };
  74176. A._EvaluateVisitor_visitStyleRule_closure3.prototype = {
  74177. call$1(child) {
  74178. return child instanceof A.ModifiableCssComment;
  74179. },
  74180. $signature: 146
  74181. };
  74182. A._EvaluateVisitor_visitSupportsRule_closure.prototype = {
  74183. call$0() {
  74184. var styleRule, t2, t3, _i,
  74185. t1 = this.$this,
  74186. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  74187. if (_0_0 != null) {
  74188. styleRule = _0_0;
  74189. t2 = true;
  74190. } else {
  74191. styleRule = null;
  74192. t2 = false;
  74193. }
  74194. if (t2)
  74195. t1._withParent$2$2(A.ModifiableCssStyleRule$(styleRule._style_rule$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
  74196. else
  74197. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  74198. t2[_i].accept$1(t1);
  74199. },
  74200. $signature: 2
  74201. };
  74202. A._EvaluateVisitor_visitSupportsRule__closure.prototype = {
  74203. call$0() {
  74204. var t1, t2, t3, _i;
  74205. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  74206. t1[_i].accept$1(t3);
  74207. },
  74208. $signature: 2
  74209. };
  74210. A._EvaluateVisitor_visitSupportsRule_closure0.prototype = {
  74211. call$1(node) {
  74212. return node instanceof A.ModifiableCssStyleRule;
  74213. },
  74214. $signature: 9
  74215. };
  74216. A._EvaluateVisitor__visitSupportsCondition_closure.prototype = {
  74217. call$0() {
  74218. var t4,
  74219. t1 = this.$this,
  74220. t2 = this._box_0,
  74221. t3 = t2.declaration.name;
  74222. t3 = t1._evaluate$_serialize$3$quote(t3.accept$1(t1), t3, true);
  74223. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  74224. t2 = t2.declaration.value;
  74225. return "(" + t3 + ":" + t4 + t1._evaluate$_serialize$3$quote(t2.accept$1(t1), t2, true) + ")";
  74226. },
  74227. $signature: 21
  74228. };
  74229. A._EvaluateVisitor_visitVariableDeclaration_closure.prototype = {
  74230. call$0() {
  74231. var t1 = this.$this._environment,
  74232. t2 = this._box_0.override;
  74233. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  74234. },
  74235. $signature: 2
  74236. };
  74237. A._EvaluateVisitor_visitVariableDeclaration_closure0.prototype = {
  74238. call$0() {
  74239. var t1 = this.node;
  74240. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  74241. },
  74242. $signature: 43
  74243. };
  74244. A._EvaluateVisitor_visitVariableDeclaration_closure1.prototype = {
  74245. call$0() {
  74246. var t1 = this.$this,
  74247. t2 = this.node;
  74248. t1._environment.setVariable$5$global$namespace(t2.name, this.value, t1._expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  74249. },
  74250. $signature: 2
  74251. };
  74252. A._EvaluateVisitor_visitUseRule_closure.prototype = {
  74253. call$2(module, firstLoad) {
  74254. var t1, t2, t3, _0_0, $name, t4, t5, span;
  74255. if (firstLoad)
  74256. this.$this._registerCommentsForModule$1(module);
  74257. t1 = this.$this._environment;
  74258. t2 = this.node;
  74259. t3 = t2.namespace;
  74260. if (t3 == null) {
  74261. t1._globalModules.$indexSet(0, module, t2);
  74262. t1._allModules.push(module);
  74263. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._variables)), module.get$variables().get$containsKey());
  74264. if (_0_0 != null) {
  74265. $name = _0_0;
  74266. t1 = true;
  74267. } else {
  74268. $name = null;
  74269. t1 = false;
  74270. }
  74271. if (t1)
  74272. A.throwExpression(A.SassScriptException$(string$.This_ma + A.S($name) + '".', null));
  74273. } else {
  74274. t4 = t1._environment$_modules;
  74275. if (t4.containsKey$1(t3)) {
  74276. t5 = t1._namespaceNodes.$index(0, t3);
  74277. span = t5 == null ? null : t5.span;
  74278. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  74279. if (span != null)
  74280. t5.$indexSet(0, span, "original @use");
  74281. A.throwExpression(A.MultiSpanSassScriptException$(string$.There_ + t3 + '".', "new @use", t5));
  74282. }
  74283. t4.$indexSet(0, t3, module);
  74284. t1._namespaceNodes.$indexSet(0, t3, t2);
  74285. t1._allModules.push(module);
  74286. }
  74287. },
  74288. $signature: 99
  74289. };
  74290. A._EvaluateVisitor_visitWarnRule_closure.prototype = {
  74291. call$0() {
  74292. return this.node.expression.accept$1(this.$this);
  74293. },
  74294. $signature: 25
  74295. };
  74296. A._EvaluateVisitor_visitWhileRule_closure.prototype = {
  74297. call$0() {
  74298. var t1, t2, t3, _0_0, result, t4;
  74299. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  74300. _0_0 = t3._handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure(t3));
  74301. if (_0_0 != null) {
  74302. result = _0_0;
  74303. t4 = true;
  74304. } else {
  74305. result = null;
  74306. t4 = false;
  74307. }
  74308. if (t4)
  74309. return result;
  74310. }
  74311. return null;
  74312. },
  74313. $signature: 43
  74314. };
  74315. A._EvaluateVisitor_visitWhileRule__closure.prototype = {
  74316. call$1(child) {
  74317. return child.accept$1(this.$this);
  74318. },
  74319. $signature: 101
  74320. };
  74321. A._EvaluateVisitor_visitBinaryOperationExpression_closure.prototype = {
  74322. call$0() {
  74323. var t1 = this.node,
  74324. t2 = this.$this,
  74325. left = t1.left.accept$1(t2);
  74326. switch (t1.operator) {
  74327. case B.BinaryOperator_2jN:
  74328. t1 = t1.right.accept$1(t2);
  74329. t1 = new A.SassString(A.serializeValue(left, false, true) + "=" + A.serializeValue(t1, false, true), false);
  74330. break;
  74331. case B.BinaryOperator_M6L:
  74332. t1 = left.get$isTruthy() ? left : t1.right.accept$1(t2);
  74333. break;
  74334. case B.BinaryOperator_SNp:
  74335. t1 = left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  74336. break;
  74337. case B.BinaryOperator_ql5:
  74338. t1 = left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  74339. break;
  74340. case B.BinaryOperator_ViB:
  74341. t1 = !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true : B.SassBoolean_false;
  74342. break;
  74343. case B.BinaryOperator_cIH:
  74344. t1 = left.greaterThan$1(t1.right.accept$1(t2));
  74345. break;
  74346. case B.BinaryOperator_7Tg:
  74347. t1 = left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  74348. break;
  74349. case B.BinaryOperator_U8c:
  74350. t1 = left.lessThan$1(t1.right.accept$1(t2));
  74351. break;
  74352. case B.BinaryOperator_kpg:
  74353. t1 = left.lessThanOrEquals$1(t1.right.accept$1(t2));
  74354. break;
  74355. case B.BinaryOperator_anB:
  74356. t1 = left.plus$1(t1.right.accept$1(t2));
  74357. break;
  74358. case B.BinaryOperator_olz:
  74359. t1 = left.minus$1(t1.right.accept$1(t2));
  74360. break;
  74361. case B.BinaryOperator_qN2:
  74362. t1 = left.times$1(t1.right.accept$1(t2));
  74363. break;
  74364. case B.BinaryOperator_t8B:
  74365. t1 = t2._slash$3(left, t1.right.accept$1(t2), t1);
  74366. break;
  74367. case B.BinaryOperator_OTG:
  74368. t1 = left.modulo$1(t1.right.accept$1(t2));
  74369. break;
  74370. default:
  74371. t1 = null;
  74372. }
  74373. return t1;
  74374. },
  74375. $signature: 25
  74376. };
  74377. A._EvaluateVisitor__slash_closure.prototype = {
  74378. call$0() {
  74379. return this._1_0._0;
  74380. },
  74381. $signature: 25
  74382. };
  74383. A._EvaluateVisitor__slash_closure0.prototype = {
  74384. call$0() {
  74385. return this._1_0._1;
  74386. },
  74387. $signature: 25
  74388. };
  74389. A._EvaluateVisitor__slash_recommendation.prototype = {
  74390. call$1(expression) {
  74391. var left, right, t1, _null = null;
  74392. $label0$0: {
  74393. if (expression instanceof A.BinaryOperationExpression)
  74394. if (B.BinaryOperator_t8B === expression.operator) {
  74395. left = expression.left;
  74396. right = expression.right;
  74397. t1 = true;
  74398. } else {
  74399. right = _null;
  74400. left = right;
  74401. t1 = false;
  74402. }
  74403. else {
  74404. right = _null;
  74405. left = right;
  74406. t1 = false;
  74407. }
  74408. if (t1) {
  74409. t1 = "math.div(" + A.S(this.call$1(left)) + ", " + A.S(this.call$1(right)) + ")";
  74410. break $label0$0;
  74411. }
  74412. if (expression instanceof A.ParenthesizedExpression) {
  74413. t1 = expression.expression.toString$0(0);
  74414. break $label0$0;
  74415. }
  74416. t1 = expression.toString$0(0);
  74417. break $label0$0;
  74418. }
  74419. return t1;
  74420. },
  74421. $signature: 135
  74422. };
  74423. A._EvaluateVisitor_visitVariableExpression_closure.prototype = {
  74424. call$0() {
  74425. var t1 = this.node;
  74426. return this.$this._environment.getVariable$2$namespace(t1.name, t1.namespace);
  74427. },
  74428. $signature: 43
  74429. };
  74430. A._EvaluateVisitor_visitUnaryOperationExpression_closure.prototype = {
  74431. call$0() {
  74432. var t1, _this = this;
  74433. switch (_this.node.operator) {
  74434. case B.UnaryOperator_gg4:
  74435. t1 = _this.operand.unaryPlus$0();
  74436. break;
  74437. case B.UnaryOperator_TLI:
  74438. t1 = _this.operand.unaryMinus$0();
  74439. break;
  74440. case B.UnaryOperator_Ix1:
  74441. t1 = new A.SassString("/" + A.serializeValue(_this.operand, false, true), false);
  74442. break;
  74443. case B.UnaryOperator_not_not_not:
  74444. t1 = _this.operand.unaryNot$0();
  74445. break;
  74446. default:
  74447. t1 = null;
  74448. }
  74449. return t1;
  74450. },
  74451. $signature: 25
  74452. };
  74453. A._EvaluateVisitor_visitListExpression_closure.prototype = {
  74454. call$1(expression) {
  74455. return expression.accept$1(this.$this);
  74456. },
  74457. $signature: 611
  74458. };
  74459. A._EvaluateVisitor_visitFunctionExpression_closure.prototype = {
  74460. call$0() {
  74461. var t1 = this.$this._environment,
  74462. t2 = this.node;
  74463. return t1.getFunction$2$namespace(A.stringReplaceAllUnchecked(t2.originalName, "_", "-"), t2.namespace);
  74464. },
  74465. $signature: 94
  74466. };
  74467. A._EvaluateVisitor_visitFunctionExpression_closure0.prototype = {
  74468. call$1(argument) {
  74469. return argument.accept$1(new A._IsCalculationSafeVisitor());
  74470. },
  74471. $signature: 142
  74472. };
  74473. A._EvaluateVisitor_visitFunctionExpression_closure1.prototype = {
  74474. call$0() {
  74475. var t1 = this.node;
  74476. return this.$this._runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  74477. },
  74478. $signature: 25
  74479. };
  74480. A._EvaluateVisitor__checkCalculationArguments_check.prototype = {
  74481. call$1(maxArgs) {
  74482. var t1 = this.node,
  74483. t2 = t1.$arguments.positional.length;
  74484. if (t2 === 0)
  74485. throw A.wrapException(this.$this._evaluate$_exception$2("Missing argument.", t1.span));
  74486. else if (maxArgs != null && t2 > maxArgs)
  74487. throw A.wrapException(this.$this._evaluate$_exception$2("Only " + A.S(maxArgs) + " " + A.pluralize("argument", maxArgs, null) + " allowed, but " + t2 + " " + A.pluralize("was", t2, "were") + " passed.", t1.span));
  74488. },
  74489. call$0() {
  74490. return this.call$1(null);
  74491. },
  74492. $signature: 86
  74493. };
  74494. A._EvaluateVisitor__visitCalculationExpression_closure.prototype = {
  74495. call$0() {
  74496. var _this = this,
  74497. t1 = _this.$this,
  74498. t2 = _this._box_0,
  74499. t3 = _this.inLegacySassFunction;
  74500. return A.SassCalculation_operateInternal(t1._binaryOperatorToCalculationOperator$2(t2.operator, _this.node), t1._visitCalculationExpression$2$inLegacySassFunction(t2.left, t3), t1._visitCalculationExpression$2$inLegacySassFunction(t2.right, t3), t3, !t1._inSupportsDeclaration);
  74501. },
  74502. $signature: 14
  74503. };
  74504. A._EvaluateVisitor__checkAdjacentCalculationValues_closure.prototype = {
  74505. call$0() {
  74506. return type$.UnaryOperationExpression._as(this._0_0).operator;
  74507. },
  74508. $signature: 134
  74509. };
  74510. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure.prototype = {
  74511. call$0() {
  74512. var t1 = this.node;
  74513. return this.$this._runFunctionCallable$3(t1.$arguments, this.$function, t1);
  74514. },
  74515. $signature: 25
  74516. };
  74517. A._EvaluateVisitor__runUserDefinedCallable_closure.prototype = {
  74518. call$0() {
  74519. var _this = this,
  74520. t1 = _this.$this,
  74521. t2 = _this.callable;
  74522. return t1._withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  74523. },
  74524. $signature() {
  74525. return this.V._eval$1("0()");
  74526. }
  74527. };
  74528. A._EvaluateVisitor__runUserDefinedCallable__closure.prototype = {
  74529. call$0() {
  74530. var _this = this,
  74531. t1 = _this.$this,
  74532. t2 = _this.V;
  74533. return t1._environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  74534. },
  74535. $signature() {
  74536. return this.V._eval$1("0()");
  74537. }
  74538. };
  74539. A._EvaluateVisitor__runUserDefinedCallable___closure.prototype = {
  74540. call$0() {
  74541. var declaredArguments, t5, minLength, i, argument, t6, t7, value, t8, restArgument, rest, argumentList, result, argumentWord, _this = this,
  74542. t1 = _this.$this,
  74543. t2 = _this.evaluated._values,
  74544. t3 = _this.callable.declaration.$arguments,
  74545. t4 = _this.nodeWithSpan;
  74546. t1._verifyArguments$4(J.get$length$asx(t2[2]), t2[0], t3, t4);
  74547. declaredArguments = t3.$arguments;
  74548. t5 = declaredArguments.length;
  74549. minLength = Math.min(J.get$length$asx(t2[2]), t5);
  74550. for (i = 0; i < minLength; ++i)
  74551. t1._environment.setLocalVariable$3(declaredArguments[i].name, J.$index$asx(t2[2], i), J.$index$asx(t2[3], i));
  74552. for (i = J.get$length$asx(t2[2]); i < t5; ++i) {
  74553. argument = declaredArguments[i];
  74554. t6 = t2[0];
  74555. t7 = argument.name;
  74556. value = J.remove$1$z(t6, t7);
  74557. if (value == null) {
  74558. t6 = argument.defaultValue;
  74559. value = t1._withoutSlash$2(t6.accept$1(t1), t1._expressionNode$1(t6));
  74560. }
  74561. t6 = t1._environment;
  74562. t8 = J.$index$asx(t2[1], t7);
  74563. if (t8 == null) {
  74564. t8 = argument.defaultValue;
  74565. t8.toString;
  74566. t8 = t1._expressionNode$1(t8);
  74567. }
  74568. t6.setLocalVariable$3(t7, value, t8);
  74569. }
  74570. restArgument = t3.restArgument;
  74571. if (restArgument != null) {
  74572. rest = J.get$length$asx(t2[2]) > t5 ? J.sublist$1$ax(t2[2], t5) : B.List_empty8;
  74573. t5 = t2[0];
  74574. t6 = t2[4];
  74575. argumentList = A.SassArgumentList$(rest, t5, t6 === B.ListSeparator_undecided_null_undecided ? B.ListSeparator_rXA : t6);
  74576. t1._environment.setLocalVariable$3(restArgument, argumentList, t4);
  74577. } else
  74578. argumentList = null;
  74579. result = _this.run.call$0();
  74580. if (argumentList == null)
  74581. return result;
  74582. t5 = t2[0].__js_helper$_length;
  74583. if (t5 === 0)
  74584. return result;
  74585. if (argumentList._wereKeywordsAccessed)
  74586. return result;
  74587. argumentWord = A.pluralize("argument", t5, null);
  74588. t2 = t2[0];
  74589. t5 = A.instanceType(t2)._eval$1("LinkedHashMapKeyIterable<1>");
  74590. throw A.wrapException(A.MultiSpanSassRuntimeException$("No " + argumentWord + " named " + A.toSentence(A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(t2, t5), new A._EvaluateVisitor__runUserDefinedCallable____closure(), t5._eval$1("Iterable.E"), type$.Object), "or") + ".", t4.get$span(t4), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t3.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._evaluate$_stackTrace$1(t4.get$span(t4)), null));
  74591. },
  74592. $signature() {
  74593. return this.V._eval$1("0()");
  74594. }
  74595. };
  74596. A._EvaluateVisitor__runUserDefinedCallable____closure.prototype = {
  74597. call$1($name) {
  74598. return "$" + $name;
  74599. },
  74600. $signature: 7
  74601. };
  74602. A._EvaluateVisitor__runFunctionCallable_closure.prototype = {
  74603. call$0() {
  74604. var t1, t2, t3, t4, _i, $returnValue;
  74605. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  74606. $returnValue = t2[_i].accept$1(t4);
  74607. if ($returnValue instanceof A.Value)
  74608. return $returnValue;
  74609. }
  74610. throw A.wrapException(t4._evaluate$_exception$2("Function finished without @return.", t1.span));
  74611. },
  74612. $signature: 25
  74613. };
  74614. A._EvaluateVisitor__runBuiltInCallable_closure.prototype = {
  74615. call$0() {
  74616. return this._box_0.overload.verify$2(J.get$length$asx(this.evaluated._values[2]), this.namedSet);
  74617. },
  74618. $signature: 0
  74619. };
  74620. A._EvaluateVisitor__runBuiltInCallable_closure0.prototype = {
  74621. call$0() {
  74622. return this._box_0.callback.call$1(this.evaluated._values[2]);
  74623. },
  74624. $signature: 25
  74625. };
  74626. A._EvaluateVisitor__runBuiltInCallable_closure1.prototype = {
  74627. call$1($name) {
  74628. return "$" + $name;
  74629. },
  74630. $signature: 7
  74631. };
  74632. A._EvaluateVisitor__evaluateArguments_closure.prototype = {
  74633. call$1(value) {
  74634. return value;
  74635. },
  74636. $signature: 44
  74637. };
  74638. A._EvaluateVisitor__evaluateArguments_closure0.prototype = {
  74639. call$1(value) {
  74640. return this.$this._withoutSlash$2(value, this.restNodeForSpan);
  74641. },
  74642. $signature: 44
  74643. };
  74644. A._EvaluateVisitor__evaluateArguments_closure1.prototype = {
  74645. call$2(key, value) {
  74646. var _this = this,
  74647. t1 = _this.restNodeForSpan;
  74648. _this.named.$indexSet(0, key, _this.$this._withoutSlash$2(value, t1));
  74649. _this.namedNodes.$indexSet(0, key, t1);
  74650. },
  74651. $signature: 87
  74652. };
  74653. A._EvaluateVisitor__evaluateArguments_closure2.prototype = {
  74654. call$1(value) {
  74655. return value;
  74656. },
  74657. $signature: 44
  74658. };
  74659. A._EvaluateVisitor__evaluateMacroArguments_closure.prototype = {
  74660. call$1(value) {
  74661. var t1 = this.restArgs;
  74662. return new A.ValueExpression(value, t1.get$span(t1));
  74663. },
  74664. $signature: 64
  74665. };
  74666. A._EvaluateVisitor__evaluateMacroArguments_closure0.prototype = {
  74667. call$1(value) {
  74668. var t1 = this.restArgs;
  74669. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  74670. },
  74671. $signature: 64
  74672. };
  74673. A._EvaluateVisitor__evaluateMacroArguments_closure1.prototype = {
  74674. call$2(key, value) {
  74675. var _this = this,
  74676. t1 = _this.restArgs;
  74677. _this.named.$indexSet(0, key, new A.ValueExpression(_this.$this._withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  74678. },
  74679. $signature: 87
  74680. };
  74681. A._EvaluateVisitor__evaluateMacroArguments_closure2.prototype = {
  74682. call$1(value) {
  74683. var t1 = this.keywordRestArgs;
  74684. return new A.ValueExpression(this.$this._withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  74685. },
  74686. $signature: 64
  74687. };
  74688. A._EvaluateVisitor__addRestMap_closure.prototype = {
  74689. call$2(key, value) {
  74690. var t2, _this = this,
  74691. t1 = _this.$this;
  74692. if (key instanceof A.SassString)
  74693. _this.values.$indexSet(0, key._string$_text, _this.convert.call$1(t1._withoutSlash$2(value, _this.expressionNode)));
  74694. else {
  74695. t2 = _this.nodeWithSpan;
  74696. 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)));
  74697. }
  74698. },
  74699. $signature: 96
  74700. };
  74701. A._EvaluateVisitor__verifyArguments_closure.prototype = {
  74702. call$0() {
  74703. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  74704. },
  74705. $signature: 0
  74706. };
  74707. A._EvaluateVisitor_visitCssAtRule_closure.prototype = {
  74708. call$0() {
  74709. var t1, t2, t3, t4;
  74710. 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();) {
  74711. t4 = t1.__internal$_current;
  74712. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  74713. }
  74714. },
  74715. $signature: 2
  74716. };
  74717. A._EvaluateVisitor_visitCssAtRule_closure0.prototype = {
  74718. call$1(node) {
  74719. return node instanceof A.ModifiableCssStyleRule;
  74720. },
  74721. $signature: 9
  74722. };
  74723. A._EvaluateVisitor_visitCssKeyframeBlock_closure.prototype = {
  74724. call$0() {
  74725. var t1, t2, t3, t4;
  74726. 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();) {
  74727. t4 = t1.__internal$_current;
  74728. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  74729. }
  74730. },
  74731. $signature: 2
  74732. };
  74733. A._EvaluateVisitor_visitCssKeyframeBlock_closure0.prototype = {
  74734. call$1(node) {
  74735. return node instanceof A.ModifiableCssStyleRule;
  74736. },
  74737. $signature: 9
  74738. };
  74739. A._EvaluateVisitor_visitCssMediaRule_closure.prototype = {
  74740. call$1(mediaQueries) {
  74741. return this.$this._mergeMediaQueries$2(mediaQueries, this.node.queries);
  74742. },
  74743. $signature: 81
  74744. };
  74745. A._EvaluateVisitor_visitCssMediaRule_closure0.prototype = {
  74746. call$0() {
  74747. var _this = this,
  74748. t1 = _this.$this,
  74749. t2 = _this.mergedQueries;
  74750. if (t2 == null)
  74751. t2 = _this.node.queries;
  74752. t1._withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure(t1, _this.node));
  74753. },
  74754. $signature: 2
  74755. };
  74756. A._EvaluateVisitor_visitCssMediaRule__closure.prototype = {
  74757. call$0() {
  74758. var styleRule, t2, t3, t4,
  74759. t1 = this.$this,
  74760. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  74761. if (_0_0 != null) {
  74762. styleRule = _0_0;
  74763. t2 = true;
  74764. } else {
  74765. styleRule = null;
  74766. t2 = false;
  74767. }
  74768. if (t2)
  74769. t1._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(styleRule._style_rule$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure(t1, this.node), false, type$.ModifiableCssStyleRule, type$.Null);
  74770. else
  74771. for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  74772. t4 = t2.__internal$_current;
  74773. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  74774. }
  74775. },
  74776. $signature: 2
  74777. };
  74778. A._EvaluateVisitor_visitCssMediaRule___closure.prototype = {
  74779. call$0() {
  74780. var t1, t2, t3, t4;
  74781. 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();) {
  74782. t4 = t1.__internal$_current;
  74783. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  74784. }
  74785. },
  74786. $signature: 2
  74787. };
  74788. A._EvaluateVisitor_visitCssMediaRule_closure1.prototype = {
  74789. call$1(node) {
  74790. var t1;
  74791. if (!(node instanceof A.ModifiableCssStyleRule)) {
  74792. t1 = this.mergedSources;
  74793. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  74794. } else
  74795. t1 = true;
  74796. return t1;
  74797. },
  74798. $signature: 9
  74799. };
  74800. A._EvaluateVisitor_visitCssStyleRule_closure.prototype = {
  74801. call$0() {
  74802. var t1 = this.$this;
  74803. t1._withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure(t1, this.node));
  74804. },
  74805. $signature: 2
  74806. };
  74807. A._EvaluateVisitor_visitCssStyleRule__closure.prototype = {
  74808. call$0() {
  74809. var t1, t2, t3, t4;
  74810. 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();) {
  74811. t4 = t1.__internal$_current;
  74812. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  74813. }
  74814. },
  74815. $signature: 2
  74816. };
  74817. A._EvaluateVisitor_visitCssStyleRule_closure0.prototype = {
  74818. call$1(node) {
  74819. return node instanceof A.ModifiableCssStyleRule;
  74820. },
  74821. $signature: 9
  74822. };
  74823. A._EvaluateVisitor_visitCssStyleRule_closure1.prototype = {
  74824. call$0() {
  74825. return J.get$length$asx(this._0_0._collection$_source);
  74826. },
  74827. $signature: 3
  74828. };
  74829. A._EvaluateVisitor_visitCssSupportsRule_closure.prototype = {
  74830. call$0() {
  74831. var styleRule, t2, t3, t4,
  74832. t1 = this.$this,
  74833. _0_0 = t1._atRootExcludingStyleRule ? null : t1._styleRuleIgnoringAtRoot;
  74834. if (_0_0 != null) {
  74835. styleRule = _0_0;
  74836. t2 = true;
  74837. } else {
  74838. styleRule = null;
  74839. t2 = false;
  74840. }
  74841. if (t2)
  74842. t1._withParent$2$2(A.ModifiableCssStyleRule$(styleRule._style_rule$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure(t1, this.node), type$.ModifiableCssStyleRule, type$.Null);
  74843. else
  74844. for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  74845. t4 = t2.__internal$_current;
  74846. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  74847. }
  74848. },
  74849. $signature: 2
  74850. };
  74851. A._EvaluateVisitor_visitCssSupportsRule__closure.prototype = {
  74852. call$0() {
  74853. var t1, t2, t3, t4;
  74854. 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();) {
  74855. t4 = t1.__internal$_current;
  74856. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  74857. }
  74858. },
  74859. $signature: 2
  74860. };
  74861. A._EvaluateVisitor_visitCssSupportsRule_closure0.prototype = {
  74862. call$1(node) {
  74863. return node instanceof A.ModifiableCssStyleRule;
  74864. },
  74865. $signature: 9
  74866. };
  74867. A._EvaluateVisitor__performInterpolationHelper_closure.prototype = {
  74868. call$1(targetLocations) {
  74869. return A.InterpolationMap$(this.interpolation, targetLocations);
  74870. },
  74871. $signature: 155
  74872. };
  74873. A._EvaluateVisitor__serialize_closure.prototype = {
  74874. call$0() {
  74875. return A.serializeValue(this.value, false, this.quote);
  74876. },
  74877. $signature: 21
  74878. };
  74879. A._EvaluateVisitor__expressionNode_closure.prototype = {
  74880. call$0() {
  74881. var t1 = this.expression;
  74882. return this.$this._environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  74883. },
  74884. $signature: 156
  74885. };
  74886. A._EvaluateVisitor__withoutSlash_recommendation.prototype = {
  74887. call$1(number) {
  74888. var t1, before, after,
  74889. _1_0 = number.asSlash;
  74890. $label0$0: {
  74891. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  74892. t1 = type$.SassNumber;
  74893. before = t1._as(_1_0._0);
  74894. after = t1._as(_1_0._1);
  74895. t1 = true;
  74896. } else {
  74897. before = null;
  74898. after = null;
  74899. t1 = false;
  74900. }
  74901. if (t1) {
  74902. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  74903. break $label0$0;
  74904. }
  74905. t1 = A.serializeValue(number, true, true);
  74906. break $label0$0;
  74907. }
  74908. return t1;
  74909. },
  74910. $signature: 157
  74911. };
  74912. A._EvaluateVisitor__stackFrame_closure.prototype = {
  74913. call$1(url) {
  74914. var t1 = this.$this._evaluate$_importCache;
  74915. t1 = t1 == null ? null : t1.humanize$1(url);
  74916. return t1 == null ? url : t1;
  74917. },
  74918. $signature: 49
  74919. };
  74920. A._ImportedCssVisitor.prototype = {
  74921. visitCssAtRule$1(node) {
  74922. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure();
  74923. this._visitor._addChild$2$through(node, t1);
  74924. },
  74925. visitCssComment$1(node) {
  74926. return this._visitor._addChild$1(node);
  74927. },
  74928. visitCssDeclaration$1(node) {
  74929. },
  74930. visitCssImport$1(node) {
  74931. var t2,
  74932. _s13_ = "_endOfImports",
  74933. t1 = this._visitor;
  74934. if (t1._assertInModule$2(t1.__parent, "__parent") !== t1._assertInModule$2(t1.__root, "_root"))
  74935. t1._addChild$1(node);
  74936. else if (t1._assertInModule$2(t1.__endOfImports, _s13_) === J.get$length$asx(t1._assertInModule$2(t1.__root, "_root").children._collection$_source)) {
  74937. t1._addChild$1(node);
  74938. t1.__endOfImports = t1._assertInModule$2(t1.__endOfImports, _s13_) + 1;
  74939. } else {
  74940. t2 = t1._outOfOrderImports;
  74941. (t2 == null ? t1._outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport) : t2).push(node);
  74942. }
  74943. },
  74944. visitCssKeyframeBlock$1(node) {
  74945. },
  74946. visitCssMediaRule$1(node) {
  74947. var t1 = this._visitor,
  74948. mediaQueries = t1._mediaQueries;
  74949. t1._addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure(mediaQueries == null || t1._mergeMediaQueries$2(mediaQueries, node.queries) != null));
  74950. },
  74951. visitCssStyleRule$1(node) {
  74952. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure());
  74953. },
  74954. visitCssStylesheet$1(node) {
  74955. var t1, t2, t3;
  74956. for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  74957. t3 = t1.__internal$_current;
  74958. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  74959. }
  74960. },
  74961. visitCssSupportsRule$1(node) {
  74962. return this._visitor._addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure());
  74963. }
  74964. };
  74965. A._ImportedCssVisitor_visitCssAtRule_closure.prototype = {
  74966. call$1(node) {
  74967. return node instanceof A.ModifiableCssStyleRule;
  74968. },
  74969. $signature: 9
  74970. };
  74971. A._ImportedCssVisitor_visitCssMediaRule_closure.prototype = {
  74972. call$1(node) {
  74973. var t1;
  74974. if (!(node instanceof A.ModifiableCssStyleRule))
  74975. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule;
  74976. else
  74977. t1 = true;
  74978. return t1;
  74979. },
  74980. $signature: 9
  74981. };
  74982. A._ImportedCssVisitor_visitCssStyleRule_closure.prototype = {
  74983. call$1(node) {
  74984. return node instanceof A.ModifiableCssStyleRule;
  74985. },
  74986. $signature: 9
  74987. };
  74988. A._ImportedCssVisitor_visitCssSupportsRule_closure.prototype = {
  74989. call$1(node) {
  74990. return node instanceof A.ModifiableCssStyleRule;
  74991. },
  74992. $signature: 9
  74993. };
  74994. A._EvaluationContext.prototype = {
  74995. get$currentCallableSpan() {
  74996. var callableNode, t1,
  74997. _0_0 = this._visitor._callableNode;
  74998. if (_0_0 != null) {
  74999. callableNode = _0_0;
  75000. t1 = true;
  75001. } else {
  75002. callableNode = null;
  75003. t1 = false;
  75004. }
  75005. if (t1)
  75006. return callableNode.get$span(callableNode);
  75007. throw A.wrapException(A.StateError$(string$.No_Sasc));
  75008. },
  75009. warn$2(_, message, deprecation) {
  75010. var t1 = this._visitor,
  75011. t2 = t1._importSpan;
  75012. if (t2 == null) {
  75013. t2 = t1._callableNode;
  75014. t2 = t2 == null ? null : t2.get$span(t2);
  75015. }
  75016. if (t2 == null) {
  75017. t2 = this._defaultWarnNodeWithSpan;
  75018. t2 = t2.get$span(t2);
  75019. }
  75020. t1._warn$3(message, t2, deprecation);
  75021. },
  75022. $isEvaluationContext: 1
  75023. };
  75024. A.EveryCssVisitor.prototype = {
  75025. visitCssAtRule$1(node) {
  75026. var t1 = node.children;
  75027. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure(this));
  75028. },
  75029. visitCssComment$1(node) {
  75030. return false;
  75031. },
  75032. visitCssDeclaration$1(node) {
  75033. return false;
  75034. },
  75035. visitCssImport$1(node) {
  75036. return false;
  75037. },
  75038. visitCssKeyframeBlock$1(node) {
  75039. var t1 = node.children;
  75040. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure(this));
  75041. },
  75042. visitCssMediaRule$1(node) {
  75043. var t1 = node.children;
  75044. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure(this));
  75045. },
  75046. visitCssStyleRule$1(node) {
  75047. var t1 = node.children;
  75048. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure(this));
  75049. },
  75050. visitCssStylesheet$1(node) {
  75051. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure(this));
  75052. },
  75053. visitCssSupportsRule$1(node) {
  75054. var t1 = node.children;
  75055. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure(this));
  75056. }
  75057. };
  75058. A.EveryCssVisitor_visitCssAtRule_closure.prototype = {
  75059. call$1(child) {
  75060. return child.accept$1(this.$this);
  75061. },
  75062. $signature: 9
  75063. };
  75064. A.EveryCssVisitor_visitCssKeyframeBlock_closure.prototype = {
  75065. call$1(child) {
  75066. return child.accept$1(this.$this);
  75067. },
  75068. $signature: 9
  75069. };
  75070. A.EveryCssVisitor_visitCssMediaRule_closure.prototype = {
  75071. call$1(child) {
  75072. return child.accept$1(this.$this);
  75073. },
  75074. $signature: 9
  75075. };
  75076. A.EveryCssVisitor_visitCssStyleRule_closure.prototype = {
  75077. call$1(child) {
  75078. return child.accept$1(this.$this);
  75079. },
  75080. $signature: 9
  75081. };
  75082. A.EveryCssVisitor_visitCssStylesheet_closure.prototype = {
  75083. call$1(child) {
  75084. return child.accept$1(this.$this);
  75085. },
  75086. $signature: 9
  75087. };
  75088. A.EveryCssVisitor_visitCssSupportsRule_closure.prototype = {
  75089. call$1(child) {
  75090. return child.accept$1(this.$this);
  75091. },
  75092. $signature: 9
  75093. };
  75094. A._MakeExpressionCalculationSafe.prototype = {
  75095. visitBinaryOperationExpression$1(node) {
  75096. var t1, t2, t3;
  75097. if (node.operator === B.BinaryOperator_OTG) {
  75098. t1 = A._setArrayType([node], type$.JSArray_Expression);
  75099. t2 = node.get$span(node);
  75100. t3 = type$.Expression;
  75101. t2 = new A.FunctionExpression("math", "max", new A.ArgumentInvocation(A.List_List$unmodifiable(t1, t3), A.ConstantMap_ConstantMap$from(B.Map_empty6, type$.String, t3), null, null, t2), node.get$span(node));
  75102. t1 = t2;
  75103. } else
  75104. t1 = this.super$ReplaceExpressionVisitor$visitBinaryOperationExpression(node);
  75105. return t1;
  75106. },
  75107. visitInterpolatedFunctionExpression$1(node) {
  75108. return node;
  75109. },
  75110. visitUnaryOperationExpression$1(node) {
  75111. var t1,
  75112. _0_0 = node.operator;
  75113. $label0$0: {
  75114. if (B.UnaryOperator_gg4 === _0_0) {
  75115. t1 = node.operand;
  75116. break $label0$0;
  75117. }
  75118. if (B.UnaryOperator_TLI === _0_0) {
  75119. t1 = new A.BinaryOperationExpression(B.BinaryOperator_qN2, new A.NumberExpression(-1, null, node.span), node.operand, false);
  75120. break $label0$0;
  75121. }
  75122. t1 = this.super$ReplaceExpressionVisitor$visitUnaryOperationExpression(node);
  75123. break $label0$0;
  75124. }
  75125. return t1;
  75126. }
  75127. };
  75128. A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor.prototype = {};
  75129. A._FindDependenciesVisitor.prototype = {
  75130. visitEachRule$1(node) {
  75131. },
  75132. visitForRule$1(node) {
  75133. },
  75134. visitIfRule$1(node) {
  75135. },
  75136. visitWhileRule$1(node) {
  75137. },
  75138. visitUseRule$1(node) {
  75139. var t1 = node.url;
  75140. if (t1.get$scheme() !== "sass")
  75141. this._find_dependencies$_uses.add$1(0, t1);
  75142. else if (t1.toString$0(0) === "sass:meta")
  75143. this._metaNamespaces.add$1(0, node.namespace);
  75144. },
  75145. visitForwardRule$1(node) {
  75146. var t1 = node.url;
  75147. if (t1.get$scheme() !== "sass")
  75148. this._find_dependencies$_forwards.add$1(0, t1);
  75149. },
  75150. visitImportRule$1(node) {
  75151. var t1, t2, t3, _i, $import;
  75152. for (t1 = node.imports, t2 = t1.length, t3 = this._imports, _i = 0; _i < t2; ++_i) {
  75153. $import = t1[_i];
  75154. if ($import instanceof A.DynamicImport)
  75155. t3.add$1(0, A.Uri_parse($import.urlString));
  75156. }
  75157. },
  75158. visitIncludeRule$1(node) {
  75159. var url, _0_0, _0_4, _0_7, t1, exception;
  75160. if (node.name !== "load-css")
  75161. return;
  75162. if (!this._metaNamespaces.contains$1(0, node.namespace))
  75163. return;
  75164. url = null;
  75165. _0_0 = node.$arguments.positional;
  75166. _0_4 = A._InitializedCell$(new A._FindDependenciesVisitor_visitIncludeRule_closure(_0_0));
  75167. _0_7 = A._InitializedCell$(new A._FindDependenciesVisitor_visitIncludeRule_closure0(_0_4));
  75168. if (_0_0.length === 1)
  75169. if (_0_4._readFinal$0() instanceof A.StringExpression)
  75170. if (_0_7._readFinal$0() != null) {
  75171. url = _0_7._readFinal$0();
  75172. t1 = true;
  75173. } else
  75174. t1 = false;
  75175. else
  75176. t1 = false;
  75177. else
  75178. t1 = false;
  75179. if (t1)
  75180. try {
  75181. this._metaLoadCss.add$1(0, A.Uri_parse(url));
  75182. } catch (exception) {
  75183. if (!type$.FormatException._is(A.unwrapException(exception)))
  75184. throw exception;
  75185. }
  75186. }
  75187. };
  75188. A._FindDependenciesVisitor_visitIncludeRule_closure.prototype = {
  75189. call$0() {
  75190. return this._0_0[0];
  75191. },
  75192. $signature: 612
  75193. };
  75194. A._FindDependenciesVisitor_visitIncludeRule_closure0.prototype = {
  75195. call$0() {
  75196. return this._0_4._readFinal$0().text.get$asPlain();
  75197. },
  75198. $signature: 30
  75199. };
  75200. A.DependencyReport.prototype = {};
  75201. A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor.prototype = {};
  75202. A.RecursiveStatementVisitor.prototype = {
  75203. visitAtRootRule$1(node) {
  75204. this.visitChildren$1(node.children);
  75205. },
  75206. visitAtRule$1(node) {
  75207. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  75208. },
  75209. visitContentBlock$1(node) {
  75210. return null;
  75211. },
  75212. visitContentRule$1(node) {
  75213. },
  75214. visitDebugRule$1(node) {
  75215. },
  75216. visitDeclaration$1(node) {
  75217. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  75218. },
  75219. visitEachRule$1(node) {
  75220. return this.visitChildren$1(node.children);
  75221. },
  75222. visitErrorRule$1(node) {
  75223. },
  75224. visitExtendRule$1(node) {
  75225. },
  75226. visitForRule$1(node) {
  75227. return this.visitChildren$1(node.children);
  75228. },
  75229. visitForwardRule$1(node) {
  75230. },
  75231. visitFunctionRule$1(node) {
  75232. return null;
  75233. },
  75234. visitIfRule$1(node) {
  75235. var t1, t2, _i, t3, t4, _i0, _0_0, lastClause;
  75236. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i)
  75237. for (t3 = t1[_i].children, t4 = t3.length, _i0 = 0; _i0 < t4; ++_i0)
  75238. t3[_i0].accept$1(this);
  75239. _0_0 = node.lastClause;
  75240. if (_0_0 != null) {
  75241. lastClause = _0_0;
  75242. t1 = true;
  75243. } else {
  75244. lastClause = null;
  75245. t1 = false;
  75246. }
  75247. if (t1)
  75248. for (t1 = lastClause.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  75249. t1[_i].accept$1(this);
  75250. },
  75251. visitImportRule$1(node) {
  75252. },
  75253. visitIncludeRule$1(node) {
  75254. return A.NullableExtension_andThen(node.content, this.get$visitContentBlock());
  75255. },
  75256. visitLoudComment$1(node) {
  75257. },
  75258. visitMediaRule$1(node) {
  75259. return this.visitChildren$1(node.children);
  75260. },
  75261. visitMixinRule$1(node) {
  75262. return null;
  75263. },
  75264. visitReturnRule$1(node) {
  75265. },
  75266. visitSilentComment$1(node) {
  75267. },
  75268. visitStyleRule$1(node) {
  75269. return this.visitChildren$1(node.children);
  75270. },
  75271. visitStylesheet$1(node) {
  75272. return this.visitChildren$1(node.children);
  75273. },
  75274. visitSupportsRule$1(node) {
  75275. return this.visitChildren$1(node.children);
  75276. },
  75277. visitUseRule$1(node) {
  75278. },
  75279. visitVariableDeclaration$1(node) {
  75280. },
  75281. visitWarnRule$1(node) {
  75282. },
  75283. visitWhileRule$1(node) {
  75284. return this.visitChildren$1(node.children);
  75285. },
  75286. visitChildren$1(children) {
  75287. var t1;
  75288. for (t1 = J.get$iterator$ax(children); t1.moveNext$0();)
  75289. t1.get$current(t1).accept$1(this);
  75290. }
  75291. };
  75292. A.ReplaceExpressionVisitor.prototype = {
  75293. visitBinaryOperationExpression$1(node) {
  75294. return new A.BinaryOperationExpression(node.operator, node.left.accept$1(this), node.right.accept$1(this), false);
  75295. },
  75296. visitBooleanExpression$1(node) {
  75297. return node;
  75298. },
  75299. visitColorExpression$1(node) {
  75300. return node;
  75301. },
  75302. visitFunctionExpression$1(node) {
  75303. return new A.FunctionExpression(node.namespace, node.originalName, this.visitArgumentInvocation$1(node.$arguments), node.span);
  75304. },
  75305. visitInterpolatedFunctionExpression$1(node) {
  75306. return new A.InterpolatedFunctionExpression(this.visitInterpolation$1(node.name), this.visitArgumentInvocation$1(node.$arguments), node.span);
  75307. },
  75308. visitIfExpression$1(node) {
  75309. return new A.IfExpression(this.visitArgumentInvocation$1(node.$arguments), node.span);
  75310. },
  75311. visitListExpression$1(node) {
  75312. var t1 = node.contents;
  75313. return new A.ListExpression(A.List_List$unmodifiable(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitListExpression_closure(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Expression>")), type$.Expression), node.separator, node.hasBrackets, node.span);
  75314. },
  75315. visitMapExpression$1(node) {
  75316. var t2, t3, _i, t4, key, value,
  75317. t1 = A._setArrayType([], type$.JSArray_Record_2_Expression_and_Expression);
  75318. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  75319. t4 = t2[_i];
  75320. key = t4._0;
  75321. value = t4._1;
  75322. t1.push(new A._Record_2(key.accept$1(this), value.accept$1(this)));
  75323. }
  75324. return new A.MapExpression(A.List_List$unmodifiable(t1, type$.Record_2_Expression_and_Expression), node.span);
  75325. },
  75326. visitNullExpression$1(node) {
  75327. return node;
  75328. },
  75329. visitNumberExpression$1(node) {
  75330. return node;
  75331. },
  75332. visitParenthesizedExpression$1(node) {
  75333. return new A.ParenthesizedExpression(node.expression.accept$1(this), node.span);
  75334. },
  75335. visitSelectorExpression$1(node) {
  75336. return node;
  75337. },
  75338. visitStringExpression$1(node) {
  75339. return new A.StringExpression(this.visitInterpolation$1(node.text), node.hasQuotes);
  75340. },
  75341. visitSupportsExpression$1(node) {
  75342. return new A.SupportsExpression(this.visitSupportsCondition$1(node.condition));
  75343. },
  75344. visitUnaryOperationExpression$1(node) {
  75345. return new A.UnaryOperationExpression(node.operator, node.operand.accept$1(this), node.span);
  75346. },
  75347. visitValueExpression$1(node) {
  75348. return node;
  75349. },
  75350. visitVariableExpression$1(node) {
  75351. return node;
  75352. },
  75353. visitArgumentInvocation$1(invocation) {
  75354. var t5, t6, _this = this,
  75355. t1 = invocation.positional,
  75356. t2 = type$.String,
  75357. t3 = type$.Expression,
  75358. t4 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  75359. for (t5 = A.MapExtensions_get_pairs(invocation.named, t2, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  75360. t6 = t5.get$current(t5);
  75361. t4.$indexSet(0, t6._0, t6._1.accept$1(_this));
  75362. }
  75363. t5 = invocation.rest;
  75364. t5 = t5 == null ? null : t5.accept$1(_this);
  75365. t6 = invocation.keywordRest;
  75366. t6 = t6 == null ? null : t6.accept$1(_this);
  75367. return new A.ArgumentInvocation(A.List_List$unmodifiable(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitArgumentInvocation_closure(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Expression>")), t3), A.ConstantMap_ConstantMap$from(t4, t2, t3), t5, t6, invocation.span);
  75368. },
  75369. visitSupportsCondition$1(condition) {
  75370. var _this = this;
  75371. if (condition instanceof A.SupportsOperation)
  75372. return A.SupportsOperation$(_this.visitSupportsCondition$1(condition.left), _this.visitSupportsCondition$1(condition.right), condition.operator, condition.span);
  75373. else if (condition instanceof A.SupportsNegation)
  75374. return new A.SupportsNegation(_this.visitSupportsCondition$1(condition.condition), condition.span);
  75375. else if (condition instanceof A.SupportsInterpolation)
  75376. return new A.SupportsInterpolation(condition.expression.accept$1(_this), condition.span);
  75377. else if (condition instanceof A.SupportsDeclaration)
  75378. return new A.SupportsDeclaration(condition.name.accept$1(_this), condition.value.accept$1(_this), condition.span);
  75379. else
  75380. throw A.wrapException(A.SassException$("BUG: Unknown SupportsCondition " + condition.toString$0(0) + ".", condition.get$span(condition), null));
  75381. },
  75382. visitInterpolation$1(interpolation) {
  75383. var t1 = interpolation.contents;
  75384. return A.Interpolation$(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitInterpolation_closure(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object>")), interpolation.span);
  75385. }
  75386. };
  75387. A.ReplaceExpressionVisitor_visitListExpression_closure.prototype = {
  75388. call$1(item) {
  75389. return item.accept$1(this.$this);
  75390. },
  75391. $signature: 163
  75392. };
  75393. A.ReplaceExpressionVisitor_visitArgumentInvocation_closure.prototype = {
  75394. call$1(expression) {
  75395. return expression.accept$1(this.$this);
  75396. },
  75397. $signature: 163
  75398. };
  75399. A.ReplaceExpressionVisitor_visitInterpolation_closure.prototype = {
  75400. call$1(node) {
  75401. return type$.Expression._is(node) ? node.accept$1(this.$this) : node;
  75402. },
  75403. $signature: 74
  75404. };
  75405. A.SelectorSearchVisitor.prototype = {
  75406. visitAttributeSelector$1(attribute) {
  75407. return null;
  75408. },
  75409. visitClassSelector$1(klass) {
  75410. return null;
  75411. },
  75412. visitIDSelector$1(id) {
  75413. return null;
  75414. },
  75415. visitParentSelector$1(placeholder) {
  75416. return null;
  75417. },
  75418. visitPlaceholderSelector$1(placeholder) {
  75419. return null;
  75420. },
  75421. visitTypeSelector$1(type) {
  75422. return null;
  75423. },
  75424. visitUniversalSelector$1(universal) {
  75425. return null;
  75426. },
  75427. visitComplexSelector$1(complex) {
  75428. return A.IterableExtension_search(complex.components, new A.SelectorSearchVisitor_visitComplexSelector_closure(this));
  75429. },
  75430. visitCompoundSelector$1(compound) {
  75431. return A.IterableExtension_search(compound.components, new A.SelectorSearchVisitor_visitCompoundSelector_closure(this));
  75432. },
  75433. visitPseudoSelector$1(pseudo) {
  75434. return A.NullableExtension_andThen(pseudo.selector, this.get$visitSelectorList());
  75435. },
  75436. visitSelectorList$1(list) {
  75437. return A.IterableExtension_search(list.components, this.get$visitComplexSelector());
  75438. }
  75439. };
  75440. A.SelectorSearchVisitor_visitComplexSelector_closure.prototype = {
  75441. call$1(component) {
  75442. return this.$this.visitCompoundSelector$1(component.selector);
  75443. },
  75444. $signature() {
  75445. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor.T?(ComplexSelectorComponent)");
  75446. }
  75447. };
  75448. A.SelectorSearchVisitor_visitCompoundSelector_closure.prototype = {
  75449. call$1(simple) {
  75450. return simple.accept$1(this.$this);
  75451. },
  75452. $signature() {
  75453. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor.T?(SimpleSelector)");
  75454. }
  75455. };
  75456. A.serialize_closure.prototype = {
  75457. call$1(codeUnit) {
  75458. return codeUnit > 127;
  75459. },
  75460. $signature: 48
  75461. };
  75462. A._SerializeVisitor.prototype = {
  75463. visitCssStylesheet$1(node) {
  75464. var t1, t2, t3, t4, t5, t6, previous, previous0, t7, _this = this;
  75465. for (t1 = J.get$iterator$ax(node.get$children(node)), t2 = !_this._inspect, t3 = _this._style === B.OutputStyle_1, t4 = !t3, t5 = type$.CssParentNode, t6 = _this._serialize$_buffer, previous = null; t1.moveNext$0();) {
  75466. previous0 = t1.get$current(t1);
  75467. if (t2)
  75468. t7 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  75469. else
  75470. t7 = false;
  75471. if (t7)
  75472. continue;
  75473. if (previous != null) {
  75474. if (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment))
  75475. t6.writeCharCode$1(59);
  75476. if (_this._isTrailingComment$2(previous0, previous)) {
  75477. if (t4)
  75478. t6.writeCharCode$1(32);
  75479. } else {
  75480. if (t4)
  75481. t6.write$1(0, "\n");
  75482. if (previous.get$isGroupEnd())
  75483. if (t4)
  75484. t6.write$1(0, "\n");
  75485. }
  75486. }
  75487. previous0.accept$1(_this);
  75488. previous = previous0;
  75489. }
  75490. if (previous != null)
  75491. t1 = (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment)) && t4;
  75492. else
  75493. t1 = false;
  75494. if (t1)
  75495. t6.writeCharCode$1(59);
  75496. },
  75497. visitCssComment$1(node) {
  75498. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure(this, node));
  75499. },
  75500. visitCssAtRule$1(node) {
  75501. var t1, _this = this;
  75502. _this._writeIndentation$0();
  75503. t1 = _this._serialize$_buffer;
  75504. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure(_this, node));
  75505. if (!node.isChildless) {
  75506. if (_this._style !== B.OutputStyle_1)
  75507. t1.writeCharCode$1(32);
  75508. _this._serialize$_visitChildren$1(node);
  75509. }
  75510. },
  75511. visitCssMediaRule$1(node) {
  75512. var t1, _this = this;
  75513. _this._writeIndentation$0();
  75514. t1 = _this._serialize$_buffer;
  75515. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure(_this, node));
  75516. if (_this._style !== B.OutputStyle_1)
  75517. t1.writeCharCode$1(32);
  75518. _this._serialize$_visitChildren$1(node);
  75519. },
  75520. visitCssImport$1(node) {
  75521. this._writeIndentation$0();
  75522. this._serialize$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure(this, node));
  75523. },
  75524. _writeImportUrl$1(url) {
  75525. var urlContents, maybeQuote, _this = this;
  75526. if (_this._style !== B.OutputStyle_1 || url.charCodeAt(0) !== 117) {
  75527. _this._serialize$_buffer.write$1(0, url);
  75528. return;
  75529. }
  75530. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  75531. maybeQuote = urlContents.charCodeAt(0);
  75532. if (maybeQuote === 39 || maybeQuote === 34)
  75533. _this._serialize$_buffer.write$1(0, urlContents);
  75534. else
  75535. _this._visitQuotedString$1(urlContents);
  75536. },
  75537. visitCssKeyframeBlock$1(node) {
  75538. var t1, _this = this;
  75539. _this._writeIndentation$0();
  75540. t1 = _this._serialize$_buffer;
  75541. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure(_this, node));
  75542. if (_this._style !== B.OutputStyle_1)
  75543. t1.writeCharCode$1(32);
  75544. _this._serialize$_visitChildren$1(node);
  75545. },
  75546. _visitMediaQuery$1(query) {
  75547. var modifier, t1, _1_0, type, _2_0, condition, operator, t2, _this = this,
  75548. _0_0 = query.modifier;
  75549. if (_0_0 != null) {
  75550. modifier = _0_0;
  75551. t1 = true;
  75552. } else {
  75553. modifier = null;
  75554. t1 = false;
  75555. }
  75556. if (t1) {
  75557. t1 = _this._serialize$_buffer;
  75558. t1.write$1(0, modifier);
  75559. t1.writeCharCode$1(32);
  75560. }
  75561. _1_0 = query.type;
  75562. if (_1_0 != null) {
  75563. type = _1_0;
  75564. t1 = true;
  75565. } else {
  75566. type = null;
  75567. t1 = false;
  75568. }
  75569. if (t1) {
  75570. t1 = _this._serialize$_buffer;
  75571. t1.write$1(0, type);
  75572. if (query.conditions.length !== 0)
  75573. t1.write$1(0, " and ");
  75574. }
  75575. _2_0 = query.conditions;
  75576. if (_2_0.length === 1)
  75577. t1 = B.JSString_methods.startsWith$1(_2_0[0], "(not ");
  75578. else
  75579. t1 = false;
  75580. if (t1) {
  75581. t1 = _this._serialize$_buffer;
  75582. t1.write$1(0, "not ");
  75583. condition = B.JSArray_methods.get$first(_2_0);
  75584. t1.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  75585. } else {
  75586. operator = query.conjunction ? "and" : "or";
  75587. t1 = _this._style === B.OutputStyle_1 ? operator + " " : " " + operator + " ";
  75588. t2 = _this._serialize$_buffer;
  75589. _this._writeBetween$3(_2_0, t1, t2.get$write(t2));
  75590. }
  75591. },
  75592. visitCssStyleRule$1(node) {
  75593. var t1, _this = this;
  75594. _this._writeIndentation$0();
  75595. t1 = _this._serialize$_buffer;
  75596. t1.forSpan$2(node._style_rule$_selector._box$_inner.value.span, new A._SerializeVisitor_visitCssStyleRule_closure(_this, node));
  75597. if (_this._style !== B.OutputStyle_1)
  75598. t1.writeCharCode$1(32);
  75599. _this._serialize$_visitChildren$1(node);
  75600. },
  75601. visitCssSupportsRule$1(node) {
  75602. var t1, _this = this;
  75603. _this._writeIndentation$0();
  75604. t1 = _this._serialize$_buffer;
  75605. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure(_this, node));
  75606. if (_this._style !== B.OutputStyle_1)
  75607. t1.writeCharCode$1(32);
  75608. _this._serialize$_visitChildren$1(node);
  75609. },
  75610. visitCssDeclaration$1(node) {
  75611. var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
  75612. _this._writeIndentation$0();
  75613. t1 = node.name;
  75614. _this._serialize$_write$1(t1);
  75615. t2 = _this._serialize$_buffer;
  75616. t2.writeCharCode$1(58);
  75617. if (J.startsWith$1$s(t1.value, "--") && node.parsedAsCustomProperty)
  75618. t2.forSpan$2(node.value.span, new A._SerializeVisitor_visitCssDeclaration_closure(_this, node));
  75619. else {
  75620. if (_this._style !== B.OutputStyle_1)
  75621. t2.writeCharCode$1(32);
  75622. try {
  75623. t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure0(_this, node));
  75624. } catch (exception) {
  75625. t1 = A.unwrapException(exception);
  75626. if (t1 instanceof A.MultiSpanSassScriptException) {
  75627. error = t1;
  75628. stackTrace = A.getTraceFromException(exception);
  75629. A.throwWithTrace(A.MultiSpanSassException$(error.message, node.value.span, error.primaryLabel, error.secondarySpans, null), error, stackTrace);
  75630. } else if (t1 instanceof A.SassScriptException) {
  75631. error0 = t1;
  75632. stackTrace0 = A.getTraceFromException(exception);
  75633. t1 = error0.message;
  75634. A.throwWithTrace(new A.SassException(B.Set_empty, t1, node.value.span), error0, stackTrace0);
  75635. } else
  75636. throw exception;
  75637. }
  75638. }
  75639. },
  75640. _writeFoldedValue$1(node) {
  75641. var t1, t2, next, t3,
  75642. scanner = A.StringScanner$(type$.SassString._as(node.value.value)._string$_text, null, null);
  75643. for (t1 = scanner.string.length, t2 = this._serialize$_buffer; scanner._string_scanner$_position !== t1;) {
  75644. next = scanner.readChar$0();
  75645. if (next !== 10) {
  75646. t2.writeCharCode$1(next);
  75647. continue;
  75648. }
  75649. t2.writeCharCode$1(32);
  75650. while (true) {
  75651. t3 = scanner.peekChar$0();
  75652. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  75653. break;
  75654. scanner.readChar$0();
  75655. }
  75656. }
  75657. },
  75658. _writeReindentedValue$1(node) {
  75659. var _0_0, t1, _this = this,
  75660. value = type$.SassString._as(node.value.value)._string$_text;
  75661. $label0$0: {
  75662. _0_0 = _this._minimumIndentation$1(value);
  75663. if (_0_0 == null) {
  75664. _this._serialize$_buffer.write$1(0, value);
  75665. break $label0$0;
  75666. }
  75667. if (-1 === _0_0) {
  75668. t1 = _this._serialize$_buffer;
  75669. t1.write$1(0, A.trimAsciiRight(value, true));
  75670. t1.writeCharCode$1(32);
  75671. break $label0$0;
  75672. }
  75673. t1 = node.name.span;
  75674. t1 = t1.get$start(t1);
  75675. _this._writeWithIndent$2(value, Math.min(_0_0, t1.file.getColumn$1(t1.offset)));
  75676. }
  75677. },
  75678. _minimumIndentation$1(text) {
  75679. var character, t2, min, next, min0,
  75680. scanner = A.LineScanner$(text),
  75681. t1 = scanner.string.length;
  75682. while (true) {
  75683. if (scanner._string_scanner$_position !== t1) {
  75684. character = scanner.super$StringScanner$readChar();
  75685. scanner._adjustLineAndColumn$1(character);
  75686. t2 = character !== 10;
  75687. } else
  75688. t2 = false;
  75689. if (!t2)
  75690. break;
  75691. }
  75692. if (scanner._string_scanner$_position === t1)
  75693. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  75694. for (min = null; scanner._string_scanner$_position !== t1;) {
  75695. for (; scanner._string_scanner$_position !== t1;) {
  75696. next = scanner.peekChar$0();
  75697. if (next !== 32 && next !== 9)
  75698. break;
  75699. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  75700. }
  75701. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  75702. continue;
  75703. min0 = scanner._line_scanner$_column;
  75704. min = min == null ? min0 : Math.min(min, min0);
  75705. while (true) {
  75706. if (scanner._string_scanner$_position !== t1) {
  75707. character = scanner.super$StringScanner$readChar();
  75708. scanner._adjustLineAndColumn$1(character);
  75709. t2 = character !== 10;
  75710. } else
  75711. t2 = false;
  75712. if (!t2)
  75713. break;
  75714. }
  75715. }
  75716. return min == null ? -1 : min;
  75717. },
  75718. _writeWithIndent$2(text, minimumIndentation) {
  75719. var t1, t2, t3, character, lineStart, newlines, end,
  75720. scanner = A.LineScanner$(text);
  75721. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize$_buffer; scanner._string_scanner$_position !== t2;) {
  75722. character = scanner.super$StringScanner$readChar();
  75723. scanner._adjustLineAndColumn$1(character);
  75724. if (character === 10)
  75725. break;
  75726. t3.writeCharCode$1(character);
  75727. }
  75728. for (; true;) {
  75729. lineStart = scanner._string_scanner$_position;
  75730. for (newlines = 1; true;) {
  75731. if (scanner._string_scanner$_position === t2) {
  75732. t3.writeCharCode$1(32);
  75733. return;
  75734. }
  75735. $label0$2: {
  75736. character = scanner.super$StringScanner$readChar();
  75737. scanner._adjustLineAndColumn$1(character);
  75738. if (32 === character || 9 === character)
  75739. continue;
  75740. if (10 === character) {
  75741. lineStart = scanner._string_scanner$_position;
  75742. ++newlines;
  75743. break $label0$2;
  75744. }
  75745. break;
  75746. }
  75747. }
  75748. this._writeTimes$2(10, newlines);
  75749. this._writeIndentation$0();
  75750. end = scanner._string_scanner$_position;
  75751. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  75752. for (; true;) {
  75753. if (scanner._string_scanner$_position === t2)
  75754. return;
  75755. character = scanner.super$StringScanner$readChar();
  75756. scanner._adjustLineAndColumn$1(character);
  75757. if (character === 10)
  75758. break;
  75759. t3.writeCharCode$1(character);
  75760. }
  75761. }
  75762. },
  75763. visitCalculation$1(value) {
  75764. var t2, _this = this,
  75765. t1 = _this._serialize$_buffer;
  75766. t1.write$1(0, value.name);
  75767. t1.writeCharCode$1(40);
  75768. t2 = _this._style === B.OutputStyle_1 ? "," : ", ";
  75769. _this._writeBetween$3(value.$arguments, t2, _this.get$_writeCalculationValue());
  75770. t1.writeCharCode$1(41);
  75771. },
  75772. _writeCalculationValue$1(value) {
  75773. var _2_4, t1, _0_0, _1_0, first, rest, t2, operator, left, right, parenthesizeLeft, operatorWhitespace, parenthesizeRight, _this = this, _null = null;
  75774. $label1$1: {
  75775. _2_4 = A._InitializedCell$(new A._SerializeVisitor__writeCalculationValue_closure(value));
  75776. t1 = value instanceof A.SassNumber;
  75777. if (t1 && _2_4._readFinal$0() && !_this._inspect)
  75778. throw A.wrapException(A.SassScriptException$(A.S(value) + " isn't a valid CSS value.", _null));
  75779. if (t1 && !isFinite(value._number$_value)) {
  75780. $label0$0: {
  75781. _0_0 = value._number$_value;
  75782. if (1 / 0 === _0_0) {
  75783. _this._serialize$_buffer.write$1(0, "infinity");
  75784. break $label0$0;
  75785. }
  75786. if (-1 / 0 === _0_0) {
  75787. _this._serialize$_buffer.write$1(0, "-infinity");
  75788. break $label0$0;
  75789. }
  75790. if (isNaN(_0_0))
  75791. _this._serialize$_buffer.write$1(0, "NaN");
  75792. }
  75793. t1 = J.getInterceptor$x(value);
  75794. _this._writeCalculationUnits$2(t1.get$numeratorUnits(value), t1.get$denominatorUnits(value));
  75795. break $label1$1;
  75796. }
  75797. if (t1 && _2_4._readFinal$0()) {
  75798. _this._writeNumber$1(value._number$_value);
  75799. t1 = J.getInterceptor$x(value);
  75800. _1_0 = t1.get$numeratorUnits(value);
  75801. if (_1_0.length >= 1) {
  75802. first = _1_0[0];
  75803. rest = B.JSArray_methods.sublist$1(_1_0, 1);
  75804. t2 = true;
  75805. } else {
  75806. rest = _null;
  75807. first = rest;
  75808. t2 = false;
  75809. }
  75810. if (t2) {
  75811. _this._serialize$_buffer.write$1(0, first);
  75812. _this._writeCalculationUnits$2(rest, t1.get$denominatorUnits(value));
  75813. } else
  75814. _this._writeCalculationUnits$2(A._setArrayType([], type$.JSArray_String), t1.get$denominatorUnits(value));
  75815. break $label1$1;
  75816. }
  75817. if (value instanceof A.Value) {
  75818. value.accept$1(_this);
  75819. break $label1$1;
  75820. }
  75821. if (value instanceof A.CalculationOperation) {
  75822. operator = value._operator;
  75823. left = value._left;
  75824. right = value._right;
  75825. right = right;
  75826. t1 = true;
  75827. } else {
  75828. right = _null;
  75829. left = right;
  75830. operator = left;
  75831. t1 = false;
  75832. }
  75833. if (t1) {
  75834. parenthesizeLeft = left instanceof A.CalculationOperation && left._operator.precedence < operator.precedence;
  75835. if (parenthesizeLeft)
  75836. _this._serialize$_buffer.writeCharCode$1(40);
  75837. _this._writeCalculationValue$1(left);
  75838. if (parenthesizeLeft)
  75839. _this._serialize$_buffer.writeCharCode$1(41);
  75840. operatorWhitespace = _this._style !== B.OutputStyle_1 || operator.precedence === 1;
  75841. if (operatorWhitespace)
  75842. _this._serialize$_buffer.writeCharCode$1(32);
  75843. t1 = _this._serialize$_buffer;
  75844. t1.write$1(0, operator.operator);
  75845. if (operatorWhitespace)
  75846. t1.writeCharCode$1(32);
  75847. if (!(right instanceof A.CalculationOperation && _this._parenthesizeCalculationRhs$2(operator, right._operator)))
  75848. if (operator === B.CalculationOperator_OvN) {
  75849. if (right instanceof A.SassNumber)
  75850. t2 = isFinite(right._number$_value) ? right.get$hasComplexUnits() : right.get$hasUnits();
  75851. else
  75852. t2 = false;
  75853. parenthesizeRight = t2;
  75854. } else
  75855. parenthesizeRight = false;
  75856. else
  75857. parenthesizeRight = true;
  75858. if (parenthesizeRight)
  75859. t1.writeCharCode$1(40);
  75860. _this._writeCalculationValue$1(right);
  75861. if (parenthesizeRight)
  75862. t1.writeCharCode$1(41);
  75863. }
  75864. }
  75865. },
  75866. _writeCalculationUnits$2(numeratorUnits, denominatorUnits) {
  75867. var t1, t2, t3, t4;
  75868. for (t1 = J.get$iterator$ax(numeratorUnits), t2 = this._serialize$_buffer, t3 = this._style !== B.OutputStyle_1; t1.moveNext$0();) {
  75869. t4 = t1.get$current(t1);
  75870. if (t3)
  75871. t2.writeCharCode$1(32);
  75872. t2.writeCharCode$1(42);
  75873. if (t3)
  75874. t2.writeCharCode$1(32);
  75875. t2.writeCharCode$1(49);
  75876. t2.write$1(0, t4);
  75877. }
  75878. for (t1 = J.get$iterator$ax(denominatorUnits); t1.moveNext$0();) {
  75879. t4 = t1.get$current(t1);
  75880. if (t3)
  75881. t2.writeCharCode$1(32);
  75882. t2.writeCharCode$1(47);
  75883. if (t3)
  75884. t2.writeCharCode$1(32);
  75885. t2.writeCharCode$1(49);
  75886. t2.write$1(0, t4);
  75887. }
  75888. },
  75889. _parenthesizeCalculationRhs$2(outer, right) {
  75890. var t1;
  75891. $label0$0: {
  75892. if (B.CalculationOperator_OvN === outer) {
  75893. t1 = true;
  75894. break $label0$0;
  75895. }
  75896. if (B.CalculationOperator_IyK === outer) {
  75897. t1 = false;
  75898. break $label0$0;
  75899. }
  75900. t1 = right === B.CalculationOperator_IyK || right === B.CalculationOperator_2bx;
  75901. break $label0$0;
  75902. }
  75903. return t1;
  75904. },
  75905. visitColor$1(value) {
  75906. var hexLength, _0_0, $name, t1, _1_0, format, opaque, t2, _3_0, _this = this;
  75907. if (_this._style === B.OutputStyle_1)
  75908. if (!A.fuzzyEquals(value._alpha, 1))
  75909. _this._writeRgb$1(value);
  75910. else {
  75911. hexLength = _this._canUseShortHex$1(value) ? 4 : 7;
  75912. _0_0 = $.$get$namesByColor().$index(0, value);
  75913. if (_0_0 != null) {
  75914. $name = _0_0;
  75915. t1 = true;
  75916. } else {
  75917. $name = null;
  75918. t1 = false;
  75919. }
  75920. if (t1 && $name.length <= hexLength)
  75921. _this._serialize$_buffer.write$1(0, $name);
  75922. else {
  75923. t1 = _this._serialize$_buffer;
  75924. if (_this._canUseShortHex$1(value)) {
  75925. t1.writeCharCode$1(35);
  75926. t1.writeCharCode$1(A.hexCharFor(value.get$red(value) & 15));
  75927. t1.writeCharCode$1(A.hexCharFor(value.get$green(value) & 15));
  75928. t1.writeCharCode$1(A.hexCharFor(value.get$blue(value) & 15));
  75929. } else {
  75930. t1.writeCharCode$1(35);
  75931. _this._writeHexComponent$1(value.get$red(value));
  75932. _this._writeHexComponent$1(value.get$green(value));
  75933. _this._writeHexComponent$1(value.get$blue(value));
  75934. }
  75935. }
  75936. }
  75937. else {
  75938. _1_0 = value.format;
  75939. if (_1_0 != null) {
  75940. format = _1_0;
  75941. t1 = true;
  75942. } else {
  75943. format = null;
  75944. t1 = false;
  75945. }
  75946. if (t1)
  75947. $label0$0: {
  75948. if (B._ColorFormatEnum_rgbFunction === format) {
  75949. _this._writeRgb$1(value);
  75950. break $label0$0;
  75951. }
  75952. if (B._ColorFormatEnum_hslFunction === format) {
  75953. t1 = value._alpha;
  75954. opaque = A.fuzzyEquals(t1, 1);
  75955. t2 = _this._serialize$_buffer;
  75956. t2.write$1(0, opaque ? "hsl(" : "hsla(");
  75957. _this._writeNumber$1(value.get$hue(value));
  75958. t2.write$1(0, ", ");
  75959. _this._writeNumber$1(value.get$saturation(value));
  75960. t2.writeCharCode$1(37);
  75961. t2.write$1(0, ", ");
  75962. _this._writeNumber$1(value.get$lightness(value));
  75963. t2.writeCharCode$1(37);
  75964. if (!opaque) {
  75965. t2.write$1(0, ", ");
  75966. _this._writeNumber$1(t1);
  75967. }
  75968. t2.writeCharCode$1(41);
  75969. break $label0$0;
  75970. }
  75971. if (format instanceof A.SpanColorFormat) {
  75972. _this._serialize$_buffer.write$1(0, format._color$_span.get$text());
  75973. break $label0$0;
  75974. }
  75975. }
  75976. else {
  75977. _3_0 = $.$get$namesByColor().$index(0, value);
  75978. if (_3_0 != null) {
  75979. $name = _3_0;
  75980. t1 = true;
  75981. } else {
  75982. $name = null;
  75983. t1 = false;
  75984. }
  75985. if (t1 && !A.fuzzyEquals(value._alpha, 0))
  75986. _this._serialize$_buffer.write$1(0, $name);
  75987. else if (A.fuzzyEquals(value._alpha, 1)) {
  75988. _this._serialize$_buffer.writeCharCode$1(35);
  75989. _this._writeHexComponent$1(value.get$red(value));
  75990. _this._writeHexComponent$1(value.get$green(value));
  75991. _this._writeHexComponent$1(value.get$blue(value));
  75992. } else
  75993. _this._writeRgb$1(value);
  75994. }
  75995. }
  75996. },
  75997. _writeRgb$1(value) {
  75998. var t3,
  75999. t1 = value._alpha,
  76000. opaque = A.fuzzyEquals(t1, 1),
  76001. t2 = this._serialize$_buffer;
  76002. t2.write$1(0, opaque ? "rgb(" : "rgba(");
  76003. t2.write$1(0, value.get$red(value));
  76004. t3 = this._style === B.OutputStyle_1;
  76005. t2.write$1(0, t3 ? "," : ", ");
  76006. t2.write$1(0, value.get$green(value));
  76007. t2.write$1(0, t3 ? "," : ", ");
  76008. t2.write$1(0, value.get$blue(value));
  76009. if (!opaque) {
  76010. t2.write$1(0, t3 ? "," : ", ");
  76011. this._writeNumber$1(t1);
  76012. }
  76013. t2.writeCharCode$1(41);
  76014. },
  76015. _canUseShortHex$1(color) {
  76016. var t1 = color.get$red(color);
  76017. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  76018. t1 = color.get$green(color);
  76019. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  76020. t1 = color.get$blue(color);
  76021. t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
  76022. } else
  76023. t1 = false;
  76024. } else
  76025. t1 = false;
  76026. return t1;
  76027. },
  76028. _writeHexComponent$1(color) {
  76029. var t1 = this._serialize$_buffer;
  76030. t1.writeCharCode$1(A.hexCharFor(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  76031. t1.writeCharCode$1(A.hexCharFor(color & 15));
  76032. },
  76033. visitList$1(value) {
  76034. var t2, t3, singleton, t4, t5, _this = this,
  76035. t1 = value._hasBrackets;
  76036. if (t1)
  76037. _this._serialize$_buffer.writeCharCode$1(91);
  76038. else if (value._list$_contents.length === 0) {
  76039. if (!_this._inspect)
  76040. throw A.wrapException(A.SassScriptException$("() isn't a valid CSS value.", null));
  76041. _this._serialize$_buffer.write$1(0, "()");
  76042. return;
  76043. }
  76044. t2 = _this._inspect;
  76045. if (t2)
  76046. if (value._list$_contents.length === 1) {
  76047. t3 = value._separator;
  76048. t3 = t3 === B.ListSeparator_rXA || t3 === B.ListSeparator_zg9;
  76049. singleton = t3;
  76050. } else
  76051. singleton = false;
  76052. else
  76053. singleton = false;
  76054. if (singleton && !t1)
  76055. _this._serialize$_buffer.writeCharCode$1(40);
  76056. t3 = value._list$_contents;
  76057. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  76058. t4 = value._separator;
  76059. t5 = _this._separatorString$1(t4);
  76060. _this._writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure0(_this, value) : new A._SerializeVisitor_visitList_closure1(_this));
  76061. if (singleton) {
  76062. t2 = _this._serialize$_buffer;
  76063. t2.write$1(0, t4.separator);
  76064. if (!t1)
  76065. t2.writeCharCode$1(41);
  76066. }
  76067. if (t1)
  76068. _this._serialize$_buffer.writeCharCode$1(93);
  76069. },
  76070. _separatorString$1(separator) {
  76071. var t1;
  76072. $label0$0: {
  76073. if (B.ListSeparator_rXA === separator) {
  76074. t1 = this._style === B.OutputStyle_1 ? "," : ", ";
  76075. break $label0$0;
  76076. }
  76077. if (B.ListSeparator_zg9 === separator) {
  76078. t1 = this._style === B.OutputStyle_1 ? "/" : " / ";
  76079. break $label0$0;
  76080. }
  76081. if (B.ListSeparator_EVt === separator) {
  76082. t1 = " ";
  76083. break $label0$0;
  76084. }
  76085. t1 = "";
  76086. break $label0$0;
  76087. }
  76088. return t1;
  76089. },
  76090. _elementNeedsParens$2(separator, value) {
  76091. var t1;
  76092. $label1$1: {
  76093. if (value instanceof A.SassList && value._list$_contents.length > 1 && !value._hasBrackets) {
  76094. $label0$0: {
  76095. if (B.ListSeparator_rXA === separator) {
  76096. t1 = value._separator === B.ListSeparator_rXA;
  76097. break $label0$0;
  76098. }
  76099. if (B.ListSeparator_zg9 === separator) {
  76100. t1 = value._separator;
  76101. t1 = t1 === B.ListSeparator_rXA || t1 === B.ListSeparator_zg9;
  76102. break $label0$0;
  76103. }
  76104. t1 = value._separator !== B.ListSeparator_undecided_null_undecided;
  76105. break $label0$0;
  76106. }
  76107. break $label1$1;
  76108. }
  76109. t1 = false;
  76110. break $label1$1;
  76111. }
  76112. return t1;
  76113. },
  76114. visitMap$1(map) {
  76115. var t1, t2, _this = this;
  76116. if (!_this._inspect)
  76117. throw A.wrapException(A.SassScriptException$(map.toString$0(0) + " isn't a valid CSS value.", null));
  76118. t1 = _this._serialize$_buffer;
  76119. t1.writeCharCode$1(40);
  76120. t2 = map._map$_contents;
  76121. _this._writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure(_this));
  76122. t1.writeCharCode$1(41);
  76123. },
  76124. _writeMapElement$1(value) {
  76125. var needsParens = value instanceof A.SassList && value._separator === B.ListSeparator_rXA && !value._hasBrackets;
  76126. if (needsParens)
  76127. this._serialize$_buffer.writeCharCode$1(40);
  76128. value.accept$1(this);
  76129. if (needsParens)
  76130. this._serialize$_buffer.writeCharCode$1(41);
  76131. },
  76132. visitNumber$1(value) {
  76133. var before, after, t1, _1_0, first, _this = this, _null = null,
  76134. _0_0 = value.asSlash;
  76135. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_0_0)) {
  76136. before = _0_0._0;
  76137. after = _0_0._1;
  76138. t1 = true;
  76139. } else {
  76140. after = _null;
  76141. before = after;
  76142. t1 = false;
  76143. }
  76144. if (t1) {
  76145. _this.visitNumber$1(before);
  76146. _this._serialize$_buffer.writeCharCode$1(47);
  76147. _this.visitNumber$1(after);
  76148. return;
  76149. }
  76150. t1 = value._number$_value;
  76151. if (!isFinite(t1)) {
  76152. _this.visitCalculation$1(new A.SassCalculation("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  76153. return;
  76154. }
  76155. if (value.get$hasComplexUnits()) {
  76156. if (!_this._inspect)
  76157. throw A.wrapException(A.SassScriptException$(value.toString$0(0) + " isn't a valid CSS value.", _null));
  76158. _this.visitCalculation$1(new A.SassCalculation("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  76159. } else {
  76160. _this._writeNumber$1(t1);
  76161. _1_0 = value.get$numeratorUnits(value);
  76162. if (_1_0.length === 1) {
  76163. first = _1_0[0];
  76164. t1 = true;
  76165. } else {
  76166. first = _null;
  76167. t1 = false;
  76168. }
  76169. if (t1)
  76170. _this._serialize$_buffer.write$1(0, first);
  76171. }
  76172. },
  76173. _writeNumber$1(number) {
  76174. var integer, t1, text, _this = this,
  76175. _0_0 = A.fuzzyAsInt(number);
  76176. if (_0_0 != null) {
  76177. integer = _0_0;
  76178. t1 = true;
  76179. } else {
  76180. integer = null;
  76181. t1 = false;
  76182. }
  76183. if (t1) {
  76184. _this._serialize$_buffer.write$1(0, _this._removeExponent$1(J.toString$0$(integer)));
  76185. return;
  76186. }
  76187. text = _this._removeExponent$1(B.JSNumber_methods.toString$0(number));
  76188. if (text.length < 12) {
  76189. if (_this._style === B.OutputStyle_1 && text.charCodeAt(0) === 48)
  76190. text = B.JSString_methods.substring$1(text, 1);
  76191. _this._serialize$_buffer.write$1(0, text);
  76192. return;
  76193. }
  76194. _this._writeRounded$1(text);
  76195. },
  76196. _removeExponent$1(text) {
  76197. var buffer, t2, t3, additionalZeroes,
  76198. negative = text.charCodeAt(0) === 45,
  76199. exponent = A._Cell$(),
  76200. t1 = text.length,
  76201. i = 0;
  76202. while (true) {
  76203. if (!(i < t1)) {
  76204. buffer = null;
  76205. break;
  76206. }
  76207. c$0: {
  76208. if (text.charCodeAt(i) !== 101)
  76209. break c$0;
  76210. buffer = new A.StringBuffer("");
  76211. t2 = buffer._contents = "" + A.Primitives_stringFromCharCode(text.charCodeAt(0));
  76212. if (negative) {
  76213. t2 += A.Primitives_stringFromCharCode(text.charCodeAt(1));
  76214. buffer._contents = t2;
  76215. if (i > 3)
  76216. buffer._contents = t2 + B.JSString_methods.substring$2(text, 3, i);
  76217. } else if (i > 2)
  76218. buffer._contents = t2 + B.JSString_methods.substring$2(text, 2, i);
  76219. exponent._value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t1), null);
  76220. break;
  76221. }
  76222. ++i;
  76223. }
  76224. if (buffer == null)
  76225. return text;
  76226. if (exponent._readLocal$0() > 0) {
  76227. t1 = exponent._readLocal$0();
  76228. t2 = buffer._contents;
  76229. t3 = negative ? 1 : 0;
  76230. additionalZeroes = t1 - (t2.length - 1 - t3);
  76231. for (t1 = t2, i = 0; i < additionalZeroes; ++i)
  76232. t1 = buffer._contents += A.Primitives_stringFromCharCode(48);
  76233. return t1.charCodeAt(0) == 0 ? t1 : t1;
  76234. } else {
  76235. negative = text.charCodeAt(0) === 45;
  76236. t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
  76237. t2 = exponent.__late_helper$_name;
  76238. i = -1;
  76239. while (true) {
  76240. t3 = exponent._value;
  76241. if (t3 === exponent)
  76242. A.throwExpression(A.LateError$localNI(t2));
  76243. if (!(i > t3))
  76244. break;
  76245. t1 += A.Primitives_stringFromCharCode(48);
  76246. --i;
  76247. }
  76248. if (negative) {
  76249. t2 = buffer._contents;
  76250. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  76251. } else
  76252. t2 = buffer;
  76253. t2 = t1 + A.S(t2);
  76254. return t2.charCodeAt(0) == 0 ? t2 : t2;
  76255. }
  76256. },
  76257. _writeRounded$1(text) {
  76258. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
  76259. if (B.JSString_methods.endsWith$1(text, ".0")) {
  76260. _this._serialize$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  76261. return;
  76262. }
  76263. t1 = text.length;
  76264. digits = new Uint8Array(t1 + 1);
  76265. negative = text.charCodeAt(0) === 45;
  76266. textIndex = negative ? 1 : 0;
  76267. for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  76268. if (textIndex === t1) {
  76269. _this._serialize$_buffer.write$1(0, text);
  76270. return;
  76271. }
  76272. textIndex0 = textIndex + 1;
  76273. codeUnit = text.charCodeAt(textIndex);
  76274. if (codeUnit === 46) {
  76275. textIndex = textIndex0;
  76276. break;
  76277. }
  76278. digitsIndex0 = digitsIndex + 1;
  76279. digits[digitsIndex] = codeUnit - 48;
  76280. }
  76281. indexAfterPrecision = textIndex + 10;
  76282. if (indexAfterPrecision >= t1) {
  76283. _this._serialize$_buffer.write$1(0, text);
  76284. return;
  76285. }
  76286. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  76287. digitsIndex1 = digitsIndex0 + 1;
  76288. textIndex0 = textIndex + 1;
  76289. digits[digitsIndex0] = text.charCodeAt(textIndex) - 48;
  76290. }
  76291. if (text.charCodeAt(textIndex) - 48 >= 5)
  76292. for (; true; digitsIndex0 = digitsIndex1) {
  76293. digitsIndex1 = digitsIndex0 - 1;
  76294. newDigit = digits[digitsIndex1] + 1;
  76295. digits[digitsIndex1] = newDigit;
  76296. if (newDigit !== 10)
  76297. break;
  76298. }
  76299. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  76300. digits[digitsIndex0] = 0;
  76301. while (true) {
  76302. t1 = digitsIndex0 > digitsIndex;
  76303. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  76304. break;
  76305. --digitsIndex0;
  76306. }
  76307. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  76308. _this._serialize$_buffer.writeCharCode$1(48);
  76309. return;
  76310. }
  76311. if (negative)
  76312. _this._serialize$_buffer.writeCharCode$1(45);
  76313. if (digits[0] === 0)
  76314. writtenIndex = _this._style === B.OutputStyle_1 && digits[1] === 0 ? 2 : 1;
  76315. else
  76316. writtenIndex = 0;
  76317. for (t2 = _this._serialize$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
  76318. t2.writeCharCode$1(48 + digits[writtenIndex]);
  76319. if (t1) {
  76320. t2.writeCharCode$1(46);
  76321. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  76322. t2.writeCharCode$1(48 + digits[writtenIndex]);
  76323. }
  76324. },
  76325. _visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  76326. var t1, includesSingleQuote, includesDoubleQuote, i, char, _1_2, _1_4, _0_0, newIndex, t2, quote, _this = this,
  76327. buffer = forceDoubleQuote ? _this._serialize$_buffer : new A.StringBuffer("");
  76328. if (forceDoubleQuote)
  76329. buffer.writeCharCode$1(34);
  76330. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  76331. char = string.charCodeAt(i);
  76332. _1_2 = A._InitializedCell$(new A._SerializeVisitor__visitQuotedString_closure(char));
  76333. _1_4 = A._InitializedCell$(new A._SerializeVisitor__visitQuotedString_closure0(char));
  76334. if (_1_2._readFinal$0() && forceDoubleQuote) {
  76335. buffer.writeCharCode$1(39);
  76336. continue;
  76337. }
  76338. if (_1_2._readFinal$0() && includesDoubleQuote) {
  76339. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  76340. return;
  76341. }
  76342. if (_1_2._readFinal$0()) {
  76343. buffer.writeCharCode$1(39);
  76344. includesSingleQuote = true;
  76345. continue;
  76346. }
  76347. if (_1_4._readFinal$0() && forceDoubleQuote) {
  76348. buffer.writeCharCode$1(92);
  76349. buffer.writeCharCode$1(34);
  76350. continue;
  76351. }
  76352. if (_1_4._readFinal$0() && includesSingleQuote) {
  76353. _this._visitQuotedString$2$forceDoubleQuote(string, true);
  76354. return;
  76355. }
  76356. if (_1_4._readFinal$0()) {
  76357. buffer.writeCharCode$1(34);
  76358. includesDoubleQuote = true;
  76359. continue;
  76360. }
  76361. if (0 === char || 1 === char || 2 === char || 3 === char || 4 === char || 5 === char || 6 === char || 7 === char || 8 === char || 10 === char || 11 === char || 12 === char || 13 === char || 14 === char || 15 === char || 16 === char || 17 === char || 18 === char || 19 === char || 20 === char || 21 === char || 22 === char || 23 === char || 24 === char || 25 === char || 26 === char || 27 === char || 28 === char || 29 === char || 30 === char || 31 === char || 127 === char) {
  76362. _this._writeEscape$4(buffer, char, string, i);
  76363. continue;
  76364. }
  76365. if (92 === char) {
  76366. buffer.writeCharCode$1(92);
  76367. buffer.writeCharCode$1(92);
  76368. continue;
  76369. }
  76370. _0_0 = _this._tryPrivateUseCharacter$4(buffer, char, string, i);
  76371. if (_0_0 != null) {
  76372. newIndex = _0_0;
  76373. t2 = true;
  76374. } else {
  76375. newIndex = null;
  76376. t2 = false;
  76377. }
  76378. if (t2)
  76379. i = newIndex;
  76380. else
  76381. buffer.writeCharCode$1(char);
  76382. }
  76383. if (forceDoubleQuote)
  76384. buffer.writeCharCode$1(34);
  76385. else {
  76386. quote = includesDoubleQuote ? 39 : 34;
  76387. t1 = _this._serialize$_buffer;
  76388. t1.writeCharCode$1(quote);
  76389. t1.write$1(0, buffer);
  76390. t1.writeCharCode$1(quote);
  76391. }
  76392. },
  76393. _visitQuotedString$1(string) {
  76394. return this._visitQuotedString$2$forceDoubleQuote(string, false);
  76395. },
  76396. _visitUnquotedString$1(string) {
  76397. var t1, t2, afterNewline, i, _1_0, _0_0, newIndex, t3;
  76398. for (t1 = string.length, t2 = this._serialize$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  76399. _1_0 = string.charCodeAt(i);
  76400. if (10 === _1_0) {
  76401. t2.writeCharCode$1(32);
  76402. afterNewline = true;
  76403. continue;
  76404. }
  76405. if (32 === _1_0) {
  76406. if (!afterNewline)
  76407. t2.writeCharCode$1(32);
  76408. continue;
  76409. }
  76410. _0_0 = this._tryPrivateUseCharacter$4(t2, _1_0, string, i);
  76411. if (_0_0 != null) {
  76412. newIndex = _0_0;
  76413. t3 = true;
  76414. } else {
  76415. newIndex = null;
  76416. t3 = false;
  76417. }
  76418. if (t3)
  76419. i = newIndex;
  76420. else
  76421. t2.writeCharCode$1(_1_0);
  76422. afterNewline = false;
  76423. }
  76424. },
  76425. _tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  76426. var t1;
  76427. if (this._style === B.OutputStyle_1)
  76428. return null;
  76429. if (codeUnit >= 57344 && codeUnit <= 63743) {
  76430. this._writeEscape$4(buffer, codeUnit, string, i);
  76431. return i;
  76432. }
  76433. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  76434. t1 = i + 1;
  76435. this._writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (string.charCodeAt(t1) & 1023), string, t1);
  76436. return t1;
  76437. }
  76438. return null;
  76439. },
  76440. _writeEscape$4(buffer, character, string, i) {
  76441. var t1, next;
  76442. buffer.writeCharCode$1(92);
  76443. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  76444. t1 = i + 1;
  76445. if (string.length === t1)
  76446. return;
  76447. next = string.charCodeAt(t1);
  76448. if (A.CharacterExtension_get_isHex(next) || 32 === next || 9 === next)
  76449. buffer.writeCharCode$1(32);
  76450. },
  76451. visitAttributeSelector$1(attribute) {
  76452. var _0_0, value, t2,
  76453. t1 = this._serialize$_buffer;
  76454. t1.writeCharCode$1(91);
  76455. t1.write$1(0, attribute.name);
  76456. _0_0 = attribute.value;
  76457. if (_0_0 != null) {
  76458. value = _0_0;
  76459. t2 = true;
  76460. } else {
  76461. value = null;
  76462. t2 = false;
  76463. }
  76464. if (t2) {
  76465. t1.write$1(0, attribute.op);
  76466. if (A.Parser_isIdentifier(value) && !J.startsWith$1$s(value, "--")) {
  76467. t1.write$1(0, value);
  76468. t2 = attribute.modifier;
  76469. if (t2 != null)
  76470. t1.writeCharCode$1(32);
  76471. } else {
  76472. this._visitQuotedString$1(value);
  76473. t2 = attribute.modifier;
  76474. if (t2 != null)
  76475. if (this._style !== B.OutputStyle_1)
  76476. t1.writeCharCode$1(32);
  76477. }
  76478. A.NullableExtension_andThen(t2, t1.get$write(t1));
  76479. }
  76480. t1.writeCharCode$1(93);
  76481. },
  76482. visitClassSelector$1(klass) {
  76483. var t1 = this._serialize$_buffer;
  76484. t1.writeCharCode$1(46);
  76485. t1.write$1(0, klass.name);
  76486. },
  76487. visitComplexSelector$1(complex) {
  76488. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  76489. t1 = complex.leadingCombinators;
  76490. _this._writeCombinators$1(t1);
  76491. if (t1.length >= 1 && complex.components.length >= 1)
  76492. if (_this._style !== B.OutputStyle_1)
  76493. _this._serialize$_buffer.writeCharCode$1(32);
  76494. 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) {
  76495. component = t1[i];
  76496. _this.visitCompoundSelector$1(component.selector);
  76497. t7 = component.combinators;
  76498. t8 = t7.length === 0;
  76499. if (!t8)
  76500. if (t6)
  76501. t4.writeCharCode$1(32);
  76502. t9 = t5 ? "" : " ";
  76503. _this._writeBetween$3(t7, t9, t4.get$write(t4));
  76504. if (i !== t3)
  76505. t7 = !t5 || t8;
  76506. else
  76507. t7 = false;
  76508. if (t7)
  76509. t4.writeCharCode$1(32);
  76510. }
  76511. },
  76512. _writeCombinators$1(combinators) {
  76513. var t1 = this._style === B.OutputStyle_1 ? "" : " ",
  76514. t2 = this._serialize$_buffer;
  76515. return this._writeBetween$3(combinators, t1, t2.get$write(t2));
  76516. },
  76517. visitCompoundSelector$1(compound) {
  76518. var t2, t3, _i,
  76519. t1 = this._serialize$_buffer,
  76520. start = t1.get$length(t1);
  76521. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  76522. t2[_i].accept$1(this);
  76523. if (t1.get$length(t1) === start)
  76524. t1.writeCharCode$1(42);
  76525. },
  76526. visitIDSelector$1(id) {
  76527. var t1 = this._serialize$_buffer;
  76528. t1.writeCharCode$1(35);
  76529. t1.write$1(0, id.name);
  76530. },
  76531. visitSelectorList$1(list) {
  76532. var t1, t2, t3, first, t4, _this = this,
  76533. complexes = list.components;
  76534. 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();) {
  76535. t4 = t1.get$current(t1);
  76536. if (first)
  76537. first = false;
  76538. else {
  76539. t3.writeCharCode$1(44);
  76540. if (t4.lineBreak) {
  76541. if (t2)
  76542. t3.write$1(0, "\n");
  76543. _this._writeIndentation$0();
  76544. } else if (t2)
  76545. t3.writeCharCode$1(32);
  76546. }
  76547. _this.visitComplexSelector$1(t4);
  76548. }
  76549. },
  76550. visitParentSelector$1($parent) {
  76551. var t1 = this._serialize$_buffer;
  76552. t1.writeCharCode$1(38);
  76553. A.NullableExtension_andThen($parent.suffix, t1.get$write(t1));
  76554. },
  76555. visitPlaceholderSelector$1(placeholder) {
  76556. var t1 = this._serialize$_buffer;
  76557. t1.writeCharCode$1(37);
  76558. t1.write$1(0, placeholder.name);
  76559. },
  76560. visitPseudoSelector$1(pseudo) {
  76561. var t2, t3,
  76562. _0_4 = A._InitializedCell$(new A._SerializeVisitor_visitPseudoSelector_closure(pseudo)),
  76563. t1 = pseudo.name;
  76564. if ("not" === t1 && _0_4._readFinal$0() instanceof A.SelectorList && _0_4._readFinal$0().accept$1(B._IsInvisibleVisitor_true))
  76565. return;
  76566. t2 = this._serialize$_buffer;
  76567. t2.writeCharCode$1(58);
  76568. if (!pseudo.isSyntacticClass)
  76569. t2.writeCharCode$1(58);
  76570. t2.write$1(0, t1);
  76571. t1 = pseudo.argument;
  76572. t3 = t1 == null;
  76573. if (t3 && pseudo.selector == null)
  76574. return;
  76575. t2.writeCharCode$1(40);
  76576. if (!t3) {
  76577. t2.write$1(0, t1);
  76578. if (pseudo.selector != null)
  76579. t2.writeCharCode$1(32);
  76580. }
  76581. A.NullableExtension_andThen(pseudo.selector, this.get$visitSelectorList());
  76582. t2.writeCharCode$1(41);
  76583. },
  76584. visitTypeSelector$1(type) {
  76585. this._serialize$_buffer.write$1(0, type.name);
  76586. },
  76587. visitUniversalSelector$1(universal) {
  76588. var t2,
  76589. t1 = universal.namespace;
  76590. if (t1 != null) {
  76591. t2 = this._serialize$_buffer;
  76592. t2.write$1(0, t1);
  76593. t2.writeCharCode$1(124);
  76594. }
  76595. this._serialize$_buffer.writeCharCode$1(42);
  76596. },
  76597. _serialize$_write$1(value) {
  76598. return this._serialize$_buffer.forSpan$2(value.span, new A._SerializeVisitor__write_closure(this, value));
  76599. },
  76600. _serialize$_visitChildren$1($parent) {
  76601. var t2, t3, t4, t5, t6, t7, prePrevious, previous, t8, previous0, t9, savedIndentation, _this = this,
  76602. t1 = _this._serialize$_buffer;
  76603. t1.writeCharCode$1(123);
  76604. for (t2 = $parent.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = _this._style === B.OutputStyle_1, t4 = !t3, t5 = _this.get$_requiresSemicolon(), t6 = !_this._inspect, t7 = A._instanceType(t2)._precomputed1, prePrevious = null, previous = null; t2.moveNext$0();) {
  76605. t8 = t2.__internal$_current;
  76606. previous0 = t8 == null ? t7._as(t8) : t8;
  76607. if (t6)
  76608. t8 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true) : previous0.accept$1(B._IsInvisibleVisitor_true_false);
  76609. else
  76610. t8 = false;
  76611. if (t8)
  76612. continue;
  76613. t8 = previous == null;
  76614. t9 = t8 ? null : t5.call$1(previous);
  76615. if (t9 == null ? false : t9)
  76616. t1.writeCharCode$1(59);
  76617. if (_this._isTrailingComment$2(previous0, t8 ? $parent : previous)) {
  76618. if (t4)
  76619. t1.writeCharCode$1(32);
  76620. savedIndentation = _this._indentation;
  76621. _this._indentation = 0;
  76622. new A._SerializeVisitor__visitChildren_closure(_this, previous0).call$0();
  76623. _this._indentation = savedIndentation;
  76624. } else {
  76625. if (t4)
  76626. t1.write$1(0, "\n");
  76627. ++_this._indentation;
  76628. new A._SerializeVisitor__visitChildren_closure0(_this, previous0).call$0();
  76629. --_this._indentation;
  76630. }
  76631. prePrevious = previous;
  76632. previous = previous0;
  76633. }
  76634. if (previous != null) {
  76635. if ((type$.CssParentNode._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment)) && t4)
  76636. t1.writeCharCode$1(59);
  76637. if (prePrevious == null && _this._isTrailingComment$2(previous, $parent)) {
  76638. if (t4)
  76639. t1.writeCharCode$1(32);
  76640. } else {
  76641. _this._writeLineFeed$0();
  76642. _this._writeIndentation$0();
  76643. }
  76644. }
  76645. t1.writeCharCode$1(125);
  76646. },
  76647. _requiresSemicolon$1(node) {
  76648. return type$.CssParentNode._is(node) ? node.get$isChildless() : !(node instanceof A.ModifiableCssComment);
  76649. },
  76650. _isTrailingComment$2(node, previous) {
  76651. var t1, t2, t3, searchFrom, endOffset, t4, span;
  76652. if (this._style === B.OutputStyle_1)
  76653. return false;
  76654. if (!(node instanceof A.ModifiableCssComment))
  76655. return false;
  76656. t1 = node.span;
  76657. t2 = t1.get$sourceUrl(t1);
  76658. t3 = previous.get$span(previous);
  76659. if (!J.$eq$(t2, t3.get$sourceUrl(t3)))
  76660. return false;
  76661. t2 = previous.get$span(previous);
  76662. if (!(J.$eq$(t2.get$file(t2).url, t1.get$file(t1).url) && t2.get$start(t2).offset <= t1.get$start(t1).offset && t2.get$end(t2).offset >= t1.get$end(t1).offset)) {
  76663. t1 = t1.get$start(t1);
  76664. t1 = t1.file.getLine$1(t1.offset);
  76665. t2 = previous.get$span(previous);
  76666. t2 = t2.get$end(t2);
  76667. return t1 === t2.file.getLine$1(t2.offset);
  76668. }
  76669. t2 = t1.get$start(t1);
  76670. t3 = previous.get$span(previous);
  76671. searchFrom = t2.offset - t3.get$start(t3).offset - 1;
  76672. if (searchFrom < 0)
  76673. return false;
  76674. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  76675. t2 = previous.get$span(previous);
  76676. t2 = t2.get$file(t2);
  76677. t3 = previous.get$span(previous);
  76678. t3 = t3.get$start(t3);
  76679. t4 = previous.get$span(previous);
  76680. span = t2.span$2(0, t3.offset, t4.get$start(t4).offset + endOffset);
  76681. t1 = t1.get$start(t1);
  76682. t1 = t1.file.getLine$1(t1.offset);
  76683. t4 = A.FileLocation$_(span.file, span._end);
  76684. return t1 === t4.file.getLine$1(t4.offset);
  76685. },
  76686. _writeLineFeed$0() {
  76687. if (this._style !== B.OutputStyle_1)
  76688. this._serialize$_buffer.write$1(0, "\n");
  76689. },
  76690. _writeIndentation$0() {
  76691. var _this = this;
  76692. if (_this._style === B.OutputStyle_1)
  76693. return;
  76694. _this._writeTimes$2(_this._indentCharacter, _this._indentation * _this._indentWidth);
  76695. },
  76696. _writeTimes$2(char, times) {
  76697. var t1, i;
  76698. for (t1 = this._serialize$_buffer, i = 0; i < times; ++i)
  76699. t1.writeCharCode$1(char);
  76700. },
  76701. _writeBetween$1$3(iterable, text, callback) {
  76702. var t1, t2, first, value;
  76703. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize$_buffer, first = true; t1.moveNext$0();) {
  76704. value = t1.get$current(t1);
  76705. if (first)
  76706. first = false;
  76707. else
  76708. t2.write$1(0, text);
  76709. callback.call$1(value);
  76710. }
  76711. },
  76712. _writeBetween$3(iterable, text, callback) {
  76713. return this._writeBetween$1$3(iterable, text, callback, type$.dynamic);
  76714. }
  76715. };
  76716. A._SerializeVisitor_visitCssComment_closure.prototype = {
  76717. call$0() {
  76718. var t2, t3, _0_0, minimumIndentation, t4,
  76719. t1 = this.$this;
  76720. if (t1._style === B.OutputStyle_1 && this.node.text.charCodeAt(2) !== 33)
  76721. return;
  76722. t2 = this.node;
  76723. t3 = t2.text;
  76724. if (B.JSString_methods.startsWith$1(t3, A.RegExp_RegExp("/\\*# source(Mapping)?URL=", false)))
  76725. return;
  76726. _0_0 = t1._minimumIndentation$1(t3);
  76727. if (_0_0 != null) {
  76728. minimumIndentation = _0_0;
  76729. t4 = true;
  76730. } else {
  76731. minimumIndentation = null;
  76732. t4 = false;
  76733. }
  76734. if (t4) {
  76735. t2 = t2.span;
  76736. t2 = t2.get$start(t2);
  76737. t2 = t2.file.getColumn$1(t2.offset);
  76738. minimumIndentation = Math.min(A.checkNum(minimumIndentation), t2);
  76739. t1._writeIndentation$0();
  76740. t1._writeWithIndent$2(t3, minimumIndentation);
  76741. } else {
  76742. t1._writeIndentation$0();
  76743. t1._serialize$_buffer.write$1(0, t3);
  76744. }
  76745. },
  76746. $signature: 2
  76747. };
  76748. A._SerializeVisitor_visitCssAtRule_closure.prototype = {
  76749. call$0() {
  76750. var t3, _0_0, value,
  76751. t1 = this.$this,
  76752. t2 = t1._serialize$_buffer;
  76753. t2.writeCharCode$1(64);
  76754. t3 = this.node;
  76755. t1._serialize$_write$1(t3.name);
  76756. _0_0 = t3.value;
  76757. if (_0_0 != null) {
  76758. value = _0_0;
  76759. t3 = true;
  76760. } else {
  76761. value = null;
  76762. t3 = false;
  76763. }
  76764. if (t3) {
  76765. t2.writeCharCode$1(32);
  76766. t1._serialize$_write$1(value);
  76767. }
  76768. },
  76769. $signature: 2
  76770. };
  76771. A._SerializeVisitor_visitCssMediaRule_closure.prototype = {
  76772. call$0() {
  76773. var t3, firstQuery, t4, t5,
  76774. t1 = this.$this,
  76775. t2 = t1._serialize$_buffer;
  76776. t2.write$1(0, "@media");
  76777. t3 = this.node.queries;
  76778. firstQuery = B.JSArray_methods.get$first(t3);
  76779. t4 = t1._style === B.OutputStyle_1;
  76780. if (t4)
  76781. if (firstQuery.modifier == null)
  76782. if (firstQuery.type == null) {
  76783. t5 = firstQuery.conditions;
  76784. t5 = t5.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t5), "(not ");
  76785. } else
  76786. t5 = true;
  76787. else
  76788. t5 = true;
  76789. else
  76790. t5 = true;
  76791. if (t5)
  76792. t2.writeCharCode$1(32);
  76793. t2 = t4 ? "," : ", ";
  76794. t1._writeBetween$3(t3, t2, t1.get$_visitMediaQuery());
  76795. },
  76796. $signature: 2
  76797. };
  76798. A._SerializeVisitor_visitCssImport_closure.prototype = {
  76799. call$0() {
  76800. var t3, t4, _0_0, modifiers,
  76801. t1 = this.$this,
  76802. t2 = t1._serialize$_buffer;
  76803. t2.write$1(0, "@import");
  76804. t3 = t1._style !== B.OutputStyle_1;
  76805. if (t3)
  76806. t2.writeCharCode$1(32);
  76807. t4 = this.node;
  76808. t2.forSpan$2(t4.url.span, new A._SerializeVisitor_visitCssImport__closure(t1, t4));
  76809. _0_0 = t4.modifiers;
  76810. if (_0_0 != null) {
  76811. modifiers = _0_0;
  76812. t1 = true;
  76813. } else {
  76814. modifiers = null;
  76815. t1 = false;
  76816. }
  76817. if (t1) {
  76818. if (t3)
  76819. t2.writeCharCode$1(32);
  76820. t2.write$1(0, modifiers);
  76821. }
  76822. },
  76823. $signature: 2
  76824. };
  76825. A._SerializeVisitor_visitCssImport__closure.prototype = {
  76826. call$0() {
  76827. return this.$this._writeImportUrl$1(this.node.url.value);
  76828. },
  76829. $signature: 0
  76830. };
  76831. A._SerializeVisitor_visitCssKeyframeBlock_closure.prototype = {
  76832. call$0() {
  76833. var t1 = this.$this,
  76834. t2 = t1._style === B.OutputStyle_1 ? "," : ", ",
  76835. t3 = t1._serialize$_buffer;
  76836. return t1._writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  76837. },
  76838. $signature: 0
  76839. };
  76840. A._SerializeVisitor_visitCssStyleRule_closure.prototype = {
  76841. call$0() {
  76842. return this.$this.visitSelectorList$1(this.node._style_rule$_selector._box$_inner.value);
  76843. },
  76844. $signature: 0
  76845. };
  76846. A._SerializeVisitor_visitCssSupportsRule_closure.prototype = {
  76847. call$0() {
  76848. var t1 = this.$this,
  76849. t2 = t1._serialize$_buffer;
  76850. t2.write$1(0, "@supports");
  76851. if (!(t1._style === B.OutputStyle_1 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
  76852. t2.writeCharCode$1(32);
  76853. t1._serialize$_write$1(this.node.condition);
  76854. },
  76855. $signature: 2
  76856. };
  76857. A._SerializeVisitor_visitCssDeclaration_closure.prototype = {
  76858. call$0() {
  76859. var t1 = this.$this,
  76860. t2 = this.node;
  76861. if (t1._style === B.OutputStyle_1)
  76862. t1._writeFoldedValue$1(t2);
  76863. else
  76864. t1._writeReindentedValue$1(t2);
  76865. },
  76866. $signature: 2
  76867. };
  76868. A._SerializeVisitor_visitCssDeclaration_closure0.prototype = {
  76869. call$0() {
  76870. return this.node.value.value.accept$1(this.$this);
  76871. },
  76872. $signature: 0
  76873. };
  76874. A._SerializeVisitor__writeCalculationValue_closure.prototype = {
  76875. call$0() {
  76876. return this._2_0.get$hasComplexUnits();
  76877. },
  76878. $signature: 1
  76879. };
  76880. A._SerializeVisitor_visitList_closure.prototype = {
  76881. call$1(element) {
  76882. return !element.get$isBlank();
  76883. },
  76884. $signature: 71
  76885. };
  76886. A._SerializeVisitor_visitList_closure0.prototype = {
  76887. call$1(element) {
  76888. var t1 = this.$this,
  76889. needsParens = t1._elementNeedsParens$2(this.value._separator, element);
  76890. if (needsParens)
  76891. t1._serialize$_buffer.writeCharCode$1(40);
  76892. element.accept$1(t1);
  76893. if (needsParens)
  76894. t1._serialize$_buffer.writeCharCode$1(41);
  76895. },
  76896. $signature: 63
  76897. };
  76898. A._SerializeVisitor_visitList_closure1.prototype = {
  76899. call$1(element) {
  76900. element.accept$1(this.$this);
  76901. },
  76902. $signature: 63
  76903. };
  76904. A._SerializeVisitor_visitMap_closure.prototype = {
  76905. call$1(entry) {
  76906. var t1 = this.$this;
  76907. t1._writeMapElement$1(entry.key);
  76908. t1._serialize$_buffer.write$1(0, ": ");
  76909. t1._writeMapElement$1(entry.value);
  76910. },
  76911. $signature: 648
  76912. };
  76913. A._SerializeVisitor__visitQuotedString_closure.prototype = {
  76914. call$0() {
  76915. return 39 === this._1_0;
  76916. },
  76917. $signature: 1
  76918. };
  76919. A._SerializeVisitor__visitQuotedString_closure0.prototype = {
  76920. call$0() {
  76921. return 34 === this._1_0;
  76922. },
  76923. $signature: 1
  76924. };
  76925. A._SerializeVisitor_visitSelectorList_closure.prototype = {
  76926. call$1(complex) {
  76927. return !complex.accept$1(B._IsInvisibleVisitor_true);
  76928. },
  76929. $signature: 17
  76930. };
  76931. A._SerializeVisitor_visitPseudoSelector_closure.prototype = {
  76932. call$0() {
  76933. return this._0_0.selector;
  76934. },
  76935. $signature: 72
  76936. };
  76937. A._SerializeVisitor__write_closure.prototype = {
  76938. call$0() {
  76939. return this.$this._serialize$_buffer.write$1(0, this.value.value);
  76940. },
  76941. $signature: 0
  76942. };
  76943. A._SerializeVisitor__visitChildren_closure.prototype = {
  76944. call$0() {
  76945. return this.child.accept$1(this.$this);
  76946. },
  76947. $signature: 0
  76948. };
  76949. A._SerializeVisitor__visitChildren_closure0.prototype = {
  76950. call$0() {
  76951. this.child.accept$1(this.$this);
  76952. },
  76953. $signature: 0
  76954. };
  76955. A.OutputStyle.prototype = {
  76956. _enumToString$0() {
  76957. return "OutputStyle." + this._name;
  76958. }
  76959. };
  76960. A.LineFeed.prototype = {
  76961. _enumToString$0() {
  76962. return "LineFeed." + this._name;
  76963. },
  76964. toString$0(_) {
  76965. return "lf";
  76966. }
  76967. };
  76968. A.StatementSearchVisitor.prototype = {
  76969. visitAtRootRule$1(node) {
  76970. return this.visitChildren$1(node.children);
  76971. },
  76972. visitAtRule$1(node) {
  76973. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  76974. },
  76975. visitContentBlock$1(node) {
  76976. return this.visitChildren$1(node.children);
  76977. },
  76978. visitContentRule$1(node) {
  76979. return null;
  76980. },
  76981. visitDebugRule$1(node) {
  76982. return null;
  76983. },
  76984. visitDeclaration$1(node) {
  76985. return A.NullableExtension_andThen(node.children, this.get$visitChildren());
  76986. },
  76987. visitEachRule$1(node) {
  76988. return this.visitChildren$1(node.children);
  76989. },
  76990. visitErrorRule$1(node) {
  76991. return null;
  76992. },
  76993. visitExtendRule$1(node) {
  76994. return null;
  76995. },
  76996. visitForRule$1(node) {
  76997. return this.visitChildren$1(node.children);
  76998. },
  76999. visitForwardRule$1(node) {
  77000. return null;
  77001. },
  77002. visitFunctionRule$1(node) {
  77003. return this.visitChildren$1(node.children);
  77004. },
  77005. visitIfRule$1(node) {
  77006. var t1 = A.IterableExtension_search(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure(this));
  77007. return t1 == null ? A.NullableExtension_andThen(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure0(this)) : t1;
  77008. },
  77009. visitImportRule$1(node) {
  77010. return null;
  77011. },
  77012. visitIncludeRule$1(node) {
  77013. return A.NullableExtension_andThen(node.content, this.get$visitContentBlock());
  77014. },
  77015. visitLoudComment$1(node) {
  77016. return null;
  77017. },
  77018. visitMediaRule$1(node) {
  77019. return this.visitChildren$1(node.children);
  77020. },
  77021. visitMixinRule$1(node) {
  77022. return this.visitChildren$1(node.children);
  77023. },
  77024. visitReturnRule$1(node) {
  77025. return null;
  77026. },
  77027. visitSilentComment$1(node) {
  77028. return null;
  77029. },
  77030. visitStyleRule$1(node) {
  77031. return this.visitChildren$1(node.children);
  77032. },
  77033. visitStylesheet$1(node) {
  77034. return this.visitChildren$1(node.children);
  77035. },
  77036. visitSupportsRule$1(node) {
  77037. return this.visitChildren$1(node.children);
  77038. },
  77039. visitUseRule$1(node) {
  77040. return null;
  77041. },
  77042. visitVariableDeclaration$1(node) {
  77043. return null;
  77044. },
  77045. visitWarnRule$1(node) {
  77046. return null;
  77047. },
  77048. visitWhileRule$1(node) {
  77049. return this.visitChildren$1(node.children);
  77050. },
  77051. visitChildren$1(children) {
  77052. return A.IterableExtension_search(children, new A.StatementSearchVisitor_visitChildren_closure(this));
  77053. }
  77054. };
  77055. A.StatementSearchVisitor_visitIfRule_closure.prototype = {
  77056. call$1(clause) {
  77057. return A.IterableExtension_search(clause.children, new A.StatementSearchVisitor_visitIfRule__closure0(this.$this));
  77058. },
  77059. $signature() {
  77060. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(IfClause)");
  77061. }
  77062. };
  77063. A.StatementSearchVisitor_visitIfRule__closure0.prototype = {
  77064. call$1(child) {
  77065. return child.accept$1(this.$this);
  77066. },
  77067. $signature() {
  77068. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  77069. }
  77070. };
  77071. A.StatementSearchVisitor_visitIfRule_closure0.prototype = {
  77072. call$1(lastClause) {
  77073. return A.IterableExtension_search(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure(this.$this));
  77074. },
  77075. $signature() {
  77076. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(ElseClause)");
  77077. }
  77078. };
  77079. A.StatementSearchVisitor_visitIfRule__closure.prototype = {
  77080. call$1(child) {
  77081. return child.accept$1(this.$this);
  77082. },
  77083. $signature() {
  77084. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  77085. }
  77086. };
  77087. A.StatementSearchVisitor_visitChildren_closure.prototype = {
  77088. call$1(child) {
  77089. return child.accept$1(this.$this);
  77090. },
  77091. $signature() {
  77092. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)");
  77093. }
  77094. };
  77095. A.Entry.prototype = {
  77096. compareTo$1(_, other) {
  77097. var t1, t2,
  77098. res = this.target.compareTo$1(0, other.target);
  77099. if (res !== 0)
  77100. return res;
  77101. t1 = this.source;
  77102. t2 = other.source;
  77103. res = B.JSString_methods.compareTo$1(J.toString$0$(t1.file.url), J.toString$0$(t2.file.url));
  77104. if (res !== 0)
  77105. return res;
  77106. return t1.compareTo$1(0, t2);
  77107. },
  77108. $isComparable: 1
  77109. };
  77110. A.Mapping.prototype = {};
  77111. A.SingleMapping.prototype = {
  77112. toJson$1$includeSourceContents(includeSourceContents) {
  77113. 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,
  77114. buff = new A.StringBuffer("");
  77115. 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) {
  77116. entry = t1[_i];
  77117. nextLine = entry.line;
  77118. if (nextLine > line) {
  77119. for (i = line; i < nextLine; ++i)
  77120. buff._contents += ";";
  77121. line = nextLine;
  77122. column = 0;
  77123. first = true;
  77124. }
  77125. for (t3 = J.get$iterator$ax(entry.entries); t3.moveNext$0(); column = column0, first = false) {
  77126. t4 = t3.get$current(t3);
  77127. if (!first)
  77128. buff._contents += ",";
  77129. column0 = t4.column;
  77130. t5 = A.encodeVlq(column0 - column);
  77131. t5 = A.StringBuffer__writeAll(buff._contents, t5, "");
  77132. buff._contents = t5;
  77133. newUrlId = t4.sourceUrlId;
  77134. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(newUrlId - srcUrlId), "");
  77135. buff._contents = t5;
  77136. srcLine0 = t4.sourceLine;
  77137. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcLine0 - srcLine), "");
  77138. buff._contents = t5;
  77139. srcColumn0 = t4.sourceColumn;
  77140. t5 = A.StringBuffer__writeAll(t5, A.encodeVlq(srcColumn0 - srcColumn), "");
  77141. buff._contents = t5;
  77142. srcNameId0 = t4.sourceNameId;
  77143. if (srcNameId0 == null) {
  77144. srcUrlId = newUrlId;
  77145. srcColumn = srcColumn0;
  77146. srcLine = srcLine0;
  77147. continue;
  77148. }
  77149. buff._contents = A.StringBuffer__writeAll(t5, A.encodeVlq(srcNameId0 - srcNameId), "");
  77150. srcNameId = srcNameId0;
  77151. srcUrlId = newUrlId;
  77152. srcColumn = srcColumn0;
  77153. srcLine = srcLine0;
  77154. }
  77155. }
  77156. t1 = _this.sourceRoot;
  77157. if (t1 == null)
  77158. t1 = "";
  77159. t2 = buff._contents;
  77160. 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$.dynamic);
  77161. t1 = _this.targetUrl;
  77162. if (t1 != null)
  77163. result.$indexSet(0, "file", t1);
  77164. if (includeSourceContents) {
  77165. t1 = _this.files;
  77166. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String?>");
  77167. result.$indexSet(0, "sourcesContent", A.List_List$of(new A.MappedListIterable(t1, new A.SingleMapping_toJson_closure(), t2), true, t2._eval$1("ListIterable.E")));
  77168. }
  77169. _this.extensions.forEach$1(0, new A.SingleMapping_toJson_closure0(result));
  77170. return result;
  77171. },
  77172. toJson$0() {
  77173. return this.toJson$1$includeSourceContents(false);
  77174. },
  77175. toString$0(_) {
  77176. var _this = this,
  77177. t1 = A.getRuntimeTypeOfDartObject(_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) + "]";
  77178. return t1.charCodeAt(0) == 0 ? t1 : t1;
  77179. }
  77180. };
  77181. A.SingleMapping_SingleMapping$fromEntries_closure.prototype = {
  77182. call$0() {
  77183. return this.urls.__js_helper$_length;
  77184. },
  77185. $signature: 3
  77186. };
  77187. A.SingleMapping_SingleMapping$fromEntries_closure0.prototype = {
  77188. call$0() {
  77189. return this.sourceEntry.source.file;
  77190. },
  77191. $signature: 296
  77192. };
  77193. A.SingleMapping_SingleMapping$fromEntries_closure1.prototype = {
  77194. call$1(i) {
  77195. return this.files.$index(0, i);
  77196. },
  77197. $signature: 297
  77198. };
  77199. A.SingleMapping_toJson_closure.prototype = {
  77200. call$1(file) {
  77201. return file == null ? null : A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(file._decodedChars, 0, null), 0, null);
  77202. },
  77203. $signature: 298
  77204. };
  77205. A.SingleMapping_toJson_closure0.prototype = {
  77206. call$2($name, value) {
  77207. this.result.$indexSet(0, $name, value);
  77208. return value;
  77209. },
  77210. $signature: 293
  77211. };
  77212. A.TargetLineEntry.prototype = {
  77213. toString$0(_) {
  77214. return A.getRuntimeTypeOfDartObject(this).toString$0(0) + ": " + this.line + " " + A.S(this.entries);
  77215. }
  77216. };
  77217. A.TargetEntry.prototype = {
  77218. toString$0(_) {
  77219. var _this = this;
  77220. return A.getRuntimeTypeOfDartObject(_this).toString$0(0) + ": (" + _this.column + ", " + _this.sourceUrlId + ", " + _this.sourceLine + ", " + _this.sourceColumn + ", " + A.S(_this.sourceNameId) + ")";
  77221. }
  77222. };
  77223. A.SourceFile.prototype = {
  77224. get$length(_) {
  77225. return this._decodedChars.length;
  77226. },
  77227. get$lines() {
  77228. return this._lineStarts.length;
  77229. },
  77230. SourceFile$decoded$2$url(decodedChars, url) {
  77231. var t1, t2, t3, i, c, j;
  77232. for (t1 = this._decodedChars, t2 = t1.length, t3 = this._lineStarts, i = 0; i < t2; ++i) {
  77233. c = t1[i];
  77234. if (c === 13) {
  77235. j = i + 1;
  77236. if (j >= t2 || t1[j] !== 10)
  77237. c = 10;
  77238. }
  77239. if (c === 10)
  77240. t3.push(i + 1);
  77241. }
  77242. },
  77243. span$2(_, start, end) {
  77244. return A._FileSpan$(this, start, end == null ? this._decodedChars.length : end);
  77245. },
  77246. span$1($receiver, start) {
  77247. return this.span$2($receiver, start, null);
  77248. },
  77249. getLine$1(offset) {
  77250. var t1, _this = this;
  77251. if (offset < 0)
  77252. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  77253. else if (offset > _this._decodedChars.length)
  77254. throw A.wrapException(A.RangeError$("Offset " + offset + string$.x20must_n + _this.get$length(_this) + "."));
  77255. t1 = _this._lineStarts;
  77256. if (offset < B.JSArray_methods.get$first(t1))
  77257. return -1;
  77258. if (offset >= B.JSArray_methods.get$last(t1))
  77259. return t1.length - 1;
  77260. if (_this._isNearCachedLine$1(offset)) {
  77261. t1 = _this._cachedLine;
  77262. t1.toString;
  77263. return t1;
  77264. }
  77265. return _this._cachedLine = _this._binarySearch$1(offset) - 1;
  77266. },
  77267. _isNearCachedLine$1(offset) {
  77268. var t2, t3,
  77269. t1 = this._cachedLine;
  77270. if (t1 == null)
  77271. return false;
  77272. t2 = this._lineStarts;
  77273. if (offset < t2[t1])
  77274. return false;
  77275. t3 = t2.length;
  77276. if (t1 >= t3 - 1 || offset < t2[t1 + 1])
  77277. return true;
  77278. if (t1 >= t3 - 2 || offset < t2[t1 + 2]) {
  77279. this._cachedLine = t1 + 1;
  77280. return true;
  77281. }
  77282. return false;
  77283. },
  77284. _binarySearch$1(offset) {
  77285. var min, half,
  77286. t1 = this._lineStarts,
  77287. max = t1.length - 1;
  77288. for (min = 0; min < max;) {
  77289. half = min + B.JSInt_methods._tdivFast$1(max - min, 2);
  77290. if (t1[half] > offset)
  77291. max = half;
  77292. else
  77293. min = half + 1;
  77294. }
  77295. return max;
  77296. },
  77297. getColumn$1(offset) {
  77298. var line, lineStart, _this = this;
  77299. if (offset < 0)
  77300. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + offset + "."));
  77301. else if (offset > _this._decodedChars.length)
  77302. throw A.wrapException(A.RangeError$("Offset " + offset + " must be not be greater than the number of characters in the file, " + _this.get$length(_this) + "."));
  77303. line = _this.getLine$1(offset);
  77304. lineStart = _this._lineStarts[line];
  77305. if (lineStart > offset)
  77306. throw A.wrapException(A.RangeError$("Line " + line + " comes after offset " + offset + "."));
  77307. return offset - lineStart;
  77308. },
  77309. getOffset$1(line) {
  77310. var t1, t2, result, t3;
  77311. if (line < 0)
  77312. throw A.wrapException(A.RangeError$("Line may not be negative, was " + line + "."));
  77313. else {
  77314. t1 = this._lineStarts;
  77315. t2 = t1.length;
  77316. if (line >= t2)
  77317. throw A.wrapException(A.RangeError$("Line " + line + " must be less than the number of lines in the file, " + this.get$lines() + "."));
  77318. }
  77319. result = t1[line];
  77320. if (result <= this._decodedChars.length) {
  77321. t3 = line + 1;
  77322. t1 = t3 < t2 && result >= t1[t3];
  77323. } else
  77324. t1 = true;
  77325. if (t1)
  77326. throw A.wrapException(A.RangeError$("Line " + line + " doesn't have 0 columns."));
  77327. return result;
  77328. }
  77329. };
  77330. A.FileLocation.prototype = {
  77331. get$sourceUrl(_) {
  77332. return this.file.url;
  77333. },
  77334. get$line() {
  77335. return this.file.getLine$1(this.offset);
  77336. },
  77337. get$column() {
  77338. return this.file.getColumn$1(this.offset);
  77339. },
  77340. FileLocation$_$2(file, offset) {
  77341. var t2,
  77342. t1 = this.offset;
  77343. if (t1 < 0)
  77344. throw A.wrapException(A.RangeError$("Offset may not be negative, was " + t1 + "."));
  77345. else {
  77346. t2 = this.file;
  77347. if (t1 > t2._decodedChars.length)
  77348. throw A.wrapException(A.RangeError$("Offset " + t1 + string$.x20must_n + t2.get$length(t2) + "."));
  77349. }
  77350. },
  77351. pointSpan$0() {
  77352. var t1 = this.offset;
  77353. return A._FileSpan$(this.file, t1, t1);
  77354. },
  77355. get$offset() {
  77356. return this.offset;
  77357. }
  77358. };
  77359. A._FileSpan.prototype = {
  77360. get$sourceUrl(_) {
  77361. return this.file.url;
  77362. },
  77363. get$length(_) {
  77364. return this._end - this._file$_start;
  77365. },
  77366. get$start(_) {
  77367. return A.FileLocation$_(this.file, this._file$_start);
  77368. },
  77369. get$end(_) {
  77370. return A.FileLocation$_(this.file, this._end);
  77371. },
  77372. get$text() {
  77373. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(this.file._decodedChars, this._file$_start, this._end), 0, null);
  77374. },
  77375. get$context(_) {
  77376. var _this = this,
  77377. t1 = _this.file,
  77378. endOffset = _this._end,
  77379. endLine = t1.getLine$1(endOffset);
  77380. if (t1.getColumn$1(endOffset) === 0 && endLine !== 0) {
  77381. if (endOffset - _this._file$_start === 0)
  77382. 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);
  77383. } else
  77384. endOffset = endLine === t1._lineStarts.length - 1 ? t1._decodedChars.length : t1.getOffset$1(endLine + 1);
  77385. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, t1.getOffset$1(t1.getLine$1(_this._file$_start)), endOffset), 0, null);
  77386. },
  77387. _FileSpan$3(file, _start, _end) {
  77388. var t3,
  77389. t1 = this._end,
  77390. t2 = this._file$_start;
  77391. if (t1 < t2)
  77392. throw A.wrapException(A.ArgumentError$("End " + t1 + " must come after start " + t2 + ".", null));
  77393. else {
  77394. t3 = this.file;
  77395. if (t1 > t3._decodedChars.length)
  77396. throw A.wrapException(A.RangeError$("End " + t1 + string$.x20must_n + t3.get$length(t3) + "."));
  77397. else if (t2 < 0)
  77398. throw A.wrapException(A.RangeError$("Start may not be negative, was " + t2 + "."));
  77399. }
  77400. },
  77401. compareTo$1(_, other) {
  77402. var result;
  77403. if (!(other instanceof A._FileSpan))
  77404. return this.super$SourceSpanMixin$compareTo(0, other);
  77405. result = B.JSInt_methods.compareTo$1(this._file$_start, other._file$_start);
  77406. return result === 0 ? B.JSInt_methods.compareTo$1(this._end, other._end) : result;
  77407. },
  77408. $eq(_, other) {
  77409. var _this = this;
  77410. if (other == null)
  77411. return false;
  77412. if (!type$.FileSpan._is(other))
  77413. return _this.super$SourceSpanMixin$$eq(0, other);
  77414. if (!(other instanceof A._FileSpan))
  77415. return _this.super$SourceSpanMixin$$eq(0, other) && J.$eq$(_this.file.url, other.get$sourceUrl(other));
  77416. return _this._file$_start === other._file$_start && _this._end === other._end && J.$eq$(_this.file.url, other.file.url);
  77417. },
  77418. get$hashCode(_) {
  77419. return A.Object_hash(this._file$_start, this._end, this.file.url, B.C_SentinelValue);
  77420. },
  77421. expand$1(_, other) {
  77422. var t2, t3, _this = this,
  77423. t1 = _this.file;
  77424. if (!J.$eq$(t1.url, other.get$sourceUrl(other)))
  77425. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  77426. t2 = _this._file$_start;
  77427. t3 = _this._end;
  77428. if (other instanceof A._FileSpan)
  77429. return A._FileSpan$(t1, Math.min(t2, other._file$_start), Math.max(t3, other._end));
  77430. else
  77431. return A._FileSpan$(t1, Math.min(t2, other.get$start(other).offset), Math.max(t3, other.get$end(other).offset));
  77432. },
  77433. $isFileSpan: 1,
  77434. $isSourceSpanWithContext: 1,
  77435. get$file(receiver) {
  77436. return this.file;
  77437. }
  77438. };
  77439. A.Highlighter.prototype = {
  77440. highlight$0() {
  77441. var t2, highlightsByColumn, t3, t4, i, line, lastLine, t5, t6, t7, t8, t9, t10, t11, index, primaryIdx, primary, _i, highlight, _this = this, _null = null,
  77442. t1 = _this._lines;
  77443. _this._writeFileStart$1(B.JSArray_methods.get$first(t1).url);
  77444. t2 = _this._maxMultilineSpans;
  77445. highlightsByColumn = A.List_List$filled(t2, _null, false, type$.nullable__Highlight);
  77446. for (t3 = _this._highlighter$_buffer, t2 = t2 !== 0, t4 = _this._primaryColor, i = 0; i < t1.length; ++i) {
  77447. line = t1[i];
  77448. if (i > 0) {
  77449. lastLine = t1[i - 1];
  77450. t5 = lastLine.url;
  77451. t6 = line.url;
  77452. if (!J.$eq$(t5, t6)) {
  77453. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  77454. t3._contents += "\n";
  77455. _this._writeFileStart$1(t6);
  77456. } else if (lastLine.number + 1 !== line.number) {
  77457. _this._writeSidebar$1$text("...");
  77458. t3._contents += "\n";
  77459. }
  77460. }
  77461. 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();) {
  77462. t10 = t6.__internal$_current;
  77463. if (t10 == null)
  77464. t10 = t7._as(t10);
  77465. t11 = t10.span;
  77466. 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()))) {
  77467. index = B.JSArray_methods.indexOf$1(highlightsByColumn, _null);
  77468. if (index < 0)
  77469. A.throwExpression(A.ArgumentError$(A.S(highlightsByColumn) + " contains no null elements.", _null));
  77470. highlightsByColumn[index] = t10;
  77471. }
  77472. }
  77473. _this._writeSidebar$1$line(t8);
  77474. t3._contents += " ";
  77475. _this._writeMultilineHighlights$2(line, highlightsByColumn);
  77476. if (t2)
  77477. t3._contents += " ";
  77478. primaryIdx = B.JSArray_methods.indexWhere$1(t5, new A.Highlighter_highlight_closure());
  77479. primary = primaryIdx === -1 ? _null : t5[primaryIdx];
  77480. t6 = primary != null;
  77481. if (t6) {
  77482. t7 = primary.span;
  77483. t10 = t7.get$start(t7).get$line() === t8 ? t7.get$start(t7).get$column() : 0;
  77484. _this._writeHighlightedText$4$color(t9, t10, t7.get$end(t7).get$line() === t8 ? t7.get$end(t7).get$column() : t9.length, t4);
  77485. } else
  77486. _this._writeText$1(t9);
  77487. t3._contents += "\n";
  77488. if (t6)
  77489. _this._writeIndicator$3(line, primary, highlightsByColumn);
  77490. for (t6 = t5.length, _i = 0; _i < t5.length; t5.length === t6 || (0, A.throwConcurrentModificationError)(t5), ++_i) {
  77491. highlight = t5[_i];
  77492. if (highlight.isPrimary)
  77493. continue;
  77494. _this._writeIndicator$3(line, highlight, highlightsByColumn);
  77495. }
  77496. }
  77497. _this._writeSidebar$1$end($._glyphs.get$upEnd());
  77498. t1 = t3._contents;
  77499. return t1.charCodeAt(0) == 0 ? t1 : t1;
  77500. },
  77501. _writeFileStart$1(url) {
  77502. var _this = this,
  77503. t1 = !_this._multipleFiles || !type$.Uri._is(url),
  77504. t2 = $._glyphs;
  77505. if (t1)
  77506. _this._writeSidebar$1$end(t2.get$downEnd());
  77507. else {
  77508. _this._writeSidebar$1$end(t2.get$topLeftCorner());
  77509. _this._colorize$2$color(new A.Highlighter__writeFileStart_closure(_this), "\x1b[34m");
  77510. _this._highlighter$_buffer._contents += " " + $.$get$context().prettyUri$1(url);
  77511. }
  77512. _this._highlighter$_buffer._contents += "\n";
  77513. },
  77514. _writeMultilineHighlights$3$current(line, highlightsByColumn, current) {
  77515. var t1, currentColor, t2, t3, t4, t5, foundCurrent, _i, highlight, t6, startLine, t7, endLine, _this = this, _box_0 = {};
  77516. _box_0.openedOnThisLine = false;
  77517. _box_0.openedOnThisLineColor = null;
  77518. t1 = current == null;
  77519. if (t1)
  77520. currentColor = null;
  77521. else
  77522. currentColor = current.isPrimary ? _this._primaryColor : _this._secondaryColor;
  77523. for (t2 = highlightsByColumn.length, t3 = _this._secondaryColor, t1 = !t1, t4 = _this._primaryColor, t5 = _this._highlighter$_buffer, foundCurrent = false, _i = 0; _i < t2; ++_i) {
  77524. highlight = highlightsByColumn[_i];
  77525. t6 = highlight == null;
  77526. if (t6)
  77527. startLine = null;
  77528. else {
  77529. t7 = highlight.span;
  77530. startLine = t7.get$start(t7).get$line();
  77531. }
  77532. if (t6)
  77533. endLine = null;
  77534. else {
  77535. t7 = highlight.span;
  77536. endLine = t7.get$end(t7).get$line();
  77537. }
  77538. if (t1 && highlight === current) {
  77539. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure(_this, startLine, line), currentColor);
  77540. foundCurrent = true;
  77541. } else if (foundCurrent)
  77542. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure0(_this, highlight), currentColor);
  77543. else if (t6)
  77544. if (_box_0.openedOnThisLine)
  77545. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure1(_this), _box_0.openedOnThisLineColor);
  77546. else
  77547. t5._contents += " ";
  77548. else {
  77549. t6 = highlight.isPrimary ? t4 : t3;
  77550. _this._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure2(_box_0, _this, current, startLine, line, highlight, endLine), t6);
  77551. }
  77552. }
  77553. },
  77554. _writeMultilineHighlights$2(line, highlightsByColumn) {
  77555. return this._writeMultilineHighlights$3$current(line, highlightsByColumn, null);
  77556. },
  77557. _writeHighlightedText$4$color(text, startColumn, endColumn, color) {
  77558. var _this = this;
  77559. _this._writeText$1(B.JSString_methods.substring$2(text, 0, startColumn));
  77560. _this._colorize$2$color(new A.Highlighter__writeHighlightedText_closure(_this, text, startColumn, endColumn), color);
  77561. _this._writeText$1(B.JSString_methods.substring$2(text, endColumn, text.length));
  77562. },
  77563. _writeIndicator$3(line, highlight, highlightsByColumn) {
  77564. var t2, coversWholeLine, _this = this,
  77565. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor,
  77566. t1 = highlight.span;
  77567. if (t1.get$start(t1).get$line() === t1.get$end(t1).get$line()) {
  77568. _this._writeSidebar$0();
  77569. t1 = _this._highlighter$_buffer;
  77570. t1._contents += " ";
  77571. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  77572. if (highlightsByColumn.length !== 0)
  77573. t1._contents += " ";
  77574. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure(_this, line, highlight), color));
  77575. } else {
  77576. t2 = line.number;
  77577. if (t1.get$start(t1).get$line() === t2) {
  77578. if (B.JSArray_methods.contains$1(highlightsByColumn, highlight))
  77579. return;
  77580. A.replaceFirstNull(highlightsByColumn, highlight);
  77581. _this._writeSidebar$0();
  77582. t1 = _this._highlighter$_buffer;
  77583. t1._contents += " ";
  77584. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  77585. _this._colorize$2$color(new A.Highlighter__writeIndicator_closure0(_this, line, highlight), color);
  77586. t1._contents += "\n";
  77587. } else if (t1.get$end(t1).get$line() === t2) {
  77588. coversWholeLine = t1.get$end(t1).get$column() === line.text.length;
  77589. if (coversWholeLine && highlight.label == null) {
  77590. A.replaceWithNull(highlightsByColumn, highlight);
  77591. return;
  77592. }
  77593. _this._writeSidebar$0();
  77594. _this._highlighter$_buffer._contents += " ";
  77595. _this._writeMultilineHighlights$3$current(line, highlightsByColumn, highlight);
  77596. _this._writeLabel$3(highlight, highlightsByColumn, _this._colorize$2$color(new A.Highlighter__writeIndicator_closure1(_this, coversWholeLine, line, highlight), color));
  77597. A.replaceWithNull(highlightsByColumn, highlight);
  77598. }
  77599. }
  77600. },
  77601. _writeArrow$3$beginning(line, column, beginning) {
  77602. var t2,
  77603. t1 = beginning ? 0 : 1,
  77604. tabs = this._countTabs$1(B.JSString_methods.substring$2(line.text, 0, column + t1));
  77605. t1 = this._highlighter$_buffer;
  77606. t2 = t1._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 1 + column + tabs * 3);
  77607. t1._contents = t2 + "^";
  77608. },
  77609. _writeArrow$2(line, column) {
  77610. return this._writeArrow$3$beginning(line, column, true);
  77611. },
  77612. _writeLabel$3(highlight, highlightsByColumn, underlineLength) {
  77613. var lines, color, t1, t2, t3, t4, t5, t6, _i, columnHighlight, _this = this,
  77614. label = highlight.label;
  77615. if (label == null) {
  77616. _this._highlighter$_buffer._contents += "\n";
  77617. return;
  77618. }
  77619. lines = A._setArrayType(label.split("\n"), type$.JSArray_String);
  77620. color = highlight.isPrimary ? _this._primaryColor : _this._secondaryColor;
  77621. _this._colorize$2$color(new A.Highlighter__writeLabel_closure(_this, lines), color);
  77622. t1 = _this._highlighter$_buffer;
  77623. t1._contents += "\n";
  77624. 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();) {
  77625. t5 = t2.__internal$_current;
  77626. if (t5 == null)
  77627. t5 = t4._as(t5);
  77628. _this._writeSidebar$0();
  77629. t6 = t1._contents += " ";
  77630. for (_i = 0; _i < t3; ++_i) {
  77631. columnHighlight = highlightsByColumn[_i];
  77632. if (columnHighlight == null || columnHighlight === highlight) {
  77633. t6 += " ";
  77634. t1._contents = t6;
  77635. } else
  77636. t6 = t1._contents += $._glyphs.get$verticalLine();
  77637. }
  77638. t1._contents += B.JSString_methods.$mul(" ", underlineLength);
  77639. _this._colorize$2$color(new A.Highlighter__writeLabel_closure0(_this, t5), color);
  77640. t1._contents += "\n";
  77641. }
  77642. },
  77643. _writeText$1(text) {
  77644. var t1, t2, t3, t4;
  77645. 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();) {
  77646. t4 = t1.__internal$_current;
  77647. if (t4 == null)
  77648. t4 = t3._as(t4);
  77649. if (t4 === 9)
  77650. t2._contents += B.JSString_methods.$mul(" ", 4);
  77651. else
  77652. t2._contents += A.Primitives_stringFromCharCode(t4);
  77653. }
  77654. },
  77655. _writeSidebar$3$end$line$text(end, line, text) {
  77656. var t1 = {};
  77657. t1.text = text;
  77658. if (line != null)
  77659. t1.text = B.JSInt_methods.toString$0(line + 1);
  77660. this._colorize$2$color(new A.Highlighter__writeSidebar_closure(t1, this, end), "\x1b[34m");
  77661. },
  77662. _writeSidebar$1$end(end) {
  77663. return this._writeSidebar$3$end$line$text(end, null, null);
  77664. },
  77665. _writeSidebar$1$text(text) {
  77666. return this._writeSidebar$3$end$line$text(null, null, text);
  77667. },
  77668. _writeSidebar$1$line(line) {
  77669. return this._writeSidebar$3$end$line$text(null, line, null);
  77670. },
  77671. _writeSidebar$0() {
  77672. return this._writeSidebar$3$end$line$text(null, null, null);
  77673. },
  77674. _countTabs$1(text) {
  77675. var t1, t2, count, t3;
  77676. 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();) {
  77677. t3 = t1.__internal$_current;
  77678. if ((t3 == null ? t2._as(t3) : t3) === 9)
  77679. ++count;
  77680. }
  77681. return count;
  77682. },
  77683. _isOnlyWhitespace$1(text) {
  77684. var t1, t2, t3;
  77685. for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  77686. t3 = t1.__internal$_current;
  77687. if (t3 == null)
  77688. t3 = t2._as(t3);
  77689. if (t3 !== 32 && t3 !== 9)
  77690. return false;
  77691. }
  77692. return true;
  77693. },
  77694. _colorize$1$2$color(callback, color) {
  77695. var result,
  77696. t1 = this._primaryColor != null;
  77697. if (t1 && color != null)
  77698. this._highlighter$_buffer._contents += color;
  77699. result = callback.call$0();
  77700. if (t1 && color != null)
  77701. this._highlighter$_buffer._contents += "\x1b[0m";
  77702. return result;
  77703. },
  77704. _colorize$2$color(callback, color) {
  77705. return this._colorize$1$2$color(callback, color, type$.dynamic);
  77706. }
  77707. };
  77708. A.Highlighter_closure.prototype = {
  77709. call$0() {
  77710. var t1 = this.color,
  77711. t2 = J.getInterceptor$(t1);
  77712. if (t2.$eq(t1, true))
  77713. return "\x1b[31m";
  77714. if (t2.$eq(t1, false))
  77715. return null;
  77716. return A._asStringQ(t1);
  77717. },
  77718. $signature: 30
  77719. };
  77720. A.Highlighter$__closure.prototype = {
  77721. call$1(line) {
  77722. var t1 = line.highlights;
  77723. t1 = new A.WhereIterable(t1, new A.Highlighter$___closure(), A._arrayInstanceType(t1)._eval$1("WhereIterable<1>"));
  77724. return t1.get$length(t1);
  77725. },
  77726. $signature: 299
  77727. };
  77728. A.Highlighter$___closure.prototype = {
  77729. call$1(highlight) {
  77730. var t1 = highlight.span;
  77731. return t1.get$start(t1).get$line() !== t1.get$end(t1).get$line();
  77732. },
  77733. $signature: 128
  77734. };
  77735. A.Highlighter$__closure0.prototype = {
  77736. call$1(line) {
  77737. return line.url;
  77738. },
  77739. $signature: 301
  77740. };
  77741. A.Highlighter__collateLines_closure.prototype = {
  77742. call$1(highlight) {
  77743. var t1 = highlight.span;
  77744. t1 = t1.get$sourceUrl(t1);
  77745. return t1 == null ? new A.Object() : t1;
  77746. },
  77747. $signature: 302
  77748. };
  77749. A.Highlighter__collateLines_closure0.prototype = {
  77750. call$2(highlight1, highlight2) {
  77751. return highlight1.span.compareTo$1(0, highlight2.span);
  77752. },
  77753. $signature: 303
  77754. };
  77755. A.Highlighter__collateLines_closure1.prototype = {
  77756. call$1(entry) {
  77757. var t1, t2, t3, t4, context, t5, linesBeforeSpan, lineNumber, _i, line, activeHighlights, highlightIndex, oldHighlightLength, t6,
  77758. url = entry.key,
  77759. highlightsForFile = entry.value,
  77760. lines = A._setArrayType([], type$.JSArray__Line);
  77761. for (t1 = J.getInterceptor$ax(highlightsForFile), t2 = t1.get$iterator(highlightsForFile), t3 = type$.JSArray__Highlight; t2.moveNext$0();) {
  77762. t4 = t2.get$current(t2).span;
  77763. context = t4.get$context(t4);
  77764. t5 = A.findLineStart(context, t4.get$text(), t4.get$start(t4).get$column());
  77765. t5.toString;
  77766. t5 = B.JSString_methods.allMatches$1("\n", B.JSString_methods.substring$2(context, 0, t5));
  77767. linesBeforeSpan = t5.get$length(t5);
  77768. lineNumber = t4.get$start(t4).get$line() - linesBeforeSpan;
  77769. for (t4 = context.split("\n"), t5 = t4.length, _i = 0; _i < t5; ++_i) {
  77770. line = t4[_i];
  77771. if (lines.length === 0 || lineNumber > B.JSArray_methods.get$last(lines).number)
  77772. lines.push(new A._Line(line, lineNumber, url, A._setArrayType([], t3)));
  77773. ++lineNumber;
  77774. }
  77775. }
  77776. activeHighlights = A._setArrayType([], t3);
  77777. for (t2 = lines.length, highlightIndex = 0, _i = 0; _i < lines.length; lines.length === t2 || (0, A.throwConcurrentModificationError)(lines), ++_i) {
  77778. line = lines[_i];
  77779. if (!!activeHighlights.fixed$length)
  77780. A.throwExpression(A.UnsupportedError$("removeWhere"));
  77781. B.JSArray_methods._removeWhere$2(activeHighlights, new A.Highlighter__collateLines__closure(line), true);
  77782. oldHighlightLength = activeHighlights.length;
  77783. for (t3 = t1.skip$1(highlightsForFile, highlightIndex), t3 = new A.ListIterator(t3, t3.get$length(t3)), t4 = A._instanceType(t3)._precomputed1; t3.moveNext$0();) {
  77784. t5 = t3.__internal$_current;
  77785. if (t5 == null)
  77786. t5 = t4._as(t5);
  77787. t6 = t5.span;
  77788. if (t6.get$start(t6).get$line() > line.number)
  77789. break;
  77790. activeHighlights.push(t5);
  77791. }
  77792. highlightIndex += activeHighlights.length - oldHighlightLength;
  77793. B.JSArray_methods.addAll$1(line.highlights, activeHighlights);
  77794. }
  77795. return lines;
  77796. },
  77797. $signature: 304
  77798. };
  77799. A.Highlighter__collateLines__closure.prototype = {
  77800. call$1(highlight) {
  77801. var t1 = highlight.span;
  77802. return t1.get$end(t1).get$line() < this.line.number;
  77803. },
  77804. $signature: 128
  77805. };
  77806. A.Highlighter_highlight_closure.prototype = {
  77807. call$1(highlight) {
  77808. return highlight.isPrimary;
  77809. },
  77810. $signature: 128
  77811. };
  77812. A.Highlighter__writeFileStart_closure.prototype = {
  77813. call$0() {
  77814. this.$this._highlighter$_buffer._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 2) + ">";
  77815. return null;
  77816. },
  77817. $signature: 0
  77818. };
  77819. A.Highlighter__writeMultilineHighlights_closure.prototype = {
  77820. call$0() {
  77821. var t1 = $._glyphs;
  77822. t1 = this.startLine === this.line.number ? t1.get$topLeftCorner() : t1.get$bottomLeftCorner();
  77823. this.$this._highlighter$_buffer._contents += t1;
  77824. },
  77825. $signature: 2
  77826. };
  77827. A.Highlighter__writeMultilineHighlights_closure0.prototype = {
  77828. call$0() {
  77829. var t1 = $._glyphs;
  77830. t1 = this.highlight == null ? t1.get$horizontalLine() : t1.get$cross();
  77831. this.$this._highlighter$_buffer._contents += t1;
  77832. },
  77833. $signature: 2
  77834. };
  77835. A.Highlighter__writeMultilineHighlights_closure1.prototype = {
  77836. call$0() {
  77837. this.$this._highlighter$_buffer._contents += $._glyphs.get$horizontalLine();
  77838. return null;
  77839. },
  77840. $signature: 0
  77841. };
  77842. A.Highlighter__writeMultilineHighlights_closure2.prototype = {
  77843. call$0() {
  77844. var _this = this,
  77845. t1 = _this._box_0,
  77846. t2 = t1.openedOnThisLine,
  77847. t3 = $._glyphs,
  77848. vertical = t2 ? t3.get$cross() : t3.get$verticalLine();
  77849. if (_this.current != null)
  77850. _this.$this._highlighter$_buffer._contents += vertical;
  77851. else {
  77852. t2 = _this.line;
  77853. t3 = t2.number;
  77854. if (_this.startLine === t3) {
  77855. t2 = _this.$this;
  77856. t2._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure(t1, t2), t1.openedOnThisLineColor);
  77857. t1.openedOnThisLine = true;
  77858. if (t1.openedOnThisLineColor == null)
  77859. t1.openedOnThisLineColor = _this.highlight.isPrimary ? t2._primaryColor : t2._secondaryColor;
  77860. } else {
  77861. if (_this.endLine === t3) {
  77862. t3 = _this.highlight.span;
  77863. t2 = t3.get$end(t3).get$column() === t2.text.length;
  77864. } else
  77865. t2 = false;
  77866. t3 = _this.$this;
  77867. if (t2) {
  77868. t1 = _this.highlight.label == null ? $._glyphs.glyphOrAscii$2("\u2514", "\\") : vertical;
  77869. t3._highlighter$_buffer._contents += t1;
  77870. } else
  77871. t3._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure0(t3, vertical), t1.openedOnThisLineColor);
  77872. }
  77873. }
  77874. },
  77875. $signature: 2
  77876. };
  77877. A.Highlighter__writeMultilineHighlights__closure.prototype = {
  77878. call$0() {
  77879. var t1 = this._box_0.openedOnThisLine ? "\u252c" : "\u250c";
  77880. this.$this._highlighter$_buffer._contents += $._glyphs.glyphOrAscii$2(t1, "/");
  77881. },
  77882. $signature: 2
  77883. };
  77884. A.Highlighter__writeMultilineHighlights__closure0.prototype = {
  77885. call$0() {
  77886. this.$this._highlighter$_buffer._contents += this.vertical;
  77887. },
  77888. $signature: 2
  77889. };
  77890. A.Highlighter__writeHighlightedText_closure.prototype = {
  77891. call$0() {
  77892. var _this = this;
  77893. return _this.$this._writeText$1(B.JSString_methods.substring$2(_this.text, _this.startColumn, _this.endColumn));
  77894. },
  77895. $signature: 0
  77896. };
  77897. A.Highlighter__writeIndicator_closure.prototype = {
  77898. call$0() {
  77899. var startColumn, endColumn, tabsBefore, tabsInside,
  77900. t1 = this.$this,
  77901. t2 = t1._highlighter$_buffer,
  77902. t3 = t2._contents,
  77903. t4 = this.highlight,
  77904. t5 = t4.span;
  77905. t4 = t4.isPrimary ? "^" : $._glyphs.get$horizontalLineBold();
  77906. startColumn = t5.get$start(t5).get$column();
  77907. endColumn = t5.get$end(t5).get$column();
  77908. t5 = this.line.text;
  77909. tabsBefore = t1._countTabs$1(B.JSString_methods.substring$2(t5, 0, startColumn));
  77910. tabsInside = t1._countTabs$1(B.JSString_methods.substring$2(t5, startColumn, endColumn));
  77911. startColumn += tabsBefore * 3;
  77912. t2._contents += B.JSString_methods.$mul(" ", startColumn);
  77913. t4 = t2._contents += B.JSString_methods.$mul(t4, Math.max(endColumn + (tabsBefore + tabsInside) * 3 - startColumn, 1));
  77914. return t4.length - t3.length;
  77915. },
  77916. $signature: 3
  77917. };
  77918. A.Highlighter__writeIndicator_closure0.prototype = {
  77919. call$0() {
  77920. var t1 = this.highlight.span;
  77921. return this.$this._writeArrow$2(this.line, t1.get$start(t1).get$column());
  77922. },
  77923. $signature: 0
  77924. };
  77925. A.Highlighter__writeIndicator_closure1.prototype = {
  77926. call$0() {
  77927. var t4, _this = this,
  77928. t1 = _this.$this,
  77929. t2 = t1._highlighter$_buffer,
  77930. t3 = t2._contents;
  77931. if (_this.coversWholeLine)
  77932. t2._contents += B.JSString_methods.$mul($._glyphs.get$horizontalLine(), 3);
  77933. else {
  77934. t4 = _this.highlight.span;
  77935. t1._writeArrow$3$beginning(_this.line, Math.max(t4.get$end(t4).get$column() - 1, 0), false);
  77936. }
  77937. return t2._contents.length - t3.length;
  77938. },
  77939. $signature: 3
  77940. };
  77941. A.Highlighter__writeLabel_closure.prototype = {
  77942. call$0() {
  77943. this.$this._highlighter$_buffer._contents += " " + A.S(B.JSArray_methods.get$first(this.lines));
  77944. return null;
  77945. },
  77946. $signature: 0
  77947. };
  77948. A.Highlighter__writeLabel_closure0.prototype = {
  77949. call$0() {
  77950. this.$this._highlighter$_buffer._contents += " " + this.text;
  77951. return null;
  77952. },
  77953. $signature: 0
  77954. };
  77955. A.Highlighter__writeSidebar_closure.prototype = {
  77956. call$0() {
  77957. var t1 = this.$this,
  77958. t2 = t1._highlighter$_buffer,
  77959. t3 = this._box_0.text;
  77960. if (t3 == null)
  77961. t3 = "";
  77962. t2._contents += B.JSString_methods.padRight$1(t3, t1._paddingBeforeSidebar);
  77963. t1 = this.end;
  77964. t2._contents += t1 == null ? $._glyphs.get$verticalLine() : t1;
  77965. },
  77966. $signature: 2
  77967. };
  77968. A._Highlight.prototype = {
  77969. toString$0(_) {
  77970. var t1 = this.isPrimary ? "" + "primary " : "",
  77971. t2 = this.span;
  77972. 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());
  77973. t1 = this.label;
  77974. t1 = t1 != null ? t2 + (" (" + t1 + ")") : t2;
  77975. return t1.charCodeAt(0) == 0 ? t1 : t1;
  77976. }
  77977. };
  77978. A._Highlight_closure.prototype = {
  77979. call$0() {
  77980. var t2, t3, t4, t5,
  77981. t1 = this.span;
  77982. if (!(type$.SourceSpanWithContext._is(t1) && A.findLineStart(t1.get$context(t1), t1.get$text(), t1.get$start(t1).get$column()) != null)) {
  77983. t2 = A.SourceLocation$(t1.get$start(t1).get$offset(), 0, 0, t1.get$sourceUrl(t1));
  77984. t3 = t1.get$end(t1).get$offset();
  77985. t4 = t1.get$sourceUrl(t1);
  77986. t5 = A.countCodeUnits(t1.get$text(), 10);
  77987. t1 = A.SourceSpanWithContext$(t2, A.SourceLocation$(t3, A._Highlight__lastLineLength(t1.get$text()), t5, t4), t1.get$text(), t1.get$text());
  77988. }
  77989. return A._Highlight__normalizeEndOfLine(A._Highlight__normalizeTrailingNewline(A._Highlight__normalizeNewlines(t1)));
  77990. },
  77991. $signature: 305
  77992. };
  77993. A._Line.prototype = {
  77994. toString$0(_) {
  77995. return "" + this.number + ': "' + this.text + '" (' + B.JSArray_methods.join$1(this.highlights, ", ") + ")";
  77996. }
  77997. };
  77998. A.SourceLocation.prototype = {
  77999. distance$1(other) {
  78000. var t1 = this.sourceUrl;
  78001. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  78002. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  78003. return Math.abs(this.offset - other.get$offset());
  78004. },
  78005. compareTo$1(_, other) {
  78006. var t1 = this.sourceUrl;
  78007. if (!J.$eq$(t1, other.get$sourceUrl(other)))
  78008. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t1) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  78009. return this.offset - other.get$offset();
  78010. },
  78011. $eq(_, other) {
  78012. if (other == null)
  78013. return false;
  78014. return type$.SourceLocation._is(other) && J.$eq$(this.sourceUrl, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  78015. },
  78016. get$hashCode(_) {
  78017. var t1 = this.sourceUrl;
  78018. t1 = t1 == null ? null : t1.get$hashCode(t1);
  78019. if (t1 == null)
  78020. t1 = 0;
  78021. return t1 + this.offset;
  78022. },
  78023. toString$0(_) {
  78024. var _this = this,
  78025. t1 = A.getRuntimeTypeOfDartObject(_this).toString$0(0),
  78026. source = _this.sourceUrl;
  78027. return "<" + t1 + ": " + _this.offset + " " + (A.S(source == null ? "unknown source" : source) + ":" + (_this.line + 1) + ":" + (_this.column + 1)) + ">";
  78028. },
  78029. $isComparable: 1,
  78030. get$sourceUrl(receiver) {
  78031. return this.sourceUrl;
  78032. },
  78033. get$offset() {
  78034. return this.offset;
  78035. },
  78036. get$line() {
  78037. return this.line;
  78038. },
  78039. get$column() {
  78040. return this.column;
  78041. }
  78042. };
  78043. A.SourceLocationMixin.prototype = {
  78044. distance$1(other) {
  78045. var _this = this;
  78046. if (!J.$eq$(_this.file.url, other.get$sourceUrl(other)))
  78047. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  78048. return Math.abs(_this.offset - other.get$offset());
  78049. },
  78050. compareTo$1(_, other) {
  78051. var _this = this;
  78052. if (!J.$eq$(_this.file.url, other.get$sourceUrl(other)))
  78053. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(_this.get$sourceUrl(_this)) + '" and "' + A.S(other.get$sourceUrl(other)) + "\" don't match.", null));
  78054. return _this.offset - other.get$offset();
  78055. },
  78056. $eq(_, other) {
  78057. if (other == null)
  78058. return false;
  78059. return type$.SourceLocation._is(other) && J.$eq$(this.file.url, other.get$sourceUrl(other)) && this.offset === other.get$offset();
  78060. },
  78061. get$hashCode(_) {
  78062. var t1 = this.file.url;
  78063. t1 = t1 == null ? null : t1.get$hashCode(t1);
  78064. if (t1 == null)
  78065. t1 = 0;
  78066. return t1 + this.offset;
  78067. },
  78068. toString$0(_) {
  78069. var t1 = A.getRuntimeTypeOfDartObject(this).toString$0(0),
  78070. t2 = this.offset,
  78071. t3 = this.file,
  78072. source = t3.url;
  78073. return "<" + t1 + ": " + t2 + " " + (A.S(source == null ? "unknown source" : source) + ":" + (t3.getLine$1(t2) + 1) + ":" + (t3.getColumn$1(t2) + 1)) + ">";
  78074. },
  78075. $isComparable: 1,
  78076. $isSourceLocation: 1
  78077. };
  78078. A.SourceSpanBase.prototype = {
  78079. SourceSpanBase$3(start, end, text) {
  78080. var t3,
  78081. t1 = this.end,
  78082. t2 = this.start;
  78083. if (!J.$eq$(t1.get$sourceUrl(t1), t2.get$sourceUrl(t2)))
  78084. throw A.wrapException(A.ArgumentError$('Source URLs "' + A.S(t2.get$sourceUrl(t2)) + '" and "' + A.S(t1.get$sourceUrl(t1)) + "\" don't match.", null));
  78085. else if (t1.get$offset() < t2.get$offset())
  78086. throw A.wrapException(A.ArgumentError$("End " + t1.toString$0(0) + " must come after start " + t2.toString$0(0) + ".", null));
  78087. else {
  78088. t3 = this.text;
  78089. if (t3.length !== t2.distance$1(t1))
  78090. throw A.wrapException(A.ArgumentError$('Text "' + t3 + '" must be ' + t2.distance$1(t1) + " characters long.", null));
  78091. }
  78092. },
  78093. get$start(receiver) {
  78094. return this.start;
  78095. },
  78096. get$end(receiver) {
  78097. return this.end;
  78098. },
  78099. get$text() {
  78100. return this.text;
  78101. }
  78102. };
  78103. A.SourceSpanException.prototype = {
  78104. get$message(_) {
  78105. return this._span_exception$_message;
  78106. },
  78107. get$span(_) {
  78108. return this._span;
  78109. },
  78110. toString$1$color(_, color) {
  78111. var _this = this;
  78112. _this.get$span(_this);
  78113. return "Error on " + _this.get$span(_this).message$2$color(0, _this._span_exception$_message, color);
  78114. },
  78115. toString$0($receiver) {
  78116. return this.toString$1$color($receiver, null);
  78117. },
  78118. $isException: 1
  78119. };
  78120. A.SourceSpanFormatException.prototype = {$isFormatException: 1,
  78121. get$source() {
  78122. return this.source;
  78123. }
  78124. };
  78125. A.MultiSourceSpanException.prototype = {
  78126. toString$0(_) {
  78127. var _this = this;
  78128. return "Error on " + A.SourceSpanExtension_messageMultiple(_this._span, _this._span_exception$_message, _this.primaryLabel, _this.secondarySpans, false, null, null);
  78129. },
  78130. get$primaryLabel() {
  78131. return this.primaryLabel;
  78132. },
  78133. get$secondarySpans() {
  78134. return this.secondarySpans;
  78135. }
  78136. };
  78137. A.MultiSourceSpanFormatException.prototype = {$isFormatException: 1};
  78138. A.SourceSpanMixin.prototype = {
  78139. get$sourceUrl(_) {
  78140. var t1 = this.get$start(this);
  78141. return t1.get$sourceUrl(t1);
  78142. },
  78143. get$length(_) {
  78144. var _this = this;
  78145. return _this.get$end(_this).get$offset() - _this.get$start(_this).get$offset();
  78146. },
  78147. compareTo$1(_, other) {
  78148. var _this = this,
  78149. result = _this.get$start(_this).compareTo$1(0, other.get$start(other));
  78150. return result === 0 ? _this.get$end(_this).compareTo$1(0, other.get$end(other)) : result;
  78151. },
  78152. message$2$color(_, message, color) {
  78153. var t2, t3, highlight, _this = this,
  78154. t1 = "" + ("line " + (_this.get$start(_this).get$line() + 1) + ", column " + (_this.get$start(_this).get$column() + 1));
  78155. if (_this.get$sourceUrl(_this) != null) {
  78156. t2 = _this.get$sourceUrl(_this);
  78157. t3 = $.$get$context();
  78158. t2.toString;
  78159. t2 = t1 + (" of " + t3.prettyUri$1(t2));
  78160. t1 = t2;
  78161. }
  78162. t1 += ": " + message;
  78163. highlight = _this.highlight$1$color(color);
  78164. if (highlight.length !== 0)
  78165. t1 = t1 + "\n" + highlight;
  78166. return t1.charCodeAt(0) == 0 ? t1 : t1;
  78167. },
  78168. message$1($receiver, message) {
  78169. return this.message$2$color($receiver, message, null);
  78170. },
  78171. highlight$1$color(color) {
  78172. var _this = this;
  78173. if (!type$.SourceSpanWithContext._is(_this) && _this.get$length(_this) === 0)
  78174. return "";
  78175. return A.Highlighter$(_this, color).highlight$0();
  78176. },
  78177. $eq(_, other) {
  78178. var _this = this;
  78179. if (other == null)
  78180. return false;
  78181. 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));
  78182. },
  78183. get$hashCode(_) {
  78184. var _this = this;
  78185. return A.Object_hash(_this.get$start(_this), _this.get$end(_this), B.C_SentinelValue, B.C_SentinelValue);
  78186. },
  78187. toString$0(_) {
  78188. var _this = this;
  78189. return "<" + A.getRuntimeTypeOfDartObject(_this).toString$0(0) + ": from " + _this.get$start(_this).toString$0(0) + " to " + _this.get$end(_this).toString$0(0) + ' "' + _this.get$text() + '">';
  78190. },
  78191. $isComparable: 1,
  78192. $isSourceSpan: 1
  78193. };
  78194. A.SourceSpanWithContext.prototype = {
  78195. get$context(_) {
  78196. return this._context;
  78197. }
  78198. };
  78199. A.Chain.prototype = {
  78200. toTrace$0() {
  78201. var t1 = this.traces;
  78202. return A.Trace$(new A.ExpandIterable(t1, new A.Chain_toTrace_closure(), A._arrayInstanceType(t1)._eval$1("ExpandIterable<1,Frame>")), null);
  78203. },
  78204. toString$0(_) {
  78205. var t1 = this.traces,
  78206. t2 = A._arrayInstanceType(t1);
  78207. 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_____);
  78208. },
  78209. $isStackTrace: 1
  78210. };
  78211. A.Chain_Chain$parse_closure.prototype = {
  78212. call$1(line) {
  78213. return line.length !== 0;
  78214. },
  78215. $signature: 10
  78216. };
  78217. A.Chain_toTrace_closure.prototype = {
  78218. call$1(trace) {
  78219. return trace.get$frames();
  78220. },
  78221. $signature: 306
  78222. };
  78223. A.Chain_toString_closure0.prototype = {
  78224. call$1(trace) {
  78225. var t1 = trace.get$frames();
  78226. return new A.MappedListIterable(t1, new A.Chain_toString__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")).fold$2(0, 0, B.CONSTANT);
  78227. },
  78228. $signature: 307
  78229. };
  78230. A.Chain_toString__closure0.prototype = {
  78231. call$1(frame) {
  78232. return frame.get$location().length;
  78233. },
  78234. $signature: 166
  78235. };
  78236. A.Chain_toString_closure.prototype = {
  78237. call$1(trace) {
  78238. var t1 = trace.get$frames();
  78239. return new A.MappedListIterable(t1, new A.Chain_toString__closure(this.longest), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  78240. },
  78241. $signature: 309
  78242. };
  78243. A.Chain_toString__closure.prototype = {
  78244. call$1(frame) {
  78245. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  78246. },
  78247. $signature: 167
  78248. };
  78249. A.Frame.prototype = {
  78250. get$isCore() {
  78251. return this.uri.get$scheme() === "dart";
  78252. },
  78253. get$library() {
  78254. var t1 = this.uri;
  78255. if (t1.get$scheme() === "data")
  78256. return "data:...";
  78257. return $.$get$context().prettyUri$1(t1);
  78258. },
  78259. get$$package() {
  78260. var t1 = this.uri;
  78261. if (t1.get$scheme() !== "package")
  78262. return null;
  78263. return B.JSArray_methods.get$first(t1.get$path(t1).split("/"));
  78264. },
  78265. get$location() {
  78266. var t2, _this = this,
  78267. t1 = _this.line;
  78268. if (t1 == null)
  78269. return _this.get$library();
  78270. t2 = _this.column;
  78271. if (t2 == null)
  78272. return _this.get$library() + " " + A.S(t1);
  78273. return _this.get$library() + " " + A.S(t1) + ":" + A.S(t2);
  78274. },
  78275. toString$0(_) {
  78276. return this.get$location() + " in " + A.S(this.member);
  78277. },
  78278. get$uri() {
  78279. return this.uri;
  78280. },
  78281. get$line() {
  78282. return this.line;
  78283. },
  78284. get$column() {
  78285. return this.column;
  78286. },
  78287. get$member() {
  78288. return this.member;
  78289. }
  78290. };
  78291. A.Frame_Frame$parseVM_closure.prototype = {
  78292. call$0() {
  78293. var match, t2, t3, member, uri, lineAndColumn, line, _null = null,
  78294. t1 = this.frame;
  78295. if (t1 === "...")
  78296. return new A.Frame(A._Uri__Uri(_null, _null, _null, _null), _null, _null, "...");
  78297. match = $.$get$_vmFrame().firstMatch$1(t1);
  78298. if (match == null)
  78299. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  78300. t1 = match._match;
  78301. t2 = t1[1];
  78302. t2.toString;
  78303. t3 = $.$get$_asyncBody();
  78304. t2 = A.stringReplaceAllUnchecked(t2, t3, "<async>");
  78305. member = A.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>");
  78306. t2 = t1[2];
  78307. t3 = t2;
  78308. t3.toString;
  78309. if (B.JSString_methods.startsWith$1(t3, "<data:"))
  78310. uri = A.Uri_Uri$dataFromString("", _null, _null);
  78311. else {
  78312. t2 = t2;
  78313. t2.toString;
  78314. uri = A.Uri_parse(t2);
  78315. }
  78316. lineAndColumn = t1[3].split(":");
  78317. t1 = lineAndColumn.length;
  78318. line = t1 > 1 ? A.int_parse(lineAndColumn[1], _null) : _null;
  78319. return new A.Frame(uri, line, t1 > 2 ? A.int_parse(lineAndColumn[2], _null) : _null, member);
  78320. },
  78321. $signature: 73
  78322. };
  78323. A.Frame_Frame$parseV8_closure.prototype = {
  78324. call$0() {
  78325. var t2, t3, _s4_ = "<fn>",
  78326. t1 = this.frame,
  78327. match = $.$get$_v8Frame().firstMatch$1(t1);
  78328. if (match == null)
  78329. return new A.UnparsedFrame(A._Uri__Uri(null, "unparsed", null, null), t1);
  78330. t1 = new A.Frame_Frame$parseV8_closure_parseLocation(t1);
  78331. t2 = match._match;
  78332. t3 = t2[2];
  78333. if (t3 != null) {
  78334. t3 = t3;
  78335. t3.toString;
  78336. t2 = t2[1];
  78337. t2.toString;
  78338. t2 = A.stringReplaceAllUnchecked(t2, "<anonymous>", _s4_);
  78339. t2 = A.stringReplaceAllUnchecked(t2, "Anonymous function", _s4_);
  78340. return t1.call$2(t3, A.stringReplaceAllUnchecked(t2, "(anonymous function)", _s4_));
  78341. } else {
  78342. t2 = t2[3];
  78343. t2.toString;
  78344. return t1.call$2(t2, _s4_);
  78345. }
  78346. },
  78347. $signature: 73
  78348. };
  78349. A.Frame_Frame$parseV8_closure_parseLocation.prototype = {
  78350. call$2($location, member) {
  78351. var t2, urlMatch, uri, line, columnMatch, _null = null,
  78352. t1 = $.$get$_v8EvalLocation(),
  78353. evalMatch = t1.firstMatch$1($location);
  78354. for (; evalMatch != null; $location = t2) {
  78355. t2 = evalMatch._match[1];
  78356. t2.toString;
  78357. evalMatch = t1.firstMatch$1(t2);
  78358. }
  78359. if ($location === "native")
  78360. return new A.Frame(A.Uri_parse("native"), _null, _null, member);
  78361. urlMatch = $.$get$_v8UrlLocation().firstMatch$1($location);
  78362. if (urlMatch == null)
  78363. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), this.frame);
  78364. t1 = urlMatch._match;
  78365. t2 = t1[1];
  78366. t2.toString;
  78367. uri = A.Frame__uriOrPathToUri(t2);
  78368. t2 = t1[2];
  78369. t2.toString;
  78370. line = A.int_parse(t2, _null);
  78371. columnMatch = t1[3];
  78372. return new A.Frame(uri, line, columnMatch != null ? A.int_parse(columnMatch, _null) : _null, member);
  78373. },
  78374. $signature: 312
  78375. };
  78376. A.Frame_Frame$_parseFirefoxEval_closure.prototype = {
  78377. call$0() {
  78378. var t2, member, uri, line, _null = null,
  78379. t1 = this.frame,
  78380. match = $.$get$_firefoxEvalLocation().firstMatch$1(t1);
  78381. if (match == null)
  78382. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  78383. t1 = match._match;
  78384. t2 = t1[1];
  78385. t2.toString;
  78386. member = A.stringReplaceAllUnchecked(t2, "/<", "");
  78387. t2 = t1[2];
  78388. t2.toString;
  78389. uri = A.Frame__uriOrPathToUri(t2);
  78390. t1 = t1[3];
  78391. t1.toString;
  78392. line = A.int_parse(t1, _null);
  78393. return new A.Frame(uri, line, _null, member.length === 0 || member === "anonymous" ? "<fn>" : member);
  78394. },
  78395. $signature: 73
  78396. };
  78397. A.Frame_Frame$parseFirefox_closure.prototype = {
  78398. call$0() {
  78399. var t2, t3, t4, uri, member, line, column, _null = null,
  78400. t1 = this.frame,
  78401. match = $.$get$_firefoxSafariFrame().firstMatch$1(t1);
  78402. if (match == null)
  78403. return new A.UnparsedFrame(A._Uri__Uri(_null, "unparsed", _null, _null), t1);
  78404. t2 = match._match;
  78405. t3 = t2[3];
  78406. t4 = t3;
  78407. t4.toString;
  78408. if (B.JSString_methods.contains$1(t4, " line "))
  78409. return A.Frame_Frame$_parseFirefoxEval(t1);
  78410. t1 = t3;
  78411. t1.toString;
  78412. uri = A.Frame__uriOrPathToUri(t1);
  78413. member = t2[1];
  78414. if (member != null) {
  78415. t1 = t2[2];
  78416. t1.toString;
  78417. t1 = B.JSString_methods.allMatches$1("/", t1);
  78418. member += B.JSArray_methods.join$0(A.List_List$filled(t1.get$length(t1), ".<fn>", false, type$.String));
  78419. if (member === "")
  78420. member = "<fn>";
  78421. member = B.JSString_methods.replaceFirst$2(member, $.$get$_initialDot(), "");
  78422. } else
  78423. member = "<fn>";
  78424. t1 = t2[4];
  78425. if (t1 === "")
  78426. line = _null;
  78427. else {
  78428. t1 = t1;
  78429. t1.toString;
  78430. line = A.int_parse(t1, _null);
  78431. }
  78432. t1 = t2[5];
  78433. if (t1 == null || t1 === "")
  78434. column = _null;
  78435. else {
  78436. t1 = t1;
  78437. t1.toString;
  78438. column = A.int_parse(t1, _null);
  78439. }
  78440. return new A.Frame(uri, line, column, member);
  78441. },
  78442. $signature: 73
  78443. };
  78444. A.Frame_Frame$parseFriendly_closure.prototype = {
  78445. call$0() {
  78446. var t2, uri, line, column, _null = null,
  78447. t1 = this.frame,
  78448. match = $.$get$_friendlyFrame().firstMatch$1(t1);
  78449. if (match == null)
  78450. throw A.wrapException(A.FormatException$("Couldn't parse package:stack_trace stack trace line '" + t1 + "'.", _null, _null));
  78451. t1 = match._match;
  78452. t2 = t1[1];
  78453. if (t2 === "data:...")
  78454. uri = A.Uri_Uri$dataFromString("", _null, _null);
  78455. else {
  78456. t2 = t2;
  78457. t2.toString;
  78458. uri = A.Uri_parse(t2);
  78459. }
  78460. if (uri.get$scheme() === "") {
  78461. t2 = $.$get$context();
  78462. uri = t2.toUri$1(A.absolute(t2.style.pathFromUri$1(A._parseUri(uri)), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  78463. }
  78464. t2 = t1[2];
  78465. if (t2 == null)
  78466. line = _null;
  78467. else {
  78468. t2 = t2;
  78469. t2.toString;
  78470. line = A.int_parse(t2, _null);
  78471. }
  78472. t2 = t1[3];
  78473. if (t2 == null)
  78474. column = _null;
  78475. else {
  78476. t2 = t2;
  78477. t2.toString;
  78478. column = A.int_parse(t2, _null);
  78479. }
  78480. return new A.Frame(uri, line, column, t1[4]);
  78481. },
  78482. $signature: 73
  78483. };
  78484. A.LazyTrace.prototype = {
  78485. get$_lazy_trace$_trace() {
  78486. var result, _this = this,
  78487. value = _this.__LazyTrace__trace_FI;
  78488. if (value === $) {
  78489. result = _this._thunk.call$0();
  78490. _this.__LazyTrace__trace_FI !== $ && A.throwUnnamedLateFieldADI();
  78491. _this.__LazyTrace__trace_FI = result;
  78492. value = result;
  78493. }
  78494. return value;
  78495. },
  78496. get$frames() {
  78497. return this.get$_lazy_trace$_trace().get$frames();
  78498. },
  78499. get$terse() {
  78500. return new A.LazyTrace(new A.LazyTrace_terse_closure(this));
  78501. },
  78502. toString$0(_) {
  78503. return this.get$_lazy_trace$_trace().toString$0(0);
  78504. },
  78505. $isStackTrace: 1,
  78506. $isTrace: 1
  78507. };
  78508. A.LazyTrace_terse_closure.prototype = {
  78509. call$0() {
  78510. return this.$this.get$_lazy_trace$_trace().get$terse();
  78511. },
  78512. $signature: 169
  78513. };
  78514. A.Trace.prototype = {
  78515. get$terse() {
  78516. return this.foldFrames$2$terse(new A.Trace_terse_closure(), true);
  78517. },
  78518. foldFrames$2$terse(predicate, terse) {
  78519. var newFrames, t1, t2, t3, _box_0 = {};
  78520. _box_0.predicate = predicate;
  78521. _box_0.predicate = new A.Trace_foldFrames_closure(predicate);
  78522. newFrames = A._setArrayType([], type$.JSArray_Frame);
  78523. 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();) {
  78524. t3 = t1.__internal$_current;
  78525. if (t3 == null)
  78526. t3 = t2._as(t3);
  78527. if (t3 instanceof A.UnparsedFrame || !_box_0.predicate.call$1(t3))
  78528. newFrames.push(t3);
  78529. else if (newFrames.length === 0 || !_box_0.predicate.call$1(B.JSArray_methods.get$last(newFrames)))
  78530. newFrames.push(new A.Frame(t3.get$uri(), t3.get$line(), t3.get$column(), t3.get$member()));
  78531. }
  78532. t1 = type$.MappedListIterable_Frame_Frame;
  78533. newFrames = A.List_List$of(new A.MappedListIterable(newFrames, new A.Trace_foldFrames_closure0(_box_0), t1), true, t1._eval$1("ListIterable.E"));
  78534. if (newFrames.length > 1 && _box_0.predicate.call$1(B.JSArray_methods.get$first(newFrames)))
  78535. B.JSArray_methods.removeAt$1(newFrames, 0);
  78536. return A.Trace$(new A.ReversedListIterable(newFrames, A._arrayInstanceType(newFrames)._eval$1("ReversedListIterable<1>")), this.original._stackTrace);
  78537. },
  78538. toString$0(_) {
  78539. var t1 = this.frames,
  78540. t2 = A._arrayInstanceType(t1);
  78541. 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);
  78542. },
  78543. $isStackTrace: 1,
  78544. get$frames() {
  78545. return this.frames;
  78546. }
  78547. };
  78548. A.Trace_Trace$from_closure.prototype = {
  78549. call$0() {
  78550. return A.Trace_Trace$parse(this.trace.toString$0(0));
  78551. },
  78552. $signature: 169
  78553. };
  78554. A.Trace__parseVM_closure.prototype = {
  78555. call$1(line) {
  78556. return line.length !== 0;
  78557. },
  78558. $signature: 10
  78559. };
  78560. A.Trace$parseV8_closure.prototype = {
  78561. call$1(line) {
  78562. return !B.JSString_methods.startsWith$1(line, $.$get$_v8TraceLine());
  78563. },
  78564. $signature: 10
  78565. };
  78566. A.Trace$parseJSCore_closure.prototype = {
  78567. call$1(line) {
  78568. return line !== "\tat ";
  78569. },
  78570. $signature: 10
  78571. };
  78572. A.Trace$parseFirefox_closure.prototype = {
  78573. call$1(line) {
  78574. return line.length !== 0 && line !== "[native code]";
  78575. },
  78576. $signature: 10
  78577. };
  78578. A.Trace$parseFriendly_closure.prototype = {
  78579. call$1(line) {
  78580. return !B.JSString_methods.startsWith$1(line, "=====");
  78581. },
  78582. $signature: 10
  78583. };
  78584. A.Trace_terse_closure.prototype = {
  78585. call$1(_) {
  78586. return false;
  78587. },
  78588. $signature: 170
  78589. };
  78590. A.Trace_foldFrames_closure.prototype = {
  78591. call$1(frame) {
  78592. var t1;
  78593. if (this.oldPredicate.call$1(frame))
  78594. return true;
  78595. if (frame.get$isCore())
  78596. return true;
  78597. if (frame.get$$package() === "stack_trace")
  78598. return true;
  78599. t1 = frame.get$member();
  78600. t1.toString;
  78601. if (!B.JSString_methods.contains$1(t1, "<async>"))
  78602. return false;
  78603. return frame.get$line() == null;
  78604. },
  78605. $signature: 170
  78606. };
  78607. A.Trace_foldFrames_closure0.prototype = {
  78608. call$1(frame) {
  78609. var t1, t2;
  78610. if (frame instanceof A.UnparsedFrame || !this._box_0.predicate.call$1(frame))
  78611. return frame;
  78612. t1 = frame.get$library();
  78613. t2 = $.$get$_terseRegExp();
  78614. return new A.Frame(A.Uri_parse(A.stringReplaceAllUnchecked(t1, t2, "")), null, null, frame.get$member());
  78615. },
  78616. $signature: 315
  78617. };
  78618. A.Trace_toString_closure0.prototype = {
  78619. call$1(frame) {
  78620. return frame.get$location().length;
  78621. },
  78622. $signature: 166
  78623. };
  78624. A.Trace_toString_closure.prototype = {
  78625. call$1(frame) {
  78626. if (frame instanceof A.UnparsedFrame)
  78627. return frame.toString$0(0) + "\n";
  78628. return B.JSString_methods.padRight$1(frame.get$location(), this.longest) + " " + A.S(frame.get$member()) + "\n";
  78629. },
  78630. $signature: 167
  78631. };
  78632. A.UnparsedFrame.prototype = {
  78633. toString$0(_) {
  78634. return this.member;
  78635. },
  78636. $isFrame: 1,
  78637. get$uri() {
  78638. return this.uri;
  78639. },
  78640. get$line() {
  78641. return null;
  78642. },
  78643. get$column() {
  78644. return null;
  78645. },
  78646. get$isCore() {
  78647. return false;
  78648. },
  78649. get$library() {
  78650. return "unparsed";
  78651. },
  78652. get$$package() {
  78653. return null;
  78654. },
  78655. get$location() {
  78656. return "unparsed";
  78657. },
  78658. get$member() {
  78659. return this.member;
  78660. }
  78661. };
  78662. A.TransformByHandlers_transformByHandlers_closure.prototype = {
  78663. call$0() {
  78664. var t2, subscription, t3, t4, _this = this, t1 = {};
  78665. t1.valuesDone = false;
  78666. t2 = _this.controller;
  78667. 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));
  78668. t3 = _this._box_1;
  78669. t3.subscription = subscription;
  78670. t2.set$onPause(subscription.get$pause(subscription));
  78671. t4 = t3.subscription;
  78672. t2.set$onResume(t4.get$resume(t4));
  78673. t2.set$onCancel(new A.TransformByHandlers_transformByHandlers__closure2(t3, t1));
  78674. },
  78675. $signature: 0
  78676. };
  78677. A.TransformByHandlers_transformByHandlers__closure.prototype = {
  78678. call$1(value) {
  78679. return this.handleData.call$2(value, this.controller);
  78680. },
  78681. $signature() {
  78682. return this.S._eval$1("~(0)");
  78683. }
  78684. };
  78685. A.TransformByHandlers_transformByHandlers__closure1.prototype = {
  78686. call$2(error, stackTrace) {
  78687. this.handleError.call$3(error, stackTrace, this.controller);
  78688. },
  78689. $signature: 61
  78690. };
  78691. A.TransformByHandlers_transformByHandlers__closure0.prototype = {
  78692. call$0() {
  78693. this._box_0.valuesDone = true;
  78694. this.handleDone.call$1(this.controller);
  78695. },
  78696. $signature: 0
  78697. };
  78698. A.TransformByHandlers_transformByHandlers__closure2.prototype = {
  78699. call$0() {
  78700. var t1 = this._box_1,
  78701. toCancel = t1.subscription;
  78702. t1.subscription = null;
  78703. if (!this._box_0.valuesDone)
  78704. return toCancel.cancel$0();
  78705. return null;
  78706. },
  78707. $signature: 256
  78708. };
  78709. A.RateLimit__debounceAggregate_closure.prototype = {
  78710. call$2(value, sink) {
  78711. var _this = this,
  78712. t1 = _this._box_0,
  78713. t2 = new A.RateLimit__debounceAggregate_closure_emit(t1, sink, _this.S),
  78714. t3 = t1.timer;
  78715. if (t3 != null)
  78716. t3.cancel$0();
  78717. t1.soFar = _this.collect.call$2(value, t1.soFar);
  78718. t1.hasPending = true;
  78719. if (t1.timer == null && _this.leading) {
  78720. t1.emittedLatestAsLeading = true;
  78721. t2.call$0();
  78722. } else
  78723. t1.emittedLatestAsLeading = false;
  78724. t1.timer = A.Timer_Timer(_this.duration, new A.RateLimit__debounceAggregate__closure(t1, _this.trailing, t2, sink));
  78725. },
  78726. $signature() {
  78727. return this.T._eval$1("@<0>")._bind$1(this.S)._eval$1("~(1,EventSink<2>)");
  78728. }
  78729. };
  78730. A.RateLimit__debounceAggregate_closure_emit.prototype = {
  78731. call$0() {
  78732. var t1 = this._box_0,
  78733. t2 = t1.soFar;
  78734. if (t2 == null)
  78735. t2 = this.S._as(t2);
  78736. this.sink.add$1(0, t2);
  78737. t1.soFar = null;
  78738. t1.hasPending = false;
  78739. },
  78740. $signature: 0
  78741. };
  78742. A.RateLimit__debounceAggregate__closure.prototype = {
  78743. call$0() {
  78744. var t1 = this._box_0,
  78745. t2 = t1.emittedLatestAsLeading;
  78746. if (!t2)
  78747. this.emit.call$0();
  78748. if (t1.shouldClose)
  78749. this.sink.close$0(0);
  78750. t1.timer = null;
  78751. },
  78752. $signature: 0
  78753. };
  78754. A.RateLimit__debounceAggregate_closure0.prototype = {
  78755. call$1(sink) {
  78756. var t1 = this._box_0;
  78757. if (t1.hasPending && this.trailing)
  78758. t1.shouldClose = true;
  78759. else {
  78760. t1 = t1.timer;
  78761. if (t1 != null)
  78762. t1.cancel$0();
  78763. sink.close$0(0);
  78764. }
  78765. },
  78766. $signature() {
  78767. return this.S._eval$1("~(EventSink<0>)");
  78768. }
  78769. };
  78770. A.StringScannerException.prototype = {
  78771. get$source() {
  78772. return A._asString(this.source);
  78773. }
  78774. };
  78775. A.LineScanner.prototype = {
  78776. scanChar$1(character) {
  78777. if (!this.super$StringScanner$scanChar(character))
  78778. return false;
  78779. this._adjustLineAndColumn$1(character);
  78780. return true;
  78781. },
  78782. _adjustLineAndColumn$1(character) {
  78783. var t1, _this = this;
  78784. if (character !== 10)
  78785. t1 = character === 13 && _this.peekChar$0() !== 10;
  78786. else
  78787. t1 = true;
  78788. if (t1) {
  78789. ++_this._line_scanner$_line;
  78790. _this._line_scanner$_column = 0;
  78791. } else {
  78792. t1 = _this._line_scanner$_column;
  78793. _this._line_scanner$_column = t1 + (character >= 65536 && character <= 1114111 ? 2 : 1);
  78794. }
  78795. },
  78796. scan$1(pattern) {
  78797. var t1, newlines, t2, _this = this;
  78798. if (!_this.super$StringScanner$scan(pattern))
  78799. return false;
  78800. t1 = _this.get$lastMatch();
  78801. newlines = _this._newlinesIn$1(t1.pattern);
  78802. t1 = _this._line_scanner$_line;
  78803. t2 = newlines.length;
  78804. _this._line_scanner$_line = t1 + t2;
  78805. if (t2 === 0) {
  78806. t1 = _this._line_scanner$_column;
  78807. t2 = _this.get$lastMatch();
  78808. _this._line_scanner$_column = t1 + t2.pattern.length;
  78809. } else {
  78810. t1 = _this.get$lastMatch();
  78811. _this._line_scanner$_column = t1.pattern.length - J.get$end$z(B.JSArray_methods.get$last(newlines));
  78812. }
  78813. return true;
  78814. },
  78815. _newlinesIn$1(text) {
  78816. var t1 = $.$get$_newlineRegExp().allMatches$1(0, text),
  78817. newlines = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  78818. if (this.peekChar$1(-1) === 13 && this.peekChar$0() === 10)
  78819. B.JSArray_methods.removeLast$0(newlines);
  78820. return newlines;
  78821. }
  78822. };
  78823. A.SpanScanner.prototype = {
  78824. set$state(state) {
  78825. if (state._scanner !== this)
  78826. throw A.wrapException(A.ArgumentError$(string$.The_gi, null));
  78827. this.set$position(state.position);
  78828. },
  78829. spanFrom$2(startState, endState) {
  78830. var endPosition = endState == null ? this._string_scanner$_position : endState.position;
  78831. return this._sourceFile.span$2(0, startState.position, endPosition);
  78832. },
  78833. spanFrom$1(startState) {
  78834. return this.spanFrom$2(startState, null);
  78835. },
  78836. matches$1(pattern) {
  78837. var t1, t2, _this = this;
  78838. if (!_this.super$StringScanner$matches(pattern))
  78839. return false;
  78840. t1 = _this._string_scanner$_position;
  78841. t2 = _this.get$lastMatch();
  78842. _this._sourceFile.span$2(0, t1, t2.start + t2.pattern.length);
  78843. return true;
  78844. },
  78845. error$3$length$position(_, message, $length, position) {
  78846. var match, t2, _this = this,
  78847. t1 = _this.string;
  78848. A.validateErrorArgs(t1, null, position, $length);
  78849. match = position == null && $length == null ? _this.get$lastMatch() : null;
  78850. if (position == null)
  78851. position = match == null ? _this._string_scanner$_position : match.start;
  78852. if ($length == null)
  78853. if (match == null)
  78854. $length = 0;
  78855. else {
  78856. t2 = match.start;
  78857. $length = t2 + match.pattern.length - t2;
  78858. }
  78859. throw A.wrapException(A.StringScannerException$(message, _this._sourceFile.span$2(0, position, position + $length), t1));
  78860. },
  78861. error$1($receiver, message) {
  78862. return this.error$3$length$position($receiver, message, null, null);
  78863. },
  78864. error$2$position($receiver, message, position) {
  78865. return this.error$3$length$position($receiver, message, null, position);
  78866. },
  78867. error$2$length($receiver, message, $length) {
  78868. return this.error$3$length$position($receiver, message, $length, null);
  78869. }
  78870. };
  78871. A._SpanScannerState.prototype = {};
  78872. A.StringScanner.prototype = {
  78873. set$position(position) {
  78874. if (B.JSInt_methods.get$isNegative(position) || position > this.string.length)
  78875. throw A.wrapException(A.ArgumentError$("Invalid position " + position, null));
  78876. this._string_scanner$_position = position;
  78877. this._lastMatch = null;
  78878. },
  78879. get$lastMatch() {
  78880. var _this = this;
  78881. if (_this._string_scanner$_position !== _this._lastMatchPosition)
  78882. _this._lastMatch = null;
  78883. return _this._lastMatch;
  78884. },
  78885. readChar$0() {
  78886. var _this = this,
  78887. t1 = _this.string;
  78888. if (_this._string_scanner$_position === t1.length)
  78889. _this._fail$1("more input");
  78890. return t1.charCodeAt(_this._string_scanner$_position++);
  78891. },
  78892. peekChar$1(offset) {
  78893. var index;
  78894. if (offset == null)
  78895. offset = 0;
  78896. index = this._string_scanner$_position + offset;
  78897. if (index < 0 || index >= this.string.length)
  78898. return null;
  78899. return this.string.charCodeAt(index);
  78900. },
  78901. peekChar$0() {
  78902. return this.peekChar$1(null);
  78903. },
  78904. scanChar$1(character) {
  78905. var t1, t2, t3, t4, _this = this;
  78906. if (character >= 65536 && character <= 1114111) {
  78907. t1 = _this._string_scanner$_position;
  78908. t2 = t1 + 1;
  78909. t3 = _this.string;
  78910. if (t2 < t3.length) {
  78911. t4 = character - 65536;
  78912. t2 = t3.charCodeAt(t1) !== B.JSInt_methods._shrOtherPositive$1(t4, 10) + 55296 || t3.charCodeAt(t2) !== (t4 & 1023) + 56320;
  78913. } else
  78914. t2 = true;
  78915. if (t2)
  78916. return false;
  78917. else {
  78918. _this._string_scanner$_position = t1 + 2;
  78919. return true;
  78920. }
  78921. } else {
  78922. t1 = _this._string_scanner$_position;
  78923. t2 = _this.string;
  78924. if (t1 === t2.length)
  78925. return false;
  78926. if (t2.charCodeAt(t1) !== character)
  78927. return false;
  78928. _this._string_scanner$_position = t1 + 1;
  78929. return true;
  78930. }
  78931. },
  78932. expectChar$2$name(character, $name) {
  78933. if (this.scanChar$1(character))
  78934. return;
  78935. if ($name == null)
  78936. if (character === 92)
  78937. $name = '"\\"';
  78938. else
  78939. $name = character === 34 ? '"\\""' : '"' + A.Primitives_stringFromCharCode(character) + '"';
  78940. this._fail$1($name);
  78941. },
  78942. expectChar$1(character) {
  78943. return this.expectChar$2$name(character, null);
  78944. },
  78945. scan$1(pattern) {
  78946. var t1, _this = this,
  78947. success = _this.matches$1(pattern);
  78948. if (success) {
  78949. t1 = _this._lastMatch;
  78950. _this._lastMatchPosition = _this._string_scanner$_position = t1.start + t1.pattern.length;
  78951. }
  78952. return success;
  78953. },
  78954. expect$1(pattern) {
  78955. var t1, $name;
  78956. if (this.scan$1(pattern))
  78957. return;
  78958. t1 = A.stringReplaceAllUnchecked(pattern, "\\", "\\\\");
  78959. $name = '"' + A.stringReplaceAllUnchecked(t1, '"', '\\"') + '"';
  78960. this._fail$1($name);
  78961. },
  78962. expectDone$0() {
  78963. if (this._string_scanner$_position === this.string.length)
  78964. return;
  78965. this._fail$1("no more input");
  78966. },
  78967. matches$1(pattern) {
  78968. var _this = this,
  78969. t1 = B.JSString_methods.matchAsPrefix$2(pattern, _this.string, _this._string_scanner$_position);
  78970. _this._lastMatch = t1;
  78971. _this._lastMatchPosition = _this._string_scanner$_position;
  78972. return t1 != null;
  78973. },
  78974. substring$1(_, start) {
  78975. var end = this._string_scanner$_position;
  78976. return B.JSString_methods.substring$2(this.string, start, end);
  78977. },
  78978. error$3$length$position(_, message, $length, position) {
  78979. var t1 = this.string;
  78980. A.validateErrorArgs(t1, null, position, $length);
  78981. throw A.wrapException(A.StringScannerException$(message, A.SourceFile$fromString(t1, this.sourceUrl).span$2(0, position, position + $length), t1));
  78982. },
  78983. _fail$1($name) {
  78984. this.error$3$length$position(0, "expected " + $name + ".", 0, this._string_scanner$_position);
  78985. }
  78986. };
  78987. A.AsciiGlyphSet.prototype = {
  78988. glyphOrAscii$2(glyph, alternative) {
  78989. return alternative;
  78990. },
  78991. get$horizontalLine() {
  78992. return "-";
  78993. },
  78994. get$verticalLine() {
  78995. return "|";
  78996. },
  78997. get$topLeftCorner() {
  78998. return ",";
  78999. },
  79000. get$bottomLeftCorner() {
  79001. return "'";
  79002. },
  79003. get$cross() {
  79004. return "+";
  79005. },
  79006. get$upEnd() {
  79007. return "'";
  79008. },
  79009. get$downEnd() {
  79010. return ",";
  79011. },
  79012. get$horizontalLineBold() {
  79013. return "=";
  79014. }
  79015. };
  79016. A.UnicodeGlyphSet.prototype = {
  79017. glyphOrAscii$2(glyph, alternative) {
  79018. return glyph;
  79019. },
  79020. get$horizontalLine() {
  79021. return "\u2500";
  79022. },
  79023. get$verticalLine() {
  79024. return "\u2502";
  79025. },
  79026. get$topLeftCorner() {
  79027. return "\u250c";
  79028. },
  79029. get$bottomLeftCorner() {
  79030. return "\u2514";
  79031. },
  79032. get$cross() {
  79033. return "\u253c";
  79034. },
  79035. get$upEnd() {
  79036. return "\u2575";
  79037. },
  79038. get$downEnd() {
  79039. return "\u2577";
  79040. },
  79041. get$horizontalLineBold() {
  79042. return "\u2501";
  79043. }
  79044. };
  79045. A.WatchEvent.prototype = {
  79046. toString$0(_) {
  79047. return this.type.toString$0(0) + " " + this.path;
  79048. }
  79049. };
  79050. A.ChangeType.prototype = {
  79051. toString$0(_) {
  79052. return this._watch_event$_name;
  79053. }
  79054. };
  79055. A.AnySelectorVisitor0.prototype = {
  79056. visitComplexSelector$1(complex) {
  79057. return B.JSArray_methods.any$1(complex.components, new A.AnySelectorVisitor_visitComplexSelector_closure0(this));
  79058. },
  79059. visitCompoundSelector$1(compound) {
  79060. return B.JSArray_methods.any$1(compound.components, new A.AnySelectorVisitor_visitCompoundSelector_closure0(this));
  79061. },
  79062. visitPseudoSelector$1(pseudo) {
  79063. var selector = pseudo.selector;
  79064. return selector == null ? false : this.visitSelectorList$1(selector);
  79065. },
  79066. visitSelectorList$1(list) {
  79067. return B.JSArray_methods.any$1(list.components, this.get$visitComplexSelector());
  79068. },
  79069. visitAttributeSelector$1(attribute) {
  79070. return false;
  79071. },
  79072. visitClassSelector$1(klass) {
  79073. return false;
  79074. },
  79075. visitIDSelector$1(id) {
  79076. return false;
  79077. },
  79078. visitParentSelector$1($parent) {
  79079. return false;
  79080. },
  79081. visitPlaceholderSelector$1(placeholder) {
  79082. return false;
  79083. },
  79084. visitTypeSelector$1(type) {
  79085. return false;
  79086. },
  79087. visitUniversalSelector$1(universal) {
  79088. return false;
  79089. }
  79090. };
  79091. A.AnySelectorVisitor_visitComplexSelector_closure0.prototype = {
  79092. call$1(component) {
  79093. return this.$this.visitCompoundSelector$1(component.selector);
  79094. },
  79095. $signature: 51
  79096. };
  79097. A.AnySelectorVisitor_visitCompoundSelector_closure0.prototype = {
  79098. call$1(simple) {
  79099. return simple.accept$1(this.$this);
  79100. },
  79101. $signature: 16
  79102. };
  79103. A.SupportsAnything0.prototype = {
  79104. toString$0(_) {
  79105. return "(" + this.contents.toString$0(0) + ")";
  79106. },
  79107. $isAstNode0: 1,
  79108. get$span(receiver) {
  79109. return this.span;
  79110. }
  79111. };
  79112. A.Argument0.prototype = {
  79113. toString$0(_) {
  79114. var t1 = this.defaultValue,
  79115. t2 = this.name;
  79116. return t1 == null ? t2 : t2 + ": " + t1.toString$0(0);
  79117. },
  79118. $isAstNode0: 1,
  79119. get$span(receiver) {
  79120. return this.span;
  79121. }
  79122. };
  79123. A.ArgumentDeclaration0.prototype = {
  79124. get$spanWithName() {
  79125. var t3, t4,
  79126. t1 = this.span,
  79127. t2 = t1.file,
  79128. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, 0, null), 0, null),
  79129. i = A.FileLocation$_(t2, t1._file$_start).offset - 1;
  79130. while (true) {
  79131. if (i > 0) {
  79132. t3 = text.charCodeAt(i);
  79133. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  79134. } else
  79135. t3 = false;
  79136. if (!t3)
  79137. break;
  79138. --i;
  79139. }
  79140. t3 = text.charCodeAt(i);
  79141. if (!(t3 === 95 || A.CharacterExtension_get_isAlphabetic0(t3) || t3 >= 128))
  79142. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  79143. else
  79144. t3 = true;
  79145. if (!t3)
  79146. return t1;
  79147. --i;
  79148. while (true) {
  79149. if (i >= 0) {
  79150. t3 = text.charCodeAt(i);
  79151. if (t3 !== 95) {
  79152. if (!(t3 >= 97 && t3 <= 122))
  79153. t4 = t3 >= 65 && t3 <= 90;
  79154. else
  79155. t4 = true;
  79156. t4 = t4 || t3 >= 128;
  79157. } else
  79158. t4 = true;
  79159. if (!t4)
  79160. t3 = t3 >= 48 && t3 <= 57 || t3 === 45;
  79161. else
  79162. t3 = true;
  79163. } else
  79164. t3 = false;
  79165. if (!t3)
  79166. break;
  79167. --i;
  79168. }
  79169. t3 = i + 1;
  79170. t4 = text.charCodeAt(t3);
  79171. if (!(t4 === 95 || A.CharacterExtension_get_isAlphabetic0(t4) || t4 >= 128))
  79172. return t1;
  79173. return A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t3, A.FileLocation$_(t2, t1._end).offset)));
  79174. },
  79175. verify$2(positional, names) {
  79176. var t1, t2, t3, namedUsed, i, argument, t4, unknownNames, _this = this,
  79177. _s10_ = "invocation",
  79178. _s8_ = "argument";
  79179. for (t1 = _this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  79180. argument = t1[i];
  79181. if (i < positional) {
  79182. t4 = argument.name;
  79183. if (t3.containsKey$1(t4))
  79184. throw A.wrapException(A.SassScriptException$0("Argument " + _this._argument_declaration$_originalArgumentName$1(t4) + string$.x20was_p, null));
  79185. } else {
  79186. t4 = argument.name;
  79187. if (t3.containsKey$1(t4))
  79188. ++namedUsed;
  79189. else if (argument.defaultValue == null)
  79190. 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)));
  79191. }
  79192. }
  79193. if (_this.restArgument != null)
  79194. return;
  79195. if (positional > t2) {
  79196. t1 = names.get$isEmpty(names) ? "" : "positional ";
  79197. 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)));
  79198. }
  79199. if (namedUsed < t3.get$length(t3)) {
  79200. t2 = type$.String;
  79201. unknownNames = A.LinkedHashSet_LinkedHashSet$of(names, t2);
  79202. unknownNames.removeAll$1(new A.MappedListIterable(t1, new A.ArgumentDeclaration_verify_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object?>")));
  79203. throw A.wrapException(A.MultiSpanSassScriptException$0("No " + A.pluralize0(_s8_, unknownNames._collection$_length, null) + " named " + 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)));
  79204. }
  79205. },
  79206. _argument_declaration$_originalArgumentName$1($name) {
  79207. var t1, text, t2, _i, argument, t3, t4, end, _null = null;
  79208. if ($name === this.restArgument) {
  79209. t1 = this.span;
  79210. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.file._decodedChars, t1._file$_start, t1._end), 0, _null);
  79211. 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, "."));
  79212. }
  79213. for (t1 = this.$arguments, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  79214. argument = t1[_i];
  79215. if (argument.name === $name) {
  79216. t1 = argument.defaultValue;
  79217. t2 = argument.span;
  79218. t3 = t2.file;
  79219. t4 = t2._file$_start;
  79220. t2 = t2._end;
  79221. if (t1 == null) {
  79222. t1 = t3._decodedChars;
  79223. t1 = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  79224. } else {
  79225. t1 = t3._decodedChars;
  79226. text = A.String_String$fromCharCodes(new Uint32Array(t1.subarray(t4, A._checkValidRange(t4, t2, t1.length))), 0, _null);
  79227. t1 = B.JSString_methods.substring$2(text, 0, B.JSString_methods.indexOf$1(text, ":"));
  79228. end = A._lastNonWhitespace0(t1, false);
  79229. t1 = end == null ? "" : B.JSString_methods.substring$2(t1, 0, end + 1);
  79230. }
  79231. return t1;
  79232. }
  79233. }
  79234. throw A.wrapException(A.ArgumentError$(string$.This_d + $name + '".', _null));
  79235. },
  79236. matches$2(positional, names) {
  79237. var t1, t2, t3, namedUsed, i, argument;
  79238. for (t1 = this.$arguments, t2 = t1.length, t3 = names._baseMap, namedUsed = 0, i = 0; i < t2; ++i) {
  79239. argument = t1[i];
  79240. if (i < positional) {
  79241. if (t3.containsKey$1(argument.name))
  79242. return false;
  79243. } else if (t3.containsKey$1(argument.name))
  79244. ++namedUsed;
  79245. else if (argument.defaultValue == null)
  79246. return false;
  79247. }
  79248. if (this.restArgument != null)
  79249. return true;
  79250. if (positional > t2)
  79251. return false;
  79252. if (namedUsed < t3.get$length(t3))
  79253. return false;
  79254. return true;
  79255. },
  79256. toString$0(_) {
  79257. var t2, t3, _i,
  79258. t1 = A._setArrayType([], type$.JSArray_String);
  79259. for (t2 = this.$arguments, t3 = t2.length, _i = 0; _i < t3; ++_i)
  79260. t1.push("$" + A.S(t2[_i]));
  79261. t2 = this.restArgument;
  79262. if (t2 != null)
  79263. t1.push("$" + t2 + "...");
  79264. return B.JSArray_methods.join$1(t1, ", ");
  79265. },
  79266. $isAstNode0: 1,
  79267. get$span(receiver) {
  79268. return this.span;
  79269. }
  79270. };
  79271. A.ArgumentDeclaration_verify_closure1.prototype = {
  79272. call$1(argument) {
  79273. return argument.name;
  79274. },
  79275. $signature: 319
  79276. };
  79277. A.ArgumentDeclaration_verify_closure2.prototype = {
  79278. call$1($name) {
  79279. return "$" + $name;
  79280. },
  79281. $signature: 7
  79282. };
  79283. A.ArgumentInvocation0.prototype = {
  79284. get$isEmpty(_) {
  79285. var t1;
  79286. if (this.positional.length === 0) {
  79287. t1 = this.named;
  79288. t1 = t1.get$isEmpty(t1) && this.rest == null;
  79289. } else
  79290. t1 = false;
  79291. return t1;
  79292. },
  79293. toString$0(_) {
  79294. var t2, t3, _i, _1_0, rest, _2_0, keywordRest, _this = this,
  79295. t1 = A._setArrayType([], type$.JSArray_String);
  79296. for (t2 = _this.positional, t3 = t2.length, _i = 0; _i < t3; ++_i)
  79297. t1.push(_this._argument_invocation$_parenthesizeArgument$1(t2[_i]));
  79298. for (t2 = A.MapExtensions_get_pairs0(_this.named, type$.String, type$.Expression_2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  79299. t3 = t2.get$current(t2);
  79300. t1.push("$" + t3._0 + ": " + _this._argument_invocation$_parenthesizeArgument$1(t3._1));
  79301. }
  79302. _1_0 = _this.rest;
  79303. if (_1_0 != null) {
  79304. rest = _1_0;
  79305. t2 = true;
  79306. } else {
  79307. rest = null;
  79308. t2 = false;
  79309. }
  79310. if (t2)
  79311. t1.push(_this._argument_invocation$_parenthesizeArgument$1(rest) + "...");
  79312. _2_0 = _this.keywordRest;
  79313. if (_2_0 != null) {
  79314. keywordRest = _2_0;
  79315. t2 = true;
  79316. } else {
  79317. keywordRest = null;
  79318. t2 = false;
  79319. }
  79320. if (t2)
  79321. t1.push(_this._argument_invocation$_parenthesizeArgument$1(keywordRest) + "...");
  79322. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  79323. },
  79324. _argument_invocation$_parenthesizeArgument$1(argument) {
  79325. var t1;
  79326. $label0$0: {
  79327. if (argument instanceof A.ListExpression0 && B.ListSeparator_rXA0 === argument.separator && !argument.hasBrackets && argument.contents.length >= 2) {
  79328. t1 = "(" + argument.toString$0(0) + ")";
  79329. break $label0$0;
  79330. }
  79331. t1 = argument.toString$0(0);
  79332. break $label0$0;
  79333. }
  79334. return t1;
  79335. },
  79336. $isAstNode0: 1,
  79337. get$span(receiver) {
  79338. return this.span;
  79339. }
  79340. };
  79341. A.argumentListClass_closure.prototype = {
  79342. call$0() {
  79343. var t1 = type$.JSClass,
  79344. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassArgumentList", new A.argumentListClass__closure()));
  79345. A.defineGetter(J.get$$prototype$x(jsClass), "keywords", new A.argumentListClass__closure0(), null);
  79346. 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);
  79347. return jsClass;
  79348. },
  79349. $signature: 24
  79350. };
  79351. A.argumentListClass__closure.prototype = {
  79352. call$4($self, contents, keywords, separator) {
  79353. var t3,
  79354. t1 = self.immutable.isOrderedMap(contents) ? J.toArray$0$x(type$.ImmutableList._as(contents)) : type$.List_dynamic._as(contents),
  79355. t2 = type$.Value_2;
  79356. t1 = J.cast$1$0$ax(t1, t2);
  79357. t3 = self.immutable.isOrderedMap(keywords) ? A.immutableMapToDartMap(type$.ImmutableMap._as(keywords)) : A.objectToMap(keywords);
  79358. return A.SassArgumentList$0(t1, t3.cast$2$0(0, type$.String, t2), A.jsToDartSeparator(separator));
  79359. },
  79360. call$3($self, contents, keywords) {
  79361. return this.call$4($self, contents, keywords, ",");
  79362. },
  79363. "call*": "call$4",
  79364. $requiredArgCount: 3,
  79365. $defaultValues() {
  79366. return [","];
  79367. },
  79368. $signature: 321
  79369. };
  79370. A.argumentListClass__closure0.prototype = {
  79371. call$1($self) {
  79372. $self._argument_list$_wereKeywordsAccessed = true;
  79373. return A.dartMapToImmutableMap($self._argument_list$_keywords);
  79374. },
  79375. $signature: 322
  79376. };
  79377. A.SassArgumentList0.prototype = {};
  79378. A.JSArray2.prototype = {};
  79379. A.AsyncImporter0.prototype = {
  79380. isNonCanonicalScheme$1(scheme) {
  79381. return false;
  79382. }
  79383. };
  79384. A.JSToDartAsyncImporter.prototype = {
  79385. canonicalize$1(_, url) {
  79386. return this.canonicalize$body$JSToDartAsyncImporter(0, url);
  79387. },
  79388. canonicalize$body$JSToDartAsyncImporter(_, url) {
  79389. var $async$goto = 0,
  79390. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  79391. $async$returnValue, $async$self = this, t1, result;
  79392. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  79393. if ($async$errorCode === 1)
  79394. return A._asyncRethrow($async$result, $async$completer);
  79395. while (true)
  79396. switch ($async$goto) {
  79397. case 0:
  79398. // Function start
  79399. result = A.wrapJSExceptions(new A.JSToDartAsyncImporter_canonicalize_closure($async$self, url));
  79400. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  79401. break;
  79402. case 3:
  79403. // then
  79404. $async$goto = 5;
  79405. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  79406. case 5:
  79407. // returning from await.
  79408. result = $async$result;
  79409. case 4:
  79410. // join
  79411. if (result == null) {
  79412. $async$returnValue = null;
  79413. // goto return
  79414. $async$goto = 1;
  79415. break;
  79416. }
  79417. t1 = self.URL;
  79418. if (result instanceof t1) {
  79419. $async$returnValue = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  79420. // goto return
  79421. $async$goto = 1;
  79422. break;
  79423. }
  79424. A.jsThrow(new self.Error(string$.The_ca));
  79425. case 1:
  79426. // return
  79427. return A._asyncReturn($async$returnValue, $async$completer);
  79428. }
  79429. });
  79430. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  79431. },
  79432. load$1(_, url) {
  79433. return this.load$body$JSToDartAsyncImporter(0, url);
  79434. },
  79435. load$body$JSToDartAsyncImporter(_, url) {
  79436. var $async$goto = 0,
  79437. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_ImporterResult_2),
  79438. $async$returnValue, $async$self = this, t1, contents, syntax, t2, result;
  79439. var $async$load$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  79440. if ($async$errorCode === 1)
  79441. return A._asyncRethrow($async$result, $async$completer);
  79442. while (true)
  79443. switch ($async$goto) {
  79444. case 0:
  79445. // Function start
  79446. result = A.wrapJSExceptions(new A.JSToDartAsyncImporter_load_closure($async$self, url));
  79447. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  79448. break;
  79449. case 3:
  79450. // then
  79451. $async$goto = 5;
  79452. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$load$1);
  79453. case 5:
  79454. // returning from await.
  79455. result = $async$result;
  79456. case 4:
  79457. // join
  79458. if (result == null) {
  79459. $async$returnValue = null;
  79460. // goto return
  79461. $async$goto = 1;
  79462. break;
  79463. }
  79464. type$.JSImporterResult._as(result);
  79465. t1 = J.getInterceptor$x(result);
  79466. contents = t1.get$contents(result);
  79467. if (A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  79468. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  79469. syntax = t1.get$syntax(result);
  79470. if (contents == null || syntax == null)
  79471. A.jsThrow(new self.Error(string$.The_lo));
  79472. t2 = A.parseSyntax(syntax);
  79473. $async$returnValue = A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
  79474. // goto return
  79475. $async$goto = 1;
  79476. break;
  79477. case 1:
  79478. // return
  79479. return A._asyncReturn($async$returnValue, $async$completer);
  79480. }
  79481. });
  79482. return A._asyncStartSync($async$load$1, $async$completer);
  79483. },
  79484. isNonCanonicalScheme$1(scheme) {
  79485. return this._nonCanonicalSchemes.contains$1(0, scheme);
  79486. }
  79487. };
  79488. A.JSToDartAsyncImporter_canonicalize_closure.prototype = {
  79489. call$0() {
  79490. return this.$this._async0$_canonicalize.call$2(this.url.toString$0(0), {fromImport: A.fromImport0(), containingUrl: A.NullableExtension_andThen0(A.containingUrl(), A.utils1__dartToJSUrl$closure())});
  79491. },
  79492. $signature: 29
  79493. };
  79494. A.JSToDartAsyncImporter_load_closure.prototype = {
  79495. call$0() {
  79496. return this.$this._load.call$1(new self.URL(this.url.toString$0(0)));
  79497. },
  79498. $signature: 29
  79499. };
  79500. A.AsyncBuiltInCallable0.prototype = {
  79501. callbackFor$2(positional, names) {
  79502. return new A._Record_2(this._async_built_in0$_arguments, this._async_built_in0$_callback);
  79503. },
  79504. $isAsyncCallable0: 1,
  79505. get$name(receiver) {
  79506. return this.name;
  79507. },
  79508. get$acceptsContent() {
  79509. return this.acceptsContent;
  79510. }
  79511. };
  79512. A.AsyncBuiltInCallable$mixin_closure0.prototype = {
  79513. call$1($arguments) {
  79514. return this.$call$body$AsyncBuiltInCallable$mixin_closure0($arguments);
  79515. },
  79516. $call$body$AsyncBuiltInCallable$mixin_closure0($arguments) {
  79517. var $async$goto = 0,
  79518. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  79519. $async$returnValue, $async$self = this, t1;
  79520. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  79521. if ($async$errorCode === 1)
  79522. return A._asyncRethrow($async$result, $async$completer);
  79523. while (true)
  79524. switch ($async$goto) {
  79525. case 0:
  79526. // Function start
  79527. t1 = $async$self.callback.call$1($arguments);
  79528. $async$goto = 3;
  79529. return A._asyncAwait(t1 instanceof A._Future ? t1 : A._Future$value(t1, type$.void), $async$call$1);
  79530. case 3:
  79531. // returning from await.
  79532. $async$returnValue = B.C__SassNull0;
  79533. // goto return
  79534. $async$goto = 1;
  79535. break;
  79536. case 1:
  79537. // return
  79538. return A._asyncReturn($async$returnValue, $async$completer);
  79539. }
  79540. });
  79541. return A._asyncStartSync($async$call$1, $async$completer);
  79542. },
  79543. $signature: 113
  79544. };
  79545. A._compileStylesheet_closure2.prototype = {
  79546. call$1(url) {
  79547. 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);
  79548. },
  79549. $signature: 7
  79550. };
  79551. A.AsyncEnvironment0.prototype = {
  79552. closure$0() {
  79553. var t4, t5, t6, _this = this,
  79554. t1 = _this._async_environment0$_forwardedModules,
  79555. t2 = _this._async_environment0$_nestedForwardedModules,
  79556. t3 = _this._async_environment0$_variables;
  79557. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  79558. t4 = _this._async_environment0$_variableNodes;
  79559. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  79560. t5 = _this._async_environment0$_functions;
  79561. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  79562. t6 = _this._async_environment0$_mixins;
  79563. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  79564. 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);
  79565. },
  79566. forwardModule$2(module, rule) {
  79567. var view, t1, t2, _this = this,
  79568. forwardedModules = _this._async_environment0$_forwardedModules;
  79569. if (forwardedModules == null)
  79570. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  79571. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.AsyncCallable_2);
  79572. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
  79573. t2 = t1.__js_helper$_current;
  79574. _this._async_environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  79575. _this._async_environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  79576. _this._async_environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  79577. }
  79578. _this._async_environment0$_allModules.push(module);
  79579. forwardedModules.$indexSet(0, view, rule);
  79580. },
  79581. _async_environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  79582. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  79583. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  79584. larger = oldMembers;
  79585. smaller = newMembers;
  79586. } else {
  79587. larger = newMembers;
  79588. smaller = oldMembers;
  79589. }
  79590. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs0(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  79591. t4 = t2.get$current(t2);
  79592. $name = t4._0;
  79593. small = t4._1;
  79594. large = larger.$index(0, $name);
  79595. if (large == null)
  79596. continue;
  79597. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  79598. continue;
  79599. if (t3)
  79600. $name = "$" + $name;
  79601. t2 = this._async_environment0$_forwardedModules;
  79602. if (t2 == null)
  79603. span = null;
  79604. else {
  79605. t2 = t2.$index(0, oldModule);
  79606. span = t2 == null ? null : J.get$span$z(t2);
  79607. }
  79608. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  79609. if (span != null)
  79610. t2.$indexSet(0, span, "original @forward");
  79611. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  79612. }
  79613. },
  79614. importForwards$1(module) {
  79615. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, _length, _list, _this = this,
  79616. forwarded = module._async_environment0$_environment._async_environment0$_forwardedModules;
  79617. if (forwarded == null)
  79618. return;
  79619. forwardedModules = _this._async_environment0$_forwardedModules;
  79620. if (forwardedModules != null) {
  79621. t1 = type$.Module_AsyncCallable_2;
  79622. t2 = type$.AstNode_2;
  79623. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  79624. for (t1 = A.MapExtensions_get_pairs0(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._async_environment0$_globalModules; t1.moveNext$0();) {
  79625. t4 = t1.get$current(t1);
  79626. module = t4._0;
  79627. node = t4._1;
  79628. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  79629. t3.$indexSet(0, module, node);
  79630. }
  79631. forwarded = t3;
  79632. } else
  79633. forwardedModules = _this._async_environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.AstNode_2);
  79634. t1 = type$.String;
  79635. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  79636. for (t3 = A.LinkedHashMapKeyIterator$(forwarded, forwarded._modifications); t3.moveNext$0();)
  79637. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  79638. t2.add$1(0, t4.get$current(t4));
  79639. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  79640. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded._modifications); t4.moveNext$0();) {
  79641. t5 = t4.__js_helper$_current;
  79642. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  79643. t3.add$1(0, t5.get$current(t5));
  79644. }
  79645. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  79646. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded._modifications); t4.moveNext$0();)
  79647. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  79648. t1.add$1(0, t5.get$current(t5));
  79649. t4 = _this._async_environment0$_variables;
  79650. t5 = t4.length;
  79651. if (t5 === 1) {
  79652. for (t5 = _this._async_environment0$_importedModules, t6 = type$.Module_AsyncCallable_2, t7 = type$.AstNode_2, t8 = A.MapExtensions_get_pairs0(t5, t6, t7).toList$0(0), t9 = t8.length, t10 = type$.AsyncCallable_2, _i = 0; _i < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i) {
  79653. t11 = t8[_i];
  79654. module = t11._0;
  79655. node = t11._1;
  79656. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  79657. if (shadowed != null) {
  79658. t5.remove$1(0, module);
  79659. t11 = shadowed.variables;
  79660. if (t11.get$isEmpty(t11)) {
  79661. t11 = shadowed.functions;
  79662. if (t11.get$isEmpty(t11)) {
  79663. t11 = shadowed.mixins;
  79664. if (t11.get$isEmpty(t11)) {
  79665. t11 = shadowed._shadowed_view0$_inner;
  79666. t11 = t11.get$css(t11);
  79667. t11 = J.get$isEmpty$asx(t11.get$children(t11));
  79668. } else
  79669. t11 = false;
  79670. } else
  79671. t11 = false;
  79672. } else
  79673. t11 = false;
  79674. if (!t11)
  79675. t5.$indexSet(0, shadowed, node);
  79676. }
  79677. }
  79678. for (t6 = A.MapExtensions_get_pairs0(forwardedModules, t6, t7).toList$0(0), t7 = t6.length, _i = 0; _i < t6.length; t6.length === t7 || (0, A.throwConcurrentModificationError)(t6), ++_i) {
  79679. t8 = t6[_i];
  79680. module = t8._0;
  79681. node = t8._1;
  79682. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  79683. if (shadowed != null) {
  79684. forwardedModules.remove$1(0, module);
  79685. t8 = shadowed.variables;
  79686. if (t8.get$isEmpty(t8)) {
  79687. t8 = shadowed.functions;
  79688. if (t8.get$isEmpty(t8)) {
  79689. t8 = shadowed.mixins;
  79690. if (t8.get$isEmpty(t8)) {
  79691. t8 = shadowed._shadowed_view0$_inner;
  79692. t8 = t8.get$css(t8);
  79693. t8 = J.get$isEmpty$asx(t8.get$children(t8));
  79694. } else
  79695. t8 = false;
  79696. } else
  79697. t8 = false;
  79698. } else
  79699. t8 = false;
  79700. if (!t8)
  79701. forwardedModules.$indexSet(0, shadowed, node);
  79702. }
  79703. }
  79704. t5.addAll$1(0, forwarded);
  79705. forwardedModules.addAll$1(0, forwarded);
  79706. } else {
  79707. t6 = _this._async_environment0$_nestedForwardedModules;
  79708. if (t6 == null) {
  79709. _length = t5 - 1;
  79710. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_AsyncCallable_2);
  79711. for (t5 = type$.JSArray_Module_AsyncCallable_2, _i = 0; _i < _length; ++_i)
  79712. _list[_i] = A._setArrayType([], t5);
  79713. _this._async_environment0$_nestedForwardedModules = _list;
  79714. t5 = _list;
  79715. } else
  79716. t5 = t6;
  79717. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeyIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>")));
  79718. }
  79719. for (t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications), t5 = _this._async_environment0$_variableIndices, t6 = _this._async_environment0$_variableNodes, t7 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  79720. t8 = t2._collection$_current;
  79721. if (t8 == null)
  79722. t8 = t7._as(t8);
  79723. t5.remove$1(0, t8);
  79724. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  79725. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  79726. }
  79727. for (t2 = A._LinkedHashSetIterator$(t3, t3._collection$_modifications), t3 = _this._async_environment0$_functionIndices, t4 = _this._async_environment0$_functions, t5 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  79728. t6 = t2._collection$_current;
  79729. if (t6 == null)
  79730. t6 = t5._as(t6);
  79731. t3.remove$1(0, t6);
  79732. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  79733. }
  79734. for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications), t2 = _this._async_environment0$_mixinIndices, t3 = _this._async_environment0$_mixins, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  79735. t5 = t1._collection$_current;
  79736. if (t5 == null)
  79737. t5 = t4._as(t5);
  79738. t2.remove$1(0, t5);
  79739. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  79740. }
  79741. },
  79742. getVariable$2$namespace($name, namespace) {
  79743. var t1, _0_0, index, t2, _1_0, _this = this;
  79744. if (namespace != null)
  79745. return _this._async_environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  79746. if (_this._async_environment0$_lastVariableName === $name) {
  79747. t1 = _this._async_environment0$_lastVariableIndex;
  79748. t1.toString;
  79749. t1 = J.$index$asx(_this._async_environment0$_variables[t1], $name);
  79750. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  79751. }
  79752. t1 = _this._async_environment0$_variableIndices;
  79753. _0_0 = t1.$index(0, $name);
  79754. if (_0_0 != null) {
  79755. index = _0_0;
  79756. t2 = true;
  79757. } else {
  79758. index = null;
  79759. t2 = false;
  79760. }
  79761. if (t2) {
  79762. _this._async_environment0$_lastVariableName = $name;
  79763. _this._async_environment0$_lastVariableIndex = index;
  79764. t1 = J.$index$asx(_this._async_environment0$_variables[index], $name);
  79765. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  79766. } else {
  79767. _1_0 = _this._async_environment0$_variableIndex$1($name);
  79768. if (_1_0 != null) {
  79769. index = _1_0;
  79770. t2 = true;
  79771. } else {
  79772. index = null;
  79773. t2 = false;
  79774. }
  79775. if (t2) {
  79776. _this._async_environment0$_lastVariableName = $name;
  79777. _this._async_environment0$_lastVariableIndex = index;
  79778. t1.$indexSet(0, $name, index);
  79779. t1 = J.$index$asx(_this._async_environment0$_variables[index], $name);
  79780. return t1 == null ? _this._async_environment0$_getVariableFromGlobalModule$1($name) : t1;
  79781. } else
  79782. return _this._async_environment0$_getVariableFromGlobalModule$1($name);
  79783. }
  79784. },
  79785. getVariable$1($name) {
  79786. return this.getVariable$2$namespace($name, null);
  79787. },
  79788. _async_environment0$_getVariableFromGlobalModule$1($name) {
  79789. return this._async_environment0$_fromOneModule$3($name, "variable", new A.AsyncEnvironment__getVariableFromGlobalModule_closure0($name));
  79790. },
  79791. getVariableNode$2$namespace($name, namespace) {
  79792. var t1, _0_0, index, t2, _1_0, _this = this;
  79793. if (namespace != null)
  79794. return _this._async_environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  79795. if (_this._async_environment0$_lastVariableName === $name) {
  79796. t1 = _this._async_environment0$_lastVariableIndex;
  79797. t1.toString;
  79798. t1 = J.$index$asx(_this._async_environment0$_variableNodes[t1], $name);
  79799. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  79800. }
  79801. t1 = _this._async_environment0$_variableIndices;
  79802. _0_0 = t1.$index(0, $name);
  79803. if (_0_0 != null) {
  79804. index = _0_0;
  79805. t2 = true;
  79806. } else {
  79807. index = null;
  79808. t2 = false;
  79809. }
  79810. if (t2) {
  79811. _this._async_environment0$_lastVariableName = $name;
  79812. _this._async_environment0$_lastVariableIndex = index;
  79813. t1 = J.$index$asx(_this._async_environment0$_variableNodes[index], $name);
  79814. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  79815. } else {
  79816. _1_0 = _this._async_environment0$_variableIndex$1($name);
  79817. if (_1_0 != null) {
  79818. index = _1_0;
  79819. t2 = true;
  79820. } else {
  79821. index = null;
  79822. t2 = false;
  79823. }
  79824. if (t2) {
  79825. _this._async_environment0$_lastVariableName = $name;
  79826. _this._async_environment0$_lastVariableIndex = index;
  79827. t1.$indexSet(0, $name, index);
  79828. t1 = J.$index$asx(_this._async_environment0$_variableNodes[index], $name);
  79829. return t1 == null ? _this._async_environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  79830. } else
  79831. return _this._async_environment0$_getVariableNodeFromGlobalModule$1($name);
  79832. }
  79833. },
  79834. _async_environment0$_getVariableNodeFromGlobalModule$1($name) {
  79835. var t1, t2, _0_0, value;
  79836. 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();) {
  79837. t1 = t2._currentIterator;
  79838. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  79839. if (_0_0 != null) {
  79840. value = _0_0;
  79841. t1 = true;
  79842. } else {
  79843. value = null;
  79844. t1 = false;
  79845. }
  79846. if (t1)
  79847. return value;
  79848. }
  79849. return null;
  79850. },
  79851. globalVariableExists$2$namespace($name, namespace) {
  79852. if (namespace != null)
  79853. return this._async_environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  79854. if (B.JSArray_methods.get$first(this._async_environment0$_variables).containsKey$1($name))
  79855. return true;
  79856. return this._async_environment0$_getVariableFromGlobalModule$1($name) != null;
  79857. },
  79858. globalVariableExists$1($name) {
  79859. return this.globalVariableExists$2$namespace($name, null);
  79860. },
  79861. _async_environment0$_variableIndex$1($name) {
  79862. var t1, i;
  79863. for (t1 = this._async_environment0$_variables, i = t1.length - 1; i >= 0; --i)
  79864. if (t1[i].containsKey$1($name))
  79865. return i;
  79866. return null;
  79867. },
  79868. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  79869. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  79870. if (namespace != null) {
  79871. _this._async_environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  79872. return;
  79873. }
  79874. if (global || _this._async_environment0$_variables.length === 1) {
  79875. _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure2(_this, $name));
  79876. t1 = _this._async_environment0$_variables;
  79877. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  79878. moduleWithName = _this._async_environment0$_fromOneModule$3($name, "variable", new A.AsyncEnvironment_setVariable_closure3($name));
  79879. if (moduleWithName != null) {
  79880. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  79881. return;
  79882. }
  79883. }
  79884. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  79885. J.$indexSet$ax(B.JSArray_methods.get$first(_this._async_environment0$_variableNodes), $name, nodeWithSpan);
  79886. return;
  79887. }
  79888. nestedForwardedModules = _this._async_environment0$_nestedForwardedModules;
  79889. if (nestedForwardedModules != null && !_this._async_environment0$_variableIndices.containsKey$1($name) && _this._async_environment0$_variableIndex$1($name) == null)
  79890. 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();) {
  79891. t3 = t1.__internal$_current;
  79892. 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();) {
  79893. t5 = t3.__internal$_current;
  79894. if (t5 == null)
  79895. t5 = t4._as(t5);
  79896. if (t5.get$variables().containsKey$1($name)) {
  79897. t5.setVariable$3($name, value, nodeWithSpan);
  79898. return;
  79899. }
  79900. }
  79901. }
  79902. if (_this._async_environment0$_lastVariableName === $name) {
  79903. t1 = _this._async_environment0$_lastVariableIndex;
  79904. t1.toString;
  79905. index = t1;
  79906. } else
  79907. index = _this._async_environment0$_variableIndices.putIfAbsent$2($name, new A.AsyncEnvironment_setVariable_closure4(_this, $name));
  79908. if (!_this._async_environment0$_inSemiGlobalScope && index === 0) {
  79909. index = _this._async_environment0$_variables.length - 1;
  79910. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  79911. }
  79912. _this._async_environment0$_lastVariableName = $name;
  79913. _this._async_environment0$_lastVariableIndex = index;
  79914. J.$indexSet$ax(_this._async_environment0$_variables[index], $name, value);
  79915. J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
  79916. },
  79917. setVariable$4$global($name, value, nodeWithSpan, global) {
  79918. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  79919. },
  79920. setLocalVariable$3($name, value, nodeWithSpan) {
  79921. var index, _this = this,
  79922. t1 = _this._async_environment0$_variables,
  79923. t2 = t1.length;
  79924. _this._async_environment0$_lastVariableName = $name;
  79925. index = _this._async_environment0$_lastVariableIndex = t2 - 1;
  79926. _this._async_environment0$_variableIndices.$indexSet(0, $name, index);
  79927. J.$indexSet$ax(t1[index], $name, value);
  79928. J.$indexSet$ax(_this._async_environment0$_variableNodes[index], $name, nodeWithSpan);
  79929. },
  79930. getFunction$2$namespace($name, namespace) {
  79931. var t1, _0_0, index, t2, _1_0, _this = this;
  79932. if (namespace != null) {
  79933. t1 = _this._async_environment0$_getModule$1(namespace);
  79934. return t1.get$functions(t1).$index(0, $name);
  79935. }
  79936. t1 = _this._async_environment0$_functionIndices;
  79937. _0_0 = t1.$index(0, $name);
  79938. if (_0_0 != null) {
  79939. index = _0_0;
  79940. t2 = true;
  79941. } else {
  79942. index = null;
  79943. t2 = false;
  79944. }
  79945. if (t2) {
  79946. t1 = J.$index$asx(_this._async_environment0$_functions[index], $name);
  79947. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  79948. } else {
  79949. _1_0 = _this._async_environment0$_functionIndex$1($name);
  79950. if (_1_0 != null) {
  79951. index = _1_0;
  79952. t2 = true;
  79953. } else {
  79954. index = null;
  79955. t2 = false;
  79956. }
  79957. if (t2) {
  79958. t1.$indexSet(0, $name, index);
  79959. t1 = J.$index$asx(_this._async_environment0$_functions[index], $name);
  79960. return t1 == null ? _this._async_environment0$_getFunctionFromGlobalModule$1($name) : t1;
  79961. } else
  79962. return _this._async_environment0$_getFunctionFromGlobalModule$1($name);
  79963. }
  79964. },
  79965. getFunction$1($name) {
  79966. return this.getFunction$2$namespace($name, null);
  79967. },
  79968. _async_environment0$_getFunctionFromGlobalModule$1($name) {
  79969. return this._async_environment0$_fromOneModule$3($name, "function", new A.AsyncEnvironment__getFunctionFromGlobalModule_closure0($name));
  79970. },
  79971. _async_environment0$_functionIndex$1($name) {
  79972. var t1, i;
  79973. for (t1 = this._async_environment0$_functions, i = t1.length - 1; i >= 0; --i)
  79974. if (t1[i].containsKey$1($name))
  79975. return i;
  79976. return null;
  79977. },
  79978. getMixin$2$namespace($name, namespace) {
  79979. var t1, _0_0, index, t2, _1_0, _this = this;
  79980. if (namespace != null)
  79981. return _this._async_environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
  79982. t1 = _this._async_environment0$_mixinIndices;
  79983. _0_0 = t1.$index(0, $name);
  79984. if (_0_0 != null) {
  79985. index = _0_0;
  79986. t2 = true;
  79987. } else {
  79988. index = null;
  79989. t2 = false;
  79990. }
  79991. if (t2) {
  79992. t1 = J.$index$asx(_this._async_environment0$_mixins[index], $name);
  79993. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  79994. } else {
  79995. _1_0 = _this._async_environment0$_mixinIndex$1($name);
  79996. if (_1_0 != null) {
  79997. index = _1_0;
  79998. t2 = true;
  79999. } else {
  80000. index = null;
  80001. t2 = false;
  80002. }
  80003. if (t2) {
  80004. t1.$indexSet(0, $name, index);
  80005. t1 = J.$index$asx(_this._async_environment0$_mixins[index], $name);
  80006. return t1 == null ? _this._async_environment0$_getMixinFromGlobalModule$1($name) : t1;
  80007. } else
  80008. return _this._async_environment0$_getMixinFromGlobalModule$1($name);
  80009. }
  80010. },
  80011. _async_environment0$_getMixinFromGlobalModule$1($name) {
  80012. return this._async_environment0$_fromOneModule$3($name, "mixin", new A.AsyncEnvironment__getMixinFromGlobalModule_closure0($name));
  80013. },
  80014. _async_environment0$_mixinIndex$1($name) {
  80015. var t1, i;
  80016. for (t1 = this._async_environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  80017. if (t1[i].containsKey$1($name))
  80018. return i;
  80019. return null;
  80020. },
  80021. withContent$2($content, callback) {
  80022. return this.withContent$body$AsyncEnvironment0($content, callback);
  80023. },
  80024. withContent$body$AsyncEnvironment0($content, callback) {
  80025. var $async$goto = 0,
  80026. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  80027. $async$self = this, oldContent;
  80028. var $async$withContent$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80029. if ($async$errorCode === 1)
  80030. return A._asyncRethrow($async$result, $async$completer);
  80031. while (true)
  80032. switch ($async$goto) {
  80033. case 0:
  80034. // Function start
  80035. oldContent = $async$self._async_environment0$_content;
  80036. $async$self._async_environment0$_content = $content;
  80037. $async$goto = 2;
  80038. return A._asyncAwait(callback.call$0(), $async$withContent$2);
  80039. case 2:
  80040. // returning from await.
  80041. $async$self._async_environment0$_content = oldContent;
  80042. // implicit return
  80043. return A._asyncReturn(null, $async$completer);
  80044. }
  80045. });
  80046. return A._asyncStartSync($async$withContent$2, $async$completer);
  80047. },
  80048. asMixin$1(callback) {
  80049. var $async$goto = 0,
  80050. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  80051. $async$self = this, oldInMixin;
  80052. var $async$asMixin$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80053. if ($async$errorCode === 1)
  80054. return A._asyncRethrow($async$result, $async$completer);
  80055. while (true)
  80056. switch ($async$goto) {
  80057. case 0:
  80058. // Function start
  80059. oldInMixin = $async$self._async_environment0$_inMixin;
  80060. $async$self._async_environment0$_inMixin = true;
  80061. $async$goto = 2;
  80062. return A._asyncAwait(callback.call$0(), $async$asMixin$1);
  80063. case 2:
  80064. // returning from await.
  80065. $async$self._async_environment0$_inMixin = oldInMixin;
  80066. // implicit return
  80067. return A._asyncReturn(null, $async$completer);
  80068. }
  80069. });
  80070. return A._asyncStartSync($async$asMixin$1, $async$completer);
  80071. },
  80072. scope$1$3$semiGlobal$when(callback, semiGlobal, when, $T) {
  80073. return this.scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $T);
  80074. },
  80075. scope$1$1(callback, $T) {
  80076. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  80077. },
  80078. scope$1$2$when(callback, when, $T) {
  80079. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  80080. },
  80081. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  80082. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  80083. },
  80084. scope$body$AsyncEnvironment0(callback, semiGlobal, when, $T, $async$type) {
  80085. var $async$goto = 0,
  80086. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  80087. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6;
  80088. var $async$scope$1$3$semiGlobal$when = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80089. if ($async$errorCode === 1) {
  80090. $async$currentError = $async$result;
  80091. $async$goto = $async$handler;
  80092. }
  80093. while (true)
  80094. switch ($async$goto) {
  80095. case 0:
  80096. // Function start
  80097. semiGlobal = semiGlobal && $async$self._async_environment0$_inSemiGlobalScope;
  80098. wasInSemiGlobalScope = $async$self._async_environment0$_inSemiGlobalScope;
  80099. $async$self._async_environment0$_inSemiGlobalScope = semiGlobal;
  80100. $async$goto = !when ? 3 : 4;
  80101. break;
  80102. case 3:
  80103. // then
  80104. $async$handler = 5;
  80105. $async$goto = 8;
  80106. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  80107. case 8:
  80108. // returning from await.
  80109. t1 = $async$result;
  80110. $async$returnValue = t1;
  80111. $async$next = [1];
  80112. // goto finally
  80113. $async$goto = 6;
  80114. break;
  80115. $async$next.push(7);
  80116. // goto finally
  80117. $async$goto = 6;
  80118. break;
  80119. case 5:
  80120. // uncaught
  80121. $async$next = [2];
  80122. case 6:
  80123. // finally
  80124. $async$handler = 2;
  80125. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  80126. // goto the next finally handler
  80127. $async$goto = $async$next.pop();
  80128. break;
  80129. case 7:
  80130. // after finally
  80131. case 4:
  80132. // join
  80133. t1 = $async$self._async_environment0$_variables;
  80134. t2 = type$.String;
  80135. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  80136. t3 = $async$self._async_environment0$_variableNodes;
  80137. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  80138. t4 = $async$self._async_environment0$_functions;
  80139. t5 = type$.AsyncCallable_2;
  80140. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  80141. t6 = $async$self._async_environment0$_mixins;
  80142. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  80143. t5 = $async$self._async_environment0$_nestedForwardedModules;
  80144. if (t5 != null)
  80145. t5.push(A._setArrayType([], type$.JSArray_Module_AsyncCallable_2));
  80146. $async$handler = 9;
  80147. $async$goto = 12;
  80148. return A._asyncAwait(callback.call$0(), $async$scope$1$3$semiGlobal$when);
  80149. case 12:
  80150. // returning from await.
  80151. t2 = $async$result;
  80152. $async$returnValue = t2;
  80153. $async$next = [1];
  80154. // goto finally
  80155. $async$goto = 10;
  80156. break;
  80157. $async$next.push(11);
  80158. // goto finally
  80159. $async$goto = 10;
  80160. break;
  80161. case 9:
  80162. // uncaught
  80163. $async$next = [2];
  80164. case 10:
  80165. // finally
  80166. $async$handler = 2;
  80167. $async$self._async_environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  80168. $async$self._async_environment0$_lastVariableIndex = $async$self._async_environment0$_lastVariableName = null;
  80169. 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();) {
  80170. $name = t1.get$current(t1);
  80171. t2.remove$1(0, $name);
  80172. }
  80173. B.JSArray_methods.removeLast$0(t3);
  80174. 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();) {
  80175. name0 = t1.get$current(t1);
  80176. t2.remove$1(0, name0);
  80177. }
  80178. 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();) {
  80179. name1 = t1.get$current(t1);
  80180. t2.remove$1(0, name1);
  80181. }
  80182. t1 = $async$self._async_environment0$_nestedForwardedModules;
  80183. if (t1 != null)
  80184. t1.pop();
  80185. // goto the next finally handler
  80186. $async$goto = $async$next.pop();
  80187. break;
  80188. case 11:
  80189. // after finally
  80190. case 1:
  80191. // return
  80192. return A._asyncReturn($async$returnValue, $async$completer);
  80193. case 2:
  80194. // rethrow
  80195. return A._asyncRethrow($async$currentError, $async$completer);
  80196. }
  80197. });
  80198. return A._asyncStartSync($async$scope$1$3$semiGlobal$when, $async$completer);
  80199. },
  80200. toImplicitConfiguration$0() {
  80201. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  80202. t1 = type$.String,
  80203. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue_2);
  80204. for (t2 = this._async_environment0$_variables, t3 = type$.Value_2, t4 = this._async_environment0$_variableNodes, i = 0; i < t2.length; ++i) {
  80205. values = t2[i];
  80206. nodes = t4[i];
  80207. for (t5 = A.MapExtensions_get_pairs0(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  80208. t6 = t5.get$current(t5);
  80209. $name = t6._0;
  80210. value = t6._1;
  80211. t6 = nodes.$index(0, $name);
  80212. t6.toString;
  80213. configuration.$indexSet(0, $name, new A.ConfiguredValue0(value, null, t6));
  80214. }
  80215. }
  80216. return new A.Configuration0(configuration, null);
  80217. },
  80218. toModule$3(css, preModuleComments, extensionStore) {
  80219. return A._EnvironmentModule__EnvironmentModule2(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toModule_closure0()));
  80220. },
  80221. toDummyModule$0() {
  80222. 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.Map_empty15, B.C_EmptyExtensionStore0, A.NullableExtension_andThen0(this._async_environment0$_forwardedModules, new A.AsyncEnvironment_toDummyModule_closure0()));
  80223. },
  80224. _async_environment0$_getModule$1(namespace) {
  80225. var module, t1,
  80226. _0_0 = this._async_environment0$_modules.$index(0, namespace);
  80227. if (_0_0 != null) {
  80228. module = _0_0;
  80229. t1 = true;
  80230. } else {
  80231. module = null;
  80232. t1 = false;
  80233. }
  80234. if (t1)
  80235. return module;
  80236. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  80237. },
  80238. _async_environment0$_fromOneModule$1$3($name, type, callback) {
  80239. var nestedForwardedModules, t1, t2, t3, t4, t5, _1_0, value, _2_0, identity, valueInModule, identityFromModule, module, node, _null = null,
  80240. _0_0 = this._async_environment0$_nestedForwardedModules;
  80241. if (_0_0 != null) {
  80242. nestedForwardedModules = _0_0;
  80243. t1 = true;
  80244. } else {
  80245. nestedForwardedModules = _null;
  80246. t1 = false;
  80247. }
  80248. if (t1)
  80249. 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();) {
  80250. t3 = t1.__internal$_current;
  80251. 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();) {
  80252. t5 = t3.__internal$_current;
  80253. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  80254. if (_1_0 != null) {
  80255. value = _1_0;
  80256. t5 = true;
  80257. } else {
  80258. value = _null;
  80259. t5 = false;
  80260. }
  80261. if (t5)
  80262. return value;
  80263. }
  80264. }
  80265. for (t1 = this._async_environment0$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
  80266. _2_0 = callback.call$1(t1.__js_helper$_current);
  80267. if (_2_0 != null) {
  80268. value = _2_0;
  80269. t2 = true;
  80270. } else {
  80271. value = _null;
  80272. t2 = false;
  80273. }
  80274. if (t2)
  80275. return value;
  80276. }
  80277. for (t1 = this._async_environment0$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.AsyncCallable_2, identity = _null, value = identity; t2.moveNext$0();) {
  80278. t4 = t2.__js_helper$_current;
  80279. valueInModule = callback.call$1(t4);
  80280. if (valueInModule == null)
  80281. continue;
  80282. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  80283. if (identityFromModule.$eq(0, identity))
  80284. continue;
  80285. if (value != null) {
  80286. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  80287. for (t3 = A.MapExtensions_get_pairs0(t1, type$.Module_AsyncCallable_2, type$.AstNode_2), t3 = t3.get$iterator(t3), t4 = "includes " + type; t3.moveNext$0();) {
  80288. t1 = t3.get$current(t3);
  80289. module = t1._0;
  80290. node = t1._1;
  80291. if (callback.call$1(module) != null)
  80292. t2.$indexSet(0, node.get$span(node), t4);
  80293. }
  80294. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  80295. }
  80296. identity = identityFromModule;
  80297. value = valueInModule;
  80298. }
  80299. return value;
  80300. },
  80301. _async_environment0$_fromOneModule$3($name, type, callback) {
  80302. return this._async_environment0$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  80303. }
  80304. };
  80305. A.AsyncEnvironment__getVariableFromGlobalModule_closure0.prototype = {
  80306. call$1(module) {
  80307. return module.get$variables().$index(0, this.name);
  80308. },
  80309. $signature: 324
  80310. };
  80311. A.AsyncEnvironment_setVariable_closure2.prototype = {
  80312. call$0() {
  80313. var t1 = this.$this;
  80314. t1._async_environment0$_lastVariableName = this.name;
  80315. return t1._async_environment0$_lastVariableIndex = 0;
  80316. },
  80317. $signature: 3
  80318. };
  80319. A.AsyncEnvironment_setVariable_closure3.prototype = {
  80320. call$1(module) {
  80321. return module.get$variables().containsKey$1(this.name) ? module : null;
  80322. },
  80323. $signature: 325
  80324. };
  80325. A.AsyncEnvironment_setVariable_closure4.prototype = {
  80326. call$0() {
  80327. var t1 = this.$this,
  80328. t2 = t1._async_environment0$_variableIndex$1(this.name);
  80329. return t2 == null ? t1._async_environment0$_variables.length - 1 : t2;
  80330. },
  80331. $signature: 3
  80332. };
  80333. A.AsyncEnvironment__getFunctionFromGlobalModule_closure0.prototype = {
  80334. call$1(module) {
  80335. return module.get$functions(module).$index(0, this.name);
  80336. },
  80337. $signature: 176
  80338. };
  80339. A.AsyncEnvironment__getMixinFromGlobalModule_closure0.prototype = {
  80340. call$1(module) {
  80341. return module.get$mixins().$index(0, this.name);
  80342. },
  80343. $signature: 176
  80344. };
  80345. A.AsyncEnvironment_toModule_closure0.prototype = {
  80346. call$1(modules) {
  80347. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  80348. },
  80349. $signature: 177
  80350. };
  80351. A.AsyncEnvironment_toDummyModule_closure0.prototype = {
  80352. call$1(modules) {
  80353. return new A.MapKeySet(modules, type$.MapKeySet_Module_AsyncCallable_2);
  80354. },
  80355. $signature: 177
  80356. };
  80357. A._EnvironmentModule2.prototype = {
  80358. get$url(_) {
  80359. var t1 = this.css;
  80360. return t1.get$span(t1).file.url;
  80361. },
  80362. setVariable$3($name, value, nodeWithSpan) {
  80363. var module, t1, t2,
  80364. _0_0 = this._async_environment0$_modulesByVariable.$index(0, $name);
  80365. if (_0_0 != null) {
  80366. module = _0_0;
  80367. t1 = true;
  80368. } else {
  80369. module = null;
  80370. t1 = false;
  80371. }
  80372. if (t1) {
  80373. module.setVariable$3($name, value, nodeWithSpan);
  80374. return;
  80375. }
  80376. t1 = this._async_environment0$_environment;
  80377. t2 = t1._async_environment0$_variables;
  80378. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  80379. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  80380. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  80381. J.$indexSet$ax(B.JSArray_methods.get$first(t1._async_environment0$_variableNodes), $name, nodeWithSpan);
  80382. return;
  80383. },
  80384. variableIdentity$1($name) {
  80385. var module = this._async_environment0$_modulesByVariable.$index(0, $name);
  80386. return module == null ? this : module.variableIdentity$1($name);
  80387. },
  80388. cloneCss$0() {
  80389. var _0_0, _this = this;
  80390. if (!_this.transitivelyContainsCss)
  80391. return _this;
  80392. _0_0 = A.cloneCssStylesheet0(_this.css, _this.extensionStore);
  80393. return A._EnvironmentModule$_2(_this._async_environment0$_environment, _0_0._0, _this.preModuleComments, _0_0._1, _this._async_environment0$_modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, true, _this.transitivelyContainsExtensions);
  80394. },
  80395. toString$0(_) {
  80396. var t2,
  80397. t1 = this.css;
  80398. if (t1.get$span(t1).file.url == null)
  80399. t1 = "<unknown url>";
  80400. else {
  80401. t1 = t1.get$span(t1).file.url;
  80402. t2 = $.$get$context();
  80403. t1.toString;
  80404. t1 = t2.prettyUri$1(t1);
  80405. }
  80406. return t1;
  80407. },
  80408. $isModule1: 1,
  80409. get$upstream() {
  80410. return this.upstream;
  80411. },
  80412. get$variables() {
  80413. return this.variables;
  80414. },
  80415. get$variableNodes() {
  80416. return this.variableNodes;
  80417. },
  80418. get$functions(receiver) {
  80419. return this.functions;
  80420. },
  80421. get$mixins() {
  80422. return this.mixins;
  80423. },
  80424. get$extensionStore() {
  80425. return this.extensionStore;
  80426. },
  80427. get$css(receiver) {
  80428. return this.css;
  80429. },
  80430. get$preModuleComments() {
  80431. return this.preModuleComments;
  80432. },
  80433. get$transitivelyContainsCss() {
  80434. return this.transitivelyContainsCss;
  80435. },
  80436. get$transitivelyContainsExtensions() {
  80437. return this.transitivelyContainsExtensions;
  80438. }
  80439. };
  80440. A._EnvironmentModule__EnvironmentModule_closure17.prototype = {
  80441. call$1(module) {
  80442. return module.get$variables();
  80443. },
  80444. $signature: 328
  80445. };
  80446. A._EnvironmentModule__EnvironmentModule_closure18.prototype = {
  80447. call$1(module) {
  80448. return module.get$variableNodes();
  80449. },
  80450. $signature: 329
  80451. };
  80452. A._EnvironmentModule__EnvironmentModule_closure19.prototype = {
  80453. call$1(module) {
  80454. return module.get$functions(module);
  80455. },
  80456. $signature: 178
  80457. };
  80458. A._EnvironmentModule__EnvironmentModule_closure20.prototype = {
  80459. call$1(module) {
  80460. return module.get$mixins();
  80461. },
  80462. $signature: 178
  80463. };
  80464. A._EnvironmentModule__EnvironmentModule_closure21.prototype = {
  80465. call$1(module) {
  80466. return module.get$transitivelyContainsCss();
  80467. },
  80468. $signature: 147
  80469. };
  80470. A._EnvironmentModule__EnvironmentModule_closure22.prototype = {
  80471. call$1(module) {
  80472. return module.get$transitivelyContainsExtensions();
  80473. },
  80474. $signature: 147
  80475. };
  80476. A._EvaluateVisitor2.prototype = {
  80477. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  80478. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  80479. _s20_ = "$name, $module: null",
  80480. _s9_ = "sass:meta",
  80481. _s7_ = "$module",
  80482. t1 = type$.JSArray_AsyncBuiltInCallable_2,
  80483. metaFunctions = A._setArrayType([A.BuiltInCallable$function0("global-variable-exists", _s20_, new A._EvaluateVisitor_closure38(_this), _s9_), A.BuiltInCallable$function0("variable-exists", "$name", new A._EvaluateVisitor_closure39(_this), _s9_), A.BuiltInCallable$function0("function-exists", _s20_, new A._EvaluateVisitor_closure40(_this), _s9_), A.BuiltInCallable$function0("mixin-exists", _s20_, new A._EvaluateVisitor_closure41(_this), _s9_), A.BuiltInCallable$function0("content-exists", "", new A._EvaluateVisitor_closure42(_this), _s9_), A.BuiltInCallable$function0("module-variables", _s7_, new A._EvaluateVisitor_closure43(_this), _s9_), A.BuiltInCallable$function0("module-functions", _s7_, new A._EvaluateVisitor_closure44(_this), _s9_), A.BuiltInCallable$function0("module-mixins", _s7_, new A._EvaluateVisitor_closure45(_this), _s9_), A.BuiltInCallable$function0("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure46(_this), _s9_), A.BuiltInCallable$function0("get-mixin", _s20_, new A._EvaluateVisitor_closure47(_this), _s9_), new A.AsyncBuiltInCallable0("call", A.ScssParser$0("@function call($function, $args...) {", null, _s9_).parseArgumentDeclaration$0(), new A._EvaluateVisitor_closure48(_this), false)], t1),
  80484. metaMixins = A._setArrayType([A.AsyncBuiltInCallable$mixin0("load-css", "$url, $with: null", new A._EvaluateVisitor_closure49(_this), false, _s9_), A.AsyncBuiltInCallable$mixin0("apply", "$mixin, $args...", new A._EvaluateVisitor_closure50(_this), true, _s9_)], t1);
  80485. t1 = type$.AsyncBuiltInCallable_2;
  80486. t2 = A.List_List$of($.$get$global6(), true, t1);
  80487. B.JSArray_methods.addAll$1(t2, $.$get$local0());
  80488. B.JSArray_methods.addAll$1(t2, metaFunctions);
  80489. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  80490. for (t1 = A.List_List$of($.$get$coreModules0(), true, type$.BuiltInModule_AsyncCallable_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) {
  80491. module = t1[_i];
  80492. t3.$indexSet(0, module.url, module);
  80493. }
  80494. t1 = A._setArrayType([], type$.JSArray_AsyncCallable_2);
  80495. B.JSArray_methods.addAll$1(t1, functions);
  80496. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
  80497. B.JSArray_methods.addAll$1(t1, metaFunctions);
  80498. for (t2 = t1.length, t3 = _this._async_evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  80499. $function = t1[_i];
  80500. t4 = J.get$name$x($function);
  80501. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  80502. }
  80503. },
  80504. run$2(_, importer, node) {
  80505. return this.run$body$_EvaluateVisitor0(0, importer, node);
  80506. },
  80507. run$body$_EvaluateVisitor0(_, importer, node) {
  80508. var $async$goto = 0,
  80509. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2),
  80510. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, $async$exception;
  80511. var $async$run$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80512. if ($async$errorCode === 1) {
  80513. $async$currentError = $async$result;
  80514. $async$goto = $async$handler;
  80515. }
  80516. while (true)
  80517. switch ($async$goto) {
  80518. case 0:
  80519. // Function start
  80520. $async$handler = 4;
  80521. t1 = type$.nullable_Object;
  80522. t1 = 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_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2);
  80523. $async$goto = 7;
  80524. return A._asyncAwait(type$.Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2._is(t1) ? t1 : A._Future$value(t1, type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2), $async$run$2);
  80525. case 7:
  80526. // returning from await.
  80527. t1 = $async$result;
  80528. $async$returnValue = t1;
  80529. // goto return
  80530. $async$goto = 1;
  80531. break;
  80532. $async$handler = 2;
  80533. // goto after finally
  80534. $async$goto = 6;
  80535. break;
  80536. case 4:
  80537. // catch
  80538. $async$handler = 3;
  80539. $async$exception = $async$currentError;
  80540. t1 = A.unwrapException($async$exception);
  80541. if (t1 instanceof A.SassException0) {
  80542. error = t1;
  80543. stackTrace = A.getTraceFromException($async$exception);
  80544. A.throwWithTrace0(error.withLoadedUrls$1($async$self._async_evaluate0$_loadedUrls), error, stackTrace);
  80545. } else
  80546. throw $async$exception;
  80547. // goto after finally
  80548. $async$goto = 6;
  80549. break;
  80550. case 3:
  80551. // uncaught
  80552. // goto rethrow
  80553. $async$goto = 2;
  80554. break;
  80555. case 6:
  80556. // after finally
  80557. case 1:
  80558. // return
  80559. return A._asyncReturn($async$returnValue, $async$completer);
  80560. case 2:
  80561. // rethrow
  80562. return A._asyncRethrow($async$currentError, $async$completer);
  80563. }
  80564. });
  80565. return A._asyncStartSync($async$run$2, $async$completer);
  80566. },
  80567. _async_evaluate0$_assertInModule$1$2(value, $name) {
  80568. if (value != null)
  80569. return value;
  80570. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  80571. },
  80572. _async_evaluate0$_assertInModule$2(value, $name) {
  80573. return this._async_evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  80574. },
  80575. _async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  80576. return this._loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors);
  80577. },
  80578. _async_evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  80579. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  80580. },
  80581. _async_evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  80582. return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  80583. },
  80584. _loadModule$body$_EvaluateVisitor0(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  80585. var $async$goto = 0,
  80586. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  80587. $async$returnValue, $async$self = this, _0_0, t2, t1;
  80588. var $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80589. if ($async$errorCode === 1)
  80590. return A._asyncRethrow($async$result, $async$completer);
  80591. while (true)
  80592. switch ($async$goto) {
  80593. case 0:
  80594. // Function start
  80595. t1 = {};
  80596. t1.builtInModule = null;
  80597. _0_0 = $async$self._async_evaluate0$_builtInModules.$index(0, url);
  80598. if (_0_0 != null) {
  80599. t1.builtInModule = _0_0;
  80600. t2 = true;
  80601. } else
  80602. t2 = false;
  80603. $async$goto = t2 ? 3 : 4;
  80604. break;
  80605. case 3:
  80606. // then
  80607. if (configuration instanceof A.ExplicitConfiguration0) {
  80608. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  80609. t2 = configuration.nodeWithSpan;
  80610. throw A.wrapException($async$self._async_evaluate0$_exception$2(t1, t2.get$span(t2)));
  80611. }
  80612. $async$goto = 5;
  80613. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure5(t1, callback), type$.void), $async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors);
  80614. case 5:
  80615. // returning from await.
  80616. // goto return
  80617. $async$goto = 1;
  80618. break;
  80619. case 4:
  80620. // join
  80621. $async$goto = 6;
  80622. 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);
  80623. case 6:
  80624. // returning from await.
  80625. case 1:
  80626. // return
  80627. return A._asyncReturn($async$returnValue, $async$completer);
  80628. }
  80629. });
  80630. return A._asyncStartSync($async$_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors, $async$completer);
  80631. },
  80632. _async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  80633. return this._execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan);
  80634. },
  80635. _async_evaluate0$_execute$2(importer, stylesheet) {
  80636. return this._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  80637. },
  80638. _execute$body$_EvaluateVisitor0(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  80639. var $async$goto = 0,
  80640. $async$completer = A._makeAsyncAwaitCompleter(type$.Module_AsyncCallable_2),
  80641. $async$returnValue, $async$self = this, alreadyLoaded, t2, currentConfiguration, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, url, t1, _0_0;
  80642. var $async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80643. if ($async$errorCode === 1)
  80644. return A._asyncRethrow($async$result, $async$completer);
  80645. while (true)
  80646. switch ($async$goto) {
  80647. case 0:
  80648. // Function start
  80649. url = stylesheet.span.file.url;
  80650. t1 = $async$self._async_evaluate0$_modules;
  80651. _0_0 = t1.$index(0, url);
  80652. if (_0_0 != null) {
  80653. alreadyLoaded = _0_0;
  80654. t2 = true;
  80655. } else {
  80656. alreadyLoaded = null;
  80657. t2 = false;
  80658. }
  80659. if (t2) {
  80660. t1 = configuration == null;
  80661. currentConfiguration = t1 ? $async$self._async_evaluate0$_configuration : configuration;
  80662. t2 = $async$self._async_evaluate0$_moduleConfigurations.$index(0, url);
  80663. t3 = t2._configuration0$__originalConfiguration;
  80664. t2 = t3 == null ? t2 : t3;
  80665. t3 = currentConfiguration._configuration0$__originalConfiguration;
  80666. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration0) {
  80667. if (namesInErrors) {
  80668. t2 = $.$get$context();
  80669. url.toString;
  80670. message = t2.prettyUri$1(url) + string$.x20was_a;
  80671. } else
  80672. message = string$.This_mw;
  80673. t2 = $async$self._async_evaluate0$_moduleNodes.$index(0, url);
  80674. existingSpan = t2 == null ? null : t2.get$span(t2);
  80675. if (t1) {
  80676. t1 = currentConfiguration.nodeWithSpan;
  80677. configurationSpan = t1.get$span(t1);
  80678. } else
  80679. configurationSpan = null;
  80680. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  80681. if (existingSpan != null)
  80682. t1.$indexSet(0, existingSpan, "original load");
  80683. if (configurationSpan != null)
  80684. t1.$indexSet(0, configurationSpan, "configuration");
  80685. throw A.wrapException(t1.get$isEmpty(t1) ? $async$self._async_evaluate0$_exception$1(message) : $async$self._async_evaluate0$_multiSpanException$3(message, "new load", t1));
  80686. }
  80687. $async$returnValue = alreadyLoaded;
  80688. // goto return
  80689. $async$goto = 1;
  80690. break;
  80691. }
  80692. environment = A.AsyncEnvironment$0();
  80693. css = A._Cell$();
  80694. preModuleComments = A._Cell$();
  80695. extensionStore = A.ExtensionStore$0();
  80696. $async$goto = 3;
  80697. return A._asyncAwait($async$self._async_evaluate0$_withEnvironment$1$2(environment, new A._EvaluateVisitor__execute_closure2($async$self, importer, stylesheet, extensionStore, configuration, css, preModuleComments), type$.Null), $async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan);
  80698. case 3:
  80699. // returning from await.
  80700. t2 = css._readLocal$0();
  80701. t3 = preModuleComments._readLocal$0();
  80702. module = environment.toModule$3(t2, t3 == null ? B.Map_empty15 : t3, extensionStore);
  80703. if (url != null) {
  80704. t1.$indexSet(0, url, module);
  80705. $async$self._async_evaluate0$_moduleConfigurations.$indexSet(0, url, $async$self._async_evaluate0$_configuration);
  80706. if (nodeWithSpan != null)
  80707. $async$self._async_evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  80708. }
  80709. $async$returnValue = module;
  80710. // goto return
  80711. $async$goto = 1;
  80712. break;
  80713. case 1:
  80714. // return
  80715. return A._asyncReturn($async$returnValue, $async$completer);
  80716. }
  80717. });
  80718. return A._asyncStartSync($async$_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan, $async$completer);
  80719. },
  80720. _async_evaluate0$_addOutOfOrderImports$0() {
  80721. var t1, t2, _this = this, _s5_ = "_root",
  80722. _s13_ = "_endOfImports",
  80723. _0_0 = _this._async_evaluate0$_outOfOrderImports;
  80724. $label0$0: {
  80725. if (_0_0 == null) {
  80726. t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  80727. break $label0$0;
  80728. }
  80729. t1 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  80730. t1 = t1.children;
  80731. 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("ListBase.E")), true, type$.ModifiableCssNode_2);
  80732. B.JSArray_methods.addAll$1(t1, _0_0);
  80733. t2 = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children;
  80734. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  80735. break $label0$0;
  80736. }
  80737. return t1;
  80738. },
  80739. _async_evaluate0$_combineCss$2$clone(root, clone) {
  80740. var selectors, _0_0, unsatisfiedExtension, t1, imports, css, sorted, t2;
  80741. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure5())) {
  80742. selectors = root.get$extensionStore().get$simpleSelectors();
  80743. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure6(selectors)));
  80744. if (_0_0 != null) {
  80745. unsatisfiedExtension = _0_0;
  80746. t1 = true;
  80747. } else {
  80748. unsatisfiedExtension = null;
  80749. t1 = false;
  80750. }
  80751. if (t1)
  80752. this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
  80753. return root.get$css(root);
  80754. }
  80755. t1 = type$.JSArray_CssNode_2;
  80756. imports = A._setArrayType([], t1);
  80757. css = A._setArrayType([], t1);
  80758. t1 = type$.Module_AsyncCallable_2;
  80759. sorted = A.ListQueue$(t1);
  80760. new A._EvaluateVisitor__combineCss_visitModule2(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  80761. if (root.get$transitivelyContainsExtensions())
  80762. this._async_evaluate0$_extendModules$1(sorted);
  80763. t1 = B.JSArray_methods.$add(imports, css);
  80764. t2 = root.get$css(root);
  80765. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  80766. },
  80767. _async_evaluate0$_combineCss$1(root) {
  80768. return this._async_evaluate0$_combineCss$2$clone(root, false);
  80769. },
  80770. _async_evaluate0$_extendModules$1(sortedModules) {
  80771. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0, url, t6,
  80772. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  80773. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  80774. for (t1 = A._ListQueueIterator$(sortedModules), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  80775. t3 = t1._collection$_current;
  80776. if (t3 == null)
  80777. t3 = t2._as(t3);
  80778. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  80779. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure5(originalSelectors)));
  80780. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  80781. t4 = t3.get$extensionStore().get$addExtensions();
  80782. if ($self != null)
  80783. t4.call$1($self);
  80784. t4 = t3.get$extensionStore();
  80785. if (t4.get$isEmpty(t4))
  80786. continue;
  80787. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  80788. upstream = t4[_i];
  80789. _0_0 = upstream.get$url(upstream);
  80790. if (_0_0 != null) {
  80791. url = _0_0;
  80792. t6 = true;
  80793. } else {
  80794. url = null;
  80795. t6 = false;
  80796. }
  80797. if (t6)
  80798. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure6()), t3.get$extensionStore());
  80799. }
  80800. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  80801. }
  80802. if (unsatisfiedExtensions._collection$_length !== 0)
  80803. this._async_evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
  80804. },
  80805. _async_evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  80806. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  80807. },
  80808. _async_evaluate0$_indexAfterImports$1(statements) {
  80809. var t1, lastImport, i, _0_0;
  80810. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  80811. $label0$0: {
  80812. _0_0 = t1.$index(statements, i);
  80813. if (_0_0 instanceof A.ModifiableCssImport0)
  80814. break $label0$0;
  80815. if (_0_0 instanceof A.ModifiableCssComment0)
  80816. continue;
  80817. break;
  80818. }
  80819. lastImport = i;
  80820. }
  80821. return lastImport + 1;
  80822. },
  80823. visitStylesheet$1(node) {
  80824. return this.visitStylesheet$body$_EvaluateVisitor0(node);
  80825. },
  80826. visitStylesheet$body$_EvaluateVisitor0(node) {
  80827. var $async$goto = 0,
  80828. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  80829. $async$returnValue, $async$self = this, t1, t2, _i;
  80830. var $async$visitStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80831. if ($async$errorCode === 1)
  80832. return A._asyncRethrow($async$result, $async$completer);
  80833. while (true)
  80834. switch ($async$goto) {
  80835. case 0:
  80836. // Function start
  80837. t1 = node.children, t2 = t1.length, _i = 0;
  80838. case 3:
  80839. // for condition
  80840. if (!(_i < t2)) {
  80841. // goto after for
  80842. $async$goto = 5;
  80843. break;
  80844. }
  80845. $async$goto = 6;
  80846. return A._asyncAwait(t1[_i].accept$1($async$self), $async$visitStylesheet$1);
  80847. case 6:
  80848. // returning from await.
  80849. case 4:
  80850. // for update
  80851. ++_i;
  80852. // goto for condition
  80853. $async$goto = 3;
  80854. break;
  80855. case 5:
  80856. // after for
  80857. $async$returnValue = null;
  80858. // goto return
  80859. $async$goto = 1;
  80860. break;
  80861. case 1:
  80862. // return
  80863. return A._asyncReturn($async$returnValue, $async$completer);
  80864. }
  80865. });
  80866. return A._asyncStartSync($async$visitStylesheet$1, $async$completer);
  80867. },
  80868. visitAtRootRule$1(node) {
  80869. return this.visitAtRootRule$body$_EvaluateVisitor0(node);
  80870. },
  80871. visitAtRootRule$body$_EvaluateVisitor0(node) {
  80872. var $async$goto = 0,
  80873. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  80874. $async$returnValue, $async$self = this, unparsedQuery, t1, _1_0, resolved, query, $parent, included, _2_0, grandparent, t2, root, first, rest, innerCopy, outerCopy, _i, copy, _0_0;
  80875. var $async$visitAtRootRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  80876. if ($async$errorCode === 1)
  80877. return A._asyncRethrow($async$result, $async$completer);
  80878. while (true)
  80879. switch ($async$goto) {
  80880. case 0:
  80881. // Function start
  80882. _0_0 = node.query;
  80883. if (_0_0 != null) {
  80884. unparsedQuery = _0_0;
  80885. t1 = true;
  80886. } else {
  80887. unparsedQuery = null;
  80888. t1 = false;
  80889. }
  80890. $async$goto = t1 ? 3 : 5;
  80891. break;
  80892. case 3:
  80893. // then
  80894. $async$goto = 6;
  80895. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(unparsedQuery, true), $async$visitAtRootRule$1);
  80896. case 6:
  80897. // returning from await.
  80898. _1_0 = $async$result;
  80899. resolved = _1_0._0;
  80900. _1_0._1;
  80901. query = A.AtRootQueryParser$0(resolved, $async$self._async_evaluate0$_logger, null).parse$0();
  80902. // goto join
  80903. $async$goto = 4;
  80904. break;
  80905. case 5:
  80906. // else
  80907. query = B.AtRootQuery_UsS0;
  80908. case 4:
  80909. // join
  80910. $parent = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  80911. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  80912. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = grandparent) {
  80913. if (!query.excludes$1($parent))
  80914. included.push($parent);
  80915. _2_0 = $parent._node$_parent;
  80916. if (_2_0 != null) {
  80917. grandparent = _2_0;
  80918. t2 = true;
  80919. } else {
  80920. grandparent = null;
  80921. t2 = false;
  80922. }
  80923. if (!t2)
  80924. throw A.wrapException(A.StateError$(string$.CssNod));
  80925. }
  80926. root = $async$self._async_evaluate0$_trimIncluded$1(included);
  80927. $async$goto = root === $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent") ? 7 : 8;
  80928. break;
  80929. case 7:
  80930. // then
  80931. $async$goto = 9;
  80932. return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure5($async$self, node), node.hasDeclarations, type$.Null), $async$visitAtRootRule$1);
  80933. case 9:
  80934. // returning from await.
  80935. $async$returnValue = null;
  80936. // goto return
  80937. $async$goto = 1;
  80938. break;
  80939. case 8:
  80940. // join
  80941. if (included.length >= 1) {
  80942. first = included[0];
  80943. rest = B.JSArray_methods.sublist$1(included, 1);
  80944. t1 = true;
  80945. } else {
  80946. first = null;
  80947. rest = null;
  80948. t1 = false;
  80949. }
  80950. if (t1) {
  80951. innerCopy = first.copyWithoutChildren$0();
  80952. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  80953. copy = rest[_i].copyWithoutChildren$0();
  80954. copy.addChild$1(outerCopy);
  80955. }
  80956. root.addChild$1(outerCopy);
  80957. } else
  80958. innerCopy = root;
  80959. $async$goto = 10;
  80960. return A._asyncAwait($async$self._async_evaluate0$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure6($async$self, node)), $async$visitAtRootRule$1);
  80961. case 10:
  80962. // returning from await.
  80963. $async$returnValue = null;
  80964. // goto return
  80965. $async$goto = 1;
  80966. break;
  80967. case 1:
  80968. // return
  80969. return A._asyncReturn($async$returnValue, $async$completer);
  80970. }
  80971. });
  80972. return A._asyncStartSync($async$visitAtRootRule$1, $async$completer);
  80973. },
  80974. _async_evaluate0$_trimIncluded$1(nodes) {
  80975. var $parent, t1, innermostContiguous, i, t2, _0_0, grandparent, t3, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  80976. _s22_ = " to be an ancestor of ";
  80977. if (nodes.length === 0)
  80978. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  80979. $parent = _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__parent, "__parent");
  80980. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
  80981. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
  80982. _0_0 = $parent._node$_parent;
  80983. if (_0_0 != null) {
  80984. grandparent = _0_0;
  80985. t3 = true;
  80986. } else {
  80987. grandparent = _null;
  80988. t3 = false;
  80989. }
  80990. if (!t3)
  80991. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  80992. }
  80993. if (innermostContiguous == null)
  80994. innermostContiguous = i;
  80995. _1_0 = $parent._node$_parent;
  80996. if (_1_0 != null) {
  80997. grandparent = _1_0;
  80998. t3 = true;
  80999. } else {
  81000. grandparent = _null;
  81001. t3 = false;
  81002. }
  81003. if (!t3)
  81004. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  81005. }
  81006. if ($parent !== _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_))
  81007. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_);
  81008. innermostContiguous.toString;
  81009. root = nodes[innermostContiguous];
  81010. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  81011. return root;
  81012. },
  81013. _async_evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  81014. var _this = this,
  81015. scope = new A._EvaluateVisitor__scopeForAtRoot_closure17(_this, newParent, node),
  81016. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  81017. if (t1 !== query.include)
  81018. scope = new A._EvaluateVisitor__scopeForAtRoot_closure18(_this, scope);
  81019. if (_this._async_evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  81020. scope = new A._EvaluateVisitor__scopeForAtRoot_closure19(_this, scope);
  81021. if (_this._async_evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  81022. scope = new A._EvaluateVisitor__scopeForAtRoot_closure20(_this, scope);
  81023. return _this._async_evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure21()) ? new A._EvaluateVisitor__scopeForAtRoot_closure22(_this, scope) : scope;
  81024. },
  81025. visitContentBlock$1(node) {
  81026. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  81027. },
  81028. visitContentRule$1(node) {
  81029. return this.visitContentRule$body$_EvaluateVisitor0(node);
  81030. },
  81031. visitContentRule$body$_EvaluateVisitor0(node) {
  81032. var $async$goto = 0,
  81033. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81034. $async$returnValue, $async$self = this, $content;
  81035. var $async$visitContentRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81036. if ($async$errorCode === 1)
  81037. return A._asyncRethrow($async$result, $async$completer);
  81038. while (true)
  81039. switch ($async$goto) {
  81040. case 0:
  81041. // Function start
  81042. $content = $async$self._async_evaluate0$_environment._async_environment0$_content;
  81043. if ($content == null) {
  81044. $async$returnValue = null;
  81045. // goto return
  81046. $async$goto = 1;
  81047. break;
  81048. }
  81049. $async$goto = 3;
  81050. 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);
  81051. case 3:
  81052. // returning from await.
  81053. $async$returnValue = null;
  81054. // goto return
  81055. $async$goto = 1;
  81056. break;
  81057. case 1:
  81058. // return
  81059. return A._asyncReturn($async$returnValue, $async$completer);
  81060. }
  81061. });
  81062. return A._asyncStartSync($async$visitContentRule$1, $async$completer);
  81063. },
  81064. visitDebugRule$1(node) {
  81065. return this.visitDebugRule$body$_EvaluateVisitor0(node);
  81066. },
  81067. visitDebugRule$body$_EvaluateVisitor0(node) {
  81068. var $async$goto = 0,
  81069. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81070. $async$returnValue, $async$self = this, value, t1;
  81071. var $async$visitDebugRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81072. if ($async$errorCode === 1)
  81073. return A._asyncRethrow($async$result, $async$completer);
  81074. while (true)
  81075. switch ($async$goto) {
  81076. case 0:
  81077. // Function start
  81078. $async$goto = 3;
  81079. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitDebugRule$1);
  81080. case 3:
  81081. // returning from await.
  81082. value = $async$result;
  81083. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  81084. $async$self._async_evaluate0$_logger.debug$2(0, t1, node.span);
  81085. $async$returnValue = null;
  81086. // goto return
  81087. $async$goto = 1;
  81088. break;
  81089. case 1:
  81090. // return
  81091. return A._asyncReturn($async$returnValue, $async$completer);
  81092. }
  81093. });
  81094. return A._asyncStartSync($async$visitDebugRule$1, $async$completer);
  81095. },
  81096. visitDeclaration$1(node) {
  81097. return this.visitDeclaration$body$_EvaluateVisitor0(node);
  81098. },
  81099. visitDeclaration$body$_EvaluateVisitor0(node) {
  81100. var $async$goto = 0,
  81101. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81102. $async$returnValue, $async$self = this, t2, $name, _0_0, declarationName, t3, _1_0, expression, value, t4, t5, _2_0, oldDeclarationName, t1;
  81103. var $async$visitDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81104. if ($async$errorCode === 1)
  81105. return A._asyncRethrow($async$result, $async$completer);
  81106. while (true)
  81107. switch ($async$goto) {
  81108. case 0:
  81109. // Function start
  81110. t1 = {};
  81111. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null && !$async$self._async_evaluate0$_inUnknownAtRule && !$async$self._async_evaluate0$_inKeyframes)
  81112. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarm, node.span));
  81113. if ($async$self._async_evaluate0$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  81114. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Declarw, node.span));
  81115. t2 = node.name;
  81116. $async$goto = 3;
  81117. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$2$warnForColor(t2, true), $async$visitDeclaration$1);
  81118. case 3:
  81119. // returning from await.
  81120. $name = $async$result;
  81121. _0_0 = $async$self._async_evaluate0$_declarationName;
  81122. if (_0_0 != null) {
  81123. declarationName = _0_0;
  81124. t3 = true;
  81125. } else {
  81126. declarationName = null;
  81127. t3 = false;
  81128. }
  81129. if (t3)
  81130. $name = new A.CssValue0(A.S(declarationName) + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
  81131. _1_0 = node.value;
  81132. if (_1_0 != null) {
  81133. expression = _1_0;
  81134. t3 = true;
  81135. } else {
  81136. expression = null;
  81137. t3 = false;
  81138. }
  81139. $async$goto = t3 ? 4 : 5;
  81140. break;
  81141. case 4:
  81142. // then
  81143. $async$goto = 6;
  81144. return A._asyncAwait(expression.accept$1($async$self), $async$visitDeclaration$1);
  81145. case 6:
  81146. // returning from await.
  81147. value = $async$result;
  81148. if (!value.get$isBlank() || value.get$asList().length === 0) {
  81149. t3 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  81150. t4 = expression.get$span(expression);
  81151. t2 = B.JSString_methods.startsWith$1(t2.get$initialPlain(), "--");
  81152. if ($async$self._async_evaluate0$_sourceMap) {
  81153. t5 = A.NullableExtension_andThen0(_1_0, $async$self.get$_async_evaluate0$_expressionNode());
  81154. t5 = t5 == null ? null : J.get$span$z(t5);
  81155. } else
  81156. t5 = null;
  81157. t3.addChild$1(A.ModifiableCssDeclaration$0($name, new A.CssValue0(value, t4, type$.CssValue_Value_2), node.span, t2, t5));
  81158. } else if (J.startsWith$1$s($name.value, "--"))
  81159. throw A.wrapException($async$self._async_evaluate0$_exception$2("Custom property values may not be empty.", expression.get$span(expression)));
  81160. case 5:
  81161. // join
  81162. t1.children = null;
  81163. _2_0 = node.children;
  81164. if (_2_0 != null) {
  81165. t1.children = _2_0;
  81166. t2 = true;
  81167. } else
  81168. t2 = false;
  81169. $async$goto = t2 ? 7 : 8;
  81170. break;
  81171. case 7:
  81172. // then
  81173. oldDeclarationName = $async$self._async_evaluate0$_declarationName;
  81174. $async$self._async_evaluate0$_declarationName = $name.value;
  81175. $async$goto = 9;
  81176. return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure2(t1, $async$self), node.hasDeclarations, type$.Null), $async$visitDeclaration$1);
  81177. case 9:
  81178. // returning from await.
  81179. $async$self._async_evaluate0$_declarationName = oldDeclarationName;
  81180. case 8:
  81181. // join
  81182. $async$returnValue = null;
  81183. // goto return
  81184. $async$goto = 1;
  81185. break;
  81186. case 1:
  81187. // return
  81188. return A._asyncReturn($async$returnValue, $async$completer);
  81189. }
  81190. });
  81191. return A._asyncStartSync($async$visitDeclaration$1, $async$completer);
  81192. },
  81193. visitEachRule$1(node) {
  81194. return this.visitEachRule$body$_EvaluateVisitor0(node);
  81195. },
  81196. visitEachRule$body$_EvaluateVisitor0(node) {
  81197. var $async$goto = 0,
  81198. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81199. $async$returnValue, $async$self = this, t2, _box_0, t1, list, nodeWithSpan, _0_0;
  81200. var $async$visitEachRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81201. if ($async$errorCode === 1)
  81202. return A._asyncRethrow($async$result, $async$completer);
  81203. while (true)
  81204. switch ($async$goto) {
  81205. case 0:
  81206. // Function start
  81207. _box_0 = {};
  81208. t1 = node.list;
  81209. $async$goto = 3;
  81210. return A._asyncAwait(t1.accept$1($async$self), $async$visitEachRule$1);
  81211. case 3:
  81212. // returning from await.
  81213. list = $async$result;
  81214. nodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t1);
  81215. _0_0 = node.variables;
  81216. $label0$0: {
  81217. _box_0.variable = null;
  81218. if (_0_0.length === 1) {
  81219. _box_0.variable = _0_0[0];
  81220. t1 = true;
  81221. } else
  81222. t1 = false;
  81223. if (t1) {
  81224. t1 = new A._EvaluateVisitor_visitEachRule_closure8(_box_0, $async$self, nodeWithSpan);
  81225. break $label0$0;
  81226. }
  81227. t1 = _box_0.variables = null;
  81228. _box_0.variables = _0_0;
  81229. t2 = new A._EvaluateVisitor_visitEachRule_closure9(_box_0, $async$self, nodeWithSpan);
  81230. t1 = t2;
  81231. break $label0$0;
  81232. }
  81233. $async$returnValue = $async$self._async_evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure10($async$self, list, t1, node), true, type$.nullable_Value_2);
  81234. // goto return
  81235. $async$goto = 1;
  81236. break;
  81237. case 1:
  81238. // return
  81239. return A._asyncReturn($async$returnValue, $async$completer);
  81240. }
  81241. });
  81242. return A._asyncStartSync($async$visitEachRule$1, $async$completer);
  81243. },
  81244. _async_evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  81245. var i,
  81246. list = value.get$asList(),
  81247. t1 = variables.length,
  81248. minLength = Math.min(t1, list.length);
  81249. for (i = 0; i < minLength; ++i)
  81250. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], this._async_evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  81251. for (i = minLength; i < t1; ++i)
  81252. this._async_evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  81253. },
  81254. visitErrorRule$1(node) {
  81255. return this.visitErrorRule$body$_EvaluateVisitor0(node);
  81256. },
  81257. visitErrorRule$body$_EvaluateVisitor0(node) {
  81258. var $async$goto = 0,
  81259. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  81260. $async$self = this, $async$temp1, $async$temp2;
  81261. var $async$visitErrorRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81262. if ($async$errorCode === 1)
  81263. return A._asyncRethrow($async$result, $async$completer);
  81264. while (true)
  81265. switch ($async$goto) {
  81266. case 0:
  81267. // Function start
  81268. $async$temp1 = A;
  81269. $async$temp2 = J;
  81270. $async$goto = 2;
  81271. return A._asyncAwait(node.expression.accept$1($async$self), $async$visitErrorRule$1);
  81272. case 2:
  81273. // returning from await.
  81274. throw $async$temp1.wrapException($async$self._async_evaluate0$_exception$2($async$temp2.toString$0$($async$result), node.span));
  81275. // implicit return
  81276. return A._asyncReturn(null, $async$completer);
  81277. }
  81278. });
  81279. return A._asyncStartSync($async$visitErrorRule$1, $async$completer);
  81280. },
  81281. visitExtendRule$1(node) {
  81282. return this.visitExtendRule$body$_EvaluateVisitor0(node);
  81283. },
  81284. visitExtendRule$body$_EvaluateVisitor0(node) {
  81285. var $async$goto = 0,
  81286. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81287. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, targetText, targetMap, compound, styleRule;
  81288. var $async$visitExtendRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81289. if ($async$errorCode === 1)
  81290. return A._asyncRethrow($async$result, $async$completer);
  81291. while (true)
  81292. switch ($async$goto) {
  81293. case 0:
  81294. // Function start
  81295. styleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  81296. if (styleRule == null || $async$self._async_evaluate0$_declarationName != null)
  81297. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.x40exten, node.span));
  81298. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  81299. complex = t1[_i];
  81300. if (!complex.accept$1(B._IsBogusVisitor_true0))
  81301. continue;
  81302. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  81303. complex.accept$1(visitor);
  81304. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  81305. t7 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  81306. $async$self._async_evaluate0$_warn$3('The selector "' + t6 + '" is invalid CSS and ' + t7 + string$.x20be_an, new A.MultiSpan0(A.SpanExtensions_trimRight0(complex.span), "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t3, "@extend rule"], t4, t5), t4, t5)), B.Deprecation_XV6);
  81307. }
  81308. $async$goto = 3;
  81309. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(node.selector, true), $async$visitExtendRule$1);
  81310. case 3:
  81311. // returning from await.
  81312. _0_0 = $async$result;
  81313. targetText = _0_0._0;
  81314. targetMap = _0_0._1;
  81315. for (t1 = A.SelectorList_SelectorList$parse0(A.trimAscii0(targetText, true), false, true, targetMap, $async$self._async_evaluate0$_logger).components, t2 = t1.length, t3 = styleRule._style_rule0$_selector._box0$_inner, _i = 0; _i < t2; ++_i) {
  81316. complex = t1[_i];
  81317. compound = complex.get$singleCompound();
  81318. if (compound == null)
  81319. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", complex.span, null));
  81320. t4 = compound.components;
  81321. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : null;
  81322. if (t5 == null)
  81323. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, null));
  81324. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, $async$self._async_evaluate0$_mediaQueries);
  81325. }
  81326. $async$returnValue = null;
  81327. // goto return
  81328. $async$goto = 1;
  81329. break;
  81330. case 1:
  81331. // return
  81332. return A._asyncReturn($async$returnValue, $async$completer);
  81333. }
  81334. });
  81335. return A._asyncStartSync($async$visitExtendRule$1, $async$completer);
  81336. },
  81337. visitAtRule$1(node) {
  81338. return this.visitAtRule$body$_EvaluateVisitor0(node);
  81339. },
  81340. visitAtRule$body$_EvaluateVisitor0(node) {
  81341. var $async$goto = 0,
  81342. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81343. $async$returnValue, $async$self = this, $name, t1, value, children, wasInKeyframes, wasInUnknownAtRule;
  81344. var $async$visitAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81345. if ($async$errorCode === 1)
  81346. return A._asyncRethrow($async$result, $async$completer);
  81347. while (true)
  81348. switch ($async$goto) {
  81349. case 0:
  81350. // Function start
  81351. if ($async$self._async_evaluate0$_declarationName != null)
  81352. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  81353. $async$goto = 3;
  81354. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1(node.name), $async$visitAtRule$1);
  81355. case 3:
  81356. // returning from await.
  81357. $name = $async$result;
  81358. t1 = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure8($async$self));
  81359. $async$goto = 4;
  81360. return A._asyncAwait(type$.Future_nullable_CssValue_String_2._is(t1) ? t1 : A._Future$value(t1, type$.nullable_CssValue_String_2), $async$visitAtRule$1);
  81361. case 4:
  81362. // returning from await.
  81363. value = $async$result;
  81364. children = node.children;
  81365. if (children == null) {
  81366. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  81367. $async$returnValue = null;
  81368. // goto return
  81369. $async$goto = 1;
  81370. break;
  81371. }
  81372. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  81373. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  81374. if (A.unvendor0($name.value) === "keyframes")
  81375. $async$self._async_evaluate0$_inKeyframes = true;
  81376. else
  81377. $async$self._async_evaluate0$_inUnknownAtRule = true;
  81378. $async$goto = 5;
  81379. 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, $name, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure10(), type$.ModifiableCssAtRule_2, type$.Null), $async$visitAtRule$1);
  81380. case 5:
  81381. // returning from await.
  81382. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  81383. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  81384. $async$returnValue = null;
  81385. // goto return
  81386. $async$goto = 1;
  81387. break;
  81388. case 1:
  81389. // return
  81390. return A._asyncReturn($async$returnValue, $async$completer);
  81391. }
  81392. });
  81393. return A._asyncStartSync($async$visitAtRule$1, $async$completer);
  81394. },
  81395. visitForRule$1(node) {
  81396. return this.visitForRule$body$_EvaluateVisitor0(node);
  81397. },
  81398. visitForRule$body$_EvaluateVisitor0(node) {
  81399. var $async$goto = 0,
  81400. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81401. $async$returnValue, $async$self = this, t1, t2, t3, fromNumber, t4, toNumber, from, to, direction;
  81402. var $async$visitForRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81403. if ($async$errorCode === 1)
  81404. return A._asyncRethrow($async$result, $async$completer);
  81405. while (true)
  81406. switch ($async$goto) {
  81407. case 0:
  81408. // Function start
  81409. t1 = {};
  81410. t2 = node.from;
  81411. t3 = type$.SassNumber_2;
  81412. $async$goto = 3;
  81413. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t2, new A._EvaluateVisitor_visitForRule_closure14($async$self, node), t3), $async$visitForRule$1);
  81414. case 3:
  81415. // returning from await.
  81416. fromNumber = $async$result;
  81417. t4 = node.to;
  81418. $async$goto = 4;
  81419. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(t4, new A._EvaluateVisitor_visitForRule_closure15($async$self, node), t3), $async$visitForRule$1);
  81420. case 4:
  81421. // returning from await.
  81422. toNumber = $async$result;
  81423. from = $async$self._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure16(fromNumber));
  81424. to = t1.to = $async$self._async_evaluate0$_addExceptionSpan$2(t4, new A._EvaluateVisitor_visitForRule_closure17(toNumber, fromNumber));
  81425. direction = from > to ? -1 : 1;
  81426. if (from === (!node.isExclusive ? t1.to = to + direction : to)) {
  81427. $async$returnValue = null;
  81428. // goto return
  81429. $async$goto = 1;
  81430. break;
  81431. }
  81432. $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);
  81433. // goto return
  81434. $async$goto = 1;
  81435. break;
  81436. case 1:
  81437. // return
  81438. return A._asyncReturn($async$returnValue, $async$completer);
  81439. }
  81440. });
  81441. return A._asyncStartSync($async$visitForRule$1, $async$completer);
  81442. },
  81443. visitForwardRule$1(node) {
  81444. return this.visitForwardRule$body$_EvaluateVisitor0(node);
  81445. },
  81446. visitForwardRule$body$_EvaluateVisitor0(node) {
  81447. var $async$goto = 0,
  81448. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81449. $async$returnValue, $async$self = this, newConfiguration, t4, _i, variable, $name, oldConfiguration, adjustedConfiguration, t1, t2, t3;
  81450. var $async$visitForwardRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81451. if ($async$errorCode === 1)
  81452. return A._asyncRethrow($async$result, $async$completer);
  81453. while (true)
  81454. switch ($async$goto) {
  81455. case 0:
  81456. // Function start
  81457. oldConfiguration = $async$self._async_evaluate0$_configuration;
  81458. adjustedConfiguration = oldConfiguration.throughForward$1(node);
  81459. t1 = node.configuration;
  81460. t2 = t1.length;
  81461. t3 = node.url;
  81462. $async$goto = t2 !== 0 ? 3 : 5;
  81463. break;
  81464. case 3:
  81465. // then
  81466. $async$goto = 6;
  81467. return A._asyncAwait($async$self._async_evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node), $async$visitForwardRule$1);
  81468. case 6:
  81469. // returning from await.
  81470. newConfiguration = $async$result;
  81471. $async$goto = 7;
  81472. 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);
  81473. case 7:
  81474. // returning from await.
  81475. t3 = type$.String;
  81476. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  81477. for (_i = 0; _i < t2; ++_i) {
  81478. variable = t1[_i];
  81479. if (!variable.isGuarded)
  81480. t4.add$1(0, variable.name);
  81481. }
  81482. $async$self._async_evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  81483. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  81484. for (_i = 0; _i < t2; ++_i)
  81485. t3.add$1(0, t1[_i].name);
  81486. for (t1 = newConfiguration._configuration0$_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) {
  81487. $name = t2[_i];
  81488. if (!t3.contains$1(0, $name))
  81489. if (!t1.get$isEmpty(t1))
  81490. t1.remove$1(0, $name);
  81491. }
  81492. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  81493. // goto join
  81494. $async$goto = 4;
  81495. break;
  81496. case 5:
  81497. // else
  81498. $async$self._async_evaluate0$_configuration = adjustedConfiguration;
  81499. $async$goto = 8;
  81500. return A._asyncAwait($async$self._async_evaluate0$_loadModule$4(t3, "@forward", node, new A._EvaluateVisitor_visitForwardRule_closure6($async$self, node)), $async$visitForwardRule$1);
  81501. case 8:
  81502. // returning from await.
  81503. $async$self._async_evaluate0$_configuration = oldConfiguration;
  81504. case 4:
  81505. // join
  81506. $async$returnValue = null;
  81507. // goto return
  81508. $async$goto = 1;
  81509. break;
  81510. case 1:
  81511. // return
  81512. return A._asyncReturn($async$returnValue, $async$completer);
  81513. }
  81514. });
  81515. return A._asyncStartSync($async$visitForwardRule$1, $async$completer);
  81516. },
  81517. _async_evaluate0$_addForwardConfiguration$2(configuration, node) {
  81518. return this._addForwardConfiguration$body$_EvaluateVisitor0(configuration, node);
  81519. },
  81520. _addForwardConfiguration$body$_EvaluateVisitor0(configuration, node) {
  81521. var $async$goto = 0,
  81522. $async$completer = A._makeAsyncAwaitCompleter(type$.Configuration_2),
  81523. $async$returnValue, $async$self = this, t2, t3, t4, t5, _i, variable, t6, oldValue, t7, variableNodeWithSpan, t8, t1, newValues, $async$temp1, $async$temp2, $async$temp3;
  81524. var $async$_async_evaluate0$_addForwardConfiguration$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81525. if ($async$errorCode === 1)
  81526. return A._asyncRethrow($async$result, $async$completer);
  81527. while (true)
  81528. switch ($async$goto) {
  81529. case 0:
  81530. // Function start
  81531. t1 = configuration._configuration0$_values;
  81532. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  81533. t2 = node.configuration, t3 = t2.length, t4 = type$._Future_Value_2, t5 = type$.Future_Value_2, _i = 0;
  81534. case 3:
  81535. // for condition
  81536. if (!(_i < t3)) {
  81537. // goto after for
  81538. $async$goto = 5;
  81539. break;
  81540. }
  81541. variable = t2[_i];
  81542. if (variable.isGuarded) {
  81543. t6 = variable.name;
  81544. oldValue = t1.get$isEmpty(t1) ? null : t1.remove$1(0, t6);
  81545. if (oldValue != null)
  81546. t7 = true;
  81547. else {
  81548. oldValue = null;
  81549. t7 = false;
  81550. }
  81551. if (t7 && !oldValue.value.$eq(0, B.C__SassNull0)) {
  81552. newValues.$indexSet(0, t6, oldValue);
  81553. // goto for update
  81554. $async$goto = 4;
  81555. break;
  81556. }
  81557. }
  81558. t6 = variable.expression;
  81559. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t6);
  81560. t7 = variable.name;
  81561. t6 = t6.accept$1($async$self);
  81562. if (!t5._is(t6)) {
  81563. t8 = new A._Future($.Zone__current, t4);
  81564. t8._state = 8;
  81565. t8._resultOrListeners = t6;
  81566. t6 = t8;
  81567. }
  81568. $async$temp1 = newValues;
  81569. $async$temp2 = t7;
  81570. $async$temp3 = A;
  81571. $async$goto = 6;
  81572. return A._asyncAwait(t6, $async$_async_evaluate0$_addForwardConfiguration$2);
  81573. case 6:
  81574. // returning from await.
  81575. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  81576. case 4:
  81577. // for update
  81578. ++_i;
  81579. // goto for condition
  81580. $async$goto = 3;
  81581. break;
  81582. case 5:
  81583. // after for
  81584. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1)) {
  81585. $async$returnValue = new A.ExplicitConfiguration0(node, newValues, null);
  81586. // goto return
  81587. $async$goto = 1;
  81588. break;
  81589. } else {
  81590. $async$returnValue = new A.Configuration0(newValues, null);
  81591. // goto return
  81592. $async$goto = 1;
  81593. break;
  81594. }
  81595. case 1:
  81596. // return
  81597. return A._asyncReturn($async$returnValue, $async$completer);
  81598. }
  81599. });
  81600. return A._asyncStartSync($async$_async_evaluate0$_addForwardConfiguration$2, $async$completer);
  81601. },
  81602. _async_evaluate0$_registerCommentsForModule$1(module) {
  81603. var _this = this, _s5_ = "_root",
  81604. t1 = _this._async_evaluate0$__root;
  81605. if (t1 == null)
  81606. return;
  81607. t1 = _this._async_evaluate0$_assertInModule$2(t1, _s5_).children;
  81608. if (t1.get$length(t1) === 0 || !module.get$transitivelyContainsCss())
  81609. return;
  81610. t1 = _this._async_evaluate0$_preModuleComments;
  81611. if (t1 == null)
  81612. t1 = _this._async_evaluate0$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_AsyncCallable_2, type$.List_CssComment_2);
  81613. J.addAll$1$ax(t1.putIfAbsent$2(module, new A._EvaluateVisitor__registerCommentsForModule_closure2()), new A.UnmodifiableListView(J.cast$1$0$ax(_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).children._collection$_source, type$.CssComment_2), type$.UnmodifiableListView_CssComment_2));
  81614. _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__root, _s5_).clearChildren$0();
  81615. _this._async_evaluate0$__endOfImports = 0;
  81616. },
  81617. _async_evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  81618. var t1, t2, t3, t4, _i, $name;
  81619. for (t1 = upstream._configuration0$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t3 = t2.length, t4 = downstream._configuration0$_values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  81620. $name = t2[_i];
  81621. if (except.contains$1(0, $name))
  81622. continue;
  81623. if (!t4.containsKey$1($name))
  81624. if (!t1.get$isEmpty(t1))
  81625. t1.remove$1(0, $name);
  81626. }
  81627. },
  81628. _async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  81629. var t1, _0_0, $name, value;
  81630. if (!(configuration instanceof A.ExplicitConfiguration0))
  81631. return;
  81632. t1 = configuration._configuration0$_values;
  81633. if (t1.get$isEmpty(t1))
  81634. return;
  81635. t1 = A.MapExtensions_get_pairs0(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  81636. _0_0 = t1.get$first(t1);
  81637. $name = _0_0._0;
  81638. value = _0_0._1;
  81639. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  81640. throw A.wrapException(this._async_evaluate0$_exception$2(t1, value.configurationSpan));
  81641. },
  81642. _async_evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  81643. return this._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  81644. },
  81645. visitFunctionRule$1(node) {
  81646. return this.visitFunctionRule$body$_EvaluateVisitor0(node);
  81647. },
  81648. visitFunctionRule$body$_EvaluateVisitor0(node) {
  81649. var $async$goto = 0,
  81650. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81651. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  81652. var $async$visitFunctionRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81653. if ($async$errorCode === 1)
  81654. return A._asyncRethrow($async$result, $async$completer);
  81655. while (true)
  81656. switch ($async$goto) {
  81657. case 0:
  81658. // Function start
  81659. t1 = $async$self._async_evaluate0$_environment;
  81660. t2 = t1.closure$0();
  81661. t3 = $async$self._async_evaluate0$_inDependency;
  81662. t4 = t1._async_environment0$_functions;
  81663. index = t4.length - 1;
  81664. t5 = node.name;
  81665. t1._async_environment0$_functionIndices.$indexSet(0, t5, index);
  81666. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  81667. $async$returnValue = null;
  81668. // goto return
  81669. $async$goto = 1;
  81670. break;
  81671. case 1:
  81672. // return
  81673. return A._asyncReturn($async$returnValue, $async$completer);
  81674. }
  81675. });
  81676. return A._asyncStartSync($async$visitFunctionRule$1, $async$completer);
  81677. },
  81678. visitIfRule$1(node) {
  81679. return this.visitIfRule$body$_EvaluateVisitor0(node);
  81680. },
  81681. visitIfRule$body$_EvaluateVisitor0(node) {
  81682. var $async$goto = 0,
  81683. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81684. $async$returnValue, $async$self = this, t1, t2, _i, clauseToCheck, clause;
  81685. var $async$visitIfRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81686. if ($async$errorCode === 1)
  81687. return A._asyncRethrow($async$result, $async$completer);
  81688. while (true)
  81689. switch ($async$goto) {
  81690. case 0:
  81691. // Function start
  81692. clause = node.lastClause;
  81693. t1 = node.clauses, t2 = t1.length, _i = 0;
  81694. case 3:
  81695. // for condition
  81696. if (!(_i < t2)) {
  81697. // goto after for
  81698. $async$goto = 5;
  81699. break;
  81700. }
  81701. clauseToCheck = t1[_i];
  81702. $async$goto = 6;
  81703. return A._asyncAwait(clauseToCheck.expression.accept$1($async$self), $async$visitIfRule$1);
  81704. case 6:
  81705. // returning from await.
  81706. if ($async$result.get$isTruthy()) {
  81707. clause = clauseToCheck;
  81708. // goto after for
  81709. $async$goto = 5;
  81710. break;
  81711. }
  81712. case 4:
  81713. // for update
  81714. ++_i;
  81715. // goto for condition
  81716. $async$goto = 3;
  81717. break;
  81718. case 5:
  81719. // after for
  81720. t1 = A.NullableExtension_andThen0(clause, new A._EvaluateVisitor_visitIfRule_closure2($async$self));
  81721. $async$goto = 7;
  81722. return A._asyncAwait(type$.Future_nullable_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Value_2), $async$visitIfRule$1);
  81723. case 7:
  81724. // returning from await.
  81725. $async$returnValue = $async$result;
  81726. // goto return
  81727. $async$goto = 1;
  81728. break;
  81729. case 1:
  81730. // return
  81731. return A._asyncReturn($async$returnValue, $async$completer);
  81732. }
  81733. });
  81734. return A._asyncStartSync($async$visitIfRule$1, $async$completer);
  81735. },
  81736. visitImportRule$1(node) {
  81737. return this.visitImportRule$body$_EvaluateVisitor0(node);
  81738. },
  81739. visitImportRule$body$_EvaluateVisitor0(node) {
  81740. var $async$goto = 0,
  81741. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  81742. $async$returnValue, $async$self = this, t1, t2, t3, _i, $import;
  81743. var $async$visitImportRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81744. if ($async$errorCode === 1)
  81745. return A._asyncRethrow($async$result, $async$completer);
  81746. while (true)
  81747. switch ($async$goto) {
  81748. case 0:
  81749. // Function start
  81750. t1 = node.imports, t2 = t1.length, t3 = type$.StaticImport_2, _i = 0;
  81751. case 3:
  81752. // for condition
  81753. if (!(_i < t2)) {
  81754. // goto after for
  81755. $async$goto = 5;
  81756. break;
  81757. }
  81758. $import = t1[_i];
  81759. $async$goto = $import instanceof A.DynamicImport0 ? 6 : 8;
  81760. break;
  81761. case 6:
  81762. // then
  81763. $async$goto = 9;
  81764. return A._asyncAwait($async$self._async_evaluate0$_visitDynamicImport$1($import), $async$visitImportRule$1);
  81765. case 9:
  81766. // returning from await.
  81767. // goto join
  81768. $async$goto = 7;
  81769. break;
  81770. case 8:
  81771. // else
  81772. $async$goto = 10;
  81773. return A._asyncAwait($async$self._async_evaluate0$_visitStaticImport$1(t3._as($import)), $async$visitImportRule$1);
  81774. case 10:
  81775. // returning from await.
  81776. case 7:
  81777. // join
  81778. case 4:
  81779. // for update
  81780. ++_i;
  81781. // goto for condition
  81782. $async$goto = 3;
  81783. break;
  81784. case 5:
  81785. // after for
  81786. $async$returnValue = null;
  81787. // goto return
  81788. $async$goto = 1;
  81789. break;
  81790. case 1:
  81791. // return
  81792. return A._asyncReturn($async$returnValue, $async$completer);
  81793. }
  81794. });
  81795. return A._asyncStartSync($async$visitImportRule$1, $async$completer);
  81796. },
  81797. _async_evaluate0$_visitDynamicImport$1($import) {
  81798. return this._async_evaluate0$_withStackFrame$1$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure2(this, $import), type$.void);
  81799. },
  81800. _async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  81801. return this._loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport);
  81802. },
  81803. _async_evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  81804. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  81805. },
  81806. _async_evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  81807. return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  81808. },
  81809. _loadStylesheet$body$_EvaluateVisitor0(url, span, baseUrl, forImport) {
  81810. var $async$goto = 0,
  81811. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency_2),
  81812. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, importCache, _0_0, importer, canonicalUrl, originalUrl, _1_0, isDependency, stylesheet, _2_0, result, _3_0, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, $async$exception;
  81813. var $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81814. if ($async$errorCode === 1) {
  81815. $async$currentError = $async$result;
  81816. $async$goto = $async$handler;
  81817. }
  81818. while (true)
  81819. switch ($async$goto) {
  81820. case 0:
  81821. // Function start
  81822. baseUrl = baseUrl;
  81823. $async$handler = 4;
  81824. $async$self._async_evaluate0$_importSpan = span;
  81825. importCache = null;
  81826. _0_0 = $async$self._async_evaluate0$_importCache;
  81827. if (_0_0 != null) {
  81828. importCache = _0_0;
  81829. t1 = true;
  81830. } else
  81831. t1 = false;
  81832. $async$goto = t1 ? 7 : 9;
  81833. break;
  81834. case 7:
  81835. // then
  81836. if (baseUrl == null)
  81837. baseUrl = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").span.file.url;
  81838. importer = null;
  81839. canonicalUrl = null;
  81840. originalUrl = null;
  81841. $async$goto = 10;
  81842. 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);
  81843. case 10:
  81844. // returning from await.
  81845. _1_0 = $async$result;
  81846. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0)) {
  81847. importer = _1_0._0;
  81848. canonicalUrl = _1_0._1;
  81849. originalUrl = _1_0._2;
  81850. t1 = true;
  81851. } else
  81852. t1 = false;
  81853. $async$goto = t1 ? 11 : 12;
  81854. break;
  81855. case 11:
  81856. // then
  81857. $async$self._async_evaluate0$_loadedUrls.add$1(0, canonicalUrl);
  81858. isDependency = $async$self._async_evaluate0$_inDependency || !J.$eq$(importer, $async$self._async_evaluate0$_importer);
  81859. stylesheet = null;
  81860. t1 = importCache;
  81861. t2 = importer;
  81862. t3 = canonicalUrl;
  81863. t4 = originalUrl;
  81864. $async$goto = 13;
  81865. return A._asyncAwait(t1.importCanonical$4$originalUrl$quiet(t2, t3, t4, $async$self._async_evaluate0$_quietDeps && isDependency), $async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport);
  81866. case 13:
  81867. // returning from await.
  81868. _2_0 = $async$result;
  81869. if (_2_0 != null) {
  81870. stylesheet = _2_0;
  81871. t1 = true;
  81872. } else
  81873. t1 = false;
  81874. if (t1) {
  81875. t1 = stylesheet;
  81876. t2 = importer;
  81877. $async$returnValue = new A._Record_3_importer_isDependency(t1, t2, isDependency);
  81878. $async$next = [1];
  81879. // goto finally
  81880. $async$goto = 5;
  81881. break;
  81882. }
  81883. case 12:
  81884. // join
  81885. // goto join
  81886. $async$goto = 8;
  81887. break;
  81888. case 9:
  81889. // else
  81890. result = null;
  81891. t1 = baseUrl;
  81892. $async$goto = 14;
  81893. 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);
  81894. case 14:
  81895. // returning from await.
  81896. _3_0 = $async$result;
  81897. if (_3_0 != null) {
  81898. result = _3_0;
  81899. t1 = true;
  81900. } else
  81901. t1 = false;
  81902. if (t1) {
  81903. t1 = $async$self._async_evaluate0$_loadedUrls;
  81904. A.NullableExtension_andThen0(result._0.span.file.url, t1.get$add(t1));
  81905. t1 = result;
  81906. $async$returnValue = t1;
  81907. $async$next = [1];
  81908. // goto finally
  81909. $async$goto = 5;
  81910. break;
  81911. }
  81912. case 8:
  81913. // join
  81914. if (B.JSString_methods.startsWith$1(url, "package:") && true)
  81915. throw A.wrapException(string$.x22packa);
  81916. else
  81917. throw A.wrapException("Can't find stylesheet to import.");
  81918. $async$next.push(6);
  81919. // goto finally
  81920. $async$goto = 5;
  81921. break;
  81922. case 4:
  81923. // catch
  81924. $async$handler = 3;
  81925. $async$exception = $async$currentError;
  81926. t1 = A.unwrapException($async$exception);
  81927. if (t1 instanceof A.SassException0)
  81928. throw $async$exception;
  81929. else if (t1 instanceof A.ArgumentError) {
  81930. error = t1;
  81931. stackTrace = A.getTraceFromException($async$exception);
  81932. A.throwWithTrace0($async$self._async_evaluate0$_exception$1(J.toString$0$(error)), error, stackTrace);
  81933. } else {
  81934. error0 = t1;
  81935. stackTrace0 = A.getTraceFromException($async$exception);
  81936. message = null;
  81937. try {
  81938. message = A._asString(J.get$message$x(error0));
  81939. } catch (exception) {
  81940. message0 = J.toString$0$(error0);
  81941. message = message0;
  81942. }
  81943. A.throwWithTrace0($async$self._async_evaluate0$_exception$1(message), error0, stackTrace0);
  81944. }
  81945. $async$next.push(6);
  81946. // goto finally
  81947. $async$goto = 5;
  81948. break;
  81949. case 3:
  81950. // uncaught
  81951. $async$next = [2];
  81952. case 5:
  81953. // finally
  81954. $async$handler = 2;
  81955. $async$self._async_evaluate0$_importSpan = null;
  81956. // goto the next finally handler
  81957. $async$goto = $async$next.pop();
  81958. break;
  81959. case 6:
  81960. // after finally
  81961. case 1:
  81962. // return
  81963. return A._asyncReturn($async$returnValue, $async$completer);
  81964. case 2:
  81965. // rethrow
  81966. return A._asyncRethrow($async$currentError, $async$completer);
  81967. }
  81968. });
  81969. return A._asyncStartSync($async$_async_evaluate0$_loadStylesheet$4$baseUrl$forImport, $async$completer);
  81970. },
  81971. _async_evaluate0$_importLikeNode$3(originalUrl, previous, forImport) {
  81972. return this._importLikeNode$body$_EvaluateVisitor0(originalUrl, previous, forImport);
  81973. },
  81974. _importLikeNode$body$_EvaluateVisitor0(originalUrl, previous, forImport) {
  81975. var $async$goto = 0,
  81976. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency_2),
  81977. $async$returnValue, $async$self = this, isDependency, url, t2, t1, result;
  81978. var $async$_async_evaluate0$_importLikeNode$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  81979. if ($async$errorCode === 1)
  81980. return A._asyncRethrow($async$result, $async$completer);
  81981. while (true)
  81982. switch ($async$goto) {
  81983. case 0:
  81984. // Function start
  81985. t1 = $async$self._async_evaluate0$_nodeImporter;
  81986. result = t1.loadRelative$3(originalUrl, previous, forImport);
  81987. $async$goto = result != null ? 3 : 5;
  81988. break;
  81989. case 3:
  81990. // then
  81991. isDependency = $async$self._async_evaluate0$_inDependency;
  81992. // goto join
  81993. $async$goto = 4;
  81994. break;
  81995. case 5:
  81996. // else
  81997. $async$goto = 6;
  81998. return A._asyncAwait(t1.loadAsync$3(originalUrl, previous, forImport), $async$_async_evaluate0$_importLikeNode$3);
  81999. case 6:
  82000. // returning from await.
  82001. result = $async$result;
  82002. if (result == null) {
  82003. $async$returnValue = null;
  82004. // goto return
  82005. $async$goto = 1;
  82006. break;
  82007. }
  82008. isDependency = true;
  82009. case 4:
  82010. // join
  82011. url = result._1;
  82012. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_scss0;
  82013. t2 = $async$self._async_evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : $async$self._async_evaluate0$_logger;
  82014. $async$returnValue = new A._Record_3_importer_isDependency(A.Stylesheet_Stylesheet$parse0(result._0, t1, t2, url), null, isDependency);
  82015. // goto return
  82016. $async$goto = 1;
  82017. break;
  82018. case 1:
  82019. // return
  82020. return A._asyncReturn($async$returnValue, $async$completer);
  82021. }
  82022. });
  82023. return A._asyncStartSync($async$_async_evaluate0$_importLikeNode$3, $async$completer);
  82024. },
  82025. _async_evaluate0$_visitStaticImport$1($import) {
  82026. return this._visitStaticImport$body$_EvaluateVisitor0($import);
  82027. },
  82028. _visitStaticImport$body$_EvaluateVisitor0($import) {
  82029. var $async$goto = 0,
  82030. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  82031. $async$self = this, t1, t2, node, $async$temp1, $async$temp2;
  82032. var $async$_async_evaluate0$_visitStaticImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82033. if ($async$errorCode === 1)
  82034. return A._asyncRethrow($async$result, $async$completer);
  82035. while (true)
  82036. switch ($async$goto) {
  82037. case 0:
  82038. // Function start
  82039. $async$goto = 2;
  82040. return A._asyncAwait($async$self._async_evaluate0$_interpolationToValue$1($import.url), $async$_async_evaluate0$_visitStaticImport$1);
  82041. case 2:
  82042. // returning from await.
  82043. t1 = $async$result;
  82044. t2 = A.NullableExtension_andThen0($import.modifiers, $async$self.get$_async_evaluate0$_interpolationToValue());
  82045. $async$temp1 = A;
  82046. $async$temp2 = t1;
  82047. $async$goto = 3;
  82048. return A._asyncAwait(type$.Future_nullable_CssValue_String_2._is(t2) ? t2 : A._Future$value(t2, type$.nullable_CssValue_String_2), $async$_async_evaluate0$_visitStaticImport$1);
  82049. case 3:
  82050. // returning from await.
  82051. node = new $async$temp1.ModifiableCssImport0($async$temp2, $async$result, $import.span);
  82052. 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"))
  82053. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(node);
  82054. 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)) {
  82055. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(node);
  82056. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  82057. } else {
  82058. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  82059. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(node);
  82060. }
  82061. // implicit return
  82062. return A._asyncReturn(null, $async$completer);
  82063. }
  82064. });
  82065. return A._asyncStartSync($async$_async_evaluate0$_visitStaticImport$1, $async$completer);
  82066. },
  82067. _async_evaluate0$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  82068. return this._applyMixin$body$_EvaluateVisitor0(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent);
  82069. },
  82070. _applyMixin$body$_EvaluateVisitor0(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  82071. var $async$goto = 0,
  82072. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  82073. $async$self = this, _1_8, t1, _0_0;
  82074. var $async$_async_evaluate0$_applyMixin$5 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82075. if ($async$errorCode === 1)
  82076. return A._asyncRethrow($async$result, $async$completer);
  82077. while (true)
  82078. switch ($async$goto) {
  82079. case 0:
  82080. // Function start
  82081. _1_8 = A._InitializedCell$(new A._EvaluateVisitor__applyMixin_closure8(mixin));
  82082. if (mixin == null)
  82083. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  82084. t1 = type$.AsyncBuiltInCallable_2._is(mixin);
  82085. $async$goto = t1 && !mixin.get$acceptsContent() && contentCallable != null ? 3 : 4;
  82086. break;
  82087. case 3:
  82088. // then
  82089. $async$goto = 5;
  82090. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_applyMixin$5);
  82091. case 5:
  82092. // returning from await.
  82093. t1 = $async$result._values;
  82094. _0_0 = mixin.callbackFor$2(J.get$length$asx(t1[2]), new A.MapKeySet(t1[0], type$.MapKeySet_String));
  82095. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Mixin doesn't accept a content block.", nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([_0_0._0.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate0$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), null));
  82096. case 4:
  82097. // join
  82098. $async$goto = t1 ? 6 : 7;
  82099. break;
  82100. case 6:
  82101. // then
  82102. $async$goto = 8;
  82103. return A._asyncAwait($async$self._async_evaluate0$_environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure9($async$self, $arguments, mixin, nodeWithSpanWithoutContent)), $async$_async_evaluate0$_applyMixin$5);
  82104. case 8:
  82105. // returning from await.
  82106. // goto break $label0$0
  82107. $async$goto = 2;
  82108. break;
  82109. case 7:
  82110. // join
  82111. t1 = type$.UserDefinedCallable_AsyncEnvironment_2._is(mixin);
  82112. if (t1 && _1_8._readFinal$0() instanceof A.MixinRule0 && !_1_8._readFinal$0().get$hasContent() && contentCallable != null)
  82113. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Mixin doesn't accept a content block.", nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.$arguments.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate0$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), null));
  82114. $async$goto = t1 ? 9 : 10;
  82115. break;
  82116. case 9:
  82117. // then
  82118. $async$goto = 11;
  82119. return A._asyncAwait($async$self._async_evaluate0$_runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure10($async$self, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null), $async$_async_evaluate0$_applyMixin$5);
  82120. case 11:
  82121. // returning from await.
  82122. // goto break $label0$0
  82123. $async$goto = 2;
  82124. break;
  82125. case 10:
  82126. // join
  82127. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  82128. case 2:
  82129. // break $label0$0
  82130. // implicit return
  82131. return A._asyncReturn(null, $async$completer);
  82132. }
  82133. });
  82134. return A._asyncStartSync($async$_async_evaluate0$_applyMixin$5, $async$completer);
  82135. },
  82136. visitIncludeRule$1(node) {
  82137. return this.visitIncludeRule$body$_EvaluateVisitor0(node);
  82138. },
  82139. visitIncludeRule$body$_EvaluateVisitor0(node) {
  82140. var $async$goto = 0,
  82141. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82142. $async$returnValue, $async$self = this;
  82143. var $async$visitIncludeRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82144. if ($async$errorCode === 1)
  82145. return A._asyncRethrow($async$result, $async$completer);
  82146. while (true)
  82147. switch ($async$goto) {
  82148. case 0:
  82149. // Function start
  82150. $async$goto = 3;
  82151. return A._asyncAwait($async$self._async_evaluate0$_applyMixin$5($async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure8($async$self, node)), A.NullableExtension_andThen0(node.content, new A._EvaluateVisitor_visitIncludeRule_closure9($async$self)), node.$arguments, node, new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure10(node))), $async$visitIncludeRule$1);
  82152. case 3:
  82153. // returning from await.
  82154. $async$returnValue = null;
  82155. // goto return
  82156. $async$goto = 1;
  82157. break;
  82158. case 1:
  82159. // return
  82160. return A._asyncReturn($async$returnValue, $async$completer);
  82161. }
  82162. });
  82163. return A._asyncStartSync($async$visitIncludeRule$1, $async$completer);
  82164. },
  82165. visitMixinRule$1(node) {
  82166. return this.visitMixinRule$body$_EvaluateVisitor0(node);
  82167. },
  82168. visitMixinRule$body$_EvaluateVisitor0(node) {
  82169. var $async$goto = 0,
  82170. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82171. $async$returnValue, $async$self = this, t1, t2, t3, t4, index, t5;
  82172. var $async$visitMixinRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82173. if ($async$errorCode === 1)
  82174. return A._asyncRethrow($async$result, $async$completer);
  82175. while (true)
  82176. switch ($async$goto) {
  82177. case 0:
  82178. // Function start
  82179. t1 = $async$self._async_evaluate0$_environment;
  82180. t2 = t1.closure$0();
  82181. t3 = $async$self._async_evaluate0$_inDependency;
  82182. t4 = t1._async_environment0$_mixins;
  82183. index = t4.length - 1;
  82184. t5 = node.name;
  82185. t1._async_environment0$_mixinIndices.$indexSet(0, t5, index);
  82186. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_AsyncEnvironment_2));
  82187. $async$returnValue = null;
  82188. // goto return
  82189. $async$goto = 1;
  82190. break;
  82191. case 1:
  82192. // return
  82193. return A._asyncReturn($async$returnValue, $async$completer);
  82194. }
  82195. });
  82196. return A._asyncStartSync($async$visitMixinRule$1, $async$completer);
  82197. },
  82198. visitLoudComment$1(node) {
  82199. return this.visitLoudComment$body$_EvaluateVisitor0(node);
  82200. },
  82201. visitLoudComment$body$_EvaluateVisitor0(node) {
  82202. var $async$goto = 0,
  82203. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82204. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  82205. var $async$visitLoudComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82206. if ($async$errorCode === 1)
  82207. return A._asyncRethrow($async$result, $async$completer);
  82208. while (true)
  82209. switch ($async$goto) {
  82210. case 0:
  82211. // Function start
  82212. if ($async$self._async_evaluate0$_inFunction) {
  82213. $async$returnValue = null;
  82214. // goto return
  82215. $async$goto = 1;
  82216. break;
  82217. }
  82218. 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))
  82219. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  82220. t1 = node.text;
  82221. $async$temp1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  82222. $async$temp2 = A;
  82223. $async$goto = 3;
  82224. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$visitLoudComment$1);
  82225. case 3:
  82226. // returning from await.
  82227. $async$temp1.addChild$1(new $async$temp2.ModifiableCssComment0($async$result, t1.span));
  82228. $async$returnValue = null;
  82229. // goto return
  82230. $async$goto = 1;
  82231. break;
  82232. case 1:
  82233. // return
  82234. return A._asyncReturn($async$returnValue, $async$completer);
  82235. }
  82236. });
  82237. return A._asyncStartSync($async$visitLoudComment$1, $async$completer);
  82238. },
  82239. visitMediaRule$1(node) {
  82240. return this.visitMediaRule$body$_EvaluateVisitor0(node);
  82241. },
  82242. visitMediaRule$body$_EvaluateVisitor0(node) {
  82243. var $async$goto = 0,
  82244. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82245. $async$returnValue, $async$self = this, queries, mergedQueries, t1, mergedSources, t2, t3;
  82246. var $async$visitMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82247. if ($async$errorCode === 1)
  82248. return A._asyncRethrow($async$result, $async$completer);
  82249. while (true)
  82250. switch ($async$goto) {
  82251. case 0:
  82252. // Function start
  82253. if ($async$self._async_evaluate0$_declarationName != null)
  82254. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  82255. $async$goto = 3;
  82256. return A._asyncAwait($async$self._async_evaluate0$_visitMediaQueries$1(node.query), $async$visitMediaRule$1);
  82257. case 3:
  82258. // returning from await.
  82259. queries = $async$result;
  82260. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure8($async$self, queries));
  82261. t1 = mergedQueries == null;
  82262. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  82263. $async$returnValue = null;
  82264. // goto return
  82265. $async$goto = 1;
  82266. break;
  82267. }
  82268. if (t1)
  82269. mergedSources = B.Set_empty5;
  82270. else {
  82271. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  82272. t2.toString;
  82273. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  82274. t3 = $async$self._async_evaluate0$_mediaQueries;
  82275. t3.toString;
  82276. t2.addAll$1(0, t3);
  82277. t2.addAll$1(0, queries);
  82278. mergedSources = t2;
  82279. }
  82280. t1 = t1 ? queries : mergedQueries;
  82281. $async$goto = 4;
  82282. 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);
  82283. case 4:
  82284. // returning from await.
  82285. $async$returnValue = null;
  82286. // goto return
  82287. $async$goto = 1;
  82288. break;
  82289. case 1:
  82290. // return
  82291. return A._asyncReturn($async$returnValue, $async$completer);
  82292. }
  82293. });
  82294. return A._asyncStartSync($async$visitMediaRule$1, $async$completer);
  82295. },
  82296. _async_evaluate0$_visitMediaQueries$1(interpolation) {
  82297. return this._visitMediaQueries$body$_EvaluateVisitor0(interpolation);
  82298. },
  82299. _visitMediaQueries$body$_EvaluateVisitor0(interpolation) {
  82300. var $async$goto = 0,
  82301. $async$completer = A._makeAsyncAwaitCompleter(type$.List_CssMediaQuery_2),
  82302. $async$returnValue, $async$self = this, _0_0;
  82303. var $async$_async_evaluate0$_visitMediaQueries$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82304. if ($async$errorCode === 1)
  82305. return A._asyncRethrow($async$result, $async$completer);
  82306. while (true)
  82307. switch ($async$goto) {
  82308. case 0:
  82309. // Function start
  82310. $async$goto = 3;
  82311. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, true), $async$_async_evaluate0$_visitMediaQueries$1);
  82312. case 3:
  82313. // returning from await.
  82314. _0_0 = $async$result;
  82315. $async$returnValue = A.CssMediaQuery_parseList0(_0_0._0, _0_0._1, $async$self._async_evaluate0$_logger);
  82316. // goto return
  82317. $async$goto = 1;
  82318. break;
  82319. case 1:
  82320. // return
  82321. return A._asyncReturn($async$returnValue, $async$completer);
  82322. }
  82323. });
  82324. return A._asyncStartSync($async$_async_evaluate0$_visitMediaQueries$1, $async$completer);
  82325. },
  82326. _async_evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  82327. var t1, t2, t3, t4, _0_0, result, t5,
  82328. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  82329. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  82330. t3 = t1.get$current(t1);
  82331. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  82332. _0_0 = t3.merge$1(t4.get$current(t4));
  82333. if (B._SingletonCssMediaQueryMergeResult_00 === _0_0)
  82334. continue;
  82335. if (B._SingletonCssMediaQueryMergeResult_10 === _0_0)
  82336. return null;
  82337. if (_0_0 instanceof A.MediaQuerySuccessfulMergeResult0) {
  82338. result = _0_0;
  82339. t5 = true;
  82340. } else {
  82341. result = null;
  82342. t5 = false;
  82343. }
  82344. if (t5)
  82345. queries.push(result.query);
  82346. }
  82347. }
  82348. return queries;
  82349. },
  82350. visitReturnRule$1(node) {
  82351. return this.visitReturnRule$body$_EvaluateVisitor0(node);
  82352. },
  82353. visitReturnRule$body$_EvaluateVisitor0(node) {
  82354. var $async$goto = 0,
  82355. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  82356. $async$returnValue, $async$self = this, t1, t2;
  82357. var $async$visitReturnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82358. if ($async$errorCode === 1)
  82359. return A._asyncRethrow($async$result, $async$completer);
  82360. while (true)
  82361. switch ($async$goto) {
  82362. case 0:
  82363. // Function start
  82364. t1 = node.expression;
  82365. t2 = t1.accept$1($async$self);
  82366. $async$goto = 3;
  82367. return A._asyncAwait(type$.Future_Value_2._is(t2) ? t2 : A._Future$value(t2, type$.Value_2), $async$visitReturnRule$1);
  82368. case 3:
  82369. // returning from await.
  82370. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, t1);
  82371. // goto return
  82372. $async$goto = 1;
  82373. break;
  82374. case 1:
  82375. // return
  82376. return A._asyncReturn($async$returnValue, $async$completer);
  82377. }
  82378. });
  82379. return A._asyncStartSync($async$visitReturnRule$1, $async$completer);
  82380. },
  82381. visitSilentComment$1(node) {
  82382. return this.visitSilentComment$body$_EvaluateVisitor0(node);
  82383. },
  82384. visitSilentComment$body$_EvaluateVisitor0(node) {
  82385. var $async$goto = 0,
  82386. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82387. $async$returnValue;
  82388. var $async$visitSilentComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82389. if ($async$errorCode === 1)
  82390. return A._asyncRethrow($async$result, $async$completer);
  82391. while (true)
  82392. switch ($async$goto) {
  82393. case 0:
  82394. // Function start
  82395. $async$returnValue = null;
  82396. // goto return
  82397. $async$goto = 1;
  82398. break;
  82399. case 1:
  82400. // return
  82401. return A._asyncReturn($async$returnValue, $async$completer);
  82402. }
  82403. });
  82404. return A._asyncStartSync($async$visitSilentComment$1, $async$completer);
  82405. },
  82406. visitStyleRule$1(node) {
  82407. return this.visitStyleRule$body$_EvaluateVisitor0(node);
  82408. },
  82409. visitStyleRule$body$_EvaluateVisitor0(node) {
  82410. var $async$goto = 0,
  82411. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82412. $async$returnValue, $async$self = this, t1, _0_0, selectorText, selectorMap, t2, parsedSelector, rule, oldAtRootExcludingStyleRule, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9;
  82413. var $async$visitStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82414. if ($async$errorCode === 1)
  82415. return A._asyncRethrow($async$result, $async$completer);
  82416. while (true)
  82417. switch ($async$goto) {
  82418. case 0:
  82419. // Function start
  82420. if ($async$self._async_evaluate0$_declarationName != null)
  82421. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_, node.span));
  82422. t1 = node.selector;
  82423. $async$goto = 3;
  82424. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationWithMap$2$warnForColor(t1, true), $async$visitStyleRule$1);
  82425. case 3:
  82426. // returning from await.
  82427. _0_0 = $async$result;
  82428. selectorText = _0_0._0;
  82429. selectorMap = _0_0._1;
  82430. $async$goto = $async$self._async_evaluate0$_inKeyframes ? 4 : 5;
  82431. break;
  82432. case 4:
  82433. // then
  82434. $async$goto = 6;
  82435. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$0(new A.CssValue0(A.List_List$unmodifiable(A.KeyframeSelectorParser$0(selectorText, selectorMap, $async$self._async_evaluate0$_logger).parse$0(), type$.String), t1.span, type$.CssValue_List_String_2), node.span), new A._EvaluateVisitor_visitStyleRule_closure14($async$self, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure15(), type$.ModifiableCssKeyframeBlock_2, type$.Null), $async$visitStyleRule$1);
  82436. case 6:
  82437. // returning from await.
  82438. $async$returnValue = null;
  82439. // goto return
  82440. $async$goto = 1;
  82441. break;
  82442. case 5:
  82443. // join
  82444. t1 = A.SelectorList_SelectorList$parse0(selectorText, !$async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss, !$async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss, selectorMap, $async$self._async_evaluate0$_logger);
  82445. t2 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  82446. t2 = t2 == null ? null : t2.originalSelector;
  82447. parsedSelector = t1.resolveParentSelectors$2$implicitParent(t2, !$async$self._async_evaluate0$_atRootExcludingStyleRule);
  82448. rule = A.ModifiableCssStyleRule$0($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addSelector$2(parsedSelector, $async$self._async_evaluate0$_mediaQueries), node.span, parsedSelector);
  82449. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  82450. $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  82451. $async$goto = 7;
  82452. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure16($async$self, rule, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure17(), type$.ModifiableCssStyleRule_2, type$.Null), $async$visitStyleRule$1);
  82453. case 7:
  82454. // returning from await.
  82455. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  82456. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  82457. for (t1 = parsedSelector.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  82458. complex = t1[_i];
  82459. if (!complex.accept$1(B._IsBogusVisitor_true0))
  82460. continue;
  82461. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  82462. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  82463. complex.accept$1(visitor);
  82464. $async$self._async_evaluate0$_warn$3('The selector "' + B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0)) + string$.x22x20is_ix20, A.SpanExtensions_trimRight0(complex.span), B.Deprecation_XV6);
  82465. } else if (complex.leadingCombinators.length !== 0) {
  82466. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  82467. complex.accept$1(visitor);
  82468. $async$self._async_evaluate0$_warn$3('The selector "' + B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0)) + string$.x22x20is_ix0a, A.SpanExtensions_trimRight0(complex.span), B.Deprecation_XV6);
  82469. } else {
  82470. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  82471. complex.accept$1(visitor);
  82472. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  82473. t7 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  82474. t8 = A.SpanExtensions_trimRight0(complex.span);
  82475. if (t5.get$length(t5) === 0)
  82476. A.throwExpression(A.IterableElementError_noElement());
  82477. t9 = J.get$span$z(t5.$index(0, 0));
  82478. $async$self._async_evaluate0$_warn$3('The selector "' + t6 + string$.x22x20is_o + t7 + string$.x0aThis_, new A.MultiSpan0(t8, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t9, "this is not a style rule" + (t5.every$1(t5, new A._EvaluateVisitor_visitStyleRule_closure18()) ? "\n(try converting to a //-style comment)" : "")], t3, t4), t3, t4)), B.Deprecation_XV6);
  82479. }
  82480. }
  82481. if (($async$self._async_evaluate0$_atRootExcludingStyleRule ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot) == null) {
  82482. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  82483. t1 = !t1.get$isEmpty(t1);
  82484. } else
  82485. t1 = false;
  82486. if (t1) {
  82487. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  82488. t1.get$last(t1).isGroupEnd = true;
  82489. }
  82490. $async$returnValue = null;
  82491. // goto return
  82492. $async$goto = 1;
  82493. break;
  82494. case 1:
  82495. // return
  82496. return A._asyncReturn($async$returnValue, $async$completer);
  82497. }
  82498. });
  82499. return A._asyncStartSync($async$visitStyleRule$1, $async$completer);
  82500. },
  82501. visitSupportsRule$1(node) {
  82502. return this.visitSupportsRule$body$_EvaluateVisitor0(node);
  82503. },
  82504. visitSupportsRule$body$_EvaluateVisitor0(node) {
  82505. var $async$goto = 0,
  82506. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82507. $async$returnValue, $async$self = this, t1, $async$temp1, $async$temp2;
  82508. var $async$visitSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82509. if ($async$errorCode === 1)
  82510. return A._asyncRethrow($async$result, $async$completer);
  82511. while (true)
  82512. switch ($async$goto) {
  82513. case 0:
  82514. // Function start
  82515. if ($async$self._async_evaluate0$_declarationName != null)
  82516. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  82517. t1 = node.condition;
  82518. $async$temp1 = A;
  82519. $async$temp2 = A;
  82520. $async$goto = 4;
  82521. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(t1), $async$visitSupportsRule$1);
  82522. case 4:
  82523. // returning from await.
  82524. $async$goto = 3;
  82525. 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);
  82526. case 3:
  82527. // returning from await.
  82528. $async$returnValue = null;
  82529. // goto return
  82530. $async$goto = 1;
  82531. break;
  82532. case 1:
  82533. // return
  82534. return A._asyncReturn($async$returnValue, $async$completer);
  82535. }
  82536. });
  82537. return A._asyncStartSync($async$visitSupportsRule$1, $async$completer);
  82538. },
  82539. _async_evaluate0$_visitSupportsCondition$1(condition) {
  82540. return this._visitSupportsCondition$body$_EvaluateVisitor0(condition);
  82541. },
  82542. _visitSupportsCondition$body$_EvaluateVisitor0(condition) {
  82543. var $async$goto = 0,
  82544. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  82545. $async$returnValue, $async$self = this, operation, t1, t2, negation, interpolation, $function, anything, _box_0, $async$temp1, $async$temp2;
  82546. var $async$_async_evaluate0$_visitSupportsCondition$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82547. if ($async$errorCode === 1)
  82548. return A._asyncRethrow($async$result, $async$completer);
  82549. while (true)
  82550. switch ($async$goto) {
  82551. case 0:
  82552. // Function start
  82553. _box_0 = {};
  82554. if (condition instanceof A.SupportsOperation0) {
  82555. operation = condition;
  82556. t1 = true;
  82557. } else {
  82558. operation = null;
  82559. t1 = false;
  82560. }
  82561. $async$goto = t1 ? 4 : 5;
  82562. break;
  82563. case 4:
  82564. // then
  82565. t1 = operation.left;
  82566. t2 = operation.operator;
  82567. $async$temp1 = A;
  82568. $async$goto = 6;
  82569. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(t1, t2), $async$_async_evaluate0$_visitSupportsCondition$1);
  82570. case 6:
  82571. // returning from await.
  82572. $async$temp1 = $async$temp1.S($async$result) + " " + t2 + " ";
  82573. $async$temp2 = A;
  82574. $async$goto = 7;
  82575. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$2(operation.right, t2), $async$_async_evaluate0$_visitSupportsCondition$1);
  82576. case 7:
  82577. // returning from await.
  82578. t2 = $async$temp1 + $async$temp2.S($async$result);
  82579. t1 = t2;
  82580. // goto break $label0$0
  82581. $async$goto = 3;
  82582. break;
  82583. case 5:
  82584. // join
  82585. if (condition instanceof A.SupportsNegation0) {
  82586. negation = condition;
  82587. t1 = true;
  82588. } else {
  82589. negation = null;
  82590. t1 = false;
  82591. }
  82592. $async$goto = t1 ? 8 : 9;
  82593. break;
  82594. case 8:
  82595. // then
  82596. $async$temp1 = A;
  82597. $async$goto = 10;
  82598. return A._asyncAwait($async$self._async_evaluate0$_parenthesize$1(negation.condition), $async$_async_evaluate0$_visitSupportsCondition$1);
  82599. case 10:
  82600. // returning from await.
  82601. t1 = "not " + $async$temp1.S($async$result);
  82602. // goto break $label0$0
  82603. $async$goto = 3;
  82604. break;
  82605. case 9:
  82606. // join
  82607. if (condition instanceof A.SupportsInterpolation0) {
  82608. interpolation = condition;
  82609. t1 = true;
  82610. } else {
  82611. interpolation = null;
  82612. t1 = false;
  82613. }
  82614. $async$goto = t1 ? 11 : 12;
  82615. break;
  82616. case 11:
  82617. // then
  82618. $async$goto = 13;
  82619. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$2$quote(interpolation.expression, false), $async$_async_evaluate0$_visitSupportsCondition$1);
  82620. case 13:
  82621. // returning from await.
  82622. t1 = $async$result;
  82623. // goto break $label0$0
  82624. $async$goto = 3;
  82625. break;
  82626. case 12:
  82627. // join
  82628. _box_0.declaration = null;
  82629. if (condition instanceof A.SupportsDeclaration0) {
  82630. _box_0.declaration = condition;
  82631. t1 = true;
  82632. } else
  82633. t1 = false;
  82634. $async$goto = t1 ? 14 : 15;
  82635. break;
  82636. case 14:
  82637. // then
  82638. $async$goto = 16;
  82639. return A._asyncAwait($async$self._async_evaluate0$_withSupportsDeclaration$1$1(new A._EvaluateVisitor__visitSupportsCondition_closure2(_box_0, $async$self), type$.String), $async$_async_evaluate0$_visitSupportsCondition$1);
  82640. case 16:
  82641. // returning from await.
  82642. t1 = $async$result;
  82643. // goto break $label0$0
  82644. $async$goto = 3;
  82645. break;
  82646. case 15:
  82647. // join
  82648. if (condition instanceof A.SupportsFunction0) {
  82649. $function = condition;
  82650. t1 = true;
  82651. } else {
  82652. $function = null;
  82653. t1 = false;
  82654. }
  82655. $async$goto = t1 ? 17 : 18;
  82656. break;
  82657. case 17:
  82658. // then
  82659. $async$temp1 = A;
  82660. $async$goto = 19;
  82661. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1($function.name), $async$_async_evaluate0$_visitSupportsCondition$1);
  82662. case 19:
  82663. // returning from await.
  82664. $async$temp1 = $async$temp1.S($async$result) + "(";
  82665. $async$temp2 = A;
  82666. $async$goto = 20;
  82667. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1($function.$arguments), $async$_async_evaluate0$_visitSupportsCondition$1);
  82668. case 20:
  82669. // returning from await.
  82670. t1 = $async$temp1 + $async$temp2.S($async$result) + ")";
  82671. // goto break $label0$0
  82672. $async$goto = 3;
  82673. break;
  82674. case 18:
  82675. // join
  82676. if (condition instanceof A.SupportsAnything0) {
  82677. anything = condition;
  82678. t1 = true;
  82679. } else {
  82680. anything = null;
  82681. t1 = false;
  82682. }
  82683. $async$goto = t1 ? 21 : 22;
  82684. break;
  82685. case 21:
  82686. // then
  82687. $async$temp1 = A;
  82688. $async$goto = 23;
  82689. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(anything.contents), $async$_async_evaluate0$_visitSupportsCondition$1);
  82690. case 23:
  82691. // returning from await.
  82692. t1 = "(" + $async$temp1.S($async$result) + ")";
  82693. // goto break $label0$0
  82694. $async$goto = 3;
  82695. break;
  82696. case 22:
  82697. // join
  82698. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", null));
  82699. case 3:
  82700. // break $label0$0
  82701. $async$returnValue = t1;
  82702. // goto return
  82703. $async$goto = 1;
  82704. break;
  82705. case 1:
  82706. // return
  82707. return A._asyncReturn($async$returnValue, $async$completer);
  82708. }
  82709. });
  82710. return A._asyncStartSync($async$_async_evaluate0$_visitSupportsCondition$1, $async$completer);
  82711. },
  82712. _async_evaluate0$_withSupportsDeclaration$1$1(callback, $T) {
  82713. return this._withSupportsDeclaration$body$_EvaluateVisitor0(callback, $T, $T);
  82714. },
  82715. _withSupportsDeclaration$body$_EvaluateVisitor0(callback, $T, $async$type) {
  82716. var $async$goto = 0,
  82717. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  82718. $async$returnValue, $async$handler = 2, $async$currentError, $async$next = [], $async$self = this, t1, oldInSupportsDeclaration;
  82719. var $async$_async_evaluate0$_withSupportsDeclaration$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82720. if ($async$errorCode === 1) {
  82721. $async$currentError = $async$result;
  82722. $async$goto = $async$handler;
  82723. }
  82724. while (true)
  82725. switch ($async$goto) {
  82726. case 0:
  82727. // Function start
  82728. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  82729. $async$self._async_evaluate0$_inSupportsDeclaration = true;
  82730. $async$handler = 3;
  82731. t1 = callback.call$0();
  82732. $async$goto = 6;
  82733. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_withSupportsDeclaration$1$1);
  82734. case 6:
  82735. // returning from await.
  82736. t1 = $async$result;
  82737. $async$returnValue = t1;
  82738. $async$next = [1];
  82739. // goto finally
  82740. $async$goto = 4;
  82741. break;
  82742. $async$next.push(5);
  82743. // goto finally
  82744. $async$goto = 4;
  82745. break;
  82746. case 3:
  82747. // uncaught
  82748. $async$next = [2];
  82749. case 4:
  82750. // finally
  82751. $async$handler = 2;
  82752. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  82753. // goto the next finally handler
  82754. $async$goto = $async$next.pop();
  82755. break;
  82756. case 5:
  82757. // after finally
  82758. case 1:
  82759. // return
  82760. return A._asyncReturn($async$returnValue, $async$completer);
  82761. case 2:
  82762. // rethrow
  82763. return A._asyncRethrow($async$currentError, $async$completer);
  82764. }
  82765. });
  82766. return A._asyncStartSync($async$_async_evaluate0$_withSupportsDeclaration$1$1, $async$completer);
  82767. },
  82768. _async_evaluate0$_parenthesize$2(condition, operator) {
  82769. return this._parenthesize$body$_EvaluateVisitor0(condition, operator);
  82770. },
  82771. _async_evaluate0$_parenthesize$1(condition) {
  82772. return this._async_evaluate0$_parenthesize$2(condition, null);
  82773. },
  82774. _parenthesize$body$_EvaluateVisitor0(condition, operator) {
  82775. var $async$goto = 0,
  82776. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  82777. $async$returnValue, $async$self = this, t1, $async$temp1;
  82778. var $async$_async_evaluate0$_parenthesize$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82779. if ($async$errorCode === 1)
  82780. return A._asyncRethrow($async$result, $async$completer);
  82781. while (true)
  82782. switch ($async$goto) {
  82783. case 0:
  82784. // Function start
  82785. if (!(condition instanceof A.SupportsNegation0))
  82786. if (condition instanceof A.SupportsOperation0)
  82787. t1 = operator == null || operator !== condition.operator;
  82788. else
  82789. t1 = false;
  82790. else
  82791. t1 = true;
  82792. $async$goto = t1 ? 3 : 4;
  82793. break;
  82794. case 3:
  82795. // then
  82796. $async$temp1 = A;
  82797. $async$goto = 5;
  82798. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  82799. case 5:
  82800. // returning from await.
  82801. $async$returnValue = "(" + $async$temp1.S($async$result) + ")";
  82802. // goto return
  82803. $async$goto = 1;
  82804. break;
  82805. case 4:
  82806. // join
  82807. $async$goto = 6;
  82808. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(condition), $async$_async_evaluate0$_parenthesize$2);
  82809. case 6:
  82810. // returning from await.
  82811. $async$returnValue = $async$result;
  82812. // goto return
  82813. $async$goto = 1;
  82814. break;
  82815. case 1:
  82816. // return
  82817. return A._asyncReturn($async$returnValue, $async$completer);
  82818. }
  82819. });
  82820. return A._asyncStartSync($async$_async_evaluate0$_parenthesize$2, $async$completer);
  82821. },
  82822. visitVariableDeclaration$1(node) {
  82823. return this.visitVariableDeclaration$body$_EvaluateVisitor0(node);
  82824. },
  82825. visitVariableDeclaration$body$_EvaluateVisitor0(node) {
  82826. var $async$goto = 0,
  82827. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82828. $async$returnValue, $async$self = this, t2, t3, value, t1, $async$temp1, $async$temp2, $async$temp3;
  82829. var $async$visitVariableDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82830. if ($async$errorCode === 1)
  82831. return A._asyncRethrow($async$result, $async$completer);
  82832. while (true)
  82833. switch ($async$goto) {
  82834. case 0:
  82835. // Function start
  82836. t1 = {};
  82837. if (node.isGuarded) {
  82838. if (node.namespace == null && $async$self._async_evaluate0$_environment._async_environment0$_variables.length === 1) {
  82839. t1.override = null;
  82840. t2 = $async$self._async_evaluate0$_configuration._configuration0$_values;
  82841. t2 = t2.get$isEmpty(t2) ? null : t2.remove$1(0, node.name);
  82842. if (t2 != null) {
  82843. t1.override = t2;
  82844. t3 = t2;
  82845. t2 = true;
  82846. } else {
  82847. t2 = false;
  82848. t3 = null;
  82849. }
  82850. if (t2 && !t3.value.$eq(0, B.C__SassNull0)) {
  82851. $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure8(t1, $async$self, node));
  82852. $async$returnValue = null;
  82853. // goto return
  82854. $async$goto = 1;
  82855. break;
  82856. }
  82857. }
  82858. value = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure9($async$self, node));
  82859. if (value != null && !value.$eq(0, B.C__SassNull0)) {
  82860. $async$returnValue = null;
  82861. // goto return
  82862. $async$goto = 1;
  82863. break;
  82864. }
  82865. }
  82866. if (node.isGlobal && !$async$self._async_evaluate0$_environment.globalVariableExists$1(node.name)) {
  82867. 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.";
  82868. $async$self._async_evaluate0$_warn$3(t1, node.span, B.Deprecation_wKk);
  82869. }
  82870. t1 = node.expression;
  82871. t2 = t1.accept$1($async$self);
  82872. $async$temp1 = node;
  82873. $async$temp2 = A;
  82874. $async$temp3 = node;
  82875. $async$goto = 3;
  82876. return A._asyncAwait(type$.Future_Value_2._is(t2) ? t2 : A._Future$value(t2, type$.Value_2), $async$visitVariableDeclaration$1);
  82877. case 3:
  82878. // returning from await.
  82879. $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)));
  82880. $async$returnValue = null;
  82881. // goto return
  82882. $async$goto = 1;
  82883. break;
  82884. case 1:
  82885. // return
  82886. return A._asyncReturn($async$returnValue, $async$completer);
  82887. }
  82888. });
  82889. return A._asyncStartSync($async$visitVariableDeclaration$1, $async$completer);
  82890. },
  82891. visitUseRule$1(node) {
  82892. return this.visitUseRule$body$_EvaluateVisitor0(node);
  82893. },
  82894. visitUseRule$body$_EvaluateVisitor0(node) {
  82895. var $async$goto = 0,
  82896. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82897. $async$returnValue, $async$self = this, values, t3, t4, _i, variable, t5, variableNodeWithSpan, t6, t7, configuration, t1, t2, $async$temp1, $async$temp2, $async$temp3;
  82898. var $async$visitUseRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82899. if ($async$errorCode === 1)
  82900. return A._asyncRethrow($async$result, $async$completer);
  82901. while (true)
  82902. switch ($async$goto) {
  82903. case 0:
  82904. // Function start
  82905. t1 = node.configuration;
  82906. t2 = t1.length;
  82907. $async$goto = t2 !== 0 ? 3 : 5;
  82908. break;
  82909. case 3:
  82910. // then
  82911. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  82912. t3 = type$._Future_Value_2, t4 = type$.Future_Value_2, _i = 0;
  82913. case 6:
  82914. // for condition
  82915. if (!(_i < t2)) {
  82916. // goto after for
  82917. $async$goto = 8;
  82918. break;
  82919. }
  82920. variable = t1[_i];
  82921. t5 = variable.expression;
  82922. variableNodeWithSpan = $async$self._async_evaluate0$_expressionNode$1(t5);
  82923. t6 = variable.name;
  82924. t5 = t5.accept$1($async$self);
  82925. if (!t4._is(t5)) {
  82926. t7 = new A._Future($.Zone__current, t3);
  82927. t7._state = 8;
  82928. t7._resultOrListeners = t5;
  82929. t5 = t7;
  82930. }
  82931. $async$temp1 = values;
  82932. $async$temp2 = t6;
  82933. $async$temp3 = A;
  82934. $async$goto = 9;
  82935. return A._asyncAwait(t5, $async$visitUseRule$1);
  82936. case 9:
  82937. // returning from await.
  82938. $async$temp1.$indexSet(0, $async$temp2, new $async$temp3.ConfiguredValue0($async$self._async_evaluate0$_withoutSlash$2($async$result, variableNodeWithSpan), variable.span, variableNodeWithSpan));
  82939. case 7:
  82940. // for update
  82941. ++_i;
  82942. // goto for condition
  82943. $async$goto = 6;
  82944. break;
  82945. case 8:
  82946. // after for
  82947. configuration = new A.ExplicitConfiguration0(node, values, null);
  82948. // goto join
  82949. $async$goto = 4;
  82950. break;
  82951. case 5:
  82952. // else
  82953. configuration = B.Configuration_Map_empty_null0;
  82954. case 4:
  82955. // join
  82956. $async$goto = 10;
  82957. 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);
  82958. case 10:
  82959. // returning from await.
  82960. $async$self._async_evaluate0$_assertConfigurationIsEmpty$1(configuration);
  82961. $async$returnValue = null;
  82962. // goto return
  82963. $async$goto = 1;
  82964. break;
  82965. case 1:
  82966. // return
  82967. return A._asyncReturn($async$returnValue, $async$completer);
  82968. }
  82969. });
  82970. return A._asyncStartSync($async$visitUseRule$1, $async$completer);
  82971. },
  82972. visitWarnRule$1(node) {
  82973. return this.visitWarnRule$body$_EvaluateVisitor0(node);
  82974. },
  82975. visitWarnRule$body$_EvaluateVisitor0(node) {
  82976. var $async$goto = 0,
  82977. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  82978. $async$returnValue, $async$self = this, value, t1;
  82979. var $async$visitWarnRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  82980. if ($async$errorCode === 1)
  82981. return A._asyncRethrow($async$result, $async$completer);
  82982. while (true)
  82983. switch ($async$goto) {
  82984. case 0:
  82985. // Function start
  82986. $async$goto = 3;
  82987. 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);
  82988. case 3:
  82989. // returning from await.
  82990. value = $async$result;
  82991. t1 = value instanceof A.SassString0 ? value._string0$_text : $async$self._async_evaluate0$_serialize$2(value, node.expression);
  82992. $async$self._async_evaluate0$_logger.warn$2$trace(0, t1, $async$self._async_evaluate0$_stackTrace$1(node.span));
  82993. $async$returnValue = null;
  82994. // goto return
  82995. $async$goto = 1;
  82996. break;
  82997. case 1:
  82998. // return
  82999. return A._asyncReturn($async$returnValue, $async$completer);
  83000. }
  83001. });
  83002. return A._asyncStartSync($async$visitWarnRule$1, $async$completer);
  83003. },
  83004. visitWhileRule$1(node) {
  83005. return this._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure2(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  83006. },
  83007. visitBinaryOperationExpression$1(node) {
  83008. var t1, _this = this;
  83009. if (_this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__stylesheet, "_stylesheet").plainCss) {
  83010. t1 = node.operator;
  83011. t1 = t1 !== B.BinaryOperator_2jN0 && t1 !== B.BinaryOperator_t8B0;
  83012. } else
  83013. t1 = false;
  83014. if (t1)
  83015. throw A.wrapException(_this._async_evaluate0$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  83016. return _this._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure2(_this, node), type$.Value_2);
  83017. },
  83018. _async_evaluate0$_slash$3(left, right, node) {
  83019. var t1, _null = null,
  83020. result = left.dividedBy$1(right),
  83021. _1_0 = new A._Record_2(left, right),
  83022. _1_1 = A._InitializedCell$(new A._EvaluateVisitor__slash_closure5(_1_0)),
  83023. _1_2 = A._InitializedCell$(new A._EvaluateVisitor__slash_closure6(_1_0));
  83024. if (_1_1._readFinal$0() instanceof A.SassNumber0) {
  83025. left = _1_1._readFinal$0();
  83026. if (_1_2._readFinal$0() instanceof A.SassNumber0) {
  83027. right = _1_2._readFinal$0();
  83028. t1 = node.allowsSlash && this._async_evaluate0$_operandAllowsSlash$1(node.left) && this._async_evaluate0$_operandAllowsSlash$1(node.right);
  83029. } else {
  83030. right = _null;
  83031. t1 = false;
  83032. }
  83033. } else {
  83034. right = _null;
  83035. left = right;
  83036. t1 = false;
  83037. }
  83038. if (t1)
  83039. return type$.SassNumber_2._as(result).withSlash$2(left, right);
  83040. if (_1_1._readFinal$0() instanceof A.SassNumber0 && _1_2._readFinal$0() instanceof A.SassNumber0) {
  83041. this._async_evaluate0$_warn$3(string$.Using__o + A.S(new A._EvaluateVisitor__slash_recommendation2().call$1(node)) + " or " + A.expressionToCalc0(node).toString$0(0) + string$.x0a_Morex20, node.get$span(node), B.Deprecation_wWh);
  83042. return result;
  83043. }
  83044. return result;
  83045. },
  83046. _async_evaluate0$_operandAllowsSlash$1(node) {
  83047. var t1, t2;
  83048. if (node instanceof A.FunctionExpression0)
  83049. if (node.namespace == null) {
  83050. t1 = node.originalName;
  83051. if (B.Set_WfnXb.contains$1(0, A.stringReplaceAllUnchecked(t1, "_", "-").toLowerCase())) {
  83052. t2 = this._async_evaluate0$_environment;
  83053. t1 = t2.getFunction$1(A.stringReplaceAllUnchecked(t1, "_", "-")) == null;
  83054. } else
  83055. t1 = false;
  83056. } else
  83057. t1 = false;
  83058. else
  83059. t1 = true;
  83060. return t1;
  83061. },
  83062. visitValueExpression$1(node) {
  83063. return this.visitValueExpression$body$_EvaluateVisitor0(node);
  83064. },
  83065. visitValueExpression$body$_EvaluateVisitor0(node) {
  83066. var $async$goto = 0,
  83067. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  83068. $async$returnValue;
  83069. var $async$visitValueExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83070. if ($async$errorCode === 1)
  83071. return A._asyncRethrow($async$result, $async$completer);
  83072. while (true)
  83073. switch ($async$goto) {
  83074. case 0:
  83075. // Function start
  83076. $async$returnValue = node.value;
  83077. // goto return
  83078. $async$goto = 1;
  83079. break;
  83080. case 1:
  83081. // return
  83082. return A._asyncReturn($async$returnValue, $async$completer);
  83083. }
  83084. });
  83085. return A._asyncStartSync($async$visitValueExpression$1, $async$completer);
  83086. },
  83087. visitVariableExpression$1(node) {
  83088. return this.visitVariableExpression$body$_EvaluateVisitor0(node);
  83089. },
  83090. visitVariableExpression$body$_EvaluateVisitor0(node) {
  83091. var $async$goto = 0,
  83092. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  83093. $async$returnValue, $async$self = this, result;
  83094. var $async$visitVariableExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83095. if ($async$errorCode === 1)
  83096. return A._asyncRethrow($async$result, $async$completer);
  83097. while (true)
  83098. switch ($async$goto) {
  83099. case 0:
  83100. // Function start
  83101. result = $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure2($async$self, node));
  83102. if (result != null) {
  83103. $async$returnValue = result;
  83104. // goto return
  83105. $async$goto = 1;
  83106. break;
  83107. }
  83108. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined variable.", node.span));
  83109. case 1:
  83110. // return
  83111. return A._asyncReturn($async$returnValue, $async$completer);
  83112. }
  83113. });
  83114. return A._asyncStartSync($async$visitVariableExpression$1, $async$completer);
  83115. },
  83116. visitUnaryOperationExpression$1(node) {
  83117. return this.visitUnaryOperationExpression$body$_EvaluateVisitor0(node);
  83118. },
  83119. visitUnaryOperationExpression$body$_EvaluateVisitor0(node) {
  83120. var $async$goto = 0,
  83121. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  83122. $async$returnValue, $async$self = this, $async$temp1, $async$temp2, $async$temp3;
  83123. var $async$visitUnaryOperationExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83124. if ($async$errorCode === 1)
  83125. return A._asyncRethrow($async$result, $async$completer);
  83126. while (true)
  83127. switch ($async$goto) {
  83128. case 0:
  83129. // Function start
  83130. $async$temp1 = node;
  83131. $async$temp2 = A;
  83132. $async$temp3 = node;
  83133. $async$goto = 3;
  83134. return A._asyncAwait(node.operand.accept$1($async$self), $async$visitUnaryOperationExpression$1);
  83135. case 3:
  83136. // returning from await.
  83137. $async$returnValue = $async$self._async_evaluate0$_addExceptionSpan$2($async$temp1, new $async$temp2._EvaluateVisitor_visitUnaryOperationExpression_closure2($async$temp3, $async$result));
  83138. // goto return
  83139. $async$goto = 1;
  83140. break;
  83141. case 1:
  83142. // return
  83143. return A._asyncReturn($async$returnValue, $async$completer);
  83144. }
  83145. });
  83146. return A._asyncStartSync($async$visitUnaryOperationExpression$1, $async$completer);
  83147. },
  83148. visitBooleanExpression$1(node) {
  83149. return this.visitBooleanExpression$body$_EvaluateVisitor0(node);
  83150. },
  83151. visitBooleanExpression$body$_EvaluateVisitor0(node) {
  83152. var $async$goto = 0,
  83153. $async$completer = A._makeAsyncAwaitCompleter(type$.SassBoolean_2),
  83154. $async$returnValue;
  83155. var $async$visitBooleanExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83156. if ($async$errorCode === 1)
  83157. return A._asyncRethrow($async$result, $async$completer);
  83158. while (true)
  83159. switch ($async$goto) {
  83160. case 0:
  83161. // Function start
  83162. $async$returnValue = node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  83163. // goto return
  83164. $async$goto = 1;
  83165. break;
  83166. case 1:
  83167. // return
  83168. return A._asyncReturn($async$returnValue, $async$completer);
  83169. }
  83170. });
  83171. return A._asyncStartSync($async$visitBooleanExpression$1, $async$completer);
  83172. },
  83173. visitIfExpression$1(node) {
  83174. return this.visitIfExpression$body$_EvaluateVisitor0(node);
  83175. },
  83176. visitIfExpression$body$_EvaluateVisitor0(node) {
  83177. var $async$goto = 0,
  83178. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  83179. $async$returnValue, $async$self = this, condition, t1, ifTrue, ifFalse, result, _0_0, positional, named;
  83180. var $async$visitIfExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83181. if ($async$errorCode === 1)
  83182. return A._asyncRethrow($async$result, $async$completer);
  83183. while (true)
  83184. switch ($async$goto) {
  83185. case 0:
  83186. // Function start
  83187. $async$goto = 3;
  83188. return A._asyncAwait($async$self._async_evaluate0$_evaluateMacroArguments$1(node), $async$visitIfExpression$1);
  83189. case 3:
  83190. // returning from await.
  83191. _0_0 = $async$result;
  83192. positional = _0_0._0;
  83193. named = _0_0._1;
  83194. $async$self._async_evaluate0$_verifyArguments$4(J.get$length$asx(positional), named, $.$get$IfExpression_declaration0(), node);
  83195. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  83196. if (condition == null) {
  83197. t1 = named.$index(0, "condition");
  83198. t1.toString;
  83199. condition = t1;
  83200. }
  83201. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  83202. if (ifTrue == null) {
  83203. t1 = named.$index(0, "if-true");
  83204. t1.toString;
  83205. ifTrue = t1;
  83206. }
  83207. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  83208. if (ifFalse == null) {
  83209. t1 = named.$index(0, "if-false");
  83210. t1.toString;
  83211. ifFalse = t1;
  83212. }
  83213. $async$goto = 4;
  83214. return A._asyncAwait(condition.accept$1($async$self), $async$visitIfExpression$1);
  83215. case 4:
  83216. // returning from await.
  83217. result = $async$result.get$isTruthy() ? ifTrue : ifFalse;
  83218. t1 = result.accept$1($async$self);
  83219. $async$goto = 5;
  83220. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$visitIfExpression$1);
  83221. case 5:
  83222. // returning from await.
  83223. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, $async$self._async_evaluate0$_expressionNode$1(result));
  83224. // goto return
  83225. $async$goto = 1;
  83226. break;
  83227. case 1:
  83228. // return
  83229. return A._asyncReturn($async$returnValue, $async$completer);
  83230. }
  83231. });
  83232. return A._asyncStartSync($async$visitIfExpression$1, $async$completer);
  83233. },
  83234. visitNullExpression$1(node) {
  83235. return this.visitNullExpression$body$_EvaluateVisitor0(node);
  83236. },
  83237. visitNullExpression$body$_EvaluateVisitor0(node) {
  83238. var $async$goto = 0,
  83239. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  83240. $async$returnValue;
  83241. var $async$visitNullExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83242. if ($async$errorCode === 1)
  83243. return A._asyncRethrow($async$result, $async$completer);
  83244. while (true)
  83245. switch ($async$goto) {
  83246. case 0:
  83247. // Function start
  83248. $async$returnValue = B.C__SassNull0;
  83249. // goto return
  83250. $async$goto = 1;
  83251. break;
  83252. case 1:
  83253. // return
  83254. return A._asyncReturn($async$returnValue, $async$completer);
  83255. }
  83256. });
  83257. return A._asyncStartSync($async$visitNullExpression$1, $async$completer);
  83258. },
  83259. visitNumberExpression$1(node) {
  83260. return this.visitNumberExpression$body$_EvaluateVisitor0(node);
  83261. },
  83262. visitNumberExpression$body$_EvaluateVisitor0(node) {
  83263. var $async$goto = 0,
  83264. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  83265. $async$returnValue;
  83266. var $async$visitNumberExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83267. if ($async$errorCode === 1)
  83268. return A._asyncRethrow($async$result, $async$completer);
  83269. while (true)
  83270. switch ($async$goto) {
  83271. case 0:
  83272. // Function start
  83273. $async$returnValue = A.SassNumber_SassNumber0(node.value, node.unit);
  83274. // goto return
  83275. $async$goto = 1;
  83276. break;
  83277. case 1:
  83278. // return
  83279. return A._asyncReturn($async$returnValue, $async$completer);
  83280. }
  83281. });
  83282. return A._asyncStartSync($async$visitNumberExpression$1, $async$completer);
  83283. },
  83284. visitParenthesizedExpression$1(node) {
  83285. var _this = this;
  83286. return _this._async_evaluate0$_assertInModule$2(_this._async_evaluate0$__stylesheet, "_stylesheet").plainCss ? A.throwExpression(_this._async_evaluate0$_exception$2("Parentheses aren't allowed in plain CSS.", node.span)) : node.expression.accept$1(_this);
  83287. },
  83288. visitColorExpression$1(node) {
  83289. return this.visitColorExpression$body$_EvaluateVisitor0(node);
  83290. },
  83291. visitColorExpression$body$_EvaluateVisitor0(node) {
  83292. var $async$goto = 0,
  83293. $async$completer = A._makeAsyncAwaitCompleter(type$.SassColor_2),
  83294. $async$returnValue;
  83295. var $async$visitColorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83296. if ($async$errorCode === 1)
  83297. return A._asyncRethrow($async$result, $async$completer);
  83298. while (true)
  83299. switch ($async$goto) {
  83300. case 0:
  83301. // Function start
  83302. $async$returnValue = node.value;
  83303. // goto return
  83304. $async$goto = 1;
  83305. break;
  83306. case 1:
  83307. // return
  83308. return A._asyncReturn($async$returnValue, $async$completer);
  83309. }
  83310. });
  83311. return A._asyncStartSync($async$visitColorExpression$1, $async$completer);
  83312. },
  83313. visitListExpression$1(node) {
  83314. return this.visitListExpression$body$_EvaluateVisitor0(node);
  83315. },
  83316. visitListExpression$body$_EvaluateVisitor0(node) {
  83317. var $async$goto = 0,
  83318. $async$completer = A._makeAsyncAwaitCompleter(type$.SassList_2),
  83319. $async$returnValue, $async$self = this, $async$temp1;
  83320. var $async$visitListExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83321. if ($async$errorCode === 1)
  83322. return A._asyncRethrow($async$result, $async$completer);
  83323. while (true)
  83324. switch ($async$goto) {
  83325. case 0:
  83326. // Function start
  83327. $async$temp1 = A;
  83328. $async$goto = 3;
  83329. return A._asyncAwait(A.mapAsync0(node.contents, new A._EvaluateVisitor_visitListExpression_closure2($async$self), type$.Expression_2, type$.Value_2), $async$visitListExpression$1);
  83330. case 3:
  83331. // returning from await.
  83332. $async$returnValue = $async$temp1.SassList$0($async$result, node.separator, node.hasBrackets);
  83333. // goto return
  83334. $async$goto = 1;
  83335. break;
  83336. case 1:
  83337. // return
  83338. return A._asyncReturn($async$returnValue, $async$completer);
  83339. }
  83340. });
  83341. return A._asyncStartSync($async$visitListExpression$1, $async$completer);
  83342. },
  83343. visitMapExpression$1(node) {
  83344. return this.visitMapExpression$body$_EvaluateVisitor0(node);
  83345. },
  83346. visitMapExpression$body$_EvaluateVisitor0(node) {
  83347. var $async$goto = 0,
  83348. $async$completer = A._makeAsyncAwaitCompleter(type$.SassMap_2),
  83349. $async$returnValue, $async$self = this, t2, t3, _i, t4, key, value, keyValue, valueValue, oldValueSpan, t1, map, keyNodes;
  83350. var $async$visitMapExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83351. if ($async$errorCode === 1)
  83352. return A._asyncRethrow($async$result, $async$completer);
  83353. while (true)
  83354. switch ($async$goto) {
  83355. case 0:
  83356. // Function start
  83357. t1 = type$.Value_2;
  83358. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  83359. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  83360. t2 = node.pairs, t3 = t2.length, _i = 0;
  83361. case 3:
  83362. // for condition
  83363. if (!(_i < t3)) {
  83364. // goto after for
  83365. $async$goto = 5;
  83366. break;
  83367. }
  83368. t4 = t2[_i];
  83369. key = t4._0;
  83370. value = t4._1;
  83371. $async$goto = 6;
  83372. return A._asyncAwait(key.accept$1($async$self), $async$visitMapExpression$1);
  83373. case 6:
  83374. // returning from await.
  83375. keyValue = $async$result;
  83376. $async$goto = 7;
  83377. return A._asyncAwait(value.accept$1($async$self), $async$visitMapExpression$1);
  83378. case 7:
  83379. // returning from await.
  83380. valueValue = $async$result;
  83381. if (map.containsKey$1(keyValue)) {
  83382. t1 = keyNodes.$index(0, keyValue);
  83383. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  83384. t1 = key.get$span(key);
  83385. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  83386. if (oldValueSpan != null)
  83387. t2.$indexSet(0, oldValueSpan, "first key");
  83388. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t1, "second key", t2, $async$self._async_evaluate0$_stackTrace$1(key.get$span(key)), null));
  83389. }
  83390. map.$indexSet(0, keyValue, valueValue);
  83391. keyNodes.$indexSet(0, keyValue, key);
  83392. case 4:
  83393. // for update
  83394. ++_i;
  83395. // goto for condition
  83396. $async$goto = 3;
  83397. break;
  83398. case 5:
  83399. // after for
  83400. $async$returnValue = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  83401. // goto return
  83402. $async$goto = 1;
  83403. break;
  83404. case 1:
  83405. // return
  83406. return A._asyncReturn($async$returnValue, $async$completer);
  83407. }
  83408. });
  83409. return A._asyncStartSync($async$visitMapExpression$1, $async$completer);
  83410. },
  83411. visitFunctionExpression$1(node) {
  83412. return this.visitFunctionExpression$body$_EvaluateVisitor0(node);
  83413. },
  83414. visitFunctionExpression$body$_EvaluateVisitor0(node) {
  83415. var $async$goto = 0,
  83416. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  83417. $async$returnValue, $async$self = this, t2, _0_0, t3, t4, oldInFunction, result, t1, $function;
  83418. var $async$visitFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83419. if ($async$errorCode === 1)
  83420. return A._asyncRethrow($async$result, $async$completer);
  83421. while (true)
  83422. switch ($async$goto) {
  83423. case 0:
  83424. // Function start
  83425. t1 = {};
  83426. $function = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss ? null : $async$self._async_evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure8($async$self, node));
  83427. t1.$function = $function;
  83428. $async$goto = $function == null ? 3 : 4;
  83429. break;
  83430. case 3:
  83431. // then
  83432. if (node.namespace != null)
  83433. throw A.wrapException($async$self._async_evaluate0$_exception$2("Undefined function.", node.span));
  83434. t2 = node.originalName;
  83435. _0_0 = A.stringReplaceAllUnchecked(t2, "_", "-").toLowerCase();
  83436. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  83437. t3 = node.$arguments;
  83438. t4 = t3.named;
  83439. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure9());
  83440. } else
  83441. t3 = false;
  83442. $async$goto = t3 ? 5 : 6;
  83443. break;
  83444. case 5:
  83445. // then
  83446. $async$goto = 7;
  83447. return A._asyncAwait($async$self._async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, true), $async$visitFunctionExpression$1);
  83448. case 7:
  83449. // returning from await.
  83450. $async$returnValue = $async$result;
  83451. // goto return
  83452. $async$goto = 1;
  83453. break;
  83454. case 6:
  83455. // join
  83456. $async$goto = "calc" === _0_0 || "clamp" === _0_0 || "hypot" === _0_0 || "sin" === _0_0 || "cos" === _0_0 || "tan" === _0_0 || "asin" === _0_0 || "acos" === _0_0 || "atan" === _0_0 || "sqrt" === _0_0 || "exp" === _0_0 || "sign" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "atan2" === _0_0 || "pow" === _0_0 || "log" === _0_0 ? 8 : 9;
  83457. break;
  83458. case 8:
  83459. // then
  83460. $async$goto = 10;
  83461. return A._asyncAwait($async$self._async_evaluate0$_visitCalculation$1(node), $async$visitFunctionExpression$1);
  83462. case 10:
  83463. // returning from await.
  83464. $async$returnValue = $async$result;
  83465. // goto return
  83466. $async$goto = 1;
  83467. break;
  83468. case 9:
  83469. // join
  83470. if ($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__stylesheet, "_stylesheet").plainCss)
  83471. $function = null;
  83472. else {
  83473. t3 = $async$self._async_evaluate0$_builtInFunctions.$index(0, A.stringReplaceAllUnchecked(t2, "_", "-"));
  83474. $function = t3;
  83475. }
  83476. t1.$function = $function == null ? new A.PlainCssCallable0(t2) : $function;
  83477. case 4:
  83478. // join
  83479. oldInFunction = $async$self._async_evaluate0$_inFunction;
  83480. $async$self._async_evaluate0$_inFunction = true;
  83481. $async$goto = 11;
  83482. return A._asyncAwait($async$self._async_evaluate0$_addErrorSpan$1$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure10(t1, $async$self, node), type$.Value_2), $async$visitFunctionExpression$1);
  83483. case 11:
  83484. // returning from await.
  83485. result = $async$result;
  83486. $async$self._async_evaluate0$_inFunction = oldInFunction;
  83487. $async$returnValue = result;
  83488. // goto return
  83489. $async$goto = 1;
  83490. break;
  83491. case 1:
  83492. // return
  83493. return A._asyncReturn($async$returnValue, $async$completer);
  83494. }
  83495. });
  83496. return A._asyncStartSync($async$visitFunctionExpression$1, $async$completer);
  83497. },
  83498. _async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  83499. return this._visitCalculation$body$_EvaluateVisitor0(node, inLegacySassFunction);
  83500. },
  83501. _async_evaluate0$_visitCalculation$1(node) {
  83502. return this._async_evaluate0$_visitCalculation$2$inLegacySassFunction(node, false);
  83503. },
  83504. _visitCalculation$body$_EvaluateVisitor0(node, inLegacySassFunction) {
  83505. var $async$goto = 0,
  83506. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  83507. $async$returnValue, $async$next = [], $async$self = this, $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, t2, t3, $async$temp1;
  83508. var $async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83509. if ($async$errorCode === 1)
  83510. return A._asyncRethrow($async$result, $async$completer);
  83511. while (true)
  83512. switch ($async$goto) {
  83513. case 0:
  83514. // Function start
  83515. t2 = node.$arguments;
  83516. t3 = t2.named;
  83517. if (t3.get$isNotEmpty(t3))
  83518. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Keywor, node.span));
  83519. else if (t2.rest != null)
  83520. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Rest_a, node.span));
  83521. $async$self._async_evaluate0$_checkCalculationArguments$1(node);
  83522. t3 = A._setArrayType([], type$.JSArray_Object);
  83523. t2 = t2.positional, t4 = t2.length, _i = 0;
  83524. case 3:
  83525. // for condition
  83526. if (!(_i < t4)) {
  83527. // goto after for
  83528. $async$goto = 5;
  83529. break;
  83530. }
  83531. $async$temp1 = t3;
  83532. $async$goto = 6;
  83533. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction);
  83534. case 6:
  83535. // returning from await.
  83536. $async$temp1.push($async$result);
  83537. case 4:
  83538. // for update
  83539. ++_i;
  83540. // goto for condition
  83541. $async$goto = 3;
  83542. break;
  83543. case 5:
  83544. // after for
  83545. $arguments = t3;
  83546. if ($async$self._async_evaluate0$_inSupportsDeclaration) {
  83547. $async$returnValue = new A.SassCalculation0(A.stringReplaceAllUnchecked(node.originalName, "_", "-"), A.List_List$unmodifiable($arguments, type$.Object));
  83548. // goto return
  83549. $async$goto = 1;
  83550. break;
  83551. }
  83552. oldCallableNode = $async$self._async_evaluate0$_callableNode;
  83553. $async$self._async_evaluate0$_callableNode = node;
  83554. try {
  83555. t1 = null;
  83556. _0_0 = A.stringReplaceAllUnchecked(node.originalName, "_", "-").toLowerCase();
  83557. $label0$0: {
  83558. if ("calc" === _0_0) {
  83559. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  83560. break $label0$0;
  83561. }
  83562. if ("sqrt" === _0_0) {
  83563. t1 = A.SassCalculation__singleArgument0("sqrt", J.$index$asx($arguments, 0), A.number2__sqrt$closure(), true);
  83564. break $label0$0;
  83565. }
  83566. if ("sin" === _0_0) {
  83567. t1 = A.SassCalculation__singleArgument0("sin", J.$index$asx($arguments, 0), A.number2__sin$closure(), false);
  83568. break $label0$0;
  83569. }
  83570. if ("cos" === _0_0) {
  83571. t1 = A.SassCalculation__singleArgument0("cos", J.$index$asx($arguments, 0), A.number2__cos$closure(), false);
  83572. break $label0$0;
  83573. }
  83574. if ("tan" === _0_0) {
  83575. t1 = A.SassCalculation__singleArgument0("tan", J.$index$asx($arguments, 0), A.number2__tan$closure(), false);
  83576. break $label0$0;
  83577. }
  83578. if ("asin" === _0_0) {
  83579. t1 = A.SassCalculation__singleArgument0("asin", J.$index$asx($arguments, 0), A.number2__asin$closure(), true);
  83580. break $label0$0;
  83581. }
  83582. if ("acos" === _0_0) {
  83583. t1 = A.SassCalculation__singleArgument0("acos", J.$index$asx($arguments, 0), A.number2__acos$closure(), true);
  83584. break $label0$0;
  83585. }
  83586. if ("atan" === _0_0) {
  83587. t1 = A.SassCalculation__singleArgument0("atan", J.$index$asx($arguments, 0), A.number2__atan$closure(), true);
  83588. break $label0$0;
  83589. }
  83590. if ("abs" === _0_0) {
  83591. t1 = A.SassCalculation_abs0(J.$index$asx($arguments, 0));
  83592. break $label0$0;
  83593. }
  83594. if ("exp" === _0_0) {
  83595. t1 = A.SassCalculation_exp0(J.$index$asx($arguments, 0));
  83596. break $label0$0;
  83597. }
  83598. if ("sign" === _0_0) {
  83599. t1 = A.SassCalculation_sign0(J.$index$asx($arguments, 0));
  83600. break $label0$0;
  83601. }
  83602. if ("min" === _0_0) {
  83603. t1 = A.SassCalculation_min0($arguments);
  83604. break $label0$0;
  83605. }
  83606. if ("max" === _0_0) {
  83607. t1 = A.SassCalculation_max0($arguments);
  83608. break $label0$0;
  83609. }
  83610. if ("hypot" === _0_0) {
  83611. t1 = A.SassCalculation_hypot0($arguments);
  83612. break $label0$0;
  83613. }
  83614. if ("pow" === _0_0) {
  83615. t1 = A.SassCalculation_pow0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  83616. break $label0$0;
  83617. }
  83618. if ("atan2" === _0_0) {
  83619. t1 = A.SassCalculation_atan20(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  83620. break $label0$0;
  83621. }
  83622. if ("log" === _0_0) {
  83623. t1 = A.SassCalculation_log0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  83624. break $label0$0;
  83625. }
  83626. if ("mod" === _0_0) {
  83627. t1 = A.SassCalculation_mod0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  83628. break $label0$0;
  83629. }
  83630. if ("rem" === _0_0) {
  83631. t1 = A.SassCalculation_rem0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  83632. break $label0$0;
  83633. }
  83634. if ("round" === _0_0) {
  83635. t1 = A.SassCalculation_round0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  83636. break $label0$0;
  83637. }
  83638. if ("clamp" === _0_0) {
  83639. t1 = A.SassCalculation_clamp0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  83640. break $label0$0;
  83641. }
  83642. t3 = A.UnsupportedError$('Unknown calculation name "' + node.get$name(node) + '".');
  83643. t1 = A.throwExpression(t3);
  83644. }
  83645. t1 = t1;
  83646. $async$returnValue = t1;
  83647. // goto return
  83648. $async$goto = 1;
  83649. break;
  83650. } catch (exception) {
  83651. t1 = A.unwrapException(exception);
  83652. if (t1 instanceof A.SassScriptException0) {
  83653. error = t1;
  83654. stackTrace = A.getTraceFromException(exception);
  83655. if (B.JSString_methods.contains$1(error.message, "compatible"))
  83656. $async$self._async_evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  83657. A.throwWithTrace0($async$self._async_evaluate0$_exception$2(error.message, node.span), error, stackTrace);
  83658. } else
  83659. throw exception;
  83660. } finally {
  83661. $async$self._async_evaluate0$_callableNode = oldCallableNode;
  83662. }
  83663. case 1:
  83664. // return
  83665. return A._asyncReturn($async$returnValue, $async$completer);
  83666. }
  83667. });
  83668. return A._asyncStartSync($async$_async_evaluate0$_visitCalculation$2$inLegacySassFunction, $async$completer);
  83669. },
  83670. _async_evaluate0$_checkCalculationArguments$1(node) {
  83671. var _0_0,
  83672. check = new A._EvaluateVisitor__checkCalculationArguments_check2(this, node);
  83673. $label0$0: {
  83674. _0_0 = A.stringReplaceAllUnchecked(node.originalName, "_", "-").toLowerCase();
  83675. if ("calc" === _0_0 || "sqrt" === _0_0 || "sin" === _0_0 || "cos" === _0_0 || "tan" === _0_0 || "asin" === _0_0 || "acos" === _0_0 || "atan" === _0_0 || "abs" === _0_0 || "exp" === _0_0 || "sign" === _0_0) {
  83676. check.call$1(1);
  83677. break $label0$0;
  83678. }
  83679. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  83680. check.call$0();
  83681. break $label0$0;
  83682. }
  83683. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0) {
  83684. check.call$1(2);
  83685. break $label0$0;
  83686. }
  83687. if ("round" === _0_0 || "clamp" === _0_0) {
  83688. check.call$1(3);
  83689. break $label0$0;
  83690. }
  83691. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + node.get$name(node) + '".'));
  83692. }
  83693. },
  83694. _async_evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  83695. var i, t1, _0_0, arg, number1, j, number2;
  83696. for (i = 0; t1 = args.length, i < t1; ++i) {
  83697. _0_0 = args[i];
  83698. if (_0_0 instanceof A.SassNumber0) {
  83699. t1 = _0_0.get$hasComplexUnits();
  83700. arg = _0_0;
  83701. } else {
  83702. arg = null;
  83703. t1 = false;
  83704. }
  83705. if (t1)
  83706. throw A.wrapException(this._async_evaluate0$_exception$2("Number " + A.S(arg) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  83707. }
  83708. for (i = 0; i < t1 - 1; ++i) {
  83709. number1 = args[i];
  83710. if (!(number1 instanceof A.SassNumber0))
  83711. continue;
  83712. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  83713. number2 = args[j];
  83714. if (!(number2 instanceof A.SassNumber0))
  83715. continue;
  83716. if (number1.hasPossiblyCompatibleUnits$1(number2))
  83717. continue;
  83718. 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])), null));
  83719. }
  83720. }
  83721. },
  83722. _async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  83723. return this._visitCalculationExpression$body$_EvaluateVisitor0(node, inLegacySassFunction);
  83724. },
  83725. _visitCalculationExpression$body$_EvaluateVisitor0(node, inLegacySassFunction) {
  83726. var $async$goto = 0,
  83727. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  83728. $async$returnValue, $async$self = this, inner, t1, result, t2, _0_0, _1_0, t3, _i, i, _box_0, $async$temp1;
  83729. var $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  83730. if ($async$errorCode === 1)
  83731. return A._asyncRethrow($async$result, $async$completer);
  83732. while (true)
  83733. switch ($async$goto) {
  83734. case 0:
  83735. // Function start
  83736. _box_0 = {};
  83737. if (node instanceof A.ParenthesizedExpression0) {
  83738. inner = node.expression;
  83739. t1 = true;
  83740. } else {
  83741. inner = null;
  83742. t1 = false;
  83743. }
  83744. $async$goto = t1 ? 3 : 4;
  83745. break;
  83746. case 3:
  83747. // then
  83748. $async$goto = 5;
  83749. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  83750. case 5:
  83751. // returning from await.
  83752. result = $async$result;
  83753. $async$returnValue = result instanceof A.SassString0 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  83754. // goto return
  83755. $async$goto = 1;
  83756. break;
  83757. case 4:
  83758. // join
  83759. $async$goto = node instanceof A.StringExpression0 && node.accept$1(new A._IsCalculationSafeVisitor0()) ? 6 : 7;
  83760. break;
  83761. case 6:
  83762. // then
  83763. t1 = node.text;
  83764. t2 = t1.get$asPlain();
  83765. _0_0 = t2 == null ? null : t2.toLowerCase();
  83766. if ("pi" === _0_0) {
  83767. t1 = A.SassNumber_SassNumber0(3.141592653589793, null);
  83768. // goto break $label0$0
  83769. $async$goto = 8;
  83770. break;
  83771. }
  83772. if ("e" === _0_0) {
  83773. t1 = A.SassNumber_SassNumber0(2.718281828459045, null);
  83774. // goto break $label0$0
  83775. $async$goto = 8;
  83776. break;
  83777. }
  83778. if ("infinity" === _0_0) {
  83779. t1 = A.SassNumber_SassNumber0(1 / 0, null);
  83780. // goto break $label0$0
  83781. $async$goto = 8;
  83782. break;
  83783. }
  83784. if ("-infinity" === _0_0) {
  83785. t1 = A.SassNumber_SassNumber0(-1 / 0, null);
  83786. // goto break $label0$0
  83787. $async$goto = 8;
  83788. break;
  83789. }
  83790. if ("nan" === _0_0) {
  83791. t1 = A.SassNumber_SassNumber0(0 / 0, null);
  83792. // goto break $label0$0
  83793. $async$goto = 8;
  83794. break;
  83795. }
  83796. $async$temp1 = A;
  83797. $async$goto = 9;
  83798. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(t1), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  83799. case 9:
  83800. // returning from await.
  83801. t1 = new $async$temp1.SassString0($async$result, false);
  83802. // goto break $label0$0
  83803. $async$goto = 8;
  83804. break;
  83805. case 8:
  83806. // break $label0$0
  83807. $async$returnValue = t1;
  83808. // goto return
  83809. $async$goto = 1;
  83810. break;
  83811. case 7:
  83812. // join
  83813. _box_0.right = _box_0.left = _box_0.operator = null;
  83814. if (node instanceof A.BinaryOperationExpression0) {
  83815. _box_0.operator = node.operator;
  83816. _box_0.left = node.left;
  83817. _box_0.right = node.right;
  83818. t1 = true;
  83819. } else
  83820. t1 = false;
  83821. $async$goto = t1 ? 10 : 11;
  83822. break;
  83823. case 10:
  83824. // then
  83825. $async$self._async_evaluate0$_checkWhitespaceAroundCalculationOperator$1(node);
  83826. $async$goto = 12;
  83827. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(node, new A._EvaluateVisitor__visitCalculationExpression_closure2(_box_0, $async$self, node, inLegacySassFunction), type$.Object), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  83828. case 12:
  83829. // returning from await.
  83830. $async$returnValue = $async$result;
  83831. // goto return
  83832. $async$goto = 1;
  83833. break;
  83834. case 11:
  83835. // join
  83836. $async$goto = node instanceof A.NumberExpression0 || node instanceof A.VariableExpression0 || node instanceof A.FunctionExpression0 || node instanceof A.IfExpression0 ? 13 : 14;
  83837. break;
  83838. case 13:
  83839. // then
  83840. $async$goto = 15;
  83841. return A._asyncAwait(node.accept$1($async$self), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  83842. case 15:
  83843. // returning from await.
  83844. _1_0 = $async$result;
  83845. $label1$1: {
  83846. if (_1_0 instanceof A.SassNumber0) {
  83847. result = _1_0;
  83848. t1 = true;
  83849. } else {
  83850. result = null;
  83851. t1 = false;
  83852. }
  83853. if (t1) {
  83854. t1 = result;
  83855. break $label1$1;
  83856. }
  83857. if (_1_0 instanceof A.SassCalculation0) {
  83858. result = _1_0;
  83859. t1 = true;
  83860. } else {
  83861. result = null;
  83862. t1 = false;
  83863. }
  83864. if (t1) {
  83865. t1 = result;
  83866. break $label1$1;
  83867. }
  83868. if (_1_0 instanceof A.SassString0) {
  83869. t1 = !_1_0._string0$_hasQuotes;
  83870. result = _1_0;
  83871. } else {
  83872. result = null;
  83873. t1 = false;
  83874. }
  83875. if (t1) {
  83876. t1 = result;
  83877. break $label1$1;
  83878. }
  83879. t1 = A.throwExpression($async$self._async_evaluate0$_exception$2("Value " + _1_0.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  83880. }
  83881. $async$returnValue = t1;
  83882. // goto return
  83883. $async$goto = 1;
  83884. break;
  83885. case 14:
  83886. // join
  83887. $async$goto = node instanceof A.ListExpression0 && !node.hasBrackets && B.ListSeparator_EVt0 === node.separator && node.contents.length >= 2 ? 16 : 17;
  83888. break;
  83889. case 16:
  83890. // then
  83891. t1 = A._setArrayType([], type$.JSArray_Object);
  83892. t2 = node.contents, t3 = t2.length, _i = 0;
  83893. case 18:
  83894. // for condition
  83895. if (!(_i < t3)) {
  83896. // goto after for
  83897. $async$goto = 20;
  83898. break;
  83899. }
  83900. $async$temp1 = t1;
  83901. $async$goto = 21;
  83902. return A._asyncAwait($async$self._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction), $async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction);
  83903. case 21:
  83904. // returning from await.
  83905. $async$temp1.push($async$result);
  83906. case 19:
  83907. // for update
  83908. ++_i;
  83909. // goto for condition
  83910. $async$goto = 18;
  83911. break;
  83912. case 20:
  83913. // after for
  83914. $async$self._async_evaluate0$_checkAdjacentCalculationValues$2(t1, node);
  83915. for (i = 0; i < t1.length; ++i) {
  83916. t3 = t1[i];
  83917. if (t3 instanceof A.CalculationOperation0 && t2[i] instanceof A.ParenthesizedExpression0)
  83918. t1[i] = new A.SassString0("(" + A.S(t3) + ")", false);
  83919. }
  83920. $async$returnValue = new A.SassString0(B.JSArray_methods.join$1(t1, " "), false);
  83921. // goto return
  83922. $async$goto = 1;
  83923. break;
  83924. case 17:
  83925. // join
  83926. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.This_e, node.get$span(node)));
  83927. case 1:
  83928. // return
  83929. return A._asyncReturn($async$returnValue, $async$completer);
  83930. }
  83931. });
  83932. return A._asyncStartSync($async$_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction, $async$completer);
  83933. },
  83934. _async_evaluate0$_checkWhitespaceAroundCalculationOperator$1(node) {
  83935. var t2, t3, t4, textBetweenOperands, first, last,
  83936. t1 = node.operator;
  83937. if (t1 !== B.BinaryOperator_anB0 && t1 !== B.BinaryOperator_olz0)
  83938. return;
  83939. t1 = node.left;
  83940. t2 = t1.get$span(t1);
  83941. t2 = t2.get$file(t2);
  83942. t3 = node.right;
  83943. t4 = t3.get$span(t3);
  83944. if (t2 !== t4.get$file(t4))
  83945. return;
  83946. t2 = t1.get$span(t1);
  83947. t2 = t2.get$end(t2);
  83948. t4 = t3.get$span(t3);
  83949. if (t2.offset >= t4.get$start(t4).offset)
  83950. return;
  83951. t2 = t1.get$span(t1);
  83952. t2 = t2.get$file(t2);
  83953. t1 = t1.get$span(t1);
  83954. t1 = t1.get$end(t1);
  83955. t3 = t3.get$span(t3);
  83956. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  83957. first = textBetweenOperands.charCodeAt(0);
  83958. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  83959. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  83960. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  83961. else
  83962. t1 = true;
  83963. if (t1)
  83964. throw A.wrapException(this._async_evaluate0$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  83965. },
  83966. _async_evaluate0$_binaryOperatorToCalculationOperator$2(operator, node) {
  83967. var t1;
  83968. $label0$0: {
  83969. if (B.BinaryOperator_anB0 === operator) {
  83970. t1 = B.CalculationOperator_IyK0;
  83971. break $label0$0;
  83972. }
  83973. if (B.BinaryOperator_olz0 === operator) {
  83974. t1 = B.CalculationOperator_2bx0;
  83975. break $label0$0;
  83976. }
  83977. if (B.BinaryOperator_qN20 === operator) {
  83978. t1 = B.CalculationOperator_jFr0;
  83979. break $label0$0;
  83980. }
  83981. if (B.BinaryOperator_t8B0 === operator) {
  83982. t1 = B.CalculationOperator_OvN0;
  83983. break $label0$0;
  83984. }
  83985. t1 = A.throwExpression(this._async_evaluate0$_exception$2(string$.This_o, node.get$operatorSpan()));
  83986. }
  83987. return t1;
  83988. },
  83989. _async_evaluate0$_checkAdjacentCalculationValues$2(elements, node) {
  83990. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  83991. for (t1 = elements.length, i = 1; i < t1; ++i) {
  83992. t2 = i - 1;
  83993. previous = elements[t2];
  83994. current = elements[i];
  83995. if (previous instanceof A.SassString0 || current instanceof A.SassString0)
  83996. continue;
  83997. t1 = node.contents;
  83998. previousNode = t1[t2];
  83999. currentNode = t1[i];
  84000. _0_2 = A._InitializedCell$(new A._EvaluateVisitor__checkAdjacentCalculationValues_closure2(currentNode));
  84001. if (currentNode instanceof A.UnaryOperationExpression0)
  84002. t1 = B.UnaryOperator_TLI0 === _0_2._readFinal$0() || B.UnaryOperator_gg40 === _0_2._readFinal$0();
  84003. else
  84004. t1 = false;
  84005. if (!t1)
  84006. t1 = currentNode instanceof A.NumberExpression0 && currentNode.value < 0;
  84007. else
  84008. t1 = true;
  84009. if (t1)
  84010. throw A.wrapException(this._async_evaluate0$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  84011. else
  84012. throw A.wrapException(this._async_evaluate0$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  84013. }
  84014. },
  84015. visitInterpolatedFunctionExpression$1(node) {
  84016. return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(node);
  84017. },
  84018. visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(node) {
  84019. var $async$goto = 0,
  84020. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  84021. $async$returnValue, $async$self = this, result, t1, oldInFunction;
  84022. var $async$visitInterpolatedFunctionExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84023. if ($async$errorCode === 1)
  84024. return A._asyncRethrow($async$result, $async$completer);
  84025. while (true)
  84026. switch ($async$goto) {
  84027. case 0:
  84028. // Function start
  84029. $async$goto = 3;
  84030. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$1(node.name), $async$visitInterpolatedFunctionExpression$1);
  84031. case 3:
  84032. // returning from await.
  84033. t1 = $async$result;
  84034. oldInFunction = $async$self._async_evaluate0$_inFunction;
  84035. $async$self._async_evaluate0$_inFunction = true;
  84036. $async$goto = 4;
  84037. 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);
  84038. case 4:
  84039. // returning from await.
  84040. result = $async$result;
  84041. $async$self._async_evaluate0$_inFunction = oldInFunction;
  84042. $async$returnValue = result;
  84043. // goto return
  84044. $async$goto = 1;
  84045. break;
  84046. case 1:
  84047. // return
  84048. return A._asyncReturn($async$returnValue, $async$completer);
  84049. }
  84050. });
  84051. return A._asyncStartSync($async$visitInterpolatedFunctionExpression$1, $async$completer);
  84052. },
  84053. _async_evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  84054. return this._runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $V);
  84055. },
  84056. _runUserDefinedCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan, run, $V, $async$type) {
  84057. var $async$goto = 0,
  84058. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  84059. $async$returnValue, $async$self = this, oldCallable, result, evaluated, $name;
  84060. var $async$_async_evaluate0$_runUserDefinedCallable$1$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84061. if ($async$errorCode === 1)
  84062. return A._asyncRethrow($async$result, $async$completer);
  84063. while (true)
  84064. switch ($async$goto) {
  84065. case 0:
  84066. // Function start
  84067. $async$goto = 3;
  84068. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runUserDefinedCallable$1$4);
  84069. case 3:
  84070. // returning from await.
  84071. evaluated = $async$result;
  84072. $name = callable.declaration.name;
  84073. if ($name !== "@content")
  84074. $name += "()";
  84075. oldCallable = $async$self._async_evaluate0$_currentCallable;
  84076. $async$self._async_evaluate0$_currentCallable = callable;
  84077. $async$goto = 4;
  84078. 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);
  84079. case 4:
  84080. // returning from await.
  84081. result = $async$result;
  84082. $async$self._async_evaluate0$_currentCallable = oldCallable;
  84083. $async$returnValue = result;
  84084. // goto return
  84085. $async$goto = 1;
  84086. break;
  84087. case 1:
  84088. // return
  84089. return A._asyncReturn($async$returnValue, $async$completer);
  84090. }
  84091. });
  84092. return A._asyncStartSync($async$_async_evaluate0$_runUserDefinedCallable$1$4, $async$completer);
  84093. },
  84094. _async_evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  84095. return this._runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  84096. },
  84097. _runFunctionCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  84098. var $async$goto = 0,
  84099. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  84100. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, buffer, first, argument, restArg, rest, error, t1, t2, _i, exception, $async$exception, $async$temp1, $async$temp2;
  84101. var $async$_async_evaluate0$_runFunctionCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84102. if ($async$errorCode === 1) {
  84103. $async$currentError = $async$result;
  84104. $async$goto = $async$handler;
  84105. }
  84106. while (true)
  84107. switch ($async$goto) {
  84108. case 0:
  84109. // Function start
  84110. $async$goto = type$.AsyncBuiltInCallable_2._is(callable) ? 3 : 5;
  84111. break;
  84112. case 3:
  84113. // then
  84114. $async$goto = 6;
  84115. return A._asyncAwait($async$self._async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), $async$_async_evaluate0$_runFunctionCallable$3);
  84116. case 6:
  84117. // returning from await.
  84118. $async$returnValue = $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeWithSpan);
  84119. // goto return
  84120. $async$goto = 1;
  84121. break;
  84122. // goto join
  84123. $async$goto = 4;
  84124. break;
  84125. case 5:
  84126. // else
  84127. $async$goto = type$.UserDefinedCallable_AsyncEnvironment_2._is(callable) ? 7 : 9;
  84128. break;
  84129. case 7:
  84130. // then
  84131. $async$goto = 10;
  84132. 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);
  84133. case 10:
  84134. // returning from await.
  84135. $async$returnValue = $async$result;
  84136. // goto return
  84137. $async$goto = 1;
  84138. break;
  84139. // goto join
  84140. $async$goto = 8;
  84141. break;
  84142. case 9:
  84143. // else
  84144. $async$goto = callable instanceof A.PlainCssCallable0 ? 11 : 13;
  84145. break;
  84146. case 11:
  84147. // then
  84148. t1 = $arguments.named;
  84149. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  84150. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  84151. buffer = new A.StringBuffer(callable.name + "(");
  84152. $async$handler = 15;
  84153. first = true;
  84154. t1 = $arguments.positional, t2 = t1.length, _i = 0;
  84155. case 18:
  84156. // for condition
  84157. if (!(_i < t2)) {
  84158. // goto after for
  84159. $async$goto = 20;
  84160. break;
  84161. }
  84162. argument = t1[_i];
  84163. if (first)
  84164. first = false;
  84165. else
  84166. buffer._contents += ", ";
  84167. $async$temp1 = buffer;
  84168. $async$temp2 = A;
  84169. $async$goto = 21;
  84170. return A._asyncAwait($async$self._async_evaluate0$_evaluateToCss$1(argument), $async$_async_evaluate0$_runFunctionCallable$3);
  84171. case 21:
  84172. // returning from await.
  84173. $async$temp1._contents += $async$temp2.S($async$result);
  84174. case 19:
  84175. // for update
  84176. ++_i;
  84177. // goto for condition
  84178. $async$goto = 18;
  84179. break;
  84180. case 20:
  84181. // after for
  84182. restArg = $arguments.rest;
  84183. $async$goto = restArg != null ? 22 : 23;
  84184. break;
  84185. case 22:
  84186. // then
  84187. $async$goto = 24;
  84188. return A._asyncAwait(restArg.accept$1($async$self), $async$_async_evaluate0$_runFunctionCallable$3);
  84189. case 24:
  84190. // returning from await.
  84191. rest = $async$result;
  84192. if (!first)
  84193. buffer._contents += ", ";
  84194. buffer._contents += $async$self._async_evaluate0$_serialize$2(rest, restArg);
  84195. case 23:
  84196. // join
  84197. $async$handler = 2;
  84198. // goto after finally
  84199. $async$goto = 17;
  84200. break;
  84201. case 15:
  84202. // catch
  84203. $async$handler = 14;
  84204. $async$exception = $async$currentError;
  84205. t1 = A.unwrapException($async$exception);
  84206. if (type$.SassRuntimeException_2._is(t1)) {
  84207. error = t1;
  84208. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  84209. throw $async$exception;
  84210. throw A.wrapException(A.MultiSpanSassRuntimeException$0(error._span_exception$_message, J.get$span$z(error), "value", A.LinkedHashMap_LinkedHashMap$_literal([nodeWithSpan.get$span(nodeWithSpan), "unknown function treated as plain CSS"], type$.FileSpan, type$.String), J.get$trace$z(error), null));
  84211. } else
  84212. throw $async$exception;
  84213. // goto after finally
  84214. $async$goto = 17;
  84215. break;
  84216. case 14:
  84217. // uncaught
  84218. // goto rethrow
  84219. $async$goto = 2;
  84220. break;
  84221. case 17:
  84222. // after finally
  84223. buffer._contents += A.Primitives_stringFromCharCode(41);
  84224. t1 = buffer._contents;
  84225. $async$returnValue = new A.SassString0(t1.charCodeAt(0) == 0 ? t1 : t1, false);
  84226. // goto return
  84227. $async$goto = 1;
  84228. break;
  84229. // goto join
  84230. $async$goto = 12;
  84231. break;
  84232. case 13:
  84233. // else
  84234. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  84235. case 12:
  84236. // join
  84237. case 8:
  84238. // join
  84239. case 4:
  84240. // join
  84241. case 1:
  84242. // return
  84243. return A._asyncReturn($async$returnValue, $async$completer);
  84244. case 2:
  84245. // rethrow
  84246. return A._asyncRethrow($async$currentError, $async$completer);
  84247. }
  84248. });
  84249. return A._asyncStartSync($async$_async_evaluate0$_runFunctionCallable$3, $async$completer);
  84250. },
  84251. _async_evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  84252. return this._runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan);
  84253. },
  84254. _runBuiltInCallable$body$_EvaluateVisitor0($arguments, callable, nodeWithSpan) {
  84255. var $async$goto = 0,
  84256. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  84257. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, result, error, stackTrace, message, namedSet, _0_0, declaredArguments, i, t1, t2, t3, argument, t4, t5, t6, t7, rest, argumentList, exception, message0, _box_0, evaluated, oldCallableNode, $async$exception;
  84258. var $async$_async_evaluate0$_runBuiltInCallable$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84259. if ($async$errorCode === 1) {
  84260. $async$currentError = $async$result;
  84261. $async$goto = $async$handler;
  84262. }
  84263. while (true)
  84264. switch ($async$goto) {
  84265. case 0:
  84266. // Function start
  84267. _box_0 = {};
  84268. $async$goto = 3;
  84269. return A._asyncAwait($async$self._async_evaluate0$_evaluateArguments$1($arguments), $async$_async_evaluate0$_runBuiltInCallable$3);
  84270. case 3:
  84271. // returning from await.
  84272. evaluated = $async$result;
  84273. oldCallableNode = $async$self._async_evaluate0$_callableNode;
  84274. $async$self._async_evaluate0$_callableNode = nodeWithSpan;
  84275. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  84276. _box_0.callback = _box_0.overload = null;
  84277. _0_0 = callable.callbackFor$2(J.get$length$asx(evaluated._values[2]), namedSet);
  84278. _box_0.overload = _0_0._0;
  84279. _box_0.callback = _0_0._1;
  84280. $async$self._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure8(_box_0, evaluated, namedSet));
  84281. declaredArguments = _box_0.overload.$arguments;
  84282. i = J.get$length$asx(evaluated._values[2]), t1 = declaredArguments.length, t2 = type$._Future_Value_2, t3 = type$.Future_Value_2;
  84283. case 4:
  84284. // for condition
  84285. if (!(i < t1)) {
  84286. // goto after for
  84287. $async$goto = 6;
  84288. break;
  84289. }
  84290. argument = declaredArguments[i];
  84291. t4 = evaluated._values[2];
  84292. t5 = evaluated._values[0].remove$1(0, argument.name);
  84293. $async$goto = t5 == null ? 7 : 8;
  84294. break;
  84295. case 7:
  84296. // then
  84297. t5 = argument.defaultValue;
  84298. t6 = t5.accept$1($async$self);
  84299. if (!t3._is(t6)) {
  84300. t7 = new A._Future($.Zone__current, t2);
  84301. t7._state = 8;
  84302. t7._resultOrListeners = t6;
  84303. t6 = t7;
  84304. }
  84305. $async$goto = 9;
  84306. return A._asyncAwait(t6, $async$_async_evaluate0$_runBuiltInCallable$3);
  84307. case 9:
  84308. // returning from await.
  84309. t5 = $async$self._async_evaluate0$_withoutSlash$2($async$result, t5);
  84310. case 8:
  84311. // join
  84312. J.add$1$ax(t4, t5);
  84313. case 5:
  84314. // for update
  84315. ++i;
  84316. // goto for condition
  84317. $async$goto = 4;
  84318. break;
  84319. case 6:
  84320. // after for
  84321. if (_box_0.overload.restArgument != null) {
  84322. if (J.get$length$asx(evaluated._values[2]) > t1) {
  84323. rest = J.sublist$1$ax(evaluated._values[2], t1);
  84324. J.removeRange$2$ax(evaluated._values[2], t1, J.get$length$asx(evaluated._values[2]));
  84325. } else
  84326. rest = B.List_empty19;
  84327. t1 = evaluated._values[0];
  84328. argumentList = A.SassArgumentList$0(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_rXA0 : evaluated._values[4]);
  84329. J.add$1$ax(evaluated._values[2], argumentList);
  84330. } else
  84331. argumentList = null;
  84332. result = null;
  84333. $async$handler = 11;
  84334. $async$goto = 14;
  84335. return A._asyncAwait($async$self._async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure9(_box_0, evaluated), type$.Value_2), $async$_async_evaluate0$_runBuiltInCallable$3);
  84336. case 14:
  84337. // returning from await.
  84338. result = $async$result;
  84339. $async$handler = 2;
  84340. // goto after finally
  84341. $async$goto = 13;
  84342. break;
  84343. case 11:
  84344. // catch
  84345. $async$handler = 10;
  84346. $async$exception = $async$currentError;
  84347. t1 = A.unwrapException($async$exception);
  84348. if (t1 instanceof A.SassException0)
  84349. throw $async$exception;
  84350. else {
  84351. error = t1;
  84352. stackTrace = A.getTraceFromException($async$exception);
  84353. message = null;
  84354. try {
  84355. message = A._asString(J.get$message$x(error));
  84356. } catch (exception) {
  84357. message0 = J.toString$0$(error);
  84358. message = message0;
  84359. }
  84360. A.throwWithTrace0($async$self._async_evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  84361. }
  84362. // goto after finally
  84363. $async$goto = 13;
  84364. break;
  84365. case 10:
  84366. // uncaught
  84367. // goto rethrow
  84368. $async$goto = 2;
  84369. break;
  84370. case 13:
  84371. // after finally
  84372. $async$self._async_evaluate0$_callableNode = oldCallableNode;
  84373. if (argumentList == null) {
  84374. $async$returnValue = result;
  84375. // goto return
  84376. $async$goto = 1;
  84377. break;
  84378. }
  84379. t1 = evaluated._values[0];
  84380. if (t1.get$isEmpty(t1)) {
  84381. $async$returnValue = result;
  84382. // goto return
  84383. $async$goto = 1;
  84384. break;
  84385. }
  84386. if (argumentList._argument_list$_wereKeywordsAccessed) {
  84387. $async$returnValue = result;
  84388. // goto return
  84389. $async$goto = 1;
  84390. break;
  84391. }
  84392. t1 = evaluated._values[0];
  84393. t1 = A.pluralize0("argument", J.get$length$asx(t1.get$keys(t1)), null);
  84394. t2 = evaluated._values[0];
  84395. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + t1 + " named " + A.toSentence0(J.map$1$1$ax(t2.get$keys(t2), new A._EvaluateVisitor__runBuiltInCallable_closure10(), type$.Object), "or") + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([_box_0.overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), $async$self._async_evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), null));
  84396. case 1:
  84397. // return
  84398. return A._asyncReturn($async$returnValue, $async$completer);
  84399. case 2:
  84400. // rethrow
  84401. return A._asyncRethrow($async$currentError, $async$completer);
  84402. }
  84403. });
  84404. return A._asyncStartSync($async$_async_evaluate0$_runBuiltInCallable$3, $async$completer);
  84405. },
  84406. _async_evaluate0$_evaluateArguments$1($arguments) {
  84407. return this._evaluateArguments$body$_EvaluateVisitor0($arguments);
  84408. },
  84409. _evaluateArguments$body$_EvaluateVisitor0($arguments) {
  84410. var $async$goto = 0,
  84411. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_5_Map_String_Value_named_and_Map_String_AstNode_namedNodes_and_List_Value_positional_and_List_AstNode_positionalNodes_and_ListSeparator_separator_2),
  84412. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, expression, nodeForSpan, t5, t6, named, namedNodes, $name, value, t7, restArgs, rest, restNodeForSpan, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, positional, positionalNodes, $async$temp1, $async$temp2;
  84413. var $async$_async_evaluate0$_evaluateArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84414. if ($async$errorCode === 1)
  84415. return A._asyncRethrow($async$result, $async$completer);
  84416. while (true)
  84417. switch ($async$goto) {
  84418. case 0:
  84419. // Function start
  84420. positional = A._setArrayType([], type$.JSArray_Value_2);
  84421. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  84422. t1 = $arguments.positional, t2 = t1.length, t3 = type$._Future_Value_2, t4 = type$.Future_Value_2, _i = 0;
  84423. case 3:
  84424. // for condition
  84425. if (!(_i < t2)) {
  84426. // goto after for
  84427. $async$goto = 5;
  84428. break;
  84429. }
  84430. expression = t1[_i];
  84431. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(expression);
  84432. t5 = expression.accept$1($async$self);
  84433. if (!t4._is(t5)) {
  84434. t6 = new A._Future($.Zone__current, t3);
  84435. t6._state = 8;
  84436. t6._resultOrListeners = t5;
  84437. t5 = t6;
  84438. }
  84439. $async$temp1 = positional;
  84440. $async$goto = 6;
  84441. return A._asyncAwait(t5, $async$_async_evaluate0$_evaluateArguments$1);
  84442. case 6:
  84443. // returning from await.
  84444. $async$temp1.push($async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  84445. positionalNodes.push(nodeForSpan);
  84446. case 4:
  84447. // for update
  84448. ++_i;
  84449. // goto for condition
  84450. $async$goto = 3;
  84451. break;
  84452. case 5:
  84453. // after for
  84454. t1 = type$.String;
  84455. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  84456. t2 = type$.AstNode_2;
  84457. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  84458. t5 = A.MapExtensions_get_pairs0($arguments.named, t1, type$.Expression_2), t5 = t5.get$iterator(t5);
  84459. case 7:
  84460. // for condition
  84461. if (!t5.moveNext$0()) {
  84462. // goto after for
  84463. $async$goto = 8;
  84464. break;
  84465. }
  84466. t6 = t5.get$current(t5);
  84467. $name = t6._0;
  84468. value = t6._1;
  84469. nodeForSpan = $async$self._async_evaluate0$_expressionNode$1(value);
  84470. t6 = value.accept$1($async$self);
  84471. if (!t4._is(t6)) {
  84472. t7 = new A._Future($.Zone__current, t3);
  84473. t7._state = 8;
  84474. t7._resultOrListeners = t6;
  84475. t6 = t7;
  84476. }
  84477. $async$temp1 = named;
  84478. $async$temp2 = $name;
  84479. $async$goto = 9;
  84480. return A._asyncAwait(t6, $async$_async_evaluate0$_evaluateArguments$1);
  84481. case 9:
  84482. // returning from await.
  84483. $async$temp1.$indexSet(0, $async$temp2, $async$self._async_evaluate0$_withoutSlash$2($async$result, nodeForSpan));
  84484. namedNodes.$indexSet(0, $name, nodeForSpan);
  84485. // goto for condition
  84486. $async$goto = 7;
  84487. break;
  84488. case 8:
  84489. // after for
  84490. restArgs = $arguments.rest;
  84491. if (restArgs == null) {
  84492. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided0]);
  84493. // goto return
  84494. $async$goto = 1;
  84495. break;
  84496. }
  84497. $async$goto = 10;
  84498. return A._asyncAwait(restArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  84499. case 10:
  84500. // returning from await.
  84501. rest = $async$result;
  84502. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs);
  84503. if (rest instanceof A.SassMap0) {
  84504. $async$self._async_evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure11());
  84505. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  84506. for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
  84507. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  84508. namedNodes.addAll$1(0, t3);
  84509. separator = B.ListSeparator_undecided_null_undecided0;
  84510. } else if (rest instanceof A.SassList0) {
  84511. t3 = rest._list1$_contents;
  84512. 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>")));
  84513. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  84514. separator = rest._list1$_separator;
  84515. if (rest instanceof A.SassArgumentList0) {
  84516. rest._argument_list$_wereKeywordsAccessed = true;
  84517. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure13($async$self, named, restNodeForSpan, namedNodes));
  84518. }
  84519. } else {
  84520. positional.push($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  84521. positionalNodes.push(restNodeForSpan);
  84522. separator = B.ListSeparator_undecided_null_undecided0;
  84523. }
  84524. keywordRestArgs = $arguments.keywordRest;
  84525. if (keywordRestArgs == null) {
  84526. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  84527. // goto return
  84528. $async$goto = 1;
  84529. break;
  84530. }
  84531. $async$goto = 11;
  84532. return A._asyncAwait(keywordRestArgs.accept$1($async$self), $async$_async_evaluate0$_evaluateArguments$1);
  84533. case 11:
  84534. // returning from await.
  84535. keywordRest = $async$result;
  84536. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs);
  84537. if (keywordRest instanceof A.SassMap0) {
  84538. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure14());
  84539. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  84540. for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
  84541. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  84542. namedNodes.addAll$1(0, t1);
  84543. $async$returnValue = new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  84544. // goto return
  84545. $async$goto = 1;
  84546. break;
  84547. } else
  84548. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  84549. case 1:
  84550. // return
  84551. return A._asyncReturn($async$returnValue, $async$completer);
  84552. }
  84553. });
  84554. return A._asyncStartSync($async$_async_evaluate0$_evaluateArguments$1, $async$completer);
  84555. },
  84556. _async_evaluate0$_evaluateMacroArguments$1(invocation) {
  84557. return this._evaluateMacroArguments$body$_EvaluateVisitor0(invocation);
  84558. },
  84559. _evaluateMacroArguments$body$_EvaluateVisitor0(invocation) {
  84560. var $async$goto = 0,
  84561. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_List_Expression_and_Map_String_Expression_2),
  84562. $async$returnValue, $async$self = this, t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, t1, restArgs_;
  84563. var $async$_async_evaluate0$_evaluateMacroArguments$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84564. if ($async$errorCode === 1)
  84565. return A._asyncRethrow($async$result, $async$completer);
  84566. while (true)
  84567. switch ($async$goto) {
  84568. case 0:
  84569. // Function start
  84570. t1 = invocation.$arguments;
  84571. restArgs_ = t1.rest;
  84572. if (restArgs_ == null) {
  84573. $async$returnValue = new A._Record_2(t1.positional, t1.named);
  84574. // goto return
  84575. $async$goto = 1;
  84576. break;
  84577. }
  84578. t2 = t1.positional;
  84579. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  84580. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  84581. $async$goto = 3;
  84582. return A._asyncAwait(restArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  84583. case 3:
  84584. // returning from await.
  84585. rest = $async$result;
  84586. restNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(restArgs_);
  84587. if (rest instanceof A.SassMap0)
  84588. $async$self._async_evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure11(restArgs_));
  84589. else if (rest instanceof A.SassList0) {
  84590. t2 = rest._list1$_contents;
  84591. 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>")));
  84592. if (rest instanceof A.SassArgumentList0) {
  84593. rest._argument_list$_wereKeywordsAccessed = true;
  84594. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure13($async$self, named, restNodeForSpan, restArgs_));
  84595. }
  84596. } else
  84597. positional.push(new A.ValueExpression0($async$self._async_evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  84598. keywordRestArgs_ = t1.keywordRest;
  84599. if (keywordRestArgs_ == null) {
  84600. $async$returnValue = new A._Record_2(positional, named);
  84601. // goto return
  84602. $async$goto = 1;
  84603. break;
  84604. }
  84605. $async$goto = 4;
  84606. return A._asyncAwait(keywordRestArgs_.accept$1($async$self), $async$_async_evaluate0$_evaluateMacroArguments$1);
  84607. case 4:
  84608. // returning from await.
  84609. keywordRest = $async$result;
  84610. keywordRestNodeForSpan = $async$self._async_evaluate0$_expressionNode$1(keywordRestArgs_);
  84611. if (keywordRest instanceof A.SassMap0) {
  84612. $async$self._async_evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure14($async$self, keywordRestNodeForSpan, keywordRestArgs_));
  84613. $async$returnValue = new A._Record_2(positional, named);
  84614. // goto return
  84615. $async$goto = 1;
  84616. break;
  84617. } else
  84618. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  84619. case 1:
  84620. // return
  84621. return A._asyncReturn($async$returnValue, $async$completer);
  84622. }
  84623. });
  84624. return A._asyncStartSync($async$_async_evaluate0$_evaluateMacroArguments$1, $async$completer);
  84625. },
  84626. _async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  84627. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure2(this, values, convert, this._async_evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  84628. },
  84629. _async_evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  84630. return this._async_evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  84631. },
  84632. _async_evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  84633. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure2($arguments, positional, named));
  84634. },
  84635. visitSelectorExpression$1(node) {
  84636. return this.visitSelectorExpression$body$_EvaluateVisitor0(node);
  84637. },
  84638. visitSelectorExpression$body$_EvaluateVisitor0(node) {
  84639. var $async$goto = 0,
  84640. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  84641. $async$returnValue, $async$self = this, t1;
  84642. var $async$visitSelectorExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84643. if ($async$errorCode === 1)
  84644. return A._asyncRethrow($async$result, $async$completer);
  84645. while (true)
  84646. switch ($async$goto) {
  84647. case 0:
  84648. // Function start
  84649. t1 = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  84650. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  84651. $async$returnValue = t1 == null ? B.C__SassNull0 : t1;
  84652. // goto return
  84653. $async$goto = 1;
  84654. break;
  84655. case 1:
  84656. // return
  84657. return A._asyncReturn($async$returnValue, $async$completer);
  84658. }
  84659. });
  84660. return A._asyncStartSync($async$visitSelectorExpression$1, $async$completer);
  84661. },
  84662. visitStringExpression$1(node) {
  84663. return this.visitStringExpression$body$_EvaluateVisitor0(node);
  84664. },
  84665. visitStringExpression$body$_EvaluateVisitor0(node) {
  84666. var $async$goto = 0,
  84667. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  84668. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, value, t5, _0_0, text, oldInSupportsDeclaration;
  84669. var $async$visitStringExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84670. if ($async$errorCode === 1)
  84671. return A._asyncRethrow($async$result, $async$completer);
  84672. while (true)
  84673. switch ($async$goto) {
  84674. case 0:
  84675. // Function start
  84676. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  84677. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  84678. t1 = A._setArrayType([], type$.JSArray_String);
  84679. t2 = node.text.contents, t3 = t2.length, t4 = type$.Expression_2, _i = 0;
  84680. case 3:
  84681. // for condition
  84682. if (!(_i < t3)) {
  84683. // goto after for
  84684. $async$goto = 5;
  84685. break;
  84686. }
  84687. value = t2[_i];
  84688. if (typeof value == "string") {
  84689. t5 = value;
  84690. // goto break $label0$0
  84691. $async$goto = 6;
  84692. break;
  84693. }
  84694. $async$goto = t4._is(value) ? 7 : 8;
  84695. break;
  84696. case 7:
  84697. // then
  84698. $async$goto = 9;
  84699. return A._asyncAwait(value.accept$1($async$self), $async$visitStringExpression$1);
  84700. case 9:
  84701. // returning from await.
  84702. _0_0 = $async$result;
  84703. $label1$1: {
  84704. if (_0_0 instanceof A.SassString0) {
  84705. text = _0_0._string0$_text;
  84706. t5 = true;
  84707. } else {
  84708. text = null;
  84709. t5 = false;
  84710. }
  84711. if (t5) {
  84712. t5 = text;
  84713. break $label1$1;
  84714. }
  84715. t5 = $async$self._async_evaluate0$_serialize$3$quote(_0_0, value, false);
  84716. break $label1$1;
  84717. }
  84718. // goto break $label0$0
  84719. $async$goto = 6;
  84720. break;
  84721. case 8:
  84722. // join
  84723. t5 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  84724. case 6:
  84725. // break $label0$0
  84726. t1.push(t5);
  84727. case 4:
  84728. // for update
  84729. ++_i;
  84730. // goto for condition
  84731. $async$goto = 3;
  84732. break;
  84733. case 5:
  84734. // after for
  84735. t1 = B.JSArray_methods.join$0(t1);
  84736. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  84737. $async$returnValue = new A.SassString0(t1, node.hasQuotes);
  84738. // goto return
  84739. $async$goto = 1;
  84740. break;
  84741. case 1:
  84742. // return
  84743. return A._asyncReturn($async$returnValue, $async$completer);
  84744. }
  84745. });
  84746. return A._asyncStartSync($async$visitStringExpression$1, $async$completer);
  84747. },
  84748. visitSupportsExpression$1(expression) {
  84749. return this.visitSupportsExpression$body$_EvaluateVisitor0(expression);
  84750. },
  84751. visitSupportsExpression$body$_EvaluateVisitor0(expression) {
  84752. var $async$goto = 0,
  84753. $async$completer = A._makeAsyncAwaitCompleter(type$.SassString_2),
  84754. $async$returnValue, $async$self = this, $async$temp1;
  84755. var $async$visitSupportsExpression$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84756. if ($async$errorCode === 1)
  84757. return A._asyncRethrow($async$result, $async$completer);
  84758. while (true)
  84759. switch ($async$goto) {
  84760. case 0:
  84761. // Function start
  84762. $async$temp1 = A;
  84763. $async$goto = 3;
  84764. return A._asyncAwait($async$self._async_evaluate0$_visitSupportsCondition$1(expression.condition), $async$visitSupportsExpression$1);
  84765. case 3:
  84766. // returning from await.
  84767. $async$returnValue = new $async$temp1.SassString0($async$result, false);
  84768. // goto return
  84769. $async$goto = 1;
  84770. break;
  84771. case 1:
  84772. // return
  84773. return A._asyncReturn($async$returnValue, $async$completer);
  84774. }
  84775. });
  84776. return A._asyncStartSync($async$visitSupportsExpression$1, $async$completer);
  84777. },
  84778. visitCssAtRule$1(node) {
  84779. return this.visitCssAtRule$body$_EvaluateVisitor0(node);
  84780. },
  84781. visitCssAtRule$body$_EvaluateVisitor0(node) {
  84782. var $async$goto = 0,
  84783. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  84784. $async$returnValue, $async$self = this, wasInKeyframes, wasInUnknownAtRule, t1;
  84785. var $async$visitCssAtRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84786. if ($async$errorCode === 1)
  84787. return A._asyncRethrow($async$result, $async$completer);
  84788. while (true)
  84789. switch ($async$goto) {
  84790. case 0:
  84791. // Function start
  84792. if ($async$self._async_evaluate0$_declarationName != null)
  84793. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.At_rul, node.span));
  84794. if (node.isChildless) {
  84795. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  84796. // goto return
  84797. $async$goto = 1;
  84798. break;
  84799. }
  84800. wasInKeyframes = $async$self._async_evaluate0$_inKeyframes;
  84801. wasInUnknownAtRule = $async$self._async_evaluate0$_inUnknownAtRule;
  84802. t1 = node.name;
  84803. if (A.unvendor0(t1.value) === "keyframes")
  84804. $async$self._async_evaluate0$_inKeyframes = true;
  84805. else
  84806. $async$self._async_evaluate0$_inUnknownAtRule = true;
  84807. $async$goto = 3;
  84808. 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);
  84809. case 3:
  84810. // returning from await.
  84811. $async$self._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  84812. $async$self._async_evaluate0$_inKeyframes = wasInKeyframes;
  84813. case 1:
  84814. // return
  84815. return A._asyncReturn($async$returnValue, $async$completer);
  84816. }
  84817. });
  84818. return A._asyncStartSync($async$visitCssAtRule$1, $async$completer);
  84819. },
  84820. visitCssComment$1(node) {
  84821. return this.visitCssComment$body$_EvaluateVisitor0(node);
  84822. },
  84823. visitCssComment$body$_EvaluateVisitor0(node) {
  84824. var $async$goto = 0,
  84825. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  84826. $async$self = this;
  84827. var $async$visitCssComment$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84828. if ($async$errorCode === 1)
  84829. return A._asyncRethrow($async$result, $async$completer);
  84830. while (true)
  84831. switch ($async$goto) {
  84832. case 0:
  84833. // Function start
  84834. 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))
  84835. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  84836. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  84837. // implicit return
  84838. return A._asyncReturn(null, $async$completer);
  84839. }
  84840. });
  84841. return A._asyncStartSync($async$visitCssComment$1, $async$completer);
  84842. },
  84843. visitCssDeclaration$1(node) {
  84844. return this.visitCssDeclaration$body$_EvaluateVisitor0(node);
  84845. },
  84846. visitCssDeclaration$body$_EvaluateVisitor0(node) {
  84847. var $async$goto = 0,
  84848. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  84849. $async$self = this;
  84850. var $async$visitCssDeclaration$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84851. if ($async$errorCode === 1)
  84852. return A._asyncRethrow($async$result, $async$completer);
  84853. while (true)
  84854. switch ($async$goto) {
  84855. case 0:
  84856. // Function start
  84857. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap));
  84858. // implicit return
  84859. return A._asyncReturn(null, $async$completer);
  84860. }
  84861. });
  84862. return A._asyncStartSync($async$visitCssDeclaration$1, $async$completer);
  84863. },
  84864. visitCssImport$1(node) {
  84865. return this.visitCssImport$body$_EvaluateVisitor0(node);
  84866. },
  84867. visitCssImport$body$_EvaluateVisitor0(node) {
  84868. var $async$goto = 0,
  84869. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  84870. $async$self = this, t1, modifiableNode;
  84871. var $async$visitCssImport$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84872. if ($async$errorCode === 1)
  84873. return A._asyncRethrow($async$result, $async$completer);
  84874. while (true)
  84875. switch ($async$goto) {
  84876. case 0:
  84877. // Function start
  84878. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  84879. 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"))
  84880. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").addChild$1(modifiableNode);
  84881. 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)) {
  84882. $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__root, "_root").addChild$1(modifiableNode);
  84883. $async$self._async_evaluate0$__endOfImports = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__endOfImports, "_endOfImports") + 1;
  84884. } else {
  84885. t1 = $async$self._async_evaluate0$_outOfOrderImports;
  84886. (t1 == null ? $async$self._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  84887. }
  84888. // implicit return
  84889. return A._asyncReturn(null, $async$completer);
  84890. }
  84891. });
  84892. return A._asyncStartSync($async$visitCssImport$1, $async$completer);
  84893. },
  84894. visitCssKeyframeBlock$1(node) {
  84895. return this.visitCssKeyframeBlock$body$_EvaluateVisitor0(node);
  84896. },
  84897. visitCssKeyframeBlock$body$_EvaluateVisitor0(node) {
  84898. var $async$goto = 0,
  84899. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  84900. $async$self = this;
  84901. var $async$visitCssKeyframeBlock$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84902. if ($async$errorCode === 1)
  84903. return A._asyncRethrow($async$result, $async$completer);
  84904. while (true)
  84905. switch ($async$goto) {
  84906. case 0:
  84907. // Function start
  84908. $async$goto = 2;
  84909. 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);
  84910. case 2:
  84911. // returning from await.
  84912. // implicit return
  84913. return A._asyncReturn(null, $async$completer);
  84914. }
  84915. });
  84916. return A._asyncStartSync($async$visitCssKeyframeBlock$1, $async$completer);
  84917. },
  84918. visitCssMediaRule$1(node) {
  84919. return this.visitCssMediaRule$body$_EvaluateVisitor0(node);
  84920. },
  84921. visitCssMediaRule$body$_EvaluateVisitor0(node) {
  84922. var $async$goto = 0,
  84923. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  84924. $async$returnValue, $async$self = this, mergedQueries, t1, mergedSources, t2, t3;
  84925. var $async$visitCssMediaRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84926. if ($async$errorCode === 1)
  84927. return A._asyncRethrow($async$result, $async$completer);
  84928. while (true)
  84929. switch ($async$goto) {
  84930. case 0:
  84931. // Function start
  84932. if ($async$self._async_evaluate0$_declarationName != null)
  84933. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Media_, node.span));
  84934. mergedQueries = A.NullableExtension_andThen0($async$self._async_evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure8($async$self, node));
  84935. t1 = mergedQueries == null;
  84936. if (!t1 && J.get$isEmpty$asx(mergedQueries)) {
  84937. // goto return
  84938. $async$goto = 1;
  84939. break;
  84940. }
  84941. if (t1)
  84942. mergedSources = B.Set_empty5;
  84943. else {
  84944. t2 = $async$self._async_evaluate0$_mediaQuerySources;
  84945. t2.toString;
  84946. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  84947. t3 = $async$self._async_evaluate0$_mediaQueries;
  84948. t3.toString;
  84949. t2.addAll$1(0, t3);
  84950. t2.addAll$1(0, node.queries);
  84951. mergedSources = t2;
  84952. }
  84953. t1 = t1 ? node.queries : mergedQueries;
  84954. $async$goto = 3;
  84955. 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);
  84956. case 3:
  84957. // returning from await.
  84958. case 1:
  84959. // return
  84960. return A._asyncReturn($async$returnValue, $async$completer);
  84961. }
  84962. });
  84963. return A._asyncStartSync($async$visitCssMediaRule$1, $async$completer);
  84964. },
  84965. visitCssStyleRule$1(node) {
  84966. return this.visitCssStyleRule$body$_EvaluateVisitor0(node);
  84967. },
  84968. visitCssStyleRule$body$_EvaluateVisitor0(node) {
  84969. var $async$goto = 0,
  84970. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  84971. $async$self = this, t1, styleRule, t2, t3, t4, originalSelector, rule, oldAtRootExcludingStyleRule, _0_0, _0_1, lastChild;
  84972. var $async$visitCssStyleRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  84973. if ($async$errorCode === 1)
  84974. return A._asyncRethrow($async$result, $async$completer);
  84975. while (true)
  84976. switch ($async$goto) {
  84977. case 0:
  84978. // Function start
  84979. if ($async$self._async_evaluate0$_declarationName != null)
  84980. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Style_, node.span));
  84981. t1 = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  84982. styleRule = t1 ? null : $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  84983. t2 = node._style_rule0$_selector._box0$_inner.value;
  84984. t3 = styleRule == null;
  84985. t4 = t3 ? null : styleRule.originalSelector;
  84986. originalSelector = t2.resolveParentSelectors$2$implicitParent(t4, !t1);
  84987. rule = A.ModifiableCssStyleRule$0($async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__extensionStore, "_extensionStore").addSelector$2(originalSelector, $async$self._async_evaluate0$_mediaQueries), node.span, originalSelector);
  84988. oldAtRootExcludingStyleRule = $async$self._async_evaluate0$_atRootExcludingStyleRule;
  84989. $async$self._async_evaluate0$_atRootExcludingStyleRule = false;
  84990. $async$goto = 2;
  84991. return A._asyncAwait($async$self._async_evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure8($async$self, rule, node), false, new A._EvaluateVisitor_visitCssStyleRule_closure9(), type$.ModifiableCssStyleRule_2, type$.Null), $async$visitCssStyleRule$1);
  84992. case 2:
  84993. // returning from await.
  84994. $async$self._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  84995. _0_0 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent").children;
  84996. _0_1 = A._InitializedCell$(new A._EvaluateVisitor_visitCssStyleRule_closure10(_0_0));
  84997. if (_0_1._readFinal$0() >= 1) {
  84998. lastChild = J.elementAt$1$ax(_0_0._collection$_source, _0_1._readFinal$0() - 1);
  84999. t1 = t3;
  85000. } else {
  85001. lastChild = null;
  85002. t1 = false;
  85003. }
  85004. if (t1)
  85005. lastChild.isGroupEnd = true;
  85006. // implicit return
  85007. return A._asyncReturn(null, $async$completer);
  85008. }
  85009. });
  85010. return A._asyncStartSync($async$visitCssStyleRule$1, $async$completer);
  85011. },
  85012. visitCssStylesheet$1(node) {
  85013. return this.visitCssStylesheet$body$_EvaluateVisitor0(node);
  85014. },
  85015. visitCssStylesheet$body$_EvaluateVisitor0(node) {
  85016. var $async$goto = 0,
  85017. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85018. $async$self = this, t1;
  85019. var $async$visitCssStylesheet$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85020. if ($async$errorCode === 1)
  85021. return A._asyncRethrow($async$result, $async$completer);
  85022. while (true)
  85023. switch ($async$goto) {
  85024. case 0:
  85025. // Function start
  85026. t1 = J.get$iterator$ax(node.get$children(node));
  85027. case 2:
  85028. // for condition
  85029. if (!t1.moveNext$0()) {
  85030. // goto after for
  85031. $async$goto = 3;
  85032. break;
  85033. }
  85034. $async$goto = 4;
  85035. return A._asyncAwait(t1.get$current(t1).accept$1($async$self), $async$visitCssStylesheet$1);
  85036. case 4:
  85037. // returning from await.
  85038. // goto for condition
  85039. $async$goto = 2;
  85040. break;
  85041. case 3:
  85042. // after for
  85043. // implicit return
  85044. return A._asyncReturn(null, $async$completer);
  85045. }
  85046. });
  85047. return A._asyncStartSync($async$visitCssStylesheet$1, $async$completer);
  85048. },
  85049. visitCssSupportsRule$1(node) {
  85050. return this.visitCssSupportsRule$body$_EvaluateVisitor0(node);
  85051. },
  85052. visitCssSupportsRule$body$_EvaluateVisitor0(node) {
  85053. var $async$goto = 0,
  85054. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  85055. $async$self = this;
  85056. var $async$visitCssSupportsRule$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85057. if ($async$errorCode === 1)
  85058. return A._asyncRethrow($async$result, $async$completer);
  85059. while (true)
  85060. switch ($async$goto) {
  85061. case 0:
  85062. // Function start
  85063. if ($async$self._async_evaluate0$_declarationName != null)
  85064. throw A.wrapException($async$self._async_evaluate0$_exception$2(string$.Suppor, node.span));
  85065. $async$goto = 2;
  85066. 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);
  85067. case 2:
  85068. // returning from await.
  85069. // implicit return
  85070. return A._asyncReturn(null, $async$completer);
  85071. }
  85072. });
  85073. return A._asyncStartSync($async$visitCssSupportsRule$1, $async$completer);
  85074. },
  85075. _async_evaluate0$_handleReturn$1$2(list, callback) {
  85076. return this._handleReturn$body$_EvaluateVisitor0(list, callback);
  85077. },
  85078. _async_evaluate0$_handleReturn$2(list, callback) {
  85079. return this._async_evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  85080. },
  85081. _handleReturn$body$_EvaluateVisitor0(list, callback) {
  85082. var $async$goto = 0,
  85083. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  85084. $async$returnValue, t1, _i, _0_0, result, t2;
  85085. var $async$_async_evaluate0$_handleReturn$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85086. if ($async$errorCode === 1)
  85087. return A._asyncRethrow($async$result, $async$completer);
  85088. while (true)
  85089. switch ($async$goto) {
  85090. case 0:
  85091. // Function start
  85092. t1 = list.length, _i = 0;
  85093. case 3:
  85094. // for condition
  85095. if (!(_i < list.length)) {
  85096. // goto after for
  85097. $async$goto = 5;
  85098. break;
  85099. }
  85100. $async$goto = 6;
  85101. return A._asyncAwait(callback.call$1(list[_i]), $async$_async_evaluate0$_handleReturn$1$2);
  85102. case 6:
  85103. // returning from await.
  85104. _0_0 = $async$result;
  85105. if (_0_0 != null) {
  85106. result = _0_0;
  85107. t2 = true;
  85108. } else {
  85109. result = null;
  85110. t2 = false;
  85111. }
  85112. if (t2) {
  85113. $async$returnValue = result;
  85114. // goto return
  85115. $async$goto = 1;
  85116. break;
  85117. }
  85118. case 4:
  85119. // for update
  85120. list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i;
  85121. // goto for condition
  85122. $async$goto = 3;
  85123. break;
  85124. case 5:
  85125. // after for
  85126. $async$returnValue = null;
  85127. // goto return
  85128. $async$goto = 1;
  85129. break;
  85130. case 1:
  85131. // return
  85132. return A._asyncReturn($async$returnValue, $async$completer);
  85133. }
  85134. });
  85135. return A._asyncStartSync($async$_async_evaluate0$_handleReturn$1$2, $async$completer);
  85136. },
  85137. _async_evaluate0$_withEnvironment$1$2(environment, callback, $T) {
  85138. return this._withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $T);
  85139. },
  85140. _withEnvironment$body$_EvaluateVisitor0(environment, callback, $T, $async$type) {
  85141. var $async$goto = 0,
  85142. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  85143. $async$returnValue, $async$self = this, result, oldEnvironment;
  85144. var $async$_async_evaluate0$_withEnvironment$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85145. if ($async$errorCode === 1)
  85146. return A._asyncRethrow($async$result, $async$completer);
  85147. while (true)
  85148. switch ($async$goto) {
  85149. case 0:
  85150. // Function start
  85151. oldEnvironment = $async$self._async_evaluate0$_environment;
  85152. $async$self._async_evaluate0$_environment = environment;
  85153. $async$goto = 3;
  85154. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withEnvironment$1$2);
  85155. case 3:
  85156. // returning from await.
  85157. result = $async$result;
  85158. $async$self._async_evaluate0$_environment = oldEnvironment;
  85159. $async$returnValue = result;
  85160. // goto return
  85161. $async$goto = 1;
  85162. break;
  85163. case 1:
  85164. // return
  85165. return A._asyncReturn($async$returnValue, $async$completer);
  85166. }
  85167. });
  85168. return A._asyncStartSync($async$_async_evaluate0$_withEnvironment$1$2, $async$completer);
  85169. },
  85170. _async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  85171. return this._interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor);
  85172. },
  85173. _async_evaluate0$_interpolationToValue$1(interpolation) {
  85174. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  85175. },
  85176. _async_evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  85177. return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  85178. },
  85179. _interpolationToValue$body$_EvaluateVisitor0(interpolation, trim, warnForColor) {
  85180. var $async$goto = 0,
  85181. $async$completer = A._makeAsyncAwaitCompleter(type$.CssValue_String_2),
  85182. $async$returnValue, $async$self = this, result, t1;
  85183. var $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85184. if ($async$errorCode === 1)
  85185. return A._asyncRethrow($async$result, $async$completer);
  85186. while (true)
  85187. switch ($async$goto) {
  85188. case 0:
  85189. // Function start
  85190. $async$goto = 3;
  85191. return A._asyncAwait($async$self._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor), $async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor);
  85192. case 3:
  85193. // returning from await.
  85194. result = $async$result;
  85195. t1 = trim ? A.trimAscii0(result, true) : result;
  85196. $async$returnValue = new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  85197. // goto return
  85198. $async$goto = 1;
  85199. break;
  85200. case 1:
  85201. // return
  85202. return A._asyncReturn($async$returnValue, $async$completer);
  85203. }
  85204. });
  85205. return A._asyncStartSync($async$_async_evaluate0$_interpolationToValue$3$trim$warnForColor, $async$completer);
  85206. },
  85207. _async_evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  85208. return this._performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor);
  85209. },
  85210. _async_evaluate0$_performInterpolation$1(interpolation) {
  85211. return this._async_evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  85212. },
  85213. _performInterpolation$body$_EvaluateVisitor0(interpolation, warnForColor) {
  85214. var $async$goto = 0,
  85215. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  85216. $async$returnValue, $async$self = this;
  85217. var $async$_async_evaluate0$_performInterpolation$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85218. if ($async$errorCode === 1)
  85219. return A._asyncRethrow($async$result, $async$completer);
  85220. while (true)
  85221. switch ($async$goto) {
  85222. case 0:
  85223. // Function start
  85224. $async$goto = 3;
  85225. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor), $async$_async_evaluate0$_performInterpolation$2$warnForColor);
  85226. case 3:
  85227. // returning from await.
  85228. $async$returnValue = $async$result._0;
  85229. // goto return
  85230. $async$goto = 1;
  85231. break;
  85232. case 1:
  85233. // return
  85234. return A._asyncReturn($async$returnValue, $async$completer);
  85235. }
  85236. });
  85237. return A._asyncStartSync($async$_async_evaluate0$_performInterpolation$2$warnForColor, $async$completer);
  85238. },
  85239. _async_evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  85240. return this._performInterpolationWithMap$body$_EvaluateVisitor0(interpolation, true);
  85241. },
  85242. _performInterpolationWithMap$body$_EvaluateVisitor0(interpolation, warnForColor) {
  85243. var $async$goto = 0,
  85244. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_InterpolationMap_2),
  85245. $async$returnValue, $async$self = this, _0_0, result, map;
  85246. var $async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85247. if ($async$errorCode === 1)
  85248. return A._asyncRethrow($async$result, $async$completer);
  85249. while (true)
  85250. switch ($async$goto) {
  85251. case 0:
  85252. // Function start
  85253. $async$goto = 3;
  85254. return A._asyncAwait($async$self._async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true), $async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor);
  85255. case 3:
  85256. // returning from await.
  85257. _0_0 = $async$result;
  85258. result = _0_0._0;
  85259. map = _0_0._1;
  85260. map.toString;
  85261. $async$returnValue = new A._Record_2(result, map);
  85262. // goto return
  85263. $async$goto = 1;
  85264. break;
  85265. case 1:
  85266. // return
  85267. return A._asyncReturn($async$returnValue, $async$completer);
  85268. }
  85269. });
  85270. return A._asyncStartSync($async$_async_evaluate0$_performInterpolationWithMap$2$warnForColor, $async$completer);
  85271. },
  85272. _async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  85273. return this._performInterpolationHelper$body$_EvaluateVisitor0(interpolation, sourceMap, warnForColor);
  85274. },
  85275. _performInterpolationHelper$body$_EvaluateVisitor0(interpolation, sourceMap, warnForColor) {
  85276. var $async$goto = 0,
  85277. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_String_and_nullable_InterpolationMap_2),
  85278. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, t7, first, _i, t8, value, result, t9, result0, targetLocations, oldInSupportsDeclaration;
  85279. var $async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85280. if ($async$errorCode === 1)
  85281. return A._asyncRethrow($async$result, $async$completer);
  85282. while (true)
  85283. switch ($async$goto) {
  85284. case 0:
  85285. // Function start
  85286. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : null;
  85287. oldInSupportsDeclaration = $async$self._async_evaluate0$_inSupportsDeclaration;
  85288. $async$self._async_evaluate0$_inSupportsDeclaration = false;
  85289. t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression_2, t4 = targetLocations == null, t5 = type$.JSArray_Object, t6 = interpolation.span, t7 = type$.Object, first = true, _i = 0, t8 = "";
  85290. case 3:
  85291. // for condition
  85292. if (!(_i < t2)) {
  85293. // goto after for
  85294. $async$goto = 5;
  85295. break;
  85296. }
  85297. value = t1[_i];
  85298. if (!first)
  85299. if (!t4)
  85300. targetLocations.push(A.SourceLocation$(t8.length, null, null, null));
  85301. if (typeof value == "string") {
  85302. t8 += value;
  85303. // goto for update
  85304. $async$goto = 4;
  85305. break;
  85306. }
  85307. t3._as(value);
  85308. $async$goto = 6;
  85309. return A._asyncAwait(value.accept$1($async$self), $async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor);
  85310. case 6:
  85311. // returning from await.
  85312. result = $async$result;
  85313. if (warnForColor && $.$get$namesByColor0().containsKey$1(result)) {
  85314. t9 = A._setArrayType([""], t5);
  85315. result0 = A.List_List$from(t9, false, t7);
  85316. result0.fixed$length = Array;
  85317. result0.immutable$list = Array;
  85318. result0 = new A.Interpolation0(result0, t6);
  85319. result0.Interpolation$20(t9, t6);
  85320. t9 = $.$get$namesByColor0();
  85321. $async$self._async_evaluate0$_warn$2(string$.You_pr + A.S(t9.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t9.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression0(B.BinaryOperator_anB0, new A.StringExpression0(result0, true), value, false).toString$0(0) + "'.", value.get$span(value));
  85322. }
  85323. t8 += $async$self._async_evaluate0$_serialize$3$quote(result, value, false);
  85324. case 4:
  85325. // for update
  85326. ++_i, first = false;
  85327. // goto for condition
  85328. $async$goto = 3;
  85329. break;
  85330. case 5:
  85331. // after for
  85332. $async$self._async_evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  85333. $async$returnValue = new A._Record_2(t8.charCodeAt(0) == 0 ? t8 : t8, A.NullableExtension_andThen0(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure2(interpolation)));
  85334. // goto return
  85335. $async$goto = 1;
  85336. break;
  85337. case 1:
  85338. // return
  85339. return A._asyncReturn($async$returnValue, $async$completer);
  85340. }
  85341. });
  85342. return A._asyncStartSync($async$_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor, $async$completer);
  85343. },
  85344. _async_evaluate0$_evaluateToCss$2$quote(expression, quote) {
  85345. return this._evaluateToCss$body$_EvaluateVisitor0(expression, quote);
  85346. },
  85347. _async_evaluate0$_evaluateToCss$1(expression) {
  85348. return this._async_evaluate0$_evaluateToCss$2$quote(expression, true);
  85349. },
  85350. _evaluateToCss$body$_EvaluateVisitor0(expression, quote) {
  85351. var $async$goto = 0,
  85352. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  85353. $async$returnValue, $async$self = this, t1;
  85354. var $async$_async_evaluate0$_evaluateToCss$2$quote = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85355. if ($async$errorCode === 1)
  85356. return A._asyncRethrow($async$result, $async$completer);
  85357. while (true)
  85358. switch ($async$goto) {
  85359. case 0:
  85360. // Function start
  85361. t1 = expression.accept$1($async$self);
  85362. $async$goto = 3;
  85363. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$_async_evaluate0$_evaluateToCss$2$quote);
  85364. case 3:
  85365. // returning from await.
  85366. $async$returnValue = $async$self._async_evaluate0$_serialize$3$quote($async$result, expression, quote);
  85367. // goto return
  85368. $async$goto = 1;
  85369. break;
  85370. case 1:
  85371. // return
  85372. return A._asyncReturn($async$returnValue, $async$completer);
  85373. }
  85374. });
  85375. return A._asyncStartSync($async$_async_evaluate0$_evaluateToCss$2$quote, $async$completer);
  85376. },
  85377. _async_evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  85378. return this._async_evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure2(value, quote));
  85379. },
  85380. _async_evaluate0$_serialize$2(value, nodeWithSpan) {
  85381. return this._async_evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  85382. },
  85383. _async_evaluate0$_expressionNode$1(expression) {
  85384. var t1;
  85385. if (expression instanceof A.VariableExpression0) {
  85386. t1 = this._async_evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure2(this, expression));
  85387. return t1 == null ? expression : t1;
  85388. } else
  85389. return expression;
  85390. },
  85391. _async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  85392. return this._withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $T);
  85393. },
  85394. _async_evaluate0$_withParent$2$2(node, callback, $S, $T) {
  85395. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  85396. },
  85397. _async_evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  85398. return this._async_evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  85399. },
  85400. _withParent$body$_EvaluateVisitor0(node, callback, scopeWhen, through, $S, $T, $async$type) {
  85401. var $async$goto = 0,
  85402. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  85403. $async$returnValue, $async$self = this, t1, result;
  85404. var $async$_async_evaluate0$_withParent$2$4$scopeWhen$through = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85405. if ($async$errorCode === 1)
  85406. return A._asyncRethrow($async$result, $async$completer);
  85407. while (true)
  85408. switch ($async$goto) {
  85409. case 0:
  85410. // Function start
  85411. $async$self._async_evaluate0$_addChild$2$through(node, through);
  85412. t1 = $async$self._async_evaluate0$_assertInModule$2($async$self._async_evaluate0$__parent, "__parent");
  85413. $async$self._async_evaluate0$__parent = node;
  85414. $async$goto = 3;
  85415. return A._asyncAwait($async$self._async_evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T), $async$_async_evaluate0$_withParent$2$4$scopeWhen$through);
  85416. case 3:
  85417. // returning from await.
  85418. result = $async$result;
  85419. $async$self._async_evaluate0$__parent = t1;
  85420. $async$returnValue = result;
  85421. // goto return
  85422. $async$goto = 1;
  85423. break;
  85424. case 1:
  85425. // return
  85426. return A._asyncReturn($async$returnValue, $async$completer);
  85427. }
  85428. });
  85429. return A._asyncStartSync($async$_async_evaluate0$_withParent$2$4$scopeWhen$through, $async$completer);
  85430. },
  85431. _async_evaluate0$_addChild$2$through(node, through) {
  85432. var _0_0, grandparent, t1,
  85433. $parent = this._async_evaluate0$_assertInModule$2(this._async_evaluate0$__parent, "__parent");
  85434. if (through != null) {
  85435. for (; through.call$1($parent); $parent = grandparent) {
  85436. _0_0 = $parent._node$_parent;
  85437. if (_0_0 != null) {
  85438. grandparent = _0_0;
  85439. t1 = true;
  85440. } else {
  85441. grandparent = null;
  85442. t1 = false;
  85443. }
  85444. if (!t1)
  85445. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  85446. }
  85447. if ($parent.get$hasFollowingSibling()) {
  85448. grandparent = $parent._node$_parent;
  85449. t1 = grandparent.children;
  85450. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  85451. $parent = type$.ModifiableCssParentNode_2._as(t1.get$last(t1));
  85452. else {
  85453. $parent = $parent.copyWithoutChildren$0();
  85454. grandparent.addChild$1($parent);
  85455. }
  85456. }
  85457. }
  85458. $parent.addChild$1(node);
  85459. },
  85460. _async_evaluate0$_addChild$1(node) {
  85461. return this._async_evaluate0$_addChild$2$through(node, null);
  85462. },
  85463. _async_evaluate0$_withStyleRule$1$2(rule, callback, $T) {
  85464. return this._withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $T);
  85465. },
  85466. _withStyleRule$body$_EvaluateVisitor0(rule, callback, $T, $async$type) {
  85467. var $async$goto = 0,
  85468. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  85469. $async$returnValue, $async$self = this, result, oldRule;
  85470. var $async$_async_evaluate0$_withStyleRule$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85471. if ($async$errorCode === 1)
  85472. return A._asyncRethrow($async$result, $async$completer);
  85473. while (true)
  85474. switch ($async$goto) {
  85475. case 0:
  85476. // Function start
  85477. oldRule = $async$self._async_evaluate0$_styleRuleIgnoringAtRoot;
  85478. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = rule;
  85479. $async$goto = 3;
  85480. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStyleRule$1$2);
  85481. case 3:
  85482. // returning from await.
  85483. result = $async$result;
  85484. $async$self._async_evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  85485. $async$returnValue = result;
  85486. // goto return
  85487. $async$goto = 1;
  85488. break;
  85489. case 1:
  85490. // return
  85491. return A._asyncReturn($async$returnValue, $async$completer);
  85492. }
  85493. });
  85494. return A._asyncStartSync($async$_async_evaluate0$_withStyleRule$1$2, $async$completer);
  85495. },
  85496. _async_evaluate0$_withMediaQueries$1$3(queries, sources, callback, $T) {
  85497. return this._withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $T);
  85498. },
  85499. _withMediaQueries$body$_EvaluateVisitor0(queries, sources, callback, $T, $async$type) {
  85500. var $async$goto = 0,
  85501. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  85502. $async$returnValue, $async$self = this, result, oldMediaQueries, oldSources;
  85503. var $async$_async_evaluate0$_withMediaQueries$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85504. if ($async$errorCode === 1)
  85505. return A._asyncRethrow($async$result, $async$completer);
  85506. while (true)
  85507. switch ($async$goto) {
  85508. case 0:
  85509. // Function start
  85510. oldMediaQueries = $async$self._async_evaluate0$_mediaQueries;
  85511. oldSources = $async$self._async_evaluate0$_mediaQuerySources;
  85512. $async$self._async_evaluate0$_mediaQueries = queries;
  85513. $async$self._async_evaluate0$_mediaQuerySources = sources;
  85514. $async$goto = 3;
  85515. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withMediaQueries$1$3);
  85516. case 3:
  85517. // returning from await.
  85518. result = $async$result;
  85519. $async$self._async_evaluate0$_mediaQueries = oldMediaQueries;
  85520. $async$self._async_evaluate0$_mediaQuerySources = oldSources;
  85521. $async$returnValue = result;
  85522. // goto return
  85523. $async$goto = 1;
  85524. break;
  85525. case 1:
  85526. // return
  85527. return A._asyncReturn($async$returnValue, $async$completer);
  85528. }
  85529. });
  85530. return A._asyncStartSync($async$_async_evaluate0$_withMediaQueries$1$3, $async$completer);
  85531. },
  85532. _async_evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, $T) {
  85533. return this._withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $T);
  85534. },
  85535. _withStackFrame$body$_EvaluateVisitor0(member, nodeWithSpan, callback, $T, $async$type) {
  85536. var $async$goto = 0,
  85537. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  85538. $async$returnValue, $async$self = this, oldMember, result, t1;
  85539. var $async$_async_evaluate0$_withStackFrame$1$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85540. if ($async$errorCode === 1)
  85541. return A._asyncRethrow($async$result, $async$completer);
  85542. while (true)
  85543. switch ($async$goto) {
  85544. case 0:
  85545. // Function start
  85546. t1 = $async$self._async_evaluate0$_stack;
  85547. t1.push(new A._Record_2($async$self._async_evaluate0$_member, nodeWithSpan));
  85548. oldMember = $async$self._async_evaluate0$_member;
  85549. $async$self._async_evaluate0$_member = member;
  85550. $async$goto = 3;
  85551. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_withStackFrame$1$3);
  85552. case 3:
  85553. // returning from await.
  85554. result = $async$result;
  85555. $async$self._async_evaluate0$_member = oldMember;
  85556. t1.pop();
  85557. $async$returnValue = result;
  85558. // goto return
  85559. $async$goto = 1;
  85560. break;
  85561. case 1:
  85562. // return
  85563. return A._asyncReturn($async$returnValue, $async$completer);
  85564. }
  85565. });
  85566. return A._asyncStartSync($async$_async_evaluate0$_withStackFrame$1$3, $async$completer);
  85567. },
  85568. _async_evaluate0$_withoutSlash$2(value, nodeForSpan) {
  85569. if (value instanceof A.SassNumber0 && value.asSlash != null && true)
  85570. this._async_evaluate0$_warn$3(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation2().call$1(value)) + string$.x0a_Morex20, nodeForSpan.get$span(nodeForSpan), B.Deprecation_wWh);
  85571. return value.withoutSlash$0();
  85572. },
  85573. _async_evaluate0$_stackFrame$2(member, span) {
  85574. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure2(this)));
  85575. },
  85576. _async_evaluate0$_stackTrace$1(span) {
  85577. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  85578. t1 = A._setArrayType([], type$.JSArray_Frame);
  85579. for (t2 = _this._async_evaluate0$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  85580. t4 = t2[_i];
  85581. nodeWithSpan = t4._1;
  85582. t1.push(_this._async_evaluate0$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  85583. }
  85584. if (span != null)
  85585. t1.push(_this._async_evaluate0$_stackFrame$2(_this._async_evaluate0$_member, span));
  85586. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  85587. },
  85588. _async_evaluate0$_stackTrace$0() {
  85589. return this._async_evaluate0$_stackTrace$1(null);
  85590. },
  85591. _async_evaluate0$_warn$3(message, span, deprecation) {
  85592. var t1, trace, _this = this;
  85593. if (_this._async_evaluate0$_quietDeps)
  85594. if (!_this._async_evaluate0$_inDependency) {
  85595. t1 = _this._async_evaluate0$_currentCallable;
  85596. t1 = t1 == null ? null : t1.inDependency;
  85597. t1 = t1 === true;
  85598. } else
  85599. t1 = true;
  85600. else
  85601. t1 = false;
  85602. if (t1)
  85603. return;
  85604. if (!_this._async_evaluate0$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  85605. return;
  85606. trace = _this._async_evaluate0$_stackTrace$1(span);
  85607. t1 = _this._async_evaluate0$_logger;
  85608. if (deprecation == null)
  85609. t1.warn$3$span$trace(0, message, span, trace);
  85610. else
  85611. A.WarnForDeprecation_warnForDeprecation0(t1, deprecation, message, span, trace);
  85612. },
  85613. _async_evaluate0$_warn$2(message, span) {
  85614. return this._async_evaluate0$_warn$3(message, span, null);
  85615. },
  85616. _async_evaluate0$_exception$2(message, span) {
  85617. var t1, t2;
  85618. if (span == null) {
  85619. t1 = B.JSArray_methods.get$last(this._async_evaluate0$_stack)._1;
  85620. t1 = t1.get$span(t1);
  85621. } else
  85622. t1 = span;
  85623. t2 = this._async_evaluate0$_stackTrace$1(span);
  85624. return new A.SassRuntimeException0(t2, B.Set_empty, message, t1);
  85625. },
  85626. _async_evaluate0$_exception$1(message) {
  85627. return this._async_evaluate0$_exception$2(message, null);
  85628. },
  85629. _async_evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  85630. var t1 = B.JSArray_methods.get$last(this._async_evaluate0$_stack)._1;
  85631. return A.MultiSpanSassRuntimeException$0(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._async_evaluate0$_stackTrace$0(), null);
  85632. },
  85633. _async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback) {
  85634. var error, stackTrace, t1, exception,
  85635. addStackFrame = true;
  85636. try {
  85637. t1 = callback.call$0();
  85638. return t1;
  85639. } catch (exception) {
  85640. t1 = A.unwrapException(exception);
  85641. if (t1 instanceof A.SassScriptException0) {
  85642. error = t1;
  85643. stackTrace = A.getTraceFromException(exception);
  85644. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  85645. A.throwWithTrace0(t1.withTrace$1(this._async_evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  85646. } else
  85647. throw exception;
  85648. }
  85649. },
  85650. _async_evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  85651. return this._async_evaluate0$_addExceptionSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  85652. },
  85653. _async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, $T) {
  85654. return this._addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, addStackFrame, $T, $T);
  85655. },
  85656. _async_evaluate0$_addExceptionSpanAsync$1$2(nodeWithSpan, callback, $T) {
  85657. return this._async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(nodeWithSpan, callback, true, $T);
  85658. },
  85659. _addExceptionSpanAsync$body$_EvaluateVisitor0(nodeWithSpan, callback, addStackFrame, $T, $async$type) {
  85660. var $async$goto = 0,
  85661. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  85662. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, $async$exception;
  85663. var $async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85664. if ($async$errorCode === 1) {
  85665. $async$currentError = $async$result;
  85666. $async$goto = $async$handler;
  85667. }
  85668. while (true)
  85669. switch ($async$goto) {
  85670. case 0:
  85671. // Function start
  85672. $async$handler = 4;
  85673. t1 = callback.call$0();
  85674. $async$goto = 7;
  85675. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame);
  85676. case 7:
  85677. // returning from await.
  85678. t1 = $async$result;
  85679. $async$returnValue = t1;
  85680. // goto return
  85681. $async$goto = 1;
  85682. break;
  85683. $async$handler = 2;
  85684. // goto after finally
  85685. $async$goto = 6;
  85686. break;
  85687. case 4:
  85688. // catch
  85689. $async$handler = 3;
  85690. $async$exception = $async$currentError;
  85691. t1 = A.unwrapException($async$exception);
  85692. if (t1 instanceof A.SassScriptException0) {
  85693. error = t1;
  85694. stackTrace = A.getTraceFromException($async$exception);
  85695. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  85696. A.throwWithTrace0(t1.withTrace$1($async$self._async_evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  85697. } else
  85698. throw $async$exception;
  85699. // goto after finally
  85700. $async$goto = 6;
  85701. break;
  85702. case 3:
  85703. // uncaught
  85704. // goto rethrow
  85705. $async$goto = 2;
  85706. break;
  85707. case 6:
  85708. // after finally
  85709. case 1:
  85710. // return
  85711. return A._asyncReturn($async$returnValue, $async$completer);
  85712. case 2:
  85713. // rethrow
  85714. return A._asyncRethrow($async$currentError, $async$completer);
  85715. }
  85716. });
  85717. return A._asyncStartSync($async$_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame, $async$completer);
  85718. },
  85719. _async_evaluate0$_addExceptionTrace$1$1(callback, $T) {
  85720. return this._addExceptionTrace$body$_EvaluateVisitor0(callback, $T, $T);
  85721. },
  85722. _addExceptionTrace$body$_EvaluateVisitor0(callback, $T, $async$type) {
  85723. var $async$goto = 0,
  85724. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  85725. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, $async$exception;
  85726. var $async$_async_evaluate0$_addExceptionTrace$1$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85727. if ($async$errorCode === 1) {
  85728. $async$currentError = $async$result;
  85729. $async$goto = $async$handler;
  85730. }
  85731. while (true)
  85732. switch ($async$goto) {
  85733. case 0:
  85734. // Function start
  85735. $async$handler = 4;
  85736. t1 = callback.call$0();
  85737. $async$goto = 7;
  85738. return A._asyncAwait($T._eval$1("Future<0>")._is(t1) ? t1 : A._Future$value(t1, $T), $async$_async_evaluate0$_addExceptionTrace$1$1);
  85739. case 7:
  85740. // returning from await.
  85741. t1 = $async$result;
  85742. $async$returnValue = t1;
  85743. // goto return
  85744. $async$goto = 1;
  85745. break;
  85746. $async$handler = 2;
  85747. // goto after finally
  85748. $async$goto = 6;
  85749. break;
  85750. case 4:
  85751. // catch
  85752. $async$handler = 3;
  85753. $async$exception = $async$currentError;
  85754. t1 = A.unwrapException($async$exception);
  85755. if (type$.SassRuntimeException_2._is(t1))
  85756. throw $async$exception;
  85757. else if (t1 instanceof A.SassException0) {
  85758. error = t1;
  85759. stackTrace = A.getTraceFromException($async$exception);
  85760. t1 = error;
  85761. t2 = J.getInterceptor$z(t1);
  85762. A.throwWithTrace0(error.withTrace$1($async$self._async_evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  85763. } else
  85764. throw $async$exception;
  85765. // goto after finally
  85766. $async$goto = 6;
  85767. break;
  85768. case 3:
  85769. // uncaught
  85770. // goto rethrow
  85771. $async$goto = 2;
  85772. break;
  85773. case 6:
  85774. // after finally
  85775. case 1:
  85776. // return
  85777. return A._asyncReturn($async$returnValue, $async$completer);
  85778. case 2:
  85779. // rethrow
  85780. return A._asyncRethrow($async$currentError, $async$completer);
  85781. }
  85782. });
  85783. return A._asyncStartSync($async$_async_evaluate0$_addExceptionTrace$1$1, $async$completer);
  85784. },
  85785. _async_evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, $T) {
  85786. return this._addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $T);
  85787. },
  85788. _addErrorSpan$body$_EvaluateVisitor0(nodeWithSpan, callback, $T, $async$type) {
  85789. var $async$goto = 0,
  85790. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  85791. $async$returnValue, $async$handler = 2, $async$currentError, $async$self = this, error, stackTrace, t1, exception, t2, t3, $async$exception;
  85792. var $async$_async_evaluate0$_addErrorSpan$1$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  85793. if ($async$errorCode === 1) {
  85794. $async$currentError = $async$result;
  85795. $async$goto = $async$handler;
  85796. }
  85797. while (true)
  85798. switch ($async$goto) {
  85799. case 0:
  85800. // Function start
  85801. $async$handler = 4;
  85802. $async$goto = 7;
  85803. return A._asyncAwait(callback.call$0(), $async$_async_evaluate0$_addErrorSpan$1$2);
  85804. case 7:
  85805. // returning from await.
  85806. t1 = $async$result;
  85807. $async$returnValue = t1;
  85808. // goto return
  85809. $async$goto = 1;
  85810. break;
  85811. $async$handler = 2;
  85812. // goto after finally
  85813. $async$goto = 6;
  85814. break;
  85815. case 4:
  85816. // catch
  85817. $async$handler = 3;
  85818. $async$exception = $async$currentError;
  85819. t1 = A.unwrapException($async$exception);
  85820. if (type$.SassRuntimeException_2._is(t1)) {
  85821. error = t1;
  85822. stackTrace = A.getTraceFromException($async$exception);
  85823. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  85824. throw $async$exception;
  85825. t1 = error._span_exception$_message;
  85826. t2 = nodeWithSpan.get$span(nodeWithSpan);
  85827. t3 = $async$self._async_evaluate0$_stackTrace$0();
  85828. A.throwWithTrace0(new A.SassRuntimeException0(t3, B.Set_empty, t1, t2), error, stackTrace);
  85829. } else
  85830. throw $async$exception;
  85831. // goto after finally
  85832. $async$goto = 6;
  85833. break;
  85834. case 3:
  85835. // uncaught
  85836. // goto rethrow
  85837. $async$goto = 2;
  85838. break;
  85839. case 6:
  85840. // after finally
  85841. case 1:
  85842. // return
  85843. return A._asyncReturn($async$returnValue, $async$completer);
  85844. case 2:
  85845. // rethrow
  85846. return A._asyncRethrow($async$currentError, $async$completer);
  85847. }
  85848. });
  85849. return A._asyncStartSync($async$_async_evaluate0$_addErrorSpan$1$2, $async$completer);
  85850. }
  85851. };
  85852. A._EvaluateVisitor_closure38.prototype = {
  85853. call$1($arguments) {
  85854. var module, t2,
  85855. t1 = J.getInterceptor$asx($arguments),
  85856. variable = t1.$index($arguments, 0).assertString$1("name");
  85857. t1 = t1.$index($arguments, 1).get$realNull();
  85858. module = t1 == null ? null : t1.assertString$1("module");
  85859. t1 = this.$this._async_evaluate0$_environment;
  85860. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  85861. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  85862. },
  85863. $signature: 22
  85864. };
  85865. A._EvaluateVisitor_closure39.prototype = {
  85866. call$1($arguments) {
  85867. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  85868. t1 = this.$this._async_evaluate0$_environment;
  85869. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  85870. },
  85871. $signature: 22
  85872. };
  85873. A._EvaluateVisitor_closure40.prototype = {
  85874. call$1($arguments) {
  85875. var module, t2, t3, t4,
  85876. t1 = J.getInterceptor$asx($arguments),
  85877. variable = t1.$index($arguments, 0).assertString$1("name");
  85878. t1 = t1.$index($arguments, 1).get$realNull();
  85879. module = t1 == null ? null : t1.assertString$1("module");
  85880. t1 = this.$this;
  85881. t2 = t1._async_evaluate0$_environment;
  85882. t3 = variable._string0$_text;
  85883. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  85884. 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;
  85885. },
  85886. $signature: 22
  85887. };
  85888. A._EvaluateVisitor_closure41.prototype = {
  85889. call$1($arguments) {
  85890. var module, t2,
  85891. t1 = J.getInterceptor$asx($arguments),
  85892. variable = t1.$index($arguments, 0).assertString$1("name");
  85893. t1 = t1.$index($arguments, 1).get$realNull();
  85894. module = t1 == null ? null : t1.assertString$1("module");
  85895. t1 = this.$this._async_evaluate0$_environment;
  85896. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  85897. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  85898. },
  85899. $signature: 22
  85900. };
  85901. A._EvaluateVisitor_closure42.prototype = {
  85902. call$1($arguments) {
  85903. var t1 = this.$this._async_evaluate0$_environment;
  85904. if (!t1._async_environment0$_inMixin)
  85905. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  85906. return t1._async_environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  85907. },
  85908. $signature: 22
  85909. };
  85910. A._EvaluateVisitor_closure43.prototype = {
  85911. call$1($arguments) {
  85912. var t2, t3, t4,
  85913. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  85914. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  85915. if (module == null)
  85916. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  85917. t1 = type$.Value_2;
  85918. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  85919. for (t3 = A.MapExtensions_get_pairs0(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  85920. t4 = t3.get$current(t3);
  85921. t2.$indexSet(0, new A.SassString0(t4._0, true), t4._1);
  85922. }
  85923. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  85924. },
  85925. $signature: 39
  85926. };
  85927. A._EvaluateVisitor_closure44.prototype = {
  85928. call$1($arguments) {
  85929. var t2, t3, t4,
  85930. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  85931. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  85932. if (module == null)
  85933. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  85934. t1 = type$.Value_2;
  85935. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  85936. for (t3 = A.MapExtensions_get_pairs0(module.get$functions(module), type$.String, type$.AsyncCallable_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  85937. t4 = t3.get$current(t3);
  85938. t2.$indexSet(0, new A.SassString0(t4._0, true), new A.SassFunction0(t4._1));
  85939. }
  85940. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  85941. },
  85942. $signature: 39
  85943. };
  85944. A._EvaluateVisitor_closure45.prototype = {
  85945. call$1($arguments) {
  85946. var t2, t3, t4,
  85947. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  85948. module = this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0, t1);
  85949. if (module == null)
  85950. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  85951. t1 = type$.Value_2;
  85952. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  85953. for (t3 = A.MapExtensions_get_pairs0(module.get$mixins(), type$.String, type$.AsyncCallable_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  85954. t4 = t3.get$current(t3);
  85955. t2.$indexSet(0, new A.SassString0(t4._0, true), new A.SassMixin0(t4._1));
  85956. }
  85957. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  85958. },
  85959. $signature: 39
  85960. };
  85961. A._EvaluateVisitor_closure46.prototype = {
  85962. call$1($arguments) {
  85963. var module, t2, callable,
  85964. t1 = J.getInterceptor$asx($arguments),
  85965. $name = t1.$index($arguments, 0).assertString$1("name"),
  85966. css = t1.$index($arguments, 1).get$isTruthy();
  85967. t1 = t1.$index($arguments, 2).get$realNull();
  85968. module = t1 == null ? null : t1.assertString$1("module");
  85969. if (css) {
  85970. if (module != null)
  85971. throw A.wrapException(string$.x24css_a);
  85972. return new A.SassFunction0(new A.PlainCssCallable0($name._string0$_text));
  85973. }
  85974. t1 = this.$this;
  85975. t2 = t1._async_evaluate0$_callableNode;
  85976. t2.toString;
  85977. callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure14(t1, $name, module));
  85978. if (callable == null)
  85979. throw A.wrapException("Function not found: " + $name.toString$0(0));
  85980. return new A.SassFunction0(callable);
  85981. },
  85982. $signature: 183
  85983. };
  85984. A._EvaluateVisitor__closure14.prototype = {
  85985. call$0() {
  85986. var local,
  85987. normalizedName = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  85988. t1 = this.module,
  85989. namespace = t1 == null ? null : t1._string0$_text;
  85990. t1 = this.$this;
  85991. local = t1._async_evaluate0$_environment.getFunction$2$namespace(normalizedName, namespace);
  85992. if (local != null || namespace != null)
  85993. return local;
  85994. return t1._async_evaluate0$_builtInFunctions.$index(0, normalizedName);
  85995. },
  85996. $signature: 106
  85997. };
  85998. A._EvaluateVisitor_closure47.prototype = {
  85999. call$1($arguments) {
  86000. var module, t2, callable,
  86001. t1 = J.getInterceptor$asx($arguments),
  86002. $name = t1.$index($arguments, 0).assertString$1("name");
  86003. t1 = t1.$index($arguments, 1).get$realNull();
  86004. module = t1 == null ? null : t1.assertString$1("module");
  86005. t1 = this.$this;
  86006. t2 = t1._async_evaluate0$_callableNode;
  86007. t2.toString;
  86008. callable = t1._async_evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure13(t1, $name, module));
  86009. if (callable == null)
  86010. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  86011. return new A.SassMixin0(callable);
  86012. },
  86013. $signature: 185
  86014. };
  86015. A._EvaluateVisitor__closure13.prototype = {
  86016. call$0() {
  86017. var t1 = this.$this._async_evaluate0$_environment,
  86018. t2 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  86019. t3 = this.module;
  86020. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string0$_text);
  86021. },
  86022. $signature: 106
  86023. };
  86024. A._EvaluateVisitor_closure48.prototype = {
  86025. call$1($arguments) {
  86026. return this.$call$body$_EvaluateVisitor_closure4($arguments);
  86027. },
  86028. $call$body$_EvaluateVisitor_closure4($arguments) {
  86029. var $async$goto = 0,
  86030. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  86031. $async$returnValue, $async$self = this, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, t1, $function, args;
  86032. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86033. if ($async$errorCode === 1)
  86034. return A._asyncRethrow($async$result, $async$completer);
  86035. while (true)
  86036. switch ($async$goto) {
  86037. case 0:
  86038. // Function start
  86039. t1 = J.getInterceptor$asx($arguments);
  86040. $function = t1.$index($arguments, 0);
  86041. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  86042. t1 = $async$self.$this;
  86043. t2 = t1._async_evaluate0$_callableNode;
  86044. t2.toString;
  86045. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  86046. t4 = type$.String;
  86047. t5 = type$.Expression_2;
  86048. t6 = t2.get$span(t2);
  86049. t7 = t2.get$span(t2);
  86050. args._argument_list$_wereKeywordsAccessed = true;
  86051. t8 = args._argument_list$_keywords;
  86052. if (t8.get$isEmpty(t8))
  86053. t2 = null;
  86054. else {
  86055. t9 = type$.Value_2;
  86056. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  86057. for (args._argument_list$_wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs0(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  86058. t11 = t8.get$current(t8);
  86059. t10.$indexSet(0, new A.SassString0(t11._0, false), t11._1);
  86060. }
  86061. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  86062. }
  86063. 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);
  86064. $async$goto = $function instanceof A.SassString0 ? 3 : 4;
  86065. break;
  86066. case 3:
  86067. // then
  86068. t2 = $function.toString$0(0);
  86069. A.EvaluationContext_current0().warn$2(0, string$.Passina + t2 + "))", B.Deprecation_4iQ);
  86070. callableNode = t1._async_evaluate0$_callableNode;
  86071. t1 = t1.visitFunctionExpression$1(new A.FunctionExpression0(null, $function._string0$_text, invocation, callableNode.get$span(callableNode)));
  86072. $async$goto = 5;
  86073. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$1);
  86074. case 5:
  86075. // returning from await.
  86076. $async$returnValue = $async$result;
  86077. // goto return
  86078. $async$goto = 1;
  86079. break;
  86080. case 4:
  86081. // join
  86082. t2 = $function.assertFunction$1("function");
  86083. t3 = t1._async_evaluate0$_callableNode;
  86084. t3.toString;
  86085. $async$goto = 6;
  86086. return A._asyncAwait(t1._async_evaluate0$_runFunctionCallable$3(invocation, t2.callable, t3), $async$call$1);
  86087. case 6:
  86088. // returning from await.
  86089. t3 = $async$result;
  86090. $async$returnValue = t3;
  86091. // goto return
  86092. $async$goto = 1;
  86093. break;
  86094. case 1:
  86095. // return
  86096. return A._asyncReturn($async$returnValue, $async$completer);
  86097. }
  86098. });
  86099. return A._asyncStartSync($async$call$1, $async$completer);
  86100. },
  86101. $signature: 113
  86102. };
  86103. A._EvaluateVisitor_closure49.prototype = {
  86104. call$1($arguments) {
  86105. return this.$call$body$_EvaluateVisitor_closure3($arguments);
  86106. },
  86107. $call$body$_EvaluateVisitor_closure3($arguments) {
  86108. var $async$goto = 0,
  86109. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  86110. $async$self = this, withMap, t2, values, configuration, t3, t1, url;
  86111. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86112. if ($async$errorCode === 1)
  86113. return A._asyncRethrow($async$result, $async$completer);
  86114. while (true)
  86115. switch ($async$goto) {
  86116. case 0:
  86117. // Function start
  86118. t1 = J.getInterceptor$asx($arguments);
  86119. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  86120. t1 = t1.$index($arguments, 1).get$realNull();
  86121. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  86122. t1 = $async$self.$this;
  86123. t2 = t1._async_evaluate0$_callableNode;
  86124. t2.toString;
  86125. if (withMap != null) {
  86126. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  86127. withMap.forEach$1(0, new A._EvaluateVisitor__closure11(values, t2.get$span(t2), t2));
  86128. configuration = new A.ExplicitConfiguration0(t2, values, null);
  86129. } else
  86130. configuration = B.Configuration_Map_empty_null0;
  86131. t3 = t2.get$span(t2);
  86132. $async$goto = 2;
  86133. return A._asyncAwait(t1._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure12(t1), t3.get$sourceUrl(t3), configuration, true), $async$call$1);
  86134. case 2:
  86135. // returning from await.
  86136. t1._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  86137. // implicit return
  86138. return A._asyncReturn(null, $async$completer);
  86139. }
  86140. });
  86141. return A._asyncStartSync($async$call$1, $async$completer);
  86142. },
  86143. $signature: 186
  86144. };
  86145. A._EvaluateVisitor__closure11.prototype = {
  86146. call$2(variable, value) {
  86147. var t1 = variable.assertString$1("with key"),
  86148. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  86149. t1 = this.values;
  86150. if (t1.containsKey$1($name))
  86151. throw A.wrapException("The variable $" + $name + " was configured twice.");
  86152. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
  86153. },
  86154. $signature: 105
  86155. };
  86156. A._EvaluateVisitor__closure12.prototype = {
  86157. call$2(module, _) {
  86158. var t1 = this.$this;
  86159. return t1._async_evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  86160. },
  86161. $signature: 341
  86162. };
  86163. A._EvaluateVisitor_closure50.prototype = {
  86164. call$1($arguments) {
  86165. return this.$call$body$_EvaluateVisitor_closure2($arguments);
  86166. },
  86167. $call$body$_EvaluateVisitor_closure2($arguments) {
  86168. var $async$goto = 0,
  86169. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  86170. $async$self = this, callableNode, t2, t3, t4, t5, t1, mixin, args;
  86171. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86172. if ($async$errorCode === 1)
  86173. return A._asyncRethrow($async$result, $async$completer);
  86174. while (true)
  86175. switch ($async$goto) {
  86176. case 0:
  86177. // Function start
  86178. t1 = J.getInterceptor$asx($arguments);
  86179. mixin = t1.$index($arguments, 0);
  86180. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  86181. t1 = $async$self.$this;
  86182. callableNode = t1._async_evaluate0$_callableNode;
  86183. t2 = callableNode.get$span(callableNode);
  86184. t3 = callableNode.get$span(callableNode);
  86185. t4 = type$.Expression_2;
  86186. t5 = A.List_List$unmodifiable(B.List_empty20, t4);
  86187. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t4);
  86188. $async$goto = 2;
  86189. return A._asyncAwait(t1._async_evaluate0$_applyMixin$5(mixin.assertMixin$1("mixin").callable, t1._async_evaluate0$_environment._async_environment0$_content, new A.ArgumentInvocation0(t5, t4, new A.ValueExpression0(args, t3), null, t2), callableNode, callableNode), $async$call$1);
  86190. case 2:
  86191. // returning from await.
  86192. // implicit return
  86193. return A._asyncReturn(null, $async$completer);
  86194. }
  86195. });
  86196. return A._asyncStartSync($async$call$1, $async$completer);
  86197. },
  86198. $signature: 186
  86199. };
  86200. A._EvaluateVisitor_run_closure2.prototype = {
  86201. call$0() {
  86202. var $async$goto = 0,
  86203. $async$completer = A._makeAsyncAwaitCompleter(type$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2),
  86204. $async$returnValue, $async$self = this, module, t2, url, t1, _0_0;
  86205. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86206. if ($async$errorCode === 1)
  86207. return A._asyncRethrow($async$result, $async$completer);
  86208. while (true)
  86209. switch ($async$goto) {
  86210. case 0:
  86211. // Function start
  86212. url = null;
  86213. t1 = $async$self.node;
  86214. _0_0 = t1.span.file.url;
  86215. if (_0_0 != null) {
  86216. url = _0_0;
  86217. t2 = true;
  86218. } else
  86219. t2 = false;
  86220. if (t2) {
  86221. t2 = $async$self.$this;
  86222. t2._async_evaluate0$_activeModules.$indexSet(0, url, null);
  86223. if (!(t2._async_evaluate0$_nodeImporter != null && J.toString$0$(url) === "stdin"))
  86224. t2._async_evaluate0$_loadedUrls.add$1(0, url);
  86225. }
  86226. t2 = $async$self.$this;
  86227. $async$goto = 3;
  86228. return A._asyncAwait(t2._async_evaluate0$_addExceptionTrace$1$1(new A._EvaluateVisitor_run__closure2(t2, $async$self.importer, t1), type$.Module_AsyncCallable_2), $async$call$0);
  86229. case 3:
  86230. // returning from await.
  86231. module = $async$result;
  86232. $async$returnValue = new A._Record_2_loadedUrls_stylesheet(t2._async_evaluate0$_loadedUrls, t2._async_evaluate0$_combineCss$1(module));
  86233. // goto return
  86234. $async$goto = 1;
  86235. break;
  86236. case 1:
  86237. // return
  86238. return A._asyncReturn($async$returnValue, $async$completer);
  86239. }
  86240. });
  86241. return A._asyncStartSync($async$call$0, $async$completer);
  86242. },
  86243. $signature: 342
  86244. };
  86245. A._EvaluateVisitor_run__closure2.prototype = {
  86246. call$0() {
  86247. return this.$this._async_evaluate0$_execute$2(this.importer, this.node);
  86248. },
  86249. $signature: 343
  86250. };
  86251. A._EvaluateVisitor__loadModule_closure5.prototype = {
  86252. call$0() {
  86253. return this.callback.call$2(this._box_1.builtInModule, false);
  86254. },
  86255. $signature: 0
  86256. };
  86257. A._EvaluateVisitor__loadModule_closure6.prototype = {
  86258. call$0() {
  86259. return this.$call$body$_EvaluateVisitor__loadModule_closure0();
  86260. },
  86261. $call$body$_EvaluateVisitor__loadModule_closure0() {
  86262. var $async$goto = 0,
  86263. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  86264. $async$handler = 1, $async$currentError, $async$next = [], $async$self = this, canonicalUrl, oldInDependency, isDependency, t4, message, t1, stylesheet, importer, t2, t3, _1_0, $async$temp1;
  86265. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86266. if ($async$errorCode === 1) {
  86267. $async$currentError = $async$result;
  86268. $async$goto = $async$handler;
  86269. }
  86270. while (true)
  86271. switch ($async$goto) {
  86272. case 0:
  86273. // Function start
  86274. t1 = {};
  86275. stylesheet = null;
  86276. importer = null;
  86277. t2 = $async$self.$this;
  86278. t3 = $async$self.nodeWithSpan;
  86279. $async$goto = 2;
  86280. return A._asyncAwait(t2._async_evaluate0$_loadStylesheet$3$baseUrl($async$self.url.toString$0(0), t3.get$span(t3), $async$self.baseUrl), $async$call$0);
  86281. case 2:
  86282. // returning from await.
  86283. _1_0 = $async$result;
  86284. stylesheet = _1_0._0;
  86285. importer = _1_0._1;
  86286. isDependency = _1_0._2;
  86287. canonicalUrl = stylesheet.span.file.url;
  86288. if (canonicalUrl != null) {
  86289. t4 = t2._async_evaluate0$_activeModules;
  86290. if (t4.containsKey$1(canonicalUrl)) {
  86291. if ($async$self.namesInErrors) {
  86292. t1 = canonicalUrl;
  86293. t3 = $.$get$context();
  86294. t1.toString;
  86295. message = "Module loop: " + t3.prettyUri$1(t1) + " is already being loaded.";
  86296. } else
  86297. message = string$.Modulel;
  86298. t1 = A.NullableExtension_andThen0(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure5(t2, message));
  86299. throw A.wrapException(t1 == null ? t2._async_evaluate0$_exception$1(message) : t1);
  86300. } else
  86301. t4.$indexSet(0, canonicalUrl, t3);
  86302. }
  86303. t4 = t2._async_evaluate0$_modules.containsKey$1(canonicalUrl);
  86304. oldInDependency = t2._async_evaluate0$_inDependency;
  86305. t2._async_evaluate0$_inDependency = isDependency;
  86306. t1.module = null;
  86307. $async$handler = 3;
  86308. $async$temp1 = t1;
  86309. $async$goto = 6;
  86310. return A._asyncAwait(t2._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, $async$self.configuration, $async$self.namesInErrors, t3), $async$call$0);
  86311. case 6:
  86312. // returning from await.
  86313. $async$temp1.module = $async$result;
  86314. $async$next.push(5);
  86315. // goto finally
  86316. $async$goto = 4;
  86317. break;
  86318. case 3:
  86319. // uncaught
  86320. $async$next = [1];
  86321. case 4:
  86322. // finally
  86323. $async$handler = 1;
  86324. t2._async_evaluate0$_activeModules.remove$1(0, canonicalUrl);
  86325. t2._async_evaluate0$_inDependency = oldInDependency;
  86326. // goto the next finally handler
  86327. $async$goto = $async$next.pop();
  86328. break;
  86329. case 5:
  86330. // after finally
  86331. $async$goto = 7;
  86332. return A._asyncAwait(t2._async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure6(t1, $async$self.callback, !t4), false, type$.void), $async$call$0);
  86333. case 7:
  86334. // returning from await.
  86335. // implicit return
  86336. return A._asyncReturn(null, $async$completer);
  86337. case 1:
  86338. // rethrow
  86339. return A._asyncRethrow($async$currentError, $async$completer);
  86340. }
  86341. });
  86342. return A._asyncStartSync($async$call$0, $async$completer);
  86343. },
  86344. $signature: 4
  86345. };
  86346. A._EvaluateVisitor__loadModule__closure5.prototype = {
  86347. call$1(previousLoad) {
  86348. 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));
  86349. },
  86350. $signature: 82
  86351. };
  86352. A._EvaluateVisitor__loadModule__closure6.prototype = {
  86353. call$0() {
  86354. return this.callback.call$2(this._box_0.module, this.firstLoad);
  86355. },
  86356. $signature: 0
  86357. };
  86358. A._EvaluateVisitor__execute_closure2.prototype = {
  86359. call$0() {
  86360. var $async$goto = 0,
  86361. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  86362. $async$self = this, t3, t4, t5, t6, t1, oldImporter, oldStylesheet, oldRoot, oldPreModuleComments, oldParent, oldEndOfImports, oldOutOfOrderImports, oldExtensionStore, t2, oldStyleRule, oldMediaQueries, oldDeclarationName, oldInUnknownAtRule, oldInKeyframes, oldConfiguration;
  86363. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86364. if ($async$errorCode === 1)
  86365. return A._asyncRethrow($async$result, $async$completer);
  86366. while (true)
  86367. switch ($async$goto) {
  86368. case 0:
  86369. // Function start
  86370. t1 = $async$self.$this;
  86371. oldImporter = t1._async_evaluate0$_importer;
  86372. oldStylesheet = t1._async_evaluate0$__stylesheet;
  86373. oldRoot = t1._async_evaluate0$__root;
  86374. oldPreModuleComments = t1._async_evaluate0$_preModuleComments;
  86375. oldParent = t1._async_evaluate0$__parent;
  86376. oldEndOfImports = t1._async_evaluate0$__endOfImports;
  86377. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  86378. oldExtensionStore = t1._async_evaluate0$__extensionStore;
  86379. t2 = t1._async_evaluate0$_atRootExcludingStyleRule;
  86380. oldStyleRule = t2 ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  86381. oldMediaQueries = t1._async_evaluate0$_mediaQueries;
  86382. oldDeclarationName = t1._async_evaluate0$_declarationName;
  86383. oldInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  86384. oldInKeyframes = t1._async_evaluate0$_inKeyframes;
  86385. oldConfiguration = t1._async_evaluate0$_configuration;
  86386. t1._async_evaluate0$_importer = $async$self.importer;
  86387. t3 = t1._async_evaluate0$__stylesheet = $async$self.stylesheet;
  86388. t4 = t3.span;
  86389. t5 = t1._async_evaluate0$__parent = t1._async_evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  86390. t1._async_evaluate0$__endOfImports = 0;
  86391. t1._async_evaluate0$_outOfOrderImports = null;
  86392. t1._async_evaluate0$__extensionStore = $async$self.extensionStore;
  86393. t1._async_evaluate0$_declarationName = t1._async_evaluate0$_mediaQueries = t1._async_evaluate0$_styleRuleIgnoringAtRoot = null;
  86394. t1._async_evaluate0$_inKeyframes = t1._async_evaluate0$_atRootExcludingStyleRule = t1._async_evaluate0$_inUnknownAtRule = false;
  86395. t6 = $async$self.configuration;
  86396. if (t6 != null)
  86397. t1._async_evaluate0$_configuration = t6;
  86398. $async$goto = 2;
  86399. return A._asyncAwait(t1.visitStylesheet$1(t3), $async$call$0);
  86400. case 2:
  86401. // returning from await.
  86402. t3 = t1._async_evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._async_evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  86403. $async$self.css._value = t3;
  86404. $async$self.preModuleComments._value = t1._async_evaluate0$_preModuleComments;
  86405. t1._async_evaluate0$_importer = oldImporter;
  86406. t1._async_evaluate0$__stylesheet = oldStylesheet;
  86407. t1._async_evaluate0$__root = oldRoot;
  86408. t1._async_evaluate0$_preModuleComments = oldPreModuleComments;
  86409. t1._async_evaluate0$__parent = oldParent;
  86410. t1._async_evaluate0$__endOfImports = oldEndOfImports;
  86411. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  86412. t1._async_evaluate0$__extensionStore = oldExtensionStore;
  86413. t1._async_evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  86414. t1._async_evaluate0$_mediaQueries = oldMediaQueries;
  86415. t1._async_evaluate0$_declarationName = oldDeclarationName;
  86416. t1._async_evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  86417. t1._async_evaluate0$_atRootExcludingStyleRule = t2;
  86418. t1._async_evaluate0$_inKeyframes = oldInKeyframes;
  86419. t1._async_evaluate0$_configuration = oldConfiguration;
  86420. // implicit return
  86421. return A._asyncReturn(null, $async$completer);
  86422. }
  86423. });
  86424. return A._asyncStartSync($async$call$0, $async$completer);
  86425. },
  86426. $signature: 4
  86427. };
  86428. A._EvaluateVisitor__combineCss_closure5.prototype = {
  86429. call$1(module) {
  86430. return module.get$transitivelyContainsCss();
  86431. },
  86432. $signature: 147
  86433. };
  86434. A._EvaluateVisitor__combineCss_closure6.prototype = {
  86435. call$1(target) {
  86436. return !this.selectors.contains$1(0, target);
  86437. },
  86438. $signature: 16
  86439. };
  86440. A._EvaluateVisitor__combineCss_visitModule2.prototype = {
  86441. call$1(module) {
  86442. var t1, t2, t3, t4, _i, upstream, _1_0, comments, t5, statements, index, _this = this;
  86443. if (!_this.seen.add$1(0, module))
  86444. return;
  86445. if (_this.clone)
  86446. module = module.cloneCss$0();
  86447. for (t1 = module.get$upstream(), t2 = t1.length, t3 = _this.css, t4 = _this.imports, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  86448. upstream = t1[_i];
  86449. if (upstream.get$transitivelyContainsCss()) {
  86450. _1_0 = module.get$preModuleComments().$index(0, upstream);
  86451. if (_1_0 != null) {
  86452. comments = _1_0;
  86453. t5 = true;
  86454. } else {
  86455. comments = null;
  86456. t5 = false;
  86457. }
  86458. if (t5)
  86459. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, comments);
  86460. _this.call$1(upstream);
  86461. }
  86462. }
  86463. _this.sorted.addFirst$1(module);
  86464. t1 = module.get$css(module);
  86465. statements = t1.get$children(t1);
  86466. index = _this.$this._async_evaluate0$_indexAfterImports$1(statements);
  86467. t1 = J.getInterceptor$ax(statements);
  86468. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  86469. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  86470. },
  86471. $signature: 345
  86472. };
  86473. A._EvaluateVisitor__extendModules_closure5.prototype = {
  86474. call$1(target) {
  86475. return !this.originalSelectors.contains$1(0, target);
  86476. },
  86477. $signature: 16
  86478. };
  86479. A._EvaluateVisitor__extendModules_closure6.prototype = {
  86480. call$0() {
  86481. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  86482. },
  86483. $signature: 189
  86484. };
  86485. A._EvaluateVisitor_visitAtRootRule_closure5.prototype = {
  86486. call$0() {
  86487. var $async$goto = 0,
  86488. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  86489. $async$self = this, t1, t2, t3, _i;
  86490. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86491. if ($async$errorCode === 1)
  86492. return A._asyncRethrow($async$result, $async$completer);
  86493. while (true)
  86494. switch ($async$goto) {
  86495. case 0:
  86496. // Function start
  86497. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  86498. case 2:
  86499. // for condition
  86500. if (!(_i < t2)) {
  86501. // goto after for
  86502. $async$goto = 4;
  86503. break;
  86504. }
  86505. $async$goto = 5;
  86506. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  86507. case 5:
  86508. // returning from await.
  86509. case 3:
  86510. // for update
  86511. ++_i;
  86512. // goto for condition
  86513. $async$goto = 2;
  86514. break;
  86515. case 4:
  86516. // after for
  86517. // implicit return
  86518. return A._asyncReturn(null, $async$completer);
  86519. }
  86520. });
  86521. return A._asyncStartSync($async$call$0, $async$completer);
  86522. },
  86523. $signature: 4
  86524. };
  86525. A._EvaluateVisitor_visitAtRootRule_closure6.prototype = {
  86526. call$0() {
  86527. var $async$goto = 0,
  86528. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  86529. $async$self = this, t1, t2, t3, _i;
  86530. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86531. if ($async$errorCode === 1)
  86532. return A._asyncRethrow($async$result, $async$completer);
  86533. while (true)
  86534. switch ($async$goto) {
  86535. case 0:
  86536. // Function start
  86537. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  86538. case 2:
  86539. // for condition
  86540. if (!(_i < t2)) {
  86541. // goto after for
  86542. $async$goto = 4;
  86543. break;
  86544. }
  86545. $async$goto = 5;
  86546. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  86547. case 5:
  86548. // returning from await.
  86549. case 3:
  86550. // for update
  86551. ++_i;
  86552. // goto for condition
  86553. $async$goto = 2;
  86554. break;
  86555. case 4:
  86556. // after for
  86557. // implicit return
  86558. return A._asyncReturn(null, $async$completer);
  86559. }
  86560. });
  86561. return A._asyncStartSync($async$call$0, $async$completer);
  86562. },
  86563. $signature: 31
  86564. };
  86565. A._EvaluateVisitor__scopeForAtRoot_closure17.prototype = {
  86566. call$1(callback) {
  86567. var $async$goto = 0,
  86568. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  86569. $async$self = this, t1, t2;
  86570. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86571. if ($async$errorCode === 1)
  86572. return A._asyncRethrow($async$result, $async$completer);
  86573. while (true)
  86574. switch ($async$goto) {
  86575. case 0:
  86576. // Function start
  86577. t1 = $async$self.$this;
  86578. t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  86579. t1._async_evaluate0$__parent = $async$self.newParent;
  86580. $async$goto = 2;
  86581. return A._asyncAwait(t1._async_evaluate0$_environment.scope$1$2$when(callback, $async$self.node.hasDeclarations, type$.void), $async$call$1);
  86582. case 2:
  86583. // returning from await.
  86584. t1._async_evaluate0$__parent = t2;
  86585. // implicit return
  86586. return A._asyncReturn(null, $async$completer);
  86587. }
  86588. });
  86589. return A._asyncStartSync($async$call$1, $async$completer);
  86590. },
  86591. $signature: 41
  86592. };
  86593. A._EvaluateVisitor__scopeForAtRoot_closure18.prototype = {
  86594. call$1(callback) {
  86595. var $async$goto = 0,
  86596. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  86597. $async$self = this, t1, oldAtRootExcludingStyleRule;
  86598. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86599. if ($async$errorCode === 1)
  86600. return A._asyncRethrow($async$result, $async$completer);
  86601. while (true)
  86602. switch ($async$goto) {
  86603. case 0:
  86604. // Function start
  86605. t1 = $async$self.$this;
  86606. oldAtRootExcludingStyleRule = t1._async_evaluate0$_atRootExcludingStyleRule;
  86607. t1._async_evaluate0$_atRootExcludingStyleRule = true;
  86608. $async$goto = 2;
  86609. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  86610. case 2:
  86611. // returning from await.
  86612. t1._async_evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  86613. // implicit return
  86614. return A._asyncReturn(null, $async$completer);
  86615. }
  86616. });
  86617. return A._asyncStartSync($async$call$1, $async$completer);
  86618. },
  86619. $signature: 41
  86620. };
  86621. A._EvaluateVisitor__scopeForAtRoot_closure19.prototype = {
  86622. call$1(callback) {
  86623. return this.$this._async_evaluate0$_withMediaQueries$1$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure2(this.innerScope, callback), type$.Null);
  86624. },
  86625. $signature: 41
  86626. };
  86627. A._EvaluateVisitor__scopeForAtRoot__closure2.prototype = {
  86628. call$0() {
  86629. return this.innerScope.call$1(this.callback);
  86630. },
  86631. $signature: 4
  86632. };
  86633. A._EvaluateVisitor__scopeForAtRoot_closure20.prototype = {
  86634. call$1(callback) {
  86635. var $async$goto = 0,
  86636. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  86637. $async$self = this, t1, wasInKeyframes;
  86638. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86639. if ($async$errorCode === 1)
  86640. return A._asyncRethrow($async$result, $async$completer);
  86641. while (true)
  86642. switch ($async$goto) {
  86643. case 0:
  86644. // Function start
  86645. t1 = $async$self.$this;
  86646. wasInKeyframes = t1._async_evaluate0$_inKeyframes;
  86647. t1._async_evaluate0$_inKeyframes = false;
  86648. $async$goto = 2;
  86649. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  86650. case 2:
  86651. // returning from await.
  86652. t1._async_evaluate0$_inKeyframes = wasInKeyframes;
  86653. // implicit return
  86654. return A._asyncReturn(null, $async$completer);
  86655. }
  86656. });
  86657. return A._asyncStartSync($async$call$1, $async$completer);
  86658. },
  86659. $signature: 41
  86660. };
  86661. A._EvaluateVisitor__scopeForAtRoot_closure21.prototype = {
  86662. call$1($parent) {
  86663. return $parent instanceof A.ModifiableCssAtRule0;
  86664. },
  86665. $signature: 190
  86666. };
  86667. A._EvaluateVisitor__scopeForAtRoot_closure22.prototype = {
  86668. call$1(callback) {
  86669. var $async$goto = 0,
  86670. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  86671. $async$self = this, t1, wasInUnknownAtRule;
  86672. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86673. if ($async$errorCode === 1)
  86674. return A._asyncRethrow($async$result, $async$completer);
  86675. while (true)
  86676. switch ($async$goto) {
  86677. case 0:
  86678. // Function start
  86679. t1 = $async$self.$this;
  86680. wasInUnknownAtRule = t1._async_evaluate0$_inUnknownAtRule;
  86681. t1._async_evaluate0$_inUnknownAtRule = false;
  86682. $async$goto = 2;
  86683. return A._asyncAwait($async$self.innerScope.call$1(callback), $async$call$1);
  86684. case 2:
  86685. // returning from await.
  86686. t1._async_evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  86687. // implicit return
  86688. return A._asyncReturn(null, $async$completer);
  86689. }
  86690. });
  86691. return A._asyncStartSync($async$call$1, $async$completer);
  86692. },
  86693. $signature: 41
  86694. };
  86695. A._EvaluateVisitor_visitContentRule_closure2.prototype = {
  86696. call$0() {
  86697. var $async$goto = 0,
  86698. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  86699. $async$returnValue, $async$self = this, t1, t2, t3, _i;
  86700. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86701. if ($async$errorCode === 1)
  86702. return A._asyncRethrow($async$result, $async$completer);
  86703. while (true)
  86704. switch ($async$goto) {
  86705. case 0:
  86706. // Function start
  86707. t1 = $async$self.content.declaration.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  86708. case 3:
  86709. // for condition
  86710. if (!(_i < t2)) {
  86711. // goto after for
  86712. $async$goto = 5;
  86713. break;
  86714. }
  86715. $async$goto = 6;
  86716. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  86717. case 6:
  86718. // returning from await.
  86719. case 4:
  86720. // for update
  86721. ++_i;
  86722. // goto for condition
  86723. $async$goto = 3;
  86724. break;
  86725. case 5:
  86726. // after for
  86727. $async$returnValue = null;
  86728. // goto return
  86729. $async$goto = 1;
  86730. break;
  86731. case 1:
  86732. // return
  86733. return A._asyncReturn($async$returnValue, $async$completer);
  86734. }
  86735. });
  86736. return A._asyncStartSync($async$call$0, $async$completer);
  86737. },
  86738. $signature: 4
  86739. };
  86740. A._EvaluateVisitor_visitDeclaration_closure2.prototype = {
  86741. call$0() {
  86742. var $async$goto = 0,
  86743. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  86744. $async$self = this, t1, t2, t3, _i;
  86745. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86746. if ($async$errorCode === 1)
  86747. return A._asyncRethrow($async$result, $async$completer);
  86748. while (true)
  86749. switch ($async$goto) {
  86750. case 0:
  86751. // Function start
  86752. t1 = $async$self._box_0.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  86753. case 2:
  86754. // for condition
  86755. if (!(_i < t2)) {
  86756. // goto after for
  86757. $async$goto = 4;
  86758. break;
  86759. }
  86760. $async$goto = 5;
  86761. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  86762. case 5:
  86763. // returning from await.
  86764. case 3:
  86765. // for update
  86766. ++_i;
  86767. // goto for condition
  86768. $async$goto = 2;
  86769. break;
  86770. case 4:
  86771. // after for
  86772. // implicit return
  86773. return A._asyncReturn(null, $async$completer);
  86774. }
  86775. });
  86776. return A._asyncStartSync($async$call$0, $async$completer);
  86777. },
  86778. $signature: 4
  86779. };
  86780. A._EvaluateVisitor_visitEachRule_closure8.prototype = {
  86781. call$1(value) {
  86782. var t1 = this.$this,
  86783. t2 = this.nodeWithSpan;
  86784. return t1._async_evaluate0$_environment.setLocalVariable$3(this._box_0.variable, t1._async_evaluate0$_withoutSlash$2(value, t2), t2);
  86785. },
  86786. $signature: 60
  86787. };
  86788. A._EvaluateVisitor_visitEachRule_closure9.prototype = {
  86789. call$1(value) {
  86790. return this.$this._async_evaluate0$_setMultipleVariables$3(this._box_0.variables, value, this.nodeWithSpan);
  86791. },
  86792. $signature: 60
  86793. };
  86794. A._EvaluateVisitor_visitEachRule_closure10.prototype = {
  86795. call$0() {
  86796. var _this = this,
  86797. t1 = _this.$this;
  86798. return t1._async_evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure2(t1, _this.setVariables, _this.node));
  86799. },
  86800. $signature: 80
  86801. };
  86802. A._EvaluateVisitor_visitEachRule__closure2.prototype = {
  86803. call$1(element) {
  86804. var t1;
  86805. this.setVariables.call$1(element);
  86806. t1 = this.$this;
  86807. return t1._async_evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure2(t1));
  86808. },
  86809. $signature: 350
  86810. };
  86811. A._EvaluateVisitor_visitEachRule___closure2.prototype = {
  86812. call$1(child) {
  86813. return child.accept$1(this.$this);
  86814. },
  86815. $signature: 100
  86816. };
  86817. A._EvaluateVisitor_visitAtRule_closure8.prototype = {
  86818. call$1(value) {
  86819. return this.$this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  86820. },
  86821. $signature: 352
  86822. };
  86823. A._EvaluateVisitor_visitAtRule_closure9.prototype = {
  86824. call$0() {
  86825. var $async$goto = 0,
  86826. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  86827. $async$self = this, t2, t3, _i, t1, styleRule;
  86828. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86829. if ($async$errorCode === 1)
  86830. return A._asyncRethrow($async$result, $async$completer);
  86831. while (true)
  86832. switch ($async$goto) {
  86833. case 0:
  86834. // Function start
  86835. t1 = $async$self.$this;
  86836. styleRule = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  86837. $async$goto = styleRule == null || t1._async_evaluate0$_inKeyframes || J.$eq$($async$self.name.value, "font-face") ? 2 : 4;
  86838. break;
  86839. case 2:
  86840. // then
  86841. t2 = $async$self.children, t3 = t2.length, _i = 0;
  86842. case 5:
  86843. // for condition
  86844. if (!(_i < t3)) {
  86845. // goto after for
  86846. $async$goto = 7;
  86847. break;
  86848. }
  86849. $async$goto = 8;
  86850. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  86851. case 8:
  86852. // returning from await.
  86853. case 6:
  86854. // for update
  86855. ++_i;
  86856. // goto for condition
  86857. $async$goto = 5;
  86858. break;
  86859. case 7:
  86860. // after for
  86861. // goto join
  86862. $async$goto = 3;
  86863. break;
  86864. case 4:
  86865. // else
  86866. $async$goto = 9;
  86867. return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule._style_rule0$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure2(t1, $async$self.children), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  86868. case 9:
  86869. // returning from await.
  86870. case 3:
  86871. // join
  86872. // implicit return
  86873. return A._asyncReturn(null, $async$completer);
  86874. }
  86875. });
  86876. return A._asyncStartSync($async$call$0, $async$completer);
  86877. },
  86878. $signature: 4
  86879. };
  86880. A._EvaluateVisitor_visitAtRule__closure2.prototype = {
  86881. call$0() {
  86882. var $async$goto = 0,
  86883. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  86884. $async$self = this, t1, t2, t3, _i;
  86885. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86886. if ($async$errorCode === 1)
  86887. return A._asyncRethrow($async$result, $async$completer);
  86888. while (true)
  86889. switch ($async$goto) {
  86890. case 0:
  86891. // Function start
  86892. t1 = $async$self.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  86893. case 2:
  86894. // for condition
  86895. if (!(_i < t2)) {
  86896. // goto after for
  86897. $async$goto = 4;
  86898. break;
  86899. }
  86900. $async$goto = 5;
  86901. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  86902. case 5:
  86903. // returning from await.
  86904. case 3:
  86905. // for update
  86906. ++_i;
  86907. // goto for condition
  86908. $async$goto = 2;
  86909. break;
  86910. case 4:
  86911. // after for
  86912. // implicit return
  86913. return A._asyncReturn(null, $async$completer);
  86914. }
  86915. });
  86916. return A._asyncStartSync($async$call$0, $async$completer);
  86917. },
  86918. $signature: 4
  86919. };
  86920. A._EvaluateVisitor_visitAtRule_closure10.prototype = {
  86921. call$1(node) {
  86922. return node instanceof A.ModifiableCssStyleRule0;
  86923. },
  86924. $signature: 8
  86925. };
  86926. A._EvaluateVisitor_visitForRule_closure14.prototype = {
  86927. call$0() {
  86928. var $async$goto = 0,
  86929. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  86930. $async$returnValue, $async$self = this;
  86931. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86932. if ($async$errorCode === 1)
  86933. return A._asyncRethrow($async$result, $async$completer);
  86934. while (true)
  86935. switch ($async$goto) {
  86936. case 0:
  86937. // Function start
  86938. $async$goto = 3;
  86939. return A._asyncAwait($async$self.node.from.accept$1($async$self.$this), $async$call$0);
  86940. case 3:
  86941. // returning from await.
  86942. $async$returnValue = $async$result.assertNumber$0();
  86943. // goto return
  86944. $async$goto = 1;
  86945. break;
  86946. case 1:
  86947. // return
  86948. return A._asyncReturn($async$returnValue, $async$completer);
  86949. }
  86950. });
  86951. return A._asyncStartSync($async$call$0, $async$completer);
  86952. },
  86953. $signature: 195
  86954. };
  86955. A._EvaluateVisitor_visitForRule_closure15.prototype = {
  86956. call$0() {
  86957. var $async$goto = 0,
  86958. $async$completer = A._makeAsyncAwaitCompleter(type$.SassNumber_2),
  86959. $async$returnValue, $async$self = this;
  86960. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  86961. if ($async$errorCode === 1)
  86962. return A._asyncRethrow($async$result, $async$completer);
  86963. while (true)
  86964. switch ($async$goto) {
  86965. case 0:
  86966. // Function start
  86967. $async$goto = 3;
  86968. return A._asyncAwait($async$self.node.to.accept$1($async$self.$this), $async$call$0);
  86969. case 3:
  86970. // returning from await.
  86971. $async$returnValue = $async$result.assertNumber$0();
  86972. // goto return
  86973. $async$goto = 1;
  86974. break;
  86975. case 1:
  86976. // return
  86977. return A._asyncReturn($async$returnValue, $async$completer);
  86978. }
  86979. });
  86980. return A._asyncStartSync($async$call$0, $async$completer);
  86981. },
  86982. $signature: 195
  86983. };
  86984. A._EvaluateVisitor_visitForRule_closure16.prototype = {
  86985. call$0() {
  86986. return this.fromNumber.assertInt$0();
  86987. },
  86988. $signature: 3
  86989. };
  86990. A._EvaluateVisitor_visitForRule_closure17.prototype = {
  86991. call$0() {
  86992. var t1 = this.fromNumber;
  86993. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  86994. },
  86995. $signature: 3
  86996. };
  86997. A._EvaluateVisitor_visitForRule_closure18.prototype = {
  86998. call$0() {
  86999. var $async$goto = 0,
  87000. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87001. $async$returnValue, $async$self = this, i, t3, t4, t5, t6, t7, t8, _0_0, result, t1, t2, nodeWithSpan;
  87002. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87003. if ($async$errorCode === 1)
  87004. return A._asyncRethrow($async$result, $async$completer);
  87005. while (true)
  87006. switch ($async$goto) {
  87007. case 0:
  87008. // Function start
  87009. t1 = $async$self.$this;
  87010. t2 = $async$self.node;
  87011. nodeWithSpan = t1._async_evaluate0$_expressionNode$1(t2.from);
  87012. i = $async$self.from, t3 = $async$self._box_0, t4 = $async$self.direction, t5 = t2.variable, t6 = $async$self.fromNumber, t2 = t2.children;
  87013. case 3:
  87014. // for condition
  87015. if (!(i !== t3.to)) {
  87016. // goto after for
  87017. $async$goto = 5;
  87018. break;
  87019. }
  87020. t7 = t1._async_evaluate0$_environment;
  87021. t8 = t6.get$numeratorUnits(t6);
  87022. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  87023. $async$goto = 6;
  87024. return A._asyncAwait(t1._async_evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure2(t1)), $async$call$0);
  87025. case 6:
  87026. // returning from await.
  87027. _0_0 = $async$result;
  87028. if (_0_0 != null) {
  87029. result = _0_0;
  87030. t7 = true;
  87031. } else {
  87032. result = null;
  87033. t7 = false;
  87034. }
  87035. if (t7) {
  87036. $async$returnValue = result;
  87037. // goto return
  87038. $async$goto = 1;
  87039. break;
  87040. }
  87041. case 4:
  87042. // for update
  87043. i += t4;
  87044. // goto for condition
  87045. $async$goto = 3;
  87046. break;
  87047. case 5:
  87048. // after for
  87049. $async$returnValue = null;
  87050. // goto return
  87051. $async$goto = 1;
  87052. break;
  87053. case 1:
  87054. // return
  87055. return A._asyncReturn($async$returnValue, $async$completer);
  87056. }
  87057. });
  87058. return A._asyncStartSync($async$call$0, $async$completer);
  87059. },
  87060. $signature: 80
  87061. };
  87062. A._EvaluateVisitor_visitForRule__closure2.prototype = {
  87063. call$1(child) {
  87064. return child.accept$1(this.$this);
  87065. },
  87066. $signature: 100
  87067. };
  87068. A._EvaluateVisitor_visitForwardRule_closure5.prototype = {
  87069. call$2(module, firstLoad) {
  87070. if (firstLoad)
  87071. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  87072. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  87073. },
  87074. $signature: 148
  87075. };
  87076. A._EvaluateVisitor_visitForwardRule_closure6.prototype = {
  87077. call$2(module, firstLoad) {
  87078. if (firstLoad)
  87079. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  87080. this.$this._async_evaluate0$_environment.forwardModule$2(module, this.node);
  87081. },
  87082. $signature: 148
  87083. };
  87084. A._EvaluateVisitor__registerCommentsForModule_closure2.prototype = {
  87085. call$0() {
  87086. return A._setArrayType([], type$.JSArray_CssComment_2);
  87087. },
  87088. $signature: 149
  87089. };
  87090. A._EvaluateVisitor_visitIfRule_closure2.prototype = {
  87091. call$1(clause) {
  87092. var t1 = this.$this;
  87093. return t1._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure2(t1, clause), true, clause.hasDeclarations, type$.nullable_Value_2);
  87094. },
  87095. $signature: 357
  87096. };
  87097. A._EvaluateVisitor_visitIfRule__closure2.prototype = {
  87098. call$0() {
  87099. var t1 = this.$this;
  87100. return t1._async_evaluate0$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure2(t1));
  87101. },
  87102. $signature: 80
  87103. };
  87104. A._EvaluateVisitor_visitIfRule___closure2.prototype = {
  87105. call$1(child) {
  87106. return child.accept$1(this.$this);
  87107. },
  87108. $signature: 100
  87109. };
  87110. A._EvaluateVisitor__visitDynamicImport_closure2.prototype = {
  87111. call$0() {
  87112. return this.$call$body$_EvaluateVisitor__visitDynamicImport_closure0();
  87113. },
  87114. $call$body$_EvaluateVisitor__visitDynamicImport_closure0() {
  87115. var $async$goto = 0,
  87116. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87117. $async$returnValue, $async$self = this, t1, t2, _0_0, stylesheet, importer, isDependency, url, t3, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor, _box_0;
  87118. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87119. if ($async$errorCode === 1)
  87120. return A._asyncRethrow($async$result, $async$completer);
  87121. while (true)
  87122. switch ($async$goto) {
  87123. case 0:
  87124. // Function start
  87125. _box_0 = {};
  87126. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  87127. t1 = $async$self.$this;
  87128. t2 = $async$self.$import;
  87129. $async$goto = 3;
  87130. return A._asyncAwait(t1._async_evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true), $async$call$0);
  87131. case 3:
  87132. // returning from await.
  87133. _0_0 = $async$result;
  87134. stylesheet = _box_0.stylesheet = _0_0._0;
  87135. importer = _0_0._1;
  87136. _box_0.importer = importer;
  87137. isDependency = _0_0._2;
  87138. _box_0.isDependency = isDependency;
  87139. url = stylesheet.span.file.url;
  87140. if (url != null) {
  87141. t3 = t1._async_evaluate0$_activeModules;
  87142. if (t3.containsKey$1(url)) {
  87143. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure11(t1));
  87144. throw A.wrapException(t2 == null ? t1._async_evaluate0$_exception$1("This file is already being loaded.") : t2);
  87145. }
  87146. t3.$indexSet(0, url, t2);
  87147. }
  87148. t2 = stylesheet._stylesheet1$_uses;
  87149. t3 = type$.UnmodifiableListView_UseRule_2;
  87150. t4 = new A.UnmodifiableListView(t2, t3);
  87151. if (t4.get$length(t4) === 0) {
  87152. t4 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  87153. t4 = t4.get$length(t4) === 0;
  87154. } else
  87155. t4 = false;
  87156. $async$goto = t4 ? 4 : 5;
  87157. break;
  87158. case 4:
  87159. // then
  87160. oldImporter = t1._async_evaluate0$_importer;
  87161. t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  87162. oldInDependency = t1._async_evaluate0$_inDependency;
  87163. t1._async_evaluate0$_importer = importer;
  87164. t1._async_evaluate0$__stylesheet = stylesheet;
  87165. t1._async_evaluate0$_inDependency = isDependency;
  87166. $async$goto = 6;
  87167. return A._asyncAwait(t1.visitStylesheet$1(stylesheet), $async$call$0);
  87168. case 6:
  87169. // returning from await.
  87170. t1._async_evaluate0$_importer = oldImporter;
  87171. t1._async_evaluate0$__stylesheet = t2;
  87172. t1._async_evaluate0$_inDependency = oldInDependency;
  87173. t1._async_evaluate0$_activeModules.remove$1(0, url);
  87174. // goto return
  87175. $async$goto = 1;
  87176. break;
  87177. case 5:
  87178. // join
  87179. t2 = new A.UnmodifiableListView(t2, t3);
  87180. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure12())) {
  87181. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  87182. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure13());
  87183. } else
  87184. loadsUserDefinedModules = true;
  87185. children = A._Cell$();
  87186. t2 = t1._async_evaluate0$_environment;
  87187. t3 = type$.String;
  87188. t4 = type$.Module_AsyncCallable_2;
  87189. t5 = type$.AstNode_2;
  87190. t6 = A._setArrayType([], type$.JSArray_Module_AsyncCallable_2);
  87191. t7 = t2._async_environment0$_variables;
  87192. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  87193. t8 = t2._async_environment0$_variableNodes;
  87194. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  87195. t9 = t2._async_environment0$_functions;
  87196. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  87197. t10 = t2._async_environment0$_mixins;
  87198. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  87199. 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);
  87200. $async$goto = 7;
  87201. return A._asyncAwait(t1._async_evaluate0$_withEnvironment$1$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure14(_box_0, t1, loadsUserDefinedModules, environment, children), type$.Null), $async$call$0);
  87202. case 7:
  87203. // returning from await.
  87204. module = environment.toDummyModule$0();
  87205. t1._async_evaluate0$_environment.importForwards$1(module);
  87206. $async$goto = loadsUserDefinedModules ? 8 : 9;
  87207. break;
  87208. case 8:
  87209. // then
  87210. $async$goto = module.transitivelyContainsCss ? 10 : 11;
  87211. break;
  87212. case 10:
  87213. // then
  87214. $async$goto = 12;
  87215. return A._asyncAwait(t1._async_evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1), $async$call$0);
  87216. case 12:
  87217. // returning from await.
  87218. case 11:
  87219. // join
  87220. visitor = new A._ImportedCssVisitor2(t1);
  87221. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  87222. t2.get$current(t2).accept$1(visitor);
  87223. case 9:
  87224. // join
  87225. t1._async_evaluate0$_activeModules.remove$1(0, url);
  87226. case 1:
  87227. // return
  87228. return A._asyncReturn($async$returnValue, $async$completer);
  87229. }
  87230. });
  87231. return A._asyncStartSync($async$call$0, $async$completer);
  87232. },
  87233. $signature: 31
  87234. };
  87235. A._EvaluateVisitor__visitDynamicImport__closure11.prototype = {
  87236. call$1(previousLoad) {
  87237. 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));
  87238. },
  87239. $signature: 82
  87240. };
  87241. A._EvaluateVisitor__visitDynamicImport__closure12.prototype = {
  87242. call$1(rule) {
  87243. return rule.url.get$scheme() !== "sass";
  87244. },
  87245. $signature: 198
  87246. };
  87247. A._EvaluateVisitor__visitDynamicImport__closure13.prototype = {
  87248. call$1(rule) {
  87249. return rule.url.get$scheme() !== "sass";
  87250. },
  87251. $signature: 199
  87252. };
  87253. A._EvaluateVisitor__visitDynamicImport__closure14.prototype = {
  87254. call$0() {
  87255. var $async$goto = 0,
  87256. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87257. $async$self = this, t7, t8, t1, oldImporter, t2, t3, t4, t5, oldOutOfOrderImports, oldConfiguration, oldInDependency, t6;
  87258. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87259. if ($async$errorCode === 1)
  87260. return A._asyncRethrow($async$result, $async$completer);
  87261. while (true)
  87262. switch ($async$goto) {
  87263. case 0:
  87264. // Function start
  87265. t1 = $async$self.$this;
  87266. oldImporter = t1._async_evaluate0$_importer;
  87267. t2 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__stylesheet, "_stylesheet");
  87268. t3 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root");
  87269. t4 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent");
  87270. t5 = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, "_endOfImports");
  87271. oldOutOfOrderImports = t1._async_evaluate0$_outOfOrderImports;
  87272. oldConfiguration = t1._async_evaluate0$_configuration;
  87273. oldInDependency = t1._async_evaluate0$_inDependency;
  87274. t6 = $async$self._box_0;
  87275. t1._async_evaluate0$_importer = t6.importer;
  87276. t7 = t6.stylesheet;
  87277. t1._async_evaluate0$__stylesheet = t7;
  87278. t8 = $async$self.loadsUserDefinedModules;
  87279. if (t8) {
  87280. t7 = A.ModifiableCssStylesheet$0(t7.span);
  87281. t1._async_evaluate0$__root = t7;
  87282. t1._async_evaluate0$__parent = t1._async_evaluate0$_assertInModule$2(t7, "_root");
  87283. t1._async_evaluate0$__endOfImports = 0;
  87284. t1._async_evaluate0$_outOfOrderImports = null;
  87285. }
  87286. t1._async_evaluate0$_inDependency = t6.isDependency;
  87287. t7 = new A.UnmodifiableListView(t6.stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  87288. if (!t7.get$isEmpty(t7))
  87289. t1._async_evaluate0$_configuration = $async$self.environment.toImplicitConfiguration$0();
  87290. $async$goto = 2;
  87291. return A._asyncAwait(t1.visitStylesheet$1(t6.stylesheet), $async$call$0);
  87292. case 2:
  87293. // returning from await.
  87294. t6 = t8 ? t1._async_evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  87295. $async$self.children._value = t6;
  87296. t1._async_evaluate0$_importer = oldImporter;
  87297. t1._async_evaluate0$__stylesheet = t2;
  87298. if (t8) {
  87299. t1._async_evaluate0$__root = t3;
  87300. t1._async_evaluate0$__parent = t4;
  87301. t1._async_evaluate0$__endOfImports = t5;
  87302. t1._async_evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  87303. }
  87304. t1._async_evaluate0$_configuration = oldConfiguration;
  87305. t1._async_evaluate0$_inDependency = oldInDependency;
  87306. // implicit return
  87307. return A._asyncReturn(null, $async$completer);
  87308. }
  87309. });
  87310. return A._asyncStartSync($async$call$0, $async$completer);
  87311. },
  87312. $signature: 4
  87313. };
  87314. A._EvaluateVisitor__applyMixin_closure9.prototype = {
  87315. call$0() {
  87316. var $async$goto = 0,
  87317. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87318. $async$self = this, t1;
  87319. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87320. if ($async$errorCode === 1)
  87321. return A._asyncRethrow($async$result, $async$completer);
  87322. while (true)
  87323. switch ($async$goto) {
  87324. case 0:
  87325. // Function start
  87326. t1 = $async$self.$this;
  87327. $async$goto = 2;
  87328. return A._asyncAwait(t1._async_evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure6(t1, $async$self.$arguments, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  87329. case 2:
  87330. // returning from await.
  87331. // implicit return
  87332. return A._asyncReturn(null, $async$completer);
  87333. }
  87334. });
  87335. return A._asyncStartSync($async$call$0, $async$completer);
  87336. },
  87337. $signature: 31
  87338. };
  87339. A._EvaluateVisitor__applyMixin__closure6.prototype = {
  87340. call$0() {
  87341. var $async$goto = 0,
  87342. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87343. $async$self = this;
  87344. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87345. if ($async$errorCode === 1)
  87346. return A._asyncRethrow($async$result, $async$completer);
  87347. while (true)
  87348. switch ($async$goto) {
  87349. case 0:
  87350. // Function start
  87351. $async$goto = 2;
  87352. return A._asyncAwait($async$self.$this._async_evaluate0$_runBuiltInCallable$3($async$self.$arguments, $async$self.mixin, $async$self.nodeWithSpanWithoutContent), $async$call$0);
  87353. case 2:
  87354. // returning from await.
  87355. // implicit return
  87356. return A._asyncReturn(null, $async$completer);
  87357. }
  87358. });
  87359. return A._asyncStartSync($async$call$0, $async$completer);
  87360. },
  87361. $signature: 31
  87362. };
  87363. A._EvaluateVisitor__applyMixin_closure8.prototype = {
  87364. call$0() {
  87365. var t1 = this._1_0;
  87366. if (t1 == null)
  87367. t1 = type$.AsyncCallable_2._as(t1);
  87368. return type$.UserDefinedCallable_AsyncEnvironment_2._as(t1).declaration;
  87369. },
  87370. $signature: 139
  87371. };
  87372. A._EvaluateVisitor__applyMixin_closure10.prototype = {
  87373. call$0() {
  87374. var $async$goto = 0,
  87375. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87376. $async$self = this, t1;
  87377. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87378. if ($async$errorCode === 1)
  87379. return A._asyncRethrow($async$result, $async$completer);
  87380. while (true)
  87381. switch ($async$goto) {
  87382. case 0:
  87383. // Function start
  87384. t1 = $async$self.$this;
  87385. $async$goto = 2;
  87386. return A._asyncAwait(t1._async_evaluate0$_environment.withContent$2($async$self.contentCallable, new A._EvaluateVisitor__applyMixin__closure5(t1, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  87387. case 2:
  87388. // returning from await.
  87389. // implicit return
  87390. return A._asyncReturn(null, $async$completer);
  87391. }
  87392. });
  87393. return A._asyncStartSync($async$call$0, $async$completer);
  87394. },
  87395. $signature: 4
  87396. };
  87397. A._EvaluateVisitor__applyMixin__closure5.prototype = {
  87398. call$0() {
  87399. var $async$goto = 0,
  87400. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87401. $async$self = this, t1;
  87402. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87403. if ($async$errorCode === 1)
  87404. return A._asyncRethrow($async$result, $async$completer);
  87405. while (true)
  87406. switch ($async$goto) {
  87407. case 0:
  87408. // Function start
  87409. t1 = $async$self.$this;
  87410. $async$goto = 2;
  87411. return A._asyncAwait(t1._async_evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure2(t1, $async$self.mixin, $async$self.nodeWithSpanWithoutContent)), $async$call$0);
  87412. case 2:
  87413. // returning from await.
  87414. // implicit return
  87415. return A._asyncReturn(null, $async$completer);
  87416. }
  87417. });
  87418. return A._asyncStartSync($async$call$0, $async$completer);
  87419. },
  87420. $signature: 31
  87421. };
  87422. A._EvaluateVisitor__applyMixin___closure2.prototype = {
  87423. call$0() {
  87424. var $async$goto = 0,
  87425. $async$completer = A._makeAsyncAwaitCompleter(type$.void),
  87426. $async$self = this, t1, t2, t3, t4, t5, _i;
  87427. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87428. if ($async$errorCode === 1)
  87429. return A._asyncRethrow($async$result, $async$completer);
  87430. while (true)
  87431. switch ($async$goto) {
  87432. case 0:
  87433. // Function start
  87434. t1 = $async$self.mixin.declaration.children, t2 = t1.length, t3 = $async$self.$this, t4 = $async$self.nodeWithSpanWithoutContent, t5 = type$.nullable_Value_2, _i = 0;
  87435. case 2:
  87436. // for condition
  87437. if (!(_i < t2)) {
  87438. // goto after for
  87439. $async$goto = 4;
  87440. break;
  87441. }
  87442. $async$goto = 5;
  87443. return A._asyncAwait(t3._async_evaluate0$_addErrorSpan$1$2(t4, new A._EvaluateVisitor__applyMixin____closure2(t3, t1[_i]), t5), $async$call$0);
  87444. case 5:
  87445. // returning from await.
  87446. case 3:
  87447. // for update
  87448. ++_i;
  87449. // goto for condition
  87450. $async$goto = 2;
  87451. break;
  87452. case 4:
  87453. // after for
  87454. // implicit return
  87455. return A._asyncReturn(null, $async$completer);
  87456. }
  87457. });
  87458. return A._asyncStartSync($async$call$0, $async$completer);
  87459. },
  87460. $signature: 31
  87461. };
  87462. A._EvaluateVisitor__applyMixin____closure2.prototype = {
  87463. call$0() {
  87464. return this.statement.accept$1(this.$this);
  87465. },
  87466. $signature: 80
  87467. };
  87468. A._EvaluateVisitor_visitIncludeRule_closure8.prototype = {
  87469. call$0() {
  87470. var t1 = this.node;
  87471. return this.$this._async_evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  87472. },
  87473. $signature: 106
  87474. };
  87475. A._EvaluateVisitor_visitIncludeRule_closure9.prototype = {
  87476. call$1($content) {
  87477. var t1 = this.$this;
  87478. return new A.UserDefinedCallable0($content, t1._async_evaluate0$_environment.closure$0(), t1._async_evaluate0$_inDependency, type$.UserDefinedCallable_AsyncEnvironment_2);
  87479. },
  87480. $signature: 361
  87481. };
  87482. A._EvaluateVisitor_visitIncludeRule_closure10.prototype = {
  87483. call$0() {
  87484. return this.node.get$spanWithoutContent();
  87485. },
  87486. $signature: 33
  87487. };
  87488. A._EvaluateVisitor_visitMediaRule_closure8.prototype = {
  87489. call$1(mediaQueries) {
  87490. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  87491. },
  87492. $signature: 89
  87493. };
  87494. A._EvaluateVisitor_visitMediaRule_closure9.prototype = {
  87495. call$0() {
  87496. var $async$goto = 0,
  87497. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87498. $async$self = this, t1, t2;
  87499. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87500. if ($async$errorCode === 1)
  87501. return A._asyncRethrow($async$result, $async$completer);
  87502. while (true)
  87503. switch ($async$goto) {
  87504. case 0:
  87505. // Function start
  87506. t1 = $async$self.$this;
  87507. t2 = $async$self.mergedQueries;
  87508. if (t2 == null)
  87509. t2 = $async$self.queries;
  87510. $async$goto = 2;
  87511. 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);
  87512. case 2:
  87513. // returning from await.
  87514. // implicit return
  87515. return A._asyncReturn(null, $async$completer);
  87516. }
  87517. });
  87518. return A._asyncStartSync($async$call$0, $async$completer);
  87519. },
  87520. $signature: 4
  87521. };
  87522. A._EvaluateVisitor_visitMediaRule__closure2.prototype = {
  87523. call$0() {
  87524. var $async$goto = 0,
  87525. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87526. $async$self = this, styleRule, t2, t3, _i, t1, _0_0;
  87527. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87528. if ($async$errorCode === 1)
  87529. return A._asyncRethrow($async$result, $async$completer);
  87530. while (true)
  87531. switch ($async$goto) {
  87532. case 0:
  87533. // Function start
  87534. t1 = $async$self.$this;
  87535. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  87536. if (_0_0 != null) {
  87537. styleRule = _0_0;
  87538. t2 = true;
  87539. } else {
  87540. styleRule = null;
  87541. t2 = false;
  87542. }
  87543. $async$goto = t2 ? 2 : 4;
  87544. break;
  87545. case 2:
  87546. // then
  87547. $async$goto = 5;
  87548. return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule._style_rule0$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure2(t1, $async$self.node), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  87549. case 5:
  87550. // returning from await.
  87551. // goto join
  87552. $async$goto = 3;
  87553. break;
  87554. case 4:
  87555. // else
  87556. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  87557. case 6:
  87558. // for condition
  87559. if (!(_i < t3)) {
  87560. // goto after for
  87561. $async$goto = 8;
  87562. break;
  87563. }
  87564. $async$goto = 9;
  87565. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  87566. case 9:
  87567. // returning from await.
  87568. case 7:
  87569. // for update
  87570. ++_i;
  87571. // goto for condition
  87572. $async$goto = 6;
  87573. break;
  87574. case 8:
  87575. // after for
  87576. case 3:
  87577. // join
  87578. // implicit return
  87579. return A._asyncReturn(null, $async$completer);
  87580. }
  87581. });
  87582. return A._asyncStartSync($async$call$0, $async$completer);
  87583. },
  87584. $signature: 4
  87585. };
  87586. A._EvaluateVisitor_visitMediaRule___closure2.prototype = {
  87587. call$0() {
  87588. var $async$goto = 0,
  87589. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87590. $async$self = this, t1, t2, t3, _i;
  87591. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87592. if ($async$errorCode === 1)
  87593. return A._asyncRethrow($async$result, $async$completer);
  87594. while (true)
  87595. switch ($async$goto) {
  87596. case 0:
  87597. // Function start
  87598. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  87599. case 2:
  87600. // for condition
  87601. if (!(_i < t2)) {
  87602. // goto after for
  87603. $async$goto = 4;
  87604. break;
  87605. }
  87606. $async$goto = 5;
  87607. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  87608. case 5:
  87609. // returning from await.
  87610. case 3:
  87611. // for update
  87612. ++_i;
  87613. // goto for condition
  87614. $async$goto = 2;
  87615. break;
  87616. case 4:
  87617. // after for
  87618. // implicit return
  87619. return A._asyncReturn(null, $async$completer);
  87620. }
  87621. });
  87622. return A._asyncStartSync($async$call$0, $async$completer);
  87623. },
  87624. $signature: 4
  87625. };
  87626. A._EvaluateVisitor_visitMediaRule_closure10.prototype = {
  87627. call$1(node) {
  87628. var t1;
  87629. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  87630. t1 = this.mergedSources;
  87631. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  87632. } else
  87633. t1 = true;
  87634. return t1;
  87635. },
  87636. $signature: 8
  87637. };
  87638. A._EvaluateVisitor_visitStyleRule_closure14.prototype = {
  87639. call$0() {
  87640. var $async$goto = 0,
  87641. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87642. $async$self = this, t1, t2, t3, _i;
  87643. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87644. if ($async$errorCode === 1)
  87645. return A._asyncRethrow($async$result, $async$completer);
  87646. while (true)
  87647. switch ($async$goto) {
  87648. case 0:
  87649. // Function start
  87650. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  87651. case 2:
  87652. // for condition
  87653. if (!(_i < t2)) {
  87654. // goto after for
  87655. $async$goto = 4;
  87656. break;
  87657. }
  87658. $async$goto = 5;
  87659. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  87660. case 5:
  87661. // returning from await.
  87662. case 3:
  87663. // for update
  87664. ++_i;
  87665. // goto for condition
  87666. $async$goto = 2;
  87667. break;
  87668. case 4:
  87669. // after for
  87670. // implicit return
  87671. return A._asyncReturn(null, $async$completer);
  87672. }
  87673. });
  87674. return A._asyncStartSync($async$call$0, $async$completer);
  87675. },
  87676. $signature: 4
  87677. };
  87678. A._EvaluateVisitor_visitStyleRule_closure15.prototype = {
  87679. call$1(node) {
  87680. return node instanceof A.ModifiableCssStyleRule0;
  87681. },
  87682. $signature: 8
  87683. };
  87684. A._EvaluateVisitor_visitStyleRule_closure16.prototype = {
  87685. call$0() {
  87686. var $async$goto = 0,
  87687. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87688. $async$self = this, t1;
  87689. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87690. if ($async$errorCode === 1)
  87691. return A._asyncRethrow($async$result, $async$completer);
  87692. while (true)
  87693. switch ($async$goto) {
  87694. case 0:
  87695. // Function start
  87696. t1 = $async$self.$this;
  87697. $async$goto = 2;
  87698. 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);
  87699. case 2:
  87700. // returning from await.
  87701. // implicit return
  87702. return A._asyncReturn(null, $async$completer);
  87703. }
  87704. });
  87705. return A._asyncStartSync($async$call$0, $async$completer);
  87706. },
  87707. $signature: 4
  87708. };
  87709. A._EvaluateVisitor_visitStyleRule__closure2.prototype = {
  87710. call$0() {
  87711. var $async$goto = 0,
  87712. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87713. $async$self = this, t1, t2, t3, _i;
  87714. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87715. if ($async$errorCode === 1)
  87716. return A._asyncRethrow($async$result, $async$completer);
  87717. while (true)
  87718. switch ($async$goto) {
  87719. case 0:
  87720. // Function start
  87721. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  87722. case 2:
  87723. // for condition
  87724. if (!(_i < t2)) {
  87725. // goto after for
  87726. $async$goto = 4;
  87727. break;
  87728. }
  87729. $async$goto = 5;
  87730. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  87731. case 5:
  87732. // returning from await.
  87733. case 3:
  87734. // for update
  87735. ++_i;
  87736. // goto for condition
  87737. $async$goto = 2;
  87738. break;
  87739. case 4:
  87740. // after for
  87741. // implicit return
  87742. return A._asyncReturn(null, $async$completer);
  87743. }
  87744. });
  87745. return A._asyncStartSync($async$call$0, $async$completer);
  87746. },
  87747. $signature: 4
  87748. };
  87749. A._EvaluateVisitor_visitStyleRule_closure17.prototype = {
  87750. call$1(node) {
  87751. return node instanceof A.ModifiableCssStyleRule0;
  87752. },
  87753. $signature: 8
  87754. };
  87755. A._EvaluateVisitor_visitStyleRule_closure18.prototype = {
  87756. call$1(child) {
  87757. return child instanceof A.ModifiableCssComment0;
  87758. },
  87759. $signature: 144
  87760. };
  87761. A._EvaluateVisitor_visitSupportsRule_closure5.prototype = {
  87762. call$0() {
  87763. var $async$goto = 0,
  87764. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87765. $async$self = this, styleRule, t2, t3, _i, t1, _0_0;
  87766. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87767. if ($async$errorCode === 1)
  87768. return A._asyncRethrow($async$result, $async$completer);
  87769. while (true)
  87770. switch ($async$goto) {
  87771. case 0:
  87772. // Function start
  87773. t1 = $async$self.$this;
  87774. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  87775. if (_0_0 != null) {
  87776. styleRule = _0_0;
  87777. t2 = true;
  87778. } else {
  87779. styleRule = null;
  87780. t2 = false;
  87781. }
  87782. $async$goto = t2 ? 2 : 4;
  87783. break;
  87784. case 2:
  87785. // then
  87786. $async$goto = 5;
  87787. return A._asyncAwait(t1._async_evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(styleRule._style_rule0$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure2(t1, $async$self.node), type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  87788. case 5:
  87789. // returning from await.
  87790. // goto join
  87791. $async$goto = 3;
  87792. break;
  87793. case 4:
  87794. // else
  87795. t2 = $async$self.node.children, t3 = t2.length, _i = 0;
  87796. case 6:
  87797. // for condition
  87798. if (!(_i < t3)) {
  87799. // goto after for
  87800. $async$goto = 8;
  87801. break;
  87802. }
  87803. $async$goto = 9;
  87804. return A._asyncAwait(t2[_i].accept$1(t1), $async$call$0);
  87805. case 9:
  87806. // returning from await.
  87807. case 7:
  87808. // for update
  87809. ++_i;
  87810. // goto for condition
  87811. $async$goto = 6;
  87812. break;
  87813. case 8:
  87814. // after for
  87815. case 3:
  87816. // join
  87817. // implicit return
  87818. return A._asyncReturn(null, $async$completer);
  87819. }
  87820. });
  87821. return A._asyncStartSync($async$call$0, $async$completer);
  87822. },
  87823. $signature: 4
  87824. };
  87825. A._EvaluateVisitor_visitSupportsRule__closure2.prototype = {
  87826. call$0() {
  87827. var $async$goto = 0,
  87828. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  87829. $async$self = this, t1, t2, t3, _i;
  87830. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87831. if ($async$errorCode === 1)
  87832. return A._asyncRethrow($async$result, $async$completer);
  87833. while (true)
  87834. switch ($async$goto) {
  87835. case 0:
  87836. // Function start
  87837. t1 = $async$self.node.children, t2 = t1.length, t3 = $async$self.$this, _i = 0;
  87838. case 2:
  87839. // for condition
  87840. if (!(_i < t2)) {
  87841. // goto after for
  87842. $async$goto = 4;
  87843. break;
  87844. }
  87845. $async$goto = 5;
  87846. return A._asyncAwait(t1[_i].accept$1(t3), $async$call$0);
  87847. case 5:
  87848. // returning from await.
  87849. case 3:
  87850. // for update
  87851. ++_i;
  87852. // goto for condition
  87853. $async$goto = 2;
  87854. break;
  87855. case 4:
  87856. // after for
  87857. // implicit return
  87858. return A._asyncReturn(null, $async$completer);
  87859. }
  87860. });
  87861. return A._asyncStartSync($async$call$0, $async$completer);
  87862. },
  87863. $signature: 4
  87864. };
  87865. A._EvaluateVisitor_visitSupportsRule_closure6.prototype = {
  87866. call$1(node) {
  87867. return node instanceof A.ModifiableCssStyleRule0;
  87868. },
  87869. $signature: 8
  87870. };
  87871. A._EvaluateVisitor__visitSupportsCondition_closure2.prototype = {
  87872. call$0() {
  87873. var $async$goto = 0,
  87874. $async$completer = A._makeAsyncAwaitCompleter(type$.String),
  87875. $async$returnValue, $async$self = this, t1, t2, t3, t4, $async$temp1, $async$temp2;
  87876. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87877. if ($async$errorCode === 1)
  87878. return A._asyncRethrow($async$result, $async$completer);
  87879. while (true)
  87880. switch ($async$goto) {
  87881. case 0:
  87882. // Function start
  87883. t1 = $async$self.$this;
  87884. t2 = $async$self._box_0;
  87885. $async$temp1 = A;
  87886. $async$goto = 3;
  87887. return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(t2.declaration.name), $async$call$0);
  87888. case 3:
  87889. // returning from await.
  87890. t3 = $async$temp1.S($async$result);
  87891. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  87892. $async$temp1 = "(" + t3 + ":" + t4;
  87893. $async$temp2 = A;
  87894. $async$goto = 4;
  87895. return A._asyncAwait(t1._async_evaluate0$_evaluateToCss$1(t2.declaration.value), $async$call$0);
  87896. case 4:
  87897. // returning from await.
  87898. $async$returnValue = $async$temp1 + $async$temp2.S($async$result) + ")";
  87899. // goto return
  87900. $async$goto = 1;
  87901. break;
  87902. case 1:
  87903. // return
  87904. return A._asyncReturn($async$returnValue, $async$completer);
  87905. }
  87906. });
  87907. return A._asyncStartSync($async$call$0, $async$completer);
  87908. },
  87909. $signature: 245
  87910. };
  87911. A._EvaluateVisitor_visitVariableDeclaration_closure8.prototype = {
  87912. call$0() {
  87913. var t1 = this.$this._async_evaluate0$_environment,
  87914. t2 = this._box_0.override;
  87915. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  87916. },
  87917. $signature: 2
  87918. };
  87919. A._EvaluateVisitor_visitVariableDeclaration_closure9.prototype = {
  87920. call$0() {
  87921. var t1 = this.node;
  87922. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  87923. },
  87924. $signature: 46
  87925. };
  87926. A._EvaluateVisitor_visitVariableDeclaration_closure10.prototype = {
  87927. call$0() {
  87928. var t1 = this.$this,
  87929. t2 = this.node;
  87930. t1._async_evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._async_evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  87931. },
  87932. $signature: 2
  87933. };
  87934. A._EvaluateVisitor_visitUseRule_closure2.prototype = {
  87935. call$2(module, firstLoad) {
  87936. var t1, t2, t3, _0_0, $name, t4, t5, span;
  87937. if (firstLoad)
  87938. this.$this._async_evaluate0$_registerCommentsForModule$1(module);
  87939. t1 = this.$this._async_evaluate0$_environment;
  87940. t2 = this.node;
  87941. t3 = t2.namespace;
  87942. if (t3 == null) {
  87943. t1._async_environment0$_globalModules.$indexSet(0, module, t2);
  87944. t1._async_environment0$_allModules.push(module);
  87945. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._async_environment0$_variables)), module.get$variables().get$containsKey());
  87946. if (_0_0 != null) {
  87947. $name = _0_0;
  87948. t1 = true;
  87949. } else {
  87950. $name = null;
  87951. t1 = false;
  87952. }
  87953. if (t1)
  87954. A.throwExpression(A.SassScriptException$0(string$.This_ma + A.S($name) + '".', null));
  87955. } else {
  87956. t4 = t1._async_environment0$_modules;
  87957. if (t4.containsKey$1(t3)) {
  87958. t5 = t1._async_environment0$_namespaceNodes.$index(0, t3);
  87959. span = t5 == null ? null : t5.span;
  87960. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  87961. if (span != null)
  87962. t5.$indexSet(0, span, "original @use");
  87963. A.throwExpression(A.MultiSpanSassScriptException$0(string$.There_ + t3 + '".', "new @use", t5));
  87964. }
  87965. t4.$indexSet(0, t3, module);
  87966. t1._async_environment0$_namespaceNodes.$indexSet(0, t3, t2);
  87967. t1._async_environment0$_allModules.push(module);
  87968. }
  87969. },
  87970. $signature: 148
  87971. };
  87972. A._EvaluateVisitor_visitWarnRule_closure2.prototype = {
  87973. call$0() {
  87974. return this.node.expression.accept$1(this.$this);
  87975. },
  87976. $signature: 70
  87977. };
  87978. A._EvaluateVisitor_visitWhileRule_closure2.prototype = {
  87979. call$0() {
  87980. var $async$goto = 0,
  87981. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Value_2),
  87982. $async$returnValue, $async$self = this, t1, t2, t3, _0_0, result, t4;
  87983. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  87984. if ($async$errorCode === 1)
  87985. return A._asyncRethrow($async$result, $async$completer);
  87986. while (true)
  87987. switch ($async$goto) {
  87988. case 0:
  87989. // Function start
  87990. t1 = $async$self.node, t2 = t1.condition, t3 = $async$self.$this, t1 = t1.children;
  87991. case 3:
  87992. // for condition
  87993. $async$goto = 5;
  87994. return A._asyncAwait(t2.accept$1(t3), $async$call$0);
  87995. case 5:
  87996. // returning from await.
  87997. if (!$async$result.get$isTruthy()) {
  87998. // goto after for
  87999. $async$goto = 4;
  88000. break;
  88001. }
  88002. $async$goto = 6;
  88003. return A._asyncAwait(t3._async_evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure2(t3)), $async$call$0);
  88004. case 6:
  88005. // returning from await.
  88006. _0_0 = $async$result;
  88007. if (_0_0 != null) {
  88008. result = _0_0;
  88009. t4 = true;
  88010. } else {
  88011. result = null;
  88012. t4 = false;
  88013. }
  88014. if (t4) {
  88015. $async$returnValue = result;
  88016. // goto return
  88017. $async$goto = 1;
  88018. break;
  88019. }
  88020. // goto for condition
  88021. $async$goto = 3;
  88022. break;
  88023. case 4:
  88024. // after for
  88025. $async$returnValue = null;
  88026. // goto return
  88027. $async$goto = 1;
  88028. break;
  88029. case 1:
  88030. // return
  88031. return A._asyncReturn($async$returnValue, $async$completer);
  88032. }
  88033. });
  88034. return A._asyncStartSync($async$call$0, $async$completer);
  88035. },
  88036. $signature: 80
  88037. };
  88038. A._EvaluateVisitor_visitWhileRule__closure2.prototype = {
  88039. call$1(child) {
  88040. return child.accept$1(this.$this);
  88041. },
  88042. $signature: 100
  88043. };
  88044. A._EvaluateVisitor_visitBinaryOperationExpression_closure2.prototype = {
  88045. call$0() {
  88046. var $async$goto = 0,
  88047. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88048. $async$returnValue, $async$self = this, t3, t1, t2, left, $async$temp1, $async$temp2;
  88049. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88050. if ($async$errorCode === 1)
  88051. return A._asyncRethrow($async$result, $async$completer);
  88052. while (true)
  88053. switch ($async$goto) {
  88054. case 0:
  88055. // Function start
  88056. t1 = $async$self.node;
  88057. t2 = $async$self.$this;
  88058. $async$goto = 3;
  88059. return A._asyncAwait(t1.left.accept$1(t2), $async$call$0);
  88060. case 3:
  88061. // returning from await.
  88062. left = $async$result;
  88063. case 4:
  88064. // switch
  88065. switch (t1.operator) {
  88066. case B.BinaryOperator_2jN0:
  88067. // goto case
  88068. $async$goto = 6;
  88069. break;
  88070. case B.BinaryOperator_M6L0:
  88071. // goto case
  88072. $async$goto = 7;
  88073. break;
  88074. case B.BinaryOperator_SNp0:
  88075. // goto case
  88076. $async$goto = 8;
  88077. break;
  88078. case B.BinaryOperator_ql50:
  88079. // goto case
  88080. $async$goto = 9;
  88081. break;
  88082. case B.BinaryOperator_ViB0:
  88083. // goto case
  88084. $async$goto = 10;
  88085. break;
  88086. case B.BinaryOperator_cIH0:
  88087. // goto case
  88088. $async$goto = 11;
  88089. break;
  88090. case B.BinaryOperator_7Tg0:
  88091. // goto case
  88092. $async$goto = 12;
  88093. break;
  88094. case B.BinaryOperator_U8c0:
  88095. // goto case
  88096. $async$goto = 13;
  88097. break;
  88098. case B.BinaryOperator_kpg0:
  88099. // goto case
  88100. $async$goto = 14;
  88101. break;
  88102. case B.BinaryOperator_anB0:
  88103. // goto case
  88104. $async$goto = 15;
  88105. break;
  88106. case B.BinaryOperator_olz0:
  88107. // goto case
  88108. $async$goto = 16;
  88109. break;
  88110. case B.BinaryOperator_qN20:
  88111. // goto case
  88112. $async$goto = 17;
  88113. break;
  88114. case B.BinaryOperator_t8B0:
  88115. // goto case
  88116. $async$goto = 18;
  88117. break;
  88118. case B.BinaryOperator_OTG0:
  88119. // goto case
  88120. $async$goto = 19;
  88121. break;
  88122. default:
  88123. // goto default
  88124. $async$goto = 20;
  88125. break;
  88126. }
  88127. break;
  88128. case 6:
  88129. // case
  88130. t1 = t1.right.accept$1(t2);
  88131. $async$goto = 21;
  88132. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88133. case 21:
  88134. // returning from await.
  88135. t1 = $async$result;
  88136. t1 = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(t1, false, true), false);
  88137. // goto after switch
  88138. $async$goto = 5;
  88139. break;
  88140. case 7:
  88141. // case
  88142. $async$goto = left.get$isTruthy() ? 22 : 24;
  88143. break;
  88144. case 22:
  88145. // then
  88146. t1 = left;
  88147. // goto join
  88148. $async$goto = 23;
  88149. break;
  88150. case 24:
  88151. // else
  88152. t1 = t1.right.accept$1(t2);
  88153. $async$goto = 25;
  88154. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88155. case 25:
  88156. // returning from await.
  88157. t1 = $async$result;
  88158. case 23:
  88159. // join
  88160. // goto after switch
  88161. $async$goto = 5;
  88162. break;
  88163. case 8:
  88164. // case
  88165. $async$goto = left.get$isTruthy() ? 26 : 28;
  88166. break;
  88167. case 26:
  88168. // then
  88169. t1 = t1.right.accept$1(t2);
  88170. $async$goto = 29;
  88171. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88172. case 29:
  88173. // returning from await.
  88174. t1 = $async$result;
  88175. // goto join
  88176. $async$goto = 27;
  88177. break;
  88178. case 28:
  88179. // else
  88180. t1 = left;
  88181. case 27:
  88182. // join
  88183. // goto after switch
  88184. $async$goto = 5;
  88185. break;
  88186. case 9:
  88187. // case
  88188. $async$temp1 = left;
  88189. $async$goto = 30;
  88190. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  88191. case 30:
  88192. // returning from await.
  88193. t1 = $async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  88194. // goto after switch
  88195. $async$goto = 5;
  88196. break;
  88197. case 10:
  88198. // case
  88199. $async$temp1 = left;
  88200. $async$goto = 31;
  88201. return A._asyncAwait(t1.right.accept$1(t2), $async$call$0);
  88202. case 31:
  88203. // returning from await.
  88204. t1 = !$async$temp1.$eq(0, $async$result) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  88205. // goto after switch
  88206. $async$goto = 5;
  88207. break;
  88208. case 11:
  88209. // case
  88210. t1 = t1.right.accept$1(t2);
  88211. $async$temp1 = left;
  88212. $async$goto = 32;
  88213. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88214. case 32:
  88215. // returning from await.
  88216. t1 = $async$temp1.greaterThan$1($async$result);
  88217. // goto after switch
  88218. $async$goto = 5;
  88219. break;
  88220. case 12:
  88221. // case
  88222. t1 = t1.right.accept$1(t2);
  88223. $async$temp1 = left;
  88224. $async$goto = 33;
  88225. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88226. case 33:
  88227. // returning from await.
  88228. t1 = $async$temp1.greaterThanOrEquals$1($async$result);
  88229. // goto after switch
  88230. $async$goto = 5;
  88231. break;
  88232. case 13:
  88233. // case
  88234. t1 = t1.right.accept$1(t2);
  88235. $async$temp1 = left;
  88236. $async$goto = 34;
  88237. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88238. case 34:
  88239. // returning from await.
  88240. t1 = $async$temp1.lessThan$1($async$result);
  88241. // goto after switch
  88242. $async$goto = 5;
  88243. break;
  88244. case 14:
  88245. // case
  88246. t1 = t1.right.accept$1(t2);
  88247. $async$temp1 = left;
  88248. $async$goto = 35;
  88249. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88250. case 35:
  88251. // returning from await.
  88252. t1 = $async$temp1.lessThanOrEquals$1($async$result);
  88253. // goto after switch
  88254. $async$goto = 5;
  88255. break;
  88256. case 15:
  88257. // case
  88258. t1 = t1.right.accept$1(t2);
  88259. $async$temp1 = left;
  88260. $async$goto = 36;
  88261. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88262. case 36:
  88263. // returning from await.
  88264. t1 = $async$temp1.plus$1($async$result);
  88265. // goto after switch
  88266. $async$goto = 5;
  88267. break;
  88268. case 16:
  88269. // case
  88270. t1 = t1.right.accept$1(t2);
  88271. $async$temp1 = left;
  88272. $async$goto = 37;
  88273. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88274. case 37:
  88275. // returning from await.
  88276. t1 = $async$temp1.minus$1($async$result);
  88277. // goto after switch
  88278. $async$goto = 5;
  88279. break;
  88280. case 17:
  88281. // case
  88282. t1 = t1.right.accept$1(t2);
  88283. $async$temp1 = left;
  88284. $async$goto = 38;
  88285. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88286. case 38:
  88287. // returning from await.
  88288. t1 = $async$temp1.times$1($async$result);
  88289. // goto after switch
  88290. $async$goto = 5;
  88291. break;
  88292. case 18:
  88293. // case
  88294. t3 = t1.right.accept$1(t2);
  88295. $async$temp1 = t2;
  88296. $async$temp2 = left;
  88297. $async$goto = 39;
  88298. return A._asyncAwait(type$.Future_Value_2._is(t3) ? t3 : A._Future$value(t3, type$.Value_2), $async$call$0);
  88299. case 39:
  88300. // returning from await.
  88301. t1 = $async$temp1._async_evaluate0$_slash$3($async$temp2, $async$result, t1);
  88302. // goto after switch
  88303. $async$goto = 5;
  88304. break;
  88305. case 19:
  88306. // case
  88307. t1 = t1.right.accept$1(t2);
  88308. $async$temp1 = left;
  88309. $async$goto = 40;
  88310. return A._asyncAwait(type$.Future_Value_2._is(t1) ? t1 : A._Future$value(t1, type$.Value_2), $async$call$0);
  88311. case 40:
  88312. // returning from await.
  88313. t1 = $async$temp1.modulo$1($async$result);
  88314. // goto after switch
  88315. $async$goto = 5;
  88316. break;
  88317. case 20:
  88318. // default
  88319. t1 = null;
  88320. case 5:
  88321. // after switch
  88322. $async$returnValue = t1;
  88323. // goto return
  88324. $async$goto = 1;
  88325. break;
  88326. case 1:
  88327. // return
  88328. return A._asyncReturn($async$returnValue, $async$completer);
  88329. }
  88330. });
  88331. return A._asyncStartSync($async$call$0, $async$completer);
  88332. },
  88333. $signature: 70
  88334. };
  88335. A._EvaluateVisitor__slash_closure5.prototype = {
  88336. call$0() {
  88337. return this._1_0._0;
  88338. },
  88339. $signature: 32
  88340. };
  88341. A._EvaluateVisitor__slash_closure6.prototype = {
  88342. call$0() {
  88343. return this._1_0._1;
  88344. },
  88345. $signature: 32
  88346. };
  88347. A._EvaluateVisitor__slash_recommendation2.prototype = {
  88348. call$1(expression) {
  88349. var left, right, t1, _null = null;
  88350. $label0$0: {
  88351. if (expression instanceof A.BinaryOperationExpression0)
  88352. if (B.BinaryOperator_t8B0 === expression.operator) {
  88353. left = expression.left;
  88354. right = expression.right;
  88355. t1 = true;
  88356. } else {
  88357. right = _null;
  88358. left = right;
  88359. t1 = false;
  88360. }
  88361. else {
  88362. right = _null;
  88363. left = right;
  88364. t1 = false;
  88365. }
  88366. if (t1) {
  88367. t1 = "math.div(" + A.S(this.call$1(left)) + ", " + A.S(this.call$1(right)) + ")";
  88368. break $label0$0;
  88369. }
  88370. if (expression instanceof A.ParenthesizedExpression0) {
  88371. t1 = expression.expression.toString$0(0);
  88372. break $label0$0;
  88373. }
  88374. t1 = expression.toString$0(0);
  88375. break $label0$0;
  88376. }
  88377. return t1;
  88378. },
  88379. $signature: 137
  88380. };
  88381. A._EvaluateVisitor_visitVariableExpression_closure2.prototype = {
  88382. call$0() {
  88383. var t1 = this.node;
  88384. return this.$this._async_evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  88385. },
  88386. $signature: 46
  88387. };
  88388. A._EvaluateVisitor_visitUnaryOperationExpression_closure2.prototype = {
  88389. call$0() {
  88390. var t1, _this = this;
  88391. switch (_this.node.operator) {
  88392. case B.UnaryOperator_gg40:
  88393. t1 = _this.operand.unaryPlus$0();
  88394. break;
  88395. case B.UnaryOperator_TLI0:
  88396. t1 = _this.operand.unaryMinus$0();
  88397. break;
  88398. case B.UnaryOperator_Ix10:
  88399. t1 = new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  88400. break;
  88401. case B.UnaryOperator_not_not_not0:
  88402. t1 = _this.operand.unaryNot$0();
  88403. break;
  88404. default:
  88405. t1 = null;
  88406. }
  88407. return t1;
  88408. },
  88409. $signature: 32
  88410. };
  88411. A._EvaluateVisitor_visitListExpression_closure2.prototype = {
  88412. call$1(expression) {
  88413. return expression.accept$1(this.$this);
  88414. },
  88415. $signature: 368
  88416. };
  88417. A._EvaluateVisitor_visitFunctionExpression_closure8.prototype = {
  88418. call$0() {
  88419. var t1 = this.$this._async_evaluate0$_environment,
  88420. t2 = this.node;
  88421. return t1.getFunction$2$namespace(A.stringReplaceAllUnchecked(t2.originalName, "_", "-"), t2.namespace);
  88422. },
  88423. $signature: 106
  88424. };
  88425. A._EvaluateVisitor_visitFunctionExpression_closure9.prototype = {
  88426. call$1(argument) {
  88427. return argument.accept$1(new A._IsCalculationSafeVisitor0());
  88428. },
  88429. $signature: 136
  88430. };
  88431. A._EvaluateVisitor_visitFunctionExpression_closure10.prototype = {
  88432. call$0() {
  88433. var t1 = this.node;
  88434. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  88435. },
  88436. $signature: 70
  88437. };
  88438. A._EvaluateVisitor__checkCalculationArguments_check2.prototype = {
  88439. call$1(maxArgs) {
  88440. var t1 = this.node,
  88441. t2 = t1.$arguments.positional.length;
  88442. if (t2 === 0)
  88443. throw A.wrapException(this.$this._async_evaluate0$_exception$2("Missing argument.", t1.span));
  88444. else if (maxArgs != null && t2 > maxArgs)
  88445. throw A.wrapException(this.$this._async_evaluate0$_exception$2("Only " + A.S(maxArgs) + " " + A.pluralize0("argument", maxArgs, null) + " allowed, but " + t2 + " " + A.pluralize0("was", t2, "were") + " passed.", t1.span));
  88446. },
  88447. call$0() {
  88448. return this.call$1(null);
  88449. },
  88450. $signature: 86
  88451. };
  88452. A._EvaluateVisitor__visitCalculationExpression_closure2.prototype = {
  88453. call$0() {
  88454. var $async$goto = 0,
  88455. $async$completer = A._makeAsyncAwaitCompleter(type$.Object),
  88456. $async$returnValue, $async$self = this, t1, t2, t3, $async$temp1, $async$temp2, $async$temp3;
  88457. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88458. if ($async$errorCode === 1)
  88459. return A._asyncRethrow($async$result, $async$completer);
  88460. while (true)
  88461. switch ($async$goto) {
  88462. case 0:
  88463. // Function start
  88464. t1 = $async$self.$this;
  88465. t2 = $async$self._box_0;
  88466. t3 = $async$self.inLegacySassFunction;
  88467. $async$temp1 = A;
  88468. $async$temp2 = t1._async_evaluate0$_binaryOperatorToCalculationOperator$2(t2.operator, $async$self.node);
  88469. $async$goto = 3;
  88470. return A._asyncAwait(t1._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.left, t3), $async$call$0);
  88471. case 3:
  88472. // returning from await.
  88473. $async$temp3 = $async$result;
  88474. $async$goto = 4;
  88475. return A._asyncAwait(t1._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.right, t3), $async$call$0);
  88476. case 4:
  88477. // returning from await.
  88478. $async$returnValue = $async$temp1.SassCalculation_operateInternal0($async$temp2, $async$temp3, $async$result, t3, !t1._async_evaluate0$_inSupportsDeclaration);
  88479. // goto return
  88480. $async$goto = 1;
  88481. break;
  88482. case 1:
  88483. // return
  88484. return A._asyncReturn($async$returnValue, $async$completer);
  88485. }
  88486. });
  88487. return A._asyncStartSync($async$call$0, $async$completer);
  88488. },
  88489. $signature: 152
  88490. };
  88491. A._EvaluateVisitor__checkAdjacentCalculationValues_closure2.prototype = {
  88492. call$0() {
  88493. return type$.UnaryOperationExpression_2._as(this._0_0).operator;
  88494. },
  88495. $signature: 122
  88496. };
  88497. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2.prototype = {
  88498. call$0() {
  88499. var t1 = this.node;
  88500. return this.$this._async_evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  88501. },
  88502. $signature: 70
  88503. };
  88504. A._EvaluateVisitor__runUserDefinedCallable_closure2.prototype = {
  88505. call$0() {
  88506. var _this = this,
  88507. t1 = _this.$this,
  88508. t2 = _this.callable,
  88509. t3 = _this.V;
  88510. 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);
  88511. },
  88512. $signature() {
  88513. return this.V._eval$1("Future<0>()");
  88514. }
  88515. };
  88516. A._EvaluateVisitor__runUserDefinedCallable__closure2.prototype = {
  88517. call$0() {
  88518. var _this = this,
  88519. t1 = _this.$this,
  88520. t2 = _this.V;
  88521. return t1._async_evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure2(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  88522. },
  88523. $signature() {
  88524. return this.V._eval$1("Future<0>()");
  88525. }
  88526. };
  88527. A._EvaluateVisitor__runUserDefinedCallable___closure2.prototype = {
  88528. call$0() {
  88529. return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure0(this.V);
  88530. },
  88531. $call$body$_EvaluateVisitor__runUserDefinedCallable___closure0($async$type) {
  88532. var $async$goto = 0,
  88533. $async$completer = A._makeAsyncAwaitCompleter($async$type),
  88534. $async$returnValue, $async$self = this, declaredArguments, t5, minLength, i, argument, t6, t7, value, t8, restArgument, rest, argumentList, result, t1, t2, t3, t4, $async$temp1;
  88535. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88536. if ($async$errorCode === 1)
  88537. return A._asyncRethrow($async$result, $async$completer);
  88538. while (true)
  88539. switch ($async$goto) {
  88540. case 0:
  88541. // Function start
  88542. t1 = $async$self.$this;
  88543. t2 = $async$self.evaluated._values;
  88544. t3 = $async$self.callable.declaration.$arguments;
  88545. t4 = $async$self.nodeWithSpan;
  88546. t1._async_evaluate0$_verifyArguments$4(J.get$length$asx(t2[2]), t2[0], t3, t4);
  88547. declaredArguments = t3.$arguments;
  88548. t5 = declaredArguments.length;
  88549. minLength = Math.min(J.get$length$asx(t2[2]), t5);
  88550. for (i = 0; i < minLength; ++i)
  88551. t1._async_evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, J.$index$asx(t2[2], i), J.$index$asx(t2[3], i));
  88552. i = J.get$length$asx(t2[2]);
  88553. case 3:
  88554. // for condition
  88555. if (!(i < t5)) {
  88556. // goto after for
  88557. $async$goto = 5;
  88558. break;
  88559. }
  88560. argument = declaredArguments[i];
  88561. t6 = t2[0];
  88562. t7 = argument.name;
  88563. value = J.remove$1$z(t6, t7);
  88564. $async$goto = value == null ? 6 : 7;
  88565. break;
  88566. case 6:
  88567. // then
  88568. t6 = argument.defaultValue;
  88569. $async$temp1 = t1;
  88570. $async$goto = 8;
  88571. return A._asyncAwait(t6.accept$1(t1), $async$call$0);
  88572. case 8:
  88573. // returning from await.
  88574. value = $async$temp1._async_evaluate0$_withoutSlash$2($async$result, t1._async_evaluate0$_expressionNode$1(t6));
  88575. case 7:
  88576. // join
  88577. t6 = t1._async_evaluate0$_environment;
  88578. t8 = J.$index$asx(t2[1], t7);
  88579. if (t8 == null) {
  88580. t8 = argument.defaultValue;
  88581. t8.toString;
  88582. t8 = t1._async_evaluate0$_expressionNode$1(t8);
  88583. }
  88584. t6.setLocalVariable$3(t7, value, t8);
  88585. case 4:
  88586. // for update
  88587. ++i;
  88588. // goto for condition
  88589. $async$goto = 3;
  88590. break;
  88591. case 5:
  88592. // after for
  88593. restArgument = t3.restArgument;
  88594. if (restArgument != null) {
  88595. rest = J.get$length$asx(t2[2]) > t5 ? J.sublist$1$ax(t2[2], t5) : B.List_empty19;
  88596. t5 = t2[0];
  88597. t6 = t2[4];
  88598. argumentList = A.SassArgumentList$0(rest, t5, t6 === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_rXA0 : t6);
  88599. t1._async_evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t4);
  88600. } else
  88601. argumentList = null;
  88602. $async$goto = 9;
  88603. return A._asyncAwait($async$self.run.call$0(), $async$call$0);
  88604. case 9:
  88605. // returning from await.
  88606. result = $async$result;
  88607. if (argumentList == null) {
  88608. $async$returnValue = result;
  88609. // goto return
  88610. $async$goto = 1;
  88611. break;
  88612. }
  88613. if (J.get$isEmpty$asx(t2[0])) {
  88614. $async$returnValue = result;
  88615. // goto return
  88616. $async$goto = 1;
  88617. break;
  88618. }
  88619. if (argumentList._argument_list$_wereKeywordsAccessed) {
  88620. $async$returnValue = result;
  88621. // goto return
  88622. $async$goto = 1;
  88623. break;
  88624. }
  88625. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + A.pluralize0("argument", J.get$length$asx(J.get$keys$z(t2[0])), null) + " named " + A.toSentence0(J.map$1$1$ax(J.get$keys$z(t2[0]), new A._EvaluateVisitor__runUserDefinedCallable____closure2(), type$.Object), "or") + ".", t4.get$span(t4), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t3.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._async_evaluate0$_stackTrace$1(t4.get$span(t4)), null));
  88626. case 1:
  88627. // return
  88628. return A._asyncReturn($async$returnValue, $async$completer);
  88629. }
  88630. });
  88631. return A._asyncStartSync($async$call$0, $async$completer);
  88632. },
  88633. $signature() {
  88634. return this.V._eval$1("Future<0>()");
  88635. }
  88636. };
  88637. A._EvaluateVisitor__runUserDefinedCallable____closure2.prototype = {
  88638. call$1($name) {
  88639. return "$" + $name;
  88640. },
  88641. $signature: 7
  88642. };
  88643. A._EvaluateVisitor__runFunctionCallable_closure2.prototype = {
  88644. call$0() {
  88645. var $async$goto = 0,
  88646. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  88647. $async$returnValue, $async$self = this, t1, t2, t3, t4, _i, $returnValue;
  88648. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88649. if ($async$errorCode === 1)
  88650. return A._asyncRethrow($async$result, $async$completer);
  88651. while (true)
  88652. switch ($async$goto) {
  88653. case 0:
  88654. // Function start
  88655. t1 = $async$self.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = $async$self.$this, _i = 0;
  88656. case 3:
  88657. // for condition
  88658. if (!(_i < t3)) {
  88659. // goto after for
  88660. $async$goto = 5;
  88661. break;
  88662. }
  88663. $async$goto = 6;
  88664. return A._asyncAwait(t2[_i].accept$1(t4), $async$call$0);
  88665. case 6:
  88666. // returning from await.
  88667. $returnValue = $async$result;
  88668. if ($returnValue instanceof A.Value0) {
  88669. $async$returnValue = $returnValue;
  88670. // goto return
  88671. $async$goto = 1;
  88672. break;
  88673. }
  88674. case 4:
  88675. // for update
  88676. ++_i;
  88677. // goto for condition
  88678. $async$goto = 3;
  88679. break;
  88680. case 5:
  88681. // after for
  88682. throw A.wrapException(t4._async_evaluate0$_exception$2("Function finished without @return.", t1.span));
  88683. case 1:
  88684. // return
  88685. return A._asyncReturn($async$returnValue, $async$completer);
  88686. }
  88687. });
  88688. return A._asyncStartSync($async$call$0, $async$completer);
  88689. },
  88690. $signature: 70
  88691. };
  88692. A._EvaluateVisitor__runBuiltInCallable_closure8.prototype = {
  88693. call$0() {
  88694. return this._box_0.overload.verify$2(J.get$length$asx(this.evaluated._values[2]), this.namedSet);
  88695. },
  88696. $signature: 0
  88697. };
  88698. A._EvaluateVisitor__runBuiltInCallable_closure9.prototype = {
  88699. call$0() {
  88700. return this._box_0.callback.call$1(this.evaluated._values[2]);
  88701. },
  88702. $signature: 371
  88703. };
  88704. A._EvaluateVisitor__runBuiltInCallable_closure10.prototype = {
  88705. call$1($name) {
  88706. return "$" + $name;
  88707. },
  88708. $signature: 7
  88709. };
  88710. A._EvaluateVisitor__evaluateArguments_closure11.prototype = {
  88711. call$1(value) {
  88712. return value;
  88713. },
  88714. $signature: 45
  88715. };
  88716. A._EvaluateVisitor__evaluateArguments_closure12.prototype = {
  88717. call$1(value) {
  88718. return this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  88719. },
  88720. $signature: 45
  88721. };
  88722. A._EvaluateVisitor__evaluateArguments_closure13.prototype = {
  88723. call$2(key, value) {
  88724. var _this = this,
  88725. t1 = _this.restNodeForSpan;
  88726. _this.named.$indexSet(0, key, _this.$this._async_evaluate0$_withoutSlash$2(value, t1));
  88727. _this.namedNodes.$indexSet(0, key, t1);
  88728. },
  88729. $signature: 112
  88730. };
  88731. A._EvaluateVisitor__evaluateArguments_closure14.prototype = {
  88732. call$1(value) {
  88733. return value;
  88734. },
  88735. $signature: 45
  88736. };
  88737. A._EvaluateVisitor__evaluateMacroArguments_closure11.prototype = {
  88738. call$1(value) {
  88739. var t1 = this.restArgs;
  88740. return new A.ValueExpression0(value, t1.get$span(t1));
  88741. },
  88742. $signature: 58
  88743. };
  88744. A._EvaluateVisitor__evaluateMacroArguments_closure12.prototype = {
  88745. call$1(value) {
  88746. var t1 = this.restArgs;
  88747. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  88748. },
  88749. $signature: 58
  88750. };
  88751. A._EvaluateVisitor__evaluateMacroArguments_closure13.prototype = {
  88752. call$2(key, value) {
  88753. var _this = this,
  88754. t1 = _this.restArgs;
  88755. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._async_evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  88756. },
  88757. $signature: 112
  88758. };
  88759. A._EvaluateVisitor__evaluateMacroArguments_closure14.prototype = {
  88760. call$1(value) {
  88761. var t1 = this.keywordRestArgs;
  88762. return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  88763. },
  88764. $signature: 58
  88765. };
  88766. A._EvaluateVisitor__addRestMap_closure2.prototype = {
  88767. call$2(key, value) {
  88768. var t2, _this = this,
  88769. t1 = _this.$this;
  88770. if (key instanceof A.SassString0)
  88771. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._async_evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  88772. else {
  88773. t2 = _this.nodeWithSpan;
  88774. 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)));
  88775. }
  88776. },
  88777. $signature: 105
  88778. };
  88779. A._EvaluateVisitor__verifyArguments_closure2.prototype = {
  88780. call$0() {
  88781. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  88782. },
  88783. $signature: 0
  88784. };
  88785. A._EvaluateVisitor_visitCssAtRule_closure5.prototype = {
  88786. call$0() {
  88787. var $async$goto = 0,
  88788. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  88789. $async$self = this, t1, t2, t3, t4;
  88790. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88791. if ($async$errorCode === 1)
  88792. return A._asyncRethrow($async$result, $async$completer);
  88793. while (true)
  88794. switch ($async$goto) {
  88795. case 0:
  88796. // Function start
  88797. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  88798. case 2:
  88799. // for condition
  88800. if (!t1.moveNext$0()) {
  88801. // goto after for
  88802. $async$goto = 3;
  88803. break;
  88804. }
  88805. t4 = t1.__internal$_current;
  88806. $async$goto = 4;
  88807. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  88808. case 4:
  88809. // returning from await.
  88810. // goto for condition
  88811. $async$goto = 2;
  88812. break;
  88813. case 3:
  88814. // after for
  88815. // implicit return
  88816. return A._asyncReturn(null, $async$completer);
  88817. }
  88818. });
  88819. return A._asyncStartSync($async$call$0, $async$completer);
  88820. },
  88821. $signature: 4
  88822. };
  88823. A._EvaluateVisitor_visitCssAtRule_closure6.prototype = {
  88824. call$1(node) {
  88825. return node instanceof A.ModifiableCssStyleRule0;
  88826. },
  88827. $signature: 8
  88828. };
  88829. A._EvaluateVisitor_visitCssKeyframeBlock_closure5.prototype = {
  88830. call$0() {
  88831. var $async$goto = 0,
  88832. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  88833. $async$self = this, t1, t2, t3, t4;
  88834. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88835. if ($async$errorCode === 1)
  88836. return A._asyncRethrow($async$result, $async$completer);
  88837. while (true)
  88838. switch ($async$goto) {
  88839. case 0:
  88840. // Function start
  88841. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  88842. case 2:
  88843. // for condition
  88844. if (!t1.moveNext$0()) {
  88845. // goto after for
  88846. $async$goto = 3;
  88847. break;
  88848. }
  88849. t4 = t1.__internal$_current;
  88850. $async$goto = 4;
  88851. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  88852. case 4:
  88853. // returning from await.
  88854. // goto for condition
  88855. $async$goto = 2;
  88856. break;
  88857. case 3:
  88858. // after for
  88859. // implicit return
  88860. return A._asyncReturn(null, $async$completer);
  88861. }
  88862. });
  88863. return A._asyncStartSync($async$call$0, $async$completer);
  88864. },
  88865. $signature: 4
  88866. };
  88867. A._EvaluateVisitor_visitCssKeyframeBlock_closure6.prototype = {
  88868. call$1(node) {
  88869. return node instanceof A.ModifiableCssStyleRule0;
  88870. },
  88871. $signature: 8
  88872. };
  88873. A._EvaluateVisitor_visitCssMediaRule_closure8.prototype = {
  88874. call$1(mediaQueries) {
  88875. return this.$this._async_evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  88876. },
  88877. $signature: 89
  88878. };
  88879. A._EvaluateVisitor_visitCssMediaRule_closure9.prototype = {
  88880. call$0() {
  88881. var $async$goto = 0,
  88882. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  88883. $async$self = this, t1, t2;
  88884. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88885. if ($async$errorCode === 1)
  88886. return A._asyncRethrow($async$result, $async$completer);
  88887. while (true)
  88888. switch ($async$goto) {
  88889. case 0:
  88890. // Function start
  88891. t1 = $async$self.$this;
  88892. t2 = $async$self.mergedQueries;
  88893. if (t2 == null)
  88894. t2 = $async$self.node.queries;
  88895. $async$goto = 2;
  88896. 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);
  88897. case 2:
  88898. // returning from await.
  88899. // implicit return
  88900. return A._asyncReturn(null, $async$completer);
  88901. }
  88902. });
  88903. return A._asyncStartSync($async$call$0, $async$completer);
  88904. },
  88905. $signature: 4
  88906. };
  88907. A._EvaluateVisitor_visitCssMediaRule__closure2.prototype = {
  88908. call$0() {
  88909. var $async$goto = 0,
  88910. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  88911. $async$self = this, styleRule, t2, t3, t4, t1, _0_0;
  88912. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88913. if ($async$errorCode === 1)
  88914. return A._asyncRethrow($async$result, $async$completer);
  88915. while (true)
  88916. switch ($async$goto) {
  88917. case 0:
  88918. // Function start
  88919. t1 = $async$self.$this;
  88920. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  88921. if (_0_0 != null) {
  88922. styleRule = _0_0;
  88923. t2 = true;
  88924. } else {
  88925. styleRule = null;
  88926. t2 = false;
  88927. }
  88928. $async$goto = t2 ? 2 : 4;
  88929. break;
  88930. case 2:
  88931. // then
  88932. $async$goto = 5;
  88933. return A._asyncAwait(t1._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule._style_rule0$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure2(t1, $async$self.node), false, type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  88934. case 5:
  88935. // returning from await.
  88936. // goto join
  88937. $async$goto = 3;
  88938. break;
  88939. case 4:
  88940. // else
  88941. t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
  88942. case 6:
  88943. // for condition
  88944. if (!t2.moveNext$0()) {
  88945. // goto after for
  88946. $async$goto = 7;
  88947. break;
  88948. }
  88949. t4 = t2.__internal$_current;
  88950. $async$goto = 8;
  88951. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  88952. case 8:
  88953. // returning from await.
  88954. // goto for condition
  88955. $async$goto = 6;
  88956. break;
  88957. case 7:
  88958. // after for
  88959. case 3:
  88960. // join
  88961. // implicit return
  88962. return A._asyncReturn(null, $async$completer);
  88963. }
  88964. });
  88965. return A._asyncStartSync($async$call$0, $async$completer);
  88966. },
  88967. $signature: 4
  88968. };
  88969. A._EvaluateVisitor_visitCssMediaRule___closure2.prototype = {
  88970. call$0() {
  88971. var $async$goto = 0,
  88972. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  88973. $async$self = this, t1, t2, t3, t4;
  88974. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  88975. if ($async$errorCode === 1)
  88976. return A._asyncRethrow($async$result, $async$completer);
  88977. while (true)
  88978. switch ($async$goto) {
  88979. case 0:
  88980. // Function start
  88981. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  88982. case 2:
  88983. // for condition
  88984. if (!t1.moveNext$0()) {
  88985. // goto after for
  88986. $async$goto = 3;
  88987. break;
  88988. }
  88989. t4 = t1.__internal$_current;
  88990. $async$goto = 4;
  88991. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  88992. case 4:
  88993. // returning from await.
  88994. // goto for condition
  88995. $async$goto = 2;
  88996. break;
  88997. case 3:
  88998. // after for
  88999. // implicit return
  89000. return A._asyncReturn(null, $async$completer);
  89001. }
  89002. });
  89003. return A._asyncStartSync($async$call$0, $async$completer);
  89004. },
  89005. $signature: 4
  89006. };
  89007. A._EvaluateVisitor_visitCssMediaRule_closure10.prototype = {
  89008. call$1(node) {
  89009. var t1;
  89010. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  89011. t1 = this.mergedSources;
  89012. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  89013. } else
  89014. t1 = true;
  89015. return t1;
  89016. },
  89017. $signature: 8
  89018. };
  89019. A._EvaluateVisitor_visitCssStyleRule_closure8.prototype = {
  89020. call$0() {
  89021. var $async$goto = 0,
  89022. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89023. $async$self = this, t1;
  89024. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89025. if ($async$errorCode === 1)
  89026. return A._asyncRethrow($async$result, $async$completer);
  89027. while (true)
  89028. switch ($async$goto) {
  89029. case 0:
  89030. // Function start
  89031. t1 = $async$self.$this;
  89032. $async$goto = 2;
  89033. 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);
  89034. case 2:
  89035. // returning from await.
  89036. // implicit return
  89037. return A._asyncReturn(null, $async$completer);
  89038. }
  89039. });
  89040. return A._asyncStartSync($async$call$0, $async$completer);
  89041. },
  89042. $signature: 4
  89043. };
  89044. A._EvaluateVisitor_visitCssStyleRule__closure2.prototype = {
  89045. call$0() {
  89046. var $async$goto = 0,
  89047. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89048. $async$self = this, t1, t2, t3, t4;
  89049. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89050. if ($async$errorCode === 1)
  89051. return A._asyncRethrow($async$result, $async$completer);
  89052. while (true)
  89053. switch ($async$goto) {
  89054. case 0:
  89055. // Function start
  89056. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  89057. case 2:
  89058. // for condition
  89059. if (!t1.moveNext$0()) {
  89060. // goto after for
  89061. $async$goto = 3;
  89062. break;
  89063. }
  89064. t4 = t1.__internal$_current;
  89065. $async$goto = 4;
  89066. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  89067. case 4:
  89068. // returning from await.
  89069. // goto for condition
  89070. $async$goto = 2;
  89071. break;
  89072. case 3:
  89073. // after for
  89074. // implicit return
  89075. return A._asyncReturn(null, $async$completer);
  89076. }
  89077. });
  89078. return A._asyncStartSync($async$call$0, $async$completer);
  89079. },
  89080. $signature: 4
  89081. };
  89082. A._EvaluateVisitor_visitCssStyleRule_closure9.prototype = {
  89083. call$1(node) {
  89084. return node instanceof A.ModifiableCssStyleRule0;
  89085. },
  89086. $signature: 8
  89087. };
  89088. A._EvaluateVisitor_visitCssStyleRule_closure10.prototype = {
  89089. call$0() {
  89090. return J.get$length$asx(this._0_0._collection$_source);
  89091. },
  89092. $signature: 3
  89093. };
  89094. A._EvaluateVisitor_visitCssSupportsRule_closure5.prototype = {
  89095. call$0() {
  89096. var $async$goto = 0,
  89097. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89098. $async$self = this, styleRule, t2, t3, t4, t1, _0_0;
  89099. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89100. if ($async$errorCode === 1)
  89101. return A._asyncRethrow($async$result, $async$completer);
  89102. while (true)
  89103. switch ($async$goto) {
  89104. case 0:
  89105. // Function start
  89106. t1 = $async$self.$this;
  89107. _0_0 = t1._async_evaluate0$_atRootExcludingStyleRule ? null : t1._async_evaluate0$_styleRuleIgnoringAtRoot;
  89108. if (_0_0 != null) {
  89109. styleRule = _0_0;
  89110. t2 = true;
  89111. } else {
  89112. styleRule = null;
  89113. t2 = false;
  89114. }
  89115. $async$goto = t2 ? 2 : 4;
  89116. break;
  89117. case 2:
  89118. // then
  89119. $async$goto = 5;
  89120. return A._asyncAwait(t1._async_evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(styleRule._style_rule0$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure2(t1, $async$self.node), type$.ModifiableCssStyleRule_2, type$.Null), $async$call$0);
  89121. case 5:
  89122. // returning from await.
  89123. // goto join
  89124. $async$goto = 3;
  89125. break;
  89126. case 4:
  89127. // else
  89128. t2 = $async$self.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1;
  89129. case 6:
  89130. // for condition
  89131. if (!t2.moveNext$0()) {
  89132. // goto after for
  89133. $async$goto = 7;
  89134. break;
  89135. }
  89136. t4 = t2.__internal$_current;
  89137. $async$goto = 8;
  89138. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t1), $async$call$0);
  89139. case 8:
  89140. // returning from await.
  89141. // goto for condition
  89142. $async$goto = 6;
  89143. break;
  89144. case 7:
  89145. // after for
  89146. case 3:
  89147. // join
  89148. // implicit return
  89149. return A._asyncReturn(null, $async$completer);
  89150. }
  89151. });
  89152. return A._asyncStartSync($async$call$0, $async$completer);
  89153. },
  89154. $signature: 4
  89155. };
  89156. A._EvaluateVisitor_visitCssSupportsRule__closure2.prototype = {
  89157. call$0() {
  89158. var $async$goto = 0,
  89159. $async$completer = A._makeAsyncAwaitCompleter(type$.Null),
  89160. $async$self = this, t1, t2, t3, t4;
  89161. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89162. if ($async$errorCode === 1)
  89163. return A._asyncRethrow($async$result, $async$completer);
  89164. while (true)
  89165. switch ($async$goto) {
  89166. case 0:
  89167. // Function start
  89168. t1 = $async$self.node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = $async$self.$this, t3 = A._instanceType(t1)._precomputed1;
  89169. case 2:
  89170. // for condition
  89171. if (!t1.moveNext$0()) {
  89172. // goto after for
  89173. $async$goto = 3;
  89174. break;
  89175. }
  89176. t4 = t1.__internal$_current;
  89177. $async$goto = 4;
  89178. return A._asyncAwait((t4 == null ? t3._as(t4) : t4).accept$1(t2), $async$call$0);
  89179. case 4:
  89180. // returning from await.
  89181. // goto for condition
  89182. $async$goto = 2;
  89183. break;
  89184. case 3:
  89185. // after for
  89186. // implicit return
  89187. return A._asyncReturn(null, $async$completer);
  89188. }
  89189. });
  89190. return A._asyncStartSync($async$call$0, $async$completer);
  89191. },
  89192. $signature: 4
  89193. };
  89194. A._EvaluateVisitor_visitCssSupportsRule_closure6.prototype = {
  89195. call$1(node) {
  89196. return node instanceof A.ModifiableCssStyleRule0;
  89197. },
  89198. $signature: 8
  89199. };
  89200. A._EvaluateVisitor__performInterpolationHelper_closure2.prototype = {
  89201. call$1(targetLocations) {
  89202. return A.InterpolationMap$0(this.interpolation, targetLocations);
  89203. },
  89204. $signature: 212
  89205. };
  89206. A._EvaluateVisitor__serialize_closure2.prototype = {
  89207. call$0() {
  89208. return A.serializeValue0(this.value, false, this.quote);
  89209. },
  89210. $signature: 21
  89211. };
  89212. A._EvaluateVisitor__expressionNode_closure2.prototype = {
  89213. call$0() {
  89214. var t1 = this.expression;
  89215. return this.$this._async_evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  89216. },
  89217. $signature: 213
  89218. };
  89219. A._EvaluateVisitor__withoutSlash_recommendation2.prototype = {
  89220. call$1(number) {
  89221. var t1, before, after,
  89222. _1_0 = number.asSlash;
  89223. $label0$0: {
  89224. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  89225. t1 = type$.SassNumber_2;
  89226. before = t1._as(_1_0._0);
  89227. after = t1._as(_1_0._1);
  89228. t1 = true;
  89229. } else {
  89230. before = null;
  89231. after = null;
  89232. t1 = false;
  89233. }
  89234. if (t1) {
  89235. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  89236. break $label0$0;
  89237. }
  89238. t1 = A.serializeValue0(number, true, true);
  89239. break $label0$0;
  89240. }
  89241. return t1;
  89242. },
  89243. $signature: 214
  89244. };
  89245. A._EvaluateVisitor__stackFrame_closure2.prototype = {
  89246. call$1(url) {
  89247. var t1 = this.$this._async_evaluate0$_importCache;
  89248. t1 = t1 == null ? null : t1.humanize$1(url);
  89249. return t1 == null ? url : t1;
  89250. },
  89251. $signature: 49
  89252. };
  89253. A._ImportedCssVisitor2.prototype = {
  89254. visitCssAtRule$1(node) {
  89255. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure2();
  89256. this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, t1);
  89257. },
  89258. visitCssComment$1(node) {
  89259. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$1(node);
  89260. },
  89261. visitCssDeclaration$1(node) {
  89262. },
  89263. visitCssImport$1(node) {
  89264. var t2,
  89265. _s13_ = "_endOfImports",
  89266. t1 = this._async_evaluate0$_visitor;
  89267. if (t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__parent, "__parent") !== t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__root, "_root"))
  89268. t1._async_evaluate0$_addChild$1(node);
  89269. 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)) {
  89270. t1._async_evaluate0$_addChild$1(node);
  89271. t1._async_evaluate0$__endOfImports = t1._async_evaluate0$_assertInModule$2(t1._async_evaluate0$__endOfImports, _s13_) + 1;
  89272. } else {
  89273. t2 = t1._async_evaluate0$_outOfOrderImports;
  89274. (t2 == null ? t1._async_evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  89275. }
  89276. },
  89277. visitCssKeyframeBlock$1(node) {
  89278. },
  89279. visitCssMediaRule$1(node) {
  89280. var t1 = this._async_evaluate0$_visitor,
  89281. mediaQueries = t1._async_evaluate0$_mediaQueries;
  89282. t1._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure2(mediaQueries == null || t1._async_evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  89283. },
  89284. visitCssStyleRule$1(node) {
  89285. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure2());
  89286. },
  89287. visitCssStylesheet$1(node) {
  89288. var t1, t2, t3;
  89289. for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  89290. t3 = t1.__internal$_current;
  89291. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  89292. }
  89293. },
  89294. visitCssSupportsRule$1(node) {
  89295. return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure2());
  89296. }
  89297. };
  89298. A._ImportedCssVisitor_visitCssAtRule_closure2.prototype = {
  89299. call$1(node) {
  89300. return node instanceof A.ModifiableCssStyleRule0;
  89301. },
  89302. $signature: 8
  89303. };
  89304. A._ImportedCssVisitor_visitCssMediaRule_closure2.prototype = {
  89305. call$1(node) {
  89306. var t1;
  89307. if (!(node instanceof A.ModifiableCssStyleRule0))
  89308. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule0;
  89309. else
  89310. t1 = true;
  89311. return t1;
  89312. },
  89313. $signature: 8
  89314. };
  89315. A._ImportedCssVisitor_visitCssStyleRule_closure2.prototype = {
  89316. call$1(node) {
  89317. return node instanceof A.ModifiableCssStyleRule0;
  89318. },
  89319. $signature: 8
  89320. };
  89321. A._ImportedCssVisitor_visitCssSupportsRule_closure2.prototype = {
  89322. call$1(node) {
  89323. return node instanceof A.ModifiableCssStyleRule0;
  89324. },
  89325. $signature: 8
  89326. };
  89327. A._EvaluationContext2.prototype = {
  89328. get$currentCallableSpan() {
  89329. var callableNode, t1,
  89330. _0_0 = this._async_evaluate0$_visitor._async_evaluate0$_callableNode;
  89331. if (_0_0 != null) {
  89332. callableNode = _0_0;
  89333. t1 = true;
  89334. } else {
  89335. callableNode = null;
  89336. t1 = false;
  89337. }
  89338. if (t1)
  89339. return callableNode.get$span(callableNode);
  89340. throw A.wrapException(A.StateError$(string$.No_Sasc));
  89341. },
  89342. warn$2(_, message, deprecation) {
  89343. var t1 = this._async_evaluate0$_visitor,
  89344. t2 = t1._async_evaluate0$_importSpan;
  89345. if (t2 == null) {
  89346. t2 = t1._async_evaluate0$_callableNode;
  89347. t2 = t2 == null ? null : t2.get$span(t2);
  89348. }
  89349. t1._async_evaluate0$_warn$3(message, t2 == null ? this._async_evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  89350. },
  89351. $isEvaluationContext0: 1
  89352. };
  89353. A.JSToDartAsyncFileImporter.prototype = {
  89354. canonicalize$1(_, url) {
  89355. return this.canonicalize$body$JSToDartAsyncFileImporter(0, url);
  89356. },
  89357. canonicalize$body$JSToDartAsyncFileImporter(_, url) {
  89358. var $async$goto = 0,
  89359. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Uri),
  89360. $async$returnValue, $async$self = this, result, t1, resultUrl;
  89361. var $async$canonicalize$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89362. if ($async$errorCode === 1)
  89363. return A._asyncRethrow($async$result, $async$completer);
  89364. while (true)
  89365. switch ($async$goto) {
  89366. case 0:
  89367. // Function start
  89368. if (url.get$scheme() === "file") {
  89369. $async$returnValue = $.$get$_filesystemImporter().canonicalize$1(0, url);
  89370. // goto return
  89371. $async$goto = 1;
  89372. break;
  89373. }
  89374. result = A.wrapJSExceptions(new A.JSToDartAsyncFileImporter_canonicalize_closure($async$self, url));
  89375. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  89376. break;
  89377. case 3:
  89378. // then
  89379. $async$goto = 5;
  89380. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.nullable_Object), $async$canonicalize$1);
  89381. case 5:
  89382. // returning from await.
  89383. result = $async$result;
  89384. case 4:
  89385. // join
  89386. if (result == null) {
  89387. $async$returnValue = null;
  89388. // goto return
  89389. $async$goto = 1;
  89390. break;
  89391. }
  89392. t1 = self.URL;
  89393. if (!(result instanceof t1))
  89394. A.jsThrow(new self.Error(string$.The_fie));
  89395. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  89396. if (resultUrl.get$scheme() !== "file")
  89397. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  89398. $async$returnValue = $.$get$_filesystemImporter().canonicalize$1(0, resultUrl);
  89399. // goto return
  89400. $async$goto = 1;
  89401. break;
  89402. case 1:
  89403. // return
  89404. return A._asyncReturn($async$returnValue, $async$completer);
  89405. }
  89406. });
  89407. return A._asyncStartSync($async$canonicalize$1, $async$completer);
  89408. },
  89409. load$1(_, url) {
  89410. return $.$get$_filesystemImporter().load$1(0, url);
  89411. },
  89412. isNonCanonicalScheme$1(scheme) {
  89413. return scheme !== "file";
  89414. }
  89415. };
  89416. A.JSToDartAsyncFileImporter_canonicalize_closure.prototype = {
  89417. call$0() {
  89418. return this.$this._findFileUrl.call$2(this.url.toString$0(0), {fromImport: A.fromImport0(), containingUrl: A.NullableExtension_andThen0(A.containingUrl(), A.utils1__dartToJSUrl$closure())});
  89419. },
  89420. $signature: 29
  89421. };
  89422. A.AsyncImportCache0.prototype = {
  89423. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  89424. return this.canonicalize$body$AsyncImportCache0(0, url, baseImporter, baseUrl, forImport);
  89425. },
  89426. canonicalize$body$AsyncImportCache0(_, url, baseImporter, baseUrl, forImport) {
  89427. var $async$goto = 0,
  89428. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),
  89429. $async$returnValue, $async$self = this, t1, relativeResult;
  89430. var $async$canonicalize$4$baseImporter$baseUrl$forImport = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89431. if ($async$errorCode === 1)
  89432. return A._asyncRethrow($async$result, $async$completer);
  89433. while (true)
  89434. switch ($async$goto) {
  89435. case 0:
  89436. // Function start
  89437. if (A.isBrowser())
  89438. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter0) && $async$self._async_import_cache0$_importers.length === 0;
  89439. else
  89440. t1 = false;
  89441. if (t1)
  89442. throw A.wrapException(string$.Custom);
  89443. $async$goto = baseImporter != null && url.get$scheme() === "" ? 3 : 4;
  89444. break;
  89445. case 3:
  89446. // then
  89447. $async$goto = 5;
  89448. return A._asyncAwait(A.putIfAbsentAsync0($async$self._async_import_cache0$_relativeCanonicalizeCache, new A._Record_4_baseImporter_baseUrl_forImport([url, baseImporter, baseUrl, forImport]), new A.AsyncImportCache_canonicalize_closure1($async$self, baseImporter, baseUrl, url, forImport), type$.Record_4_Uri_and_AsyncImporter_baseImporter_and_nullable_Uri_baseUrl_and_bool_forImport_2, type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  89449. case 5:
  89450. // returning from await.
  89451. relativeResult = $async$result;
  89452. if (relativeResult != null) {
  89453. $async$returnValue = relativeResult;
  89454. // goto return
  89455. $async$goto = 1;
  89456. break;
  89457. }
  89458. case 4:
  89459. // join
  89460. $async$goto = 6;
  89461. return A._asyncAwait(A.putIfAbsentAsync0($async$self._async_import_cache0$_canonicalizeCache, new A._Record_2_forImport(url, forImport), new A.AsyncImportCache_canonicalize_closure2($async$self, url, baseUrl, forImport), type$.Record_2_Uri_and_bool_forImport, type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2), $async$canonicalize$4$baseImporter$baseUrl$forImport);
  89462. case 6:
  89463. // returning from await.
  89464. $async$returnValue = $async$result;
  89465. // goto return
  89466. $async$goto = 1;
  89467. break;
  89468. case 1:
  89469. // return
  89470. return A._asyncReturn($async$returnValue, $async$completer);
  89471. }
  89472. });
  89473. return A._asyncStartSync($async$canonicalize$4$baseImporter$baseUrl$forImport, $async$completer);
  89474. },
  89475. _async_import_cache0$_canonicalize$4(importer, url, baseUrl, forImport) {
  89476. return this._canonicalize$body$AsyncImportCache0(importer, url, baseUrl, forImport);
  89477. },
  89478. _canonicalize$body$AsyncImportCache0(importer, url, baseUrl, forImport) {
  89479. var $async$goto = 0,
  89480. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),
  89481. $async$returnValue, $async$self = this, t1, passContainingUrl, result, canonicalize;
  89482. var $async$_async_import_cache0$_canonicalize$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89483. if ($async$errorCode === 1)
  89484. return A._asyncRethrow($async$result, $async$completer);
  89485. while (true)
  89486. switch ($async$goto) {
  89487. case 0:
  89488. // Function start
  89489. canonicalize = forImport ? new A.AsyncImportCache__canonicalize_closure1(importer, url) : new A.AsyncImportCache__canonicalize_closure2(importer, url);
  89490. $async$goto = baseUrl != null ? 3 : 5;
  89491. break;
  89492. case 3:
  89493. // then
  89494. $async$goto = url.get$scheme() !== "" ? 6 : 8;
  89495. break;
  89496. case 6:
  89497. // then
  89498. t1 = A._Future$value(importer.isNonCanonicalScheme$1(url.get$scheme()), type$.bool);
  89499. $async$goto = 9;
  89500. return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$4);
  89501. case 9:
  89502. // returning from await.
  89503. t1 = $async$result;
  89504. passContainingUrl = t1;
  89505. // goto join
  89506. $async$goto = 7;
  89507. break;
  89508. case 8:
  89509. // else
  89510. passContainingUrl = true;
  89511. case 7:
  89512. // join
  89513. // goto join
  89514. $async$goto = 4;
  89515. break;
  89516. case 5:
  89517. // else
  89518. passContainingUrl = false;
  89519. case 4:
  89520. // join
  89521. t1 = passContainingUrl ? baseUrl : null;
  89522. t1 = A.withContainingUrl0(t1, canonicalize, type$.FutureOr_nullable_Uri);
  89523. $async$goto = 10;
  89524. return A._asyncAwait(type$.Future_nullable_Uri._is(t1) ? t1 : A._Future$value(t1, type$.nullable_Uri), $async$_async_import_cache0$_canonicalize$4);
  89525. case 10:
  89526. // returning from await.
  89527. result = $async$result;
  89528. if (result == null) {
  89529. $async$returnValue = null;
  89530. // goto return
  89531. $async$goto = 1;
  89532. break;
  89533. }
  89534. $async$goto = result.get$scheme() === "" ? 11 : 13;
  89535. break;
  89536. case 11:
  89537. // then
  89538. A.WarnForDeprecation_warnForDeprecation0($async$self._async_import_cache0$_logger, B.Deprecation_E5x, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2e_Rela, null, null);
  89539. // goto join
  89540. $async$goto = 12;
  89541. break;
  89542. case 13:
  89543. // else
  89544. t1 = A._Future$value(importer.isNonCanonicalScheme$1(result.get$scheme()), type$.bool);
  89545. $async$goto = 14;
  89546. return A._asyncAwait(t1, $async$_async_import_cache0$_canonicalize$4);
  89547. case 14:
  89548. // returning from await.
  89549. if ($async$result)
  89550. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  89551. case 12:
  89552. // join
  89553. $async$returnValue = new A._Record_3_originalUrl(importer, result, url);
  89554. // goto return
  89555. $async$goto = 1;
  89556. break;
  89557. case 1:
  89558. // return
  89559. return A._asyncReturn($async$returnValue, $async$completer);
  89560. }
  89561. });
  89562. return A._asyncStartSync($async$_async_import_cache0$_canonicalize$4, $async$completer);
  89563. },
  89564. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  89565. return this.importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet);
  89566. },
  89567. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  89568. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  89569. },
  89570. importCanonical$body$AsyncImportCache0(importer, canonicalUrl, originalUrl, quiet) {
  89571. var $async$goto = 0,
  89572. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  89573. $async$returnValue, $async$self = this;
  89574. var $async$importCanonical$4$originalUrl$quiet = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89575. if ($async$errorCode === 1)
  89576. return A._asyncRethrow($async$result, $async$completer);
  89577. while (true)
  89578. switch ($async$goto) {
  89579. case 0:
  89580. // Function start
  89581. $async$goto = 3;
  89582. 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);
  89583. case 3:
  89584. // returning from await.
  89585. $async$returnValue = $async$result;
  89586. // goto return
  89587. $async$goto = 1;
  89588. break;
  89589. case 1:
  89590. // return
  89591. return A._asyncReturn($async$returnValue, $async$completer);
  89592. }
  89593. });
  89594. return A._asyncStartSync($async$importCanonical$4$originalUrl$quiet, $async$completer);
  89595. },
  89596. humanize$1(canonicalUrl) {
  89597. var t2,
  89598. t1 = this._async_import_cache0$_canonicalizeCache;
  89599. t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2);
  89600. t2 = t1.$ti;
  89601. t2 = A.NullableExtension_andThen0(A.minBy(new A.MappedIterable(new A.WhereIterable(t1, new A.AsyncImportCache_humanize_closure3(canonicalUrl), t2._eval$1("WhereIterable<Iterable.E>")), new A.AsyncImportCache_humanize_closure4(), t2._eval$1("MappedIterable<Iterable.E,Uri>")), new A.AsyncImportCache_humanize_closure5()), new A.AsyncImportCache_humanize_closure6(canonicalUrl));
  89602. return t2 == null ? canonicalUrl : t2;
  89603. },
  89604. sourceMapUrl$1(_, canonicalUrl) {
  89605. var t1 = this._async_import_cache0$_resultsCache.$index(0, canonicalUrl);
  89606. t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
  89607. return t1 == null ? canonicalUrl : t1;
  89608. }
  89609. };
  89610. A.AsyncImportCache_canonicalize_closure1.prototype = {
  89611. call$0() {
  89612. var _this = this,
  89613. t1 = _this.baseUrl,
  89614. t2 = t1 == null ? null : t1.resolveUri$1(_this.url);
  89615. if (t2 == null)
  89616. t2 = _this.url;
  89617. return _this.$this._async_import_cache0$_canonicalize$4(_this.baseImporter, t2, t1, _this.forImport);
  89618. },
  89619. $signature: 215
  89620. };
  89621. A.AsyncImportCache_canonicalize_closure2.prototype = {
  89622. call$0() {
  89623. var $async$goto = 0,
  89624. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),
  89625. $async$returnValue, $async$self = this, t1, t2, t3, t4, t5, t6, _i, _0_0, result, t7;
  89626. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89627. if ($async$errorCode === 1)
  89628. return A._asyncRethrow($async$result, $async$completer);
  89629. while (true)
  89630. switch ($async$goto) {
  89631. case 0:
  89632. // Function start
  89633. t1 = $async$self.$this, t2 = t1._async_import_cache0$_importers, t3 = t2.length, t4 = $async$self.url, t5 = $async$self.baseUrl, t6 = $async$self.forImport, _i = 0;
  89634. case 3:
  89635. // for condition
  89636. if (!(_i < t2.length)) {
  89637. // goto after for
  89638. $async$goto = 5;
  89639. break;
  89640. }
  89641. $async$goto = 6;
  89642. return A._asyncAwait(t1._async_import_cache0$_canonicalize$4(t2[_i], t4, t5, t6), $async$call$0);
  89643. case 6:
  89644. // returning from await.
  89645. _0_0 = $async$result;
  89646. if (_0_0 != null) {
  89647. result = _0_0;
  89648. t7 = true;
  89649. } else {
  89650. result = null;
  89651. t7 = false;
  89652. }
  89653. if (t7) {
  89654. $async$returnValue = result;
  89655. // goto return
  89656. $async$goto = 1;
  89657. break;
  89658. }
  89659. case 4:
  89660. // for update
  89661. t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i;
  89662. // goto for condition
  89663. $async$goto = 3;
  89664. break;
  89665. case 5:
  89666. // after for
  89667. $async$returnValue = null;
  89668. // goto return
  89669. $async$goto = 1;
  89670. break;
  89671. case 1:
  89672. // return
  89673. return A._asyncReturn($async$returnValue, $async$completer);
  89674. }
  89675. });
  89676. return A._asyncStartSync($async$call$0, $async$completer);
  89677. },
  89678. $signature: 215
  89679. };
  89680. A.AsyncImportCache__canonicalize_closure1.prototype = {
  89681. call$0() {
  89682. var t1 = type$.nullable_Object;
  89683. return A.runZoned(new A.AsyncImportCache__canonicalize__closure0(this.importer, this.resolved), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.FutureOr_nullable_Uri);
  89684. },
  89685. $signature: 56
  89686. };
  89687. A.AsyncImportCache__canonicalize__closure0.prototype = {
  89688. call$0() {
  89689. return this.importer.canonicalize$1(0, this.resolved);
  89690. },
  89691. $signature: 56
  89692. };
  89693. A.AsyncImportCache__canonicalize_closure2.prototype = {
  89694. call$0() {
  89695. return this.importer.canonicalize$1(0, this.resolved);
  89696. },
  89697. $signature: 56
  89698. };
  89699. A.AsyncImportCache_importCanonical_closure0.prototype = {
  89700. call$0() {
  89701. var $async$goto = 0,
  89702. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Stylesheet_2),
  89703. $async$returnValue, $async$self = this, t3, t4, t1, t2, result;
  89704. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  89705. if ($async$errorCode === 1)
  89706. return A._asyncRethrow($async$result, $async$completer);
  89707. while (true)
  89708. switch ($async$goto) {
  89709. case 0:
  89710. // Function start
  89711. t1 = $async$self.canonicalUrl;
  89712. t2 = $async$self.importer.load$1(0, t1);
  89713. $async$goto = 3;
  89714. return A._asyncAwait(type$.Future_nullable_ImporterResult._is(t2) ? t2 : A._Future$value(t2, type$.nullable_ImporterResult_2), $async$call$0);
  89715. case 3:
  89716. // returning from await.
  89717. result = $async$result;
  89718. if (result == null) {
  89719. $async$returnValue = null;
  89720. // goto return
  89721. $async$goto = 1;
  89722. break;
  89723. }
  89724. t2 = $async$self.$this;
  89725. t2._async_import_cache0$_resultsCache.$indexSet(0, t1, result);
  89726. t3 = result.contents;
  89727. t4 = result.syntax;
  89728. t1 = $async$self.originalUrl.resolveUri$1(t1);
  89729. $async$returnValue = A.Stylesheet_Stylesheet$parse0(t3, t4, $async$self.quiet ? $.$get$Logger_quiet0() : t2._async_import_cache0$_logger, t1);
  89730. // goto return
  89731. $async$goto = 1;
  89732. break;
  89733. case 1:
  89734. // return
  89735. return A._asyncReturn($async$returnValue, $async$completer);
  89736. }
  89737. });
  89738. return A._asyncStartSync($async$call$0, $async$completer);
  89739. },
  89740. $signature: 379
  89741. };
  89742. A.AsyncImportCache_humanize_closure3.prototype = {
  89743. call$1(result) {
  89744. return J.$eq$(result._1, this.canonicalUrl);
  89745. },
  89746. $signature: 380
  89747. };
  89748. A.AsyncImportCache_humanize_closure4.prototype = {
  89749. call$1(result) {
  89750. return result._2;
  89751. },
  89752. $signature: 381
  89753. };
  89754. A.AsyncImportCache_humanize_closure5.prototype = {
  89755. call$1(url) {
  89756. return url.get$path(url).length;
  89757. },
  89758. $signature: 85
  89759. };
  89760. A.AsyncImportCache_humanize_closure6.prototype = {
  89761. call$1(url) {
  89762. var t1 = $.$get$url(),
  89763. t2 = this.canonicalUrl;
  89764. return url.resolve$1(A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  89765. },
  89766. $signature: 49
  89767. };
  89768. A.AtRootQueryParser0.prototype = {
  89769. parse$0() {
  89770. return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure0(this));
  89771. }
  89772. };
  89773. A.AtRootQueryParser_parse_closure0.prototype = {
  89774. call$0() {
  89775. var include, atRules,
  89776. t1 = this.$this,
  89777. t2 = t1.scanner;
  89778. t2.expectChar$1(40);
  89779. t1.whitespace$0();
  89780. include = t1.scanIdentifier$1("with");
  89781. if (!include)
  89782. t1.expectIdentifier$2$name("without", '"with" or "without"');
  89783. t1.whitespace$0();
  89784. t2.expectChar$1(58);
  89785. t1.whitespace$0();
  89786. atRules = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  89787. do {
  89788. atRules.add$1(0, t1.identifier$0().toLowerCase());
  89789. t1.whitespace$0();
  89790. } while (t1.lookingAtIdentifier$0());
  89791. t2.expectChar$1(41);
  89792. t2.expectDone$0();
  89793. return new A.AtRootQuery0(include, atRules, atRules.contains$1(0, "all"), atRules.contains$1(0, "rule"));
  89794. },
  89795. $signature: 382
  89796. };
  89797. A.AtRootQuery0.prototype = {
  89798. excludes$1(node) {
  89799. var t1, _this = this;
  89800. if (_this._at_root_query0$_all)
  89801. return !_this.include;
  89802. $label0$0: {
  89803. if (node instanceof A.ModifiableCssStyleRule0) {
  89804. t1 = _this._at_root_query0$_rule !== _this.include;
  89805. break $label0$0;
  89806. }
  89807. if (node instanceof A.ModifiableCssMediaRule0) {
  89808. t1 = _this.excludesName$1("media");
  89809. break $label0$0;
  89810. }
  89811. if (node instanceof A.ModifiableCssSupportsRule0) {
  89812. t1 = _this.excludesName$1("supports");
  89813. break $label0$0;
  89814. }
  89815. if (node instanceof A.ModifiableCssAtRule0) {
  89816. t1 = _this.excludesName$1(node.name.value.toLowerCase());
  89817. break $label0$0;
  89818. }
  89819. t1 = false;
  89820. break $label0$0;
  89821. }
  89822. return t1;
  89823. },
  89824. excludesName$1($name) {
  89825. var t1 = this._at_root_query0$_all || this.names.contains$1(0, $name);
  89826. return t1 !== this.include;
  89827. }
  89828. };
  89829. A.AtRootRule0.prototype = {
  89830. accept$1$1(visitor) {
  89831. return visitor.visitAtRootRule$1(this);
  89832. },
  89833. accept$1(visitor) {
  89834. return this.accept$1$1(visitor, type$.dynamic);
  89835. },
  89836. toString$0(_) {
  89837. var buffer = new A.StringBuffer("@at-root "),
  89838. t1 = this.query;
  89839. if (t1 != null)
  89840. buffer._contents = "@at-root " + (t1.toString$0(0) + " ");
  89841. t1 = this.children;
  89842. return buffer.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  89843. },
  89844. get$span(receiver) {
  89845. return this.span;
  89846. }
  89847. };
  89848. A.ModifiableCssAtRule0.prototype = {
  89849. accept$1$1(visitor) {
  89850. return visitor.visitCssAtRule$1(this);
  89851. },
  89852. accept$1(visitor) {
  89853. return this.accept$1$1(visitor, type$.dynamic);
  89854. },
  89855. equalsIgnoringChildren$1(other) {
  89856. var t1, t2;
  89857. if (other instanceof A.ModifiableCssAtRule0) {
  89858. t1 = this.name;
  89859. t2 = other.name;
  89860. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value) && J.$eq$(this.value, other.value) && this.isChildless === other.isChildless;
  89861. } else
  89862. t1 = false;
  89863. return t1;
  89864. },
  89865. copyWithoutChildren$0() {
  89866. var _this = this;
  89867. return A.ModifiableCssAtRule$0(_this.name, _this.span, _this.isChildless, _this.value);
  89868. },
  89869. addChild$1(child) {
  89870. this.super$ModifiableCssParentNode$addChild0(child);
  89871. },
  89872. get$isChildless() {
  89873. return this.isChildless;
  89874. },
  89875. get$span(receiver) {
  89876. return this.span;
  89877. }
  89878. };
  89879. A.AtRule0.prototype = {
  89880. accept$1$1(visitor) {
  89881. return visitor.visitAtRule$1(this);
  89882. },
  89883. accept$1(visitor) {
  89884. return this.accept$1$1(visitor, type$.dynamic);
  89885. },
  89886. toString$0(_) {
  89887. var children,
  89888. t1 = "@" + this.name.toString$0(0),
  89889. buffer = new A.StringBuffer(t1),
  89890. t2 = this.value;
  89891. if (t2 != null)
  89892. buffer._contents = t1 + (" " + t2.toString$0(0));
  89893. children = this.children;
  89894. return children == null ? buffer.toString$0(0) + ";" : buffer.toString$0(0) + " {" + B.JSArray_methods.join$1(children, " ") + "}";
  89895. },
  89896. get$span(receiver) {
  89897. return this.span;
  89898. }
  89899. };
  89900. A.AttributeSelector0.prototype = {
  89901. accept$1$1(visitor) {
  89902. return visitor.visitAttributeSelector$1(this);
  89903. },
  89904. accept$1(visitor) {
  89905. return this.accept$1$1(visitor, type$.dynamic);
  89906. },
  89907. $eq(_, other) {
  89908. var _this = this;
  89909. if (other == null)
  89910. return false;
  89911. return other instanceof A.AttributeSelector0 && other.name.$eq(0, _this.name) && other.op == _this.op && other.value == _this.value && other.modifier == _this.modifier;
  89912. },
  89913. get$hashCode(_) {
  89914. var _this = this,
  89915. t1 = _this.name;
  89916. 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;
  89917. }
  89918. };
  89919. A.AttributeOperator0.prototype = {
  89920. _enumToString$0() {
  89921. return "AttributeOperator." + this._name;
  89922. },
  89923. toString$0(_) {
  89924. return this._attribute0$_text;
  89925. }
  89926. };
  89927. A.BinaryOperationExpression0.prototype = {
  89928. get$span(_) {
  89929. var right,
  89930. left = this.left;
  89931. for (; left instanceof A.BinaryOperationExpression0;)
  89932. left = left.left;
  89933. right = this.right;
  89934. for (; right instanceof A.BinaryOperationExpression0;)
  89935. right = right.right;
  89936. return left.get$span(left).expand$1(0, right.get$span(right));
  89937. },
  89938. get$operatorSpan() {
  89939. var t3, t4, _this = this,
  89940. t1 = _this.left,
  89941. t2 = t1.get$span(t1);
  89942. t2 = t2.get$file(t2);
  89943. t3 = _this.right;
  89944. t4 = t3.get$span(t3);
  89945. if (t2 === t4.get$file(t4)) {
  89946. t2 = t1.get$span(t1);
  89947. t2 = t2.get$end(t2);
  89948. t4 = t3.get$span(t3);
  89949. t4 = t2.offset < t4.get$start(t4).offset;
  89950. t2 = t4;
  89951. } else
  89952. t2 = false;
  89953. if (t2) {
  89954. t2 = t1.get$span(t1);
  89955. t2 = t2.get$file(t2);
  89956. t1 = t1.get$span(t1);
  89957. t1 = t1.get$end(t1);
  89958. t3 = t3.get$span(t3);
  89959. t3 = A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, t1.offset, t3.get$start(t3).offset)));
  89960. t1 = t3;
  89961. } else
  89962. t1 = _this.get$span(_this);
  89963. return t1;
  89964. },
  89965. accept$1$1(visitor) {
  89966. return visitor.visitBinaryOperationExpression$1(this);
  89967. },
  89968. accept$1(visitor) {
  89969. return this.accept$1$1(visitor, type$.dynamic);
  89970. },
  89971. toString$0(_) {
  89972. var precedence, t1, t2, right, operator, t3, _this = this,
  89973. _0_0 = _this.left;
  89974. $label0$0: {
  89975. if (_0_0 instanceof A.BinaryOperationExpression0) {
  89976. precedence = _0_0.operator.precedence;
  89977. t1 = true;
  89978. } else {
  89979. precedence = null;
  89980. t1 = false;
  89981. }
  89982. if (t1) {
  89983. t1 = precedence < _this.operator.precedence;
  89984. break $label0$0;
  89985. }
  89986. if (_0_0 instanceof A.ListExpression0 && !_0_0.hasBrackets && _0_0.contents.length >= 2) {
  89987. t1 = true;
  89988. break $label0$0;
  89989. }
  89990. t1 = false;
  89991. break $label0$0;
  89992. }
  89993. t2 = t1 ? "" + A.Primitives_stringFromCharCode(40) : "";
  89994. t2 += _0_0.toString$0(0);
  89995. t1 = t1 ? t2 + A.Primitives_stringFromCharCode(41) : t2;
  89996. t2 = _this.operator;
  89997. t1 = t1 + A.Primitives_stringFromCharCode(32) + t2.operator + A.Primitives_stringFromCharCode(32);
  89998. right = _this.right;
  89999. $label1$1: {
  90000. if (right instanceof A.BinaryOperationExpression0) {
  90001. operator = right.operator;
  90002. t3 = true;
  90003. } else {
  90004. operator = null;
  90005. t3 = false;
  90006. }
  90007. if (t3) {
  90008. if (operator.precedence <= t2.precedence) {
  90009. t3 = !(operator === t2 && operator.isAssociative);
  90010. t2 = t3;
  90011. } else
  90012. t2 = false;
  90013. break $label1$1;
  90014. }
  90015. if (right instanceof A.ListExpression0 && !right.hasBrackets && right.contents.length >= 2) {
  90016. t2 = true;
  90017. break $label1$1;
  90018. }
  90019. t2 = false;
  90020. break $label1$1;
  90021. }
  90022. if (t2)
  90023. t1 += A.Primitives_stringFromCharCode(40);
  90024. t1 += right.toString$0(0);
  90025. if (t2)
  90026. t1 += A.Primitives_stringFromCharCode(41);
  90027. return t1.charCodeAt(0) == 0 ? t1 : t1;
  90028. },
  90029. $isExpression0: 1,
  90030. $isAstNode0: 1
  90031. };
  90032. A.BinaryOperator0.prototype = {
  90033. _enumToString$0() {
  90034. return "BinaryOperator." + this._name;
  90035. },
  90036. toString$0(_) {
  90037. return this.name;
  90038. }
  90039. };
  90040. A.BooleanExpression0.prototype = {
  90041. accept$1$1(visitor) {
  90042. return visitor.visitBooleanExpression$1(this);
  90043. },
  90044. accept$1(visitor) {
  90045. return this.accept$1$1(visitor, type$.dynamic);
  90046. },
  90047. toString$0(_) {
  90048. return String(this.value);
  90049. },
  90050. $isExpression0: 1,
  90051. $isAstNode0: 1,
  90052. get$span(receiver) {
  90053. return this.span;
  90054. }
  90055. };
  90056. A.booleanClass_closure.prototype = {
  90057. call$0() {
  90058. var t1 = type$.JSClass,
  90059. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassBoolean", new A.booleanClass__closure()));
  90060. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  90061. return jsClass;
  90062. },
  90063. $signature: 24
  90064. };
  90065. A.booleanClass__closure.prototype = {
  90066. call$2($self, _) {
  90067. A.jsThrow(new self.Error("new sass.SassBoolean() isn't allowed.\nUse sass.sassTrue or sass.sassFalse instead."));
  90068. },
  90069. call$1($self) {
  90070. return this.call$2($self, null);
  90071. },
  90072. "call*": "call$2",
  90073. $requiredArgCount: 1,
  90074. $defaultValues() {
  90075. return [null];
  90076. },
  90077. $signature: 216
  90078. };
  90079. A.legacyBooleanClass_closure.prototype = {
  90080. call$0() {
  90081. var t1 = type$.JSClass,
  90082. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Boolean", new A.legacyBooleanClass__closure()));
  90083. J.get$$prototype$x(jsClass).getValue = A.allowInteropCaptureThisNamed("getValue", new A.legacyBooleanClass__closure0());
  90084. jsClass.TRUE = B.SassBoolean_true0;
  90085. jsClass.FALSE = B.SassBoolean_false0;
  90086. A.JSClassExtension_injectSuperclass(t1._as(B.SassBoolean_true0.constructor), jsClass);
  90087. return jsClass;
  90088. },
  90089. $signature: 24
  90090. };
  90091. A.legacyBooleanClass__closure.prototype = {
  90092. call$2(_, __) {
  90093. throw A.wrapException("new sass.types.Boolean() isn't allowed.\nUse sass.types.Boolean.TRUE or sass.types.Boolean.FALSE instead.");
  90094. },
  90095. call$1(_) {
  90096. return this.call$2(_, null);
  90097. },
  90098. "call*": "call$2",
  90099. $requiredArgCount: 1,
  90100. $defaultValues() {
  90101. return [null];
  90102. },
  90103. $signature: 217
  90104. };
  90105. A.legacyBooleanClass__closure0.prototype = {
  90106. call$1($self) {
  90107. return $self === B.SassBoolean_true0;
  90108. },
  90109. $signature: 68
  90110. };
  90111. A.SassBoolean0.prototype = {
  90112. get$isTruthy() {
  90113. return this.value;
  90114. },
  90115. accept$1$1(visitor) {
  90116. return visitor._serialize0$_buffer.write$1(0, String(this.value));
  90117. },
  90118. accept$1(visitor) {
  90119. return this.accept$1$1(visitor, type$.dynamic);
  90120. },
  90121. assertBoolean$1($name) {
  90122. return this;
  90123. },
  90124. unaryNot$0() {
  90125. return this.value ? B.SassBoolean_false0 : B.SassBoolean_true0;
  90126. }
  90127. };
  90128. A.Box0.prototype = {
  90129. $eq(_, other) {
  90130. if (other == null)
  90131. return false;
  90132. return this.$ti._is(other) && other._box0$_inner === this._box0$_inner;
  90133. },
  90134. get$hashCode(_) {
  90135. return A.Primitives_objectHashCode(this._box0$_inner);
  90136. }
  90137. };
  90138. A.ModifiableBox0.prototype = {};
  90139. A.BuiltInCallable0.prototype = {
  90140. callbackFor$2(positional, names) {
  90141. var t1, t2, fuzzyMatch, minMismatchDistance, _i, overload, t3, mismatchDistance, t4;
  90142. 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) {
  90143. overload = t1[_i];
  90144. t3 = overload._0;
  90145. if (t3.matches$2(positional, names))
  90146. return overload;
  90147. mismatchDistance = t3.$arguments.length - positional;
  90148. if (minMismatchDistance != null) {
  90149. t3 = Math.abs(mismatchDistance);
  90150. t4 = Math.abs(minMismatchDistance);
  90151. if (t3 > t4)
  90152. continue;
  90153. if (t3 === t4 && mismatchDistance < 0)
  90154. continue;
  90155. }
  90156. minMismatchDistance = mismatchDistance;
  90157. fuzzyMatch = overload;
  90158. }
  90159. if (fuzzyMatch != null)
  90160. return fuzzyMatch;
  90161. throw A.wrapException(A.StateError$("BuiltInCallable " + this.name + " may not have empty overloads."));
  90162. },
  90163. withName$1($name) {
  90164. return new A.BuiltInCallable0($name, this._built_in$_overloads, this.acceptsContent);
  90165. },
  90166. $isAsyncCallable0: 1,
  90167. $isAsyncBuiltInCallable0: 1,
  90168. $isCallable: 1,
  90169. get$name(receiver) {
  90170. return this.name;
  90171. },
  90172. get$acceptsContent() {
  90173. return this.acceptsContent;
  90174. }
  90175. };
  90176. A.BuiltInCallable$mixin_closure0.prototype = {
  90177. call$1($arguments) {
  90178. this.callback.call$1($arguments);
  90179. return B.C__SassNull0;
  90180. },
  90181. $signature: 5
  90182. };
  90183. A.BuiltInModule0.prototype = {
  90184. get$upstream() {
  90185. return B.List_empty18;
  90186. },
  90187. get$variableNodes() {
  90188. return B.Map_empty12;
  90189. },
  90190. get$extensionStore() {
  90191. return B.C_EmptyExtensionStore0;
  90192. },
  90193. get$css(_) {
  90194. return new A.CssStylesheet0(B.List_empty16, A.SourceFile$decoded(B.List_empty4, this.url).span$2(0, 0, 0));
  90195. },
  90196. get$preModuleComments() {
  90197. return B.Map_empty11;
  90198. },
  90199. get$transitivelyContainsCss() {
  90200. return false;
  90201. },
  90202. get$transitivelyContainsExtensions() {
  90203. return false;
  90204. },
  90205. setVariable$3($name, value, nodeWithSpan) {
  90206. if (!this.variables.containsKey$1($name))
  90207. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  90208. throw A.wrapException(A.SassScriptException$0("Cannot modify built-in variable.", null));
  90209. },
  90210. variableIdentity$1($name) {
  90211. return this;
  90212. },
  90213. cloneCss$0() {
  90214. return this;
  90215. },
  90216. $isModule1: 1,
  90217. get$url(receiver) {
  90218. return this.url;
  90219. },
  90220. get$functions(receiver) {
  90221. return this.functions;
  90222. },
  90223. get$mixins() {
  90224. return this.mixins;
  90225. },
  90226. get$variables() {
  90227. return this.variables;
  90228. }
  90229. };
  90230. A.calculationClass_closure.prototype = {
  90231. call$0() {
  90232. var t1 = type$.JSClass,
  90233. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassCalculation", new A.calculationClass__closure())),
  90234. t2 = type$.String,
  90235. t3 = type$.Function;
  90236. A.LinkedHashMap_LinkedHashMap$_literal(["calc", new A.calculationClass__closure0(), "min", new A.calculationClass__closure1(), "max", new A.calculationClass__closure2(), "clamp", new A.calculationClass__closure3()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineStaticMethod(jsClass));
  90237. A.LinkedHashMap_LinkedHashMap$_literal(["assertCalculation", new A.calculationClass__closure4()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  90238. A.LinkedHashMap_LinkedHashMap$_literal(["arguments", new A.calculationClass__closure5()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  90239. A.JSClassExtension_injectSuperclass(t1._as(new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([A.SassNumber_SassNumber0(1, null)], type$.JSArray_Object), type$.Object)).constructor), jsClass);
  90240. return jsClass;
  90241. },
  90242. $signature: 24
  90243. };
  90244. A.calculationClass__closure.prototype = {
  90245. call$2($self, _) {
  90246. A.jsThrow0(new self.Error("new sass.SassCalculation() isn't allowed"));
  90247. },
  90248. call$1($self) {
  90249. return this.call$2($self, null);
  90250. },
  90251. "call*": "call$2",
  90252. $requiredArgCount: 1,
  90253. $defaultValues() {
  90254. return [null];
  90255. },
  90256. $signature: 216
  90257. };
  90258. A.calculationClass__closure0.prototype = {
  90259. call$1(argument) {
  90260. A._assertCalculationValue(argument);
  90261. return new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([argument], type$.JSArray_Object), type$.Object));
  90262. },
  90263. $signature: 121
  90264. };
  90265. A.calculationClass__closure1.prototype = {
  90266. call$1($arguments) {
  90267. var t1 = self.immutable.isOrderedMap($arguments) ? J.toArray$0$x(type$.ImmutableList_2._as($arguments)) : type$.List_dynamic._as($arguments),
  90268. t2 = type$.Object,
  90269. argList = J.cast$1$0$ax(t1, t2);
  90270. argList.forEach$1(argList, A.calculation1___assertCalculationValue$closure());
  90271. return new A.SassCalculation0("min", A.List_List$unmodifiable(argList, t2));
  90272. },
  90273. $signature: 121
  90274. };
  90275. A.calculationClass__closure2.prototype = {
  90276. call$1($arguments) {
  90277. var t1 = self.immutable.isOrderedMap($arguments) ? J.toArray$0$x(type$.ImmutableList_2._as($arguments)) : type$.List_dynamic._as($arguments),
  90278. t2 = type$.Object,
  90279. argList = J.cast$1$0$ax(t1, t2);
  90280. argList.forEach$1(argList, A.calculation1___assertCalculationValue$closure());
  90281. return new A.SassCalculation0("max", A.List_List$unmodifiable(argList, t2));
  90282. },
  90283. $signature: 121
  90284. };
  90285. A.calculationClass__closure3.prototype = {
  90286. call$3(min, value, max) {
  90287. var t1;
  90288. if (!(value == null && !A._isValidClampArg(min)))
  90289. t1 = max == null && !B.JSArray_methods.any$1([min, value], A.calculation1___isValidClampArg$closure());
  90290. else
  90291. t1 = true;
  90292. if (t1)
  90293. A.jsThrow0(new self.Error("Expected at least one SassString or CalculationInterpolation in `" + A.IterableNullableExtension_whereNotNull([min, value, max], type$.Object).toString$0(0) + "`"));
  90294. t1 = type$.Object;
  90295. A.IterableNullableExtension_whereNotNull([min, value, max], t1).forEach$1(0, A.calculation1___assertCalculationValue$closure());
  90296. return new A.SassCalculation0("clamp", A.List_List$unmodifiable(A.IterableNullableExtension_whereNotNull([min, value, max], t1), t1));
  90297. },
  90298. call$1(min) {
  90299. return this.call$3(min, null, null);
  90300. },
  90301. call$2(min, value) {
  90302. return this.call$3(min, value, null);
  90303. },
  90304. "call*": "call$3",
  90305. $requiredArgCount: 1,
  90306. $defaultValues() {
  90307. return [null, null];
  90308. },
  90309. $signature: 387
  90310. };
  90311. A.calculationClass__closure4.prototype = {
  90312. call$2($self, $name) {
  90313. return $self;
  90314. },
  90315. call$1($self) {
  90316. return this.call$2($self, null);
  90317. },
  90318. "call*": "call$2",
  90319. $requiredArgCount: 1,
  90320. $defaultValues() {
  90321. return [null];
  90322. },
  90323. $signature: 388
  90324. };
  90325. A.calculationClass__closure5.prototype = {
  90326. call$1($self) {
  90327. return new self.immutable.List($self.$arguments);
  90328. },
  90329. $signature: 389
  90330. };
  90331. A.calculationOperationClass_closure.prototype = {
  90332. call$0() {
  90333. var t1 = type$.JSClass,
  90334. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.CalculationOperation", new A.calculationOperationClass__closure())),
  90335. t2 = type$.String,
  90336. t3 = type$.Function;
  90337. A.LinkedHashMap_LinkedHashMap$_literal(["equals", new A.calculationOperationClass__closure0(), "hashCode", new A.calculationOperationClass__closure1()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  90338. A.LinkedHashMap_LinkedHashMap$_literal(["operator", new A.calculationOperationClass__closure2(), "left", new A.calculationOperationClass__closure3(), "right", new A.calculationOperationClass__closure4()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  90339. A.JSClassExtension_injectSuperclass(t1._as(A.SassCalculation_operateInternal0(B.CalculationOperator_IyK0, A.SassNumber_SassNumber0(1, null), A.SassNumber_SassNumber0(1, null), false, false).constructor), jsClass);
  90340. return jsClass;
  90341. },
  90342. $signature: 24
  90343. };
  90344. A.calculationOperationClass__closure.prototype = {
  90345. call$4($self, strOperator, left, right) {
  90346. var operator = A.IterableExtension_firstWhereOrNull(B.List_cUt, new A.calculationOperationClass___closure(strOperator));
  90347. if (operator == null)
  90348. A.jsThrow0(new self.Error("Invalid operator: " + strOperator));
  90349. A._assertCalculationValue(left);
  90350. A._assertCalculationValue(right);
  90351. return A.SassCalculation_operateInternal0(operator, left, right, false, false);
  90352. },
  90353. "call*": "call$4",
  90354. $requiredArgCount: 4,
  90355. $signature: 390
  90356. };
  90357. A.calculationOperationClass___closure.prototype = {
  90358. call$1(value) {
  90359. return value.operator === this.strOperator;
  90360. },
  90361. $signature: 391
  90362. };
  90363. A.calculationOperationClass__closure0.prototype = {
  90364. call$2($self, other) {
  90365. return $self.$eq(0, other);
  90366. },
  90367. $signature: 392
  90368. };
  90369. A.calculationOperationClass__closure1.prototype = {
  90370. call$1($self) {
  90371. return $self.get$hashCode($self);
  90372. },
  90373. $signature: 393
  90374. };
  90375. A.calculationOperationClass__closure2.prototype = {
  90376. call$1($self) {
  90377. return $self._calculation0$_operator.operator;
  90378. },
  90379. $signature: 394
  90380. };
  90381. A.calculationOperationClass__closure3.prototype = {
  90382. call$1($self) {
  90383. return $self._calculation0$_left;
  90384. },
  90385. $signature: 220
  90386. };
  90387. A.calculationOperationClass__closure4.prototype = {
  90388. call$1($self) {
  90389. return $self._calculation0$_right;
  90390. },
  90391. $signature: 220
  90392. };
  90393. A.calculationInterpolationClass_closure.prototype = {
  90394. call$0() {
  90395. var t1 = type$.JSClass,
  90396. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.CalculationInterpolation", new A.calculationInterpolationClass__closure())),
  90397. t2 = type$.String,
  90398. t3 = type$.Function;
  90399. A.LinkedHashMap_LinkedHashMap$_literal(["equals", new A.calculationInterpolationClass__closure0(), "hashCode", new A.calculationInterpolationClass__closure1()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  90400. A.LinkedHashMap_LinkedHashMap$_literal(["value", new A.calculationInterpolationClass__closure2()], t2, t3).forEach$1(0, A.JSClassExtension_get_defineGetter(jsClass));
  90401. A.JSClassExtension_injectSuperclass(t1._as(new A.CalculationInterpolation("").constructor), jsClass);
  90402. return jsClass;
  90403. },
  90404. $signature: 24
  90405. };
  90406. A.calculationInterpolationClass__closure.prototype = {
  90407. call$2($self, value) {
  90408. return new A.CalculationInterpolation(value);
  90409. },
  90410. $signature: 396
  90411. };
  90412. A.calculationInterpolationClass__closure0.prototype = {
  90413. call$2($self, other) {
  90414. return other instanceof A.CalculationInterpolation && $self._calculation0$_value === other._calculation0$_value;
  90415. },
  90416. $signature: 397
  90417. };
  90418. A.calculationInterpolationClass__closure1.prototype = {
  90419. call$1($self) {
  90420. return B.JSString_methods.get$hashCode($self._calculation0$_value);
  90421. },
  90422. $signature: 398
  90423. };
  90424. A.calculationInterpolationClass__closure2.prototype = {
  90425. call$1($self) {
  90426. return $self._calculation0$_value;
  90427. },
  90428. $signature: 399
  90429. };
  90430. A.SassCalculation0.prototype = {
  90431. get$isSpecialNumber() {
  90432. return true;
  90433. },
  90434. accept$1$1(visitor) {
  90435. return visitor.visitCalculation$1(this);
  90436. },
  90437. accept$1(visitor) {
  90438. return this.accept$1$1(visitor, type$.dynamic);
  90439. },
  90440. assertCalculation$1($name) {
  90441. return this;
  90442. },
  90443. plus$1(other) {
  90444. if (other instanceof A.SassString0)
  90445. return this.super$Value$plus0(other);
  90446. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  90447. },
  90448. minus$1(other) {
  90449. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  90450. },
  90451. unaryPlus$0() {
  90452. return A.throwExpression(A.SassScriptException$0('Undefined operation "+' + this.toString$0(0) + '".', null));
  90453. },
  90454. unaryMinus$0() {
  90455. return A.throwExpression(A.SassScriptException$0('Undefined operation "-' + this.toString$0(0) + '".', null));
  90456. },
  90457. $eq(_, other) {
  90458. if (other == null)
  90459. return false;
  90460. return other instanceof A.SassCalculation0 && this.name === other.name && B.C_ListEquality.equals$2(0, this.$arguments, other.$arguments);
  90461. },
  90462. get$hashCode(_) {
  90463. return B.JSString_methods.get$hashCode(this.name) ^ B.C_ListEquality0.hash$1(this.$arguments);
  90464. }
  90465. };
  90466. A.SassCalculation_sign_closure0.prototype = {
  90467. call$0() {
  90468. return type$.SassNumber_2._as(this._0_0)._number1$_value;
  90469. },
  90470. $signature: 111
  90471. };
  90472. A.SassCalculation_round_closure9.prototype = {
  90473. call$0() {
  90474. return this._0_0._0;
  90475. },
  90476. $signature: 14
  90477. };
  90478. A.SassCalculation_round_closure10.prototype = {
  90479. call$0() {
  90480. return this._0_0._1;
  90481. },
  90482. $signature: 29
  90483. };
  90484. A.SassCalculation_round_closure11.prototype = {
  90485. call$0() {
  90486. return this._0_2._readFinal$0() == null;
  90487. },
  90488. $signature: 1
  90489. };
  90490. A.SassCalculation_round_closure12.prototype = {
  90491. call$0() {
  90492. return this._0_0._2;
  90493. },
  90494. $signature: 29
  90495. };
  90496. A.SassCalculation_round_closure13.prototype = {
  90497. call$0() {
  90498. return this._0_5._readFinal$0() == null;
  90499. },
  90500. $signature: 1
  90501. };
  90502. A.SassCalculation_round_closure14.prototype = {
  90503. call$0() {
  90504. return type$.SassString_2._as(this._0_1._readFinal$0())._string0$_text;
  90505. },
  90506. $signature: 21
  90507. };
  90508. A.SassCalculation_round_closure15.prototype = {
  90509. call$0() {
  90510. return "nearest" === this._0_8._readFinal$0();
  90511. },
  90512. $signature: 1
  90513. };
  90514. A.SassCalculation_round_closure16.prototype = {
  90515. call$0() {
  90516. return "up" === this._0_8._readFinal$0();
  90517. },
  90518. $signature: 1
  90519. };
  90520. A.SassCalculation_round_closure17.prototype = {
  90521. call$0() {
  90522. return "down" === this._0_8._readFinal$0();
  90523. },
  90524. $signature: 1
  90525. };
  90526. A.SassCalculation_round_closure18.prototype = {
  90527. call$0() {
  90528. return "to-zero" === this._0_8._readFinal$0();
  90529. },
  90530. $signature: 1
  90531. };
  90532. A.SassCalculation__roundWithStep_closure7.prototype = {
  90533. call$0() {
  90534. return this._0_0._0;
  90535. },
  90536. $signature: 21
  90537. };
  90538. A.SassCalculation__roundWithStep_closure6.prototype = {
  90539. call$0() {
  90540. return this._0_0._1;
  90541. },
  90542. $signature: 111
  90543. };
  90544. A.SassCalculation__roundWithStep_closure8.prototype = {
  90545. call$0() {
  90546. return "nearest" === this._0_1._readFinal$0();
  90547. },
  90548. $signature: 1
  90549. };
  90550. A.SassCalculation__roundWithStep_closure9.prototype = {
  90551. call$0() {
  90552. return "to-zero" === this._0_1._readFinal$0();
  90553. },
  90554. $signature: 1
  90555. };
  90556. A.SassCalculation__roundWithStep_closure10.prototype = {
  90557. call$0() {
  90558. return this._0_2._readFinal$0() > 0;
  90559. },
  90560. $signature: 1
  90561. };
  90562. A.SassCalculation__roundWithStep_closure11.prototype = {
  90563. call$0() {
  90564. return "up" === this._0_1._readFinal$0();
  90565. },
  90566. $signature: 1
  90567. };
  90568. A.SassCalculation__roundWithStep_closure12.prototype = {
  90569. call$0() {
  90570. return "down" === this._0_1._readFinal$0();
  90571. },
  90572. $signature: 1
  90573. };
  90574. A.SassCalculation__simplify_closure3.prototype = {
  90575. call$0() {
  90576. return "calc" === this._0_0.name;
  90577. },
  90578. $signature: 1
  90579. };
  90580. A.SassCalculation__simplify_closure4.prototype = {
  90581. call$0() {
  90582. return type$.SassCalculation_2._as(this._0_0).$arguments;
  90583. },
  90584. $signature: 123
  90585. };
  90586. A.SassCalculation__simplify_closure5.prototype = {
  90587. call$0() {
  90588. return J.get$length$asx(this._0_12._readFinal$0()) === 1;
  90589. },
  90590. $signature: 1
  90591. };
  90592. A.SassCalculation__simplify_closure6.prototype = {
  90593. call$0() {
  90594. return J.$index$asx(this._0_12._readFinal$0(), 0);
  90595. },
  90596. $signature: 14
  90597. };
  90598. A.SassCalculation__verifyLength_closure0.prototype = {
  90599. call$1(arg) {
  90600. return arg instanceof A.SassString0;
  90601. },
  90602. $signature: 68
  90603. };
  90604. A.CalculationOperation0.prototype = {
  90605. $eq(_, other) {
  90606. if (other == null)
  90607. return false;
  90608. return other instanceof A.CalculationOperation0 && this._calculation0$_operator === other._calculation0$_operator && J.$eq$(this._calculation0$_left, other._calculation0$_left) && J.$eq$(this._calculation0$_right, other._calculation0$_right);
  90609. },
  90610. get$hashCode(_) {
  90611. return (A.Primitives_objectHashCode(this._calculation0$_operator) ^ J.get$hashCode$(this._calculation0$_left) ^ J.get$hashCode$(this._calculation0$_right)) >>> 0;
  90612. },
  90613. toString$0(_) {
  90614. var parenthesized = A.serializeValue0(new A.SassCalculation0("", A._setArrayType([this], type$.JSArray_Object)), true, true);
  90615. return B.JSString_methods.substring$2(parenthesized, 1, parenthesized.length - 1);
  90616. }
  90617. };
  90618. A.CalculationOperator0.prototype = {
  90619. _enumToString$0() {
  90620. return "CalculationOperator." + this._name;
  90621. },
  90622. toString$0(_) {
  90623. return this.name;
  90624. }
  90625. };
  90626. A.CalculationInterpolation.prototype = {
  90627. $eq(_, other) {
  90628. if (other == null)
  90629. return false;
  90630. return other instanceof A.CalculationInterpolation && this._calculation0$_value === other._calculation0$_value;
  90631. },
  90632. get$hashCode(_) {
  90633. return B.JSString_methods.get$hashCode(this._calculation0$_value);
  90634. },
  90635. toString$0(_) {
  90636. return this._calculation0$_value;
  90637. }
  90638. };
  90639. A.CallableDeclaration0.prototype = {
  90640. get$span(receiver) {
  90641. return this.span;
  90642. }
  90643. };
  90644. A.Chokidar0.prototype = {};
  90645. A.ChokidarOptions0.prototype = {};
  90646. A.ChokidarWatcher0.prototype = {};
  90647. A.ClassSelector0.prototype = {
  90648. $eq(_, other) {
  90649. if (other == null)
  90650. return false;
  90651. return other instanceof A.ClassSelector0 && other.name === this.name;
  90652. },
  90653. accept$1$1(visitor) {
  90654. return visitor.visitClassSelector$1(this);
  90655. },
  90656. accept$1(visitor) {
  90657. return this.accept$1$1(visitor, type$.dynamic);
  90658. },
  90659. addSuffix$1(suffix) {
  90660. return new A.ClassSelector0(this.name + suffix, this.span);
  90661. },
  90662. get$hashCode(_) {
  90663. return B.JSString_methods.get$hashCode(this.name);
  90664. }
  90665. };
  90666. A._CloneCssVisitor0.prototype = {
  90667. visitCssAtRule$1(node) {
  90668. var t1 = node.isChildless,
  90669. rule = A.ModifiableCssAtRule$0(node.name, node.span, t1, node.value);
  90670. return t1 ? rule : this._clone_css$_visitChildren$2(rule, node);
  90671. },
  90672. visitCssComment$1(node) {
  90673. return new A.ModifiableCssComment0(node.text, node.span);
  90674. },
  90675. visitCssDeclaration$1(node) {
  90676. return A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap);
  90677. },
  90678. visitCssImport$1(node) {
  90679. return new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  90680. },
  90681. visitCssKeyframeBlock$1(node) {
  90682. return this._clone_css$_visitChildren$2(A.ModifiableCssKeyframeBlock$0(node.selector, node.span), node);
  90683. },
  90684. visitCssMediaRule$1(node) {
  90685. return this._clone_css$_visitChildren$2(A.ModifiableCssMediaRule$0(node.queries, node.span), node);
  90686. },
  90687. visitCssStyleRule$1(node) {
  90688. var newSelector, t1,
  90689. _0_0 = this._clone_css$_oldToNewSelectors.$index(0, node._style_rule0$_selector._box0$_inner.value);
  90690. if (_0_0 != null) {
  90691. newSelector = _0_0;
  90692. t1 = true;
  90693. } else {
  90694. newSelector = null;
  90695. t1 = false;
  90696. }
  90697. if (t1)
  90698. return this._clone_css$_visitChildren$2(A.ModifiableCssStyleRule$0(newSelector, node.span, node.originalSelector), node);
  90699. else
  90700. throw A.wrapException(A.StateError$(string$.The_Ex));
  90701. },
  90702. visitCssStylesheet$1(node) {
  90703. return this._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(node.get$span(node)), node);
  90704. },
  90705. visitCssSupportsRule$1(node) {
  90706. return this._clone_css$_visitChildren$2(A.ModifiableCssSupportsRule$0(node.condition, node.span), node);
  90707. },
  90708. _clone_css$_visitChildren$1$2(newParent, oldParent) {
  90709. var t1, t2, newChild;
  90710. for (t1 = J.get$iterator$ax(oldParent.get$children(oldParent)); t1.moveNext$0();) {
  90711. t2 = t1.get$current(t1);
  90712. newChild = t2.accept$1(this);
  90713. newChild.isGroupEnd = t2.get$isGroupEnd();
  90714. newParent.addChild$1(newChild);
  90715. }
  90716. return newParent;
  90717. },
  90718. _clone_css$_visitChildren$2(newParent, oldParent) {
  90719. return this._clone_css$_visitChildren$1$2(newParent, oldParent, type$.ModifiableCssParentNode_2);
  90720. }
  90721. };
  90722. A.ColorExpression0.prototype = {
  90723. accept$1$1(visitor) {
  90724. return visitor.visitColorExpression$1(this);
  90725. },
  90726. accept$1(visitor) {
  90727. return this.accept$1$1(visitor, type$.dynamic);
  90728. },
  90729. toString$0(_) {
  90730. return A.serializeValue0(this.value, true, true);
  90731. },
  90732. $isExpression0: 1,
  90733. $isAstNode0: 1,
  90734. get$span(receiver) {
  90735. return this.span;
  90736. }
  90737. };
  90738. A.global_closure32.prototype = {
  90739. call$1($arguments) {
  90740. return A._rgb0("rgb", $arguments);
  90741. },
  90742. $signature: 5
  90743. };
  90744. A.global_closure33.prototype = {
  90745. call$1($arguments) {
  90746. return A._rgb0("rgb", $arguments);
  90747. },
  90748. $signature: 5
  90749. };
  90750. A.global_closure34.prototype = {
  90751. call$1($arguments) {
  90752. return A._rgbTwoArg0("rgb", $arguments);
  90753. },
  90754. $signature: 5
  90755. };
  90756. A.global_closure35.prototype = {
  90757. call$1($arguments) {
  90758. var parsed = A._parseChannels0("rgb", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  90759. return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgb", type$.List_Value_2._as(parsed));
  90760. },
  90761. $signature: 5
  90762. };
  90763. A.global_closure36.prototype = {
  90764. call$1($arguments) {
  90765. return A._rgb0("rgba", $arguments);
  90766. },
  90767. $signature: 5
  90768. };
  90769. A.global_closure37.prototype = {
  90770. call$1($arguments) {
  90771. return A._rgb0("rgba", $arguments);
  90772. },
  90773. $signature: 5
  90774. };
  90775. A.global_closure38.prototype = {
  90776. call$1($arguments) {
  90777. return A._rgbTwoArg0("rgba", $arguments);
  90778. },
  90779. $signature: 5
  90780. };
  90781. A.global_closure39.prototype = {
  90782. call$1($arguments) {
  90783. var parsed = A._parseChannels0("rgba", A._setArrayType(["$red", "$green", "$blue"], type$.JSArray_String), J.get$first$ax($arguments));
  90784. return parsed instanceof A.SassString0 ? parsed : A._rgb0("rgba", type$.List_Value_2._as(parsed));
  90785. },
  90786. $signature: 5
  90787. };
  90788. A.global_closure40.prototype = {
  90789. call$1($arguments) {
  90790. var color, t2,
  90791. t1 = J.getInterceptor$asx($arguments),
  90792. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  90793. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber()) {
  90794. if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
  90795. throw A.wrapException(string$.Only_oa);
  90796. return A._functionString0("invert", t1.take$1($arguments, 1));
  90797. }
  90798. color = t1.$index($arguments, 0).assertColor$1("color");
  90799. t1 = color.get$red(color);
  90800. t2 = color.get$green(color);
  90801. return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
  90802. },
  90803. $signature: 5
  90804. };
  90805. A.global_closure41.prototype = {
  90806. call$1($arguments) {
  90807. return A._hsl0("hsl", $arguments);
  90808. },
  90809. $signature: 5
  90810. };
  90811. A.global_closure42.prototype = {
  90812. call$1($arguments) {
  90813. return A._hsl0("hsl", $arguments);
  90814. },
  90815. $signature: 5
  90816. };
  90817. A.global_closure43.prototype = {
  90818. call$1($arguments) {
  90819. var t1 = J.getInterceptor$asx($arguments);
  90820. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  90821. return A._functionString0("hsl", $arguments);
  90822. else
  90823. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  90824. },
  90825. $signature: 18
  90826. };
  90827. A.global_closure44.prototype = {
  90828. call$1($arguments) {
  90829. var parsed = A._parseChannels0("hsl", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  90830. return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsl", type$.List_Value_2._as(parsed));
  90831. },
  90832. $signature: 5
  90833. };
  90834. A.global_closure45.prototype = {
  90835. call$1($arguments) {
  90836. return A._hsl0("hsla", $arguments);
  90837. },
  90838. $signature: 5
  90839. };
  90840. A.global_closure46.prototype = {
  90841. call$1($arguments) {
  90842. return A._hsl0("hsla", $arguments);
  90843. },
  90844. $signature: 5
  90845. };
  90846. A.global_closure47.prototype = {
  90847. call$1($arguments) {
  90848. var t1 = J.getInterceptor$asx($arguments);
  90849. if (t1.$index($arguments, 0).get$isVar() || t1.$index($arguments, 1).get$isVar())
  90850. return A._functionString0("hsla", $arguments);
  90851. else
  90852. throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.", null));
  90853. },
  90854. $signature: 18
  90855. };
  90856. A.global_closure48.prototype = {
  90857. call$1($arguments) {
  90858. var parsed = A._parseChannels0("hsla", A._setArrayType(["$hue", "$saturation", "$lightness"], type$.JSArray_String), J.get$first$ax($arguments));
  90859. return parsed instanceof A.SassString0 ? parsed : A._hsl0("hsla", type$.List_Value_2._as(parsed));
  90860. },
  90861. $signature: 5
  90862. };
  90863. A.global_closure49.prototype = {
  90864. call$1($arguments) {
  90865. var t1 = J.getInterceptor$asx($arguments);
  90866. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  90867. return A._functionString0("grayscale", $arguments);
  90868. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  90869. },
  90870. $signature: 5
  90871. };
  90872. A.global_closure50.prototype = {
  90873. call$1($arguments) {
  90874. var t1 = J.getInterceptor$asx($arguments),
  90875. color = t1.$index($arguments, 0).assertColor$1("color"),
  90876. degrees = A._angleValue0(t1.$index($arguments, 1), "degrees");
  90877. return color.changeHsl$1$hue(color.get$hue(color) + degrees);
  90878. },
  90879. $signature: 35
  90880. };
  90881. A.global_closure51.prototype = {
  90882. call$1($arguments) {
  90883. var t1 = J.getInterceptor$asx($arguments),
  90884. color = t1.$index($arguments, 0).assertColor$1("color"),
  90885. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  90886. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  90887. },
  90888. $signature: 35
  90889. };
  90890. A.global_closure52.prototype = {
  90891. call$1($arguments) {
  90892. var t1 = J.getInterceptor$asx($arguments),
  90893. color = t1.$index($arguments, 0).assertColor$1("color"),
  90894. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  90895. return color.changeHsl$1$lightness(B.JSNumber_methods.clamp$2(color.get$lightness(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  90896. },
  90897. $signature: 35
  90898. };
  90899. A.global_closure53.prototype = {
  90900. call$1($arguments) {
  90901. var t1 = J.getInterceptor$asx($arguments);
  90902. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  90903. return A._functionString0("saturate", $arguments);
  90904. return new A.SassString0("saturate(" + A.serializeValue0(t1.$index($arguments, 0).assertNumber$1("amount"), false, true) + ")", false);
  90905. },
  90906. $signature: 18
  90907. };
  90908. A.global_closure54.prototype = {
  90909. call$1($arguments) {
  90910. var t1 = J.getInterceptor$asx($arguments),
  90911. color = t1.$index($arguments, 0).assertColor$1("color"),
  90912. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  90913. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) + amount.valueInRange$3(0, 100, "amount"), 0, 100));
  90914. },
  90915. $signature: 35
  90916. };
  90917. A.global_closure55.prototype = {
  90918. call$1($arguments) {
  90919. var t1 = J.getInterceptor$asx($arguments),
  90920. color = t1.$index($arguments, 0).assertColor$1("color"),
  90921. amount = t1.$index($arguments, 1).assertNumber$1("amount");
  90922. return color.changeHsl$1$saturation(B.JSNumber_methods.clamp$2(color.get$saturation(color) - amount.valueInRange$3(0, 100, "amount"), 0, 100));
  90923. },
  90924. $signature: 35
  90925. };
  90926. A.global_closure56.prototype = {
  90927. call$1($arguments) {
  90928. var argument = J.$index$asx($arguments, 0);
  90929. if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0()))
  90930. return A._functionString0("alpha", $arguments);
  90931. return A.SassNumber_SassNumber0(argument.assertColor$1("color")._color1$_alpha, null);
  90932. },
  90933. $signature: 5
  90934. };
  90935. A.global_closure57.prototype = {
  90936. call$1($arguments) {
  90937. var t1,
  90938. argList = J.$index$asx($arguments, 0).get$asList();
  90939. if (argList.length !== 0 && B.JSArray_methods.every$1(argList, new A.global__closure0()))
  90940. return A._functionString0("alpha", $arguments);
  90941. t1 = argList.length;
  90942. if (t1 === 0)
  90943. throw A.wrapException(A.SassScriptException$0("Missing argument $color.", null));
  90944. else
  90945. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1 + " were passed.", null));
  90946. },
  90947. $signature: 18
  90948. };
  90949. A.global__closure0.prototype = {
  90950. call$1(argument) {
  90951. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  90952. },
  90953. $signature: 50
  90954. };
  90955. A.global_closure58.prototype = {
  90956. call$1($arguments) {
  90957. var t1 = J.getInterceptor$asx($arguments);
  90958. if (t1.$index($arguments, 0) instanceof A.SassNumber0 || t1.$index($arguments, 0).get$isSpecialNumber())
  90959. return A._functionString0("opacity", $arguments);
  90960. return A.SassNumber_SassNumber0(t1.$index($arguments, 0).assertColor$1("color")._color1$_alpha, null);
  90961. },
  90962. $signature: 5
  90963. };
  90964. A.module_closure12.prototype = {
  90965. call$1($arguments) {
  90966. var result, t2, color,
  90967. t1 = J.getInterceptor$asx($arguments),
  90968. weight = t1.$index($arguments, 1).assertNumber$1("weight");
  90969. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  90970. if (weight._number1$_value !== 100 || !weight.hasUnit$1("%"))
  90971. throw A.wrapException(string$.Only_oa);
  90972. result = A._functionString0("invert", t1.take$1($arguments, 1));
  90973. t1 = A.S(t1.$index($arguments, 0));
  90974. t2 = result.toString$0(0);
  90975. A.EvaluationContext_current0().warn$2(0, "Passing a number (" + t1 + string$.x29x20to_ci + t2, B.Deprecation_LT8);
  90976. return result;
  90977. }
  90978. color = t1.$index($arguments, 0).assertColor$1("color");
  90979. t1 = color.get$red(color);
  90980. t2 = color.get$green(color);
  90981. return A._mixColors0(color.changeRgb$3$blue$green$red(255 - color.get$blue(color), 255 - t2, 255 - t1), color, weight);
  90982. },
  90983. $signature: 5
  90984. };
  90985. A.module_closure13.prototype = {
  90986. call$1($arguments) {
  90987. var result, t2,
  90988. t1 = J.getInterceptor$asx($arguments);
  90989. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  90990. result = A._functionString0("grayscale", t1.take$1($arguments, 1));
  90991. t1 = A.S(t1.$index($arguments, 0));
  90992. t2 = result.toString$0(0);
  90993. A.EvaluationContext_current0().warn$2(0, "Passing a number (" + t1 + string$.x29x20to_cg + t2, B.Deprecation_LT8);
  90994. return result;
  90995. }
  90996. return t1.$index($arguments, 0).assertColor$1("color").changeHsl$1$saturation(0);
  90997. },
  90998. $signature: 5
  90999. };
  91000. A.module_closure14.prototype = {
  91001. call$1($arguments) {
  91002. return A._hwb0($arguments);
  91003. },
  91004. $signature: 5
  91005. };
  91006. A.module_closure15.prototype = {
  91007. call$1($arguments) {
  91008. var parsed = A._parseChannels0("hwb", A._setArrayType(["$hue", "$whiteness", "$blackness"], type$.JSArray_String), J.get$first$ax($arguments));
  91009. if (parsed instanceof A.SassString0)
  91010. throw A.wrapException(A.SassScriptException$0('Expected numeric channels, got "' + parsed.toString$0(0) + '".', null));
  91011. else
  91012. return A._hwb0(type$.List_Value_2._as(parsed));
  91013. },
  91014. $signature: 5
  91015. };
  91016. A.module_closure16.prototype = {
  91017. call$1($arguments) {
  91018. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  91019. return A.SassNumber_SassNumber0(t1.get$whiteness(t1), "%");
  91020. },
  91021. $signature: 13
  91022. };
  91023. A.module_closure17.prototype = {
  91024. call$1($arguments) {
  91025. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  91026. return A.SassNumber_SassNumber0(t1.get$blackness(t1), "%");
  91027. },
  91028. $signature: 13
  91029. };
  91030. A.module_closure18.prototype = {
  91031. call$1($arguments) {
  91032. var result, t1,
  91033. argument = J.$index$asx($arguments, 0);
  91034. if (argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0())) {
  91035. result = A._functionString0("alpha", $arguments);
  91036. t1 = result.toString$0(0);
  91037. A.EvaluationContext_current0().warn$2(0, string$.Using_c + t1, B.Deprecation_LT8);
  91038. return result;
  91039. }
  91040. return A.SassNumber_SassNumber0(argument.assertColor$1("color")._color1$_alpha, null);
  91041. },
  91042. $signature: 5
  91043. };
  91044. A.module_closure19.prototype = {
  91045. call$1($arguments) {
  91046. var result,
  91047. t1 = J.getInterceptor$asx($arguments);
  91048. if (B.JSArray_methods.every$1(t1.$index($arguments, 0).get$asList(), new A.module__closure4())) {
  91049. result = A._functionString0("alpha", $arguments);
  91050. t1 = result.toString$0(0);
  91051. A.EvaluationContext_current0().warn$2(0, string$.Using_c + t1, B.Deprecation_LT8);
  91052. return result;
  91053. }
  91054. throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but " + t1.get$length($arguments) + " were passed.", null));
  91055. },
  91056. $signature: 18
  91057. };
  91058. A.module__closure4.prototype = {
  91059. call$1(argument) {
  91060. return argument instanceof A.SassString0 && !argument._string0$_hasQuotes && B.JSString_methods.contains$1(argument._string0$_text, $.$get$_microsoftFilterStart0());
  91061. },
  91062. $signature: 50
  91063. };
  91064. A.module_closure20.prototype = {
  91065. call$1($arguments) {
  91066. var result, t2,
  91067. t1 = J.getInterceptor$asx($arguments);
  91068. if (t1.$index($arguments, 0) instanceof A.SassNumber0) {
  91069. result = A._functionString0("opacity", $arguments);
  91070. t1 = A.S(t1.$index($arguments, 0));
  91071. t2 = result.toString$0(0);
  91072. A.EvaluationContext_current0().warn$2(0, "Passing a number (" + t1 + string$.x20to_co + t2, B.Deprecation_LT8);
  91073. return result;
  91074. }
  91075. return A.SassNumber_SassNumber0(t1.$index($arguments, 0).assertColor$1("color")._color1$_alpha, null);
  91076. },
  91077. $signature: 5
  91078. };
  91079. A._red_closure0.prototype = {
  91080. call$1($arguments) {
  91081. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  91082. return A.SassNumber_SassNumber0(t1.get$red(t1), null);
  91083. },
  91084. $signature: 13
  91085. };
  91086. A._green_closure0.prototype = {
  91087. call$1($arguments) {
  91088. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  91089. return A.SassNumber_SassNumber0(t1.get$green(t1), null);
  91090. },
  91091. $signature: 13
  91092. };
  91093. A._blue_closure0.prototype = {
  91094. call$1($arguments) {
  91095. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  91096. return A.SassNumber_SassNumber0(t1.get$blue(t1), null);
  91097. },
  91098. $signature: 13
  91099. };
  91100. A._mix_closure0.prototype = {
  91101. call$1($arguments) {
  91102. var t1 = J.getInterceptor$asx($arguments);
  91103. return A._mixColors0(t1.$index($arguments, 0).assertColor$1("color1"), t1.$index($arguments, 1).assertColor$1("color2"), t1.$index($arguments, 2).assertNumber$1("weight"));
  91104. },
  91105. $signature: 35
  91106. };
  91107. A._hue_closure0.prototype = {
  91108. call$1($arguments) {
  91109. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  91110. return A.SassNumber_SassNumber0(t1.get$hue(t1), "deg");
  91111. },
  91112. $signature: 13
  91113. };
  91114. A._saturation_closure0.prototype = {
  91115. call$1($arguments) {
  91116. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  91117. return A.SassNumber_SassNumber0(t1.get$saturation(t1), "%");
  91118. },
  91119. $signature: 13
  91120. };
  91121. A._lightness_closure0.prototype = {
  91122. call$1($arguments) {
  91123. var t1 = J.get$first$ax($arguments).assertColor$1("color");
  91124. return A.SassNumber_SassNumber0(t1.get$lightness(t1), "%");
  91125. },
  91126. $signature: 13
  91127. };
  91128. A._complement_closure0.prototype = {
  91129. call$1($arguments) {
  91130. var color = J.$index$asx($arguments, 0).assertColor$1("color");
  91131. return color.changeHsl$1$hue(color.get$hue(color) + 180);
  91132. },
  91133. $signature: 35
  91134. };
  91135. A._adjust_closure0.prototype = {
  91136. call$1($arguments) {
  91137. return A._updateComponents0($arguments, true, false, false);
  91138. },
  91139. $signature: 35
  91140. };
  91141. A._scale_closure0.prototype = {
  91142. call$1($arguments) {
  91143. return A._updateComponents0($arguments, false, false, true);
  91144. },
  91145. $signature: 35
  91146. };
  91147. A._change_closure0.prototype = {
  91148. call$1($arguments) {
  91149. return A._updateComponents0($arguments, false, true, false);
  91150. },
  91151. $signature: 35
  91152. };
  91153. A._ieHexStr_closure0.prototype = {
  91154. call$1($arguments) {
  91155. var color = J.$index$asx($arguments, 0).assertColor$1("color"),
  91156. t1 = new A._ieHexStr_closure_hexString0();
  91157. 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);
  91158. },
  91159. $signature: 18
  91160. };
  91161. A._ieHexStr_closure_hexString0.prototype = {
  91162. call$1(component) {
  91163. return B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(component, 16), 2, "0").toUpperCase();
  91164. },
  91165. $signature: 207
  91166. };
  91167. A._updateComponents_getParam0.prototype = {
  91168. call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, checkPercent, checkUnitless) {
  91169. var t2, t3, t4, _this = this,
  91170. t1 = _this.keywords.remove$1(0, $name),
  91171. number = t1 == null ? null : t1.assertNumber$1($name);
  91172. if (number == null)
  91173. return null;
  91174. t1 = _this.scale;
  91175. t2 = !t1;
  91176. if (t2 && checkUnitless)
  91177. if (number.get$hasUnits()) {
  91178. t3 = number.get$unitString();
  91179. t4 = number.unitSuggestion$1($name);
  91180. A.EvaluationContext_current0().warn$2(0, "$" + $name + ": Passing a number with unit " + t3 + string$.x20is_de + t4 + string$.x0a_Morex3a, B.Deprecation_0bn);
  91181. }
  91182. if (t2 && checkPercent)
  91183. A._checkPercent0(number, $name);
  91184. if (!t2 || assertPercent)
  91185. number.assertUnit$2("%", $name);
  91186. if (t1)
  91187. max = 100;
  91188. if (!t2 || assertPercent)
  91189. t1 = number.valueInRange$3(_this.change ? 0 : -max, max, $name);
  91190. else {
  91191. t1 = _this.change ? 0 : -max;
  91192. t1 = number.valueInRangeWithUnit$4(t1, max, $name, checkPercent ? "%" : "");
  91193. }
  91194. return t1;
  91195. },
  91196. call$2($name, max) {
  91197. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, false);
  91198. },
  91199. call$3$checkUnitless($name, max, checkUnitless) {
  91200. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, false, checkUnitless);
  91201. },
  91202. call$3$checkPercent($name, max, checkPercent) {
  91203. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, false, checkPercent, false);
  91204. },
  91205. call$3$assertPercent($name, max, assertPercent) {
  91206. return this.call$5$assertPercent$checkPercent$checkUnitless($name, max, assertPercent, false, false);
  91207. },
  91208. $signature: 206
  91209. };
  91210. A._updateComponents_closure1.prototype = {
  91211. call$1(hue) {
  91212. return A._angleValue0(hue, "hue");
  91213. },
  91214. $signature: 98
  91215. };
  91216. A._updateComponents_closure2.prototype = {
  91217. call$1($name) {
  91218. return "$" + $name;
  91219. },
  91220. $signature: 7
  91221. };
  91222. A._updateComponents_updateValue0.prototype = {
  91223. call$3(current, param, max) {
  91224. var t1;
  91225. if (param == null)
  91226. return current;
  91227. if (this.change)
  91228. return param;
  91229. if (this.adjust)
  91230. return B.JSNumber_methods.clamp$2(current + param, 0, max);
  91231. t1 = param > 0 ? max - current : current;
  91232. return current + t1 * (param / 100);
  91233. },
  91234. $signature: 205
  91235. };
  91236. A._updateComponents_updateRgb0.prototype = {
  91237. call$2(current, param) {
  91238. return A.fuzzyRound0(this.updateValue.call$3(current, param, 255));
  91239. },
  91240. $signature: 204
  91241. };
  91242. A._functionString_closure0.prototype = {
  91243. call$1(argument) {
  91244. return A.serializeValue0(argument, false, true);
  91245. },
  91246. $signature: 226
  91247. };
  91248. A._removedColorFunction_closure0.prototype = {
  91249. call$1($arguments) {
  91250. var t1 = this.name,
  91251. t2 = J.getInterceptor$asx($arguments),
  91252. t3 = A.S(t2.$index($arguments, 0)),
  91253. t4 = this.negative ? "-" : "";
  91254. throw A.wrapException(A.SassScriptException$0("The function " + t1 + string$.x28__isn + t3 + ", $" + this.argument + ": " + t4 + A.S(t2.$index($arguments, 1)) + string$.x29x0a_Mor + t1, null));
  91255. },
  91256. $signature: 406
  91257. };
  91258. A._rgb_closure0.prototype = {
  91259. call$1(alpha) {
  91260. return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  91261. },
  91262. $signature: 98
  91263. };
  91264. A._hsl_closure0.prototype = {
  91265. call$1(alpha) {
  91266. return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  91267. },
  91268. $signature: 98
  91269. };
  91270. A._hwb_closure0.prototype = {
  91271. call$1(alpha) {
  91272. return A._percentageOrUnitless0(alpha.assertNumber$1("alpha"), 1, "alpha");
  91273. },
  91274. $signature: 98
  91275. };
  91276. A._parseChannels_closure2.prototype = {
  91277. call$0() {
  91278. return this._0_0[0];
  91279. },
  91280. $signature: 32
  91281. };
  91282. A._parseChannels_closure3.prototype = {
  91283. call$1(value) {
  91284. return value.get$isVar();
  91285. },
  91286. $signature: 50
  91287. };
  91288. A._parseChannels_closure4.prototype = {
  91289. call$0() {
  91290. return type$.SassNumber_2._as(this._1_0).asSlash;
  91291. },
  91292. $signature: 407
  91293. };
  91294. A.colorClass_closure.prototype = {
  91295. call$0() {
  91296. var t1 = type$.JSClass,
  91297. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassColor", new A.colorClass__closure()));
  91298. J.get$$prototype$x(jsClass).change = A.allowInteropCaptureThisNamed("change", new A.colorClass__closure0());
  91299. 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));
  91300. A.JSClassExtension_injectSuperclass(t1._as(A.SassColor$rgb0(0, 0, 0, 1).constructor), jsClass);
  91301. return jsClass;
  91302. },
  91303. $signature: 24
  91304. };
  91305. A.colorClass__closure.prototype = {
  91306. call$2($self, color) {
  91307. var t2, t3, t4,
  91308. t1 = J.getInterceptor$x(color);
  91309. if (t1.get$red(color) != null) {
  91310. t2 = t1.get$red(color);
  91311. t2.toString;
  91312. t2 = A.fuzzyRound0(t2);
  91313. t3 = t1.get$green(color);
  91314. t3.toString;
  91315. t3 = A.fuzzyRound0(t3);
  91316. t4 = t1.get$blue(color);
  91317. t4.toString;
  91318. t4 = A.fuzzyRound0(t4);
  91319. t1 = t1.get$alpha(color);
  91320. return A.SassColor$rgb0(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  91321. } else if (t1.get$saturation(color) != null) {
  91322. t2 = t1.get$hue(color);
  91323. t2.toString;
  91324. t3 = t1.get$saturation(color);
  91325. t3.toString;
  91326. t4 = t1.get$lightness(color);
  91327. t4.toString;
  91328. t1 = t1.get$alpha(color);
  91329. return A.SassColor$hsl(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  91330. } else {
  91331. t2 = t1.get$hue(color);
  91332. t2.toString;
  91333. t3 = t1.get$whiteness(color);
  91334. t3.toString;
  91335. t4 = t1.get$blackness(color);
  91336. t4.toString;
  91337. t1 = t1.get$alpha(color);
  91338. return A.SassColor_SassColor$hwb0(t2, t3, t4, A._asBool($.$get$_isUndefined().call$1(t1)) ? 1 : t1);
  91339. }
  91340. },
  91341. $signature: 408
  91342. };
  91343. A.colorClass__closure0.prototype = {
  91344. call$2($self, options) {
  91345. var t2, t3, t4,
  91346. t1 = J.getInterceptor$x(options);
  91347. if (t1.get$whiteness(options) != null || t1.get$blackness(options) != null) {
  91348. t2 = t1.get$hue(options);
  91349. if (t2 == null)
  91350. t2 = $self.get$hue($self);
  91351. t3 = t1.get$whiteness(options);
  91352. if (t3 == null)
  91353. t3 = $self.get$whiteness($self);
  91354. t4 = t1.get$blackness(options);
  91355. if (t4 == null)
  91356. t4 = $self.get$blackness($self);
  91357. t1 = t1.get$alpha(options);
  91358. return $self.changeHwb$4$alpha$blackness$hue$whiteness(t1 == null ? $self._color1$_alpha : t1, t4, t2, t3);
  91359. } else if (t1.get$hue(options) != null || t1.get$saturation(options) != null || t1.get$lightness(options) != null) {
  91360. t2 = t1.get$hue(options);
  91361. if (t2 == null)
  91362. t2 = $self.get$hue($self);
  91363. t3 = t1.get$saturation(options);
  91364. if (t3 == null)
  91365. t3 = $self.get$saturation($self);
  91366. t4 = t1.get$lightness(options);
  91367. if (t4 == null)
  91368. t4 = $self.get$lightness($self);
  91369. t1 = t1.get$alpha(options);
  91370. return $self.changeHsl$4$alpha$hue$lightness$saturation(t1 == null ? $self._color1$_alpha : t1, t2, t4, t3);
  91371. } else if (t1.get$red(options) != null || t1.get$green(options) != null || t1.get$blue(options) != null) {
  91372. t2 = A.NullableExtension_andThen0(t1.get$red(options), A.number2__fuzzyRound$closure());
  91373. if (t2 == null)
  91374. t2 = $self.get$red($self);
  91375. t3 = A.NullableExtension_andThen0(t1.get$green(options), A.number2__fuzzyRound$closure());
  91376. if (t3 == null)
  91377. t3 = $self.get$green($self);
  91378. t4 = A.NullableExtension_andThen0(t1.get$blue(options), A.number2__fuzzyRound$closure());
  91379. if (t4 == null)
  91380. t4 = $self.get$blue($self);
  91381. t1 = t1.get$alpha(options);
  91382. return $self.changeRgb$4$alpha$blue$green$red(t1 == null ? $self._color1$_alpha : t1, t4, t3, t2);
  91383. } else {
  91384. t1 = t1.get$alpha(options);
  91385. return $self.changeAlpha$1(t1 == null ? $self._color1$_alpha : t1);
  91386. }
  91387. },
  91388. $signature: 409
  91389. };
  91390. A.colorClass__closure1.prototype = {
  91391. call$1($self) {
  91392. return $self.get$red($self);
  91393. },
  91394. $signature: 133
  91395. };
  91396. A.colorClass__closure2.prototype = {
  91397. call$1($self) {
  91398. return $self.get$green($self);
  91399. },
  91400. $signature: 133
  91401. };
  91402. A.colorClass__closure3.prototype = {
  91403. call$1($self) {
  91404. return $self.get$blue($self);
  91405. },
  91406. $signature: 133
  91407. };
  91408. A.colorClass__closure4.prototype = {
  91409. call$1($self) {
  91410. return $self.get$hue($self);
  91411. },
  91412. $signature: 55
  91413. };
  91414. A.colorClass__closure5.prototype = {
  91415. call$1($self) {
  91416. return $self.get$saturation($self);
  91417. },
  91418. $signature: 55
  91419. };
  91420. A.colorClass__closure6.prototype = {
  91421. call$1($self) {
  91422. return $self.get$lightness($self);
  91423. },
  91424. $signature: 55
  91425. };
  91426. A.colorClass__closure7.prototype = {
  91427. call$1($self) {
  91428. return $self.get$whiteness($self);
  91429. },
  91430. $signature: 55
  91431. };
  91432. A.colorClass__closure8.prototype = {
  91433. call$1($self) {
  91434. return $self.get$blackness($self);
  91435. },
  91436. $signature: 55
  91437. };
  91438. A.colorClass__closure9.prototype = {
  91439. call$1($self) {
  91440. return $self._color1$_alpha;
  91441. },
  91442. $signature: 55
  91443. };
  91444. A._Channels.prototype = {};
  91445. A._NodeSassColor.prototype = {};
  91446. A.legacyColorClass_closure.prototype = {
  91447. call$6(thisArg, redOrArgb, green, blue, alpha, dartValue) {
  91448. var red, t1, t2, t3, t4;
  91449. if (dartValue != null) {
  91450. J.set$dartValue$x(thisArg, dartValue);
  91451. return;
  91452. }
  91453. if (green == null || blue == null) {
  91454. A._asInt(redOrArgb);
  91455. alpha = B.JSInt_methods._shrOtherPositive$1(redOrArgb, 24) / 255;
  91456. red = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 16), 256);
  91457. green = B.JSInt_methods.$mod(B.JSInt_methods._shrOtherPositive$1(redOrArgb, 8), 256);
  91458. blue = B.JSInt_methods.$mod(redOrArgb, 256);
  91459. } else {
  91460. redOrArgb.toString;
  91461. red = redOrArgb;
  91462. }
  91463. t1 = A.fuzzyRound0(B.JSNumber_methods.clamp$2(red, 0, 255));
  91464. t2 = A.fuzzyRound0(B.JSNumber_methods.clamp$2(green, 0, 255));
  91465. t3 = A.fuzzyRound0(B.JSNumber_methods.clamp$2(blue, 0, 255));
  91466. t4 = alpha == null ? null : B.JSNumber_methods.clamp$2(alpha, 0, 1);
  91467. J.set$dartValue$x(thisArg, A.SassColor$rgb0(t1, t2, t3, t4 == null ? 1 : t4));
  91468. },
  91469. call$2(thisArg, redOrArgb) {
  91470. return this.call$6(thisArg, redOrArgb, null, null, null, null);
  91471. },
  91472. call$3(thisArg, redOrArgb, green) {
  91473. return this.call$6(thisArg, redOrArgb, green, null, null, null);
  91474. },
  91475. call$4(thisArg, redOrArgb, green, blue) {
  91476. return this.call$6(thisArg, redOrArgb, green, blue, null, null);
  91477. },
  91478. call$5(thisArg, redOrArgb, green, blue, alpha) {
  91479. return this.call$6(thisArg, redOrArgb, green, blue, alpha, null);
  91480. },
  91481. "call*": "call$6",
  91482. $requiredArgCount: 2,
  91483. $defaultValues() {
  91484. return [null, null, null, null];
  91485. },
  91486. $signature: 412
  91487. };
  91488. A.legacyColorClass_closure0.prototype = {
  91489. call$1(thisArg) {
  91490. return J.get$red$x(J.get$dartValue$x(thisArg));
  91491. },
  91492. $signature: 138
  91493. };
  91494. A.legacyColorClass_closure1.prototype = {
  91495. call$1(thisArg) {
  91496. return J.get$green$x(J.get$dartValue$x(thisArg));
  91497. },
  91498. $signature: 138
  91499. };
  91500. A.legacyColorClass_closure2.prototype = {
  91501. call$1(thisArg) {
  91502. return J.get$blue$x(J.get$dartValue$x(thisArg));
  91503. },
  91504. $signature: 138
  91505. };
  91506. A.legacyColorClass_closure3.prototype = {
  91507. call$1(thisArg) {
  91508. return J.get$dartValue$x(thisArg)._color1$_alpha;
  91509. },
  91510. $signature: 414
  91511. };
  91512. A.legacyColorClass_closure4.prototype = {
  91513. call$2(thisArg, value) {
  91514. var t1 = J.getInterceptor$x(thisArg);
  91515. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$red(A.fuzzyRound0(B.JSNumber_methods.clamp$2(value, 0, 255))));
  91516. },
  91517. $signature: 84
  91518. };
  91519. A.legacyColorClass_closure5.prototype = {
  91520. call$2(thisArg, value) {
  91521. var t1 = J.getInterceptor$x(thisArg);
  91522. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$green(A.fuzzyRound0(B.JSNumber_methods.clamp$2(value, 0, 255))));
  91523. },
  91524. $signature: 84
  91525. };
  91526. A.legacyColorClass_closure6.prototype = {
  91527. call$2(thisArg, value) {
  91528. var t1 = J.getInterceptor$x(thisArg);
  91529. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$blue(A.fuzzyRound0(B.JSNumber_methods.clamp$2(value, 0, 255))));
  91530. },
  91531. $signature: 84
  91532. };
  91533. A.legacyColorClass_closure7.prototype = {
  91534. call$2(thisArg, value) {
  91535. var t1 = J.getInterceptor$x(thisArg);
  91536. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).changeRgb$1$alpha(B.JSNumber_methods.clamp$2(value, 0, 1)));
  91537. },
  91538. $signature: 84
  91539. };
  91540. A.SassColor0.prototype = {
  91541. get$red(_) {
  91542. var t1;
  91543. if (this._color1$_red == null)
  91544. this._color1$_hslToRgb$0();
  91545. t1 = this._color1$_red;
  91546. t1.toString;
  91547. return t1;
  91548. },
  91549. get$green(_) {
  91550. var t1;
  91551. if (this._color1$_green == null)
  91552. this._color1$_hslToRgb$0();
  91553. t1 = this._color1$_green;
  91554. t1.toString;
  91555. return t1;
  91556. },
  91557. get$blue(_) {
  91558. var t1;
  91559. if (this._color1$_blue == null)
  91560. this._color1$_hslToRgb$0();
  91561. t1 = this._color1$_blue;
  91562. t1.toString;
  91563. return t1;
  91564. },
  91565. get$hue(_) {
  91566. var t1;
  91567. if (this._color1$_hue == null)
  91568. this._color1$_rgbToHsl$0();
  91569. t1 = this._color1$_hue;
  91570. t1.toString;
  91571. return t1;
  91572. },
  91573. get$saturation(_) {
  91574. var t1;
  91575. if (this._color1$_saturation == null)
  91576. this._color1$_rgbToHsl$0();
  91577. t1 = this._color1$_saturation;
  91578. t1.toString;
  91579. return t1;
  91580. },
  91581. get$lightness(_) {
  91582. var t1;
  91583. if (this._color1$_lightness == null)
  91584. this._color1$_rgbToHsl$0();
  91585. t1 = this._color1$_lightness;
  91586. t1.toString;
  91587. return t1;
  91588. },
  91589. get$whiteness(_) {
  91590. var _this = this;
  91591. return Math.min(Math.min(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
  91592. },
  91593. get$blackness(_) {
  91594. var _this = this;
  91595. return 100 - Math.max(Math.max(_this.get$red(_this), _this.get$green(_this)), _this.get$blue(_this)) / 255 * 100;
  91596. },
  91597. accept$1$1(visitor) {
  91598. return visitor.visitColor$1(this);
  91599. },
  91600. accept$1(visitor) {
  91601. return this.accept$1$1(visitor, type$.dynamic);
  91602. },
  91603. assertColor$1($name) {
  91604. return this;
  91605. },
  91606. changeRgb$4$alpha$blue$green$red(alpha, blue, green, red) {
  91607. var _this = this,
  91608. t1 = red == null ? _this.get$red(_this) : red,
  91609. t2 = green == null ? _this.get$green(_this) : green,
  91610. t3 = blue == null ? _this.get$blue(_this) : blue;
  91611. return A.SassColor$rgb0(t1, t2, t3, alpha == null ? _this._color1$_alpha : alpha);
  91612. },
  91613. changeRgb$3$blue$green$red(blue, green, red) {
  91614. return this.changeRgb$4$alpha$blue$green$red(null, blue, green, red);
  91615. },
  91616. changeRgb$1$alpha(alpha) {
  91617. return this.changeRgb$4$alpha$blue$green$red(alpha, null, null, null);
  91618. },
  91619. changeRgb$1$blue(blue) {
  91620. return this.changeRgb$4$alpha$blue$green$red(null, blue, null, null);
  91621. },
  91622. changeRgb$1$green(green) {
  91623. return this.changeRgb$4$alpha$blue$green$red(null, null, green, null);
  91624. },
  91625. changeRgb$1$red(red) {
  91626. return this.changeRgb$4$alpha$blue$green$red(null, null, null, red);
  91627. },
  91628. changeHsl$4$alpha$hue$lightness$saturation(alpha, hue, lightness, saturation) {
  91629. var _this = this,
  91630. t1 = hue == null ? _this.get$hue(_this) : hue,
  91631. t2 = saturation == null ? _this.get$saturation(_this) : saturation,
  91632. t3 = lightness == null ? _this.get$lightness(_this) : lightness;
  91633. return A.SassColor$hsl(t1, t2, t3, alpha == null ? _this._color1$_alpha : alpha);
  91634. },
  91635. changeHsl$1$saturation(saturation) {
  91636. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, null, saturation);
  91637. },
  91638. changeHsl$1$lightness(lightness) {
  91639. return this.changeHsl$4$alpha$hue$lightness$saturation(null, null, lightness, null);
  91640. },
  91641. changeHsl$1$hue(hue) {
  91642. return this.changeHsl$4$alpha$hue$lightness$saturation(null, hue, null, null);
  91643. },
  91644. changeHwb$4$alpha$blackness$hue$whiteness(alpha, blackness, hue, whiteness) {
  91645. var t1 = hue == null ? this.get$hue(this) : hue;
  91646. return A.SassColor_SassColor$hwb0(t1, whiteness, blackness, alpha);
  91647. },
  91648. changeAlpha$1(alpha) {
  91649. var _this = this;
  91650. 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);
  91651. },
  91652. plus$1(other) {
  91653. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  91654. return this.super$Value$plus0(other);
  91655. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  91656. },
  91657. minus$1(other) {
  91658. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  91659. return this.super$Value$minus0(other);
  91660. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  91661. },
  91662. dividedBy$1(other) {
  91663. if (!(other instanceof A.SassNumber0) && !(other instanceof A.SassColor0))
  91664. return this.super$Value$dividedBy0(other);
  91665. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " / " + other.toString$0(0) + '".', null));
  91666. },
  91667. $eq(_, other) {
  91668. var _this = this;
  91669. if (other == null)
  91670. return false;
  91671. 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;
  91672. },
  91673. get$hashCode(_) {
  91674. var _this = this;
  91675. 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);
  91676. },
  91677. _color1$_rgbToHsl$0() {
  91678. var t2, lightness, _this = this,
  91679. scaledRed = _this.get$red(_this) / 255,
  91680. scaledGreen = _this.get$green(_this) / 255,
  91681. scaledBlue = _this.get$blue(_this) / 255,
  91682. max = Math.max(Math.max(scaledRed, scaledGreen), scaledBlue),
  91683. min = Math.min(Math.min(scaledRed, scaledGreen), scaledBlue),
  91684. delta = max - min,
  91685. t1 = max === min;
  91686. if (t1)
  91687. _this._color1$_hue = 0;
  91688. else if (max === scaledRed)
  91689. _this._color1$_hue = B.JSNumber_methods.$mod(60 * (scaledGreen - scaledBlue) / delta, 360);
  91690. else if (max === scaledGreen)
  91691. _this._color1$_hue = B.JSNumber_methods.$mod(120 + 60 * (scaledBlue - scaledRed) / delta, 360);
  91692. else if (max === scaledBlue)
  91693. _this._color1$_hue = B.JSNumber_methods.$mod(240 + 60 * (scaledRed - scaledGreen) / delta, 360);
  91694. t2 = max + min;
  91695. lightness = 50 * t2;
  91696. _this._color1$_lightness = lightness;
  91697. if (t1)
  91698. _this._color1$_saturation = 0;
  91699. else {
  91700. t1 = 100 * delta;
  91701. if (lightness < 50)
  91702. _this._color1$_saturation = t1 / t2;
  91703. else
  91704. _this._color1$_saturation = t1 / (2 - max - min);
  91705. }
  91706. },
  91707. _color1$_hslToRgb$0() {
  91708. var _this = this,
  91709. scaledHue = _this.get$hue(_this) / 360,
  91710. scaledSaturation = _this.get$saturation(_this) / 100,
  91711. scaledLightness = _this.get$lightness(_this) / 100,
  91712. m2 = scaledLightness <= 0.5 ? scaledLightness * (scaledSaturation + 1) : scaledLightness + scaledSaturation - scaledLightness * scaledSaturation,
  91713. m1 = scaledLightness * 2 - m2;
  91714. _this._color1$_red = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue + 0.3333333333333333) * 255);
  91715. _this._color1$_green = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue) * 255);
  91716. _this._color1$_blue = A.fuzzyRound0(A.SassColor__hueToRgb0(m1, m2, scaledHue - 0.3333333333333333) * 255);
  91717. }
  91718. };
  91719. A.SassColor_SassColor$hwb_toRgb0.prototype = {
  91720. call$1(hue) {
  91721. return A.fuzzyRound0((A.SassColor__hueToRgb0(0, 1, hue) * this.factor + this._box_0.scaledWhiteness) * 255);
  91722. },
  91723. $signature: 171
  91724. };
  91725. A._ColorFormatEnum0.prototype = {
  91726. toString$0(_) {
  91727. return this._color1$_name;
  91728. }
  91729. };
  91730. A.SpanColorFormat0.prototype = {};
  91731. A.Combinator0.prototype = {
  91732. _enumToString$0() {
  91733. return "Combinator." + this._name;
  91734. },
  91735. toString$0(_) {
  91736. return this._combinator0$_text;
  91737. }
  91738. };
  91739. A.ModifiableCssComment0.prototype = {
  91740. accept$1$1(visitor) {
  91741. return visitor.visitCssComment$1(this);
  91742. },
  91743. accept$1(visitor) {
  91744. return this.accept$1$1(visitor, type$.dynamic);
  91745. },
  91746. $isCssComment0: 1,
  91747. get$span(receiver) {
  91748. return this.span;
  91749. }
  91750. };
  91751. A.compileAsync_closure.prototype = {
  91752. call$0() {
  91753. var $async$goto = 0,
  91754. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  91755. $async$returnValue, $async$self = this, t5, t6, t7, t8, t9, t10, t11, result, t1, t2, t3, t4;
  91756. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91757. if ($async$errorCode === 1)
  91758. return A._asyncRethrow($async$result, $async$completer);
  91759. while (true)
  91760. switch ($async$goto) {
  91761. case 0:
  91762. // Function start
  91763. t1 = $async$self.options;
  91764. t2 = t1 == null;
  91765. t3 = t2 ? null : J.get$loadPaths$x(t1);
  91766. t4 = t2 ? null : J.get$quietDeps$x(t1);
  91767. if (t4 == null)
  91768. t4 = false;
  91769. t5 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  91770. t6 = t2 ? null : J.get$verbose$x(t1);
  91771. if (t6 == null)
  91772. t6 = false;
  91773. t7 = t2 ? null : J.get$charset$x(t1);
  91774. if (t7 == null)
  91775. t7 = true;
  91776. t8 = t2 ? null : J.get$sourceMap$x(t1);
  91777. if (t8 == null)
  91778. t8 = false;
  91779. t9 = t2 ? null : J.get$logger$x(t1);
  91780. t9 = new A.JSToDartLogger(t9, new A.StderrLogger0($async$self.color), $async$self.ascii);
  91781. if (t2)
  91782. t10 = null;
  91783. else {
  91784. t10 = J.get$importers$x(t1);
  91785. t10 = t10 == null ? null : J.map$1$1$ax(t10, new A.compileAsync__closure(), type$.AsyncImporter);
  91786. }
  91787. t11 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  91788. $async$goto = 3;
  91789. return A._asyncAwait(A.compileAsync0($async$self.path, t7, null, t11, null, A.AsyncImportCache$(t10, t3, t9, null), null, null, t9, null, t4, t8, t5, null, true, t6), $async$call$0);
  91790. case 3:
  91791. // returning from await.
  91792. result = $async$result;
  91793. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  91794. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  91795. // goto return
  91796. $async$goto = 1;
  91797. break;
  91798. case 1:
  91799. // return
  91800. return A._asyncReturn($async$returnValue, $async$completer);
  91801. }
  91802. });
  91803. return A._asyncStartSync($async$call$0, $async$completer);
  91804. },
  91805. $signature: 231
  91806. };
  91807. A.compileAsync__closure.prototype = {
  91808. call$1(importer) {
  91809. return A._parseAsyncImporter(importer);
  91810. },
  91811. $signature: 232
  91812. };
  91813. A.compileStringAsync_closure.prototype = {
  91814. call$0() {
  91815. var $async$goto = 0,
  91816. $async$completer = A._makeAsyncAwaitCompleter(type$.NodeCompileResult),
  91817. $async$returnValue, $async$self = this, t7, t8, t9, t10, t11, t12, t13, t14, result, t1, t2, t3, t4, t5, t6;
  91818. var $async$call$0 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91819. if ($async$errorCode === 1)
  91820. return A._asyncRethrow($async$result, $async$completer);
  91821. while (true)
  91822. switch ($async$goto) {
  91823. case 0:
  91824. // Function start
  91825. t1 = $async$self.options;
  91826. t2 = t1 == null;
  91827. t3 = A.parseSyntax(t2 ? null : J.get$syntax$x(t1));
  91828. t4 = t2 ? null : A.NullableExtension_andThen0(J.get$url$x(t1), A.utils1__jsToDartUrl$closure());
  91829. t5 = t2 ? null : J.get$loadPaths$x(t1);
  91830. t6 = t2 ? null : J.get$quietDeps$x(t1);
  91831. if (t6 == null)
  91832. t6 = false;
  91833. t7 = A._parseOutputStyle0(t2 ? null : J.get$style$x(t1));
  91834. t8 = t2 ? null : J.get$verbose$x(t1);
  91835. if (t8 == null)
  91836. t8 = false;
  91837. t9 = t2 ? null : J.get$charset$x(t1);
  91838. if (t9 == null)
  91839. t9 = true;
  91840. t10 = t2 ? null : J.get$sourceMap$x(t1);
  91841. if (t10 == null)
  91842. t10 = false;
  91843. t11 = t2 ? null : J.get$logger$x(t1);
  91844. t11 = new A.JSToDartLogger(t11, new A.StderrLogger0($async$self.color), $async$self.ascii);
  91845. if (t2)
  91846. t12 = null;
  91847. else {
  91848. t12 = J.get$importers$x(t1);
  91849. t12 = t12 == null ? null : J.map$1$1$ax(t12, new A.compileStringAsync__closure(), type$.AsyncImporter);
  91850. }
  91851. t13 = t2 ? null : A.NullableExtension_andThen0(J.get$importer$x(t1), new A.compileStringAsync__closure0());
  91852. if (t13 == null)
  91853. t13 = (t2 ? null : J.get$url$x(t1)) == null ? new A.NoOpImporter0() : null;
  91854. t14 = A._parseFunctions0(t2 ? null : J.get$functions$x(t1), true);
  91855. $async$goto = 3;
  91856. 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);
  91857. case 3:
  91858. // returning from await.
  91859. result = $async$result;
  91860. t1 = t2 ? null : J.get$sourceMapIncludeSources$x(t1);
  91861. $async$returnValue = A._convertResult(result, t1 == null ? false : t1);
  91862. // goto return
  91863. $async$goto = 1;
  91864. break;
  91865. case 1:
  91866. // return
  91867. return A._asyncReturn($async$returnValue, $async$completer);
  91868. }
  91869. });
  91870. return A._asyncStartSync($async$call$0, $async$completer);
  91871. },
  91872. $signature: 231
  91873. };
  91874. A.compileStringAsync__closure.prototype = {
  91875. call$1(importer) {
  91876. return A._parseAsyncImporter(importer);
  91877. },
  91878. $signature: 232
  91879. };
  91880. A.compileStringAsync__closure0.prototype = {
  91881. call$1(importer) {
  91882. return A._parseAsyncImporter(importer);
  91883. },
  91884. $signature: 418
  91885. };
  91886. A._wrapAsyncSassExceptions_closure.prototype = {
  91887. call$1(error) {
  91888. var t1;
  91889. if (error instanceof A.SassException0)
  91890. t1 = A.throwNodeException(error, this.ascii, this.color, null);
  91891. else
  91892. t1 = A.jsThrow(error == null ? type$.Object._as(error) : error);
  91893. return t1;
  91894. },
  91895. $signature: 419
  91896. };
  91897. A._simplifyValue_closure.prototype = {
  91898. call$0() {
  91899. return this._0_0._0;
  91900. },
  91901. $signature: 21
  91902. };
  91903. A._simplifyValue_closure0.prototype = {
  91904. call$0() {
  91905. return "calc" === this._0_1._readFinal$0();
  91906. },
  91907. $signature: 1
  91908. };
  91909. A._simplifyValue_closure1.prototype = {
  91910. call$0() {
  91911. return this._0_0._1;
  91912. },
  91913. $signature: 123
  91914. };
  91915. A._simplifyValue_closure2.prototype = {
  91916. call$0() {
  91917. return J.get$length$asx(this._0_4._readFinal$0());
  91918. },
  91919. $signature: 3
  91920. };
  91921. A._simplifyValue_closure3.prototype = {
  91922. call$0() {
  91923. return J.$index$asx(this._0_4._readFinal$0(), 0);
  91924. },
  91925. $signature: 14
  91926. };
  91927. A._simplifyValue_closure4.prototype = {
  91928. call$0() {
  91929. return "clamp" === this._0_1._readFinal$0();
  91930. },
  91931. $signature: 1
  91932. };
  91933. A._parseFunctions_closure0.prototype = {
  91934. call$2(signature, callback) {
  91935. var callable,
  91936. t1 = this.result;
  91937. if (!this.asynch) {
  91938. callable = A._Cell$();
  91939. callable._value = A.Callable_Callable$fromSignature(signature, new A._parseFunctions__closure2(callback, callable), true);
  91940. t1.push(callable._readLocal$0());
  91941. } else {
  91942. callable = A._Cell$();
  91943. callable._value = A.AsyncCallable_AsyncCallable$fromSignature(signature, new A._parseFunctions__closure3(callback, callable), true);
  91944. t1.push(callable._readLocal$0());
  91945. }
  91946. },
  91947. $signature: 145
  91948. };
  91949. A._parseFunctions__closure2.prototype = {
  91950. call$1($arguments) {
  91951. var t1, t2,
  91952. _s42_ = string$.Invali,
  91953. result = A.wrapJSExceptions(new A._parseFunctions___closure6(this.callback, $arguments));
  91954. if (result instanceof A.Value0)
  91955. return A._simplifyValue(result);
  91956. t1 = result != null && result instanceof self.Promise;
  91957. t2 = this.callable;
  91958. if (t1)
  91959. throw A.wrapException(_s42_ + J.get$name$x(t2.readLocal$0()) + '":\nPromises may only be returned for sass.compileAsync() and sass.compileStringAsync().');
  91960. else
  91961. throw A.wrapException(_s42_ + J.get$name$x(t2.readLocal$0()) + '": ' + A.S(result) + " is not a sass.Value.");
  91962. },
  91963. $signature: 5
  91964. };
  91965. A._parseFunctions___closure6.prototype = {
  91966. call$0() {
  91967. return type$.Function._as(this.callback).call$1(A.toJSArray(this.$arguments));
  91968. },
  91969. $signature: 65
  91970. };
  91971. A._parseFunctions__closure3.prototype = {
  91972. call$1($arguments) {
  91973. return this.$call$body$_parseFunctions__closure0($arguments);
  91974. },
  91975. $call$body$_parseFunctions__closure0($arguments) {
  91976. var $async$goto = 0,
  91977. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  91978. $async$returnValue, $async$self = this, result;
  91979. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  91980. if ($async$errorCode === 1)
  91981. return A._asyncRethrow($async$result, $async$completer);
  91982. while (true)
  91983. switch ($async$goto) {
  91984. case 0:
  91985. // Function start
  91986. result = A.wrapJSExceptions(new A._parseFunctions___closure5($async$self.callback, $arguments));
  91987. $async$goto = result != null && result instanceof self.Promise ? 3 : 4;
  91988. break;
  91989. case 3:
  91990. // then
  91991. $async$goto = 5;
  91992. return A._asyncAwait(A.promiseToFuture(type$.Promise._as(result), type$.Object), $async$call$1);
  91993. case 5:
  91994. // returning from await.
  91995. result = $async$result;
  91996. case 4:
  91997. // join
  91998. if (result instanceof A.Value0) {
  91999. $async$returnValue = A._simplifyValue(result);
  92000. // goto return
  92001. $async$goto = 1;
  92002. break;
  92003. }
  92004. throw A.wrapException(string$.Invali + J.get$name$x($async$self.callable.readLocal$0()) + '": ' + A.S(result) + " is not a sass.Value.");
  92005. case 1:
  92006. // return
  92007. return A._asyncReturn($async$returnValue, $async$completer);
  92008. }
  92009. });
  92010. return A._asyncStartSync($async$call$1, $async$completer);
  92011. },
  92012. $signature: 113
  92013. };
  92014. A._parseFunctions___closure5.prototype = {
  92015. call$0() {
  92016. return type$.Function._as(this.callback).call$1(A.toJSArray(this.$arguments));
  92017. },
  92018. $signature: 65
  92019. };
  92020. A._compileStylesheet_closure1.prototype = {
  92021. call$1(url) {
  92022. 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);
  92023. },
  92024. $signature: 7
  92025. };
  92026. A.CompileOptions.prototype = {};
  92027. A.CompileStringOptions.prototype = {};
  92028. A.NodeCompileResult.prototype = {};
  92029. A.CompileResult0.prototype = {};
  92030. A.ComplexSassNumber0.prototype = {
  92031. get$numeratorUnits(_) {
  92032. return this._complex0$_numeratorUnits;
  92033. },
  92034. get$denominatorUnits(_) {
  92035. return this._complex0$_denominatorUnits;
  92036. },
  92037. get$hasUnits() {
  92038. return true;
  92039. },
  92040. get$hasComplexUnits() {
  92041. return true;
  92042. },
  92043. hasUnit$1(unit) {
  92044. return false;
  92045. },
  92046. compatibleWithUnit$1(unit) {
  92047. return false;
  92048. },
  92049. hasPossiblyCompatibleUnits$1(other) {
  92050. throw A.wrapException(A.UnimplementedError$(string$.Comple));
  92051. },
  92052. withValue$1(value) {
  92053. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, value, null);
  92054. },
  92055. withSlash$2(numerator, denominator) {
  92056. return new A.ComplexSassNumber0(this._complex0$_numeratorUnits, this._complex0$_denominatorUnits, this._number1$_value, new A._Record_2(numerator, denominator));
  92057. }
  92058. };
  92059. A.ComplexSelector0.prototype = {
  92060. get$specificity() {
  92061. var result, _this = this,
  92062. value = _this._complex$__ComplexSelector_specificity_FI;
  92063. if (value === $) {
  92064. result = B.JSArray_methods.fold$2(_this.components, 0, new A.ComplexSelector_specificity_closure0());
  92065. _this._complex$__ComplexSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  92066. _this._complex$__ComplexSelector_specificity_FI = result;
  92067. value = result;
  92068. }
  92069. return value;
  92070. },
  92071. get$singleCompound() {
  92072. var _0_0, _0_4, selector, t1;
  92073. if (this.leadingCombinators.length !== 0)
  92074. return null;
  92075. _0_0 = this.components;
  92076. _0_4 = A._InitializedCell$(new A.ComplexSelector_singleCompound_closure0(_0_0));
  92077. $label0$0: {
  92078. if (_0_0.length === 1) {
  92079. selector = _0_4._readFinal$0().selector;
  92080. t1 = _0_4._readFinal$0().combinators.length <= 0;
  92081. } else {
  92082. selector = null;
  92083. t1 = false;
  92084. }
  92085. if (t1) {
  92086. t1 = selector;
  92087. break $label0$0;
  92088. }
  92089. t1 = null;
  92090. break $label0$0;
  92091. }
  92092. return t1;
  92093. },
  92094. accept$1$1(visitor) {
  92095. return visitor.visitComplexSelector$1(this);
  92096. },
  92097. accept$1(visitor) {
  92098. return this.accept$1$1(visitor, type$.dynamic);
  92099. },
  92100. isSuperselector$1(other) {
  92101. return this.leadingCombinators.length === 0 && other.leadingCombinators.length === 0 && A.complexIsSuperselector0(this.components, other.components);
  92102. },
  92103. withAdditionalCombinators$1(combinators) {
  92104. var _0_0, _0_1, initial, last, t1, t2, _this = this, _null = null;
  92105. if (combinators.length === 0)
  92106. return _this;
  92107. _0_0 = _this.components;
  92108. _0_1 = A._InitializedCell$(new A.ComplexSelector_withAdditionalCombinators_closure0(_0_0));
  92109. $label0$0: {
  92110. if (_0_1._readFinal$0() >= 1) {
  92111. initial = B.JSArray_methods.sublist$2(_0_0, 0, _0_1._readFinal$0() - 1);
  92112. last = _0_0[_0_1._readFinal$0() - 1];
  92113. last = last;
  92114. t1 = true;
  92115. } else {
  92116. last = _null;
  92117. initial = last;
  92118. t1 = false;
  92119. }
  92120. if (t1) {
  92121. t1 = A.List_List$of(initial, true, type$.ComplexSelectorComponent_2);
  92122. t1.push(last.withAdditionalCombinators$1(combinators));
  92123. t2 = _this.lineBreak || false;
  92124. t2 = A.ComplexSelector$0(_this.leadingCombinators, t1, _this.span, t2);
  92125. t1 = t2;
  92126. break $label0$0;
  92127. }
  92128. if (_0_1._readFinal$0() <= 0) {
  92129. t1 = A.List_List$of(_this.leadingCombinators, true, type$.CssValue_Combinator_2);
  92130. B.JSArray_methods.addAll$1(t1, combinators);
  92131. t2 = _this.lineBreak || false;
  92132. t2 = A.ComplexSelector$0(t1, B.List_empty13, _this.span, t2);
  92133. t1 = t2;
  92134. break $label0$0;
  92135. }
  92136. t1 = _null;
  92137. }
  92138. return t1;
  92139. },
  92140. concatenate$3$forceLineBreak(child, span, forceLineBreak) {
  92141. var t2, _0_1, initial, last, t3, t4, _this = this,
  92142. t1 = child.leadingCombinators,
  92143. _0_0 = _this.components;
  92144. if (t1.length === 0) {
  92145. t1 = A.List_List$of(_0_0, true, type$.ComplexSelectorComponent_2);
  92146. B.JSArray_methods.addAll$1(t1, child.components);
  92147. t2 = _this.lineBreak || child.lineBreak || forceLineBreak;
  92148. return A.ComplexSelector$0(_this.leadingCombinators, t1, span, t2);
  92149. } else {
  92150. _0_1 = A._InitializedCell$(new A.ComplexSelector_concatenate_closure0(_0_0));
  92151. if (_0_1._readFinal$0() >= 1) {
  92152. initial = B.JSArray_methods.sublist$2(_0_0, 0, _0_1._readFinal$0() - 1);
  92153. last = _0_0[_0_1._readFinal$0() - 1];
  92154. last = last;
  92155. t2 = true;
  92156. } else {
  92157. initial = null;
  92158. last = null;
  92159. t2 = false;
  92160. }
  92161. t3 = _this.leadingCombinators;
  92162. t4 = child.components;
  92163. if (t2) {
  92164. t2 = A.List_List$of(initial, true, type$.ComplexSelectorComponent_2);
  92165. t2.push(last.withAdditionalCombinators$1(t1));
  92166. B.JSArray_methods.addAll$1(t2, t4);
  92167. return A.ComplexSelector$0(t3, t2, span, _this.lineBreak || child.lineBreak || forceLineBreak);
  92168. } else {
  92169. t2 = A.List_List$of(t3, true, type$.CssValue_Combinator_2);
  92170. B.JSArray_methods.addAll$1(t2, t1);
  92171. return A.ComplexSelector$0(t2, t4, span, _this.lineBreak || child.lineBreak || forceLineBreak);
  92172. }
  92173. }
  92174. },
  92175. concatenate$2(child, span) {
  92176. return this.concatenate$3$forceLineBreak(child, span, false);
  92177. },
  92178. get$hashCode(_) {
  92179. return B.C_ListEquality0.hash$1(this.leadingCombinators) ^ B.C_ListEquality0.hash$1(this.components);
  92180. },
  92181. $eq(_, other) {
  92182. if (other == null)
  92183. return false;
  92184. 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);
  92185. }
  92186. };
  92187. A.ComplexSelector_specificity_closure0.prototype = {
  92188. call$2(sum, component) {
  92189. return sum + component.selector.get$specificity();
  92190. },
  92191. $signature: 421
  92192. };
  92193. A.ComplexSelector_singleCompound_closure0.prototype = {
  92194. call$0() {
  92195. return this._0_0[0];
  92196. },
  92197. $signature: 422
  92198. };
  92199. A.ComplexSelector_withAdditionalCombinators_closure0.prototype = {
  92200. call$0() {
  92201. return this._0_0.length;
  92202. },
  92203. $signature: 3
  92204. };
  92205. A.ComplexSelector_concatenate_closure0.prototype = {
  92206. call$0() {
  92207. return this._0_0.length;
  92208. },
  92209. $signature: 3
  92210. };
  92211. A.ComplexSelectorComponent0.prototype = {
  92212. withAdditionalCombinators$1(combinators) {
  92213. var t1, t2, _this = this;
  92214. if (combinators.length === 0)
  92215. t1 = _this;
  92216. else {
  92217. t1 = type$.CssValue_Combinator_2;
  92218. t2 = A.List_List$of(_this.combinators, true, t1);
  92219. B.JSArray_methods.addAll$1(t2, combinators);
  92220. t1 = new A.ComplexSelectorComponent0(_this.selector, A.List_List$unmodifiable(t2, t1), _this.span);
  92221. }
  92222. return t1;
  92223. },
  92224. get$hashCode(_) {
  92225. return B.C_ListEquality0.hash$1(this.selector.components) ^ B.C_ListEquality0.hash$1(this.combinators);
  92226. },
  92227. $eq(_, other) {
  92228. var t1;
  92229. if (other == null)
  92230. return false;
  92231. if (other instanceof A.ComplexSelectorComponent0) {
  92232. t1 = B.C_ListEquality.equals$2(0, this.selector.components, other.selector.components);
  92233. t1 = t1 && B.C_ListEquality.equals$2(0, this.combinators, other.combinators);
  92234. } else
  92235. t1 = false;
  92236. return t1;
  92237. },
  92238. toString$0(_) {
  92239. var t1 = this.combinators;
  92240. 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, "");
  92241. }
  92242. };
  92243. A.ComplexSelectorComponent_toString_closure0.prototype = {
  92244. call$1(combinator) {
  92245. return " " + combinator.toString$0(0);
  92246. },
  92247. $signature: 423
  92248. };
  92249. A.CompoundSelector0.prototype = {
  92250. get$specificity() {
  92251. var result, _this = this,
  92252. value = _this._compound$__CompoundSelector_specificity_FI;
  92253. if (value === $) {
  92254. result = B.JSArray_methods.fold$2(_this.components, 0, new A.CompoundSelector_specificity_closure0());
  92255. _this._compound$__CompoundSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  92256. _this._compound$__CompoundSelector_specificity_FI = result;
  92257. value = result;
  92258. }
  92259. return value;
  92260. },
  92261. accept$1$1(visitor) {
  92262. return visitor.visitCompoundSelector$1(this);
  92263. },
  92264. accept$1(visitor) {
  92265. return this.accept$1$1(visitor, type$.dynamic);
  92266. },
  92267. get$hashCode(_) {
  92268. return B.C_ListEquality0.hash$1(this.components);
  92269. },
  92270. $eq(_, other) {
  92271. if (other == null)
  92272. return false;
  92273. return other instanceof A.CompoundSelector0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  92274. }
  92275. };
  92276. A.CompoundSelector_specificity_closure0.prototype = {
  92277. call$2(sum, component) {
  92278. return sum + component.get$specificity();
  92279. },
  92280. $signature: 424
  92281. };
  92282. A.Configuration0.prototype = {
  92283. throughForward$1($forward) {
  92284. var _0_0, prefix, t1, _1_0, shownVariables, _2_0, hiddenVariables,
  92285. newValues = this._configuration0$_values;
  92286. if (newValues.get$isEmpty(newValues))
  92287. return B.Configuration_Map_empty_null0;
  92288. _0_0 = $forward.prefix;
  92289. if (_0_0 != null) {
  92290. prefix = _0_0;
  92291. t1 = true;
  92292. } else {
  92293. prefix = null;
  92294. t1 = false;
  92295. }
  92296. if (t1)
  92297. newValues = new A.UnprefixedMapView0(newValues, prefix, type$.UnprefixedMapView_ConfiguredValue_2);
  92298. _1_0 = $forward.shownVariables;
  92299. if (_1_0 != null) {
  92300. shownVariables = _1_0;
  92301. t1 = true;
  92302. } else {
  92303. shownVariables = null;
  92304. t1 = false;
  92305. }
  92306. if (t1)
  92307. newValues = new A.LimitedMapView0(newValues, shownVariables._base.intersection$1(new A.MapKeySet(newValues, type$.MapKeySet_nullable_Object)), type$.LimitedMapView_String_ConfiguredValue_2);
  92308. else {
  92309. _2_0 = $forward.hiddenVariables;
  92310. if (_2_0 != null) {
  92311. hiddenVariables = _2_0;
  92312. t1 = true;
  92313. } else {
  92314. hiddenVariables = null;
  92315. t1 = false;
  92316. }
  92317. if (t1) {
  92318. t1 = hiddenVariables._base;
  92319. t1 = t1.get$isNotEmpty(t1);
  92320. } else
  92321. t1 = false;
  92322. if (t1)
  92323. newValues = A.LimitedMapView$blocklist0(newValues, hiddenVariables, type$.String, type$.ConfiguredValue_2);
  92324. }
  92325. return this._configuration0$_withValues$1(newValues);
  92326. },
  92327. _configuration0$_withValues$1(values) {
  92328. var t1 = this._configuration0$__originalConfiguration;
  92329. return new A.Configuration0(values, t1 == null ? this : t1);
  92330. },
  92331. toString$0(_) {
  92332. var t2, t3,
  92333. t1 = A._setArrayType([], type$.JSArray_String);
  92334. for (t2 = A.MapExtensions_get_pairs0(new A.UnmodifiableMapView(this._configuration0$_values, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2), t2 = t2.get$iterator(t2); t2.moveNext$0();) {
  92335. t3 = t2.get$current(t2);
  92336. t1.push("$" + t3._0 + ": " + t3._1.toString$0(0));
  92337. }
  92338. return "(" + B.JSArray_methods.join$1(t1, ",") + ")";
  92339. }
  92340. };
  92341. A.ExplicitConfiguration0.prototype = {
  92342. _configuration0$_withValues$1(values) {
  92343. var t1 = this._configuration0$__originalConfiguration;
  92344. if (t1 == null)
  92345. t1 = this;
  92346. return new A.ExplicitConfiguration0(this.nodeWithSpan, values, t1);
  92347. }
  92348. };
  92349. A.ConfiguredValue0.prototype = {
  92350. toString$0(_) {
  92351. return A.serializeValue0(this.value, true, true);
  92352. }
  92353. };
  92354. A.ConfiguredVariable0.prototype = {
  92355. toString$0(_) {
  92356. var t1 = this.expression.toString$0(0),
  92357. t2 = this.isGuarded ? " !default" : "";
  92358. return "$" + this.name + ": " + t1 + t2;
  92359. },
  92360. $isAstNode0: 1,
  92361. get$span(receiver) {
  92362. return this.span;
  92363. }
  92364. };
  92365. A.ContentBlock0.prototype = {
  92366. accept$1$1(visitor) {
  92367. return visitor.visitContentBlock$1(this);
  92368. },
  92369. accept$1(visitor) {
  92370. return this.accept$1$1(visitor, type$.dynamic);
  92371. },
  92372. toString$0(_) {
  92373. var t2,
  92374. t1 = this.$arguments;
  92375. t1 = t1.$arguments.length === 0 && t1.restArgument == null ? "" : " using (" + t1.toString$0(0) + ")";
  92376. t2 = this.children;
  92377. return t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  92378. }
  92379. };
  92380. A.ContentRule0.prototype = {
  92381. accept$1$1(visitor) {
  92382. return visitor.visitContentRule$1(this);
  92383. },
  92384. accept$1(visitor) {
  92385. return this.accept$1$1(visitor, type$.dynamic);
  92386. },
  92387. toString$0(_) {
  92388. var t1 = this.$arguments;
  92389. return t1.get$isEmpty(t1) ? "@content;" : "@content(" + t1.toString$0(0) + ");";
  92390. },
  92391. $isAstNode0: 1,
  92392. $isStatement0: 1,
  92393. get$span(receiver) {
  92394. return this.span;
  92395. }
  92396. };
  92397. A._disallowedFunctionNames_closure0.prototype = {
  92398. call$1($function) {
  92399. return $function.name;
  92400. },
  92401. $signature: 425
  92402. };
  92403. A.CssParser0.prototype = {
  92404. get$plainCss() {
  92405. return true;
  92406. },
  92407. silentComment$0() {
  92408. var t1 = this.scanner,
  92409. t2 = t1._string_scanner$_position;
  92410. this.super$Parser$silentComment0();
  92411. this.error$2(0, string$.Silent, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  92412. },
  92413. atRule$2$root(child, root) {
  92414. var $name, _0_0, _this = this,
  92415. t1 = _this.scanner,
  92416. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  92417. t1.expectChar$1(64);
  92418. $name = _this.interpolatedIdentifier$0();
  92419. _this.whitespace$0();
  92420. _0_0 = $name.get$asPlain();
  92421. $label0$0: {
  92422. if ("at-root" === _0_0 || "content" === _0_0 || "debug" === _0_0 || "each" === _0_0 || "error" === _0_0 || "extend" === _0_0 || "for" === _0_0 || "function" === _0_0 || "if" === _0_0 || "include" === _0_0 || "mixin" === _0_0 || "return" === _0_0 || "warn" === _0_0 || "while" === _0_0)
  92423. _this._css$_forbiddenAtRoot$1(start);
  92424. if ("import" === _0_0) {
  92425. t1 = _this._css$_cssImportRule$1(start);
  92426. break $label0$0;
  92427. }
  92428. if ("media" === _0_0) {
  92429. t1 = _this.mediaRule$1(start);
  92430. break $label0$0;
  92431. }
  92432. if ("-moz-document" === _0_0) {
  92433. t1 = _this.mozDocumentRule$2(start, $name);
  92434. break $label0$0;
  92435. }
  92436. if ("supports" === _0_0) {
  92437. t1 = _this.supportsRule$1(start);
  92438. break $label0$0;
  92439. }
  92440. t1 = _this.unknownAtRule$2(start, $name);
  92441. break $label0$0;
  92442. }
  92443. return t1;
  92444. },
  92445. _css$_forbiddenAtRoot$1(start) {
  92446. this.almostAnyValue$0();
  92447. this.error$2(0, "This at-rule isn't allowed in plain CSS.", this.scanner.spanFrom$1(start));
  92448. },
  92449. _css$_cssImportRule$1(start) {
  92450. var t2, urlSpan, modifiers, _this = this,
  92451. t1 = _this.scanner,
  92452. urlStart = new A._SpanScannerState(t1, t1._string_scanner$_position),
  92453. _0_0 = t1.peekChar$0();
  92454. $label0$0: {
  92455. if (117 === _0_0 || 85 === _0_0) {
  92456. t2 = _this.dynamicUrl$0();
  92457. break $label0$0;
  92458. }
  92459. t2 = new A.StringExpression0(_this.interpolatedString$0().asInterpolation$1$static(true), false);
  92460. break $label0$0;
  92461. }
  92462. urlSpan = t1.spanFrom$1(urlStart);
  92463. _this.whitespace$0();
  92464. modifiers = _this.tryImportModifiers$0();
  92465. _this.expectStatementSeparator$1("@import rule");
  92466. t2 = A._setArrayType([new A.StaticImport0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), urlSpan), modifiers, t1.spanFrom$1(urlStart))], type$.JSArray_Import_2);
  92467. t1 = t1.spanFrom$1(start);
  92468. return new A.ImportRule0(A.List_List$unmodifiable(t2, type$.Import_2), t1);
  92469. },
  92470. parentheses$0() {
  92471. var expression,
  92472. t1 = this.scanner,
  92473. t2 = t1._string_scanner$_position;
  92474. t1.expectChar$1(40);
  92475. this.whitespace$0();
  92476. expression = this.expressionUntilComma$0();
  92477. t1.expectChar$1(41);
  92478. return new A.ParenthesizedExpression0(expression, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  92479. },
  92480. identifierLike$0() {
  92481. var specialFunction, t2, allowEmptySecondArg, $arguments, t3, t4, _this = this, _null = null,
  92482. t1 = _this.scanner,
  92483. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  92484. identifier = _this.interpolatedIdentifier$0(),
  92485. plain = identifier.get$asPlain(),
  92486. lower = plain.toLowerCase(),
  92487. _0_0 = _this.trySpecialFunction$2(lower, start);
  92488. if (_0_0 != null) {
  92489. specialFunction = _0_0;
  92490. t2 = true;
  92491. } else {
  92492. specialFunction = _null;
  92493. t2 = false;
  92494. }
  92495. if (t2)
  92496. return specialFunction;
  92497. t2 = t1._string_scanner$_position;
  92498. if (t1.scanChar$1(46))
  92499. return _this.namespacedExpression$2(plain, start);
  92500. if (!t1.scanChar$1(40))
  92501. return new A.StringExpression0(identifier, false);
  92502. allowEmptySecondArg = lower === "var";
  92503. $arguments = A._setArrayType([], type$.JSArray_Expression_2);
  92504. if (!t1.scanChar$1(41)) {
  92505. do {
  92506. _this.whitespace$0();
  92507. if (allowEmptySecondArg && $arguments.length === 1 && t1.peekChar$0() === 41) {
  92508. t3 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  92509. t4 = t3.offset;
  92510. t4 = A._FileSpan$(t3.file, t4, t4);
  92511. $arguments.push(new A.StringExpression0(A.Interpolation$0(A._setArrayType([""], type$.JSArray_Object), t4), false));
  92512. break;
  92513. }
  92514. $arguments.push(_this.expressionUntilComma$1$singleEquals(true));
  92515. _this.whitespace$0();
  92516. } while (t1.scanChar$1(44));
  92517. t1.expectChar$1(41);
  92518. }
  92519. if ($.$get$_disallowedFunctionNames0().contains$1(0, plain))
  92520. _this.error$2(0, string$.This_f, t1.spanFrom$1(start));
  92521. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  92522. t3 = type$.Expression_2;
  92523. return new A.FunctionExpression0(_null, plain, new A.ArgumentInvocation0(A.List_List$unmodifiable($arguments, t3), A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t3), _null, _null, t2), t1.spanFrom$1(start));
  92524. },
  92525. namespacedExpression$2(namespace, start) {
  92526. var expression = this.super$StylesheetParser$namespacedExpression0(namespace, start);
  92527. this.error$2(0, string$.Modulen, expression.get$span(expression));
  92528. }
  92529. };
  92530. A.DebugRule0.prototype = {
  92531. accept$1$1(visitor) {
  92532. return visitor.visitDebugRule$1(this);
  92533. },
  92534. accept$1(visitor) {
  92535. return this.accept$1$1(visitor, type$.dynamic);
  92536. },
  92537. toString$0(_) {
  92538. return "@debug " + this.expression.toString$0(0) + ";";
  92539. },
  92540. $isAstNode0: 1,
  92541. $isStatement0: 1,
  92542. get$span(receiver) {
  92543. return this.span;
  92544. }
  92545. };
  92546. A.ModifiableCssDeclaration0.prototype = {
  92547. accept$1$1(visitor) {
  92548. return visitor.visitCssDeclaration$1(this);
  92549. },
  92550. accept$1(visitor) {
  92551. return this.accept$1$1(visitor, type$.dynamic);
  92552. },
  92553. toString$0(_) {
  92554. return this.name.toString$0(0) + ": " + this.value.toString$0(0) + ";";
  92555. },
  92556. get$span(receiver) {
  92557. return this.span;
  92558. }
  92559. };
  92560. A.Declaration0.prototype = {
  92561. accept$1$1(visitor) {
  92562. return visitor.visitDeclaration$1(this);
  92563. },
  92564. accept$1(visitor) {
  92565. return this.accept$1$1(visitor, type$.dynamic);
  92566. },
  92567. toString$0(_) {
  92568. var t3, _0_0, children,
  92569. buffer = new A.StringBuffer(""),
  92570. t1 = this.name,
  92571. t2 = "" + t1.toString$0(0);
  92572. buffer._contents = t2;
  92573. t2 = buffer._contents = t2 + A.Primitives_stringFromCharCode(58);
  92574. t3 = this.value;
  92575. if (t3 != null) {
  92576. t1 = !B.JSString_methods.startsWith$1(t1.get$initialPlain(), "--") ? buffer._contents = t2 + A.Primitives_stringFromCharCode(32) : t2;
  92577. buffer._contents = t1 + t3.toString$0(0);
  92578. }
  92579. _0_0 = this.children;
  92580. if (_0_0 != null) {
  92581. children = _0_0;
  92582. t1 = true;
  92583. } else {
  92584. children = null;
  92585. t1 = false;
  92586. }
  92587. if (t1)
  92588. return buffer.toString$0(0) + " {" + (children && B.JSArray_methods).join$1(children, " ") + "}";
  92589. else
  92590. return buffer.toString$0(0) + ";";
  92591. },
  92592. get$span(receiver) {
  92593. return this.span;
  92594. }
  92595. };
  92596. A.SupportsDeclaration0.prototype = {
  92597. get$isCustomProperty() {
  92598. var text, t1,
  92599. _0_0 = this.name;
  92600. $label0$0: {
  92601. if (_0_0 instanceof A.StringExpression0)
  92602. if (!_0_0.hasQuotes) {
  92603. text = _0_0.text;
  92604. t1 = true;
  92605. } else {
  92606. text = null;
  92607. t1 = false;
  92608. }
  92609. else {
  92610. text = null;
  92611. t1 = false;
  92612. }
  92613. if (t1) {
  92614. t1 = B.JSString_methods.startsWith$1(text.get$initialPlain(), "--");
  92615. break $label0$0;
  92616. }
  92617. t1 = false;
  92618. break $label0$0;
  92619. }
  92620. return t1;
  92621. },
  92622. toString$0(_) {
  92623. return "(" + this.name.toString$0(0) + ": " + this.value.toString$0(0) + ")";
  92624. },
  92625. $isAstNode0: 1,
  92626. get$span(receiver) {
  92627. return this.span;
  92628. }
  92629. };
  92630. A.Deprecation0.prototype = {
  92631. _enumToString$0() {
  92632. return "Deprecation." + this._name;
  92633. },
  92634. toString$0(_) {
  92635. return this.id;
  92636. }
  92637. };
  92638. A.DeprecationHandlingLogger0.prototype = {
  92639. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  92640. this._deprecation_handling$_inner.warn$4$deprecation$span$trace(0, message, deprecation, span, trace);
  92641. },
  92642. warn$3$span$trace($receiver, message, span, trace) {
  92643. return this.warn$4$deprecation$span$trace($receiver, message, false, span, trace);
  92644. },
  92645. warn$2$span($receiver, message, span) {
  92646. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  92647. },
  92648. warn$2$trace($receiver, message, trace) {
  92649. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  92650. },
  92651. warnForDeprecation$4$span$trace(deprecation, message, span, trace) {
  92652. var _0_0, _0_1, _0_3, t1, t2, count, _this = this, _null = null;
  92653. if (_this.fatalDeprecations.contains$1(0, deprecation)) {
  92654. message += string$.x0a_This + deprecation.toString$0(0) + string$.x20depre;
  92655. _0_0 = new A._Record_2(span, trace);
  92656. _0_1 = A._InitializedCell$(new A.DeprecationHandlingLogger_warnForDeprecation_closure1(_0_0));
  92657. _0_3 = A._InitializedCell$(new A.DeprecationHandlingLogger_warnForDeprecation_closure2(_0_0));
  92658. $label0$0: {
  92659. if (_0_1.readFinal$0() != null) {
  92660. span = _0_1.readFinal$0();
  92661. t1 = true;
  92662. } else {
  92663. span = _null;
  92664. t1 = false;
  92665. }
  92666. if (t1)
  92667. if (_0_3.readFinal$0() != null) {
  92668. trace = _0_3.readFinal$0();
  92669. t1 = true;
  92670. } else {
  92671. trace = _null;
  92672. t1 = false;
  92673. }
  92674. else {
  92675. trace = _null;
  92676. t1 = false;
  92677. }
  92678. if (t1) {
  92679. t1 = A.SassRuntimeException$0(message, span, trace, _null);
  92680. break $label0$0;
  92681. }
  92682. if (_0_1.readFinal$0() != null) {
  92683. span = _0_1.readFinal$0();
  92684. t1 = true;
  92685. } else {
  92686. span = _null;
  92687. t1 = false;
  92688. }
  92689. if (t1 && _0_3.readFinal$0() == null) {
  92690. t1 = A.SassException$0(message, span, _null);
  92691. break $label0$0;
  92692. }
  92693. t1 = A.SassScriptException$0(message, _null);
  92694. break $label0$0;
  92695. }
  92696. throw A.wrapException(t1);
  92697. }
  92698. if (deprecation.isFuture && !_this.futureDeprecations.contains$1(0, deprecation))
  92699. return;
  92700. if (_this.limitRepetition) {
  92701. t1 = _this._deprecation_handling$_warningCounts;
  92702. t2 = t1.$index(0, deprecation);
  92703. count = (t2 == null ? 0 : t2) + 1;
  92704. t1.$indexSet(0, deprecation, count);
  92705. if (count > 5)
  92706. return;
  92707. }
  92708. _this._deprecation_handling$_inner.warn$4$deprecation$span$trace(0, message, true, span, trace);
  92709. },
  92710. debug$2(_, message, span) {
  92711. return this._deprecation_handling$_inner.debug$2(0, message, span);
  92712. },
  92713. summarize$1$js(js) {
  92714. var t2, total,
  92715. t1 = this._deprecation_handling$_warningCounts;
  92716. t1 = t1.get$values(t1);
  92717. t2 = A._instanceType(t1);
  92718. total = A.IterableIntegerExtension_get_sum(new A.MappedIterable(new A.WhereIterable(t1, new A.DeprecationHandlingLogger_summarize_closure1(), t2._eval$1("WhereIterable<Iterable.E>")), new A.DeprecationHandlingLogger_summarize_closure2(), t2._eval$1("MappedIterable<Iterable.E,int>")));
  92719. if (total > 0) {
  92720. t1 = js ? "" : string$.x0aRun_i;
  92721. this._deprecation_handling$_inner.warn$1(0, "" + total + string$.x20repet + t1);
  92722. }
  92723. }
  92724. };
  92725. A.DeprecationHandlingLogger_warnForDeprecation_closure1.prototype = {
  92726. call$0() {
  92727. return this._0_0._0;
  92728. },
  92729. $signature: 187
  92730. };
  92731. A.DeprecationHandlingLogger_warnForDeprecation_closure2.prototype = {
  92732. call$0() {
  92733. return this._0_0._1;
  92734. },
  92735. $signature: 184
  92736. };
  92737. A.DeprecationHandlingLogger_summarize_closure1.prototype = {
  92738. call$1(count) {
  92739. return count > 5;
  92740. },
  92741. $signature: 48
  92742. };
  92743. A.DeprecationHandlingLogger_summarize_closure2.prototype = {
  92744. call$1(count) {
  92745. return count - 5;
  92746. },
  92747. $signature: 182
  92748. };
  92749. A.DynamicImport0.prototype = {
  92750. toString$0(_) {
  92751. return A.StringExpression_quoteText0(this.urlString);
  92752. },
  92753. $isImport0: 1,
  92754. $isAstNode0: 1,
  92755. get$span(receiver) {
  92756. return this.span;
  92757. }
  92758. };
  92759. A.EachRule0.prototype = {
  92760. accept$1$1(visitor) {
  92761. return visitor.visitEachRule$1(this);
  92762. },
  92763. accept$1(visitor) {
  92764. return this.accept$1$1(visitor, type$.dynamic);
  92765. },
  92766. toString$0(_) {
  92767. var t1 = this.variables,
  92768. t2 = this.children;
  92769. 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, " ") + "}";
  92770. },
  92771. get$span(receiver) {
  92772. return this.span;
  92773. }
  92774. };
  92775. A.EachRule_toString_closure0.prototype = {
  92776. call$1(variable) {
  92777. return "$" + variable;
  92778. },
  92779. $signature: 7
  92780. };
  92781. A.EmptyExtensionStore0.prototype = {
  92782. get$_extension_store$_extensions() {
  92783. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__extensions, "get$_empty_extension_store0$_extensions", 1, [], [], 0)));
  92784. },
  92785. get$_extension_store$_sourceSpecificity() {
  92786. return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this, A.JSInvocationMirror$(B.Symbol__sourceSpecificity, "get$_empty_extension_store0$_sourceSpecificity", 1, [], [], 0)));
  92787. },
  92788. get$isEmpty(_) {
  92789. return true;
  92790. },
  92791. get$simpleSelectors() {
  92792. return B.C_EmptyUnmodifiableSet0;
  92793. },
  92794. extensionsWhereTarget$1(callback) {
  92795. return B.List_empty17;
  92796. },
  92797. addSelector$2(selector, mediaContext) {
  92798. throw A.wrapException(A.UnsupportedError$("addSelector() can't be called for a const ExtensionStore."));
  92799. },
  92800. addExtension$4(extender, target, extend, mediaContext) {
  92801. throw A.wrapException(A.UnsupportedError$("addExtension() can't be called for a const ExtensionStore."));
  92802. },
  92803. addExtensions$1(extenders) {
  92804. throw A.wrapException(A.UnsupportedError$(string$.addExt));
  92805. },
  92806. clone$0() {
  92807. return B.Record2_EmptyExtensionStore_Map_empty0;
  92808. },
  92809. $isExtensionStore0: 1
  92810. };
  92811. A.Environment0.prototype = {
  92812. closure$0() {
  92813. var t4, t5, t6, _this = this,
  92814. t1 = _this._environment0$_forwardedModules,
  92815. t2 = _this._environment0$_nestedForwardedModules,
  92816. t3 = _this._environment0$_variables;
  92817. t3 = A._setArrayType(t3.slice(0), A._arrayInstanceType(t3));
  92818. t4 = _this._environment0$_variableNodes;
  92819. t4 = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  92820. t5 = _this._environment0$_functions;
  92821. t5 = A._setArrayType(t5.slice(0), A._arrayInstanceType(t5));
  92822. t6 = _this._environment0$_mixins;
  92823. t6 = A._setArrayType(t6.slice(0), A._arrayInstanceType(t6));
  92824. 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);
  92825. },
  92826. forwardModule$2(module, rule) {
  92827. var view, t1, t2, _this = this,
  92828. forwardedModules = _this._environment0$_forwardedModules;
  92829. if (forwardedModules == null)
  92830. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  92831. view = A.ForwardedModuleView_ifNecessary0(module, rule, type$.Callable_2);
  92832. for (t1 = A.LinkedHashMapKeyIterator$(forwardedModules, forwardedModules._modifications); t1.moveNext$0();) {
  92833. t2 = t1.__js_helper$_current;
  92834. _this._environment0$_assertNoConflicts$5(view.get$variables(), t2.get$variables(), view, t2, "variable");
  92835. _this._environment0$_assertNoConflicts$5(view.get$functions(view), t2.get$functions(t2), view, t2, "function");
  92836. _this._environment0$_assertNoConflicts$5(view.get$mixins(), t2.get$mixins(), view, t2, "mixin");
  92837. }
  92838. _this._environment0$_allModules.push(module);
  92839. forwardedModules.$indexSet(0, view, rule);
  92840. },
  92841. _environment0$_assertNoConflicts$5(newMembers, oldMembers, newModule, oldModule, type) {
  92842. var larger, smaller, t1, t2, t3, t4, $name, small, large, span;
  92843. if (newMembers.get$length(newMembers) < oldMembers.get$length(oldMembers)) {
  92844. larger = oldMembers;
  92845. smaller = newMembers;
  92846. } else {
  92847. larger = newMembers;
  92848. smaller = oldMembers;
  92849. }
  92850. for (t1 = type$.String, t2 = A.MapExtensions_get_pairs0(smaller, t1, type$.Object), t2 = t2.get$iterator(t2), t3 = type === "variable"; t2.moveNext$0();) {
  92851. t4 = t2.get$current(t2);
  92852. $name = t4._0;
  92853. small = t4._1;
  92854. large = larger.$index(0, $name);
  92855. if (large == null)
  92856. continue;
  92857. if (t3 ? newModule.variableIdentity$1($name) === oldModule.variableIdentity$1($name) : J.$eq$(large, small))
  92858. continue;
  92859. if (t3)
  92860. $name = "$" + $name;
  92861. t2 = this._environment0$_forwardedModules;
  92862. if (t2 == null)
  92863. span = null;
  92864. else {
  92865. t2 = t2.$index(0, oldModule);
  92866. span = t2 == null ? null : J.get$span$z(t2);
  92867. }
  92868. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, t1);
  92869. if (span != null)
  92870. t2.$indexSet(0, span, "original @forward");
  92871. throw A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a " + type + " named " + $name + ".", "new @forward", t2));
  92872. }
  92873. },
  92874. importForwards$1(module) {
  92875. var forwardedModules, t1, t2, t3, t4, node, t5, t6, t7, t8, t9, t10, _i, t11, shadowed, _length, _list, _this = this,
  92876. forwarded = module._environment0$_environment._environment0$_forwardedModules;
  92877. if (forwarded == null)
  92878. return;
  92879. forwardedModules = _this._environment0$_forwardedModules;
  92880. if (forwardedModules != null) {
  92881. t1 = type$.Module_Callable_2;
  92882. t2 = type$.AstNode_2;
  92883. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  92884. for (t1 = A.MapExtensions_get_pairs0(forwarded, t1, t2), t1 = t1.get$iterator(t1), t2 = _this._environment0$_globalModules; t1.moveNext$0();) {
  92885. t4 = t1.get$current(t1);
  92886. module = t4._0;
  92887. node = t4._1;
  92888. if (!forwardedModules.containsKey$1(module) || !t2.containsKey$1(module))
  92889. t3.$indexSet(0, module, node);
  92890. }
  92891. forwarded = t3;
  92892. } else
  92893. forwardedModules = _this._environment0$_forwardedModules = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.AstNode_2);
  92894. t1 = type$.String;
  92895. t2 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  92896. for (t3 = A.LinkedHashMapKeyIterator$(forwarded, forwarded._modifications); t3.moveNext$0();)
  92897. for (t4 = t3.__js_helper$_current.get$variables(), t4 = J.get$iterator$ax(t4.get$keys(t4)); t4.moveNext$0();)
  92898. t2.add$1(0, t4.get$current(t4));
  92899. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  92900. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded._modifications); t4.moveNext$0();) {
  92901. t5 = t4.__js_helper$_current;
  92902. for (t5 = t5.get$functions(t5), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  92903. t3.add$1(0, t5.get$current(t5));
  92904. }
  92905. t1 = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  92906. for (t4 = A.LinkedHashMapKeyIterator$(forwarded, forwarded._modifications); t4.moveNext$0();)
  92907. for (t5 = t4.__js_helper$_current.get$mixins(), t5 = J.get$iterator$ax(t5.get$keys(t5)); t5.moveNext$0();)
  92908. t1.add$1(0, t5.get$current(t5));
  92909. t4 = _this._environment0$_variables;
  92910. t5 = t4.length;
  92911. if (t5 === 1) {
  92912. for (t5 = _this._environment0$_importedModules, t6 = type$.Module_Callable_2, t7 = type$.AstNode_2, t8 = A.MapExtensions_get_pairs0(t5, t6, t7).toList$0(0), t9 = t8.length, t10 = type$.Callable_2, _i = 0; _i < t8.length; t8.length === t9 || (0, A.throwConcurrentModificationError)(t8), ++_i) {
  92913. t11 = t8[_i];
  92914. module = t11._0;
  92915. node = t11._1;
  92916. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  92917. if (shadowed != null) {
  92918. t5.remove$1(0, module);
  92919. t11 = shadowed.variables;
  92920. if (t11.get$isEmpty(t11)) {
  92921. t11 = shadowed.functions;
  92922. if (t11.get$isEmpty(t11)) {
  92923. t11 = shadowed.mixins;
  92924. if (t11.get$isEmpty(t11)) {
  92925. t11 = shadowed._shadowed_view0$_inner;
  92926. t11 = t11.get$css(t11);
  92927. t11 = J.get$isEmpty$asx(t11.get$children(t11));
  92928. } else
  92929. t11 = false;
  92930. } else
  92931. t11 = false;
  92932. } else
  92933. t11 = false;
  92934. if (!t11)
  92935. t5.$indexSet(0, shadowed, node);
  92936. }
  92937. }
  92938. for (t6 = A.MapExtensions_get_pairs0(forwardedModules, t6, t7).toList$0(0), t7 = t6.length, _i = 0; _i < t6.length; t6.length === t7 || (0, A.throwConcurrentModificationError)(t6), ++_i) {
  92939. t8 = t6[_i];
  92940. module = t8._0;
  92941. node = t8._1;
  92942. shadowed = A.ShadowedModuleView_ifNecessary0(module, t3, t1, t2, t10);
  92943. if (shadowed != null) {
  92944. forwardedModules.remove$1(0, module);
  92945. t8 = shadowed.variables;
  92946. if (t8.get$isEmpty(t8)) {
  92947. t8 = shadowed.functions;
  92948. if (t8.get$isEmpty(t8)) {
  92949. t8 = shadowed.mixins;
  92950. if (t8.get$isEmpty(t8)) {
  92951. t8 = shadowed._shadowed_view0$_inner;
  92952. t8 = t8.get$css(t8);
  92953. t8 = J.get$isEmpty$asx(t8.get$children(t8));
  92954. } else
  92955. t8 = false;
  92956. } else
  92957. t8 = false;
  92958. } else
  92959. t8 = false;
  92960. if (!t8)
  92961. forwardedModules.$indexSet(0, shadowed, node);
  92962. }
  92963. }
  92964. t5.addAll$1(0, forwarded);
  92965. forwardedModules.addAll$1(0, forwarded);
  92966. } else {
  92967. t6 = _this._environment0$_nestedForwardedModules;
  92968. if (t6 == null) {
  92969. _length = t5 - 1;
  92970. _list = J.JSArray_JSArray$allocateGrowable(_length, type$.List_Module_Callable_2);
  92971. for (t5 = type$.JSArray_Module_Callable_2, _i = 0; _i < _length; ++_i)
  92972. _list[_i] = A._setArrayType([], t5);
  92973. _this._environment0$_nestedForwardedModules = _list;
  92974. t5 = _list;
  92975. } else
  92976. t5 = t6;
  92977. B.JSArray_methods.addAll$1(B.JSArray_methods.get$last(t5), new A.LinkedHashMapKeyIterable(forwarded, A._instanceType(forwarded)._eval$1("LinkedHashMapKeyIterable<1>")));
  92978. }
  92979. for (t2 = A._LinkedHashSetIterator$(t2, t2._collection$_modifications), t5 = _this._environment0$_variableIndices, t6 = _this._environment0$_variableNodes, t7 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  92980. t8 = t2._collection$_current;
  92981. if (t8 == null)
  92982. t8 = t7._as(t8);
  92983. t5.remove$1(0, t8);
  92984. J.remove$1$z(B.JSArray_methods.get$last(t4), t8);
  92985. J.remove$1$z(B.JSArray_methods.get$last(t6), t8);
  92986. }
  92987. for (t2 = A._LinkedHashSetIterator$(t3, t3._collection$_modifications), t3 = _this._environment0$_functionIndices, t4 = _this._environment0$_functions, t5 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  92988. t6 = t2._collection$_current;
  92989. if (t6 == null)
  92990. t6 = t5._as(t6);
  92991. t3.remove$1(0, t6);
  92992. J.remove$1$z(B.JSArray_methods.get$last(t4), t6);
  92993. }
  92994. for (t1 = A._LinkedHashSetIterator$(t1, t1._collection$_modifications), t2 = _this._environment0$_mixinIndices, t3 = _this._environment0$_mixins, t4 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  92995. t5 = t1._collection$_current;
  92996. if (t5 == null)
  92997. t5 = t4._as(t5);
  92998. t2.remove$1(0, t5);
  92999. J.remove$1$z(B.JSArray_methods.get$last(t3), t5);
  93000. }
  93001. },
  93002. getVariable$2$namespace($name, namespace) {
  93003. var t1, _0_0, index, t2, _1_0, _this = this;
  93004. if (namespace != null)
  93005. return _this._environment0$_getModule$1(namespace).get$variables().$index(0, $name);
  93006. if (_this._environment0$_lastVariableName === $name) {
  93007. t1 = _this._environment0$_lastVariableIndex;
  93008. t1.toString;
  93009. t1 = J.$index$asx(_this._environment0$_variables[t1], $name);
  93010. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  93011. }
  93012. t1 = _this._environment0$_variableIndices;
  93013. _0_0 = t1.$index(0, $name);
  93014. if (_0_0 != null) {
  93015. index = _0_0;
  93016. t2 = true;
  93017. } else {
  93018. index = null;
  93019. t2 = false;
  93020. }
  93021. if (t2) {
  93022. _this._environment0$_lastVariableName = $name;
  93023. _this._environment0$_lastVariableIndex = index;
  93024. t1 = J.$index$asx(_this._environment0$_variables[index], $name);
  93025. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  93026. } else {
  93027. _1_0 = _this._environment0$_variableIndex$1($name);
  93028. if (_1_0 != null) {
  93029. index = _1_0;
  93030. t2 = true;
  93031. } else {
  93032. index = null;
  93033. t2 = false;
  93034. }
  93035. if (t2) {
  93036. _this._environment0$_lastVariableName = $name;
  93037. _this._environment0$_lastVariableIndex = index;
  93038. t1.$indexSet(0, $name, index);
  93039. t1 = J.$index$asx(_this._environment0$_variables[index], $name);
  93040. return t1 == null ? _this._environment0$_getVariableFromGlobalModule$1($name) : t1;
  93041. } else
  93042. return _this._environment0$_getVariableFromGlobalModule$1($name);
  93043. }
  93044. },
  93045. getVariable$1($name) {
  93046. return this.getVariable$2$namespace($name, null);
  93047. },
  93048. _environment0$_getVariableFromGlobalModule$1($name) {
  93049. return this._environment0$_fromOneModule$3($name, "variable", new A.Environment__getVariableFromGlobalModule_closure0($name));
  93050. },
  93051. getVariableNode$2$namespace($name, namespace) {
  93052. var t1, _0_0, index, t2, _1_0, _this = this;
  93053. if (namespace != null)
  93054. return _this._environment0$_getModule$1(namespace).get$variableNodes().$index(0, $name);
  93055. if (_this._environment0$_lastVariableName === $name) {
  93056. t1 = _this._environment0$_lastVariableIndex;
  93057. t1.toString;
  93058. t1 = J.$index$asx(_this._environment0$_variableNodes[t1], $name);
  93059. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  93060. }
  93061. t1 = _this._environment0$_variableIndices;
  93062. _0_0 = t1.$index(0, $name);
  93063. if (_0_0 != null) {
  93064. index = _0_0;
  93065. t2 = true;
  93066. } else {
  93067. index = null;
  93068. t2 = false;
  93069. }
  93070. if (t2) {
  93071. _this._environment0$_lastVariableName = $name;
  93072. _this._environment0$_lastVariableIndex = index;
  93073. t1 = J.$index$asx(_this._environment0$_variableNodes[index], $name);
  93074. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  93075. } else {
  93076. _1_0 = _this._environment0$_variableIndex$1($name);
  93077. if (_1_0 != null) {
  93078. index = _1_0;
  93079. t2 = true;
  93080. } else {
  93081. index = null;
  93082. t2 = false;
  93083. }
  93084. if (t2) {
  93085. _this._environment0$_lastVariableName = $name;
  93086. _this._environment0$_lastVariableIndex = index;
  93087. t1.$indexSet(0, $name, index);
  93088. t1 = J.$index$asx(_this._environment0$_variableNodes[index], $name);
  93089. return t1 == null ? _this._environment0$_getVariableNodeFromGlobalModule$1($name) : t1;
  93090. } else
  93091. return _this._environment0$_getVariableNodeFromGlobalModule$1($name);
  93092. }
  93093. },
  93094. _environment0$_getVariableNodeFromGlobalModule$1($name) {
  93095. var t1, t2, _0_0, value;
  93096. 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();) {
  93097. t1 = t2._currentIterator;
  93098. _0_0 = t1.get$current(t1).get$variableNodes().$index(0, $name);
  93099. if (_0_0 != null) {
  93100. value = _0_0;
  93101. t1 = true;
  93102. } else {
  93103. value = null;
  93104. t1 = false;
  93105. }
  93106. if (t1)
  93107. return value;
  93108. }
  93109. return null;
  93110. },
  93111. globalVariableExists$2$namespace($name, namespace) {
  93112. if (namespace != null)
  93113. return this._environment0$_getModule$1(namespace).get$variables().containsKey$1($name);
  93114. if (B.JSArray_methods.get$first(this._environment0$_variables).containsKey$1($name))
  93115. return true;
  93116. return this._environment0$_getVariableFromGlobalModule$1($name) != null;
  93117. },
  93118. globalVariableExists$1($name) {
  93119. return this.globalVariableExists$2$namespace($name, null);
  93120. },
  93121. _environment0$_variableIndex$1($name) {
  93122. var t1, i;
  93123. for (t1 = this._environment0$_variables, i = t1.length - 1; i >= 0; --i)
  93124. if (t1[i].containsKey$1($name))
  93125. return i;
  93126. return null;
  93127. },
  93128. setVariable$5$global$namespace($name, value, nodeWithSpan, global, namespace) {
  93129. var t1, moduleWithName, nestedForwardedModules, t2, t3, t4, t5, index, _this = this;
  93130. if (namespace != null) {
  93131. _this._environment0$_getModule$1(namespace).setVariable$3($name, value, nodeWithSpan);
  93132. return;
  93133. }
  93134. if (global || _this._environment0$_variables.length === 1) {
  93135. _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure2(_this, $name));
  93136. t1 = _this._environment0$_variables;
  93137. if (!B.JSArray_methods.get$first(t1).containsKey$1($name)) {
  93138. moduleWithName = _this._environment0$_fromOneModule$3($name, "variable", new A.Environment_setVariable_closure3($name));
  93139. if (moduleWithName != null) {
  93140. moduleWithName.setVariable$3($name, value, nodeWithSpan);
  93141. return;
  93142. }
  93143. }
  93144. J.$indexSet$ax(B.JSArray_methods.get$first(t1), $name, value);
  93145. J.$indexSet$ax(B.JSArray_methods.get$first(_this._environment0$_variableNodes), $name, nodeWithSpan);
  93146. return;
  93147. }
  93148. nestedForwardedModules = _this._environment0$_nestedForwardedModules;
  93149. if (nestedForwardedModules != null && !_this._environment0$_variableIndices.containsKey$1($name) && _this._environment0$_variableIndex$1($name) == null)
  93150. 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();) {
  93151. t3 = t1.__internal$_current;
  93152. 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();) {
  93153. t5 = t3.__internal$_current;
  93154. if (t5 == null)
  93155. t5 = t4._as(t5);
  93156. if (t5.get$variables().containsKey$1($name)) {
  93157. t5.setVariable$3($name, value, nodeWithSpan);
  93158. return;
  93159. }
  93160. }
  93161. }
  93162. if (_this._environment0$_lastVariableName === $name) {
  93163. t1 = _this._environment0$_lastVariableIndex;
  93164. t1.toString;
  93165. index = t1;
  93166. } else
  93167. index = _this._environment0$_variableIndices.putIfAbsent$2($name, new A.Environment_setVariable_closure4(_this, $name));
  93168. if (!_this._environment0$_inSemiGlobalScope && index === 0) {
  93169. index = _this._environment0$_variables.length - 1;
  93170. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  93171. }
  93172. _this._environment0$_lastVariableName = $name;
  93173. _this._environment0$_lastVariableIndex = index;
  93174. J.$indexSet$ax(_this._environment0$_variables[index], $name, value);
  93175. J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
  93176. },
  93177. setVariable$4$global($name, value, nodeWithSpan, global) {
  93178. return this.setVariable$5$global$namespace($name, value, nodeWithSpan, global, null);
  93179. },
  93180. setLocalVariable$3($name, value, nodeWithSpan) {
  93181. var index, _this = this,
  93182. t1 = _this._environment0$_variables,
  93183. t2 = t1.length;
  93184. _this._environment0$_lastVariableName = $name;
  93185. index = _this._environment0$_lastVariableIndex = t2 - 1;
  93186. _this._environment0$_variableIndices.$indexSet(0, $name, index);
  93187. J.$indexSet$ax(t1[index], $name, value);
  93188. J.$indexSet$ax(_this._environment0$_variableNodes[index], $name, nodeWithSpan);
  93189. },
  93190. getFunction$2$namespace($name, namespace) {
  93191. var t1, _0_0, index, t2, _1_0, _this = this;
  93192. if (namespace != null) {
  93193. t1 = _this._environment0$_getModule$1(namespace);
  93194. return t1.get$functions(t1).$index(0, $name);
  93195. }
  93196. t1 = _this._environment0$_functionIndices;
  93197. _0_0 = t1.$index(0, $name);
  93198. if (_0_0 != null) {
  93199. index = _0_0;
  93200. t2 = true;
  93201. } else {
  93202. index = null;
  93203. t2 = false;
  93204. }
  93205. if (t2) {
  93206. t1 = J.$index$asx(_this._environment0$_functions[index], $name);
  93207. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  93208. } else {
  93209. _1_0 = _this._environment0$_functionIndex$1($name);
  93210. if (_1_0 != null) {
  93211. index = _1_0;
  93212. t2 = true;
  93213. } else {
  93214. index = null;
  93215. t2 = false;
  93216. }
  93217. if (t2) {
  93218. t1.$indexSet(0, $name, index);
  93219. t1 = J.$index$asx(_this._environment0$_functions[index], $name);
  93220. return t1 == null ? _this._environment0$_getFunctionFromGlobalModule$1($name) : t1;
  93221. } else
  93222. return _this._environment0$_getFunctionFromGlobalModule$1($name);
  93223. }
  93224. },
  93225. getFunction$1($name) {
  93226. return this.getFunction$2$namespace($name, null);
  93227. },
  93228. _environment0$_getFunctionFromGlobalModule$1($name) {
  93229. return this._environment0$_fromOneModule$3($name, "function", new A.Environment__getFunctionFromGlobalModule_closure0($name));
  93230. },
  93231. _environment0$_functionIndex$1($name) {
  93232. var t1, i;
  93233. for (t1 = this._environment0$_functions, i = t1.length - 1; i >= 0; --i)
  93234. if (t1[i].containsKey$1($name))
  93235. return i;
  93236. return null;
  93237. },
  93238. getMixin$2$namespace($name, namespace) {
  93239. var t1, _0_0, index, t2, _1_0, _this = this;
  93240. if (namespace != null)
  93241. return _this._environment0$_getModule$1(namespace).get$mixins().$index(0, $name);
  93242. t1 = _this._environment0$_mixinIndices;
  93243. _0_0 = t1.$index(0, $name);
  93244. if (_0_0 != null) {
  93245. index = _0_0;
  93246. t2 = true;
  93247. } else {
  93248. index = null;
  93249. t2 = false;
  93250. }
  93251. if (t2) {
  93252. t1 = J.$index$asx(_this._environment0$_mixins[index], $name);
  93253. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  93254. } else {
  93255. _1_0 = _this._environment0$_mixinIndex$1($name);
  93256. if (_1_0 != null) {
  93257. index = _1_0;
  93258. t2 = true;
  93259. } else {
  93260. index = null;
  93261. t2 = false;
  93262. }
  93263. if (t2) {
  93264. t1.$indexSet(0, $name, index);
  93265. t1 = J.$index$asx(_this._environment0$_mixins[index], $name);
  93266. return t1 == null ? _this._environment0$_getMixinFromGlobalModule$1($name) : t1;
  93267. } else
  93268. return _this._environment0$_getMixinFromGlobalModule$1($name);
  93269. }
  93270. },
  93271. _environment0$_getMixinFromGlobalModule$1($name) {
  93272. return this._environment0$_fromOneModule$3($name, "mixin", new A.Environment__getMixinFromGlobalModule_closure0($name));
  93273. },
  93274. _environment0$_mixinIndex$1($name) {
  93275. var t1, i;
  93276. for (t1 = this._environment0$_mixins, i = t1.length - 1; i >= 0; --i)
  93277. if (t1[i].containsKey$1($name))
  93278. return i;
  93279. return null;
  93280. },
  93281. withContent$2($content, callback) {
  93282. var oldContent = this._environment0$_content;
  93283. this._environment0$_content = $content;
  93284. callback.call$0();
  93285. this._environment0$_content = oldContent;
  93286. },
  93287. asMixin$1(callback) {
  93288. var oldInMixin = this._environment0$_inMixin;
  93289. this._environment0$_inMixin = true;
  93290. callback.call$0();
  93291. this._environment0$_inMixin = oldInMixin;
  93292. },
  93293. scope$1$3$semiGlobal$when(callback, semiGlobal, when) {
  93294. var wasInSemiGlobalScope, $name, name0, name1, t1, t2, t3, t4, t5, t6, _this = this;
  93295. semiGlobal = semiGlobal && _this._environment0$_inSemiGlobalScope;
  93296. wasInSemiGlobalScope = _this._environment0$_inSemiGlobalScope;
  93297. _this._environment0$_inSemiGlobalScope = semiGlobal;
  93298. if (!when)
  93299. try {
  93300. t1 = callback.call$0();
  93301. return t1;
  93302. } finally {
  93303. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  93304. }
  93305. t1 = _this._environment0$_variables;
  93306. t2 = type$.String;
  93307. B.JSArray_methods.add$1(t1, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.Value_2));
  93308. t3 = _this._environment0$_variableNodes;
  93309. B.JSArray_methods.add$1(t3, A.LinkedHashMap_LinkedHashMap$_empty(t2, type$.AstNode_2));
  93310. t4 = _this._environment0$_functions;
  93311. t5 = type$.Callable_2;
  93312. B.JSArray_methods.add$1(t4, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  93313. t6 = _this._environment0$_mixins;
  93314. B.JSArray_methods.add$1(t6, A.LinkedHashMap_LinkedHashMap$_empty(t2, t5));
  93315. t5 = _this._environment0$_nestedForwardedModules;
  93316. if (t5 != null)
  93317. t5.push(A._setArrayType([], type$.JSArray_Module_Callable_2));
  93318. try {
  93319. t2 = callback.call$0();
  93320. return t2;
  93321. } finally {
  93322. _this._environment0$_inSemiGlobalScope = wasInSemiGlobalScope;
  93323. _this._environment0$_lastVariableIndex = _this._environment0$_lastVariableName = null;
  93324. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t1))), t2 = _this._environment0$_variableIndices; t1.moveNext$0();) {
  93325. $name = t1.get$current(t1);
  93326. t2.remove$1(0, $name);
  93327. }
  93328. B.JSArray_methods.removeLast$0(t3);
  93329. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t4))), t2 = _this._environment0$_functionIndices; t1.moveNext$0();) {
  93330. name0 = t1.get$current(t1);
  93331. t2.remove$1(0, name0);
  93332. }
  93333. for (t1 = J.get$iterator$ax(J.get$keys$z(B.JSArray_methods.removeLast$0(t6))), t2 = _this._environment0$_mixinIndices; t1.moveNext$0();) {
  93334. name1 = t1.get$current(t1);
  93335. t2.remove$1(0, name1);
  93336. }
  93337. t1 = _this._environment0$_nestedForwardedModules;
  93338. if (t1 != null)
  93339. t1.pop();
  93340. }
  93341. },
  93342. scope$1$1(callback, $T) {
  93343. return this.scope$1$3$semiGlobal$when(callback, false, true, $T);
  93344. },
  93345. scope$1$2$when(callback, when, $T) {
  93346. return this.scope$1$3$semiGlobal$when(callback, false, when, $T);
  93347. },
  93348. scope$1$2$semiGlobal(callback, semiGlobal, $T) {
  93349. return this.scope$1$3$semiGlobal$when(callback, semiGlobal, true, $T);
  93350. },
  93351. toImplicitConfiguration$0() {
  93352. var t2, t3, t4, i, values, nodes, t5, t6, $name, value,
  93353. t1 = type$.String,
  93354. configuration = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.ConfiguredValue_2);
  93355. for (t2 = this._environment0$_variables, t3 = type$.Value_2, t4 = this._environment0$_variableNodes, i = 0; i < t2.length; ++i) {
  93356. values = t2[i];
  93357. nodes = t4[i];
  93358. for (t5 = A.MapExtensions_get_pairs0(values, t1, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  93359. t6 = t5.get$current(t5);
  93360. $name = t6._0;
  93361. value = t6._1;
  93362. t6 = nodes.$index(0, $name);
  93363. t6.toString;
  93364. configuration.$indexSet(0, $name, new A.ConfiguredValue0(value, null, t6));
  93365. }
  93366. }
  93367. return new A.Configuration0(configuration, null);
  93368. },
  93369. toModule$3(css, preModuleComments, extensionStore) {
  93370. return A._EnvironmentModule__EnvironmentModule1(this, css, preModuleComments, extensionStore, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toModule_closure0()));
  93371. },
  93372. toDummyModule$0() {
  93373. 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.Map_empty9, B.C_EmptyExtensionStore0, A.NullableExtension_andThen0(this._environment0$_forwardedModules, new A.Environment_toDummyModule_closure0()));
  93374. },
  93375. _environment0$_getModule$1(namespace) {
  93376. var module, t1,
  93377. _0_0 = this._environment0$_modules.$index(0, namespace);
  93378. if (_0_0 != null) {
  93379. module = _0_0;
  93380. t1 = true;
  93381. } else {
  93382. module = null;
  93383. t1 = false;
  93384. }
  93385. if (t1)
  93386. return module;
  93387. throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "' + namespace + '".', null));
  93388. },
  93389. _environment0$_fromOneModule$1$3($name, type, callback) {
  93390. var nestedForwardedModules, t1, t2, t3, t4, t5, _1_0, value, _2_0, identity, valueInModule, identityFromModule, module, node, _null = null,
  93391. _0_0 = this._environment0$_nestedForwardedModules;
  93392. if (_0_0 != null) {
  93393. nestedForwardedModules = _0_0;
  93394. t1 = true;
  93395. } else {
  93396. nestedForwardedModules = _null;
  93397. t1 = false;
  93398. }
  93399. if (t1)
  93400. 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();) {
  93401. t3 = t1.__internal$_current;
  93402. 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();) {
  93403. t5 = t3.__internal$_current;
  93404. _1_0 = callback.call$1(t5 == null ? t4._as(t5) : t5);
  93405. if (_1_0 != null) {
  93406. value = _1_0;
  93407. t5 = true;
  93408. } else {
  93409. value = _null;
  93410. t5 = false;
  93411. }
  93412. if (t5)
  93413. return value;
  93414. }
  93415. }
  93416. for (t1 = this._environment0$_importedModules, t1 = A.LinkedHashMapKeyIterator$(t1, t1._modifications); t1.moveNext$0();) {
  93417. _2_0 = callback.call$1(t1.__js_helper$_current);
  93418. if (_2_0 != null) {
  93419. value = _2_0;
  93420. t2 = true;
  93421. } else {
  93422. value = _null;
  93423. t2 = false;
  93424. }
  93425. if (t2)
  93426. return value;
  93427. }
  93428. for (t1 = this._environment0$_globalModules, t2 = A.LinkedHashMapKeyIterator$(t1, t1._modifications), t3 = type$.Callable_2, identity = _null, value = identity; t2.moveNext$0();) {
  93429. t4 = t2.__js_helper$_current;
  93430. valueInModule = callback.call$1(t4);
  93431. if (valueInModule == null)
  93432. continue;
  93433. identityFromModule = t3._is(valueInModule) ? valueInModule : t4.variableIdentity$1($name);
  93434. if (identityFromModule.$eq(0, identity))
  93435. continue;
  93436. if (value != null) {
  93437. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  93438. for (t3 = A.MapExtensions_get_pairs0(t1, type$.Module_Callable_2, type$.AstNode_2), t3 = t3.get$iterator(t3), t4 = "includes " + type; t3.moveNext$0();) {
  93439. t1 = t3.get$current(t3);
  93440. module = t1._0;
  93441. node = t1._1;
  93442. if (callback.call$1(module) != null)
  93443. t2.$indexSet(0, node.get$span(node), t4);
  93444. }
  93445. throw A.wrapException(A.MultiSpanSassScriptException$0("This " + type + string$.x20is_av, type + " use", t2));
  93446. }
  93447. identity = identityFromModule;
  93448. value = valueInModule;
  93449. }
  93450. return value;
  93451. },
  93452. _environment0$_fromOneModule$3($name, type, callback) {
  93453. return this._environment0$_fromOneModule$1$3($name, type, callback, type$.dynamic);
  93454. }
  93455. };
  93456. A.Environment__getVariableFromGlobalModule_closure0.prototype = {
  93457. call$1(module) {
  93458. return module.get$variables().$index(0, this.name);
  93459. },
  93460. $signature: 427
  93461. };
  93462. A.Environment_setVariable_closure2.prototype = {
  93463. call$0() {
  93464. var t1 = this.$this;
  93465. t1._environment0$_lastVariableName = this.name;
  93466. return t1._environment0$_lastVariableIndex = 0;
  93467. },
  93468. $signature: 3
  93469. };
  93470. A.Environment_setVariable_closure3.prototype = {
  93471. call$1(module) {
  93472. return module.get$variables().containsKey$1(this.name) ? module : null;
  93473. },
  93474. $signature: 428
  93475. };
  93476. A.Environment_setVariable_closure4.prototype = {
  93477. call$0() {
  93478. var t1 = this.$this,
  93479. t2 = t1._environment0$_variableIndex$1(this.name);
  93480. return t2 == null ? t1._environment0$_variables.length - 1 : t2;
  93481. },
  93482. $signature: 3
  93483. };
  93484. A.Environment__getFunctionFromGlobalModule_closure0.prototype = {
  93485. call$1(module) {
  93486. return module.get$functions(module).$index(0, this.name);
  93487. },
  93488. $signature: 235
  93489. };
  93490. A.Environment__getMixinFromGlobalModule_closure0.prototype = {
  93491. call$1(module) {
  93492. return module.get$mixins().$index(0, this.name);
  93493. },
  93494. $signature: 235
  93495. };
  93496. A.Environment_toModule_closure0.prototype = {
  93497. call$1(modules) {
  93498. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  93499. },
  93500. $signature: 236
  93501. };
  93502. A.Environment_toDummyModule_closure0.prototype = {
  93503. call$1(modules) {
  93504. return new A.MapKeySet(modules, type$.MapKeySet_Module_Callable_2);
  93505. },
  93506. $signature: 236
  93507. };
  93508. A._EnvironmentModule1.prototype = {
  93509. get$url(_) {
  93510. var t1 = this.css;
  93511. return t1.get$span(t1).file.url;
  93512. },
  93513. setVariable$3($name, value, nodeWithSpan) {
  93514. var module, t1, t2,
  93515. _0_0 = this._environment0$_modulesByVariable.$index(0, $name);
  93516. if (_0_0 != null) {
  93517. module = _0_0;
  93518. t1 = true;
  93519. } else {
  93520. module = null;
  93521. t1 = false;
  93522. }
  93523. if (t1) {
  93524. module.setVariable$3($name, value, nodeWithSpan);
  93525. return;
  93526. }
  93527. t1 = this._environment0$_environment;
  93528. t2 = t1._environment0$_variables;
  93529. if (!B.JSArray_methods.get$first(t2).containsKey$1($name))
  93530. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  93531. J.$indexSet$ax(B.JSArray_methods.get$first(t2), $name, value);
  93532. J.$indexSet$ax(B.JSArray_methods.get$first(t1._environment0$_variableNodes), $name, nodeWithSpan);
  93533. return;
  93534. },
  93535. variableIdentity$1($name) {
  93536. var module = this._environment0$_modulesByVariable.$index(0, $name);
  93537. return module == null ? this : module.variableIdentity$1($name);
  93538. },
  93539. cloneCss$0() {
  93540. var _0_0, _this = this;
  93541. if (!_this.transitivelyContainsCss)
  93542. return _this;
  93543. _0_0 = A.cloneCssStylesheet0(_this.css, _this.extensionStore);
  93544. return A._EnvironmentModule$_1(_this._environment0$_environment, _0_0._0, _this.preModuleComments, _0_0._1, _this._environment0$_modulesByVariable, _this.variables, _this.variableNodes, _this.functions, _this.mixins, true, _this.transitivelyContainsExtensions);
  93545. },
  93546. toString$0(_) {
  93547. var t2,
  93548. t1 = this.css;
  93549. if (t1.get$span(t1).file.url == null)
  93550. t1 = "<unknown url>";
  93551. else {
  93552. t1 = t1.get$span(t1).file.url;
  93553. t2 = $.$get$context();
  93554. t1.toString;
  93555. t1 = t2.prettyUri$1(t1);
  93556. }
  93557. return t1;
  93558. },
  93559. $isModule1: 1,
  93560. get$upstream() {
  93561. return this.upstream;
  93562. },
  93563. get$variables() {
  93564. return this.variables;
  93565. },
  93566. get$variableNodes() {
  93567. return this.variableNodes;
  93568. },
  93569. get$functions(receiver) {
  93570. return this.functions;
  93571. },
  93572. get$mixins() {
  93573. return this.mixins;
  93574. },
  93575. get$extensionStore() {
  93576. return this.extensionStore;
  93577. },
  93578. get$css(receiver) {
  93579. return this.css;
  93580. },
  93581. get$preModuleComments() {
  93582. return this.preModuleComments;
  93583. },
  93584. get$transitivelyContainsCss() {
  93585. return this.transitivelyContainsCss;
  93586. },
  93587. get$transitivelyContainsExtensions() {
  93588. return this.transitivelyContainsExtensions;
  93589. }
  93590. };
  93591. A._EnvironmentModule__EnvironmentModule_closure11.prototype = {
  93592. call$1(module) {
  93593. return module.get$variables();
  93594. },
  93595. $signature: 431
  93596. };
  93597. A._EnvironmentModule__EnvironmentModule_closure12.prototype = {
  93598. call$1(module) {
  93599. return module.get$variableNodes();
  93600. },
  93601. $signature: 432
  93602. };
  93603. A._EnvironmentModule__EnvironmentModule_closure13.prototype = {
  93604. call$1(module) {
  93605. return module.get$functions(module);
  93606. },
  93607. $signature: 224
  93608. };
  93609. A._EnvironmentModule__EnvironmentModule_closure14.prototype = {
  93610. call$1(module) {
  93611. return module.get$mixins();
  93612. },
  93613. $signature: 224
  93614. };
  93615. A._EnvironmentModule__EnvironmentModule_closure15.prototype = {
  93616. call$1(module) {
  93617. return module.get$transitivelyContainsCss();
  93618. },
  93619. $signature: 141
  93620. };
  93621. A._EnvironmentModule__EnvironmentModule_closure16.prototype = {
  93622. call$1(module) {
  93623. return module.get$transitivelyContainsExtensions();
  93624. },
  93625. $signature: 141
  93626. };
  93627. A.ErrorRule0.prototype = {
  93628. accept$1$1(visitor) {
  93629. return visitor.visitErrorRule$1(this);
  93630. },
  93631. accept$1(visitor) {
  93632. return this.accept$1$1(visitor, type$.dynamic);
  93633. },
  93634. toString$0(_) {
  93635. return "@error " + this.expression.toString$0(0) + ";";
  93636. },
  93637. $isAstNode0: 1,
  93638. $isStatement0: 1,
  93639. get$span(receiver) {
  93640. return this.span;
  93641. }
  93642. };
  93643. A._EvaluateVisitor1.prototype = {
  93644. _EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(functions, importCache, logger, nodeImporter, quietDeps, sourceMap) {
  93645. var t2, metaModule, t3, _i, module, $function, t4, _this = this,
  93646. _s20_ = "$name, $module: null",
  93647. _s9_ = "sass:meta",
  93648. _s7_ = "$module",
  93649. t1 = type$.JSArray_BuiltInCallable_2,
  93650. metaFunctions = A._setArrayType([A.BuiltInCallable$function0("global-variable-exists", _s20_, new A._EvaluateVisitor_closure25(_this), _s9_), A.BuiltInCallable$function0("variable-exists", "$name", new A._EvaluateVisitor_closure26(_this), _s9_), A.BuiltInCallable$function0("function-exists", _s20_, new A._EvaluateVisitor_closure27(_this), _s9_), A.BuiltInCallable$function0("mixin-exists", _s20_, new A._EvaluateVisitor_closure28(_this), _s9_), A.BuiltInCallable$function0("content-exists", "", new A._EvaluateVisitor_closure29(_this), _s9_), A.BuiltInCallable$function0("module-variables", _s7_, new A._EvaluateVisitor_closure30(_this), _s9_), A.BuiltInCallable$function0("module-functions", _s7_, new A._EvaluateVisitor_closure31(_this), _s9_), A.BuiltInCallable$function0("module-mixins", _s7_, new A._EvaluateVisitor_closure32(_this), _s9_), A.BuiltInCallable$function0("get-function", "$name, $css: false, $module: null", new A._EvaluateVisitor_closure33(_this), _s9_), A.BuiltInCallable$function0("get-mixin", _s20_, new A._EvaluateVisitor_closure34(_this), _s9_), A.BuiltInCallable$function0("call", "$function, $args...", new A._EvaluateVisitor_closure35(_this), _s9_)], t1),
  93651. metaMixins = A._setArrayType([A.BuiltInCallable$mixin0("load-css", "$url, $with: null", new A._EvaluateVisitor_closure36(_this), false, _s9_), A.BuiltInCallable$mixin0("apply", "$mixin, $args...", new A._EvaluateVisitor_closure37(_this), true, _s9_)], t1);
  93652. t1 = type$.BuiltInCallable_2;
  93653. t2 = A.List_List$of($.$get$global6(), true, t1);
  93654. B.JSArray_methods.addAll$1(t2, $.$get$local0());
  93655. B.JSArray_methods.addAll$1(t2, metaFunctions);
  93656. metaModule = A.BuiltInModule$0("meta", t2, metaMixins, null, t1);
  93657. for (t1 = A.List_List$of($.$get$coreModules0(), true, type$.BuiltInModule_Callable_2), t1.push(metaModule), t2 = t1.length, t3 = _this._evaluate0$_builtInModules, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  93658. module = t1[_i];
  93659. t3.$indexSet(0, module.url, module);
  93660. }
  93661. t1 = A._setArrayType([], type$.JSArray_Callable_2);
  93662. B.JSArray_methods.addAll$1(t1, functions);
  93663. B.JSArray_methods.addAll$1(t1, $.$get$globalFunctions0());
  93664. B.JSArray_methods.addAll$1(t1, metaFunctions);
  93665. for (t2 = t1.length, t3 = _this._evaluate0$_builtInFunctions, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  93666. $function = t1[_i];
  93667. t4 = J.get$name$x($function);
  93668. t3.$indexSet(0, A.stringReplaceAllUnchecked(t4, "_", "-"), $function);
  93669. }
  93670. },
  93671. run$2(_, importer, node) {
  93672. var error, stackTrace, t1, exception;
  93673. try {
  93674. t1 = type$.nullable_Object;
  93675. t1 = 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$.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2);
  93676. return t1;
  93677. } catch (exception) {
  93678. t1 = A.unwrapException(exception);
  93679. if (t1 instanceof A.SassException0) {
  93680. error = t1;
  93681. stackTrace = A.getTraceFromException(exception);
  93682. A.throwWithTrace0(error.withLoadedUrls$1(this._evaluate0$_loadedUrls), error, stackTrace);
  93683. } else
  93684. throw exception;
  93685. }
  93686. },
  93687. _evaluate0$_assertInModule$1$2(value, $name) {
  93688. if (value != null)
  93689. return value;
  93690. throw A.wrapException(A.StateError$("Can't access " + $name + " outside of a module."));
  93691. },
  93692. _evaluate0$_assertInModule$2(value, $name) {
  93693. return this._evaluate0$_assertInModule$1$2(value, $name, type$.dynamic);
  93694. },
  93695. _evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, baseUrl, configuration, namesInErrors) {
  93696. var _0_0, t2, _this = this, t1 = {};
  93697. t1.builtInModule = null;
  93698. _0_0 = _this._evaluate0$_builtInModules.$index(0, url);
  93699. if (_0_0 != null) {
  93700. t1.builtInModule = _0_0;
  93701. t2 = true;
  93702. } else
  93703. t2 = false;
  93704. if (t2) {
  93705. if (configuration instanceof A.ExplicitConfiguration0) {
  93706. t1 = namesInErrors ? "Built-in module " + url.toString$0(0) + " can't be configured." : "Built-in modules can't be configured.";
  93707. t2 = configuration.nodeWithSpan;
  93708. throw A.wrapException(_this._evaluate0$_exception$2(t1, t2.get$span(t2)));
  93709. }
  93710. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__loadModule_closure3(t1, callback));
  93711. return;
  93712. }
  93713. _this._evaluate0$_withStackFrame$3(stackFrame, nodeWithSpan, new A._EvaluateVisitor__loadModule_closure4(_this, url, nodeWithSpan, baseUrl, namesInErrors, configuration, callback));
  93714. },
  93715. _evaluate0$_loadModule$5$configuration(url, stackFrame, nodeWithSpan, callback, configuration) {
  93716. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, configuration, false);
  93717. },
  93718. _evaluate0$_loadModule$4(url, stackFrame, nodeWithSpan, callback) {
  93719. return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, stackFrame, nodeWithSpan, callback, null, null, false);
  93720. },
  93721. _evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, configuration, namesInErrors, nodeWithSpan) {
  93722. var alreadyLoaded, t2, currentConfiguration, t3, message, existingSpan, configurationSpan, environment, css, preModuleComments, extensionStore, module, _this = this,
  93723. url = stylesheet.span.file.url,
  93724. t1 = _this._evaluate0$_modules,
  93725. _0_0 = t1.$index(0, url);
  93726. if (_0_0 != null) {
  93727. alreadyLoaded = _0_0;
  93728. t2 = true;
  93729. } else {
  93730. alreadyLoaded = null;
  93731. t2 = false;
  93732. }
  93733. if (t2) {
  93734. t1 = configuration == null;
  93735. currentConfiguration = t1 ? _this._evaluate0$_configuration : configuration;
  93736. t2 = _this._evaluate0$_moduleConfigurations.$index(0, url);
  93737. t3 = t2._configuration0$__originalConfiguration;
  93738. t2 = t3 == null ? t2 : t3;
  93739. t3 = currentConfiguration._configuration0$__originalConfiguration;
  93740. if (t2 !== (t3 == null ? currentConfiguration : t3) && currentConfiguration instanceof A.ExplicitConfiguration0) {
  93741. if (namesInErrors) {
  93742. t2 = $.$get$context();
  93743. url.toString;
  93744. message = t2.prettyUri$1(url) + string$.x20was_a;
  93745. } else
  93746. message = string$.This_mw;
  93747. t2 = _this._evaluate0$_moduleNodes.$index(0, url);
  93748. existingSpan = t2 == null ? null : t2.get$span(t2);
  93749. if (t1) {
  93750. t1 = currentConfiguration.nodeWithSpan;
  93751. configurationSpan = t1.get$span(t1);
  93752. } else
  93753. configurationSpan = null;
  93754. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  93755. if (existingSpan != null)
  93756. t1.$indexSet(0, existingSpan, "original load");
  93757. if (configurationSpan != null)
  93758. t1.$indexSet(0, configurationSpan, "configuration");
  93759. throw A.wrapException(t1.get$isEmpty(t1) ? _this._evaluate0$_exception$1(message) : _this._evaluate0$_multiSpanException$3(message, "new load", t1));
  93760. }
  93761. return alreadyLoaded;
  93762. }
  93763. environment = A.Environment$0();
  93764. css = A._Cell$();
  93765. preModuleComments = A._Cell$();
  93766. extensionStore = A.ExtensionStore$0();
  93767. _this._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__execute_closure1(_this, importer, stylesheet, extensionStore, configuration, css, preModuleComments));
  93768. t2 = css._readLocal$0();
  93769. t3 = preModuleComments._readLocal$0();
  93770. module = environment.toModule$3(t2, t3 == null ? B.Map_empty9 : t3, extensionStore);
  93771. if (url != null) {
  93772. t1.$indexSet(0, url, module);
  93773. _this._evaluate0$_moduleConfigurations.$indexSet(0, url, _this._evaluate0$_configuration);
  93774. if (nodeWithSpan != null)
  93775. _this._evaluate0$_moduleNodes.$indexSet(0, url, nodeWithSpan);
  93776. }
  93777. return module;
  93778. },
  93779. _evaluate0$_execute$2(importer, stylesheet) {
  93780. return this._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, null, false, null);
  93781. },
  93782. _evaluate0$_addOutOfOrderImports$0() {
  93783. var t1, t2, _this = this, _s5_ = "_root",
  93784. _s13_ = "_endOfImports",
  93785. _0_0 = _this._evaluate0$_outOfOrderImports;
  93786. $label0$0: {
  93787. if (_0_0 == null) {
  93788. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  93789. break $label0$0;
  93790. }
  93791. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  93792. t1 = t1.children;
  93793. 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("ListBase.E")), true, type$.ModifiableCssNode_2);
  93794. B.JSArray_methods.addAll$1(t1, _0_0);
  93795. t2 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children;
  93796. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(t2, _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_), null, t2.$ti._eval$1("ListBase.E")));
  93797. break $label0$0;
  93798. }
  93799. return t1;
  93800. },
  93801. _evaluate0$_combineCss$2$clone(root, clone) {
  93802. var selectors, _0_0, unsatisfiedExtension, t1, imports, css, sorted, t2;
  93803. if (!B.JSArray_methods.any$1(root.get$upstream(), new A._EvaluateVisitor__combineCss_closure3())) {
  93804. selectors = root.get$extensionStore().get$simpleSelectors();
  93805. _0_0 = A.IterableExtension_get_firstOrNull(root.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure4(selectors)));
  93806. if (_0_0 != null) {
  93807. unsatisfiedExtension = _0_0;
  93808. t1 = true;
  93809. } else {
  93810. unsatisfiedExtension = null;
  93811. t1 = false;
  93812. }
  93813. if (t1)
  93814. this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtension);
  93815. return root.get$css(root);
  93816. }
  93817. t1 = type$.JSArray_CssNode_2;
  93818. imports = A._setArrayType([], t1);
  93819. css = A._setArrayType([], t1);
  93820. t1 = type$.Module_Callable_2;
  93821. sorted = A.ListQueue$(t1);
  93822. new A._EvaluateVisitor__combineCss_visitModule1(this, A.LinkedHashSet_LinkedHashSet$_empty(t1), clone, css, imports, sorted).call$1(root);
  93823. if (root.get$transitivelyContainsExtensions())
  93824. this._evaluate0$_extendModules$1(sorted);
  93825. t1 = B.JSArray_methods.$add(imports, css);
  93826. t2 = root.get$css(root);
  93827. return new A.CssStylesheet0(new A.UnmodifiableListView(t1, type$.UnmodifiableListView_CssNode_2), t2.get$span(t2));
  93828. },
  93829. _evaluate0$_combineCss$1(root) {
  93830. return this._evaluate0$_combineCss$2$clone(root, false);
  93831. },
  93832. _evaluate0$_extendModules$1(sortedModules) {
  93833. var t1, t2, t3, originalSelectors, $self, t4, t5, _i, upstream, _0_0, url, t6,
  93834. downstreamExtensionStores = A.LinkedHashMap_LinkedHashMap$_empty(type$.Uri, type$.List_ExtensionStore_2),
  93835. unsatisfiedExtensions = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_Extension_2);
  93836. for (t1 = A._ListQueueIterator$(sortedModules), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  93837. t3 = t1._collection$_current;
  93838. if (t3 == null)
  93839. t3 = t2._as(t3);
  93840. originalSelectors = t3.get$extensionStore().get$simpleSelectors().toSet$0(0);
  93841. unsatisfiedExtensions.addAll$1(0, t3.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure3(originalSelectors)));
  93842. $self = downstreamExtensionStores.$index(0, t3.get$url(t3));
  93843. t4 = t3.get$extensionStore().get$addExtensions();
  93844. if ($self != null)
  93845. t4.call$1($self);
  93846. t4 = t3.get$extensionStore();
  93847. if (t4.get$isEmpty(t4))
  93848. continue;
  93849. for (t4 = t3.get$upstream(), t5 = t4.length, _i = 0; _i < t4.length; t4.length === t5 || (0, A.throwConcurrentModificationError)(t4), ++_i) {
  93850. upstream = t4[_i];
  93851. _0_0 = upstream.get$url(upstream);
  93852. if (_0_0 != null) {
  93853. url = _0_0;
  93854. t6 = true;
  93855. } else {
  93856. url = null;
  93857. t6 = false;
  93858. }
  93859. if (t6)
  93860. J.add$1$ax(downstreamExtensionStores.putIfAbsent$2(url, new A._EvaluateVisitor__extendModules_closure4()), t3.get$extensionStore());
  93861. }
  93862. unsatisfiedExtensions.removeAll$1(t3.get$extensionStore().extensionsWhereTarget$1(originalSelectors.get$contains(originalSelectors)));
  93863. }
  93864. if (unsatisfiedExtensions._collection$_length !== 0)
  93865. this._evaluate0$_throwForUnsatisfiedExtension$1(unsatisfiedExtensions.get$first(unsatisfiedExtensions));
  93866. },
  93867. _evaluate0$_throwForUnsatisfiedExtension$1(extension) {
  93868. throw A.wrapException(A.SassException$0(string$.The_ta + extension.target.toString$0(0) + ' !optional" to avoid this error.', extension.span, null));
  93869. },
  93870. _evaluate0$_indexAfterImports$1(statements) {
  93871. var t1, lastImport, i, _0_0;
  93872. for (t1 = J.getInterceptor$asx(statements), lastImport = -1, i = 0; i < t1.get$length(statements); ++i) {
  93873. $label0$0: {
  93874. _0_0 = t1.$index(statements, i);
  93875. if (_0_0 instanceof A.ModifiableCssImport0)
  93876. break $label0$0;
  93877. if (_0_0 instanceof A.ModifiableCssComment0)
  93878. continue;
  93879. break;
  93880. }
  93881. lastImport = i;
  93882. }
  93883. return lastImport + 1;
  93884. },
  93885. visitStylesheet$1(node) {
  93886. var t1, t2, _i;
  93887. for (t1 = node.children, t2 = t1.length, _i = 0; _i < t2; ++_i)
  93888. t1[_i].accept$1(this);
  93889. return null;
  93890. },
  93891. visitAtRootRule$1(node) {
  93892. var unparsedQuery, t1, query, $parent, included, _2_0, grandparent, t2, root, first, rest, innerCopy, outerCopy, _i, copy, _this = this, _null = null,
  93893. _s8_ = "__parent",
  93894. _0_0 = node.query;
  93895. if (_0_0 != null) {
  93896. unparsedQuery = _0_0;
  93897. t1 = true;
  93898. } else {
  93899. unparsedQuery = _null;
  93900. t1 = false;
  93901. }
  93902. query = t1 ? A.AtRootQueryParser$0(_this._evaluate0$_performInterpolationWithMap$2$warnForColor(unparsedQuery, true)._0, _this._evaluate0$_logger, _null).parse$0() : B.AtRootQuery_UsS0;
  93903. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_);
  93904. included = A._setArrayType([], type$.JSArray_ModifiableCssParentNode_2);
  93905. for (t1 = type$.CssStylesheet_2; !t1._is($parent); $parent = grandparent) {
  93906. if (!query.excludes$1($parent))
  93907. included.push($parent);
  93908. _2_0 = $parent._node$_parent;
  93909. if (_2_0 != null) {
  93910. grandparent = _2_0;
  93911. t2 = true;
  93912. } else {
  93913. grandparent = _null;
  93914. t2 = false;
  93915. }
  93916. if (!t2)
  93917. throw A.wrapException(A.StateError$(string$.CssNod));
  93918. }
  93919. root = _this._evaluate0$_trimIncluded$1(included);
  93920. if (root === _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_)) {
  93921. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure3(_this, node), node.hasDeclarations, type$.Null);
  93922. return _null;
  93923. }
  93924. if (included.length >= 1) {
  93925. first = included[0];
  93926. rest = B.JSArray_methods.sublist$1(included, 1);
  93927. t1 = true;
  93928. } else {
  93929. rest = _null;
  93930. first = rest;
  93931. t1 = false;
  93932. }
  93933. if (t1) {
  93934. innerCopy = first.copyWithoutChildren$0();
  93935. for (t1 = rest.length, outerCopy = innerCopy, _i = 0; _i < rest.length; rest.length === t1 || (0, A.throwConcurrentModificationError)(rest), ++_i, outerCopy = copy) {
  93936. copy = rest[_i].copyWithoutChildren$0();
  93937. copy.addChild$1(outerCopy);
  93938. }
  93939. root.addChild$1(outerCopy);
  93940. } else
  93941. innerCopy = root;
  93942. _this._evaluate0$_scopeForAtRoot$4(node, innerCopy, query, included).call$1(new A._EvaluateVisitor_visitAtRootRule_closure4(_this, node));
  93943. return _null;
  93944. },
  93945. _evaluate0$_trimIncluded$1(nodes) {
  93946. var $parent, t1, innermostContiguous, i, t2, _0_0, grandparent, t3, _1_0, root, _this = this, _null = null, _s5_ = "_root",
  93947. _s22_ = " to be an ancestor of ";
  93948. if (nodes.length === 0)
  93949. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  93950. $parent = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  93951. for (t1 = nodes.length, innermostContiguous = _null, i = 0; i < t1; ++i, $parent = grandparent) {
  93952. for (; t2 = nodes[i], $parent !== t2; innermostContiguous = _null, $parent = grandparent) {
  93953. _0_0 = $parent._node$_parent;
  93954. if (_0_0 != null) {
  93955. grandparent = _0_0;
  93956. t3 = true;
  93957. } else {
  93958. grandparent = _null;
  93959. t3 = false;
  93960. }
  93961. if (!t3)
  93962. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  93963. }
  93964. if (innermostContiguous == null)
  93965. innermostContiguous = i;
  93966. _1_0 = $parent._node$_parent;
  93967. if (_1_0 != null) {
  93968. grandparent = _1_0;
  93969. t3 = true;
  93970. } else {
  93971. grandparent = _null;
  93972. t3 = false;
  93973. }
  93974. if (!t3)
  93975. throw A.wrapException(A.ArgumentError$("Expected " + t2.toString$0(0) + _s22_ + _this.toString$0(0) + ".", _null));
  93976. }
  93977. if ($parent !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  93978. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  93979. innermostContiguous.toString;
  93980. root = nodes[innermostContiguous];
  93981. B.JSArray_methods.removeRange$2(nodes, innermostContiguous, nodes.length);
  93982. return root;
  93983. },
  93984. _evaluate0$_scopeForAtRoot$4(node, newParent, query, included) {
  93985. var _this = this,
  93986. scope = new A._EvaluateVisitor__scopeForAtRoot_closure11(_this, newParent, node),
  93987. t1 = query._at_root_query0$_all || query._at_root_query0$_rule;
  93988. if (t1 !== query.include)
  93989. scope = new A._EvaluateVisitor__scopeForAtRoot_closure12(_this, scope);
  93990. if (_this._evaluate0$_mediaQueries != null && query.excludesName$1("media"))
  93991. scope = new A._EvaluateVisitor__scopeForAtRoot_closure13(_this, scope);
  93992. if (_this._evaluate0$_inKeyframes && query.excludesName$1("keyframes"))
  93993. scope = new A._EvaluateVisitor__scopeForAtRoot_closure14(_this, scope);
  93994. return _this._evaluate0$_inUnknownAtRule && !B.JSArray_methods.any$1(included, new A._EvaluateVisitor__scopeForAtRoot_closure15()) ? new A._EvaluateVisitor__scopeForAtRoot_closure16(_this, scope) : scope;
  93995. },
  93996. visitContentBlock$1(node) {
  93997. return A.throwExpression(A.UnsupportedError$(string$.Evalua));
  93998. },
  93999. visitContentRule$1(node) {
  94000. var $content = this._evaluate0$_environment._environment0$_content;
  94001. if ($content == null)
  94002. return null;
  94003. this._evaluate0$_runUserDefinedCallable$1$4(node.$arguments, $content, node, new A._EvaluateVisitor_visitContentRule_closure1(this, $content), type$.Null);
  94004. return null;
  94005. },
  94006. visitDebugRule$1(node) {
  94007. var value = node.expression.accept$1(this),
  94008. t1 = value instanceof A.SassString0 ? value._string0$_text : A.serializeValue0(value, true, true);
  94009. this._evaluate0$_logger.debug$2(0, t1, node.span);
  94010. return null;
  94011. },
  94012. visitDeclaration$1(node) {
  94013. var t2, $name, _0_0, declarationName, t3, _1_0, expression, value, t4, t5, _2_0, oldDeclarationName, _this = this, _null = null, t1 = {};
  94014. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null && !_this._evaluate0$_inUnknownAtRule && !_this._evaluate0$_inKeyframes)
  94015. throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarm, node.span));
  94016. if (_this._evaluate0$_declarationName != null && B.JSString_methods.startsWith$1(node.name.get$initialPlain(), "--"))
  94017. throw A.wrapException(_this._evaluate0$_exception$2(string$.Declarw, node.span));
  94018. t2 = node.name;
  94019. $name = _this._evaluate0$_interpolationToValue$2$warnForColor(t2, true);
  94020. _0_0 = _this._evaluate0$_declarationName;
  94021. if (_0_0 != null) {
  94022. declarationName = _0_0;
  94023. t3 = true;
  94024. } else {
  94025. declarationName = _null;
  94026. t3 = false;
  94027. }
  94028. if (t3)
  94029. $name = new A.CssValue0(A.S(declarationName) + "-" + A.S($name.value), $name.span, type$.CssValue_String_2);
  94030. _1_0 = node.value;
  94031. if (_1_0 != null) {
  94032. expression = _1_0;
  94033. t3 = true;
  94034. } else {
  94035. expression = _null;
  94036. t3 = false;
  94037. }
  94038. if (t3) {
  94039. value = expression.accept$1(_this);
  94040. if (!value.get$isBlank() || value.get$asList().length === 0) {
  94041. t3 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  94042. t4 = expression.get$span(expression);
  94043. t2 = B.JSString_methods.startsWith$1(t2.get$initialPlain(), "--");
  94044. if (_this._evaluate0$_sourceMap) {
  94045. t5 = A.NullableExtension_andThen0(_1_0, _this.get$_evaluate0$_expressionNode());
  94046. t5 = t5 == null ? _null : J.get$span$z(t5);
  94047. } else
  94048. t5 = _null;
  94049. t3.addChild$1(A.ModifiableCssDeclaration$0($name, new A.CssValue0(value, t4, type$.CssValue_Value_2), node.span, t2, t5));
  94050. } else if (J.startsWith$1$s($name.value, "--"))
  94051. throw A.wrapException(_this._evaluate0$_exception$2("Custom property values may not be empty.", expression.get$span(expression)));
  94052. }
  94053. t1.children = null;
  94054. _2_0 = node.children;
  94055. if (_2_0 != null) {
  94056. t1.children = _2_0;
  94057. t2 = true;
  94058. } else
  94059. t2 = false;
  94060. if (t2) {
  94061. oldDeclarationName = _this._evaluate0$_declarationName;
  94062. _this._evaluate0$_declarationName = $name.value;
  94063. _this._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure1(t1, _this), node.hasDeclarations, type$.Null);
  94064. _this._evaluate0$_declarationName = oldDeclarationName;
  94065. }
  94066. return _null;
  94067. },
  94068. visitEachRule$1(node) {
  94069. var t2, _this = this, _box_0 = {},
  94070. t1 = node.list,
  94071. list = t1.accept$1(_this),
  94072. nodeWithSpan = _this._evaluate0$_expressionNode$1(t1),
  94073. _0_0 = node.variables;
  94074. $label0$0: {
  94075. _box_0.variable = null;
  94076. if (_0_0.length === 1) {
  94077. _box_0.variable = _0_0[0];
  94078. t1 = true;
  94079. } else
  94080. t1 = false;
  94081. if (t1) {
  94082. t1 = new A._EvaluateVisitor_visitEachRule_closure5(_box_0, _this, nodeWithSpan);
  94083. break $label0$0;
  94084. }
  94085. t1 = _box_0.variables = null;
  94086. _box_0.variables = _0_0;
  94087. t2 = new A._EvaluateVisitor_visitEachRule_closure6(_box_0, _this, nodeWithSpan);
  94088. t1 = t2;
  94089. break $label0$0;
  94090. }
  94091. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure7(_this, list, t1, node), true, type$.nullable_Value_2);
  94092. },
  94093. _evaluate0$_setMultipleVariables$3(variables, value, nodeWithSpan) {
  94094. var i,
  94095. list = value.get$asList(),
  94096. t1 = variables.length,
  94097. minLength = Math.min(t1, list.length);
  94098. for (i = 0; i < minLength; ++i)
  94099. this._evaluate0$_environment.setLocalVariable$3(variables[i], this._evaluate0$_withoutSlash$2(list[i], nodeWithSpan), nodeWithSpan);
  94100. for (i = minLength; i < t1; ++i)
  94101. this._evaluate0$_environment.setLocalVariable$3(variables[i], B.C__SassNull0, nodeWithSpan);
  94102. },
  94103. visitErrorRule$1(node) {
  94104. throw A.wrapException(this._evaluate0$_exception$2(J.toString$0$(node.expression.accept$1(this)), node.span));
  94105. },
  94106. visitExtendRule$1(node) {
  94107. var t1, t2, t3, t4, t5, _i, complex, visitor, t6, t7, _0_0, compound, _this = this, _null = null,
  94108. styleRule = _this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  94109. if (styleRule == null || _this._evaluate0$_declarationName != null)
  94110. throw A.wrapException(_this._evaluate0$_exception$2(string$.x40exten, node.span));
  94111. for (t1 = styleRule.originalSelector.components, t2 = t1.length, t3 = node.span, t4 = type$.SourceSpan, t5 = type$.String, _i = 0; _i < t2; ++_i) {
  94112. complex = t1[_i];
  94113. if (!complex.accept$1(B._IsBogusVisitor_true0))
  94114. continue;
  94115. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  94116. complex.accept$1(visitor);
  94117. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  94118. t7 = complex.accept$1(B.C__IsUselessVisitor0) ? "can't" : "shouldn't";
  94119. _this._evaluate0$_warn$3('The selector "' + t6 + '" is invalid CSS and ' + t7 + string$.x20be_an, new A.MultiSpan0(A.SpanExtensions_trimRight0(complex.span), "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t3, "@extend rule"], t4, t5), t4, t5)), B.Deprecation_XV6);
  94120. }
  94121. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(node.selector, true);
  94122. for (t1 = A.SelectorList_SelectorList$parse0(A.trimAscii0(_0_0._0, true), false, true, _0_0._1, _this._evaluate0$_logger).components, t2 = t1.length, t3 = styleRule._style_rule0$_selector._box0$_inner, _i = 0; _i < t2; ++_i) {
  94123. complex = t1[_i];
  94124. compound = complex.get$singleCompound();
  94125. if (compound == null)
  94126. throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.", complex.span, _null));
  94127. t4 = compound.components;
  94128. t5 = t4.length === 1 ? B.JSArray_methods.get$first(t4) : _null;
  94129. if (t5 == null)
  94130. throw A.wrapException(A.SassFormatException$0(string$.compou + B.JSArray_methods.join$1(t4, ", ") + string$.x60_inst, compound.span, _null));
  94131. _this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addExtension$4(t3.value, t5, node, _this._evaluate0$_mediaQueries);
  94132. }
  94133. return _null;
  94134. },
  94135. visitAtRule$1(node) {
  94136. var $name, value, children, wasInKeyframes, wasInUnknownAtRule, _this = this;
  94137. if (_this._evaluate0$_declarationName != null)
  94138. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  94139. $name = _this._evaluate0$_interpolationToValue$1(node.name);
  94140. value = A.NullableExtension_andThen0(node.value, new A._EvaluateVisitor_visitAtRule_closure5(_this));
  94141. children = node.children;
  94142. if (children == null) {
  94143. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0($name, node.span, true, value));
  94144. return null;
  94145. }
  94146. wasInKeyframes = _this._evaluate0$_inKeyframes;
  94147. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  94148. if (A.unvendor0($name.value) === "keyframes")
  94149. _this._evaluate0$_inKeyframes = true;
  94150. else
  94151. _this._evaluate0$_inUnknownAtRule = true;
  94152. _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssAtRule$0($name, node.span, false, value), new A._EvaluateVisitor_visitAtRule_closure6(_this, $name, children), node.hasDeclarations, new A._EvaluateVisitor_visitAtRule_closure7(), type$.ModifiableCssAtRule_2, type$.Null);
  94153. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  94154. _this._evaluate0$_inKeyframes = wasInKeyframes;
  94155. return null;
  94156. },
  94157. visitForRule$1(node) {
  94158. var _this = this, t1 = {},
  94159. t2 = node.from,
  94160. fromNumber = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure9(_this, node)),
  94161. t3 = node.to,
  94162. toNumber = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure10(_this, node)),
  94163. from = _this._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor_visitForRule_closure11(fromNumber)),
  94164. to = t1.to = _this._evaluate0$_addExceptionSpan$2(t3, new A._EvaluateVisitor_visitForRule_closure12(toNumber, fromNumber)),
  94165. direction = from > to ? -1 : 1;
  94166. if (from === (!node.isExclusive ? t1.to = to + direction : to))
  94167. return null;
  94168. return _this._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure13(t1, _this, node, from, direction, fromNumber), true, type$.nullable_Value_2);
  94169. },
  94170. visitForwardRule$1(node) {
  94171. var newConfiguration, t4, _i, variable, $name, _this = this,
  94172. _s8_ = "@forward",
  94173. oldConfiguration = _this._evaluate0$_configuration,
  94174. adjustedConfiguration = oldConfiguration.throughForward$1(node),
  94175. t1 = node.configuration,
  94176. t2 = t1.length,
  94177. t3 = node.url;
  94178. if (t2 !== 0) {
  94179. newConfiguration = _this._evaluate0$_addForwardConfiguration$2(adjustedConfiguration, node);
  94180. _this._evaluate0$_loadModule$5$configuration(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure3(_this, node), newConfiguration);
  94181. t3 = type$.String;
  94182. t4 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  94183. for (_i = 0; _i < t2; ++_i) {
  94184. variable = t1[_i];
  94185. if (!variable.isGuarded)
  94186. t4.add$1(0, variable.name);
  94187. }
  94188. _this._evaluate0$_removeUsedConfiguration$3$except(adjustedConfiguration, newConfiguration, t4);
  94189. t3 = A.LinkedHashSet_LinkedHashSet$_empty(t3);
  94190. for (_i = 0; _i < t2; ++_i)
  94191. t3.add$1(0, t1[_i].name);
  94192. for (t1 = newConfiguration._configuration0$_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) {
  94193. $name = t2[_i];
  94194. if (!t3.contains$1(0, $name))
  94195. if (!t1.get$isEmpty(t1))
  94196. t1.remove$1(0, $name);
  94197. }
  94198. _this._evaluate0$_assertConfigurationIsEmpty$1(newConfiguration);
  94199. } else {
  94200. _this._evaluate0$_configuration = adjustedConfiguration;
  94201. _this._evaluate0$_loadModule$4(t3, _s8_, node, new A._EvaluateVisitor_visitForwardRule_closure4(_this, node));
  94202. _this._evaluate0$_configuration = oldConfiguration;
  94203. }
  94204. return null;
  94205. },
  94206. _evaluate0$_addForwardConfiguration$2(configuration, node) {
  94207. var t2, t3, _i, variable, t4, oldValue, t5, variableNodeWithSpan, _null = null,
  94208. t1 = configuration._configuration0$_values,
  94209. newValues = A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  94210. for (t2 = node.configuration, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  94211. variable = t2[_i];
  94212. if (variable.isGuarded) {
  94213. t4 = variable.name;
  94214. oldValue = t1.get$isEmpty(t1) ? _null : t1.remove$1(0, t4);
  94215. if (oldValue != null)
  94216. t5 = true;
  94217. else {
  94218. oldValue = _null;
  94219. t5 = false;
  94220. }
  94221. if (t5 && !oldValue.value.$eq(0, B.C__SassNull0)) {
  94222. newValues.$indexSet(0, t4, oldValue);
  94223. continue;
  94224. }
  94225. }
  94226. t4 = variable.expression;
  94227. variableNodeWithSpan = this._evaluate0$_expressionNode$1(t4);
  94228. newValues.$indexSet(0, variable.name, new A.ConfiguredValue0(this._evaluate0$_withoutSlash$2(t4.accept$1(this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  94229. }
  94230. if (configuration instanceof A.ExplicitConfiguration0 || t1.get$isEmpty(t1))
  94231. return new A.ExplicitConfiguration0(node, newValues, _null);
  94232. else
  94233. return new A.Configuration0(newValues, _null);
  94234. },
  94235. _evaluate0$_registerCommentsForModule$1(module) {
  94236. var _this = this, _s5_ = "_root",
  94237. t1 = _this._evaluate0$__root;
  94238. if (t1 == null)
  94239. return;
  94240. t1 = _this._evaluate0$_assertInModule$2(t1, _s5_).children;
  94241. if (t1.get$length(t1) === 0 || !module.get$transitivelyContainsCss())
  94242. return;
  94243. t1 = _this._evaluate0$_preModuleComments;
  94244. if (t1 == null)
  94245. t1 = _this._evaluate0$_preModuleComments = A.LinkedHashMap_LinkedHashMap$_empty(type$.Module_Callable_2, type$.List_CssComment_2);
  94246. J.addAll$1$ax(t1.putIfAbsent$2(module, new A._EvaluateVisitor__registerCommentsForModule_closure1()), new A.UnmodifiableListView(J.cast$1$0$ax(_this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).children._collection$_source, type$.CssComment_2), type$.UnmodifiableListView_CssComment_2));
  94247. _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).clearChildren$0();
  94248. _this._evaluate0$__endOfImports = 0;
  94249. },
  94250. _evaluate0$_removeUsedConfiguration$3$except(upstream, downstream, except) {
  94251. var t1, t2, t3, t4, _i, $name;
  94252. for (t1 = upstream._configuration0$_values, t2 = J.toList$0$ax(t1.get$keys(t1)), t3 = t2.length, t4 = downstream._configuration0$_values, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  94253. $name = t2[_i];
  94254. if (except.contains$1(0, $name))
  94255. continue;
  94256. if (!t4.containsKey$1($name))
  94257. if (!t1.get$isEmpty(t1))
  94258. t1.remove$1(0, $name);
  94259. }
  94260. },
  94261. _evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, nameInError) {
  94262. var t1, _0_0, $name, value;
  94263. if (!(configuration instanceof A.ExplicitConfiguration0))
  94264. return;
  94265. t1 = configuration._configuration0$_values;
  94266. if (t1.get$isEmpty(t1))
  94267. return;
  94268. t1 = A.MapExtensions_get_pairs0(new A.UnmodifiableMapView(t1, type$.UnmodifiableMapView_String_ConfiguredValue_2), type$.String, type$.ConfiguredValue_2);
  94269. _0_0 = t1.get$first(t1);
  94270. $name = _0_0._0;
  94271. value = _0_0._1;
  94272. t1 = nameInError ? "$" + $name + string$.x20was_n : string$.This_v;
  94273. throw A.wrapException(this._evaluate0$_exception$2(t1, value.configurationSpan));
  94274. },
  94275. _evaluate0$_assertConfigurationIsEmpty$1(configuration) {
  94276. return this._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, false);
  94277. },
  94278. visitFunctionRule$1(node) {
  94279. var t1 = this._evaluate0$_environment,
  94280. t2 = t1.closure$0(),
  94281. t3 = this._evaluate0$_inDependency,
  94282. t4 = t1._environment0$_functions,
  94283. index = t4.length - 1,
  94284. t5 = node.name;
  94285. t1._environment0$_functionIndices.$indexSet(0, t5, index);
  94286. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  94287. return null;
  94288. },
  94289. visitIfRule$1(node) {
  94290. var t1, t2, _i, clauseToCheck,
  94291. clause = node.lastClause;
  94292. for (t1 = node.clauses, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  94293. clauseToCheck = t1[_i];
  94294. if (clauseToCheck.expression.accept$1(this).get$isTruthy()) {
  94295. clause = clauseToCheck;
  94296. break;
  94297. }
  94298. }
  94299. return A.NullableExtension_andThen0(clause, new A._EvaluateVisitor_visitIfRule_closure1(this));
  94300. },
  94301. visitImportRule$1(node) {
  94302. var t1, t2, t3, t4, t5, t6, _i, $import, t7, _0_0, $self, t8, _this = this,
  94303. _s8_ = "__parent",
  94304. _s5_ = "_root",
  94305. _s13_ = "_endOfImports";
  94306. 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) {
  94307. $import = t1[_i];
  94308. if ($import instanceof A.DynamicImport0)
  94309. _this._evaluate0$_visitDynamicImport$1($import);
  94310. else {
  94311. t5._as($import);
  94312. t7 = $import.url;
  94313. _0_0 = _this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(t7, false, false);
  94314. $self = $import.modifiers;
  94315. t8 = $self == null ? null : t4.call$1($self);
  94316. node = new A.ModifiableCssImport0(new A.CssValue0(_0_0._0, t7.span, t3), t8, $import.span);
  94317. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  94318. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(node);
  94319. 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)) {
  94320. t7 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_);
  94321. node._node$_parent = t7;
  94322. t7 = t7._node$_children;
  94323. node._node$_indexInParent = t7.length;
  94324. t7.push(node);
  94325. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  94326. } else {
  94327. t7 = _this._evaluate0$_outOfOrderImports;
  94328. (t7 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], t6) : t7).push(node);
  94329. }
  94330. }
  94331. }
  94332. return null;
  94333. },
  94334. _evaluate0$_visitDynamicImport$1($import) {
  94335. return this._evaluate0$_withStackFrame$3("@import", $import, new A._EvaluateVisitor__visitDynamicImport_closure1(this, $import));
  94336. },
  94337. _evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, forImport) {
  94338. var importCache, _0_0, importer, canonicalUrl, originalUrl, _1_0, isDependency, stylesheet, _2_0, result, _3_0, error, stackTrace, error0, stackTrace0, message, t1, t2, t3, t4, exception, message0, _this = this,
  94339. _s11_ = "_stylesheet";
  94340. baseUrl = baseUrl;
  94341. try {
  94342. _this._evaluate0$_importSpan = span;
  94343. importCache = null;
  94344. _0_0 = _this._evaluate0$_importCache;
  94345. if (_0_0 != null) {
  94346. importCache = _0_0;
  94347. t1 = true;
  94348. } else
  94349. t1 = false;
  94350. if (t1) {
  94351. if (baseUrl == null)
  94352. baseUrl = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url;
  94353. importer = null;
  94354. canonicalUrl = null;
  94355. originalUrl = null;
  94356. _1_0 = J.canonicalize$4$baseImporter$baseUrl$forImport$x(importCache, A.Uri_parse(url), _this._evaluate0$_importer, baseUrl, forImport);
  94357. if (type$.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(_1_0)) {
  94358. importer = _1_0._0;
  94359. canonicalUrl = _1_0._1;
  94360. originalUrl = _1_0._2;
  94361. t1 = true;
  94362. } else
  94363. t1 = false;
  94364. if (t1) {
  94365. _this._evaluate0$_loadedUrls.add$1(0, canonicalUrl);
  94366. isDependency = _this._evaluate0$_inDependency || !J.$eq$(importer, _this._evaluate0$_importer);
  94367. stylesheet = null;
  94368. t1 = importCache;
  94369. t2 = importer;
  94370. t3 = canonicalUrl;
  94371. t4 = originalUrl;
  94372. _2_0 = t1.importCanonical$4$originalUrl$quiet(t2, t3, t4, _this._evaluate0$_quietDeps && isDependency);
  94373. if (_2_0 != null) {
  94374. stylesheet = _2_0;
  94375. t1 = true;
  94376. } else
  94377. t1 = false;
  94378. if (t1) {
  94379. t1 = stylesheet;
  94380. t2 = importer;
  94381. return new A._Record_3_importer_isDependency(t1, t2, isDependency);
  94382. }
  94383. }
  94384. } else {
  94385. result = null;
  94386. t1 = baseUrl;
  94387. _3_0 = _this._evaluate0$_importLikeNode$3(url, t1 == null ? _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).span.file.url : t1, forImport);
  94388. if (_3_0 != null) {
  94389. result = _3_0;
  94390. t1 = true;
  94391. } else
  94392. t1 = false;
  94393. if (t1) {
  94394. t1 = _this._evaluate0$_loadedUrls;
  94395. A.NullableExtension_andThen0(result._0.span.file.url, t1.get$add(t1));
  94396. t1 = result;
  94397. return t1;
  94398. }
  94399. }
  94400. if (B.JSString_methods.startsWith$1(url, "package:") && true)
  94401. throw A.wrapException(string$.x22packa);
  94402. else
  94403. throw A.wrapException("Can't find stylesheet to import.");
  94404. } catch (exception) {
  94405. t1 = A.unwrapException(exception);
  94406. if (t1 instanceof A.SassException0)
  94407. throw exception;
  94408. else if (t1 instanceof A.ArgumentError) {
  94409. error = t1;
  94410. stackTrace = A.getTraceFromException(exception);
  94411. A.throwWithTrace0(_this._evaluate0$_exception$1(J.toString$0$(error)), error, stackTrace);
  94412. } else {
  94413. error0 = t1;
  94414. stackTrace0 = A.getTraceFromException(exception);
  94415. message = null;
  94416. try {
  94417. message = A._asString(J.get$message$x(error0));
  94418. } catch (exception) {
  94419. message0 = J.toString$0$(error0);
  94420. message = message0;
  94421. }
  94422. A.throwWithTrace0(_this._evaluate0$_exception$1(message), error0, stackTrace0);
  94423. }
  94424. } finally {
  94425. _this._evaluate0$_importSpan = null;
  94426. }
  94427. },
  94428. _evaluate0$_loadStylesheet$3$baseUrl(url, span, baseUrl) {
  94429. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, baseUrl, false);
  94430. },
  94431. _evaluate0$_loadStylesheet$3$forImport(url, span, forImport) {
  94432. return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(url, span, null, forImport);
  94433. },
  94434. _evaluate0$_importLikeNode$3(originalUrl, previous, forImport) {
  94435. var isDependency, url, t2, _this = this,
  94436. t1 = _this._evaluate0$_nodeImporter,
  94437. result = t1.loadRelative$3(originalUrl, previous, forImport);
  94438. if (result != null)
  94439. isDependency = _this._evaluate0$_inDependency;
  94440. else {
  94441. result = t1.load$3(0, originalUrl, previous, forImport);
  94442. if (result == null)
  94443. return null;
  94444. isDependency = true;
  94445. }
  94446. url = result._1;
  94447. t1 = B.JSString_methods.startsWith$1(url, "file") ? A.Syntax_forPath0(url) : B.Syntax_SCSS_scss0;
  94448. t2 = _this._evaluate0$_quietDeps && isDependency ? $.$get$Logger_quiet0() : _this._evaluate0$_logger;
  94449. return new A._Record_3_importer_isDependency(A.Stylesheet_Stylesheet$parse0(result._0, t1, t2, url), null, isDependency);
  94450. },
  94451. _evaluate0$_applyMixin$5(mixin, contentCallable, $arguments, nodeWithSpan, nodeWithSpanWithoutContent) {
  94452. var _1_8, t1, _0_0, _this = this,
  94453. _s37_ = "Mixin doesn't accept a content block.",
  94454. _s10_ = "invocation";
  94455. $label0$0: {
  94456. _1_8 = A._InitializedCell$(new A._EvaluateVisitor__applyMixin_closure5(mixin));
  94457. if (mixin == null)
  94458. throw A.wrapException(_this._evaluate0$_exception$2("Undefined mixin.", nodeWithSpan.get$span(nodeWithSpan)));
  94459. t1 = mixin instanceof A.BuiltInCallable0;
  94460. if (t1 && !mixin.acceptsContent && contentCallable != null) {
  94461. t1 = _this._evaluate0$_evaluateArguments$1($arguments)._values;
  94462. _0_0 = mixin.callbackFor$2(t1[2].length, new A.MapKeySet(t1[0], type$.MapKeySet_String));
  94463. throw A.wrapException(A.MultiSpanSassRuntimeException$0(_s37_, nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), _s10_, A.LinkedHashMap_LinkedHashMap$_literal([_0_0._0.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate0$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), null));
  94464. }
  94465. if (t1) {
  94466. _this._evaluate0$_environment.withContent$2(contentCallable, new A._EvaluateVisitor__applyMixin_closure6(_this, $arguments, mixin, nodeWithSpanWithoutContent));
  94467. break $label0$0;
  94468. }
  94469. t1 = type$.UserDefinedCallable_Environment_2._is(mixin);
  94470. if (t1 && _1_8._readFinal$0() instanceof A.MixinRule0 && !_1_8._readFinal$0().get$hasContent() && contentCallable != null)
  94471. throw A.wrapException(A.MultiSpanSassRuntimeException$0(_s37_, nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent), _s10_, A.LinkedHashMap_LinkedHashMap$_literal([mixin.declaration.$arguments.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate0$_stackTrace$1(nodeWithSpanWithoutContent.get$span(nodeWithSpanWithoutContent)), null));
  94472. if (t1) {
  94473. _this._evaluate0$_runUserDefinedCallable$1$4($arguments, mixin, nodeWithSpanWithoutContent, new A._EvaluateVisitor__applyMixin_closure7(_this, contentCallable, mixin, nodeWithSpanWithoutContent), type$.Null);
  94474. break $label0$0;
  94475. }
  94476. throw A.wrapException(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  94477. }
  94478. },
  94479. visitIncludeRule$1(node) {
  94480. var _this = this;
  94481. _this._evaluate0$_applyMixin$5(_this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitIncludeRule_closure5(_this, node)), A.NullableExtension_andThen0(node.content, new A._EvaluateVisitor_visitIncludeRule_closure6(_this)), node.$arguments, node, new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure7(node)));
  94482. return null;
  94483. },
  94484. visitMixinRule$1(node) {
  94485. var t1 = this._evaluate0$_environment,
  94486. t2 = t1.closure$0(),
  94487. t3 = this._evaluate0$_inDependency,
  94488. t4 = t1._environment0$_mixins,
  94489. index = t4.length - 1,
  94490. t5 = node.name;
  94491. t1._environment0$_mixinIndices.$indexSet(0, t5, index);
  94492. J.$indexSet$ax(t4[index], t5, new A.UserDefinedCallable0(node, t2, t3, type$.UserDefinedCallable_Environment_2));
  94493. return null;
  94494. },
  94495. visitLoudComment$1(node) {
  94496. var t1, _this = this,
  94497. _s8_ = "__parent",
  94498. _s13_ = "_endOfImports";
  94499. if (_this._evaluate0$_inFunction)
  94500. return null;
  94501. 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))
  94502. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  94503. t1 = node.text;
  94504. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(_this._evaluate0$_performInterpolation$1(t1), t1.span));
  94505. return null;
  94506. },
  94507. visitMediaRule$1(node) {
  94508. var _0_0, queries, mergedQueries, t1, mergedSources, t2, t3, _this = this;
  94509. if (_this._evaluate0$_declarationName != null)
  94510. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  94511. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(node.query, true);
  94512. queries = A.CssMediaQuery_parseList0(_0_0._0, _0_0._1, _this._evaluate0$_logger);
  94513. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitMediaRule_closure5(_this, queries));
  94514. t1 = mergedQueries == null;
  94515. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  94516. return null;
  94517. if (t1)
  94518. mergedSources = B.Set_empty5;
  94519. else {
  94520. t2 = _this._evaluate0$_mediaQuerySources;
  94521. t2.toString;
  94522. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  94523. t3 = _this._evaluate0$_mediaQueries;
  94524. t3.toString;
  94525. t2.addAll$1(0, t3);
  94526. t2.addAll$1(0, queries);
  94527. mergedSources = t2;
  94528. }
  94529. t1 = t1 ? queries : mergedQueries;
  94530. _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);
  94531. return null;
  94532. },
  94533. _evaluate0$_mergeMediaQueries$2(queries1, queries2) {
  94534. var t1, t2, t3, t4, _0_0, result, t5,
  94535. queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2);
  94536. for (t1 = J.get$iterator$ax(queries1), t2 = J.getInterceptor$ax(queries2); t1.moveNext$0();) {
  94537. t3 = t1.get$current(t1);
  94538. for (t4 = t2.get$iterator(queries2); t4.moveNext$0();) {
  94539. _0_0 = t3.merge$1(t4.get$current(t4));
  94540. if (B._SingletonCssMediaQueryMergeResult_00 === _0_0)
  94541. continue;
  94542. if (B._SingletonCssMediaQueryMergeResult_10 === _0_0)
  94543. return null;
  94544. if (_0_0 instanceof A.MediaQuerySuccessfulMergeResult0) {
  94545. result = _0_0;
  94546. t5 = true;
  94547. } else {
  94548. result = null;
  94549. t5 = false;
  94550. }
  94551. if (t5)
  94552. queries.push(result.query);
  94553. }
  94554. }
  94555. return queries;
  94556. },
  94557. visitReturnRule$1(node) {
  94558. var t1 = node.expression;
  94559. return this._evaluate0$_withoutSlash$2(t1.accept$1(this), t1);
  94560. },
  94561. visitSilentComment$1(node) {
  94562. return null;
  94563. },
  94564. visitStyleRule$1(node) {
  94565. var t1, _0_0, selectorText, selectorMap, t2, parsedSelector, rule, oldAtRootExcludingStyleRule, t3, t4, t5, _i, complex, visitor, t6, t7, t8, t9, _this = this, _null = null,
  94566. _s11_ = "_stylesheet",
  94567. _s8_ = "__parent";
  94568. if (_this._evaluate0$_declarationName != null)
  94569. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_, node.span));
  94570. t1 = node.selector;
  94571. _0_0 = _this._evaluate0$_performInterpolationWithMap$2$warnForColor(t1, true);
  94572. selectorText = _0_0._0;
  94573. selectorMap = _0_0._1;
  94574. if (_this._evaluate0$_inKeyframes) {
  94575. _this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$0(new A.CssValue0(A.List_List$unmodifiable(A.KeyframeSelectorParser$0(selectorText, selectorMap, _this._evaluate0$_logger).parse$0(), type$.String), t1.span, type$.CssValue_List_String_2), node.span), new A._EvaluateVisitor_visitStyleRule_closure9(_this, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure10(), type$.ModifiableCssKeyframeBlock_2, type$.Null);
  94576. return _null;
  94577. }
  94578. t1 = A.SelectorList_SelectorList$parse0(selectorText, !_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss, !_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss, selectorMap, _this._evaluate0$_logger);
  94579. t2 = _this._evaluate0$_styleRuleIgnoringAtRoot;
  94580. t2 = t2 == null ? _null : t2.originalSelector;
  94581. parsedSelector = t1.resolveParentSelectors$2$implicitParent(t2, !_this._evaluate0$_atRootExcludingStyleRule);
  94582. rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$2(parsedSelector, _this._evaluate0$_mediaQueries), node.span, parsedSelector);
  94583. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  94584. _this._evaluate0$_atRootExcludingStyleRule = false;
  94585. _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitStyleRule_closure11(_this, rule, node), node.hasDeclarations, new A._EvaluateVisitor_visitStyleRule_closure12(), type$.ModifiableCssStyleRule_2, type$.Null);
  94586. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  94587. if (!rule.accept$1(B._IsInvisibleVisitor_false_false0))
  94588. for (t1 = parsedSelector.components, t2 = t1.length, t3 = type$.SourceSpan, t4 = type$.String, t5 = rule.children, _i = 0; _i < t2; ++_i) {
  94589. complex = t1[_i];
  94590. if (!complex.accept$1(B._IsBogusVisitor_true0))
  94591. continue;
  94592. if (complex.accept$1(B.C__IsUselessVisitor0)) {
  94593. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  94594. complex.accept$1(visitor);
  94595. _this._evaluate0$_warn$3('The selector "' + B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0)) + string$.x22x20is_ix20, A.SpanExtensions_trimRight0(complex.span), B.Deprecation_XV6);
  94596. } else if (complex.leadingCombinators.length !== 0) {
  94597. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  94598. complex.accept$1(visitor);
  94599. _this._evaluate0$_warn$3('The selector "' + B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0)) + string$.x22x20is_ix0a, A.SpanExtensions_trimRight0(complex.span), B.Deprecation_XV6);
  94600. } else {
  94601. visitor = A._SerializeVisitor$0(_null, true, _null, true, false, _null, true);
  94602. complex.accept$1(visitor);
  94603. t6 = B.JSString_methods.trim$0(visitor._serialize0$_buffer.toString$0(0));
  94604. t7 = complex.accept$1(B._IsBogusVisitor_false0) ? string$.x20It_wi : "";
  94605. t8 = A.SpanExtensions_trimRight0(complex.span);
  94606. if (t5.get$length(t5) === 0)
  94607. A.throwExpression(A.IterableElementError_noElement());
  94608. t9 = J.get$span$z(t5.$index(0, 0));
  94609. _this._evaluate0$_warn$3('The selector "' + t6 + string$.x22x20is_o + t7 + string$.x0aThis_, new A.MultiSpan0(t8, "invalid selector", A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([t9, "this is not a style rule" + (t5.every$1(t5, new A._EvaluateVisitor_visitStyleRule_closure13()) ? "\n(try converting to a //-style comment)" : "")], t3, t4), t3, t4)), B.Deprecation_XV6);
  94610. }
  94611. }
  94612. if ((_this._evaluate0$_atRootExcludingStyleRule ? _null : _this._evaluate0$_styleRuleIgnoringAtRoot) == null) {
  94613. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  94614. t1 = !t1.get$isEmpty(t1);
  94615. } else
  94616. t1 = false;
  94617. if (t1) {
  94618. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).children;
  94619. t1.get$last(t1).isGroupEnd = true;
  94620. }
  94621. return _null;
  94622. },
  94623. visitSupportsRule$1(node) {
  94624. var t1, _this = this;
  94625. if (_this._evaluate0$_declarationName != null)
  94626. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  94627. t1 = node.condition;
  94628. _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);
  94629. return null;
  94630. },
  94631. _evaluate0$_visitSupportsCondition$1(condition) {
  94632. var operation, t1, t2, negation, interpolation, $function, anything, _this = this, _null = null, _box_0 = {};
  94633. $label0$0: {
  94634. if (condition instanceof A.SupportsOperation0) {
  94635. operation = condition;
  94636. t1 = true;
  94637. } else {
  94638. operation = _null;
  94639. t1 = false;
  94640. }
  94641. if (t1) {
  94642. t1 = operation.left;
  94643. t2 = operation.operator;
  94644. t2 = _this._evaluate0$_parenthesize$2(t1, t2) + " " + t2 + " " + _this._evaluate0$_parenthesize$2(operation.right, t2);
  94645. t1 = t2;
  94646. break $label0$0;
  94647. }
  94648. if (condition instanceof A.SupportsNegation0) {
  94649. negation = condition;
  94650. t1 = true;
  94651. } else {
  94652. negation = _null;
  94653. t1 = false;
  94654. }
  94655. if (t1) {
  94656. t1 = "not " + _this._evaluate0$_parenthesize$1(negation.condition);
  94657. break $label0$0;
  94658. }
  94659. if (condition instanceof A.SupportsInterpolation0) {
  94660. interpolation = condition;
  94661. t1 = true;
  94662. } else {
  94663. interpolation = _null;
  94664. t1 = false;
  94665. }
  94666. if (t1) {
  94667. t1 = interpolation.expression;
  94668. t1 = _this._evaluate0$_serialize$3$quote(t1.accept$1(_this), t1, false);
  94669. break $label0$0;
  94670. }
  94671. _box_0.declaration = null;
  94672. if (condition instanceof A.SupportsDeclaration0) {
  94673. _box_0.declaration = condition;
  94674. t1 = true;
  94675. } else
  94676. t1 = false;
  94677. if (t1) {
  94678. t1 = _this._evaluate0$_withSupportsDeclaration$1(new A._EvaluateVisitor__visitSupportsCondition_closure1(_box_0, _this));
  94679. break $label0$0;
  94680. }
  94681. if (condition instanceof A.SupportsFunction0) {
  94682. $function = condition;
  94683. t1 = true;
  94684. } else {
  94685. $function = _null;
  94686. t1 = false;
  94687. }
  94688. if (t1) {
  94689. t1 = _this._evaluate0$_performInterpolation$1($function.name) + "(" + _this._evaluate0$_performInterpolation$1($function.$arguments) + ")";
  94690. break $label0$0;
  94691. }
  94692. if (condition instanceof A.SupportsAnything0) {
  94693. anything = condition;
  94694. t1 = true;
  94695. } else {
  94696. anything = _null;
  94697. t1 = false;
  94698. }
  94699. if (t1) {
  94700. t1 = "(" + _this._evaluate0$_performInterpolation$1(anything.contents) + ")";
  94701. break $label0$0;
  94702. }
  94703. t1 = A.throwExpression(A.ArgumentError$("Unknown supports condition type " + A.getRuntimeTypeOfDartObject(condition).toString$0(0) + ".", _null));
  94704. }
  94705. return t1;
  94706. },
  94707. _evaluate0$_withSupportsDeclaration$1$1(callback) {
  94708. var t1,
  94709. oldInSupportsDeclaration = this._evaluate0$_inSupportsDeclaration;
  94710. this._evaluate0$_inSupportsDeclaration = true;
  94711. try {
  94712. t1 = callback.call$0();
  94713. return t1;
  94714. } finally {
  94715. this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  94716. }
  94717. },
  94718. _evaluate0$_withSupportsDeclaration$1(callback) {
  94719. return this._evaluate0$_withSupportsDeclaration$1$1(callback, type$.dynamic);
  94720. },
  94721. _evaluate0$_parenthesize$2(condition, operator) {
  94722. var t1;
  94723. if (!(condition instanceof A.SupportsNegation0))
  94724. if (condition instanceof A.SupportsOperation0)
  94725. t1 = operator == null || operator !== condition.operator;
  94726. else
  94727. t1 = false;
  94728. else
  94729. t1 = true;
  94730. if (t1)
  94731. return "(" + this._evaluate0$_visitSupportsCondition$1(condition) + ")";
  94732. return this._evaluate0$_visitSupportsCondition$1(condition);
  94733. },
  94734. _evaluate0$_parenthesize$1(condition) {
  94735. return this._evaluate0$_parenthesize$2(condition, null);
  94736. },
  94737. visitVariableDeclaration$1(node) {
  94738. var t2, t3, value, _this = this, _null = null, t1 = {};
  94739. if (node.isGuarded) {
  94740. if (node.namespace == null && _this._evaluate0$_environment._environment0$_variables.length === 1) {
  94741. t1.override = null;
  94742. t2 = _this._evaluate0$_configuration._configuration0$_values;
  94743. t2 = t2.get$isEmpty(t2) ? _null : t2.remove$1(0, node.name);
  94744. if (t2 != null) {
  94745. t1.override = t2;
  94746. t3 = t2;
  94747. t2 = true;
  94748. } else {
  94749. t3 = _null;
  94750. t2 = false;
  94751. }
  94752. if (t2 && !t3.value.$eq(0, B.C__SassNull0)) {
  94753. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure5(t1, _this, node));
  94754. return _null;
  94755. }
  94756. }
  94757. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure6(_this, node));
  94758. if (value != null && !value.$eq(0, B.C__SassNull0))
  94759. return _null;
  94760. }
  94761. if (node.isGlobal && !_this._evaluate0$_environment.globalVariableExists$1(node.name)) {
  94762. 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.";
  94763. _this._evaluate0$_warn$3(t1, node.span, B.Deprecation_wKk);
  94764. }
  94765. t1 = node.expression;
  94766. _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableDeclaration_closure7(_this, node, _this._evaluate0$_withoutSlash$2(t1.accept$1(_this), t1)));
  94767. return _null;
  94768. },
  94769. visitUseRule$1(node) {
  94770. var values, _i, variable, t3, variableNodeWithSpan, configuration, _this = this,
  94771. t1 = node.configuration,
  94772. t2 = t1.length;
  94773. if (t2 !== 0) {
  94774. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  94775. for (_i = 0; _i < t2; ++_i) {
  94776. variable = t1[_i];
  94777. t3 = variable.expression;
  94778. variableNodeWithSpan = _this._evaluate0$_expressionNode$1(t3);
  94779. values.$indexSet(0, variable.name, new A.ConfiguredValue0(_this._evaluate0$_withoutSlash$2(t3.accept$1(_this), variableNodeWithSpan), variable.span, variableNodeWithSpan));
  94780. }
  94781. configuration = new A.ExplicitConfiguration0(node, values, null);
  94782. } else
  94783. configuration = B.Configuration_Map_empty_null0;
  94784. _this._evaluate0$_loadModule$5$configuration(node.url, "@use", node, new A._EvaluateVisitor_visitUseRule_closure1(_this, node), configuration);
  94785. _this._evaluate0$_assertConfigurationIsEmpty$1(configuration);
  94786. return null;
  94787. },
  94788. visitWarnRule$1(node) {
  94789. var _this = this,
  94790. value = _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitWarnRule_closure1(_this, node)),
  94791. t1 = value instanceof A.SassString0 ? value._string0$_text : _this._evaluate0$_serialize$2(value, node.expression);
  94792. _this._evaluate0$_logger.warn$2$trace(0, t1, _this._evaluate0$_stackTrace$1(node.span));
  94793. return null;
  94794. },
  94795. visitWhileRule$1(node) {
  94796. return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure1(this, node), true, node.hasDeclarations, type$.nullable_Value_2);
  94797. },
  94798. visitBinaryOperationExpression$1(node) {
  94799. var t1, _this = this;
  94800. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, "_stylesheet").plainCss) {
  94801. t1 = node.operator;
  94802. t1 = t1 !== B.BinaryOperator_2jN0 && t1 !== B.BinaryOperator_t8B0;
  94803. } else
  94804. t1 = false;
  94805. if (t1)
  94806. throw A.wrapException(_this._evaluate0$_exception$2("Operators aren't allowed in plain CSS.", node.get$operatorSpan()));
  94807. return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitBinaryOperationExpression_closure1(_this, node));
  94808. },
  94809. _evaluate0$_slash$3(left, right, node) {
  94810. var t1, _null = null,
  94811. result = left.dividedBy$1(right),
  94812. _1_0 = new A._Record_2(left, right),
  94813. _1_1 = A._InitializedCell$(new A._EvaluateVisitor__slash_closure3(_1_0)),
  94814. _1_2 = A._InitializedCell$(new A._EvaluateVisitor__slash_closure4(_1_0));
  94815. if (_1_1._readFinal$0() instanceof A.SassNumber0) {
  94816. left = _1_1._readFinal$0();
  94817. if (_1_2._readFinal$0() instanceof A.SassNumber0) {
  94818. right = _1_2._readFinal$0();
  94819. t1 = node.allowsSlash && this._evaluate0$_operandAllowsSlash$1(node.left) && this._evaluate0$_operandAllowsSlash$1(node.right);
  94820. } else {
  94821. right = _null;
  94822. t1 = false;
  94823. }
  94824. } else {
  94825. right = _null;
  94826. left = right;
  94827. t1 = false;
  94828. }
  94829. if (t1)
  94830. return type$.SassNumber_2._as(result).withSlash$2(left, right);
  94831. if (_1_1._readFinal$0() instanceof A.SassNumber0 && _1_2._readFinal$0() instanceof A.SassNumber0) {
  94832. this._evaluate0$_warn$3(string$.Using__o + A.S(new A._EvaluateVisitor__slash_recommendation1().call$1(node)) + " or " + A.expressionToCalc0(node).toString$0(0) + string$.x0a_Morex20, node.get$span(node), B.Deprecation_wWh);
  94833. return result;
  94834. }
  94835. return result;
  94836. },
  94837. _evaluate0$_operandAllowsSlash$1(node) {
  94838. var t1, t2;
  94839. if (node instanceof A.FunctionExpression0)
  94840. if (node.namespace == null) {
  94841. t1 = node.originalName;
  94842. if (B.Set_WfnXb.contains$1(0, A.stringReplaceAllUnchecked(t1, "_", "-").toLowerCase())) {
  94843. t2 = this._evaluate0$_environment;
  94844. t1 = t2.getFunction$1(A.stringReplaceAllUnchecked(t1, "_", "-")) == null;
  94845. } else
  94846. t1 = false;
  94847. } else
  94848. t1 = false;
  94849. else
  94850. t1 = true;
  94851. return t1;
  94852. },
  94853. visitValueExpression$1(node) {
  94854. return node.value;
  94855. },
  94856. visitVariableExpression$1(node) {
  94857. var result = this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitVariableExpression_closure1(this, node));
  94858. if (result != null)
  94859. return result;
  94860. throw A.wrapException(this._evaluate0$_exception$2("Undefined variable.", node.span));
  94861. },
  94862. visitUnaryOperationExpression$1(node) {
  94863. return this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitUnaryOperationExpression_closure1(node, node.operand.accept$1(this)));
  94864. },
  94865. visitBooleanExpression$1(node) {
  94866. return node.value ? B.SassBoolean_true0 : B.SassBoolean_false0;
  94867. },
  94868. visitIfExpression$1(node) {
  94869. var condition, t1, ifTrue, ifFalse, result, _this = this,
  94870. _0_0 = _this._evaluate0$_evaluateMacroArguments$1(node),
  94871. positional = _0_0._0,
  94872. named = _0_0._1;
  94873. _this._evaluate0$_verifyArguments$4(positional.length, named, $.$get$IfExpression_declaration0(), node);
  94874. condition = A.ListExtensions_elementAtOrNull(positional, 0);
  94875. if (condition == null) {
  94876. t1 = named.$index(0, "condition");
  94877. t1.toString;
  94878. condition = t1;
  94879. }
  94880. ifTrue = A.ListExtensions_elementAtOrNull(positional, 1);
  94881. if (ifTrue == null) {
  94882. t1 = named.$index(0, "if-true");
  94883. t1.toString;
  94884. ifTrue = t1;
  94885. }
  94886. ifFalse = A.ListExtensions_elementAtOrNull(positional, 2);
  94887. if (ifFalse == null) {
  94888. t1 = named.$index(0, "if-false");
  94889. t1.toString;
  94890. ifFalse = t1;
  94891. }
  94892. result = condition.accept$1(_this).get$isTruthy() ? ifTrue : ifFalse;
  94893. return _this._evaluate0$_withoutSlash$2(result.accept$1(_this), _this._evaluate0$_expressionNode$1(result));
  94894. },
  94895. visitNullExpression$1(node) {
  94896. return B.C__SassNull0;
  94897. },
  94898. visitNumberExpression$1(node) {
  94899. return A.SassNumber_SassNumber0(node.value, node.unit);
  94900. },
  94901. visitParenthesizedExpression$1(node) {
  94902. var _this = this;
  94903. return _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, "_stylesheet").plainCss ? A.throwExpression(_this._evaluate0$_exception$2("Parentheses aren't allowed in plain CSS.", node.span)) : node.expression.accept$1(_this);
  94904. },
  94905. visitColorExpression$1(node) {
  94906. return node.value;
  94907. },
  94908. visitListExpression$1(node) {
  94909. var t1 = node.contents;
  94910. 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);
  94911. },
  94912. visitMapExpression$1(node) {
  94913. var t2, t3, _i, t4, key, value, keyValue, valueValue, oldValueSpan,
  94914. t1 = type$.Value_2,
  94915. map = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1),
  94916. keyNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.AstNode_2);
  94917. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  94918. t4 = t2[_i];
  94919. key = t4._0;
  94920. value = t4._1;
  94921. keyValue = key.accept$1(this);
  94922. valueValue = value.accept$1(this);
  94923. if (map.containsKey$1(keyValue)) {
  94924. t1 = keyNodes.$index(0, keyValue);
  94925. oldValueSpan = t1 == null ? null : t1.get$span(t1);
  94926. t1 = key.get$span(key);
  94927. t2 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  94928. if (oldValueSpan != null)
  94929. t2.$indexSet(0, oldValueSpan, "first key");
  94930. throw A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.", t1, "second key", t2, this._evaluate0$_stackTrace$1(key.get$span(key)), null));
  94931. }
  94932. map.$indexSet(0, keyValue, valueValue);
  94933. keyNodes.$indexSet(0, keyValue, key);
  94934. }
  94935. return new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  94936. },
  94937. visitFunctionExpression$1(node) {
  94938. var t2, _0_0, t3, t4, oldInFunction, result, _this = this,
  94939. _s11_ = "_stylesheet",
  94940. t1 = {},
  94941. $function = _this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss ? null : _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure5(_this, node));
  94942. t1.$function = $function;
  94943. if ($function == null) {
  94944. if (node.namespace != null)
  94945. throw A.wrapException(_this._evaluate0$_exception$2("Undefined function.", node.span));
  94946. t2 = node.originalName;
  94947. _0_0 = A.stringReplaceAllUnchecked(t2, "_", "-").toLowerCase();
  94948. if ("min" === _0_0 || "max" === _0_0 || "round" === _0_0 || "abs" === _0_0) {
  94949. t3 = node.$arguments;
  94950. t4 = t3.named;
  94951. t3 = t4.get$isEmpty(t4) && t3.rest == null && B.JSArray_methods.every$1(t3.positional, new A._EvaluateVisitor_visitFunctionExpression_closure6());
  94952. } else
  94953. t3 = false;
  94954. if (t3)
  94955. return _this._evaluate0$_visitCalculation$2$inLegacySassFunction(node, true);
  94956. if ("calc" === _0_0 || "clamp" === _0_0 || "hypot" === _0_0 || "sin" === _0_0 || "cos" === _0_0 || "tan" === _0_0 || "asin" === _0_0 || "acos" === _0_0 || "atan" === _0_0 || "sqrt" === _0_0 || "exp" === _0_0 || "sign" === _0_0 || "mod" === _0_0 || "rem" === _0_0 || "atan2" === _0_0 || "pow" === _0_0 || "log" === _0_0)
  94957. return _this._evaluate0$_visitCalculation$1(node);
  94958. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__stylesheet, _s11_).plainCss)
  94959. $function = null;
  94960. else {
  94961. t3 = _this._evaluate0$_builtInFunctions.$index(0, A.stringReplaceAllUnchecked(t2, "_", "-"));
  94962. $function = t3;
  94963. }
  94964. t1.$function = $function == null ? new A.PlainCssCallable0(t2) : $function;
  94965. }
  94966. oldInFunction = _this._evaluate0$_inFunction;
  94967. _this._evaluate0$_inFunction = true;
  94968. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitFunctionExpression_closure7(t1, _this, node));
  94969. _this._evaluate0$_inFunction = oldInFunction;
  94970. return result;
  94971. },
  94972. _evaluate0$_visitCalculation$2$inLegacySassFunction(node, inLegacySassFunction) {
  94973. var $arguments, oldCallableNode, t1, _0_0, error, stackTrace, t4, _i, exception, _this = this,
  94974. t2 = node.$arguments,
  94975. t3 = t2.named;
  94976. if (t3.get$isNotEmpty(t3))
  94977. throw A.wrapException(_this._evaluate0$_exception$2(string$.Keywor, node.span));
  94978. else if (t2.rest != null)
  94979. throw A.wrapException(_this._evaluate0$_exception$2(string$.Rest_a, node.span));
  94980. _this._evaluate0$_checkCalculationArguments$1(node);
  94981. t3 = A._setArrayType([], type$.JSArray_Object);
  94982. for (t2 = t2.positional, t4 = t2.length, _i = 0; _i < t4; ++_i)
  94983. t3.push(_this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  94984. $arguments = t3;
  94985. if (_this._evaluate0$_inSupportsDeclaration)
  94986. return new A.SassCalculation0(A.stringReplaceAllUnchecked(node.originalName, "_", "-"), A.List_List$unmodifiable($arguments, type$.Object));
  94987. oldCallableNode = _this._evaluate0$_callableNode;
  94988. _this._evaluate0$_callableNode = node;
  94989. try {
  94990. t1 = null;
  94991. _0_0 = A.stringReplaceAllUnchecked(node.originalName, "_", "-").toLowerCase();
  94992. $label0$0: {
  94993. if ("calc" === _0_0) {
  94994. t1 = A.SassCalculation_calc0(J.$index$asx($arguments, 0));
  94995. break $label0$0;
  94996. }
  94997. if ("sqrt" === _0_0) {
  94998. t1 = A.SassCalculation__singleArgument0("sqrt", J.$index$asx($arguments, 0), A.number2__sqrt$closure(), true);
  94999. break $label0$0;
  95000. }
  95001. if ("sin" === _0_0) {
  95002. t1 = A.SassCalculation__singleArgument0("sin", J.$index$asx($arguments, 0), A.number2__sin$closure(), false);
  95003. break $label0$0;
  95004. }
  95005. if ("cos" === _0_0) {
  95006. t1 = A.SassCalculation__singleArgument0("cos", J.$index$asx($arguments, 0), A.number2__cos$closure(), false);
  95007. break $label0$0;
  95008. }
  95009. if ("tan" === _0_0) {
  95010. t1 = A.SassCalculation__singleArgument0("tan", J.$index$asx($arguments, 0), A.number2__tan$closure(), false);
  95011. break $label0$0;
  95012. }
  95013. if ("asin" === _0_0) {
  95014. t1 = A.SassCalculation__singleArgument0("asin", J.$index$asx($arguments, 0), A.number2__asin$closure(), true);
  95015. break $label0$0;
  95016. }
  95017. if ("acos" === _0_0) {
  95018. t1 = A.SassCalculation__singleArgument0("acos", J.$index$asx($arguments, 0), A.number2__acos$closure(), true);
  95019. break $label0$0;
  95020. }
  95021. if ("atan" === _0_0) {
  95022. t1 = A.SassCalculation__singleArgument0("atan", J.$index$asx($arguments, 0), A.number2__atan$closure(), true);
  95023. break $label0$0;
  95024. }
  95025. if ("abs" === _0_0) {
  95026. t1 = A.SassCalculation_abs0(J.$index$asx($arguments, 0));
  95027. break $label0$0;
  95028. }
  95029. if ("exp" === _0_0) {
  95030. t1 = A.SassCalculation_exp0(J.$index$asx($arguments, 0));
  95031. break $label0$0;
  95032. }
  95033. if ("sign" === _0_0) {
  95034. t1 = A.SassCalculation_sign0(J.$index$asx($arguments, 0));
  95035. break $label0$0;
  95036. }
  95037. if ("min" === _0_0) {
  95038. t1 = A.SassCalculation_min0($arguments);
  95039. break $label0$0;
  95040. }
  95041. if ("max" === _0_0) {
  95042. t1 = A.SassCalculation_max0($arguments);
  95043. break $label0$0;
  95044. }
  95045. if ("hypot" === _0_0) {
  95046. t1 = A.SassCalculation_hypot0($arguments);
  95047. break $label0$0;
  95048. }
  95049. if ("pow" === _0_0) {
  95050. t1 = A.SassCalculation_pow0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  95051. break $label0$0;
  95052. }
  95053. if ("atan2" === _0_0) {
  95054. t1 = A.SassCalculation_atan20(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  95055. break $label0$0;
  95056. }
  95057. if ("log" === _0_0) {
  95058. t1 = A.SassCalculation_log0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  95059. break $label0$0;
  95060. }
  95061. if ("mod" === _0_0) {
  95062. t1 = A.SassCalculation_mod0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  95063. break $label0$0;
  95064. }
  95065. if ("rem" === _0_0) {
  95066. t1 = A.SassCalculation_rem0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1));
  95067. break $label0$0;
  95068. }
  95069. if ("round" === _0_0) {
  95070. t1 = A.SassCalculation_round0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  95071. break $label0$0;
  95072. }
  95073. if ("clamp" === _0_0) {
  95074. t1 = A.SassCalculation_clamp0(J.$index$asx($arguments, 0), A.ListExtensions_elementAtOrNull($arguments, 1), A.ListExtensions_elementAtOrNull($arguments, 2));
  95075. break $label0$0;
  95076. }
  95077. t3 = A.UnsupportedError$('Unknown calculation name "' + node.get$name(node) + '".');
  95078. t1 = A.throwExpression(t3);
  95079. }
  95080. t1 = t1;
  95081. return t1;
  95082. } catch (exception) {
  95083. t1 = A.unwrapException(exception);
  95084. if (t1 instanceof A.SassScriptException0) {
  95085. error = t1;
  95086. stackTrace = A.getTraceFromException(exception);
  95087. if (B.JSString_methods.contains$1(error.message, "compatible"))
  95088. _this._evaluate0$_verifyCompatibleNumbers$2($arguments, t2);
  95089. A.throwWithTrace0(_this._evaluate0$_exception$2(error.message, node.span), error, stackTrace);
  95090. } else
  95091. throw exception;
  95092. } finally {
  95093. _this._evaluate0$_callableNode = oldCallableNode;
  95094. }
  95095. },
  95096. _evaluate0$_visitCalculation$1(node) {
  95097. return this._evaluate0$_visitCalculation$2$inLegacySassFunction(node, false);
  95098. },
  95099. _evaluate0$_checkCalculationArguments$1(node) {
  95100. var _0_0,
  95101. check = new A._EvaluateVisitor__checkCalculationArguments_check1(this, node);
  95102. $label0$0: {
  95103. _0_0 = A.stringReplaceAllUnchecked(node.originalName, "_", "-").toLowerCase();
  95104. if ("calc" === _0_0 || "sqrt" === _0_0 || "sin" === _0_0 || "cos" === _0_0 || "tan" === _0_0 || "asin" === _0_0 || "acos" === _0_0 || "atan" === _0_0 || "abs" === _0_0 || "exp" === _0_0 || "sign" === _0_0) {
  95105. check.call$1(1);
  95106. break $label0$0;
  95107. }
  95108. if ("min" === _0_0 || "max" === _0_0 || "hypot" === _0_0) {
  95109. check.call$0();
  95110. break $label0$0;
  95111. }
  95112. if ("pow" === _0_0 || "atan2" === _0_0 || "log" === _0_0 || "mod" === _0_0 || "rem" === _0_0) {
  95113. check.call$1(2);
  95114. break $label0$0;
  95115. }
  95116. if ("round" === _0_0 || "clamp" === _0_0) {
  95117. check.call$1(3);
  95118. break $label0$0;
  95119. }
  95120. throw A.wrapException(A.UnsupportedError$('Unknown calculation name "' + node.get$name(node) + '".'));
  95121. }
  95122. },
  95123. _evaluate0$_verifyCompatibleNumbers$2(args, nodesWithSpans) {
  95124. var i, t1, _0_0, arg, number1, j, number2;
  95125. for (i = 0; t1 = args.length, i < t1; ++i) {
  95126. _0_0 = args[i];
  95127. if (_0_0 instanceof A.SassNumber0) {
  95128. t1 = _0_0.get$hasComplexUnits();
  95129. arg = _0_0;
  95130. } else {
  95131. arg = null;
  95132. t1 = false;
  95133. }
  95134. if (t1)
  95135. throw A.wrapException(this._evaluate0$_exception$2("Number " + A.S(arg) + " isn't compatible with CSS calculations.", J.get$span$z(nodesWithSpans[i])));
  95136. }
  95137. for (i = 0; i < t1 - 1; ++i) {
  95138. number1 = args[i];
  95139. if (!(number1 instanceof A.SassNumber0))
  95140. continue;
  95141. for (j = i + 1; t1 = args.length, j < t1; ++j) {
  95142. number2 = args[j];
  95143. if (!(number2 instanceof A.SassNumber0))
  95144. continue;
  95145. if (number1.hasPossiblyCompatibleUnits$1(number2))
  95146. continue;
  95147. 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])), null));
  95148. }
  95149. }
  95150. },
  95151. _evaluate0$_visitCalculationExpression$2$inLegacySassFunction(node, inLegacySassFunction) {
  95152. var inner, t1, result, t2, _0_0, _1_0, t3, _i, i, _this = this, _null = null, _box_0 = {};
  95153. if (node instanceof A.ParenthesizedExpression0) {
  95154. inner = node.expression;
  95155. t1 = true;
  95156. } else {
  95157. inner = _null;
  95158. t1 = false;
  95159. }
  95160. if (t1) {
  95161. result = _this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(inner, inLegacySassFunction);
  95162. return result instanceof A.SassString0 ? new A.SassString0("(" + result._string0$_text + ")", false) : result;
  95163. }
  95164. if (node instanceof A.StringExpression0 && node.accept$1(new A._IsCalculationSafeVisitor0())) {
  95165. t1 = node.text;
  95166. t2 = t1.get$asPlain();
  95167. _0_0 = t2 == null ? _null : t2.toLowerCase();
  95168. $label0$0: {
  95169. if ("pi" === _0_0) {
  95170. t1 = A.SassNumber_SassNumber0(3.141592653589793, _null);
  95171. break $label0$0;
  95172. }
  95173. if ("e" === _0_0) {
  95174. t1 = A.SassNumber_SassNumber0(2.718281828459045, _null);
  95175. break $label0$0;
  95176. }
  95177. if ("infinity" === _0_0) {
  95178. t1 = A.SassNumber_SassNumber0(1 / 0, _null);
  95179. break $label0$0;
  95180. }
  95181. if ("-infinity" === _0_0) {
  95182. t1 = A.SassNumber_SassNumber0(-1 / 0, _null);
  95183. break $label0$0;
  95184. }
  95185. if ("nan" === _0_0) {
  95186. t1 = A.SassNumber_SassNumber0(0 / 0, _null);
  95187. break $label0$0;
  95188. }
  95189. t1 = new A.SassString0(_this._evaluate0$_performInterpolation$1(t1), false);
  95190. break $label0$0;
  95191. }
  95192. return t1;
  95193. }
  95194. _box_0.right = _box_0.left = _box_0.operator = null;
  95195. if (node instanceof A.BinaryOperationExpression0) {
  95196. _box_0.operator = node.operator;
  95197. _box_0.left = node.left;
  95198. _box_0.right = node.right;
  95199. t1 = true;
  95200. } else
  95201. t1 = false;
  95202. if (t1) {
  95203. _this._evaluate0$_checkWhitespaceAroundCalculationOperator$1(node);
  95204. return _this._evaluate0$_addExceptionSpan$2(node, new A._EvaluateVisitor__visitCalculationExpression_closure1(_box_0, _this, node, inLegacySassFunction));
  95205. }
  95206. if (node instanceof A.NumberExpression0 || node instanceof A.VariableExpression0 || node instanceof A.FunctionExpression0 || node instanceof A.IfExpression0) {
  95207. _1_0 = node.accept$1(_this);
  95208. $label1$1: {
  95209. if (_1_0 instanceof A.SassNumber0) {
  95210. result = _1_0;
  95211. t1 = true;
  95212. } else {
  95213. result = _null;
  95214. t1 = false;
  95215. }
  95216. if (t1) {
  95217. t1 = result;
  95218. break $label1$1;
  95219. }
  95220. if (_1_0 instanceof A.SassCalculation0) {
  95221. result = _1_0;
  95222. t1 = true;
  95223. } else {
  95224. result = _null;
  95225. t1 = false;
  95226. }
  95227. if (t1) {
  95228. t1 = result;
  95229. break $label1$1;
  95230. }
  95231. if (_1_0 instanceof A.SassString0) {
  95232. t1 = !_1_0._string0$_hasQuotes;
  95233. result = _1_0;
  95234. } else {
  95235. result = _null;
  95236. t1 = false;
  95237. }
  95238. if (t1) {
  95239. t1 = result;
  95240. break $label1$1;
  95241. }
  95242. t1 = A.throwExpression(_this._evaluate0$_exception$2("Value " + _1_0.toString$0(0) + " can't be used in a calculation.", node.get$span(node)));
  95243. }
  95244. return t1;
  95245. }
  95246. if (node instanceof A.ListExpression0 && !node.hasBrackets && B.ListSeparator_EVt0 === node.separator && node.contents.length >= 2) {
  95247. t1 = A._setArrayType([], type$.JSArray_Object);
  95248. for (t2 = node.contents, t3 = t2.length, _i = 0; _i < t3; ++_i)
  95249. t1.push(_this._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2[_i], inLegacySassFunction));
  95250. _this._evaluate0$_checkAdjacentCalculationValues$2(t1, node);
  95251. for (i = 0; i < t1.length; ++i) {
  95252. t3 = t1[i];
  95253. if (t3 instanceof A.CalculationOperation0 && t2[i] instanceof A.ParenthesizedExpression0)
  95254. t1[i] = new A.SassString0("(" + A.S(t3) + ")", false);
  95255. }
  95256. return new A.SassString0(B.JSArray_methods.join$1(t1, " "), false);
  95257. }
  95258. throw A.wrapException(_this._evaluate0$_exception$2(string$.This_e, node.get$span(node)));
  95259. },
  95260. _evaluate0$_checkWhitespaceAroundCalculationOperator$1(node) {
  95261. var t2, t3, t4, textBetweenOperands, first, last,
  95262. t1 = node.operator;
  95263. if (t1 !== B.BinaryOperator_anB0 && t1 !== B.BinaryOperator_olz0)
  95264. return;
  95265. t1 = node.left;
  95266. t2 = t1.get$span(t1);
  95267. t2 = t2.get$file(t2);
  95268. t3 = node.right;
  95269. t4 = t3.get$span(t3);
  95270. if (t2 !== t4.get$file(t4))
  95271. return;
  95272. t2 = t1.get$span(t1);
  95273. t2 = t2.get$end(t2);
  95274. t4 = t3.get$span(t3);
  95275. if (t2.offset >= t4.get$start(t4).offset)
  95276. return;
  95277. t2 = t1.get$span(t1);
  95278. t2 = t2.get$file(t2);
  95279. t1 = t1.get$span(t1);
  95280. t1 = t1.get$end(t1);
  95281. t3 = t3.get$span(t3);
  95282. textBetweenOperands = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t2._decodedChars, t1.offset, t3.get$start(t3).offset), 0, null);
  95283. first = textBetweenOperands.charCodeAt(0);
  95284. last = textBetweenOperands.charCodeAt(textBetweenOperands.length - 1);
  95285. if (first === 32 || first === 9 || first === 10 || first === 13 || first === 12 || first === 47)
  95286. t1 = !(last === 32 || last === 9 || last === 10 || last === 13 || last === 12 || last === 47);
  95287. else
  95288. t1 = true;
  95289. if (t1)
  95290. throw A.wrapException(this._evaluate0$_exception$2(string$.x22x2b__an, node.get$operatorSpan()));
  95291. },
  95292. _evaluate0$_binaryOperatorToCalculationOperator$2(operator, node) {
  95293. var t1;
  95294. $label0$0: {
  95295. if (B.BinaryOperator_anB0 === operator) {
  95296. t1 = B.CalculationOperator_IyK0;
  95297. break $label0$0;
  95298. }
  95299. if (B.BinaryOperator_olz0 === operator) {
  95300. t1 = B.CalculationOperator_2bx0;
  95301. break $label0$0;
  95302. }
  95303. if (B.BinaryOperator_qN20 === operator) {
  95304. t1 = B.CalculationOperator_jFr0;
  95305. break $label0$0;
  95306. }
  95307. if (B.BinaryOperator_t8B0 === operator) {
  95308. t1 = B.CalculationOperator_OvN0;
  95309. break $label0$0;
  95310. }
  95311. t1 = A.throwExpression(this._evaluate0$_exception$2(string$.This_o, node.get$operatorSpan()));
  95312. }
  95313. return t1;
  95314. },
  95315. _evaluate0$_checkAdjacentCalculationValues$2(elements, node) {
  95316. var t1, i, t2, previous, current, previousNode, currentNode, _0_2;
  95317. for (t1 = elements.length, i = 1; i < t1; ++i) {
  95318. t2 = i - 1;
  95319. previous = elements[t2];
  95320. current = elements[i];
  95321. if (previous instanceof A.SassString0 || current instanceof A.SassString0)
  95322. continue;
  95323. t1 = node.contents;
  95324. previousNode = t1[t2];
  95325. currentNode = t1[i];
  95326. _0_2 = A._InitializedCell$(new A._EvaluateVisitor__checkAdjacentCalculationValues_closure1(currentNode));
  95327. if (currentNode instanceof A.UnaryOperationExpression0)
  95328. t1 = B.UnaryOperator_TLI0 === _0_2._readFinal$0() || B.UnaryOperator_gg40 === _0_2._readFinal$0();
  95329. else
  95330. t1 = false;
  95331. if (!t1)
  95332. t1 = currentNode instanceof A.NumberExpression0 && currentNode.value < 0;
  95333. else
  95334. t1 = true;
  95335. if (t1)
  95336. throw A.wrapException(this._evaluate0$_exception$2(string$.x22x2b__an, A.FileSpanExtension_subspan(currentNode.get$span(currentNode), 0, 1)));
  95337. else
  95338. throw A.wrapException(this._evaluate0$_exception$2("Missing math operator.", previousNode.get$span(previousNode).expand$1(0, currentNode.get$span(currentNode))));
  95339. }
  95340. },
  95341. visitInterpolatedFunctionExpression$1(node) {
  95342. var result, _this = this,
  95343. t1 = _this._evaluate0$_performInterpolation$1(node.name),
  95344. oldInFunction = _this._evaluate0$_inFunction;
  95345. _this._evaluate0$_inFunction = true;
  95346. result = _this._evaluate0$_addErrorSpan$2(node, new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(_this, node, new A.PlainCssCallable0(t1)));
  95347. _this._evaluate0$_inFunction = oldInFunction;
  95348. return result;
  95349. },
  95350. _evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, run, $V) {
  95351. var oldCallable, result, _this = this,
  95352. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  95353. $name = callable.declaration.name;
  95354. if ($name !== "@content")
  95355. $name += "()";
  95356. oldCallable = _this._evaluate0$_currentCallable;
  95357. _this._evaluate0$_currentCallable = callable;
  95358. result = _this._evaluate0$_withStackFrame$3($name, nodeWithSpan, new A._EvaluateVisitor__runUserDefinedCallable_closure1(_this, callable, evaluated, nodeWithSpan, run, $V));
  95359. _this._evaluate0$_currentCallable = oldCallable;
  95360. return result;
  95361. },
  95362. _evaluate0$_runFunctionCallable$3($arguments, callable, nodeWithSpan) {
  95363. var buffer, first, argument, restArg, rest, error, t1, t2, _i, t3, exception, _this = this;
  95364. if (callable instanceof A.BuiltInCallable0)
  95365. return _this._evaluate0$_withoutSlash$2(_this._evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan), nodeWithSpan);
  95366. else if (type$.UserDefinedCallable_Environment_2._is(callable))
  95367. return _this._evaluate0$_runUserDefinedCallable$1$4($arguments, callable, nodeWithSpan, new A._EvaluateVisitor__runFunctionCallable_closure1(_this, callable), type$.Value_2);
  95368. else if (callable instanceof A.PlainCssCallable0) {
  95369. t1 = $arguments.named;
  95370. if (t1.get$isNotEmpty(t1) || $arguments.keywordRest != null)
  95371. throw A.wrapException(_this._evaluate0$_exception$2(string$.Plain_, nodeWithSpan.get$span(nodeWithSpan)));
  95372. buffer = new A.StringBuffer(callable.name + "(");
  95373. try {
  95374. first = true;
  95375. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  95376. argument = t1[_i];
  95377. if (first)
  95378. first = false;
  95379. else
  95380. buffer._contents += ", ";
  95381. t3 = argument;
  95382. buffer._contents += _this._evaluate0$_serialize$3$quote(t3.accept$1(_this), t3, true);
  95383. }
  95384. restArg = $arguments.rest;
  95385. if (restArg != null) {
  95386. rest = restArg.accept$1(_this);
  95387. if (!first)
  95388. buffer._contents += ", ";
  95389. buffer._contents += _this._evaluate0$_serialize$2(rest, restArg);
  95390. }
  95391. } catch (exception) {
  95392. t1 = A.unwrapException(exception);
  95393. if (type$.SassRuntimeException_2._is(t1)) {
  95394. error = t1;
  95395. if (!B.JSString_methods.endsWith$1(error._span_exception$_message, "isn't a valid CSS value."))
  95396. throw exception;
  95397. throw A.wrapException(A.MultiSpanSassRuntimeException$0(error._span_exception$_message, J.get$span$z(error), "value", A.LinkedHashMap_LinkedHashMap$_literal([nodeWithSpan.get$span(nodeWithSpan), "unknown function treated as plain CSS"], type$.FileSpan, type$.String), J.get$trace$z(error), null));
  95398. } else
  95399. throw exception;
  95400. }
  95401. buffer._contents += A.Primitives_stringFromCharCode(41);
  95402. t1 = buffer._contents;
  95403. return new A.SassString0(t1.charCodeAt(0) == 0 ? t1 : t1, false);
  95404. } else
  95405. throw A.wrapException(A.ArgumentError$("Unknown callable type " + J.get$runtimeType$(callable).toString$0(0) + ".", null));
  95406. },
  95407. _evaluate0$_runBuiltInCallable$3($arguments, callable, nodeWithSpan) {
  95408. var result, error, stackTrace, message, namedSet, _0_0, declaredArguments, i, t1, argument, t2, t3, rest, argumentList, exception, message0, _this = this, _box_0 = {},
  95409. evaluated = _this._evaluate0$_evaluateArguments$1($arguments),
  95410. oldCallableNode = _this._evaluate0$_callableNode;
  95411. _this._evaluate0$_callableNode = nodeWithSpan;
  95412. namedSet = new A.MapKeySet(evaluated._values[0], type$.MapKeySet_String);
  95413. _box_0.callback = _box_0.overload = null;
  95414. _0_0 = callable.callbackFor$2(evaluated._values[2].length, namedSet);
  95415. _box_0.overload = _0_0._0;
  95416. _box_0.callback = _0_0._1;
  95417. _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure5(_box_0, evaluated, namedSet));
  95418. declaredArguments = _box_0.overload.$arguments;
  95419. for (i = evaluated._values[2].length, t1 = declaredArguments.length; i < t1; ++i) {
  95420. argument = declaredArguments[i];
  95421. t2 = evaluated._values[2];
  95422. t3 = evaluated._values[0].remove$1(0, argument.name);
  95423. if (t3 == null) {
  95424. t3 = argument.defaultValue;
  95425. t3 = _this._evaluate0$_withoutSlash$2(t3.accept$1(_this), t3);
  95426. }
  95427. t2.push(t3);
  95428. }
  95429. if (_box_0.overload.restArgument != null) {
  95430. if (evaluated._values[2].length > t1) {
  95431. rest = B.JSArray_methods.sublist$1(evaluated._values[2], t1);
  95432. B.JSArray_methods.removeRange$2(evaluated._values[2], t1, evaluated._values[2].length);
  95433. } else
  95434. rest = B.List_empty19;
  95435. t1 = evaluated._values[0];
  95436. argumentList = A.SassArgumentList$0(rest, t1, evaluated._values[4] === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_rXA0 : evaluated._values[4]);
  95437. evaluated._values[2].push(argumentList);
  95438. } else
  95439. argumentList = null;
  95440. result = null;
  95441. try {
  95442. result = _this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__runBuiltInCallable_closure6(_box_0, evaluated));
  95443. } catch (exception) {
  95444. t1 = A.unwrapException(exception);
  95445. if (t1 instanceof A.SassException0)
  95446. throw exception;
  95447. else {
  95448. error = t1;
  95449. stackTrace = A.getTraceFromException(exception);
  95450. message = null;
  95451. try {
  95452. message = A._asString(J.get$message$x(error));
  95453. } catch (exception) {
  95454. message0 = J.toString$0$(error);
  95455. message = message0;
  95456. }
  95457. A.throwWithTrace0(_this._evaluate0$_exception$2(message, nodeWithSpan.get$span(nodeWithSpan)), error, stackTrace);
  95458. }
  95459. }
  95460. _this._evaluate0$_callableNode = oldCallableNode;
  95461. if (argumentList == null)
  95462. return result;
  95463. if (evaluated._values[0].__js_helper$_length === 0)
  95464. return result;
  95465. if (argumentList._argument_list$_wereKeywordsAccessed)
  95466. return result;
  95467. t1 = evaluated._values[0];
  95468. t1 = t1.get$keys(t1);
  95469. t1 = A.pluralize0("argument", t1.get$length(t1), null);
  95470. t2 = evaluated._values[0];
  95471. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + t1 + " named " + A.toSentence0(t2.get$keys(t2).map$1$1(0, new A._EvaluateVisitor__runBuiltInCallable_closure7(), type$.Object), "or") + ".", nodeWithSpan.get$span(nodeWithSpan), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([_box_0.overload.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), _this._evaluate0$_stackTrace$1(nodeWithSpan.get$span(nodeWithSpan)), null));
  95472. },
  95473. _evaluate0$_evaluateArguments$1($arguments) {
  95474. var t1, t2, _i, expression, nodeForSpan, named, namedNodes, t3, t4, $name, value, restArgs, rest, restNodeForSpan, t5, separator, keywordRestArgs, keywordRest, keywordRestNodeForSpan, _this = this,
  95475. positional = A._setArrayType([], type$.JSArray_Value_2),
  95476. positionalNodes = A._setArrayType([], type$.JSArray_AstNode_2);
  95477. for (t1 = $arguments.positional, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  95478. expression = t1[_i];
  95479. nodeForSpan = _this._evaluate0$_expressionNode$1(expression);
  95480. positional.push(_this._evaluate0$_withoutSlash$2(expression.accept$1(_this), nodeForSpan));
  95481. positionalNodes.push(nodeForSpan);
  95482. }
  95483. t1 = type$.String;
  95484. named = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Value_2);
  95485. t2 = type$.AstNode_2;
  95486. namedNodes = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  95487. for (t3 = A.MapExtensions_get_pairs0($arguments.named, t1, type$.Expression_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  95488. t4 = t3.get$current(t3);
  95489. $name = t4._0;
  95490. value = t4._1;
  95491. nodeForSpan = _this._evaluate0$_expressionNode$1(value);
  95492. named.$indexSet(0, $name, _this._evaluate0$_withoutSlash$2(value.accept$1(_this), nodeForSpan));
  95493. namedNodes.$indexSet(0, $name, nodeForSpan);
  95494. }
  95495. restArgs = $arguments.rest;
  95496. if (restArgs == null)
  95497. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, B.ListSeparator_undecided_null_undecided0]);
  95498. rest = restArgs.accept$1(_this);
  95499. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs);
  95500. if (rest instanceof A.SassMap0) {
  95501. _this._evaluate0$_addRestMap$4(named, rest, restArgs, new A._EvaluateVisitor__evaluateArguments_closure7());
  95502. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  95503. for (t4 = rest._map0$_contents, t4 = J.get$iterator$ax(t4.get$keys(t4)), t5 = type$.SassString_2; t4.moveNext$0();)
  95504. t3.$indexSet(0, t5._as(t4.get$current(t4))._string0$_text, restNodeForSpan);
  95505. namedNodes.addAll$1(0, t3);
  95506. separator = B.ListSeparator_undecided_null_undecided0;
  95507. } else if (rest instanceof A.SassList0) {
  95508. t3 = rest._list1$_contents;
  95509. 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>")));
  95510. B.JSArray_methods.addAll$1(positionalNodes, A.List_List$filled(t3.length, restNodeForSpan, false, t2));
  95511. separator = rest._list1$_separator;
  95512. if (rest instanceof A.SassArgumentList0) {
  95513. rest._argument_list$_wereKeywordsAccessed = true;
  95514. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateArguments_closure9(_this, named, restNodeForSpan, namedNodes));
  95515. }
  95516. } else {
  95517. positional.push(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan));
  95518. positionalNodes.push(restNodeForSpan);
  95519. separator = B.ListSeparator_undecided_null_undecided0;
  95520. }
  95521. keywordRestArgs = $arguments.keywordRest;
  95522. if (keywordRestArgs == null)
  95523. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  95524. keywordRest = keywordRestArgs.accept$1(_this);
  95525. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs);
  95526. if (keywordRest instanceof A.SassMap0) {
  95527. _this._evaluate0$_addRestMap$4(named, keywordRest, keywordRestArgs, new A._EvaluateVisitor__evaluateArguments_closure10());
  95528. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  95529. for (t2 = keywordRest._map0$_contents, t2 = J.get$iterator$ax(t2.get$keys(t2)), t3 = type$.SassString_2; t2.moveNext$0();)
  95530. t1.$indexSet(0, t3._as(t2.get$current(t2))._string0$_text, keywordRestNodeForSpan);
  95531. namedNodes.addAll$1(0, t1);
  95532. return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([named, namedNodes, positional, positionalNodes, separator]);
  95533. } else
  95534. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs.get$span(keywordRestArgs)));
  95535. },
  95536. _evaluate0$_evaluateMacroArguments$1(invocation) {
  95537. var t2, positional, named, rest, restNodeForSpan, keywordRestArgs_, keywordRest, keywordRestNodeForSpan, _this = this,
  95538. t1 = invocation.$arguments,
  95539. restArgs_ = t1.rest;
  95540. if (restArgs_ == null)
  95541. return new A._Record_2(t1.positional, t1.named);
  95542. t2 = t1.positional;
  95543. positional = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  95544. named = A.LinkedHashMap_LinkedHashMap$of(t1.named, type$.String, type$.Expression_2);
  95545. rest = restArgs_.accept$1(_this);
  95546. restNodeForSpan = _this._evaluate0$_expressionNode$1(restArgs_);
  95547. if (rest instanceof A.SassMap0)
  95548. _this._evaluate0$_addRestMap$4(named, rest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure7(restArgs_));
  95549. else if (rest instanceof A.SassList0) {
  95550. t2 = rest._list1$_contents;
  95551. 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>")));
  95552. if (rest instanceof A.SassArgumentList0) {
  95553. rest._argument_list$_wereKeywordsAccessed = true;
  95554. rest._argument_list$_keywords.forEach$1(0, new A._EvaluateVisitor__evaluateMacroArguments_closure9(_this, named, restNodeForSpan, restArgs_));
  95555. }
  95556. } else
  95557. positional.push(new A.ValueExpression0(_this._evaluate0$_withoutSlash$2(rest, restNodeForSpan), restArgs_.get$span(restArgs_)));
  95558. keywordRestArgs_ = t1.keywordRest;
  95559. if (keywordRestArgs_ == null)
  95560. return new A._Record_2(positional, named);
  95561. keywordRest = keywordRestArgs_.accept$1(_this);
  95562. keywordRestNodeForSpan = _this._evaluate0$_expressionNode$1(keywordRestArgs_);
  95563. if (keywordRest instanceof A.SassMap0) {
  95564. _this._evaluate0$_addRestMap$4(named, keywordRest, invocation, new A._EvaluateVisitor__evaluateMacroArguments_closure10(_this, keywordRestNodeForSpan, keywordRestArgs_));
  95565. return new A._Record_2(positional, named);
  95566. } else
  95567. throw A.wrapException(_this._evaluate0$_exception$2(string$.Variabs + keywordRest.toString$0(0) + ").", keywordRestArgs_.get$span(keywordRestArgs_)));
  95568. },
  95569. _evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert) {
  95570. map._map0$_contents.forEach$1(0, new A._EvaluateVisitor__addRestMap_closure1(this, values, convert, this._evaluate0$_expressionNode$1(nodeWithSpan), map, nodeWithSpan));
  95571. },
  95572. _evaluate0$_addRestMap$4(values, map, nodeWithSpan, convert) {
  95573. return this._evaluate0$_addRestMap$1$4(values, map, nodeWithSpan, convert, type$.dynamic);
  95574. },
  95575. _evaluate0$_verifyArguments$4(positional, named, $arguments, nodeWithSpan) {
  95576. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__verifyArguments_closure1($arguments, positional, named));
  95577. },
  95578. visitSelectorExpression$1(node) {
  95579. var t1 = this._evaluate0$_styleRuleIgnoringAtRoot;
  95580. t1 = t1 == null ? null : t1.originalSelector.get$asSassList();
  95581. return t1 == null ? B.C__SassNull0 : t1;
  95582. },
  95583. visitStringExpression$1(node) {
  95584. var t1, t2, t3, t4, _i, value, t5, _0_0, text, _this = this,
  95585. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  95586. _this._evaluate0$_inSupportsDeclaration = false;
  95587. t1 = A._setArrayType([], type$.JSArray_String);
  95588. for (t2 = node.text.contents, t3 = t2.length, t4 = type$.Expression_2, _i = 0; _i < t3; ++_i) {
  95589. value = t2[_i];
  95590. $label0$0: {
  95591. if (typeof value == "string") {
  95592. t5 = value;
  95593. break $label0$0;
  95594. }
  95595. if (t4._is(value)) {
  95596. _0_0 = value.accept$1(_this);
  95597. $label1$1: {
  95598. if (_0_0 instanceof A.SassString0) {
  95599. text = _0_0._string0$_text;
  95600. t5 = true;
  95601. } else {
  95602. text = null;
  95603. t5 = false;
  95604. }
  95605. if (t5) {
  95606. t5 = text;
  95607. break $label1$1;
  95608. }
  95609. t5 = _this._evaluate0$_serialize$3$quote(_0_0, value, false);
  95610. break $label1$1;
  95611. }
  95612. break $label0$0;
  95613. }
  95614. t5 = A.throwExpression(A.UnsupportedError$("Unknown interpolation value " + A.S(value)));
  95615. }
  95616. t1.push(t5);
  95617. }
  95618. t1 = B.JSArray_methods.join$0(t1);
  95619. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  95620. return new A.SassString0(t1, node.hasQuotes);
  95621. },
  95622. visitSupportsExpression$1(expression) {
  95623. return new A.SassString0(this._evaluate0$_visitSupportsCondition$1(expression.condition), false);
  95624. },
  95625. visitCssAtRule$1(node) {
  95626. var wasInKeyframes, wasInUnknownAtRule, t1, _this = this;
  95627. if (_this._evaluate0$_declarationName != null)
  95628. throw A.wrapException(_this._evaluate0$_exception$2(string$.At_rul, node.span));
  95629. if (node.isChildless) {
  95630. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssAtRule$0(node.name, node.span, true, node.value));
  95631. return;
  95632. }
  95633. wasInKeyframes = _this._evaluate0$_inKeyframes;
  95634. wasInUnknownAtRule = _this._evaluate0$_inUnknownAtRule;
  95635. t1 = node.name;
  95636. if (A.unvendor0(t1.value) === "keyframes")
  95637. _this._evaluate0$_inKeyframes = true;
  95638. else
  95639. _this._evaluate0$_inUnknownAtRule = true;
  95640. _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);
  95641. _this._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  95642. _this._evaluate0$_inKeyframes = wasInKeyframes;
  95643. },
  95644. visitCssComment$1(node) {
  95645. var _this = this,
  95646. _s8_ = "__parent",
  95647. _s13_ = "_endOfImports";
  95648. 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))
  95649. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  95650. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(new A.ModifiableCssComment0(node.text, node.span));
  95651. },
  95652. visitCssDeclaration$1(node) {
  95653. this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent").addChild$1(A.ModifiableCssDeclaration$0(node.name, node.value, node.span, node.parsedAsCustomProperty, node.valueSpanForMap));
  95654. },
  95655. visitCssImport$1(node) {
  95656. var t1, _this = this,
  95657. _s8_ = "__parent",
  95658. _s5_ = "_root",
  95659. _s13_ = "_endOfImports",
  95660. modifiableNode = new A.ModifiableCssImport0(node.url, node.modifiers, node.span);
  95661. if (_this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_) !== _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_))
  95662. _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, _s8_).addChild$1(modifiableNode);
  95663. 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)) {
  95664. _this._evaluate0$_assertInModule$2(_this._evaluate0$__root, _s5_).addChild$1(modifiableNode);
  95665. _this._evaluate0$__endOfImports = _this._evaluate0$_assertInModule$2(_this._evaluate0$__endOfImports, _s13_) + 1;
  95666. } else {
  95667. t1 = _this._evaluate0$_outOfOrderImports;
  95668. (t1 == null ? _this._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t1).push(modifiableNode);
  95669. }
  95670. },
  95671. visitCssKeyframeBlock$1(node) {
  95672. 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);
  95673. },
  95674. visitCssMediaRule$1(node) {
  95675. var mergedQueries, t1, mergedSources, t2, t3, _this = this;
  95676. if (_this._evaluate0$_declarationName != null)
  95677. throw A.wrapException(_this._evaluate0$_exception$2(string$.Media_, node.span));
  95678. mergedQueries = A.NullableExtension_andThen0(_this._evaluate0$_mediaQueries, new A._EvaluateVisitor_visitCssMediaRule_closure5(_this, node));
  95679. t1 = mergedQueries == null;
  95680. if (!t1 && J.get$isEmpty$asx(mergedQueries))
  95681. return;
  95682. if (t1)
  95683. mergedSources = B.Set_empty5;
  95684. else {
  95685. t2 = _this._evaluate0$_mediaQuerySources;
  95686. t2.toString;
  95687. t2 = A.LinkedHashSet_LinkedHashSet$of(t2, type$.CssMediaQuery_2);
  95688. t3 = _this._evaluate0$_mediaQueries;
  95689. t3.toString;
  95690. t2.addAll$1(0, t3);
  95691. t2.addAll$1(0, node.queries);
  95692. mergedSources = t2;
  95693. }
  95694. t1 = t1 ? node.queries : mergedQueries;
  95695. _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);
  95696. },
  95697. visitCssStyleRule$1(node) {
  95698. var t1, styleRule, t2, t3, t4, originalSelector, rule, oldAtRootExcludingStyleRule, _0_0, _0_1, lastChild, _this = this;
  95699. if (_this._evaluate0$_declarationName != null)
  95700. throw A.wrapException(_this._evaluate0$_exception$2(string$.Style_, node.span));
  95701. t1 = _this._evaluate0$_atRootExcludingStyleRule;
  95702. styleRule = t1 ? null : _this._evaluate0$_styleRuleIgnoringAtRoot;
  95703. t2 = node._style_rule0$_selector._box0$_inner.value;
  95704. t3 = styleRule == null;
  95705. t4 = t3 ? null : styleRule.originalSelector;
  95706. originalSelector = t2.resolveParentSelectors$2$implicitParent(t4, !t1);
  95707. rule = A.ModifiableCssStyleRule$0(_this._evaluate0$_assertInModule$2(_this._evaluate0$__extensionStore, "_extensionStore").addSelector$2(originalSelector, _this._evaluate0$_mediaQueries), node.span, originalSelector);
  95708. oldAtRootExcludingStyleRule = _this._evaluate0$_atRootExcludingStyleRule;
  95709. _this._evaluate0$_atRootExcludingStyleRule = false;
  95710. _this._evaluate0$_withParent$2$4$scopeWhen$through(rule, new A._EvaluateVisitor_visitCssStyleRule_closure5(_this, rule, node), false, new A._EvaluateVisitor_visitCssStyleRule_closure6(), type$.ModifiableCssStyleRule_2, type$.Null);
  95711. _this._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  95712. _0_0 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent").children;
  95713. _0_1 = A._InitializedCell$(new A._EvaluateVisitor_visitCssStyleRule_closure7(_0_0));
  95714. if (_0_1._readFinal$0() >= 1) {
  95715. lastChild = J.elementAt$1$ax(_0_0._collection$_source, _0_1._readFinal$0() - 1);
  95716. t1 = t3;
  95717. } else {
  95718. lastChild = null;
  95719. t1 = false;
  95720. }
  95721. if (t1)
  95722. lastChild.isGroupEnd = true;
  95723. },
  95724. visitCssStylesheet$1(node) {
  95725. var t1;
  95726. for (t1 = J.get$iterator$ax(node.get$children(node)); t1.moveNext$0();)
  95727. t1.get$current(t1).accept$1(this);
  95728. },
  95729. visitCssSupportsRule$1(node) {
  95730. var _this = this;
  95731. if (_this._evaluate0$_declarationName != null)
  95732. throw A.wrapException(_this._evaluate0$_exception$2(string$.Suppor, node.span));
  95733. _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);
  95734. },
  95735. _evaluate0$_handleReturn$1$2(list, callback) {
  95736. var t1, _i, _0_0, result, t2;
  95737. for (t1 = list.length, _i = 0; _i < list.length; list.length === t1 || (0, A.throwConcurrentModificationError)(list), ++_i) {
  95738. _0_0 = callback.call$1(list[_i]);
  95739. if (_0_0 != null) {
  95740. result = _0_0;
  95741. t2 = true;
  95742. } else {
  95743. result = null;
  95744. t2 = false;
  95745. }
  95746. if (t2)
  95747. return result;
  95748. }
  95749. return null;
  95750. },
  95751. _evaluate0$_handleReturn$2(list, callback) {
  95752. return this._evaluate0$_handleReturn$1$2(list, callback, type$.dynamic);
  95753. },
  95754. _evaluate0$_withEnvironment$1$2(environment, callback) {
  95755. var result,
  95756. oldEnvironment = this._evaluate0$_environment;
  95757. this._evaluate0$_environment = environment;
  95758. result = callback.call$0();
  95759. this._evaluate0$_environment = oldEnvironment;
  95760. return result;
  95761. },
  95762. _evaluate0$_withEnvironment$2(environment, callback) {
  95763. return this._evaluate0$_withEnvironment$1$2(environment, callback, type$.dynamic);
  95764. },
  95765. _evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, trim, warnForColor) {
  95766. var result = this._evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor),
  95767. t1 = trim ? A.trimAscii0(result, true) : result;
  95768. return new A.CssValue0(t1, interpolation.span, type$.CssValue_String_2);
  95769. },
  95770. _evaluate0$_interpolationToValue$1(interpolation) {
  95771. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, false);
  95772. },
  95773. _evaluate0$_interpolationToValue$2$warnForColor(interpolation, warnForColor) {
  95774. return this._evaluate0$_interpolationToValue$3$trim$warnForColor(interpolation, false, warnForColor);
  95775. },
  95776. _evaluate0$_performInterpolation$2$warnForColor(interpolation, warnForColor) {
  95777. return this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, false, warnForColor)._0;
  95778. },
  95779. _evaluate0$_performInterpolation$1(interpolation) {
  95780. return this._evaluate0$_performInterpolation$2$warnForColor(interpolation, false);
  95781. },
  95782. _evaluate0$_performInterpolationWithMap$2$warnForColor(interpolation, warnForColor) {
  95783. var _0_0 = this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, true, true),
  95784. map = _0_0._1;
  95785. map.toString;
  95786. return new A._Record_2(_0_0._0, map);
  95787. },
  95788. _evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(interpolation, sourceMap, warnForColor) {
  95789. var t1, t2, t3, t4, t5, t6, t7, first, _i, t8, value, result, t9, result0, _this = this, _null = null,
  95790. targetLocations = sourceMap ? A._setArrayType([], type$.JSArray_SourceLocation) : _null,
  95791. oldInSupportsDeclaration = _this._evaluate0$_inSupportsDeclaration;
  95792. _this._evaluate0$_inSupportsDeclaration = false;
  95793. for (t1 = interpolation.contents, t2 = t1.length, t3 = type$.Expression_2, t4 = targetLocations == null, t5 = type$.JSArray_Object, t6 = interpolation.span, t7 = type$.Object, first = true, _i = 0, t8 = ""; _i < t2; ++_i, first = false) {
  95794. value = t1[_i];
  95795. if (!first)
  95796. if (!t4)
  95797. targetLocations.push(A.SourceLocation$(t8.length, _null, _null, _null));
  95798. if (typeof value == "string") {
  95799. t8 += value;
  95800. continue;
  95801. }
  95802. t3._as(value);
  95803. result = value.accept$1(_this);
  95804. if (warnForColor && $.$get$namesByColor0().containsKey$1(result)) {
  95805. t9 = A._setArrayType([""], t5);
  95806. result0 = A.List_List$from(t9, false, t7);
  95807. result0.fixed$length = Array;
  95808. result0.immutable$list = Array;
  95809. result0 = new A.Interpolation0(result0, t6);
  95810. result0.Interpolation$20(t9, t6);
  95811. t9 = $.$get$namesByColor0();
  95812. _this._evaluate0$_warn$2(string$.You_pr + A.S(t9.$index(0, result)) + string$.x20in_in + result.toString$0(0) + string$.x2c_whicw + A.S(t9.$index(0, result)) + string$.x22x29__If + new A.BinaryOperationExpression0(B.BinaryOperator_anB0, new A.StringExpression0(result0, true), value, false).toString$0(0) + "'.", value.get$span(value));
  95813. }
  95814. t8 += _this._evaluate0$_serialize$3$quote(result, value, false);
  95815. }
  95816. _this._evaluate0$_inSupportsDeclaration = oldInSupportsDeclaration;
  95817. return new A._Record_2(t8.charCodeAt(0) == 0 ? t8 : t8, A.NullableExtension_andThen0(targetLocations, new A._EvaluateVisitor__performInterpolationHelper_closure1(interpolation)));
  95818. },
  95819. _evaluate0$_serialize$3$quote(value, nodeWithSpan, quote) {
  95820. return this._evaluate0$_addExceptionSpan$2(nodeWithSpan, new A._EvaluateVisitor__serialize_closure1(value, quote));
  95821. },
  95822. _evaluate0$_serialize$2(value, nodeWithSpan) {
  95823. return this._evaluate0$_serialize$3$quote(value, nodeWithSpan, true);
  95824. },
  95825. _evaluate0$_expressionNode$1(expression) {
  95826. var t1;
  95827. if (expression instanceof A.VariableExpression0) {
  95828. t1 = this._evaluate0$_addExceptionSpan$2(expression, new A._EvaluateVisitor__expressionNode_closure1(this, expression));
  95829. return t1 == null ? expression : t1;
  95830. } else
  95831. return expression;
  95832. },
  95833. _evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, through, $S, $T) {
  95834. var t1, result, _this = this;
  95835. _this._evaluate0$_addChild$2$through(node, through);
  95836. t1 = _this._evaluate0$_assertInModule$2(_this._evaluate0$__parent, "__parent");
  95837. _this._evaluate0$__parent = node;
  95838. result = _this._evaluate0$_environment.scope$1$2$when(callback, scopeWhen, $T);
  95839. _this._evaluate0$__parent = t1;
  95840. return result;
  95841. },
  95842. _evaluate0$_withParent$2$3$scopeWhen(node, callback, scopeWhen, $S, $T) {
  95843. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, scopeWhen, null, $S, $T);
  95844. },
  95845. _evaluate0$_withParent$2$2(node, callback, $S, $T) {
  95846. return this._evaluate0$_withParent$2$4$scopeWhen$through(node, callback, true, null, $S, $T);
  95847. },
  95848. _evaluate0$_addChild$2$through(node, through) {
  95849. var _0_0, grandparent, t1,
  95850. $parent = this._evaluate0$_assertInModule$2(this._evaluate0$__parent, "__parent");
  95851. if (through != null) {
  95852. for (; through.call$1($parent); $parent = grandparent) {
  95853. _0_0 = $parent._node$_parent;
  95854. if (_0_0 != null) {
  95855. grandparent = _0_0;
  95856. t1 = true;
  95857. } else {
  95858. grandparent = null;
  95859. t1 = false;
  95860. }
  95861. if (!t1)
  95862. throw A.wrapException(A.ArgumentError$(string$.throug + node.toString$0(0) + ".", null));
  95863. }
  95864. if ($parent.get$hasFollowingSibling()) {
  95865. grandparent = $parent._node$_parent;
  95866. t1 = grandparent.children;
  95867. if ($parent.equalsIgnoringChildren$1(t1.get$last(t1)))
  95868. $parent = type$.ModifiableCssParentNode_2._as(t1.get$last(t1));
  95869. else {
  95870. $parent = $parent.copyWithoutChildren$0();
  95871. grandparent.addChild$1($parent);
  95872. }
  95873. }
  95874. }
  95875. $parent.addChild$1(node);
  95876. },
  95877. _evaluate0$_addChild$1(node) {
  95878. return this._evaluate0$_addChild$2$through(node, null);
  95879. },
  95880. _evaluate0$_withStyleRule$1$2(rule, callback) {
  95881. var result,
  95882. oldRule = this._evaluate0$_styleRuleIgnoringAtRoot;
  95883. this._evaluate0$_styleRuleIgnoringAtRoot = rule;
  95884. result = callback.call$0();
  95885. this._evaluate0$_styleRuleIgnoringAtRoot = oldRule;
  95886. return result;
  95887. },
  95888. _evaluate0$_withStyleRule$2(rule, callback) {
  95889. return this._evaluate0$_withStyleRule$1$2(rule, callback, type$.dynamic);
  95890. },
  95891. _evaluate0$_withMediaQueries$1$3(queries, sources, callback) {
  95892. var result, _this = this,
  95893. oldMediaQueries = _this._evaluate0$_mediaQueries,
  95894. oldSources = _this._evaluate0$_mediaQuerySources;
  95895. _this._evaluate0$_mediaQueries = queries;
  95896. _this._evaluate0$_mediaQuerySources = sources;
  95897. result = callback.call$0();
  95898. _this._evaluate0$_mediaQueries = oldMediaQueries;
  95899. _this._evaluate0$_mediaQuerySources = oldSources;
  95900. return result;
  95901. },
  95902. _evaluate0$_withMediaQueries$3(queries, sources, callback) {
  95903. return this._evaluate0$_withMediaQueries$1$3(queries, sources, callback, type$.dynamic);
  95904. },
  95905. _evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback) {
  95906. var oldMember, result, _this = this,
  95907. t1 = _this._evaluate0$_stack;
  95908. t1.push(new A._Record_2(_this._evaluate0$_member, nodeWithSpan));
  95909. oldMember = _this._evaluate0$_member;
  95910. _this._evaluate0$_member = member;
  95911. result = callback.call$0();
  95912. _this._evaluate0$_member = oldMember;
  95913. t1.pop();
  95914. return result;
  95915. },
  95916. _evaluate0$_withStackFrame$3(member, nodeWithSpan, callback) {
  95917. return this._evaluate0$_withStackFrame$1$3(member, nodeWithSpan, callback, type$.dynamic);
  95918. },
  95919. _evaluate0$_withoutSlash$2(value, nodeForSpan) {
  95920. if (value instanceof A.SassNumber0 && value.asSlash != null && true)
  95921. this._evaluate0$_warn$3(string$.Using__i + A.S(new A._EvaluateVisitor__withoutSlash_recommendation1().call$1(value)) + string$.x0a_Morex20, nodeForSpan.get$span(nodeForSpan), B.Deprecation_wWh);
  95922. return value.withoutSlash$0();
  95923. },
  95924. _evaluate0$_stackFrame$2(member, span) {
  95925. return A.frameForSpan0(span, member, A.NullableExtension_andThen0(span.get$sourceUrl(span), new A._EvaluateVisitor__stackFrame_closure1(this)));
  95926. },
  95927. _evaluate0$_stackTrace$1(span) {
  95928. var t2, t3, _i, t4, nodeWithSpan, _this = this,
  95929. t1 = A._setArrayType([], type$.JSArray_Frame);
  95930. for (t2 = _this._evaluate0$_stack, t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  95931. t4 = t2[_i];
  95932. nodeWithSpan = t4._1;
  95933. t1.push(_this._evaluate0$_stackFrame$2(t4._0, nodeWithSpan.get$span(nodeWithSpan)));
  95934. }
  95935. if (span != null)
  95936. t1.push(_this._evaluate0$_stackFrame$2(_this._evaluate0$_member, span));
  95937. return A.Trace$(new A.ReversedListIterable(t1, type$.ReversedListIterable_Frame), null);
  95938. },
  95939. _evaluate0$_stackTrace$0() {
  95940. return this._evaluate0$_stackTrace$1(null);
  95941. },
  95942. _evaluate0$_warn$3(message, span, deprecation) {
  95943. var t1, trace, _this = this;
  95944. if (_this._evaluate0$_quietDeps)
  95945. if (!_this._evaluate0$_inDependency) {
  95946. t1 = _this._evaluate0$_currentCallable;
  95947. t1 = t1 == null ? null : t1.inDependency;
  95948. t1 = t1 === true;
  95949. } else
  95950. t1 = true;
  95951. else
  95952. t1 = false;
  95953. if (t1)
  95954. return;
  95955. if (!_this._evaluate0$_warningsEmitted.add$1(0, new A._Record_2(message, span)))
  95956. return;
  95957. trace = _this._evaluate0$_stackTrace$1(span);
  95958. t1 = _this._evaluate0$_logger;
  95959. if (deprecation == null)
  95960. t1.warn$3$span$trace(0, message, span, trace);
  95961. else
  95962. A.WarnForDeprecation_warnForDeprecation0(t1, deprecation, message, span, trace);
  95963. },
  95964. _evaluate0$_warn$2(message, span) {
  95965. return this._evaluate0$_warn$3(message, span, null);
  95966. },
  95967. _evaluate0$_exception$2(message, span) {
  95968. var t1, t2;
  95969. if (span == null) {
  95970. t1 = B.JSArray_methods.get$last(this._evaluate0$_stack)._1;
  95971. t1 = t1.get$span(t1);
  95972. } else
  95973. t1 = span;
  95974. t2 = this._evaluate0$_stackTrace$1(span);
  95975. return new A.SassRuntimeException0(t2, B.Set_empty, message, t1);
  95976. },
  95977. _evaluate0$_exception$1(message) {
  95978. return this._evaluate0$_exception$2(message, null);
  95979. },
  95980. _evaluate0$_multiSpanException$3(message, primaryLabel, secondaryLabels) {
  95981. var t1 = B.JSArray_methods.get$last(this._evaluate0$_stack)._1;
  95982. return A.MultiSpanSassRuntimeException$0(message, t1.get$span(t1), primaryLabel, secondaryLabels, this._evaluate0$_stackTrace$0(), null);
  95983. },
  95984. _evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  95985. var error, stackTrace, t1, exception;
  95986. try {
  95987. t1 = callback.call$0();
  95988. return t1;
  95989. } catch (exception) {
  95990. t1 = A.unwrapException(exception);
  95991. if (t1 instanceof A.SassScriptException0) {
  95992. error = t1;
  95993. stackTrace = A.getTraceFromException(exception);
  95994. t1 = error.withSpan$1(nodeWithSpan.get$span(nodeWithSpan));
  95995. A.throwWithTrace0(t1.withTrace$1(this._evaluate0$_stackTrace$1(addStackFrame ? nodeWithSpan.get$span(nodeWithSpan) : null)), error, stackTrace);
  95996. } else
  95997. throw exception;
  95998. }
  95999. },
  96000. _evaluate0$_addExceptionSpan$2(nodeWithSpan, callback) {
  96001. return this._evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, true, type$.dynamic);
  96002. },
  96003. _evaluate0$_addExceptionSpan$3$addStackFrame(nodeWithSpan, callback, addStackFrame) {
  96004. return this._evaluate0$_addExceptionSpan$1$3$addStackFrame(nodeWithSpan, callback, addStackFrame, type$.dynamic);
  96005. },
  96006. _evaluate0$_addExceptionTrace$1$1(callback) {
  96007. var error, stackTrace, t1, exception, t2;
  96008. try {
  96009. t1 = callback.call$0();
  96010. return t1;
  96011. } catch (exception) {
  96012. t1 = A.unwrapException(exception);
  96013. if (type$.SassRuntimeException_2._is(t1))
  96014. throw exception;
  96015. else if (t1 instanceof A.SassException0) {
  96016. error = t1;
  96017. stackTrace = A.getTraceFromException(exception);
  96018. t1 = error;
  96019. t2 = J.getInterceptor$z(t1);
  96020. A.throwWithTrace0(error.withTrace$1(this._evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(t2, t1))), error, stackTrace);
  96021. } else
  96022. throw exception;
  96023. }
  96024. },
  96025. _evaluate0$_addExceptionTrace$1(callback) {
  96026. return this._evaluate0$_addExceptionTrace$1$1(callback, type$.dynamic);
  96027. },
  96028. _evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback) {
  96029. var error, stackTrace, t1, exception, t2, t3;
  96030. try {
  96031. t1 = callback.call$0();
  96032. return t1;
  96033. } catch (exception) {
  96034. t1 = A.unwrapException(exception);
  96035. if (type$.SassRuntimeException_2._is(t1)) {
  96036. error = t1;
  96037. stackTrace = A.getTraceFromException(exception);
  96038. if (!B.JSString_methods.startsWith$1(J.get$span$z(error).get$text(), "@error"))
  96039. throw exception;
  96040. t1 = error._span_exception$_message;
  96041. t2 = nodeWithSpan.get$span(nodeWithSpan);
  96042. t3 = this._evaluate0$_stackTrace$0();
  96043. A.throwWithTrace0(new A.SassRuntimeException0(t3, B.Set_empty, t1, t2), error, stackTrace);
  96044. } else
  96045. throw exception;
  96046. }
  96047. },
  96048. _evaluate0$_addErrorSpan$2(nodeWithSpan, callback) {
  96049. return this._evaluate0$_addErrorSpan$1$2(nodeWithSpan, callback, type$.dynamic);
  96050. }
  96051. };
  96052. A._EvaluateVisitor_closure25.prototype = {
  96053. call$1($arguments) {
  96054. var module, t2,
  96055. t1 = J.getInterceptor$asx($arguments),
  96056. variable = t1.$index($arguments, 0).assertString$1("name");
  96057. t1 = t1.$index($arguments, 1).get$realNull();
  96058. module = t1 == null ? null : t1.assertString$1("module");
  96059. t1 = this.$this._evaluate0$_environment;
  96060. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  96061. return t1.globalVariableExists$2$namespace(t2, module == null ? null : module._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  96062. },
  96063. $signature: 22
  96064. };
  96065. A._EvaluateVisitor_closure26.prototype = {
  96066. call$1($arguments) {
  96067. var variable = J.$index$asx($arguments, 0).assertString$1("name"),
  96068. t1 = this.$this._evaluate0$_environment;
  96069. return t1.getVariable$1(A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-")) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  96070. },
  96071. $signature: 22
  96072. };
  96073. A._EvaluateVisitor_closure27.prototype = {
  96074. call$1($arguments) {
  96075. var module, t2, t3, t4,
  96076. t1 = J.getInterceptor$asx($arguments),
  96077. variable = t1.$index($arguments, 0).assertString$1("name");
  96078. t1 = t1.$index($arguments, 1).get$realNull();
  96079. module = t1 == null ? null : t1.assertString$1("module");
  96080. t1 = this.$this;
  96081. t2 = t1._evaluate0$_environment;
  96082. t3 = variable._string0$_text;
  96083. t4 = A.stringReplaceAllUnchecked(t3, "_", "-");
  96084. 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;
  96085. },
  96086. $signature: 22
  96087. };
  96088. A._EvaluateVisitor_closure28.prototype = {
  96089. call$1($arguments) {
  96090. var module, t2,
  96091. t1 = J.getInterceptor$asx($arguments),
  96092. variable = t1.$index($arguments, 0).assertString$1("name");
  96093. t1 = t1.$index($arguments, 1).get$realNull();
  96094. module = t1 == null ? null : t1.assertString$1("module");
  96095. t1 = this.$this._evaluate0$_environment;
  96096. t2 = A.stringReplaceAllUnchecked(variable._string0$_text, "_", "-");
  96097. return t1.getMixin$2$namespace(t2, module == null ? null : module._string0$_text) != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  96098. },
  96099. $signature: 22
  96100. };
  96101. A._EvaluateVisitor_closure29.prototype = {
  96102. call$1($arguments) {
  96103. var t1 = this.$this._evaluate0$_environment;
  96104. if (!t1._environment0$_inMixin)
  96105. throw A.wrapException(A.SassScriptException$0(string$.conten, null));
  96106. return t1._environment0$_content != null ? B.SassBoolean_true0 : B.SassBoolean_false0;
  96107. },
  96108. $signature: 22
  96109. };
  96110. A._EvaluateVisitor_closure30.prototype = {
  96111. call$1($arguments) {
  96112. var t2, t3, t4,
  96113. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  96114. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  96115. if (module == null)
  96116. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  96117. t1 = type$.Value_2;
  96118. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  96119. for (t3 = A.MapExtensions_get_pairs0(module.get$variables(), type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  96120. t4 = t3.get$current(t3);
  96121. t2.$indexSet(0, new A.SassString0(t4._0, true), t4._1);
  96122. }
  96123. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  96124. },
  96125. $signature: 39
  96126. };
  96127. A._EvaluateVisitor_closure31.prototype = {
  96128. call$1($arguments) {
  96129. var t2, t3, t4,
  96130. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  96131. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  96132. if (module == null)
  96133. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  96134. t1 = type$.Value_2;
  96135. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  96136. for (t3 = A.MapExtensions_get_pairs0(module.get$functions(module), type$.String, type$.Callable_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  96137. t4 = t3.get$current(t3);
  96138. t2.$indexSet(0, new A.SassString0(t4._0, true), new A.SassFunction0(t4._1));
  96139. }
  96140. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  96141. },
  96142. $signature: 39
  96143. };
  96144. A._EvaluateVisitor_closure32.prototype = {
  96145. call$1($arguments) {
  96146. var t2, t3, t4,
  96147. t1 = J.$index$asx($arguments, 0).assertString$1("module")._string0$_text,
  96148. module = this.$this._evaluate0$_environment._environment0$_modules.$index(0, t1);
  96149. if (module == null)
  96150. throw A.wrapException('There is no module with namespace "' + t1 + '".');
  96151. t1 = type$.Value_2;
  96152. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  96153. for (t3 = A.MapExtensions_get_pairs0(module.get$mixins(), type$.String, type$.Callable_2), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  96154. t4 = t3.get$current(t3);
  96155. t2.$indexSet(0, new A.SassString0(t4._0, true), new A.SassMixin0(t4._1));
  96156. }
  96157. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  96158. },
  96159. $signature: 39
  96160. };
  96161. A._EvaluateVisitor_closure33.prototype = {
  96162. call$1($arguments) {
  96163. var module, t2, callable,
  96164. t1 = J.getInterceptor$asx($arguments),
  96165. $name = t1.$index($arguments, 0).assertString$1("name"),
  96166. css = t1.$index($arguments, 1).get$isTruthy();
  96167. t1 = t1.$index($arguments, 2).get$realNull();
  96168. module = t1 == null ? null : t1.assertString$1("module");
  96169. if (css) {
  96170. if (module != null)
  96171. throw A.wrapException(string$.x24css_a);
  96172. return new A.SassFunction0(new A.PlainCssCallable0($name._string0$_text));
  96173. }
  96174. t1 = this.$this;
  96175. t2 = t1._evaluate0$_callableNode;
  96176. t2.toString;
  96177. callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure10(t1, $name, module));
  96178. if (callable == null)
  96179. throw A.wrapException("Function not found: " + $name.toString$0(0));
  96180. return new A.SassFunction0(callable);
  96181. },
  96182. $signature: 183
  96183. };
  96184. A._EvaluateVisitor__closure10.prototype = {
  96185. call$0() {
  96186. var local,
  96187. normalizedName = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  96188. t1 = this.module,
  96189. namespace = t1 == null ? null : t1._string0$_text;
  96190. t1 = this.$this;
  96191. local = t1._evaluate0$_environment.getFunction$2$namespace(normalizedName, namespace);
  96192. if (local != null || namespace != null)
  96193. return local;
  96194. return t1._evaluate0$_builtInFunctions.$index(0, normalizedName);
  96195. },
  96196. $signature: 90
  96197. };
  96198. A._EvaluateVisitor_closure34.prototype = {
  96199. call$1($arguments) {
  96200. var module, t2, callable,
  96201. t1 = J.getInterceptor$asx($arguments),
  96202. $name = t1.$index($arguments, 0).assertString$1("name");
  96203. t1 = t1.$index($arguments, 1).get$realNull();
  96204. module = t1 == null ? null : t1.assertString$1("module");
  96205. t1 = this.$this;
  96206. t2 = t1._evaluate0$_callableNode;
  96207. t2.toString;
  96208. callable = t1._evaluate0$_addExceptionSpan$2(t2, new A._EvaluateVisitor__closure9(t1, $name, module));
  96209. if (callable == null)
  96210. throw A.wrapException("Mixin not found: " + $name.toString$0(0));
  96211. return new A.SassMixin0(callable);
  96212. },
  96213. $signature: 185
  96214. };
  96215. A._EvaluateVisitor__closure9.prototype = {
  96216. call$0() {
  96217. var t1 = this.$this._evaluate0$_environment,
  96218. t2 = A.stringReplaceAllUnchecked(this.name._string0$_text, "_", "-"),
  96219. t3 = this.module;
  96220. return t1.getMixin$2$namespace(t2, t3 == null ? null : t3._string0$_text);
  96221. },
  96222. $signature: 90
  96223. };
  96224. A._EvaluateVisitor_closure35.prototype = {
  96225. call$1($arguments) {
  96226. var t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, invocation, callableNode, callable,
  96227. t1 = J.getInterceptor$asx($arguments),
  96228. $function = t1.$index($arguments, 0),
  96229. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  96230. t1 = this.$this;
  96231. t2 = t1._evaluate0$_callableNode;
  96232. t2.toString;
  96233. t3 = A._setArrayType([], type$.JSArray_Expression_2);
  96234. t4 = type$.String;
  96235. t5 = type$.Expression_2;
  96236. t6 = t2.get$span(t2);
  96237. t7 = t2.get$span(t2);
  96238. args._argument_list$_wereKeywordsAccessed = true;
  96239. t8 = args._argument_list$_keywords;
  96240. if (t8.get$isEmpty(t8))
  96241. t2 = null;
  96242. else {
  96243. t9 = type$.Value_2;
  96244. t10 = A.LinkedHashMap_LinkedHashMap$_empty(t9, t9);
  96245. for (args._argument_list$_wereKeywordsAccessed = true, t8 = A.MapExtensions_get_pairs0(t8, t4, t9), t8 = t8.get$iterator(t8); t8.moveNext$0();) {
  96246. t11 = t8.get$current(t8);
  96247. t10.$indexSet(0, new A.SassString0(t11._0, false), t11._1);
  96248. }
  96249. t2 = new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(t10, t9, t9)), t2.get$span(t2));
  96250. }
  96251. 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);
  96252. if ($function instanceof A.SassString0) {
  96253. t2 = $function.toString$0(0);
  96254. A.EvaluationContext_current0().warn$2(0, string$.Passina + t2 + "))", B.Deprecation_4iQ);
  96255. callableNode = t1._evaluate0$_callableNode;
  96256. return t1.visitFunctionExpression$1(new A.FunctionExpression0(null, $function._string0$_text, invocation, callableNode.get$span(callableNode)));
  96257. }
  96258. callable = $function.assertFunction$1("function").callable;
  96259. if (type$.Callable_2._is(callable)) {
  96260. t2 = t1._evaluate0$_callableNode;
  96261. t2.toString;
  96262. return t1._evaluate0$_runFunctionCallable$3(invocation, callable, t2);
  96263. } else
  96264. throw A.wrapException(A.SassScriptException$0("The function " + callable.get$name(callable) + string$.x20is_as, null));
  96265. },
  96266. $signature: 5
  96267. };
  96268. A._EvaluateVisitor_closure36.prototype = {
  96269. call$1($arguments) {
  96270. var withMap, t2, values, configuration, t3,
  96271. t1 = J.getInterceptor$asx($arguments),
  96272. url = A.Uri_parse(t1.$index($arguments, 0).assertString$1("url")._string0$_text);
  96273. t1 = t1.$index($arguments, 1).get$realNull();
  96274. withMap = t1 == null ? null : t1.assertMap$1("with")._map0$_contents;
  96275. t1 = this.$this;
  96276. t2 = t1._evaluate0$_callableNode;
  96277. t2.toString;
  96278. if (withMap != null) {
  96279. values = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, type$.ConfiguredValue_2);
  96280. withMap.forEach$1(0, new A._EvaluateVisitor__closure7(values, t2.get$span(t2), t2));
  96281. configuration = new A.ExplicitConfiguration0(t2, values, null);
  96282. } else
  96283. configuration = B.Configuration_Map_empty_null0;
  96284. t3 = t2.get$span(t2);
  96285. t1._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(url, "load-css()", t2, new A._EvaluateVisitor__closure8(t1), t3.get$sourceUrl(t3), configuration, true);
  96286. t1._evaluate0$_assertConfigurationIsEmpty$2$nameInError(configuration, true);
  96287. },
  96288. $signature: 239
  96289. };
  96290. A._EvaluateVisitor__closure7.prototype = {
  96291. call$2(variable, value) {
  96292. var t1 = variable.assertString$1("with key"),
  96293. $name = A.stringReplaceAllUnchecked(t1._string0$_text, "_", "-");
  96294. t1 = this.values;
  96295. if (t1.containsKey$1($name))
  96296. throw A.wrapException("The variable $" + $name + " was configured twice.");
  96297. t1.$indexSet(0, $name, new A.ConfiguredValue0(value, this.span, this.callableNode));
  96298. },
  96299. $signature: 105
  96300. };
  96301. A._EvaluateVisitor__closure8.prototype = {
  96302. call$2(module, _) {
  96303. var t1 = this.$this;
  96304. return t1._evaluate0$_combineCss$2$clone(module, true).accept$1(t1);
  96305. },
  96306. $signature: 107
  96307. };
  96308. A._EvaluateVisitor_closure37.prototype = {
  96309. call$1($arguments) {
  96310. var callableNode, t2, t3, t4, t5, callable, $content,
  96311. t1 = J.getInterceptor$asx($arguments),
  96312. mixin = t1.$index($arguments, 0),
  96313. args = type$.SassArgumentList_2._as(t1.$index($arguments, 1));
  96314. t1 = this.$this;
  96315. callableNode = t1._evaluate0$_callableNode;
  96316. t2 = callableNode.get$span(callableNode);
  96317. t3 = callableNode.get$span(callableNode);
  96318. t4 = type$.Expression_2;
  96319. t5 = A.List_List$unmodifiable(B.List_empty20, t4);
  96320. t4 = A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t4);
  96321. callable = mixin.assertMixin$1("mixin").callable;
  96322. $content = t1._evaluate0$_environment._environment0$_content;
  96323. if (type$.Callable_2._is(callable))
  96324. t1._evaluate0$_applyMixin$5(callable, $content, new A.ArgumentInvocation0(t5, t4, new A.ValueExpression0(args, t3), null, t2), callableNode, callableNode);
  96325. else
  96326. throw A.wrapException(A.SassScriptException$0("The mixin " + callable.get$name(callable) + string$.x20is_as, null));
  96327. },
  96328. $signature: 239
  96329. };
  96330. A._EvaluateVisitor_run_closure1.prototype = {
  96331. call$0() {
  96332. var module, t2, _this = this, url = null,
  96333. t1 = _this.node,
  96334. _0_0 = t1.span.file.url;
  96335. if (_0_0 != null) {
  96336. url = _0_0;
  96337. t2 = true;
  96338. } else
  96339. t2 = false;
  96340. if (t2) {
  96341. t2 = _this.$this;
  96342. t2._evaluate0$_activeModules.$indexSet(0, url, null);
  96343. if (!(t2._evaluate0$_nodeImporter != null && J.toString$0$(url) === "stdin"))
  96344. t2._evaluate0$_loadedUrls.add$1(0, url);
  96345. }
  96346. t2 = _this.$this;
  96347. module = t2._evaluate0$_addExceptionTrace$1(new A._EvaluateVisitor_run__closure1(t2, _this.importer, t1));
  96348. return new A._Record_2_loadedUrls_stylesheet(t2._evaluate0$_loadedUrls, t2._evaluate0$_combineCss$1(module));
  96349. },
  96350. $signature: 439
  96351. };
  96352. A._EvaluateVisitor_run__closure1.prototype = {
  96353. call$0() {
  96354. return this.$this._evaluate0$_execute$2(this.importer, this.node);
  96355. },
  96356. $signature: 440
  96357. };
  96358. A._EvaluateVisitor__loadModule_closure3.prototype = {
  96359. call$0() {
  96360. return this.callback.call$2(this._box_1.builtInModule, false);
  96361. },
  96362. $signature: 0
  96363. };
  96364. A._EvaluateVisitor__loadModule_closure4.prototype = {
  96365. call$0() {
  96366. var canonicalUrl, oldInDependency, t4, message, _this = this, t1 = {}, stylesheet = null, importer = null,
  96367. t2 = _this.$this,
  96368. t3 = _this.nodeWithSpan,
  96369. _1_0 = t2._evaluate0$_loadStylesheet$3$baseUrl(_this.url.toString$0(0), t3.get$span(t3), _this.baseUrl);
  96370. stylesheet = _1_0._0;
  96371. importer = _1_0._1;
  96372. canonicalUrl = stylesheet.span.file.url;
  96373. if (canonicalUrl != null) {
  96374. t4 = t2._evaluate0$_activeModules;
  96375. if (t4.containsKey$1(canonicalUrl)) {
  96376. if (_this.namesInErrors) {
  96377. t1 = canonicalUrl;
  96378. t3 = $.$get$context();
  96379. t1.toString;
  96380. message = "Module loop: " + t3.prettyUri$1(t1) + " is already being loaded.";
  96381. } else
  96382. message = string$.Modulel;
  96383. t1 = A.NullableExtension_andThen0(t4.$index(0, canonicalUrl), new A._EvaluateVisitor__loadModule__closure3(t2, message));
  96384. throw A.wrapException(t1 == null ? t2._evaluate0$_exception$1(message) : t1);
  96385. } else
  96386. t4.$indexSet(0, canonicalUrl, t3);
  96387. }
  96388. t4 = t2._evaluate0$_modules.containsKey$1(canonicalUrl);
  96389. oldInDependency = t2._evaluate0$_inDependency;
  96390. t2._evaluate0$_inDependency = _1_0._2;
  96391. t1.module = null;
  96392. try {
  96393. t1.module = t2._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(importer, stylesheet, _this.configuration, _this.namesInErrors, t3);
  96394. } finally {
  96395. t2._evaluate0$_activeModules.remove$1(0, canonicalUrl);
  96396. t2._evaluate0$_inDependency = oldInDependency;
  96397. }
  96398. t2._evaluate0$_addExceptionSpan$3$addStackFrame(t3, new A._EvaluateVisitor__loadModule__closure4(t1, _this.callback, !t4), false);
  96399. },
  96400. $signature: 2
  96401. };
  96402. A._EvaluateVisitor__loadModule__closure3.prototype = {
  96403. call$1(previousLoad) {
  96404. return this.$this._evaluate0$_multiSpanException$3(this.message, "new load", A.LinkedHashMap_LinkedHashMap$_literal([previousLoad.get$span(previousLoad), "original load"], type$.FileSpan, type$.String));
  96405. },
  96406. $signature: 82
  96407. };
  96408. A._EvaluateVisitor__loadModule__closure4.prototype = {
  96409. call$0() {
  96410. return this.callback.call$2(this._box_0.module, this.firstLoad);
  96411. },
  96412. $signature: 0
  96413. };
  96414. A._EvaluateVisitor__execute_closure1.prototype = {
  96415. call$0() {
  96416. var t3, t4, t5, t6, _this = this,
  96417. t1 = _this.$this,
  96418. oldImporter = t1._evaluate0$_importer,
  96419. oldStylesheet = t1._evaluate0$__stylesheet,
  96420. oldRoot = t1._evaluate0$__root,
  96421. oldPreModuleComments = t1._evaluate0$_preModuleComments,
  96422. oldParent = t1._evaluate0$__parent,
  96423. oldEndOfImports = t1._evaluate0$__endOfImports,
  96424. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  96425. oldExtensionStore = t1._evaluate0$__extensionStore,
  96426. t2 = t1._evaluate0$_atRootExcludingStyleRule,
  96427. oldStyleRule = t2 ? null : t1._evaluate0$_styleRuleIgnoringAtRoot,
  96428. oldMediaQueries = t1._evaluate0$_mediaQueries,
  96429. oldDeclarationName = t1._evaluate0$_declarationName,
  96430. oldInUnknownAtRule = t1._evaluate0$_inUnknownAtRule,
  96431. oldInKeyframes = t1._evaluate0$_inKeyframes,
  96432. oldConfiguration = t1._evaluate0$_configuration;
  96433. t1._evaluate0$_importer = _this.importer;
  96434. t3 = t1._evaluate0$__stylesheet = _this.stylesheet;
  96435. t4 = t3.span;
  96436. t5 = t1._evaluate0$__parent = t1._evaluate0$__root = A.ModifiableCssStylesheet$0(t4);
  96437. t1._evaluate0$__endOfImports = 0;
  96438. t1._evaluate0$_outOfOrderImports = null;
  96439. t1._evaluate0$__extensionStore = _this.extensionStore;
  96440. t1._evaluate0$_declarationName = t1._evaluate0$_mediaQueries = t1._evaluate0$_styleRuleIgnoringAtRoot = null;
  96441. t1._evaluate0$_inKeyframes = t1._evaluate0$_atRootExcludingStyleRule = t1._evaluate0$_inUnknownAtRule = false;
  96442. t6 = _this.configuration;
  96443. if (t6 != null)
  96444. t1._evaluate0$_configuration = t6;
  96445. t1.visitStylesheet$1(t3);
  96446. t3 = t1._evaluate0$_outOfOrderImports == null ? t5 : new A.CssStylesheet0(new A.UnmodifiableListView(t1._evaluate0$_addOutOfOrderImports$0(), type$.UnmodifiableListView_CssNode_2), t4);
  96447. _this.css._value = t3;
  96448. _this.preModuleComments._value = t1._evaluate0$_preModuleComments;
  96449. t1._evaluate0$_importer = oldImporter;
  96450. t1._evaluate0$__stylesheet = oldStylesheet;
  96451. t1._evaluate0$__root = oldRoot;
  96452. t1._evaluate0$_preModuleComments = oldPreModuleComments;
  96453. t1._evaluate0$__parent = oldParent;
  96454. t1._evaluate0$__endOfImports = oldEndOfImports;
  96455. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  96456. t1._evaluate0$__extensionStore = oldExtensionStore;
  96457. t1._evaluate0$_styleRuleIgnoringAtRoot = oldStyleRule;
  96458. t1._evaluate0$_mediaQueries = oldMediaQueries;
  96459. t1._evaluate0$_declarationName = oldDeclarationName;
  96460. t1._evaluate0$_inUnknownAtRule = oldInUnknownAtRule;
  96461. t1._evaluate0$_atRootExcludingStyleRule = t2;
  96462. t1._evaluate0$_inKeyframes = oldInKeyframes;
  96463. t1._evaluate0$_configuration = oldConfiguration;
  96464. },
  96465. $signature: 2
  96466. };
  96467. A._EvaluateVisitor__combineCss_closure3.prototype = {
  96468. call$1(module) {
  96469. return module.get$transitivelyContainsCss();
  96470. },
  96471. $signature: 141
  96472. };
  96473. A._EvaluateVisitor__combineCss_closure4.prototype = {
  96474. call$1(target) {
  96475. return !this.selectors.contains$1(0, target);
  96476. },
  96477. $signature: 16
  96478. };
  96479. A._EvaluateVisitor__combineCss_visitModule1.prototype = {
  96480. call$1(module) {
  96481. var t1, t2, t3, t4, _i, upstream, _1_0, comments, t5, statements, index, _this = this;
  96482. if (!_this.seen.add$1(0, module))
  96483. return;
  96484. if (_this.clone)
  96485. module = module.cloneCss$0();
  96486. for (t1 = module.get$upstream(), t2 = t1.length, t3 = _this.css, t4 = _this.imports, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  96487. upstream = t1[_i];
  96488. if (upstream.get$transitivelyContainsCss()) {
  96489. _1_0 = module.get$preModuleComments().$index(0, upstream);
  96490. if (_1_0 != null) {
  96491. comments = _1_0;
  96492. t5 = true;
  96493. } else {
  96494. comments = null;
  96495. t5 = false;
  96496. }
  96497. if (t5)
  96498. B.JSArray_methods.addAll$1(t3.length === 0 ? t4 : t3, comments);
  96499. _this.call$1(upstream);
  96500. }
  96501. }
  96502. _this.sorted.addFirst$1(module);
  96503. t1 = module.get$css(module);
  96504. statements = t1.get$children(t1);
  96505. index = _this.$this._evaluate0$_indexAfterImports$1(statements);
  96506. t1 = J.getInterceptor$ax(statements);
  96507. B.JSArray_methods.addAll$1(t4, t1.getRange$2(statements, 0, index));
  96508. B.JSArray_methods.addAll$1(t3, t1.getRange$2(statements, index, t1.get$length(statements)));
  96509. },
  96510. $signature: 441
  96511. };
  96512. A._EvaluateVisitor__extendModules_closure3.prototype = {
  96513. call$1(target) {
  96514. return !this.originalSelectors.contains$1(0, target);
  96515. },
  96516. $signature: 16
  96517. };
  96518. A._EvaluateVisitor__extendModules_closure4.prototype = {
  96519. call$0() {
  96520. return A._setArrayType([], type$.JSArray_ExtensionStore_2);
  96521. },
  96522. $signature: 189
  96523. };
  96524. A._EvaluateVisitor_visitAtRootRule_closure3.prototype = {
  96525. call$0() {
  96526. var t1, t2, t3, _i;
  96527. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  96528. t1[_i].accept$1(t3);
  96529. },
  96530. $signature: 2
  96531. };
  96532. A._EvaluateVisitor_visitAtRootRule_closure4.prototype = {
  96533. call$0() {
  96534. var t1, t2, t3, _i;
  96535. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  96536. t1[_i].accept$1(t3);
  96537. },
  96538. $signature: 0
  96539. };
  96540. A._EvaluateVisitor__scopeForAtRoot_closure11.prototype = {
  96541. call$1(callback) {
  96542. var t1 = this.$this,
  96543. t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent");
  96544. t1._evaluate0$__parent = this.newParent;
  96545. t1._evaluate0$_environment.scope$1$2$when(callback, this.node.hasDeclarations, type$.void);
  96546. t1._evaluate0$__parent = t2;
  96547. },
  96548. $signature: 40
  96549. };
  96550. A._EvaluateVisitor__scopeForAtRoot_closure12.prototype = {
  96551. call$1(callback) {
  96552. var t1 = this.$this,
  96553. oldAtRootExcludingStyleRule = t1._evaluate0$_atRootExcludingStyleRule;
  96554. t1._evaluate0$_atRootExcludingStyleRule = true;
  96555. this.innerScope.call$1(callback);
  96556. t1._evaluate0$_atRootExcludingStyleRule = oldAtRootExcludingStyleRule;
  96557. },
  96558. $signature: 40
  96559. };
  96560. A._EvaluateVisitor__scopeForAtRoot_closure13.prototype = {
  96561. call$1(callback) {
  96562. return this.$this._evaluate0$_withMediaQueries$3(null, null, new A._EvaluateVisitor__scopeForAtRoot__closure1(this.innerScope, callback));
  96563. },
  96564. $signature: 40
  96565. };
  96566. A._EvaluateVisitor__scopeForAtRoot__closure1.prototype = {
  96567. call$0() {
  96568. return this.innerScope.call$1(this.callback);
  96569. },
  96570. $signature: 2
  96571. };
  96572. A._EvaluateVisitor__scopeForAtRoot_closure14.prototype = {
  96573. call$1(callback) {
  96574. var t1 = this.$this,
  96575. wasInKeyframes = t1._evaluate0$_inKeyframes;
  96576. t1._evaluate0$_inKeyframes = false;
  96577. this.innerScope.call$1(callback);
  96578. t1._evaluate0$_inKeyframes = wasInKeyframes;
  96579. },
  96580. $signature: 40
  96581. };
  96582. A._EvaluateVisitor__scopeForAtRoot_closure15.prototype = {
  96583. call$1($parent) {
  96584. return $parent instanceof A.ModifiableCssAtRule0;
  96585. },
  96586. $signature: 190
  96587. };
  96588. A._EvaluateVisitor__scopeForAtRoot_closure16.prototype = {
  96589. call$1(callback) {
  96590. var t1 = this.$this,
  96591. wasInUnknownAtRule = t1._evaluate0$_inUnknownAtRule;
  96592. t1._evaluate0$_inUnknownAtRule = false;
  96593. this.innerScope.call$1(callback);
  96594. t1._evaluate0$_inUnknownAtRule = wasInUnknownAtRule;
  96595. },
  96596. $signature: 40
  96597. };
  96598. A._EvaluateVisitor_visitContentRule_closure1.prototype = {
  96599. call$0() {
  96600. var t1, t2, t3, _i;
  96601. for (t1 = this.content.declaration.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  96602. t1[_i].accept$1(t3);
  96603. return null;
  96604. },
  96605. $signature: 2
  96606. };
  96607. A._EvaluateVisitor_visitDeclaration_closure1.prototype = {
  96608. call$0() {
  96609. var t1, t2, t3, _i;
  96610. for (t1 = this._box_0.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  96611. t1[_i].accept$1(t3);
  96612. },
  96613. $signature: 2
  96614. };
  96615. A._EvaluateVisitor_visitEachRule_closure5.prototype = {
  96616. call$1(value) {
  96617. var t1 = this.$this,
  96618. t2 = this.nodeWithSpan;
  96619. return t1._evaluate0$_environment.setLocalVariable$3(this._box_0.variable, t1._evaluate0$_withoutSlash$2(value, t2), t2);
  96620. },
  96621. $signature: 60
  96622. };
  96623. A._EvaluateVisitor_visitEachRule_closure6.prototype = {
  96624. call$1(value) {
  96625. return this.$this._evaluate0$_setMultipleVariables$3(this._box_0.variables, value, this.nodeWithSpan);
  96626. },
  96627. $signature: 60
  96628. };
  96629. A._EvaluateVisitor_visitEachRule_closure7.prototype = {
  96630. call$0() {
  96631. var _this = this,
  96632. t1 = _this.$this;
  96633. return t1._evaluate0$_handleReturn$2(_this.list.get$asList(), new A._EvaluateVisitor_visitEachRule__closure1(t1, _this.setVariables, _this.node));
  96634. },
  96635. $signature: 46
  96636. };
  96637. A._EvaluateVisitor_visitEachRule__closure1.prototype = {
  96638. call$1(element) {
  96639. var t1;
  96640. this.setVariables.call$1(element);
  96641. t1 = this.$this;
  96642. return t1._evaluate0$_handleReturn$2(this.node.children, new A._EvaluateVisitor_visitEachRule___closure1(t1));
  96643. },
  96644. $signature: 241
  96645. };
  96646. A._EvaluateVisitor_visitEachRule___closure1.prototype = {
  96647. call$1(child) {
  96648. return child.accept$1(this.$this);
  96649. },
  96650. $signature: 110
  96651. };
  96652. A._EvaluateVisitor_visitAtRule_closure5.prototype = {
  96653. call$1(value) {
  96654. return this.$this._evaluate0$_interpolationToValue$3$trim$warnForColor(value, true, true);
  96655. },
  96656. $signature: 444
  96657. };
  96658. A._EvaluateVisitor_visitAtRule_closure6.prototype = {
  96659. call$0() {
  96660. var t2, t3, _i, _this = this,
  96661. t1 = _this.$this,
  96662. styleRule = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  96663. if (styleRule == null || t1._evaluate0$_inKeyframes || J.$eq$(_this.name.value, "font-face"))
  96664. for (t2 = _this.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  96665. t2[_i].accept$1(t1);
  96666. else
  96667. t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule._style_rule0$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitAtRule__closure1(t1, _this.children), false, type$.ModifiableCssStyleRule_2, type$.Null);
  96668. },
  96669. $signature: 2
  96670. };
  96671. A._EvaluateVisitor_visitAtRule__closure1.prototype = {
  96672. call$0() {
  96673. var t1, t2, t3, _i;
  96674. for (t1 = this.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  96675. t1[_i].accept$1(t3);
  96676. },
  96677. $signature: 2
  96678. };
  96679. A._EvaluateVisitor_visitAtRule_closure7.prototype = {
  96680. call$1(node) {
  96681. return node instanceof A.ModifiableCssStyleRule0;
  96682. },
  96683. $signature: 8
  96684. };
  96685. A._EvaluateVisitor_visitForRule_closure9.prototype = {
  96686. call$0() {
  96687. return this.node.from.accept$1(this.$this).assertNumber$0();
  96688. },
  96689. $signature: 243
  96690. };
  96691. A._EvaluateVisitor_visitForRule_closure10.prototype = {
  96692. call$0() {
  96693. return this.node.to.accept$1(this.$this).assertNumber$0();
  96694. },
  96695. $signature: 243
  96696. };
  96697. A._EvaluateVisitor_visitForRule_closure11.prototype = {
  96698. call$0() {
  96699. return this.fromNumber.assertInt$0();
  96700. },
  96701. $signature: 3
  96702. };
  96703. A._EvaluateVisitor_visitForRule_closure12.prototype = {
  96704. call$0() {
  96705. var t1 = this.fromNumber;
  96706. return this.toNumber.coerce$2(t1.get$numeratorUnits(t1), t1.get$denominatorUnits(t1)).assertInt$0();
  96707. },
  96708. $signature: 3
  96709. };
  96710. A._EvaluateVisitor_visitForRule_closure13.prototype = {
  96711. call$0() {
  96712. var i, t3, t4, t5, t6, t7, t8, _0_0, result, _this = this,
  96713. t1 = _this.$this,
  96714. t2 = _this.node,
  96715. nodeWithSpan = t1._evaluate0$_expressionNode$1(t2.from);
  96716. 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) {
  96717. t7 = t1._evaluate0$_environment;
  96718. t8 = t6.get$numeratorUnits(t6);
  96719. t7.setLocalVariable$3(t5, A.SassNumber_SassNumber$withUnits0(i, t6.get$denominatorUnits(t6), t8), nodeWithSpan);
  96720. _0_0 = t1._evaluate0$_handleReturn$2(t2, new A._EvaluateVisitor_visitForRule__closure1(t1));
  96721. if (_0_0 != null) {
  96722. result = _0_0;
  96723. t7 = true;
  96724. } else {
  96725. result = null;
  96726. t7 = false;
  96727. }
  96728. if (t7)
  96729. return result;
  96730. }
  96731. return null;
  96732. },
  96733. $signature: 46
  96734. };
  96735. A._EvaluateVisitor_visitForRule__closure1.prototype = {
  96736. call$1(child) {
  96737. return child.accept$1(this.$this);
  96738. },
  96739. $signature: 110
  96740. };
  96741. A._EvaluateVisitor_visitForwardRule_closure3.prototype = {
  96742. call$2(module, firstLoad) {
  96743. if (firstLoad)
  96744. this.$this._evaluate0$_registerCommentsForModule$1(module);
  96745. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  96746. },
  96747. $signature: 107
  96748. };
  96749. A._EvaluateVisitor_visitForwardRule_closure4.prototype = {
  96750. call$2(module, firstLoad) {
  96751. if (firstLoad)
  96752. this.$this._evaluate0$_registerCommentsForModule$1(module);
  96753. this.$this._evaluate0$_environment.forwardModule$2(module, this.node);
  96754. },
  96755. $signature: 107
  96756. };
  96757. A._EvaluateVisitor__registerCommentsForModule_closure1.prototype = {
  96758. call$0() {
  96759. return A._setArrayType([], type$.JSArray_CssComment_2);
  96760. },
  96761. $signature: 149
  96762. };
  96763. A._EvaluateVisitor_visitIfRule_closure1.prototype = {
  96764. call$1(clause) {
  96765. var t1 = this.$this;
  96766. return t1._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure1(t1, clause), true, clause.hasDeclarations, type$.nullable_Value_2);
  96767. },
  96768. $signature: 446
  96769. };
  96770. A._EvaluateVisitor_visitIfRule__closure1.prototype = {
  96771. call$0() {
  96772. var t1 = this.$this;
  96773. return t1._evaluate0$_handleReturn$2(this.clause.children, new A._EvaluateVisitor_visitIfRule___closure1(t1));
  96774. },
  96775. $signature: 46
  96776. };
  96777. A._EvaluateVisitor_visitIfRule___closure1.prototype = {
  96778. call$1(child) {
  96779. return child.accept$1(this.$this);
  96780. },
  96781. $signature: 110
  96782. };
  96783. A._EvaluateVisitor__visitDynamicImport_closure1.prototype = {
  96784. call$0() {
  96785. var t1, t2, _0_0, stylesheet, importer, isDependency, url, t3, t4, oldImporter, oldInDependency, loadsUserDefinedModules, children, t5, t6, t7, t8, t9, t10, environment, module, visitor, _box_0 = {};
  96786. _box_0.isDependency = _box_0.importer = _box_0.stylesheet = null;
  96787. t1 = this.$this;
  96788. t2 = this.$import;
  96789. _0_0 = t1._evaluate0$_loadStylesheet$3$forImport(t2.urlString, t2.span, true);
  96790. stylesheet = _box_0.stylesheet = _0_0._0;
  96791. importer = _0_0._1;
  96792. _box_0.importer = importer;
  96793. isDependency = _0_0._2;
  96794. _box_0.isDependency = isDependency;
  96795. url = stylesheet.span.file.url;
  96796. if (url != null) {
  96797. t3 = t1._evaluate0$_activeModules;
  96798. if (t3.containsKey$1(url)) {
  96799. t2 = A.NullableExtension_andThen0(t3.$index(0, url), new A._EvaluateVisitor__visitDynamicImport__closure7(t1));
  96800. throw A.wrapException(t2 == null ? t1._evaluate0$_exception$1("This file is already being loaded.") : t2);
  96801. }
  96802. t3.$indexSet(0, url, t2);
  96803. }
  96804. t2 = stylesheet._stylesheet1$_uses;
  96805. t3 = type$.UnmodifiableListView_UseRule_2;
  96806. t4 = new A.UnmodifiableListView(t2, t3);
  96807. if (t4.get$length(t4) === 0) {
  96808. t4 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  96809. t4 = t4.get$length(t4) === 0;
  96810. } else
  96811. t4 = false;
  96812. if (t4) {
  96813. oldImporter = t1._evaluate0$_importer;
  96814. t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet");
  96815. oldInDependency = t1._evaluate0$_inDependency;
  96816. t1._evaluate0$_importer = importer;
  96817. t1._evaluate0$__stylesheet = stylesheet;
  96818. t1._evaluate0$_inDependency = isDependency;
  96819. t1.visitStylesheet$1(stylesheet);
  96820. t1._evaluate0$_importer = oldImporter;
  96821. t1._evaluate0$__stylesheet = t2;
  96822. t1._evaluate0$_inDependency = oldInDependency;
  96823. t1._evaluate0$_activeModules.remove$1(0, url);
  96824. return;
  96825. }
  96826. t2 = new A.UnmodifiableListView(t2, t3);
  96827. if (!t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure8())) {
  96828. t2 = new A.UnmodifiableListView(stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  96829. loadsUserDefinedModules = t2.any$1(t2, new A._EvaluateVisitor__visitDynamicImport__closure9());
  96830. } else
  96831. loadsUserDefinedModules = true;
  96832. children = A._Cell$();
  96833. t2 = t1._evaluate0$_environment;
  96834. t3 = type$.String;
  96835. t4 = type$.Module_Callable_2;
  96836. t5 = type$.AstNode_2;
  96837. t6 = A._setArrayType([], type$.JSArray_Module_Callable_2);
  96838. t7 = t2._environment0$_variables;
  96839. t7 = A._setArrayType(t7.slice(0), A._arrayInstanceType(t7));
  96840. t8 = t2._environment0$_variableNodes;
  96841. t8 = A._setArrayType(t8.slice(0), A._arrayInstanceType(t8));
  96842. t9 = t2._environment0$_functions;
  96843. t9 = A._setArrayType(t9.slice(0), A._arrayInstanceType(t9));
  96844. t10 = t2._environment0$_mixins;
  96845. t10 = A._setArrayType(t10.slice(0), A._arrayInstanceType(t10));
  96846. 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);
  96847. t1._evaluate0$_withEnvironment$2(environment, new A._EvaluateVisitor__visitDynamicImport__closure10(_box_0, t1, loadsUserDefinedModules, environment, children));
  96848. module = environment.toDummyModule$0();
  96849. t1._evaluate0$_environment.importForwards$1(module);
  96850. if (loadsUserDefinedModules) {
  96851. if (module.transitivelyContainsCss)
  96852. t1._evaluate0$_combineCss$2$clone(module, module.transitivelyContainsExtensions).accept$1(t1);
  96853. visitor = new A._ImportedCssVisitor1(t1);
  96854. for (t2 = J.get$iterator$ax(children._readLocal$0()); t2.moveNext$0();)
  96855. t2.get$current(t2).accept$1(visitor);
  96856. }
  96857. t1._evaluate0$_activeModules.remove$1(0, url);
  96858. },
  96859. $signature: 0
  96860. };
  96861. A._EvaluateVisitor__visitDynamicImport__closure7.prototype = {
  96862. call$1(previousLoad) {
  96863. 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));
  96864. },
  96865. $signature: 82
  96866. };
  96867. A._EvaluateVisitor__visitDynamicImport__closure8.prototype = {
  96868. call$1(rule) {
  96869. return rule.url.get$scheme() !== "sass";
  96870. },
  96871. $signature: 198
  96872. };
  96873. A._EvaluateVisitor__visitDynamicImport__closure9.prototype = {
  96874. call$1(rule) {
  96875. return rule.url.get$scheme() !== "sass";
  96876. },
  96877. $signature: 199
  96878. };
  96879. A._EvaluateVisitor__visitDynamicImport__closure10.prototype = {
  96880. call$0() {
  96881. var t7, t8, _this = this,
  96882. t1 = _this.$this,
  96883. oldImporter = t1._evaluate0$_importer,
  96884. t2 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__stylesheet, "_stylesheet"),
  96885. t3 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"),
  96886. t4 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent"),
  96887. t5 = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, "_endOfImports"),
  96888. oldOutOfOrderImports = t1._evaluate0$_outOfOrderImports,
  96889. oldConfiguration = t1._evaluate0$_configuration,
  96890. oldInDependency = t1._evaluate0$_inDependency,
  96891. t6 = _this._box_0;
  96892. t1._evaluate0$_importer = t6.importer;
  96893. t7 = t6.stylesheet;
  96894. t1._evaluate0$__stylesheet = t7;
  96895. t8 = _this.loadsUserDefinedModules;
  96896. if (t8) {
  96897. t7 = A.ModifiableCssStylesheet$0(t7.span);
  96898. t1._evaluate0$__root = t7;
  96899. t1._evaluate0$__parent = t1._evaluate0$_assertInModule$2(t7, "_root");
  96900. t1._evaluate0$__endOfImports = 0;
  96901. t1._evaluate0$_outOfOrderImports = null;
  96902. }
  96903. t1._evaluate0$_inDependency = t6.isDependency;
  96904. t7 = new A.UnmodifiableListView(t6.stylesheet._stylesheet1$_forwards, type$.UnmodifiableListView_ForwardRule_2);
  96905. if (!t7.get$isEmpty(t7))
  96906. t1._evaluate0$_configuration = _this.environment.toImplicitConfiguration$0();
  96907. t1.visitStylesheet$1(t6.stylesheet);
  96908. t6 = t8 ? t1._evaluate0$_addOutOfOrderImports$0() : A._setArrayType([], type$.JSArray_ModifiableCssNode_2);
  96909. _this.children._value = t6;
  96910. t1._evaluate0$_importer = oldImporter;
  96911. t1._evaluate0$__stylesheet = t2;
  96912. if (t8) {
  96913. t1._evaluate0$__root = t3;
  96914. t1._evaluate0$__parent = t4;
  96915. t1._evaluate0$__endOfImports = t5;
  96916. t1._evaluate0$_outOfOrderImports = oldOutOfOrderImports;
  96917. }
  96918. t1._evaluate0$_configuration = oldConfiguration;
  96919. t1._evaluate0$_inDependency = oldInDependency;
  96920. },
  96921. $signature: 2
  96922. };
  96923. A._EvaluateVisitor__applyMixin_closure6.prototype = {
  96924. call$0() {
  96925. var _this = this,
  96926. t1 = _this.$this;
  96927. t1._evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure4(t1, _this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent));
  96928. },
  96929. $signature: 0
  96930. };
  96931. A._EvaluateVisitor__applyMixin__closure4.prototype = {
  96932. call$0() {
  96933. var _this = this;
  96934. _this.$this._evaluate0$_runBuiltInCallable$3(_this.$arguments, _this.mixin, _this.nodeWithSpanWithoutContent);
  96935. },
  96936. $signature: 0
  96937. };
  96938. A._EvaluateVisitor__applyMixin_closure5.prototype = {
  96939. call$0() {
  96940. var t1 = this._1_0;
  96941. if (t1 == null)
  96942. t1 = type$.Callable_2._as(t1);
  96943. return type$.UserDefinedCallable_Environment_2._as(t1).declaration;
  96944. },
  96945. $signature: 139
  96946. };
  96947. A._EvaluateVisitor__applyMixin_closure7.prototype = {
  96948. call$0() {
  96949. var _this = this,
  96950. t1 = _this.$this;
  96951. t1._evaluate0$_environment.withContent$2(_this.contentCallable, new A._EvaluateVisitor__applyMixin__closure3(t1, _this.mixin, _this.nodeWithSpanWithoutContent));
  96952. },
  96953. $signature: 2
  96954. };
  96955. A._EvaluateVisitor__applyMixin__closure3.prototype = {
  96956. call$0() {
  96957. var t1 = this.$this;
  96958. t1._evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure1(t1, this.mixin, this.nodeWithSpanWithoutContent));
  96959. },
  96960. $signature: 0
  96961. };
  96962. A._EvaluateVisitor__applyMixin___closure1.prototype = {
  96963. call$0() {
  96964. var t1, t2, t3, t4, _i;
  96965. for (t1 = this.mixin.declaration.children, t2 = t1.length, t3 = this.$this, t4 = this.nodeWithSpanWithoutContent, _i = 0; _i < t2; ++_i)
  96966. t3._evaluate0$_addErrorSpan$2(t4, new A._EvaluateVisitor__applyMixin____closure1(t3, t1[_i]));
  96967. },
  96968. $signature: 0
  96969. };
  96970. A._EvaluateVisitor__applyMixin____closure1.prototype = {
  96971. call$0() {
  96972. return this.statement.accept$1(this.$this);
  96973. },
  96974. $signature: 46
  96975. };
  96976. A._EvaluateVisitor_visitIncludeRule_closure5.prototype = {
  96977. call$0() {
  96978. var t1 = this.node;
  96979. return this.$this._evaluate0$_environment.getMixin$2$namespace(t1.name, t1.namespace);
  96980. },
  96981. $signature: 90
  96982. };
  96983. A._EvaluateVisitor_visitIncludeRule_closure6.prototype = {
  96984. call$1($content) {
  96985. var t1 = this.$this;
  96986. return new A.UserDefinedCallable0($content, t1._evaluate0$_environment.closure$0(), t1._evaluate0$_inDependency, type$.UserDefinedCallable_Environment_2);
  96987. },
  96988. $signature: 447
  96989. };
  96990. A._EvaluateVisitor_visitIncludeRule_closure7.prototype = {
  96991. call$0() {
  96992. return this.node.get$spanWithoutContent();
  96993. },
  96994. $signature: 33
  96995. };
  96996. A._EvaluateVisitor_visitMediaRule_closure5.prototype = {
  96997. call$1(mediaQueries) {
  96998. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.queries);
  96999. },
  97000. $signature: 89
  97001. };
  97002. A._EvaluateVisitor_visitMediaRule_closure6.prototype = {
  97003. call$0() {
  97004. var _this = this,
  97005. t1 = _this.$this,
  97006. t2 = _this.mergedQueries;
  97007. if (t2 == null)
  97008. t2 = _this.queries;
  97009. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitMediaRule__closure1(t1, _this.node));
  97010. },
  97011. $signature: 2
  97012. };
  97013. A._EvaluateVisitor_visitMediaRule__closure1.prototype = {
  97014. call$0() {
  97015. var styleRule, t2, t3, _i,
  97016. t1 = this.$this,
  97017. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  97018. if (_0_0 != null) {
  97019. styleRule = _0_0;
  97020. t2 = true;
  97021. } else {
  97022. styleRule = null;
  97023. t2 = false;
  97024. }
  97025. if (t2)
  97026. t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule._style_rule0$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitMediaRule___closure1(t1, this.node), false, type$.ModifiableCssStyleRule_2, type$.Null);
  97027. else
  97028. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  97029. t2[_i].accept$1(t1);
  97030. },
  97031. $signature: 2
  97032. };
  97033. A._EvaluateVisitor_visitMediaRule___closure1.prototype = {
  97034. call$0() {
  97035. var t1, t2, t3, _i;
  97036. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  97037. t1[_i].accept$1(t3);
  97038. },
  97039. $signature: 2
  97040. };
  97041. A._EvaluateVisitor_visitMediaRule_closure7.prototype = {
  97042. call$1(node) {
  97043. var t1;
  97044. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  97045. t1 = this.mergedSources;
  97046. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  97047. } else
  97048. t1 = true;
  97049. return t1;
  97050. },
  97051. $signature: 8
  97052. };
  97053. A._EvaluateVisitor_visitStyleRule_closure9.prototype = {
  97054. call$0() {
  97055. var t1, t2, t3, _i;
  97056. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  97057. t1[_i].accept$1(t3);
  97058. },
  97059. $signature: 2
  97060. };
  97061. A._EvaluateVisitor_visitStyleRule_closure10.prototype = {
  97062. call$1(node) {
  97063. return node instanceof A.ModifiableCssStyleRule0;
  97064. },
  97065. $signature: 8
  97066. };
  97067. A._EvaluateVisitor_visitStyleRule_closure11.prototype = {
  97068. call$0() {
  97069. var t1 = this.$this;
  97070. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitStyleRule__closure1(t1, this.node));
  97071. },
  97072. $signature: 2
  97073. };
  97074. A._EvaluateVisitor_visitStyleRule__closure1.prototype = {
  97075. call$0() {
  97076. var t1, t2, t3, _i;
  97077. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  97078. t1[_i].accept$1(t3);
  97079. },
  97080. $signature: 2
  97081. };
  97082. A._EvaluateVisitor_visitStyleRule_closure12.prototype = {
  97083. call$1(node) {
  97084. return node instanceof A.ModifiableCssStyleRule0;
  97085. },
  97086. $signature: 8
  97087. };
  97088. A._EvaluateVisitor_visitStyleRule_closure13.prototype = {
  97089. call$1(child) {
  97090. return child instanceof A.ModifiableCssComment0;
  97091. },
  97092. $signature: 144
  97093. };
  97094. A._EvaluateVisitor_visitSupportsRule_closure3.prototype = {
  97095. call$0() {
  97096. var styleRule, t2, t3, _i,
  97097. t1 = this.$this,
  97098. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  97099. if (_0_0 != null) {
  97100. styleRule = _0_0;
  97101. t2 = true;
  97102. } else {
  97103. styleRule = null;
  97104. t2 = false;
  97105. }
  97106. if (t2)
  97107. t1._evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(styleRule._style_rule0$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitSupportsRule__closure1(t1, this.node), type$.ModifiableCssStyleRule_2, type$.Null);
  97108. else
  97109. for (t2 = this.node.children, t3 = t2.length, _i = 0; _i < t3; ++_i)
  97110. t2[_i].accept$1(t1);
  97111. },
  97112. $signature: 2
  97113. };
  97114. A._EvaluateVisitor_visitSupportsRule__closure1.prototype = {
  97115. call$0() {
  97116. var t1, t2, t3, _i;
  97117. for (t1 = this.node.children, t2 = t1.length, t3 = this.$this, _i = 0; _i < t2; ++_i)
  97118. t1[_i].accept$1(t3);
  97119. },
  97120. $signature: 2
  97121. };
  97122. A._EvaluateVisitor_visitSupportsRule_closure4.prototype = {
  97123. call$1(node) {
  97124. return node instanceof A.ModifiableCssStyleRule0;
  97125. },
  97126. $signature: 8
  97127. };
  97128. A._EvaluateVisitor__visitSupportsCondition_closure1.prototype = {
  97129. call$0() {
  97130. var t4,
  97131. t1 = this.$this,
  97132. t2 = this._box_0,
  97133. t3 = t2.declaration.name;
  97134. t3 = t1._evaluate0$_serialize$3$quote(t3.accept$1(t1), t3, true);
  97135. t4 = t2.declaration.get$isCustomProperty() ? "" : " ";
  97136. t2 = t2.declaration.value;
  97137. return "(" + t3 + ":" + t4 + t1._evaluate0$_serialize$3$quote(t2.accept$1(t1), t2, true) + ")";
  97138. },
  97139. $signature: 21
  97140. };
  97141. A._EvaluateVisitor_visitVariableDeclaration_closure5.prototype = {
  97142. call$0() {
  97143. var t1 = this.$this._evaluate0$_environment,
  97144. t2 = this._box_0.override;
  97145. t1.setVariable$4$global(this.node.name, t2.value, t2.assignmentNode, true);
  97146. },
  97147. $signature: 2
  97148. };
  97149. A._EvaluateVisitor_visitVariableDeclaration_closure6.prototype = {
  97150. call$0() {
  97151. var t1 = this.node;
  97152. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  97153. },
  97154. $signature: 46
  97155. };
  97156. A._EvaluateVisitor_visitVariableDeclaration_closure7.prototype = {
  97157. call$0() {
  97158. var t1 = this.$this,
  97159. t2 = this.node;
  97160. t1._evaluate0$_environment.setVariable$5$global$namespace(t2.name, this.value, t1._evaluate0$_expressionNode$1(t2.expression), t2.isGlobal, t2.namespace);
  97161. },
  97162. $signature: 2
  97163. };
  97164. A._EvaluateVisitor_visitUseRule_closure1.prototype = {
  97165. call$2(module, firstLoad) {
  97166. var t1, t2, t3, _0_0, $name, t4, t5, span;
  97167. if (firstLoad)
  97168. this.$this._evaluate0$_registerCommentsForModule$1(module);
  97169. t1 = this.$this._evaluate0$_environment;
  97170. t2 = this.node;
  97171. t3 = t2.namespace;
  97172. if (t3 == null) {
  97173. t1._environment0$_globalModules.$indexSet(0, module, t2);
  97174. t1._environment0$_allModules.push(module);
  97175. _0_0 = A.IterableExtension_firstWhereOrNull(J.get$keys$z(B.JSArray_methods.get$first(t1._environment0$_variables)), module.get$variables().get$containsKey());
  97176. if (_0_0 != null) {
  97177. $name = _0_0;
  97178. t1 = true;
  97179. } else {
  97180. $name = null;
  97181. t1 = false;
  97182. }
  97183. if (t1)
  97184. A.throwExpression(A.SassScriptException$0(string$.This_ma + A.S($name) + '".', null));
  97185. } else {
  97186. t4 = t1._environment0$_modules;
  97187. if (t4.containsKey$1(t3)) {
  97188. t5 = t1._environment0$_namespaceNodes.$index(0, t3);
  97189. span = t5 == null ? null : t5.span;
  97190. t5 = A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String);
  97191. if (span != null)
  97192. t5.$indexSet(0, span, "original @use");
  97193. A.throwExpression(A.MultiSpanSassScriptException$0(string$.There_ + t3 + '".', "new @use", t5));
  97194. }
  97195. t4.$indexSet(0, t3, module);
  97196. t1._environment0$_namespaceNodes.$indexSet(0, t3, t2);
  97197. t1._environment0$_allModules.push(module);
  97198. }
  97199. },
  97200. $signature: 107
  97201. };
  97202. A._EvaluateVisitor_visitWarnRule_closure1.prototype = {
  97203. call$0() {
  97204. return this.node.expression.accept$1(this.$this);
  97205. },
  97206. $signature: 32
  97207. };
  97208. A._EvaluateVisitor_visitWhileRule_closure1.prototype = {
  97209. call$0() {
  97210. var t1, t2, t3, _0_0, result, t4;
  97211. for (t1 = this.node, t2 = t1.condition, t3 = this.$this, t1 = t1.children; t2.accept$1(t3).get$isTruthy();) {
  97212. _0_0 = t3._evaluate0$_handleReturn$2(t1, new A._EvaluateVisitor_visitWhileRule__closure1(t3));
  97213. if (_0_0 != null) {
  97214. result = _0_0;
  97215. t4 = true;
  97216. } else {
  97217. result = null;
  97218. t4 = false;
  97219. }
  97220. if (t4)
  97221. return result;
  97222. }
  97223. return null;
  97224. },
  97225. $signature: 46
  97226. };
  97227. A._EvaluateVisitor_visitWhileRule__closure1.prototype = {
  97228. call$1(child) {
  97229. return child.accept$1(this.$this);
  97230. },
  97231. $signature: 110
  97232. };
  97233. A._EvaluateVisitor_visitBinaryOperationExpression_closure1.prototype = {
  97234. call$0() {
  97235. var t1 = this.node,
  97236. t2 = this.$this,
  97237. left = t1.left.accept$1(t2);
  97238. switch (t1.operator) {
  97239. case B.BinaryOperator_2jN0:
  97240. t1 = t1.right.accept$1(t2);
  97241. t1 = new A.SassString0(A.serializeValue0(left, false, true) + "=" + A.serializeValue0(t1, false, true), false);
  97242. break;
  97243. case B.BinaryOperator_M6L0:
  97244. t1 = left.get$isTruthy() ? left : t1.right.accept$1(t2);
  97245. break;
  97246. case B.BinaryOperator_SNp0:
  97247. t1 = left.get$isTruthy() ? t1.right.accept$1(t2) : left;
  97248. break;
  97249. case B.BinaryOperator_ql50:
  97250. t1 = left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  97251. break;
  97252. case B.BinaryOperator_ViB0:
  97253. t1 = !left.$eq(0, t1.right.accept$1(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  97254. break;
  97255. case B.BinaryOperator_cIH0:
  97256. t1 = left.greaterThan$1(t1.right.accept$1(t2));
  97257. break;
  97258. case B.BinaryOperator_7Tg0:
  97259. t1 = left.greaterThanOrEquals$1(t1.right.accept$1(t2));
  97260. break;
  97261. case B.BinaryOperator_U8c0:
  97262. t1 = left.lessThan$1(t1.right.accept$1(t2));
  97263. break;
  97264. case B.BinaryOperator_kpg0:
  97265. t1 = left.lessThanOrEquals$1(t1.right.accept$1(t2));
  97266. break;
  97267. case B.BinaryOperator_anB0:
  97268. t1 = left.plus$1(t1.right.accept$1(t2));
  97269. break;
  97270. case B.BinaryOperator_olz0:
  97271. t1 = left.minus$1(t1.right.accept$1(t2));
  97272. break;
  97273. case B.BinaryOperator_qN20:
  97274. t1 = left.times$1(t1.right.accept$1(t2));
  97275. break;
  97276. case B.BinaryOperator_t8B0:
  97277. t1 = t2._evaluate0$_slash$3(left, t1.right.accept$1(t2), t1);
  97278. break;
  97279. case B.BinaryOperator_OTG0:
  97280. t1 = left.modulo$1(t1.right.accept$1(t2));
  97281. break;
  97282. default:
  97283. t1 = null;
  97284. }
  97285. return t1;
  97286. },
  97287. $signature: 32
  97288. };
  97289. A._EvaluateVisitor__slash_closure3.prototype = {
  97290. call$0() {
  97291. return this._1_0._0;
  97292. },
  97293. $signature: 32
  97294. };
  97295. A._EvaluateVisitor__slash_closure4.prototype = {
  97296. call$0() {
  97297. return this._1_0._1;
  97298. },
  97299. $signature: 32
  97300. };
  97301. A._EvaluateVisitor__slash_recommendation1.prototype = {
  97302. call$1(expression) {
  97303. var left, right, t1, _null = null;
  97304. $label0$0: {
  97305. if (expression instanceof A.BinaryOperationExpression0)
  97306. if (B.BinaryOperator_t8B0 === expression.operator) {
  97307. left = expression.left;
  97308. right = expression.right;
  97309. t1 = true;
  97310. } else {
  97311. right = _null;
  97312. left = right;
  97313. t1 = false;
  97314. }
  97315. else {
  97316. right = _null;
  97317. left = right;
  97318. t1 = false;
  97319. }
  97320. if (t1) {
  97321. t1 = "math.div(" + A.S(this.call$1(left)) + ", " + A.S(this.call$1(right)) + ")";
  97322. break $label0$0;
  97323. }
  97324. if (expression instanceof A.ParenthesizedExpression0) {
  97325. t1 = expression.expression.toString$0(0);
  97326. break $label0$0;
  97327. }
  97328. t1 = expression.toString$0(0);
  97329. break $label0$0;
  97330. }
  97331. return t1;
  97332. },
  97333. $signature: 137
  97334. };
  97335. A._EvaluateVisitor_visitVariableExpression_closure1.prototype = {
  97336. call$0() {
  97337. var t1 = this.node;
  97338. return this.$this._evaluate0$_environment.getVariable$2$namespace(t1.name, t1.namespace);
  97339. },
  97340. $signature: 46
  97341. };
  97342. A._EvaluateVisitor_visitUnaryOperationExpression_closure1.prototype = {
  97343. call$0() {
  97344. var t1, _this = this;
  97345. switch (_this.node.operator) {
  97346. case B.UnaryOperator_gg40:
  97347. t1 = _this.operand.unaryPlus$0();
  97348. break;
  97349. case B.UnaryOperator_TLI0:
  97350. t1 = _this.operand.unaryMinus$0();
  97351. break;
  97352. case B.UnaryOperator_Ix10:
  97353. t1 = new A.SassString0("/" + A.serializeValue0(_this.operand, false, true), false);
  97354. break;
  97355. case B.UnaryOperator_not_not_not0:
  97356. t1 = _this.operand.unaryNot$0();
  97357. break;
  97358. default:
  97359. t1 = null;
  97360. }
  97361. return t1;
  97362. },
  97363. $signature: 32
  97364. };
  97365. A._EvaluateVisitor_visitListExpression_closure1.prototype = {
  97366. call$1(expression) {
  97367. return expression.accept$1(this.$this);
  97368. },
  97369. $signature: 448
  97370. };
  97371. A._EvaluateVisitor_visitFunctionExpression_closure5.prototype = {
  97372. call$0() {
  97373. var t1 = this.$this._evaluate0$_environment,
  97374. t2 = this.node;
  97375. return t1.getFunction$2$namespace(A.stringReplaceAllUnchecked(t2.originalName, "_", "-"), t2.namespace);
  97376. },
  97377. $signature: 90
  97378. };
  97379. A._EvaluateVisitor_visitFunctionExpression_closure6.prototype = {
  97380. call$1(argument) {
  97381. return argument.accept$1(new A._IsCalculationSafeVisitor0());
  97382. },
  97383. $signature: 136
  97384. };
  97385. A._EvaluateVisitor_visitFunctionExpression_closure7.prototype = {
  97386. call$0() {
  97387. var t1 = this.node;
  97388. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this._box_0.$function, t1);
  97389. },
  97390. $signature: 32
  97391. };
  97392. A._EvaluateVisitor__checkCalculationArguments_check1.prototype = {
  97393. call$1(maxArgs) {
  97394. var t1 = this.node,
  97395. t2 = t1.$arguments.positional.length;
  97396. if (t2 === 0)
  97397. throw A.wrapException(this.$this._evaluate0$_exception$2("Missing argument.", t1.span));
  97398. else if (maxArgs != null && t2 > maxArgs)
  97399. throw A.wrapException(this.$this._evaluate0$_exception$2("Only " + A.S(maxArgs) + " " + A.pluralize0("argument", maxArgs, null) + " allowed, but " + t2 + " " + A.pluralize0("was", t2, "were") + " passed.", t1.span));
  97400. },
  97401. call$0() {
  97402. return this.call$1(null);
  97403. },
  97404. $signature: 86
  97405. };
  97406. A._EvaluateVisitor__visitCalculationExpression_closure1.prototype = {
  97407. call$0() {
  97408. var _this = this,
  97409. t1 = _this.$this,
  97410. t2 = _this._box_0,
  97411. t3 = _this.inLegacySassFunction;
  97412. return A.SassCalculation_operateInternal0(t1._evaluate0$_binaryOperatorToCalculationOperator$2(t2.operator, _this.node), t1._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.left, t3), t1._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(t2.right, t3), t3, !t1._evaluate0$_inSupportsDeclaration);
  97413. },
  97414. $signature: 14
  97415. };
  97416. A._EvaluateVisitor__checkAdjacentCalculationValues_closure1.prototype = {
  97417. call$0() {
  97418. return type$.UnaryOperationExpression_2._as(this._0_0).operator;
  97419. },
  97420. $signature: 122
  97421. };
  97422. A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1.prototype = {
  97423. call$0() {
  97424. var t1 = this.node;
  97425. return this.$this._evaluate0$_runFunctionCallable$3(t1.$arguments, this.$function, t1);
  97426. },
  97427. $signature: 32
  97428. };
  97429. A._EvaluateVisitor__runUserDefinedCallable_closure1.prototype = {
  97430. call$0() {
  97431. var _this = this,
  97432. t1 = _this.$this,
  97433. t2 = _this.callable;
  97434. return t1._evaluate0$_withEnvironment$2(t2.environment.closure$0(), new A._EvaluateVisitor__runUserDefinedCallable__closure1(t1, _this.evaluated, t2, _this.nodeWithSpan, _this.run, _this.V));
  97435. },
  97436. $signature() {
  97437. return this.V._eval$1("0()");
  97438. }
  97439. };
  97440. A._EvaluateVisitor__runUserDefinedCallable__closure1.prototype = {
  97441. call$0() {
  97442. var _this = this,
  97443. t1 = _this.$this,
  97444. t2 = _this.V;
  97445. return t1._evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure1(t1, _this.evaluated, _this.callable, _this.nodeWithSpan, _this.run, t2), t2);
  97446. },
  97447. $signature() {
  97448. return this.V._eval$1("0()");
  97449. }
  97450. };
  97451. A._EvaluateVisitor__runUserDefinedCallable___closure1.prototype = {
  97452. call$0() {
  97453. var declaredArguments, t5, minLength, i, argument, t6, t7, value, t8, restArgument, rest, argumentList, result, argumentWord, _this = this,
  97454. t1 = _this.$this,
  97455. t2 = _this.evaluated._values,
  97456. t3 = _this.callable.declaration.$arguments,
  97457. t4 = _this.nodeWithSpan;
  97458. t1._evaluate0$_verifyArguments$4(J.get$length$asx(t2[2]), t2[0], t3, t4);
  97459. declaredArguments = t3.$arguments;
  97460. t5 = declaredArguments.length;
  97461. minLength = Math.min(J.get$length$asx(t2[2]), t5);
  97462. for (i = 0; i < minLength; ++i)
  97463. t1._evaluate0$_environment.setLocalVariable$3(declaredArguments[i].name, J.$index$asx(t2[2], i), J.$index$asx(t2[3], i));
  97464. for (i = J.get$length$asx(t2[2]); i < t5; ++i) {
  97465. argument = declaredArguments[i];
  97466. t6 = t2[0];
  97467. t7 = argument.name;
  97468. value = J.remove$1$z(t6, t7);
  97469. if (value == null) {
  97470. t6 = argument.defaultValue;
  97471. value = t1._evaluate0$_withoutSlash$2(t6.accept$1(t1), t1._evaluate0$_expressionNode$1(t6));
  97472. }
  97473. t6 = t1._evaluate0$_environment;
  97474. t8 = J.$index$asx(t2[1], t7);
  97475. if (t8 == null) {
  97476. t8 = argument.defaultValue;
  97477. t8.toString;
  97478. t8 = t1._evaluate0$_expressionNode$1(t8);
  97479. }
  97480. t6.setLocalVariable$3(t7, value, t8);
  97481. }
  97482. restArgument = t3.restArgument;
  97483. if (restArgument != null) {
  97484. rest = J.get$length$asx(t2[2]) > t5 ? J.sublist$1$ax(t2[2], t5) : B.List_empty19;
  97485. t5 = t2[0];
  97486. t6 = t2[4];
  97487. argumentList = A.SassArgumentList$0(rest, t5, t6 === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_rXA0 : t6);
  97488. t1._evaluate0$_environment.setLocalVariable$3(restArgument, argumentList, t4);
  97489. } else
  97490. argumentList = null;
  97491. result = _this.run.call$0();
  97492. if (argumentList == null)
  97493. return result;
  97494. t5 = t2[0].__js_helper$_length;
  97495. if (t5 === 0)
  97496. return result;
  97497. if (argumentList._argument_list$_wereKeywordsAccessed)
  97498. return result;
  97499. argumentWord = A.pluralize0("argument", t5, null);
  97500. t2 = t2[0];
  97501. t5 = A.instanceType(t2)._eval$1("LinkedHashMapKeyIterable<1>");
  97502. throw A.wrapException(A.MultiSpanSassRuntimeException$0("No " + argumentWord + " named " + A.toSentence0(A.MappedIterable_MappedIterable(new A.LinkedHashMapKeyIterable(t2, t5), new A._EvaluateVisitor__runUserDefinedCallable____closure1(), t5._eval$1("Iterable.E"), type$.Object), "or") + ".", t4.get$span(t4), "invocation", A.LinkedHashMap_LinkedHashMap$_literal([t3.get$spanWithName(), "declaration"], type$.FileSpan, type$.String), t1._evaluate0$_stackTrace$1(t4.get$span(t4)), null));
  97503. },
  97504. $signature() {
  97505. return this.V._eval$1("0()");
  97506. }
  97507. };
  97508. A._EvaluateVisitor__runUserDefinedCallable____closure1.prototype = {
  97509. call$1($name) {
  97510. return "$" + $name;
  97511. },
  97512. $signature: 7
  97513. };
  97514. A._EvaluateVisitor__runFunctionCallable_closure1.prototype = {
  97515. call$0() {
  97516. var t1, t2, t3, t4, _i, $returnValue;
  97517. for (t1 = this.callable.declaration, t2 = t1.children, t3 = t2.length, t4 = this.$this, _i = 0; _i < t3; ++_i) {
  97518. $returnValue = t2[_i].accept$1(t4);
  97519. if ($returnValue instanceof A.Value0)
  97520. return $returnValue;
  97521. }
  97522. throw A.wrapException(t4._evaluate0$_exception$2("Function finished without @return.", t1.span));
  97523. },
  97524. $signature: 32
  97525. };
  97526. A._EvaluateVisitor__runBuiltInCallable_closure5.prototype = {
  97527. call$0() {
  97528. return this._box_0.overload.verify$2(J.get$length$asx(this.evaluated._values[2]), this.namedSet);
  97529. },
  97530. $signature: 0
  97531. };
  97532. A._EvaluateVisitor__runBuiltInCallable_closure6.prototype = {
  97533. call$0() {
  97534. return this._box_0.callback.call$1(this.evaluated._values[2]);
  97535. },
  97536. $signature: 32
  97537. };
  97538. A._EvaluateVisitor__runBuiltInCallable_closure7.prototype = {
  97539. call$1($name) {
  97540. return "$" + $name;
  97541. },
  97542. $signature: 7
  97543. };
  97544. A._EvaluateVisitor__evaluateArguments_closure7.prototype = {
  97545. call$1(value) {
  97546. return value;
  97547. },
  97548. $signature: 45
  97549. };
  97550. A._EvaluateVisitor__evaluateArguments_closure8.prototype = {
  97551. call$1(value) {
  97552. return this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan);
  97553. },
  97554. $signature: 45
  97555. };
  97556. A._EvaluateVisitor__evaluateArguments_closure9.prototype = {
  97557. call$2(key, value) {
  97558. var _this = this,
  97559. t1 = _this.restNodeForSpan;
  97560. _this.named.$indexSet(0, key, _this.$this._evaluate0$_withoutSlash$2(value, t1));
  97561. _this.namedNodes.$indexSet(0, key, t1);
  97562. },
  97563. $signature: 112
  97564. };
  97565. A._EvaluateVisitor__evaluateArguments_closure10.prototype = {
  97566. call$1(value) {
  97567. return value;
  97568. },
  97569. $signature: 45
  97570. };
  97571. A._EvaluateVisitor__evaluateMacroArguments_closure7.prototype = {
  97572. call$1(value) {
  97573. var t1 = this.restArgs;
  97574. return new A.ValueExpression0(value, t1.get$span(t1));
  97575. },
  97576. $signature: 58
  97577. };
  97578. A._EvaluateVisitor__evaluateMacroArguments_closure8.prototype = {
  97579. call$1(value) {
  97580. var t1 = this.restArgs;
  97581. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.restNodeForSpan), t1.get$span(t1));
  97582. },
  97583. $signature: 58
  97584. };
  97585. A._EvaluateVisitor__evaluateMacroArguments_closure9.prototype = {
  97586. call$2(key, value) {
  97587. var _this = this,
  97588. t1 = _this.restArgs;
  97589. _this.named.$indexSet(0, key, new A.ValueExpression0(_this.$this._evaluate0$_withoutSlash$2(value, _this.restNodeForSpan), t1.get$span(t1)));
  97590. },
  97591. $signature: 112
  97592. };
  97593. A._EvaluateVisitor__evaluateMacroArguments_closure10.prototype = {
  97594. call$1(value) {
  97595. var t1 = this.keywordRestArgs;
  97596. return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(value, this.keywordRestNodeForSpan), t1.get$span(t1));
  97597. },
  97598. $signature: 58
  97599. };
  97600. A._EvaluateVisitor__addRestMap_closure1.prototype = {
  97601. call$2(key, value) {
  97602. var t2, _this = this,
  97603. t1 = _this.$this;
  97604. if (key instanceof A.SassString0)
  97605. _this.values.$indexSet(0, key._string0$_text, _this.convert.call$1(t1._evaluate0$_withoutSlash$2(value, _this.expressionNode)));
  97606. else {
  97607. t2 = _this.nodeWithSpan;
  97608. 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)));
  97609. }
  97610. },
  97611. $signature: 105
  97612. };
  97613. A._EvaluateVisitor__verifyArguments_closure1.prototype = {
  97614. call$0() {
  97615. return this.$arguments.verify$2(this.positional, new A.MapKeySet(this.named, type$.MapKeySet_String));
  97616. },
  97617. $signature: 0
  97618. };
  97619. A._EvaluateVisitor_visitCssAtRule_closure3.prototype = {
  97620. call$0() {
  97621. var t1, t2, t3, t4;
  97622. 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();) {
  97623. t4 = t1.__internal$_current;
  97624. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  97625. }
  97626. },
  97627. $signature: 2
  97628. };
  97629. A._EvaluateVisitor_visitCssAtRule_closure4.prototype = {
  97630. call$1(node) {
  97631. return node instanceof A.ModifiableCssStyleRule0;
  97632. },
  97633. $signature: 8
  97634. };
  97635. A._EvaluateVisitor_visitCssKeyframeBlock_closure3.prototype = {
  97636. call$0() {
  97637. var t1, t2, t3, t4;
  97638. 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();) {
  97639. t4 = t1.__internal$_current;
  97640. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  97641. }
  97642. },
  97643. $signature: 2
  97644. };
  97645. A._EvaluateVisitor_visitCssKeyframeBlock_closure4.prototype = {
  97646. call$1(node) {
  97647. return node instanceof A.ModifiableCssStyleRule0;
  97648. },
  97649. $signature: 8
  97650. };
  97651. A._EvaluateVisitor_visitCssMediaRule_closure5.prototype = {
  97652. call$1(mediaQueries) {
  97653. return this.$this._evaluate0$_mergeMediaQueries$2(mediaQueries, this.node.queries);
  97654. },
  97655. $signature: 89
  97656. };
  97657. A._EvaluateVisitor_visitCssMediaRule_closure6.prototype = {
  97658. call$0() {
  97659. var _this = this,
  97660. t1 = _this.$this,
  97661. t2 = _this.mergedQueries;
  97662. if (t2 == null)
  97663. t2 = _this.node.queries;
  97664. t1._evaluate0$_withMediaQueries$3(t2, _this.mergedSources, new A._EvaluateVisitor_visitCssMediaRule__closure1(t1, _this.node));
  97665. },
  97666. $signature: 2
  97667. };
  97668. A._EvaluateVisitor_visitCssMediaRule__closure1.prototype = {
  97669. call$0() {
  97670. var styleRule, t2, t3, t4,
  97671. t1 = this.$this,
  97672. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  97673. if (_0_0 != null) {
  97674. styleRule = _0_0;
  97675. t2 = true;
  97676. } else {
  97677. styleRule = null;
  97678. t2 = false;
  97679. }
  97680. if (t2)
  97681. t1._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(styleRule._style_rule0$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssMediaRule___closure1(t1, this.node), false, type$.ModifiableCssStyleRule_2, type$.Null);
  97682. else
  97683. for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  97684. t4 = t2.__internal$_current;
  97685. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  97686. }
  97687. },
  97688. $signature: 2
  97689. };
  97690. A._EvaluateVisitor_visitCssMediaRule___closure1.prototype = {
  97691. call$0() {
  97692. var t1, t2, t3, t4;
  97693. 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();) {
  97694. t4 = t1.__internal$_current;
  97695. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  97696. }
  97697. },
  97698. $signature: 2
  97699. };
  97700. A._EvaluateVisitor_visitCssMediaRule_closure7.prototype = {
  97701. call$1(node) {
  97702. var t1;
  97703. if (!(node instanceof A.ModifiableCssStyleRule0)) {
  97704. t1 = this.mergedSources;
  97705. t1 = t1.get$isNotEmpty(t1) && node instanceof A.ModifiableCssMediaRule0 && B.JSArray_methods.every$1(node.queries, t1.get$contains(t1));
  97706. } else
  97707. t1 = true;
  97708. return t1;
  97709. },
  97710. $signature: 8
  97711. };
  97712. A._EvaluateVisitor_visitCssStyleRule_closure5.prototype = {
  97713. call$0() {
  97714. var t1 = this.$this;
  97715. t1._evaluate0$_withStyleRule$2(this.rule, new A._EvaluateVisitor_visitCssStyleRule__closure1(t1, this.node));
  97716. },
  97717. $signature: 2
  97718. };
  97719. A._EvaluateVisitor_visitCssStyleRule__closure1.prototype = {
  97720. call$0() {
  97721. var t1, t2, t3, t4;
  97722. 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();) {
  97723. t4 = t1.__internal$_current;
  97724. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  97725. }
  97726. },
  97727. $signature: 2
  97728. };
  97729. A._EvaluateVisitor_visitCssStyleRule_closure6.prototype = {
  97730. call$1(node) {
  97731. return node instanceof A.ModifiableCssStyleRule0;
  97732. },
  97733. $signature: 8
  97734. };
  97735. A._EvaluateVisitor_visitCssStyleRule_closure7.prototype = {
  97736. call$0() {
  97737. return J.get$length$asx(this._0_0._collection$_source);
  97738. },
  97739. $signature: 3
  97740. };
  97741. A._EvaluateVisitor_visitCssSupportsRule_closure3.prototype = {
  97742. call$0() {
  97743. var styleRule, t2, t3, t4,
  97744. t1 = this.$this,
  97745. _0_0 = t1._evaluate0$_atRootExcludingStyleRule ? null : t1._evaluate0$_styleRuleIgnoringAtRoot;
  97746. if (_0_0 != null) {
  97747. styleRule = _0_0;
  97748. t2 = true;
  97749. } else {
  97750. styleRule = null;
  97751. t2 = false;
  97752. }
  97753. if (t2)
  97754. t1._evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(styleRule._style_rule0$_selector, styleRule.span, styleRule.originalSelector), new A._EvaluateVisitor_visitCssSupportsRule__closure1(t1, this.node), type$.ModifiableCssStyleRule_2, type$.Null);
  97755. else
  97756. for (t2 = this.node.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = A._instanceType(t2)._precomputed1; t2.moveNext$0();) {
  97757. t4 = t2.__internal$_current;
  97758. (t4 == null ? t3._as(t4) : t4).accept$1(t1);
  97759. }
  97760. },
  97761. $signature: 2
  97762. };
  97763. A._EvaluateVisitor_visitCssSupportsRule__closure1.prototype = {
  97764. call$0() {
  97765. var t1, t2, t3, t4;
  97766. 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();) {
  97767. t4 = t1.__internal$_current;
  97768. (t4 == null ? t3._as(t4) : t4).accept$1(t2);
  97769. }
  97770. },
  97771. $signature: 2
  97772. };
  97773. A._EvaluateVisitor_visitCssSupportsRule_closure4.prototype = {
  97774. call$1(node) {
  97775. return node instanceof A.ModifiableCssStyleRule0;
  97776. },
  97777. $signature: 8
  97778. };
  97779. A._EvaluateVisitor__performInterpolationHelper_closure1.prototype = {
  97780. call$1(targetLocations) {
  97781. return A.InterpolationMap$0(this.interpolation, targetLocations);
  97782. },
  97783. $signature: 212
  97784. };
  97785. A._EvaluateVisitor__serialize_closure1.prototype = {
  97786. call$0() {
  97787. return A.serializeValue0(this.value, false, this.quote);
  97788. },
  97789. $signature: 21
  97790. };
  97791. A._EvaluateVisitor__expressionNode_closure1.prototype = {
  97792. call$0() {
  97793. var t1 = this.expression;
  97794. return this.$this._evaluate0$_environment.getVariableNode$2$namespace(t1.name, t1.namespace);
  97795. },
  97796. $signature: 213
  97797. };
  97798. A._EvaluateVisitor__withoutSlash_recommendation1.prototype = {
  97799. call$1(number) {
  97800. var t1, before, after,
  97801. _1_0 = number.asSlash;
  97802. $label0$0: {
  97803. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_1_0)) {
  97804. t1 = type$.SassNumber_2;
  97805. before = t1._as(_1_0._0);
  97806. after = t1._as(_1_0._1);
  97807. t1 = true;
  97808. } else {
  97809. before = null;
  97810. after = null;
  97811. t1 = false;
  97812. }
  97813. if (t1) {
  97814. t1 = "math.div(" + A.S(this.call$1(before)) + ", " + A.S(this.call$1(after)) + ")";
  97815. break $label0$0;
  97816. }
  97817. t1 = A.serializeValue0(number, true, true);
  97818. break $label0$0;
  97819. }
  97820. return t1;
  97821. },
  97822. $signature: 214
  97823. };
  97824. A._EvaluateVisitor__stackFrame_closure1.prototype = {
  97825. call$1(url) {
  97826. var t1 = this.$this._evaluate0$_importCache;
  97827. t1 = t1 == null ? null : t1.humanize$1(url);
  97828. return t1 == null ? url : t1;
  97829. },
  97830. $signature: 49
  97831. };
  97832. A._ImportedCssVisitor1.prototype = {
  97833. visitCssAtRule$1(node) {
  97834. var t1 = node.isChildless ? null : new A._ImportedCssVisitor_visitCssAtRule_closure1();
  97835. this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, t1);
  97836. },
  97837. visitCssComment$1(node) {
  97838. return this._evaluate0$_visitor._evaluate0$_addChild$1(node);
  97839. },
  97840. visitCssDeclaration$1(node) {
  97841. },
  97842. visitCssImport$1(node) {
  97843. var t2,
  97844. _s13_ = "_endOfImports",
  97845. t1 = this._evaluate0$_visitor;
  97846. if (t1._evaluate0$_assertInModule$2(t1._evaluate0$__parent, "__parent") !== t1._evaluate0$_assertInModule$2(t1._evaluate0$__root, "_root"))
  97847. t1._evaluate0$_addChild$1(node);
  97848. 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)) {
  97849. t1._evaluate0$_addChild$1(node);
  97850. t1._evaluate0$__endOfImports = t1._evaluate0$_assertInModule$2(t1._evaluate0$__endOfImports, _s13_) + 1;
  97851. } else {
  97852. t2 = t1._evaluate0$_outOfOrderImports;
  97853. (t2 == null ? t1._evaluate0$_outOfOrderImports = A._setArrayType([], type$.JSArray_ModifiableCssImport_2) : t2).push(node);
  97854. }
  97855. },
  97856. visitCssKeyframeBlock$1(node) {
  97857. },
  97858. visitCssMediaRule$1(node) {
  97859. var t1 = this._evaluate0$_visitor,
  97860. mediaQueries = t1._evaluate0$_mediaQueries;
  97861. t1._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssMediaRule_closure1(mediaQueries == null || t1._evaluate0$_mergeMediaQueries$2(mediaQueries, node.queries) != null));
  97862. },
  97863. visitCssStyleRule$1(node) {
  97864. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssStyleRule_closure1());
  97865. },
  97866. visitCssStylesheet$1(node) {
  97867. var t1, t2, t3;
  97868. for (t1 = node.children, t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  97869. t3 = t1.__internal$_current;
  97870. (t3 == null ? t2._as(t3) : t3).accept$1(this);
  97871. }
  97872. },
  97873. visitCssSupportsRule$1(node) {
  97874. return this._evaluate0$_visitor._evaluate0$_addChild$2$through(node, new A._ImportedCssVisitor_visitCssSupportsRule_closure1());
  97875. }
  97876. };
  97877. A._ImportedCssVisitor_visitCssAtRule_closure1.prototype = {
  97878. call$1(node) {
  97879. return node instanceof A.ModifiableCssStyleRule0;
  97880. },
  97881. $signature: 8
  97882. };
  97883. A._ImportedCssVisitor_visitCssMediaRule_closure1.prototype = {
  97884. call$1(node) {
  97885. var t1;
  97886. if (!(node instanceof A.ModifiableCssStyleRule0))
  97887. t1 = this.hasBeenMerged && node instanceof A.ModifiableCssMediaRule0;
  97888. else
  97889. t1 = true;
  97890. return t1;
  97891. },
  97892. $signature: 8
  97893. };
  97894. A._ImportedCssVisitor_visitCssStyleRule_closure1.prototype = {
  97895. call$1(node) {
  97896. return node instanceof A.ModifiableCssStyleRule0;
  97897. },
  97898. $signature: 8
  97899. };
  97900. A._ImportedCssVisitor_visitCssSupportsRule_closure1.prototype = {
  97901. call$1(node) {
  97902. return node instanceof A.ModifiableCssStyleRule0;
  97903. },
  97904. $signature: 8
  97905. };
  97906. A._EvaluationContext1.prototype = {
  97907. get$currentCallableSpan() {
  97908. var callableNode, t1,
  97909. _0_0 = this._evaluate0$_visitor._evaluate0$_callableNode;
  97910. if (_0_0 != null) {
  97911. callableNode = _0_0;
  97912. t1 = true;
  97913. } else {
  97914. callableNode = null;
  97915. t1 = false;
  97916. }
  97917. if (t1)
  97918. return callableNode.get$span(callableNode);
  97919. throw A.wrapException(A.StateError$(string$.No_Sasc));
  97920. },
  97921. warn$2(_, message, deprecation) {
  97922. var t1 = this._evaluate0$_visitor,
  97923. t2 = t1._evaluate0$_importSpan;
  97924. if (t2 == null) {
  97925. t2 = t1._evaluate0$_callableNode;
  97926. t2 = t2 == null ? null : t2.get$span(t2);
  97927. }
  97928. t1._evaluate0$_warn$3(message, t2 == null ? this._evaluate0$_defaultWarnNodeWithSpan.span : t2, deprecation);
  97929. },
  97930. $isEvaluationContext0: 1
  97931. };
  97932. A.EveryCssVisitor0.prototype = {
  97933. visitCssAtRule$1(node) {
  97934. var t1 = node.children;
  97935. return t1.every$1(t1, new A.EveryCssVisitor_visitCssAtRule_closure0(this));
  97936. },
  97937. visitCssComment$1(node) {
  97938. return false;
  97939. },
  97940. visitCssDeclaration$1(node) {
  97941. return false;
  97942. },
  97943. visitCssImport$1(node) {
  97944. return false;
  97945. },
  97946. visitCssKeyframeBlock$1(node) {
  97947. var t1 = node.children;
  97948. return t1.every$1(t1, new A.EveryCssVisitor_visitCssKeyframeBlock_closure0(this));
  97949. },
  97950. visitCssMediaRule$1(node) {
  97951. var t1 = node.children;
  97952. return t1.every$1(t1, new A.EveryCssVisitor_visitCssMediaRule_closure0(this));
  97953. },
  97954. visitCssStyleRule$1(node) {
  97955. var t1 = node.children;
  97956. return t1.every$1(t1, new A.EveryCssVisitor_visitCssStyleRule_closure0(this));
  97957. },
  97958. visitCssStylesheet$1(node) {
  97959. return J.every$1$ax(node.get$children(node), new A.EveryCssVisitor_visitCssStylesheet_closure0(this));
  97960. },
  97961. visitCssSupportsRule$1(node) {
  97962. var t1 = node.children;
  97963. return t1.every$1(t1, new A.EveryCssVisitor_visitCssSupportsRule_closure0(this));
  97964. }
  97965. };
  97966. A.EveryCssVisitor_visitCssAtRule_closure0.prototype = {
  97967. call$1(child) {
  97968. return child.accept$1(this.$this);
  97969. },
  97970. $signature: 8
  97971. };
  97972. A.EveryCssVisitor_visitCssKeyframeBlock_closure0.prototype = {
  97973. call$1(child) {
  97974. return child.accept$1(this.$this);
  97975. },
  97976. $signature: 8
  97977. };
  97978. A.EveryCssVisitor_visitCssMediaRule_closure0.prototype = {
  97979. call$1(child) {
  97980. return child.accept$1(this.$this);
  97981. },
  97982. $signature: 8
  97983. };
  97984. A.EveryCssVisitor_visitCssStyleRule_closure0.prototype = {
  97985. call$1(child) {
  97986. return child.accept$1(this.$this);
  97987. },
  97988. $signature: 8
  97989. };
  97990. A.EveryCssVisitor_visitCssStylesheet_closure0.prototype = {
  97991. call$1(child) {
  97992. return child.accept$1(this.$this);
  97993. },
  97994. $signature: 8
  97995. };
  97996. A.EveryCssVisitor_visitCssSupportsRule_closure0.prototype = {
  97997. call$1(child) {
  97998. return child.accept$1(this.$this);
  97999. },
  98000. $signature: 8
  98001. };
  98002. A._NodeException.prototype = {};
  98003. A.exceptionClass_closure.prototype = {
  98004. call$0() {
  98005. 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());
  98006. A.defineGetter(jsClass, "name", null, "sass.Exception");
  98007. 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));
  98008. return jsClass;
  98009. },
  98010. $signature: 24
  98011. };
  98012. A.exceptionClass__closure.prototype = {
  98013. call$1(exception) {
  98014. return J.get$_dartException$x(exception)._span_exception$_message;
  98015. },
  98016. $signature: 244
  98017. };
  98018. A.exceptionClass__closure0.prototype = {
  98019. call$1(exception) {
  98020. return J.get$trace$z(J.get$_dartException$x(exception)).toString$0(0);
  98021. },
  98022. $signature: 244
  98023. };
  98024. A.exceptionClass__closure1.prototype = {
  98025. call$1(exception) {
  98026. var t1 = J.get$_dartException$x(exception),
  98027. t2 = J.getInterceptor$z(t1);
  98028. return A.SourceSpanException.prototype.get$span.call(t2, t1);
  98029. },
  98030. $signature: 450
  98031. };
  98032. A.SassException0.prototype = {
  98033. get$trace(_) {
  98034. return A.Trace$(A._setArrayType([A.frameForSpan0(A.SourceSpanException.prototype.get$span.call(this, this), "root stylesheet", null)], type$.JSArray_Frame), null);
  98035. },
  98036. get$span(_) {
  98037. return A.SourceSpanException.prototype.get$span.call(this, this);
  98038. },
  98039. withAdditionalSpan$2(span, label) {
  98040. var _this = this;
  98041. return A.MultiSpanSassException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), _this.loadedUrls);
  98042. },
  98043. withTrace$1(trace) {
  98044. var _this = this,
  98045. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  98046. t2 = A.Set_Set$unmodifiable(_this.loadedUrls, type$.Uri);
  98047. return new A.SassRuntimeException0(trace, t2, _this._span_exception$_message, t1);
  98048. },
  98049. withLoadedUrls$1(loadedUrls) {
  98050. var t1 = A.SourceSpanException.prototype.get$span.call(this, this),
  98051. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  98052. return new A.SassException0(t2, this._span_exception$_message, t1);
  98053. },
  98054. toString$1$color(_, color) {
  98055. var t2, _i, frame, t3, _this = this,
  98056. buffer = new A.StringBuffer(""),
  98057. t1 = "" + ("Error: " + _this._span_exception$_message + "\n");
  98058. buffer._contents = t1;
  98059. buffer._contents = t1 + A.SourceSpanException.prototype.get$span.call(_this, _this).highlight$1$color(color);
  98060. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  98061. frame = t1[_i];
  98062. if (J.get$length$asx(frame) === 0)
  98063. continue;
  98064. t3 = buffer._contents += "\n";
  98065. buffer._contents = t3 + (" " + A.S(frame));
  98066. }
  98067. t1 = buffer._contents;
  98068. return t1.charCodeAt(0) == 0 ? t1 : t1;
  98069. },
  98070. toString$0($receiver) {
  98071. return this.toString$1$color($receiver, null);
  98072. }
  98073. };
  98074. A.MultiSpanSassException0.prototype = {
  98075. withAdditionalSpan$2(span, label) {
  98076. var _this = this,
  98077. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  98078. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  98079. t2.$indexSet(0, span, label);
  98080. return A.MultiSpanSassException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  98081. },
  98082. withTrace$1(trace) {
  98083. var _this = this;
  98084. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), _this.primaryLabel, _this.secondarySpans, trace, _this.loadedUrls);
  98085. },
  98086. withLoadedUrls$1(loadedUrls) {
  98087. var _this = this;
  98088. return A.MultiSpanSassException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  98089. },
  98090. toString$1$color(_, color) {
  98091. var t1, t2, _i, frame, _this = this,
  98092. useColor = color === true && true,
  98093. buffer = new A.StringBuffer("Error: " + _this._span_exception$_message + "\n");
  98094. 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));
  98095. for (t1 = _this.get$trace(_this).toString$0(0).split("\n"), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  98096. frame = t1[_i];
  98097. if (J.get$length$asx(frame) === 0)
  98098. continue;
  98099. buffer._contents += "\n";
  98100. buffer._contents += " " + A.S(frame);
  98101. }
  98102. t1 = buffer._contents;
  98103. return t1.charCodeAt(0) == 0 ? t1 : t1;
  98104. },
  98105. toString$0($receiver) {
  98106. return this.toString$1$color($receiver, null);
  98107. },
  98108. get$primaryLabel() {
  98109. return this.primaryLabel;
  98110. },
  98111. get$secondarySpans() {
  98112. return this.secondarySpans;
  98113. }
  98114. };
  98115. A.SassRuntimeException0.prototype = {
  98116. withAdditionalSpan$2(span, label) {
  98117. var _this = this;
  98118. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), _this.trace, _this.loadedUrls);
  98119. },
  98120. withLoadedUrls$1(loadedUrls) {
  98121. var _this = this,
  98122. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  98123. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  98124. return new A.SassRuntimeException0(_this.trace, t2, _this._span_exception$_message, t1);
  98125. },
  98126. get$trace(receiver) {
  98127. return this.trace;
  98128. }
  98129. };
  98130. A.MultiSpanSassRuntimeException0.prototype = {
  98131. withAdditionalSpan$2(span, label) {
  98132. var _this = this,
  98133. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  98134. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  98135. t2.$indexSet(0, span, label);
  98136. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.trace, _this.loadedUrls);
  98137. },
  98138. withLoadedUrls$1(loadedUrls) {
  98139. var _this = this;
  98140. return A.MultiSpanSassRuntimeException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), _this.primaryLabel, _this.secondarySpans, _this.trace, loadedUrls);
  98141. },
  98142. $isSassRuntimeException0: 1,
  98143. get$trace(receiver) {
  98144. return this.trace;
  98145. }
  98146. };
  98147. A.SassFormatException0.prototype = {
  98148. get$source() {
  98149. var t1 = A.SourceSpanException.prototype.get$span.call(this, this);
  98150. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  98151. },
  98152. withAdditionalSpan$2(span, label) {
  98153. var _this = this;
  98154. return A.MultiSpanSassFormatException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), "", A.LinkedHashMap_LinkedHashMap$_literal([span, label], type$.FileSpan, type$.String), _this.loadedUrls);
  98155. },
  98156. withLoadedUrls$1(loadedUrls) {
  98157. var t1 = A.SourceSpanException.prototype.get$span.call(this, this),
  98158. t2 = A.Set_Set$unmodifiable(loadedUrls, type$.Uri);
  98159. return new A.SassFormatException0(t2, this._span_exception$_message, t1);
  98160. },
  98161. $isFormatException: 1,
  98162. $isSourceSpanFormatException: 1
  98163. };
  98164. A.MultiSpanSassFormatException0.prototype = {
  98165. get$source() {
  98166. var t1 = A.SourceSpanException.prototype.get$span.call(this, this);
  98167. return A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1.get$file(t1)._decodedChars, 0, null), 0, null);
  98168. },
  98169. withAdditionalSpan$2(span, label) {
  98170. var _this = this,
  98171. t1 = A.SourceSpanException.prototype.get$span.call(_this, _this),
  98172. t2 = A.LinkedHashMap_LinkedHashMap$of(_this.secondarySpans, type$.FileSpan, type$.String);
  98173. t2.$indexSet(0, span, label);
  98174. return A.MultiSpanSassFormatException$0(_this._span_exception$_message, t1, _this.primaryLabel, t2, _this.loadedUrls);
  98175. },
  98176. withLoadedUrls$1(loadedUrls) {
  98177. var _this = this;
  98178. return A.MultiSpanSassFormatException$0(_this._span_exception$_message, A.SourceSpanException.prototype.get$span.call(_this, _this), _this.primaryLabel, _this.secondarySpans, loadedUrls);
  98179. },
  98180. $isFormatException: 1,
  98181. $isSourceSpanFormatException: 1,
  98182. $isMultiSourceSpanFormatException: 1,
  98183. $isSassFormatException0: 1
  98184. };
  98185. A.SassScriptException0.prototype = {
  98186. withSpan$1(span) {
  98187. return new A.SassException0(B.Set_empty, this.message, span);
  98188. },
  98189. toString$0(_) {
  98190. return this.message + string$.x0a_BUG_;
  98191. },
  98192. get$message(receiver) {
  98193. return this.message;
  98194. }
  98195. };
  98196. A.MultiSpanSassScriptException0.prototype = {
  98197. withSpan$1(span) {
  98198. return A.MultiSpanSassException$0(this.message, span, this.primaryLabel, this.secondarySpans, null);
  98199. }
  98200. };
  98201. A.Exports.prototype = {};
  98202. A.LoggerNamespace.prototype = {};
  98203. A._IsCalculationSafeVisitor0.prototype = {
  98204. visitBinaryOperationExpression$1(node) {
  98205. var t1;
  98206. if (B.Set_FIwG40.contains$1(0, node.operator))
  98207. t1 = node.left.accept$1(this) || node.right.accept$1(this);
  98208. else
  98209. t1 = false;
  98210. return t1;
  98211. },
  98212. visitBooleanExpression$1(node) {
  98213. return false;
  98214. },
  98215. visitColorExpression$1(node) {
  98216. return false;
  98217. },
  98218. visitFunctionExpression$1(node) {
  98219. return true;
  98220. },
  98221. visitInterpolatedFunctionExpression$1(node) {
  98222. return true;
  98223. },
  98224. visitIfExpression$1(node) {
  98225. return true;
  98226. },
  98227. visitListExpression$1(node) {
  98228. var t1;
  98229. if (node.separator === B.ListSeparator_EVt0)
  98230. if (!node.hasBrackets) {
  98231. t1 = node.contents;
  98232. t1 = t1.length > 1 && B.JSArray_methods.every$1(t1, new A._IsCalculationSafeVisitor_visitListExpression_closure0(this));
  98233. } else
  98234. t1 = false;
  98235. else
  98236. t1 = false;
  98237. return t1;
  98238. },
  98239. visitMapExpression$1(node) {
  98240. return false;
  98241. },
  98242. visitNullExpression$1(node) {
  98243. return false;
  98244. },
  98245. visitNumberExpression$1(node) {
  98246. return true;
  98247. },
  98248. visitParenthesizedExpression$1(node) {
  98249. return node.expression.accept$1(this);
  98250. },
  98251. visitSelectorExpression$1(node) {
  98252. return false;
  98253. },
  98254. visitStringExpression$1(node) {
  98255. var text, t1, t2;
  98256. if (node.hasQuotes)
  98257. return false;
  98258. text = node.text.get$initialPlain();
  98259. if (!B.JSString_methods.startsWith$1(text, "!"))
  98260. if (!B.JSString_methods.startsWith$1(text, "#")) {
  98261. t1 = text.length;
  98262. if ((1 >= t1 ? null : text.charCodeAt(1)) !== 43) {
  98263. t2 = (3 >= t1 ? null : text.charCodeAt(3)) !== 40;
  98264. t1 = t2;
  98265. } else
  98266. t1 = false;
  98267. } else
  98268. t1 = false;
  98269. else
  98270. t1 = false;
  98271. return t1;
  98272. },
  98273. visitSupportsExpression$1(node) {
  98274. return false;
  98275. },
  98276. visitUnaryOperationExpression$1(node) {
  98277. return false;
  98278. },
  98279. visitValueExpression$1(node) {
  98280. return false;
  98281. },
  98282. visitVariableExpression$1(node) {
  98283. return true;
  98284. }
  98285. };
  98286. A._IsCalculationSafeVisitor_visitListExpression_closure0.prototype = {
  98287. call$1(expression) {
  98288. return expression.accept$1(this.$this);
  98289. },
  98290. $signature: 136
  98291. };
  98292. A._MakeExpressionCalculationSafe0.prototype = {
  98293. visitBinaryOperationExpression$1(node) {
  98294. var t1, t2, t3;
  98295. if (node.operator === B.BinaryOperator_OTG0) {
  98296. t1 = A._setArrayType([node], type$.JSArray_Expression_2);
  98297. t2 = node.get$span(node);
  98298. t3 = type$.Expression_2;
  98299. t2 = new A.FunctionExpression0("math", "max", new A.ArgumentInvocation0(A.List_List$unmodifiable(t1, t3), A.ConstantMap_ConstantMap$from(B.Map_empty14, type$.String, t3), null, null, t2), node.get$span(node));
  98300. t1 = t2;
  98301. } else
  98302. t1 = this.super$ReplaceExpressionVisitor$visitBinaryOperationExpression0(node);
  98303. return t1;
  98304. },
  98305. visitInterpolatedFunctionExpression$1(node) {
  98306. return node;
  98307. },
  98308. visitUnaryOperationExpression$1(node) {
  98309. var t1,
  98310. _0_0 = node.operator;
  98311. $label0$0: {
  98312. if (B.UnaryOperator_gg40 === _0_0) {
  98313. t1 = node.operand;
  98314. break $label0$0;
  98315. }
  98316. if (B.UnaryOperator_TLI0 === _0_0) {
  98317. t1 = new A.BinaryOperationExpression0(B.BinaryOperator_qN20, new A.NumberExpression0(-1, null, node.span), node.operand, false);
  98318. break $label0$0;
  98319. }
  98320. t1 = this.super$ReplaceExpressionVisitor$visitUnaryOperationExpression0(node);
  98321. break $label0$0;
  98322. }
  98323. return t1;
  98324. }
  98325. };
  98326. A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0.prototype = {};
  98327. A.ExtendRule0.prototype = {
  98328. accept$1$1(visitor) {
  98329. return visitor.visitExtendRule$1(this);
  98330. },
  98331. accept$1(visitor) {
  98332. return this.accept$1$1(visitor, type$.dynamic);
  98333. },
  98334. toString$0(_) {
  98335. var t1 = this.selector.toString$0(0),
  98336. t2 = this.isOptional ? " !optional" : "";
  98337. return "@extend " + t1 + t2 + ";";
  98338. },
  98339. $isAstNode0: 1,
  98340. $isStatement0: 1,
  98341. get$span(receiver) {
  98342. return this.span;
  98343. }
  98344. };
  98345. A.Extension0.prototype = {
  98346. toString$0(_) {
  98347. var t1 = this.extender.toString$0(0),
  98348. t2 = this.target.toString$0(0),
  98349. t3 = this.isOptional ? " !optional" : "";
  98350. return t1 + " {@extend " + t2 + t3 + "}";
  98351. }
  98352. };
  98353. A.Extender0.prototype = {
  98354. assertCompatibleMediaContext$1(mediaContext) {
  98355. var expectedMediaContext,
  98356. extension = this._extension$_extension;
  98357. if (extension == null)
  98358. return;
  98359. expectedMediaContext = extension.mediaContext;
  98360. if (expectedMediaContext == null)
  98361. return;
  98362. if (mediaContext != null && B.C_ListEquality.equals$2(0, expectedMediaContext, mediaContext))
  98363. return;
  98364. throw A.wrapException(A.SassException$0(string$.You_ma, extension.span, null));
  98365. },
  98366. toString$0(_) {
  98367. return A.serializeSelector0(this.selector, true);
  98368. }
  98369. };
  98370. A.ExtensionStore0.prototype = {
  98371. get$isEmpty(_) {
  98372. return this._extension_store$_extensions.__js_helper$_length === 0;
  98373. },
  98374. get$simpleSelectors() {
  98375. return new A.MapKeySet(this._extension_store$_selectors, type$.MapKeySet_SimpleSelector_2);
  98376. },
  98377. extensionsWhereTarget$1(callback) {
  98378. return new A._SyncStarIterable(this.extensionsWhereTarget$body$ExtensionStore0(callback), type$._SyncStarIterable_Extension_2);
  98379. },
  98380. extensionsWhereTarget$body$ExtensionStore0($async$callback) {
  98381. var $async$self = this;
  98382. return function() {
  98383. var callback = $async$callback;
  98384. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, simple, sources, t3;
  98385. return function $async$extensionsWhereTarget$1($async$iterator, $async$errorCode, $async$result) {
  98386. if ($async$errorCode === 1) {
  98387. $async$currentError = $async$result;
  98388. $async$goto = $async$handler;
  98389. }
  98390. while (true)
  98391. switch ($async$goto) {
  98392. case 0:
  98393. // Function start
  98394. t1 = A.MapExtensions_get_pairs0($async$self._extension_store$_extensions, type$.SimpleSelector_2, type$.Map_ComplexSelector_Extension_2), t1 = t1.get$iterator(t1);
  98395. case 2:
  98396. // for condition
  98397. if (!t1.moveNext$0()) {
  98398. // goto after for
  98399. $async$goto = 3;
  98400. break;
  98401. }
  98402. t2 = t1.get$current(t1);
  98403. simple = t2._0;
  98404. sources = t2._1;
  98405. if (!callback.call$1(simple)) {
  98406. // goto for condition
  98407. $async$goto = 2;
  98408. break;
  98409. }
  98410. t2 = sources.get$values(sources), t2 = t2.get$iterator(t2);
  98411. case 4:
  98412. // for condition
  98413. if (!t2.moveNext$0()) {
  98414. // goto after for
  98415. $async$goto = 5;
  98416. break;
  98417. }
  98418. t3 = t2.get$current(t2);
  98419. $async$goto = t3 instanceof A.MergedExtension0 ? 6 : 8;
  98420. break;
  98421. case 6:
  98422. // then
  98423. t3 = t3.unmerge$0();
  98424. $async$goto = 9;
  98425. return $async$iterator._yieldStar$1(new A.WhereIterable(t3, new A.ExtensionStore_extensionsWhereTarget_closure0(), t3.$ti._eval$1("WhereIterable<Iterable.E>")));
  98426. case 9:
  98427. // after yield
  98428. // goto join
  98429. $async$goto = 7;
  98430. break;
  98431. case 8:
  98432. // else
  98433. $async$goto = !t3.isOptional ? 10 : 11;
  98434. break;
  98435. case 10:
  98436. // then
  98437. $async$goto = 12;
  98438. return $async$iterator._async$_current = t3, 1;
  98439. case 12:
  98440. // after yield
  98441. case 11:
  98442. // join
  98443. case 7:
  98444. // join
  98445. // goto for condition
  98446. $async$goto = 4;
  98447. break;
  98448. case 5:
  98449. // after for
  98450. // goto for condition
  98451. $async$goto = 2;
  98452. break;
  98453. case 3:
  98454. // after for
  98455. // implicit return
  98456. return 0;
  98457. case 1:
  98458. // rethrow
  98459. return $async$iterator._datum = $async$currentError, 3;
  98460. }
  98461. };
  98462. };
  98463. },
  98464. addSelector$2(selector, mediaContext) {
  98465. var originalSelector, error, stackTrace, t1, exception, t2, t3, t4, modifiableSelector, _this = this;
  98466. selector = selector;
  98467. originalSelector = selector;
  98468. if (!originalSelector.accept$1(B._IsInvisibleVisitor_true0))
  98469. _this._extension_store$_originals.addAll$1(0, originalSelector.components);
  98470. t1 = _this._extension_store$_extensions;
  98471. if (t1.__js_helper$_length !== 0)
  98472. try {
  98473. selector = _this._extension_store$_extendList$3(originalSelector, t1, mediaContext);
  98474. } catch (exception) {
  98475. t1 = A.unwrapException(exception);
  98476. if (t1 instanceof A.SassException0) {
  98477. error = t1;
  98478. stackTrace = A.getTraceFromException(exception);
  98479. t1 = error;
  98480. t2 = J.getInterceptor$z(t1);
  98481. t1 = A.SourceSpanException.prototype.get$span.call(t2, t1).message$1(0, "");
  98482. t2 = error._span_exception$_message;
  98483. t3 = error;
  98484. t4 = J.getInterceptor$z(t3);
  98485. t3 = A.SourceSpanException.prototype.get$span.call(t4, t3);
  98486. A.throwWithTrace0(new A.SassException0(B.Set_empty, "From " + t1 + "\n" + t2, t3), error, stackTrace);
  98487. } else
  98488. throw exception;
  98489. }
  98490. modifiableSelector = new A.ModifiableBox0(selector, type$.ModifiableBox_SelectorList_2);
  98491. if (mediaContext != null)
  98492. _this._extension_store$_mediaContexts.$indexSet(0, modifiableSelector, mediaContext);
  98493. _this._extension_store$_registerSelector$2(selector, modifiableSelector);
  98494. return new A.Box0(modifiableSelector, type$.Box_SelectorList_2);
  98495. },
  98496. _extension_store$_registerSelector$2(list, selector) {
  98497. var t1, t2, t3, _i, t4, t5, _i0, t6, t7, _i1, simple, _0_2, selectorInPseudo, t8;
  98498. for (t1 = list.components, t2 = t1.length, t3 = this._extension_store$_selectors, _i = 0; _i < t2; ++_i)
  98499. for (t4 = t1[_i].components, t5 = t4.length, _i0 = 0; _i0 < t5; ++_i0)
  98500. for (t6 = t4[_i0].selector.components, t7 = t6.length, _i1 = 0; _i1 < t7; ++_i1) {
  98501. simple = t6[_i1];
  98502. J.add$1$ax(t3.putIfAbsent$2(simple, new A.ExtensionStore__registerSelector_closure1()), selector);
  98503. _0_2 = A._InitializedCell$(new A.ExtensionStore__registerSelector_closure2(simple));
  98504. if (simple instanceof A.PseudoSelector0)
  98505. if (_0_2._readFinal$0() != null) {
  98506. selectorInPseudo = _0_2._readFinal$0();
  98507. t8 = true;
  98508. } else {
  98509. selectorInPseudo = null;
  98510. t8 = false;
  98511. }
  98512. else {
  98513. selectorInPseudo = null;
  98514. t8 = false;
  98515. }
  98516. if (t8)
  98517. this._extension_store$_registerSelector$2(selectorInPseudo, selector);
  98518. }
  98519. },
  98520. addExtension$4(extender, target, extend, mediaContext) {
  98521. var t2, t3, t4, t5, t6, t7, t8, t9, t10, newExtensions, _i, complex, t11, extension, _0_0, existingExtension, t12, newExtensionsByTarget, additionalExtensions, _this = this,
  98522. selectors = _this._extension_store$_selectors.$index(0, target),
  98523. t1 = _this._extension_store$_extensionsByExtender,
  98524. existingExtensions = t1.$index(0, target),
  98525. sources = _this._extension_store$_extensions.putIfAbsent$2(target, new A.ExtensionStore_addExtension_closure2());
  98526. for (t2 = extender.components, t3 = t2.length, t4 = selectors == null, t5 = _this._extension_store$_sourceSpecificity, t6 = extend.span, t7 = extend.isOptional, t8 = existingExtensions != null, t9 = type$.ComplexSelector_2, t10 = type$.Extension_2, newExtensions = null, _i = 0; _i < t3; ++_i) {
  98527. complex = t2[_i];
  98528. if (complex.accept$1(B.C__IsUselessVisitor0))
  98529. continue;
  98530. complex.get$specificity();
  98531. t11 = new A.Extender0(complex, false);
  98532. extension = t11._extension$_extension = new A.Extension0(t11, target, mediaContext, t7, t6);
  98533. _0_0 = sources.$index(0, complex);
  98534. if (_0_0 != null) {
  98535. existingExtension = _0_0;
  98536. t11 = true;
  98537. } else {
  98538. existingExtension = null;
  98539. t11 = false;
  98540. }
  98541. if (t11) {
  98542. sources.$indexSet(0, complex, A.MergedExtension_merge0(existingExtension, extension));
  98543. continue;
  98544. }
  98545. sources.$indexSet(0, complex, extension);
  98546. for (t11 = new A._SyncStarIterator(_this._extension_store$_simpleSelectors$1(complex)._outerHelper()); t11.moveNext$0();) {
  98547. t12 = t11._async$_current;
  98548. J.add$1$ax(t1.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure3()), extension);
  98549. t5.putIfAbsent$2(t12, new A.ExtensionStore_addExtension_closure4(complex));
  98550. }
  98551. if (!t4 || t8) {
  98552. if (newExtensions == null)
  98553. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t9, t10);
  98554. newExtensions.$indexSet(0, complex, extension);
  98555. }
  98556. }
  98557. if (newExtensions == null)
  98558. return;
  98559. t1 = type$.SimpleSelector_2;
  98560. newExtensionsByTarget = A.LinkedHashMap_LinkedHashMap$_literal([target, newExtensions], t1, type$.Map_ComplexSelector_Extension_2);
  98561. if (t8) {
  98562. additionalExtensions = _this._extension_store$_extendExistingExtensions$2(existingExtensions, newExtensionsByTarget);
  98563. if (additionalExtensions != null)
  98564. A.mapAddAll20(newExtensionsByTarget, additionalExtensions, t1, t9, t10);
  98565. }
  98566. if (!t4)
  98567. _this._extension_store$_extendExistingSelectors$2(selectors, newExtensionsByTarget);
  98568. },
  98569. _extension_store$_simpleSelectors$1(complex) {
  98570. return new A._SyncStarIterable(this._simpleSelectors$body$ExtensionStore0(complex), type$._SyncStarIterable_SimpleSelector_2);
  98571. },
  98572. _simpleSelectors$body$ExtensionStore0($async$complex) {
  98573. var $async$self = this;
  98574. return function() {
  98575. var complex = $async$complex;
  98576. var $async$goto = 0, $async$handler = 1, $async$currentError, t1, t2, _i, t3, t4, _i0, simple, _0_2, selector, t5, t6, _i1;
  98577. return function $async$_extension_store$_simpleSelectors$1($async$iterator, $async$errorCode, $async$result) {
  98578. if ($async$errorCode === 1) {
  98579. $async$currentError = $async$result;
  98580. $async$goto = $async$handler;
  98581. }
  98582. while (true)
  98583. switch ($async$goto) {
  98584. case 0:
  98585. // Function start
  98586. t1 = complex.components, t2 = t1.length, _i = 0;
  98587. case 2:
  98588. // for condition
  98589. if (!(_i < t2)) {
  98590. // goto after for
  98591. $async$goto = 4;
  98592. break;
  98593. }
  98594. t3 = t1[_i].selector.components, t4 = t3.length, _i0 = 0;
  98595. case 5:
  98596. // for condition
  98597. if (!(_i0 < t4)) {
  98598. // goto after for
  98599. $async$goto = 7;
  98600. break;
  98601. }
  98602. simple = t3[_i0];
  98603. $async$goto = 8;
  98604. return $async$iterator._async$_current = simple, 1;
  98605. case 8:
  98606. // after yield
  98607. _0_2 = A._InitializedCell$(new A.ExtensionStore__simpleSelectors_closure0(simple));
  98608. if (simple instanceof A.PseudoSelector0)
  98609. if (_0_2._readFinal$0() != null) {
  98610. selector = _0_2._readFinal$0();
  98611. t5 = true;
  98612. } else {
  98613. selector = null;
  98614. t5 = false;
  98615. }
  98616. else {
  98617. selector = null;
  98618. t5 = false;
  98619. }
  98620. $async$goto = t5 ? 9 : 10;
  98621. break;
  98622. case 9:
  98623. // then
  98624. t5 = selector.components, t6 = t5.length, _i1 = 0;
  98625. case 11:
  98626. // for condition
  98627. if (!(_i1 < t6)) {
  98628. // goto after for
  98629. $async$goto = 13;
  98630. break;
  98631. }
  98632. $async$goto = 14;
  98633. return $async$iterator._yieldStar$1($async$self._extension_store$_simpleSelectors$1(t5[_i1]));
  98634. case 14:
  98635. // after yield
  98636. case 12:
  98637. // for update
  98638. ++_i1;
  98639. // goto for condition
  98640. $async$goto = 11;
  98641. break;
  98642. case 13:
  98643. // after for
  98644. case 10:
  98645. // join
  98646. case 6:
  98647. // for update
  98648. ++_i0;
  98649. // goto for condition
  98650. $async$goto = 5;
  98651. break;
  98652. case 7:
  98653. // after for
  98654. case 3:
  98655. // for update
  98656. ++_i;
  98657. // goto for condition
  98658. $async$goto = 2;
  98659. break;
  98660. case 4:
  98661. // after for
  98662. // implicit return
  98663. return 0;
  98664. case 1:
  98665. // rethrow
  98666. return $async$iterator._datum = $async$currentError, 3;
  98667. }
  98668. };
  98669. };
  98670. },
  98671. _extension_store$_extendExistingExtensions$2(extensions, newExtensions) {
  98672. var extension, selectors, error, stackTrace, t1, t2, t3, t4, t5, t6, additionalExtensions, _i, t7, exception, t8, t9, selectors0, t10, t11, t12, t13, t14, withExtender, _0_0, existingExtension, _i0, _i1, _null = null;
  98673. 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) {
  98674. extension = t1[_i];
  98675. t7 = t6.$index(0, extension.target);
  98676. t7.toString;
  98677. selectors = null;
  98678. try {
  98679. selectors = this._extension_store$_extendComplex$3(extension.extender.selector, newExtensions, extension.mediaContext);
  98680. if (selectors == null)
  98681. continue;
  98682. } catch (exception) {
  98683. t8 = A.unwrapException(exception);
  98684. if (t8 instanceof A.SassException0) {
  98685. error = t8;
  98686. stackTrace = A.getTraceFromException(exception);
  98687. A.throwWithTrace0(error.withAdditionalSpan$2(extension.extender.selector.span, "target selector"), error, stackTrace);
  98688. } else
  98689. throw exception;
  98690. }
  98691. t8 = J.get$first$ax(selectors);
  98692. t9 = extension.extender.selector;
  98693. if (B.C_ListEquality.equals$2(0, t8.leadingCombinators, t9.leadingCombinators) && B.C_ListEquality.equals$2(0, t8.components, t9.components)) {
  98694. t8 = selectors;
  98695. t9 = A.instanceType(t8);
  98696. selectors0 = new A.SubListIterable(t8, 1, _null, t9._eval$1("SubListIterable<1>"));
  98697. selectors0.SubListIterable$3(t8, 1, _null, t9._precomputed1);
  98698. selectors = selectors0;
  98699. }
  98700. for (t8 = J.get$iterator$ax(selectors); t8.moveNext$0();) {
  98701. t9 = t8.get$current(t8);
  98702. t10 = extension;
  98703. t11 = t10.target;
  98704. t12 = t10.span;
  98705. t13 = t10.mediaContext;
  98706. t10 = t10.isOptional;
  98707. t9.get$specificity();
  98708. t14 = new A.Extender0(t9, false);
  98709. withExtender = t14._extension$_extension = new A.Extension0(t14, t11, t13, t10, t12);
  98710. _0_0 = t7.$index(0, t9);
  98711. if (_0_0 != null) {
  98712. existingExtension = _0_0;
  98713. t10 = true;
  98714. } else {
  98715. existingExtension = _null;
  98716. t10 = false;
  98717. }
  98718. if (t10)
  98719. t7.$indexSet(0, t9, A.MergedExtension_merge0(existingExtension, withExtender));
  98720. else {
  98721. t7.$indexSet(0, t9, withExtender);
  98722. for (t10 = t9.components, t11 = t10.length, _i0 = 0; _i0 < t11; ++_i0)
  98723. for (t12 = t10[_i0].selector.components, t13 = t12.length, _i1 = 0; _i1 < t13; ++_i1)
  98724. J.add$1$ax(t3.putIfAbsent$2(t12[_i1], new A.ExtensionStore__extendExistingExtensions_closure1()), withExtender);
  98725. if (newExtensions.containsKey$1(extension.target)) {
  98726. if (additionalExtensions == null)
  98727. additionalExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t4, t5);
  98728. additionalExtensions.putIfAbsent$2(extension.target, new A.ExtensionStore__extendExistingExtensions_closure2()).$indexSet(0, t9, withExtender);
  98729. }
  98730. }
  98731. }
  98732. }
  98733. return additionalExtensions;
  98734. },
  98735. _extension_store$_extendExistingSelectors$2(selectors, newExtensions) {
  98736. var selector, error, stackTrace, t1, t2, oldValue, exception, t3, t4, t5, t6;
  98737. for (t1 = selectors.get$iterator(selectors), t2 = this._extension_store$_mediaContexts; t1.moveNext$0();) {
  98738. selector = t1.get$current(t1);
  98739. oldValue = selector.value;
  98740. try {
  98741. selector.value = this._extension_store$_extendList$3(selector.value, newExtensions, t2.$index(0, selector));
  98742. } catch (exception) {
  98743. t3 = A.unwrapException(exception);
  98744. if (t3 instanceof A.SassException0) {
  98745. error = t3;
  98746. stackTrace = A.getTraceFromException(exception);
  98747. t3 = selector.value.span.message$1(0, "");
  98748. t4 = error._span_exception$_message;
  98749. t5 = error;
  98750. t6 = J.getInterceptor$z(t5);
  98751. t5 = A.SourceSpanException.prototype.get$span.call(t6, t5);
  98752. A.throwWithTrace0(new A.SassException0(B.Set_empty, "From " + t3 + "\n" + t4, t5), error, stackTrace);
  98753. } else
  98754. throw exception;
  98755. }
  98756. if (oldValue === selector.value)
  98757. continue;
  98758. this._extension_store$_registerSelector$2(selector.value, selector);
  98759. }
  98760. },
  98761. addExtensions$1(extensionStores) {
  98762. var t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, newExtensions, selectorsToExtend, extensionsToExtend, t12, t13, target, newSources, first, extensionsForTarget, t14, selectorsForTarget, t15, _2_0, existingSources, t16, extender, extension, _this = this, _null = null;
  98763. for (t1 = J.get$iterator$ax(extensionStores), t2 = type$.SimpleSelector_2, t3 = type$.Map_ComplexSelector_Extension_2, t4 = _this._extension_store$_extensions, t5 = type$.ComplexSelector_2, t6 = type$.Extension_2, t7 = _this._extension_store$_selectors, t8 = _this._extension_store$_extensionsByExtender, t9 = type$.JSArray_Extension_2, t10 = type$.ModifiableBox_SelectorList_2, t11 = _this._extension_store$_sourceSpecificity, newExtensions = _null, selectorsToExtend = newExtensions, extensionsToExtend = selectorsToExtend; t1.moveNext$0();) {
  98764. t12 = t1.get$current(t1);
  98765. if (t12.get$isEmpty(t12))
  98766. continue;
  98767. t11.addAll$1(0, t12.get$_extension_store$_sourceSpecificity());
  98768. for (t12 = A.MapExtensions_get_pairs0(t12.get$_extension_store$_extensions(), t2, t3), t12 = t12.get$iterator(t12); t12.moveNext$0();) {
  98769. t13 = t12.get$current(t12);
  98770. target = t13._0;
  98771. newSources = t13._1;
  98772. if (target instanceof A.PlaceholderSelector0) {
  98773. first = target.name.charCodeAt(0);
  98774. t13 = first === 45 || first === 95;
  98775. } else
  98776. t13 = false;
  98777. if (t13)
  98778. continue;
  98779. extensionsForTarget = t8.$index(0, target);
  98780. t13 = extensionsForTarget == null;
  98781. if (!t13) {
  98782. if (extensionsToExtend == null) {
  98783. extensionsToExtend = A._setArrayType([], t9);
  98784. t14 = extensionsToExtend;
  98785. } else
  98786. t14 = extensionsToExtend;
  98787. B.JSArray_methods.addAll$1(t14, extensionsForTarget);
  98788. }
  98789. selectorsForTarget = t7.$index(0, target);
  98790. t14 = selectorsForTarget != null;
  98791. if (t14) {
  98792. if (selectorsToExtend == null) {
  98793. selectorsToExtend = A.LinkedHashSet_LinkedHashSet$_empty(t10);
  98794. t15 = selectorsToExtend;
  98795. } else
  98796. t15 = selectorsToExtend;
  98797. t15.addAll$1(0, selectorsForTarget);
  98798. }
  98799. _2_0 = t4.$index(0, target);
  98800. if (_2_0 != null) {
  98801. existingSources = _2_0;
  98802. t15 = true;
  98803. } else {
  98804. existingSources = _null;
  98805. t15 = false;
  98806. }
  98807. if (t15)
  98808. for (t15 = A.MapExtensions_get_pairs0(newSources, t5, t6), t15 = t15.get$iterator(t15); t15.moveNext$0();) {
  98809. t16 = t15.get$current(t15);
  98810. extender = t16._0;
  98811. extension = t16._1;
  98812. if (existingSources.containsKey$1(extender)) {
  98813. t16 = existingSources.$index(0, extender);
  98814. extension = A.MergedExtension_merge0(t16, extension);
  98815. existingSources.$indexSet(0, extender, extension);
  98816. } else
  98817. existingSources.$indexSet(0, extender, extension);
  98818. if (!t13 || t14) {
  98819. if (newExtensions == null) {
  98820. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  98821. t16 = newExtensions;
  98822. } else
  98823. t16 = newExtensions;
  98824. J.$indexSet$ax(t16.putIfAbsent$2(target, new A.ExtensionStore_addExtensions_closure0()), extender, extension);
  98825. }
  98826. }
  98827. else {
  98828. t15 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  98829. t15.addAll$1(0, newSources);
  98830. t4.$indexSet(0, target, t15);
  98831. if (!t13 || t14) {
  98832. if (newExtensions == null) {
  98833. newExtensions = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  98834. t13 = newExtensions;
  98835. } else
  98836. t13 = newExtensions;
  98837. t14 = A.LinkedHashMap_LinkedHashMap(_null, _null, _null, t5, t6);
  98838. t14.addAll$1(0, newSources);
  98839. t13.$indexSet(0, target, t14);
  98840. }
  98841. }
  98842. }
  98843. }
  98844. if (newExtensions != null) {
  98845. if (extensionsToExtend != null)
  98846. _this._extension_store$_extendExistingExtensions$2(extensionsToExtend, newExtensions);
  98847. if (selectorsToExtend != null)
  98848. _this._extension_store$_extendExistingSelectors$2(selectorsToExtend, newExtensions);
  98849. }
  98850. },
  98851. _extension_store$_extendList$3(list, extensions, mediaQueryContext) {
  98852. var t1, t2, t3, extended, i, complex, result, t4;
  98853. for (t1 = list.components, t2 = t1.length, t3 = type$.JSArray_ComplexSelector_2, extended = null, i = 0; i < t2; ++i) {
  98854. complex = t1[i];
  98855. result = this._extension_store$_extendComplex$3(complex, extensions, mediaQueryContext);
  98856. if (result == null) {
  98857. if (extended != null)
  98858. extended.push(complex);
  98859. } else {
  98860. if (extended == null)
  98861. if (i === 0)
  98862. extended = A._setArrayType([], t3);
  98863. else {
  98864. t4 = B.JSArray_methods.sublist$2(t1, 0, i);
  98865. extended = A._setArrayType(t4.slice(0), A._arrayInstanceType(t4));
  98866. }
  98867. B.JSArray_methods.addAll$1(extended, result);
  98868. }
  98869. }
  98870. if (extended == null)
  98871. return list;
  98872. t1 = this._extension_store$_originals;
  98873. return A.SelectorList$0(this._extension_store$_trim$2(extended, t1.get$contains(t1)), list.span);
  98874. },
  98875. _extension_store$_extendList$2(list, extensions) {
  98876. return this._extension_store$_extendList$3(list, extensions, null);
  98877. },
  98878. _extension_store$_extendComplex$3(complex, extensions, mediaQueryContext) {
  98879. var isOriginal, t3, t4, t5, t6, t7, t8, t9, t10, extendedNotExpanded, i, component, extended, t11, t12, t13, t14, _box_0 = {},
  98880. t1 = complex.leadingCombinators,
  98881. t2 = t1.length;
  98882. if (t2 > 1)
  98883. return null;
  98884. isOriginal = this._extension_store$_originals.contains$1(0, complex);
  98885. for (t3 = complex.components, t4 = t3.length, t5 = type$.JSArray_List_ComplexSelector_2, t6 = complex.lineBreak, t7 = !t6, t8 = complex.span, t9 = type$.JSArray_ComplexSelector_2, t2 = t2 === 0, t10 = type$.JSArray_ComplexSelectorComponent_2, extendedNotExpanded = null, i = 0; i < t4; ++i) {
  98886. component = t3[i];
  98887. extended = this._extension_store$_extendCompound$4$inOriginal(component, extensions, mediaQueryContext, isOriginal);
  98888. if (extended == null) {
  98889. if (extendedNotExpanded != null)
  98890. extendedNotExpanded.push(A._setArrayType([A.ComplexSelector$0(B.List_empty14, A._setArrayType([component], t10), t8, t6)], t9));
  98891. } else if (extendedNotExpanded != null)
  98892. extendedNotExpanded.push(extended);
  98893. else if (i !== 0) {
  98894. t11 = A._arrayInstanceType(t3);
  98895. t12 = new A.SubListIterable(t3, 0, i, t11._eval$1("SubListIterable<1>"));
  98896. t12.SubListIterable$3(t3, 0, i, t11._precomputed1);
  98897. extendedNotExpanded = A._setArrayType([A._setArrayType([A.ComplexSelector$0(t1, t12, t8, t6)], t9), extended], t5);
  98898. } else if (t2)
  98899. extendedNotExpanded = A._setArrayType([extended], t5);
  98900. else {
  98901. t11 = A._setArrayType([], t9);
  98902. for (t12 = J.get$iterator$ax(extended); t12.moveNext$0();) {
  98903. t13 = t12.get$current(t12);
  98904. t14 = t13.leadingCombinators;
  98905. if (t14.length === 0 || B.C_ListEquality.equals$2(0, t1, t14)) {
  98906. t14 = t13.components;
  98907. t11.push(A.ComplexSelector$0(t1, t14, t8, !t7 || t13.lineBreak));
  98908. }
  98909. }
  98910. extendedNotExpanded = A._setArrayType([t11], t5);
  98911. }
  98912. }
  98913. if (extendedNotExpanded == null)
  98914. return null;
  98915. _box_0.first = true;
  98916. t1 = type$.ComplexSelector_2;
  98917. t1 = J.expand$1$1$ax(A.paths0(extendedNotExpanded, t1), new A.ExtensionStore__extendComplex_closure0(_box_0, this, complex), t1);
  98918. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  98919. },
  98920. _extension_store$_extendCompound$4$inOriginal(component, extensions, mediaQueryContext, inOriginal) {
  98921. var t3, t4, t5, t6, t7, t8, t9, t10, t11, options, i, simple, extended, t12, result, compound, extenders, complex, extenderPaths, withCombinators, isOriginal, _this = this, _null = null,
  98922. t1 = _this._extension_store$_mode,
  98923. targetsUsed = t1 === B.ExtendMode_normal_normal0 || extensions.__js_helper$_length < 2 ? _null : A.LinkedHashSet_LinkedHashSet$_empty(type$.SimpleSelector_2),
  98924. t2 = component.selector,
  98925. simples = t2.components;
  98926. for (t3 = simples.length, t4 = type$.JSArray_List_Extender_2, t5 = type$.JSArray_Extender_2, t6 = type$.CssValue_Combinator_2, t7 = type$.JSArray_ComplexSelectorComponent_2, t8 = A._arrayInstanceType(simples), t9 = t8._precomputed1, t8 = t8._eval$1("SubListIterable<1>"), t10 = component.span, t11 = type$.SimpleSelector_2, options = _null, i = 0; i < t3; ++i) {
  98927. simple = simples[i];
  98928. extended = _this._extension_store$_extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed);
  98929. if (extended == null) {
  98930. if (options != null)
  98931. options.push(A._setArrayType([_this._extension_store$_extenderForSimple$1(simple)], t5));
  98932. } else {
  98933. if (options == null) {
  98934. options = A._setArrayType([], t4);
  98935. if (i !== 0) {
  98936. t12 = new A.SubListIterable(simples, 0, i, t8);
  98937. t12.SubListIterable$3(simples, 0, i, t9);
  98938. result = A.List_List$from(t12, false, t11);
  98939. result.fixed$length = Array;
  98940. result.immutable$list = Array;
  98941. t12 = result;
  98942. compound = new A.CompoundSelector0(t12, t10);
  98943. if (t12.length === 0)
  98944. A.throwExpression(A.ArgumentError$("components may not be empty.", _null));
  98945. result = A.List_List$from(B.List_empty14, false, t6);
  98946. result.fixed$length = Array;
  98947. result.immutable$list = Array;
  98948. t12 = A.ComplexSelector$0(B.List_empty14, A._setArrayType([new A.ComplexSelectorComponent0(compound, result, t10)], t7), t10, false);
  98949. _this._extension_store$_sourceSpecificityFor$1(compound);
  98950. options.push(A._setArrayType([new A.Extender0(t12, true)], t5));
  98951. }
  98952. }
  98953. B.JSArray_methods.addAll$1(options, extended);
  98954. }
  98955. }
  98956. if (options == null)
  98957. return _null;
  98958. if (targetsUsed != null && targetsUsed._collection$_length !== extensions.__js_helper$_length)
  98959. return _null;
  98960. if (options.length === 1) {
  98961. extenders = options[0];
  98962. t3 = true;
  98963. } else {
  98964. extenders = _null;
  98965. t3 = false;
  98966. }
  98967. if (t3) {
  98968. for (t1 = J.get$iterator$ax(extenders), t2 = component.combinators, t3 = type$.JSArray_ComplexSelector_2, result = _null; t1.moveNext$0();) {
  98969. t4 = t1.get$current(t1);
  98970. t4.assertCompatibleMediaContext$1(mediaQueryContext);
  98971. complex = t4.selector.withAdditionalCombinators$1(t2);
  98972. if (complex.accept$1(B.C__IsUselessVisitor0))
  98973. continue;
  98974. if (result == null)
  98975. result = A._setArrayType([], t3);
  98976. result.push(complex);
  98977. }
  98978. return result;
  98979. }
  98980. extenderPaths = A.paths0(options, type$.Extender_2);
  98981. t3 = A._setArrayType([], type$.JSArray_ComplexSelector_2);
  98982. t1 = t1 === B.ExtendMode_replace_replace0;
  98983. t4 = !t1;
  98984. if (t4)
  98985. t3.push(A.ComplexSelector$0(B.List_empty14, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(J.expand$1$1$ax(J.get$first$ax(extenderPaths), new A.ExtensionStore__extendCompound_closure2(), t11), t2.span), A.List_List$unmodifiable(component.combinators, t6), t10)], t7), t10, false));
  98986. t2 = J.skip$1$ax(extenderPaths, t1 ? 0 : 1);
  98987. t2 = new A.ListIterator(t2, t2.get$length(t2));
  98988. t5 = component.combinators;
  98989. t6 = A._instanceType(t2)._precomputed1;
  98990. for (; t2.moveNext$0();) {
  98991. t1 = t2.__internal$_current;
  98992. extended = _this._extension_store$_unifyExtenders$3(t1 == null ? t6._as(t1) : t1, mediaQueryContext, t10);
  98993. if (extended == null)
  98994. continue;
  98995. for (t1 = J.get$iterator$ax(extended); t1.moveNext$0();) {
  98996. withCombinators = t1.get$current(t1).withAdditionalCombinators$1(t5);
  98997. if (!withCombinators.accept$1(B.C__IsUselessVisitor0))
  98998. t3.push(withCombinators);
  98999. }
  99000. }
  99001. isOriginal = new A.ExtensionStore__extendCompound_closure3();
  99002. return _this._extension_store$_trim$2(t3, inOriginal && t4 ? new A.ExtensionStore__extendCompound_closure4(B.JSArray_methods.get$first(t3)) : isOriginal);
  99003. },
  99004. _extension_store$_unifyExtenders$3(extenders, mediaQueryContext, span) {
  99005. var t1, t2, t3, originals, originalsLineBreak, t4, complexes, _null = null,
  99006. toUnify = A.QueueList$(_null, type$.ComplexSelector_2);
  99007. for (t1 = J.getInterceptor$ax(extenders), t2 = t1.get$iterator(extenders), t3 = type$.JSArray_SimpleSelector_2, originals = _null, originalsLineBreak = false; t2.moveNext$0();) {
  99008. t4 = t2.get$current(t2);
  99009. if (t4.isOriginal) {
  99010. if (originals == null)
  99011. originals = A._setArrayType([], t3);
  99012. t4 = t4.selector;
  99013. B.JSArray_methods.addAll$1(originals, B.JSArray_methods.get$last(t4.components).selector.components);
  99014. originalsLineBreak = originalsLineBreak || t4.lineBreak;
  99015. } else {
  99016. t4 = t4.selector;
  99017. if (t4.accept$1(B.C__IsUselessVisitor0))
  99018. return _null;
  99019. else
  99020. toUnify._queue_list$_add$1(t4);
  99021. }
  99022. }
  99023. if (originals != null)
  99024. toUnify.addFirst$1(A.ComplexSelector$0(B.List_empty14, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(originals, span), A.List_List$unmodifiable(B.List_empty14, type$.CssValue_Combinator_2), span)], type$.JSArray_ComplexSelectorComponent_2), span, originalsLineBreak));
  99025. complexes = A.unifyComplex0(toUnify, span);
  99026. if (complexes == null)
  99027. return _null;
  99028. for (t1 = t1.get$iterator(extenders); t1.moveNext$0();)
  99029. t1.get$current(t1).assertCompatibleMediaContext$1(mediaQueryContext);
  99030. return complexes;
  99031. },
  99032. _extension_store$_extendSimple$4(simple, extensions, mediaQueryContext, targetsUsed) {
  99033. var _1_0, extended, t2,
  99034. t1 = new A.ExtensionStore__extendSimple_withoutPseudo0(this, extensions, targetsUsed);
  99035. if (simple instanceof A.PseudoSelector0 && simple.selector != null && true) {
  99036. _1_0 = this._extension_store$_extendPseudo$3(simple, extensions, mediaQueryContext);
  99037. if (_1_0 != null) {
  99038. extended = _1_0;
  99039. t2 = true;
  99040. } else {
  99041. extended = null;
  99042. t2 = false;
  99043. }
  99044. if (t2)
  99045. return new A.MappedListIterable(extended, new A.ExtensionStore__extendSimple_closure1(this, t1), A.instanceType(extended)._eval$1("MappedListIterable<1,List<Extender0>>"));
  99046. }
  99047. return A.NullableExtension_andThen0(t1.call$1(simple), new A.ExtensionStore__extendSimple_closure2());
  99048. },
  99049. _extension_store$_extenderForSimple$1(simple) {
  99050. var t1 = simple.span;
  99051. t1 = A.ComplexSelector$0(B.List_empty14, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(A._setArrayType([simple], type$.JSArray_SimpleSelector_2), t1), A.List_List$unmodifiable(B.List_empty14, type$.CssValue_Combinator_2), t1)], type$.JSArray_ComplexSelectorComponent_2), t1, false);
  99052. this._extension_store$_sourceSpecificity.$index(0, simple);
  99053. return new A.Extender0(t1, true);
  99054. },
  99055. _extension_store$_extendPseudo$3(pseudo, extensions, mediaQueryContext) {
  99056. var extended, complexes, t1, result,
  99057. selector = pseudo.selector;
  99058. if (selector == null)
  99059. throw A.wrapException(A.ArgumentError$("Selector " + pseudo.toString$0(0) + " must have a selector argument.", null));
  99060. extended = this._extension_store$_extendList$3(selector, extensions, mediaQueryContext);
  99061. if (extended === selector)
  99062. return null;
  99063. complexes = extended.components;
  99064. t1 = pseudo.normalizedName === "not";
  99065. 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()))
  99066. complexes = new A.WhereIterable(complexes, new A.ExtensionStore__extendPseudo_closure6(), A._arrayInstanceType(complexes)._eval$1("WhereIterable<1>"));
  99067. complexes = J.expand$1$1$ax(complexes, new A.ExtensionStore__extendPseudo_closure7(pseudo), type$.ComplexSelector_2);
  99068. if (t1 && selector.components.length === 1) {
  99069. t1 = A.MappedIterable_MappedIterable(complexes, new A.ExtensionStore__extendPseudo_closure8(pseudo, selector), complexes.$ti._eval$1("Iterable.E"), type$.PseudoSelector_2);
  99070. result = A.List_List$of(t1, true, A._instanceType(t1)._eval$1("Iterable.E"));
  99071. return result.length === 0 ? null : result;
  99072. } else
  99073. return A._setArrayType([pseudo.withSelector$1(A.SelectorList$0(complexes, selector.span))], type$.JSArray_PseudoSelector_2);
  99074. },
  99075. _extension_store$_trim$2(selectors, isOriginal) {
  99076. var result, i, t1, t2, numOriginals, _box_0, complex1, j, t3, t4, _i, t5, maxSpecificity;
  99077. if (selectors.length > 100)
  99078. return selectors;
  99079. result = A.QueueList$(null, type$.ComplexSelector_2);
  99080. $label0$0:
  99081. for (i = selectors.length - 1, t1 = A._arrayInstanceType(selectors), t2 = t1._precomputed1, t1 = t1._eval$1("SubListIterable<1>"), numOriginals = 0; i >= 0; --i) {
  99082. _box_0 = {};
  99083. complex1 = selectors[i];
  99084. if (isOriginal.call$1(complex1)) {
  99085. for (j = 0; j < numOriginals; ++j)
  99086. if (J.$eq$(result.$index(0, j), complex1)) {
  99087. A.rotateSlice0(result, 0, j + 1);
  99088. continue $label0$0;
  99089. }
  99090. ++numOriginals;
  99091. result.addFirst$1(complex1);
  99092. continue $label0$0;
  99093. }
  99094. _box_0.maxSpecificity = 0;
  99095. for (t3 = complex1.components, t4 = t3.length, _i = 0, t5 = 0; _i < t4; ++_i, t5 = maxSpecificity) {
  99096. maxSpecificity = Math.max(t5, this._extension_store$_sourceSpecificityFor$1(t3[_i].selector));
  99097. _box_0.maxSpecificity = maxSpecificity;
  99098. }
  99099. if (result.any$1(result, new A.ExtensionStore__trim_closure1(_box_0, complex1)))
  99100. continue $label0$0;
  99101. t3 = new A.SubListIterable(selectors, 0, i, t1);
  99102. t3.SubListIterable$3(selectors, 0, i, t2);
  99103. if (t3.any$1(0, new A.ExtensionStore__trim_closure2(_box_0, complex1)))
  99104. continue $label0$0;
  99105. result.addFirst$1(complex1);
  99106. }
  99107. return result;
  99108. },
  99109. _extension_store$_sourceSpecificityFor$1(compound) {
  99110. var t1, t2, t3, specificity, _i, t4;
  99111. for (t1 = compound.components, t2 = t1.length, t3 = this._extension_store$_sourceSpecificity, specificity = 0, _i = 0; _i < t2; ++_i) {
  99112. t4 = t3.$index(0, t1[_i]);
  99113. specificity = Math.max(specificity, A.checkNum(t4 == null ? 0 : t4));
  99114. }
  99115. return specificity;
  99116. },
  99117. clone$0() {
  99118. var t2, t3, t4, _this = this,
  99119. t1 = type$.SimpleSelector_2,
  99120. newSelectors = A.LinkedHashMap_LinkedHashMap$_empty(t1, type$.Set_ModifiableBox_SelectorList_2),
  99121. newMediaContexts = A.LinkedHashMap_LinkedHashMap$_empty(type$.ModifiableBox_SelectorList_2, type$.List_CssMediaQuery_2),
  99122. oldToNewSelectors = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList_2);
  99123. _this._extension_store$_selectors.forEach$1(0, new A.ExtensionStore_clone_closure0(_this, newSelectors, oldToNewSelectors, newMediaContexts));
  99124. t2 = type$.Extension_2;
  99125. t3 = A.copyMapOfMap0(_this._extension_store$_extensions, t1, type$.ComplexSelector_2, t2);
  99126. t2 = A.copyMapOfList0(_this._extension_store$_extensionsByExtender, t1, t2);
  99127. t1 = new A.JsIdentityLinkedHashMap(type$.JsIdentityLinkedHashMap_SimpleSelector_int_2);
  99128. t1.addAll$1(0, _this._extension_store$_sourceSpecificity);
  99129. t4 = new A._LinkedIdentityHashSet(type$._LinkedIdentityHashSet_ComplexSelector_2);
  99130. t4.addAll$1(0, _this._extension_store$_originals);
  99131. return new A._Record_2(new A.ExtensionStore0(newSelectors, t3, t2, newMediaContexts, t1, t4, B.ExtendMode_normal_normal0), oldToNewSelectors);
  99132. },
  99133. get$_extension_store$_extensions() {
  99134. return this._extension_store$_extensions;
  99135. },
  99136. get$_extension_store$_sourceSpecificity() {
  99137. return this._extension_store$_sourceSpecificity;
  99138. }
  99139. };
  99140. A.ExtensionStore_extensionsWhereTarget_closure0.prototype = {
  99141. call$1(extension) {
  99142. return !extension.isOptional;
  99143. },
  99144. $signature: 451
  99145. };
  99146. A.ExtensionStore__registerSelector_closure1.prototype = {
  99147. call$0() {
  99148. return A.LinkedHashSet_LinkedHashSet$_empty(type$.ModifiableBox_SelectorList_2);
  99149. },
  99150. $signature: 452
  99151. };
  99152. A.ExtensionStore__registerSelector_closure2.prototype = {
  99153. call$0() {
  99154. return type$.PseudoSelector_2._as(this._0_0).selector;
  99155. },
  99156. $signature: 67
  99157. };
  99158. A.ExtensionStore_addExtension_closure2.prototype = {
  99159. call$0() {
  99160. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  99161. },
  99162. $signature: 124
  99163. };
  99164. A.ExtensionStore_addExtension_closure3.prototype = {
  99165. call$0() {
  99166. return A._setArrayType([], type$.JSArray_Extension_2);
  99167. },
  99168. $signature: 247
  99169. };
  99170. A.ExtensionStore_addExtension_closure4.prototype = {
  99171. call$0() {
  99172. return this.complex.get$specificity();
  99173. },
  99174. $signature: 3
  99175. };
  99176. A.ExtensionStore__simpleSelectors_closure0.prototype = {
  99177. call$0() {
  99178. return type$.PseudoSelector_2._as(this._0_0).selector;
  99179. },
  99180. $signature: 67
  99181. };
  99182. A.ExtensionStore__extendExistingExtensions_closure1.prototype = {
  99183. call$0() {
  99184. return A._setArrayType([], type$.JSArray_Extension_2);
  99185. },
  99186. $signature: 247
  99187. };
  99188. A.ExtensionStore__extendExistingExtensions_closure2.prototype = {
  99189. call$0() {
  99190. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  99191. },
  99192. $signature: 124
  99193. };
  99194. A.ExtensionStore_addExtensions_closure0.prototype = {
  99195. call$0() {
  99196. return A.LinkedHashMap_LinkedHashMap$_empty(type$.ComplexSelector_2, type$.Extension_2);
  99197. },
  99198. $signature: 124
  99199. };
  99200. A.ExtensionStore__extendComplex_closure0.prototype = {
  99201. call$1(path) {
  99202. var t1 = this.complex;
  99203. return J.map$1$1$ax(A.weave0(path, t1.span, t1.lineBreak), new A.ExtensionStore__extendComplex__closure0(this._box_0, this.$this, t1), type$.ComplexSelector_2);
  99204. },
  99205. $signature: 456
  99206. };
  99207. A.ExtensionStore__extendComplex__closure0.prototype = {
  99208. call$1(outputComplex) {
  99209. var _this = this,
  99210. t1 = _this._box_0;
  99211. if (t1.first && _this.$this._extension_store$_originals.contains$1(0, _this.complex))
  99212. _this.$this._extension_store$_originals.add$1(0, outputComplex);
  99213. t1.first = false;
  99214. return outputComplex;
  99215. },
  99216. $signature: 62
  99217. };
  99218. A.ExtensionStore__extendCompound_closure2.prototype = {
  99219. call$1(extender) {
  99220. return B.JSArray_methods.get$last(extender.selector.components).selector.components;
  99221. },
  99222. $signature: 458
  99223. };
  99224. A.ExtensionStore__extendCompound_closure3.prototype = {
  99225. call$1(_) {
  99226. return false;
  99227. },
  99228. $signature: 20
  99229. };
  99230. A.ExtensionStore__extendCompound_closure4.prototype = {
  99231. call$1(complex) {
  99232. return complex.$eq(0, this.original);
  99233. },
  99234. $signature: 20
  99235. };
  99236. A.ExtensionStore__extendSimple_withoutPseudo0.prototype = {
  99237. call$1(simple) {
  99238. var t1, t2,
  99239. extensionsForSimple = this.extensions.$index(0, simple);
  99240. if (extensionsForSimple == null)
  99241. return null;
  99242. t1 = this.targetsUsed;
  99243. if (t1 != null)
  99244. t1.add$1(0, simple);
  99245. t1 = A._setArrayType([], type$.JSArray_Extender_2);
  99246. t2 = this.$this;
  99247. if (t2._extension_store$_mode !== B.ExtendMode_replace_replace0)
  99248. t1.push(t2._extension_store$_extenderForSimple$1(simple));
  99249. for (t2 = extensionsForSimple.get$values(extensionsForSimple), t2 = t2.get$iterator(t2); t2.moveNext$0();)
  99250. t1.push(t2.get$current(t2).extender);
  99251. return t1;
  99252. },
  99253. $signature: 459
  99254. };
  99255. A.ExtensionStore__extendSimple_closure1.prototype = {
  99256. call$1(pseudo) {
  99257. var t1 = this.withoutPseudo.call$1(pseudo);
  99258. return t1 == null ? A._setArrayType([this.$this._extension_store$_extenderForSimple$1(pseudo)], type$.JSArray_Extender_2) : t1;
  99259. },
  99260. $signature: 460
  99261. };
  99262. A.ExtensionStore__extendSimple_closure2.prototype = {
  99263. call$1(result) {
  99264. return A._setArrayType([result], type$.JSArray_List_Extender_2);
  99265. },
  99266. $signature: 461
  99267. };
  99268. A.ExtensionStore__extendPseudo_closure4.prototype = {
  99269. call$1(complex) {
  99270. return complex.components.length > 1;
  99271. },
  99272. $signature: 20
  99273. };
  99274. A.ExtensionStore__extendPseudo_closure5.prototype = {
  99275. call$1(complex) {
  99276. return complex.components.length === 1;
  99277. },
  99278. $signature: 20
  99279. };
  99280. A.ExtensionStore__extendPseudo_closure6.prototype = {
  99281. call$1(complex) {
  99282. return complex.components.length <= 1;
  99283. },
  99284. $signature: 20
  99285. };
  99286. A.ExtensionStore__extendPseudo_closure7.prototype = {
  99287. call$1(complex) {
  99288. var innerPseudo, innerSelector,
  99289. t1 = complex.get$singleCompound();
  99290. if (t1 == null)
  99291. innerPseudo = null;
  99292. else {
  99293. t1 = t1.components;
  99294. innerPseudo = t1.length === 1 ? B.JSArray_methods.get$first(t1) : null;
  99295. }
  99296. if (!(innerPseudo instanceof A.PseudoSelector0))
  99297. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  99298. innerSelector = innerPseudo.selector;
  99299. if (innerSelector == null)
  99300. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  99301. t1 = this.pseudo;
  99302. switch (t1.normalizedName) {
  99303. case "not":
  99304. if (!B.Set_aAXJu.contains$1(0, innerPseudo.normalizedName))
  99305. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  99306. return innerSelector.components;
  99307. case "is":
  99308. case "matches":
  99309. case "where":
  99310. case "any":
  99311. case "current":
  99312. case "nth-child":
  99313. case "nth-last-child":
  99314. if (innerPseudo.name !== t1.name)
  99315. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  99316. if (innerPseudo.argument != t1.argument)
  99317. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  99318. return innerSelector.components;
  99319. case "has":
  99320. case "host":
  99321. case "host-context":
  99322. case "slotted":
  99323. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  99324. default:
  99325. return A._setArrayType([], type$.JSArray_ComplexSelector_2);
  99326. }
  99327. },
  99328. $signature: 462
  99329. };
  99330. A.ExtensionStore__extendPseudo_closure8.prototype = {
  99331. call$1(complex) {
  99332. return this.pseudo.withSelector$1(A.SelectorList$0(A._setArrayType([complex], type$.JSArray_ComplexSelector_2), this.selector.span));
  99333. },
  99334. $signature: 463
  99335. };
  99336. A.ExtensionStore__trim_closure1.prototype = {
  99337. call$1(complex2) {
  99338. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  99339. },
  99340. $signature: 20
  99341. };
  99342. A.ExtensionStore__trim_closure2.prototype = {
  99343. call$1(complex2) {
  99344. return complex2.get$specificity() >= this._box_0.maxSpecificity && complex2.isSuperselector$1(this.complex1);
  99345. },
  99346. $signature: 20
  99347. };
  99348. A.ExtensionStore_clone_closure0.prototype = {
  99349. call$2(simple, selectors) {
  99350. var t2, t3, t4, t5, t6, t7, newSelector, _0_0, mediaContext, _this = this,
  99351. t1 = type$.ModifiableBox_SelectorList_2,
  99352. newSelectorSet = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  99353. _this.newSelectors.$indexSet(0, simple, newSelectorSet);
  99354. for (t2 = selectors.get$iterator(selectors), t3 = _this.oldToNewSelectors, t4 = type$.Box_SelectorList_2, t5 = _this.$this._extension_store$_mediaContexts, t6 = _this.newMediaContexts; t2.moveNext$0();) {
  99355. t7 = t2.get$current(t2);
  99356. newSelector = new A.ModifiableBox0(t7.value, t1);
  99357. newSelectorSet.add$1(0, newSelector);
  99358. t3.$indexSet(0, t7.value, new A.Box0(newSelector, t4));
  99359. _0_0 = t5.$index(0, t7);
  99360. if (_0_0 != null) {
  99361. mediaContext = _0_0;
  99362. t7 = true;
  99363. } else {
  99364. mediaContext = null;
  99365. t7 = false;
  99366. }
  99367. if (t7)
  99368. t6.$indexSet(0, newSelector, mediaContext);
  99369. }
  99370. },
  99371. $signature: 464
  99372. };
  99373. A.FiberClass.prototype = {};
  99374. A.Fiber.prototype = {};
  99375. A.JSToDartFileImporter.prototype = {
  99376. canonicalize$1(_, url) {
  99377. var result, t1, resultUrl;
  99378. if (url.get$scheme() === "file")
  99379. return $.$get$_filesystemImporter0().canonicalize$1(0, url);
  99380. result = A.wrapJSExceptions(new A.JSToDartFileImporter_canonicalize_closure(this, url));
  99381. if (result == null)
  99382. return null;
  99383. t1 = self.Promise;
  99384. if (result instanceof t1)
  99385. A.jsThrow(new self.Error("The findFileUrl() function can't return a Promise for synchron compile functions."));
  99386. else {
  99387. t1 = self.URL;
  99388. if (!(result instanceof t1))
  99389. A.jsThrow(new self.Error(string$.The_fie));
  99390. }
  99391. resultUrl = A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  99392. if (resultUrl.get$scheme() !== "file")
  99393. A.jsThrow(new self.Error(string$.The_fiu + url.toString$0(0) + '".'));
  99394. return $.$get$_filesystemImporter0().canonicalize$1(0, resultUrl);
  99395. },
  99396. load$1(_, url) {
  99397. return $.$get$_filesystemImporter0().load$1(0, url);
  99398. },
  99399. isNonCanonicalScheme$1(scheme) {
  99400. return scheme !== "file";
  99401. }
  99402. };
  99403. A.JSToDartFileImporter_canonicalize_closure.prototype = {
  99404. call$0() {
  99405. return this.$this._file0$_findFileUrl.call$2(this.url.toString$0(0), {fromImport: A.fromImport0(), containingUrl: A.NullableExtension_andThen0(A.containingUrl(), A.utils1__dartToJSUrl$closure())});
  99406. },
  99407. $signature: 29
  99408. };
  99409. A.FilesystemImporter0.prototype = {
  99410. canonicalize$1(_, url) {
  99411. if (url.get$scheme() !== "file" && url.get$scheme() !== "")
  99412. return null;
  99413. 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());
  99414. },
  99415. load$1(_, url) {
  99416. var path = $.$get$context().style.pathFromUri$1(A._parseUri(url));
  99417. return A.ImporterResult$(A.readFile0(path), url, A.Syntax_forPath0(path));
  99418. },
  99419. toString$0(_) {
  99420. return this._filesystem$_loadPath;
  99421. }
  99422. };
  99423. A.FilesystemImporter_canonicalize_closure0.prototype = {
  99424. call$1(resolved) {
  99425. var t2, t0, _null = null,
  99426. t1 = A.isNodeJs() ? self.process : _null;
  99427. if (!J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "win32")) {
  99428. t1 = A.isNodeJs() ? self.process : _null;
  99429. t1 = J.$eq$(t1 == null ? _null : J.get$platform$x(t1), "darwin");
  99430. } else
  99431. t1 = true;
  99432. if (t1) {
  99433. t1 = $.$get$context();
  99434. t2 = A._realCasePath0(A.absolute(t1.normalize$1(resolved), _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null));
  99435. t0 = t2;
  99436. t2 = t1;
  99437. t1 = t0;
  99438. } else {
  99439. t1 = $.$get$context();
  99440. t2 = t1.canonicalize$1(0, resolved);
  99441. t0 = t2;
  99442. t2 = t1;
  99443. t1 = t0;
  99444. }
  99445. return t2.toUri$1(t1);
  99446. },
  99447. $signature: 196
  99448. };
  99449. A.ForRule0.prototype = {
  99450. accept$1$1(visitor) {
  99451. return visitor.visitForRule$1(this);
  99452. },
  99453. accept$1(visitor) {
  99454. return this.accept$1$1(visitor, type$.dynamic);
  99455. },
  99456. toString$0(_) {
  99457. var _this = this,
  99458. t1 = _this.from.toString$0(0),
  99459. t2 = _this.isExclusive ? "to" : "through",
  99460. t3 = _this.children;
  99461. return "@for $" + _this.variable + " from " + t1 + " " + t2 + " " + _this.to.toString$0(0) + " {" + (t3 && B.JSArray_methods).join$1(t3, " ") + "}";
  99462. },
  99463. get$span(receiver) {
  99464. return this.span;
  99465. }
  99466. };
  99467. A.ForwardRule0.prototype = {
  99468. accept$1$1(visitor) {
  99469. return visitor.visitForwardRule$1(this);
  99470. },
  99471. accept$1(visitor) {
  99472. return this.accept$1$1(visitor, type$.dynamic);
  99473. },
  99474. toString$0(_) {
  99475. var t2, prefix, _this = this,
  99476. t1 = "@forward " + A.StringExpression_quoteText0(_this.url.toString$0(0)),
  99477. shownMixinsAndFunctions = _this.shownMixinsAndFunctions,
  99478. hiddenMixinsAndFunctions = _this.hiddenMixinsAndFunctions;
  99479. if (shownMixinsAndFunctions != null) {
  99480. t2 = _this.shownVariables;
  99481. t2.toString;
  99482. t2 = t1 + " show " + _this._forward_rule0$_memberList$2(shownMixinsAndFunctions, t2);
  99483. t1 = t2;
  99484. } else {
  99485. if (hiddenMixinsAndFunctions != null) {
  99486. t2 = hiddenMixinsAndFunctions._base;
  99487. t2 = t2.get$isNotEmpty(t2);
  99488. } else
  99489. t2 = false;
  99490. if (t2) {
  99491. t2 = _this.hiddenVariables;
  99492. t2.toString;
  99493. t2 = t1 + " hide " + _this._forward_rule0$_memberList$2(hiddenMixinsAndFunctions, t2);
  99494. t1 = t2;
  99495. }
  99496. }
  99497. prefix = _this.prefix;
  99498. if (prefix != null)
  99499. t1 += " as " + prefix + "*";
  99500. t2 = _this.configuration;
  99501. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  99502. return t1.charCodeAt(0) == 0 ? t1 : t1;
  99503. },
  99504. _forward_rule0$_memberList$2(mixinsAndFunctions, variables) {
  99505. var t2,
  99506. t1 = A.List_List$of(mixinsAndFunctions, true, type$.String);
  99507. for (t2 = variables._base, t2 = t2.get$iterator(t2); t2.moveNext$0();)
  99508. t1.push("$" + t2.get$current(t2));
  99509. return B.JSArray_methods.join$1(t1, ", ");
  99510. },
  99511. $isAstNode0: 1,
  99512. $isStatement0: 1,
  99513. get$span(receiver) {
  99514. return this.span;
  99515. }
  99516. };
  99517. A.ForwardedModuleView0.prototype = {
  99518. get$url(_) {
  99519. var t1 = this._forwarded_view0$_inner;
  99520. return t1.get$url(t1);
  99521. },
  99522. get$upstream() {
  99523. return this._forwarded_view0$_inner.get$upstream();
  99524. },
  99525. get$extensionStore() {
  99526. return this._forwarded_view0$_inner.get$extensionStore();
  99527. },
  99528. get$css(_) {
  99529. var t1 = this._forwarded_view0$_inner;
  99530. return t1.get$css(t1);
  99531. },
  99532. get$preModuleComments() {
  99533. return this._forwarded_view0$_inner.get$preModuleComments();
  99534. },
  99535. get$transitivelyContainsCss() {
  99536. return this._forwarded_view0$_inner.get$transitivelyContainsCss();
  99537. },
  99538. get$transitivelyContainsExtensions() {
  99539. return this._forwarded_view0$_inner.get$transitivelyContainsExtensions();
  99540. },
  99541. setVariable$3($name, value, nodeWithSpan) {
  99542. var shownVariables, t2, _1_0, hiddenVariables, _2_0, prefix, _null = null,
  99543. _s19_ = "Undefined variable.",
  99544. t1 = this._forwarded_view0$_rule,
  99545. _0_0 = t1.shownVariables;
  99546. if (_0_0 != null) {
  99547. shownVariables = _0_0;
  99548. t2 = true;
  99549. } else {
  99550. shownVariables = _null;
  99551. t2 = false;
  99552. }
  99553. if (t2 && !shownVariables._base.contains$1(0, $name))
  99554. throw A.wrapException(A.SassScriptException$0(_s19_, _null));
  99555. else {
  99556. _1_0 = t1.hiddenVariables;
  99557. if (_1_0 != null) {
  99558. hiddenVariables = _1_0;
  99559. t2 = true;
  99560. } else {
  99561. hiddenVariables = _null;
  99562. t2 = false;
  99563. }
  99564. if (t2 && hiddenVariables._base.contains$1(0, $name))
  99565. throw A.wrapException(A.SassScriptException$0(_s19_, _null));
  99566. }
  99567. _2_0 = t1.prefix;
  99568. if (_2_0 != null) {
  99569. prefix = _2_0;
  99570. t1 = true;
  99571. } else {
  99572. prefix = _null;
  99573. t1 = false;
  99574. }
  99575. if (t1) {
  99576. if (!B.JSString_methods.startsWith$1($name, prefix))
  99577. throw A.wrapException(A.SassScriptException$0(_s19_, _null));
  99578. $name = B.JSString_methods.substring$1($name, prefix.length);
  99579. }
  99580. return this._forwarded_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  99581. },
  99582. variableIdentity$1($name) {
  99583. var prefix, t1,
  99584. _0_0 = this._forwarded_view0$_rule.prefix;
  99585. if (_0_0 != null) {
  99586. prefix = _0_0;
  99587. t1 = true;
  99588. } else {
  99589. prefix = null;
  99590. t1 = false;
  99591. }
  99592. if (t1)
  99593. $name = B.JSString_methods.substring$1($name, prefix.length);
  99594. return this._forwarded_view0$_inner.variableIdentity$1($name);
  99595. },
  99596. $eq(_, other) {
  99597. if (other == null)
  99598. return false;
  99599. return other instanceof A.ForwardedModuleView0 && this._forwarded_view0$_inner.$eq(0, other._forwarded_view0$_inner) && this._forwarded_view0$_rule === other._forwarded_view0$_rule;
  99600. },
  99601. get$hashCode(_) {
  99602. var t1 = this._forwarded_view0$_inner;
  99603. return (t1.get$hashCode(t1) ^ A.Primitives_objectHashCode(this._forwarded_view0$_rule)) >>> 0;
  99604. },
  99605. cloneCss$0() {
  99606. return A.ForwardedModuleView$0(this._forwarded_view0$_inner.cloneCss$0(), this._forwarded_view0$_rule, this.$ti._precomputed1);
  99607. },
  99608. toString$0(_) {
  99609. return "forwarded " + this._forwarded_view0$_inner.toString$0(0);
  99610. },
  99611. $isModule1: 1,
  99612. get$variables() {
  99613. return this.variables;
  99614. },
  99615. get$variableNodes() {
  99616. return this.variableNodes;
  99617. },
  99618. get$functions(receiver) {
  99619. return this.functions;
  99620. },
  99621. get$mixins() {
  99622. return this.mixins;
  99623. }
  99624. };
  99625. A.FunctionExpression0.prototype = {
  99626. get$name(_) {
  99627. return A.stringReplaceAllUnchecked(this.originalName, "_", "-");
  99628. },
  99629. accept$1$1(visitor) {
  99630. return visitor.visitFunctionExpression$1(this);
  99631. },
  99632. accept$1(visitor) {
  99633. return this.accept$1$1(visitor, type$.dynamic);
  99634. },
  99635. toString$0(_) {
  99636. var t1 = this.namespace;
  99637. t1 = t1 != null ? "" + (t1 + ".") : "";
  99638. t1 += this.originalName + this.$arguments.toString$0(0);
  99639. return t1.charCodeAt(0) == 0 ? t1 : t1;
  99640. },
  99641. $isExpression0: 1,
  99642. $isAstNode0: 1,
  99643. get$span(receiver) {
  99644. return this.span;
  99645. }
  99646. };
  99647. A.JSFunction1.prototype = {};
  99648. A.SupportsFunction0.prototype = {
  99649. toString$0(_) {
  99650. return this.name.toString$0(0) + "(" + this.$arguments.toString$0(0) + ")";
  99651. },
  99652. $isAstNode0: 1,
  99653. get$span(receiver) {
  99654. return this.span;
  99655. }
  99656. };
  99657. A.functionClass_closure.prototype = {
  99658. call$0() {
  99659. var t1 = type$.JSClass,
  99660. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassFunction", new A.functionClass__closure()));
  99661. A.JSClassExtension_injectSuperclass(t1._as(new A.SassFunction0(A.BuiltInCallable$function0("f", "", new A.functionClass__closure0(), null)).constructor), jsClass);
  99662. return jsClass;
  99663. },
  99664. $signature: 24
  99665. };
  99666. A.functionClass__closure.prototype = {
  99667. call$3($self, signature, callback) {
  99668. var paren = B.JSString_methods.indexOf$1(signature, "(");
  99669. if (paren === -1 || !B.JSString_methods.endsWith$1(signature, ")"))
  99670. A.jsThrow(new self.Error('Invalid signature for new sass.SassFunction(): "' + signature + '"'));
  99671. 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));
  99672. },
  99673. "call*": "call$3",
  99674. $requiredArgCount: 3,
  99675. $signature: 465
  99676. };
  99677. A.functionClass__closure0.prototype = {
  99678. call$1(_) {
  99679. return B.C__SassNull0;
  99680. },
  99681. $signature: 5
  99682. };
  99683. A.SassFunction0.prototype = {
  99684. accept$1$1(visitor) {
  99685. var t1, t2;
  99686. if (!visitor._serialize0$_inspect)
  99687. A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value.", null));
  99688. t1 = visitor._serialize0$_buffer;
  99689. t1.write$1(0, "get-function(");
  99690. t2 = this.callable;
  99691. visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
  99692. t1.writeCharCode$1(41);
  99693. return null;
  99694. },
  99695. accept$1(visitor) {
  99696. return this.accept$1$1(visitor, type$.dynamic);
  99697. },
  99698. assertFunction$1($name) {
  99699. return this;
  99700. },
  99701. $eq(_, other) {
  99702. if (other == null)
  99703. return false;
  99704. return other instanceof A.SassFunction0 && this.callable.$eq(0, other.callable);
  99705. },
  99706. get$hashCode(_) {
  99707. var t1 = this.callable;
  99708. return t1.get$hashCode(t1);
  99709. }
  99710. };
  99711. A.FunctionRule0.prototype = {
  99712. accept$1$1(visitor) {
  99713. return visitor.visitFunctionRule$1(this);
  99714. },
  99715. accept$1(visitor) {
  99716. return this.accept$1$1(visitor, type$.dynamic);
  99717. },
  99718. toString$0(_) {
  99719. var t1 = this.children;
  99720. return "@function " + this.name + "(" + this.$arguments.toString$0(0) + ") {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  99721. }
  99722. };
  99723. A.unifyComplex_closure2.prototype = {
  99724. call$0() {
  99725. return this._0_0.leadingCombinators;
  99726. },
  99727. $signature: 249
  99728. };
  99729. A.unifyComplex_closure3.prototype = {
  99730. call$0() {
  99731. return this._1_0.combinators;
  99732. },
  99733. $signature: 249
  99734. };
  99735. A.unifyComplex_closure4.prototype = {
  99736. call$1(complex) {
  99737. return complex.lineBreak;
  99738. },
  99739. $signature: 20
  99740. };
  99741. A._namespaceAndName_closure0.prototype = {
  99742. call$0() {
  99743. return type$.TypeSelector_2._as(this._0_0).name;
  99744. },
  99745. $signature: 467
  99746. };
  99747. A._weaveParents_closure5.prototype = {
  99748. call$0() {
  99749. return this._0_0._0;
  99750. },
  99751. $signature: 250
  99752. };
  99753. A._weaveParents_closure6.prototype = {
  99754. call$0() {
  99755. return this._0_0._1;
  99756. },
  99757. $signature: 250
  99758. };
  99759. A._weaveParents_closure7.prototype = {
  99760. call$2(group1, group2) {
  99761. var t1, unified;
  99762. if (B.C_ListEquality.equals$2(0, group1, group2))
  99763. return group1;
  99764. if (A._complexIsParentSuperselector0(group1, group2))
  99765. return group2;
  99766. if (A._complexIsParentSuperselector0(group2, group1))
  99767. return group1;
  99768. if (!A._mustUnify0(group1, group2))
  99769. return null;
  99770. t1 = this.span;
  99771. unified = A.unifyComplex0(A._setArrayType([A.ComplexSelector$0(B.List_empty14, group1, t1, false), A.ComplexSelector$0(B.List_empty14, group2, t1, false)], type$.JSArray_ComplexSelector_2), t1);
  99772. if (unified == null)
  99773. t1 = null;
  99774. else {
  99775. t1 = A.IterableExtension_get_singleOrNull(unified);
  99776. t1 = t1 == null ? null : t1.components;
  99777. }
  99778. return t1;
  99779. },
  99780. $signature: 469
  99781. };
  99782. A._weaveParents_closure8.prototype = {
  99783. call$1(sequence) {
  99784. return A._complexIsParentSuperselector0(sequence.get$first(sequence), this.group);
  99785. },
  99786. $signature: 251
  99787. };
  99788. A._weaveParents_closure9.prototype = {
  99789. call$1(sequence) {
  99790. return sequence.get$length(sequence) === 0;
  99791. },
  99792. $signature: 251
  99793. };
  99794. A._weaveParents_closure10.prototype = {
  99795. call$1(choice) {
  99796. return J.get$isNotEmpty$asx(choice);
  99797. },
  99798. $signature: 471
  99799. };
  99800. A._mergeLeadingCombinators_closure3.prototype = {
  99801. call$0() {
  99802. return this._0_0._0;
  99803. },
  99804. $signature: 252
  99805. };
  99806. A._mergeLeadingCombinators_closure4.prototype = {
  99807. call$0() {
  99808. return this._0_0._1;
  99809. },
  99810. $signature: 252
  99811. };
  99812. A._mergeLeadingCombinators_closure5.prototype = {
  99813. call$0() {
  99814. var t1 = this._0_1._readFinal$0();
  99815. return J.get$length$asx(t1 == null ? type$.List_CssValue_Combinator_2._as(t1) : t1);
  99816. },
  99817. $signature: 3
  99818. };
  99819. A._mergeLeadingCombinators_closure6.prototype = {
  99820. call$0() {
  99821. var t1 = this._0_4._readFinal$0();
  99822. return J.get$length$asx(t1 == null ? type$.List_CssValue_Combinator_2._as(t1) : t1);
  99823. },
  99824. $signature: 3
  99825. };
  99826. A._mergeTrailingCombinators_closure9.prototype = {
  99827. call$0() {
  99828. var t1 = this._0_0;
  99829. return t1.get$length(t1);
  99830. },
  99831. $signature: 3
  99832. };
  99833. A._mergeTrailingCombinators_closure10.prototype = {
  99834. call$0() {
  99835. var t1 = this._1_0;
  99836. return t1.get$length(t1);
  99837. },
  99838. $signature: 3
  99839. };
  99840. A._mergeTrailingCombinators_closure11.prototype = {
  99841. call$0() {
  99842. return this._4_0._values[0];
  99843. },
  99844. $signature: 253
  99845. };
  99846. A._mergeTrailingCombinators_closure12.prototype = {
  99847. call$0() {
  99848. return B.Combinator_Htt0 === this._4_1._readFinal$0();
  99849. },
  99850. $signature: 1
  99851. };
  99852. A._mergeTrailingCombinators_closure13.prototype = {
  99853. call$0() {
  99854. return this._4_0._values[1];
  99855. },
  99856. $signature: 253
  99857. };
  99858. A._mergeTrailingCombinators_closure14.prototype = {
  99859. call$0() {
  99860. return B.Combinator_Htt0 === this._4_4._readFinal$0();
  99861. },
  99862. $signature: 1
  99863. };
  99864. A._mergeTrailingCombinators_closure16.prototype = {
  99865. call$0() {
  99866. return this._4_0._values[2];
  99867. },
  99868. $signature: 254
  99869. };
  99870. A._mergeTrailingCombinators_closure17.prototype = {
  99871. call$0() {
  99872. return this._4_0._values[3];
  99873. },
  99874. $signature: 254
  99875. };
  99876. A._mergeTrailingCombinators_closure15.prototype = {
  99877. call$0() {
  99878. return B.Combinator_4QF0 === this._4_4._readFinal$0();
  99879. },
  99880. $signature: 1
  99881. };
  99882. A._mergeTrailingCombinators_closure18.prototype = {
  99883. call$0() {
  99884. return B.Combinator_4QF0 === this._4_1._readFinal$0();
  99885. },
  99886. $signature: 1
  99887. };
  99888. A._mustUnify_closure0.prototype = {
  99889. call$1(component) {
  99890. return B.JSArray_methods.any$1(component.selector.components, new A._mustUnify__closure0(this.uniqueSelectors));
  99891. },
  99892. $signature: 51
  99893. };
  99894. A._mustUnify__closure0.prototype = {
  99895. call$1(simple) {
  99896. var t1;
  99897. if (!(simple instanceof A.IDSelector0))
  99898. t1 = simple instanceof A.PseudoSelector0 && !simple.isClass;
  99899. else
  99900. t1 = true;
  99901. return t1 && this.uniqueSelectors.contains$1(0, simple);
  99902. },
  99903. $signature: 16
  99904. };
  99905. A._chunks_closure3.prototype = {
  99906. call$0() {
  99907. return this._0_0._0;
  99908. },
  99909. $signature() {
  99910. return this.T._eval$1("List<0>()");
  99911. }
  99912. };
  99913. A._chunks_closure4.prototype = {
  99914. call$0() {
  99915. return J.get$length$asx(this._0_1._readFinal$0()) <= 0;
  99916. },
  99917. $signature: 1
  99918. };
  99919. A._chunks_closure5.prototype = {
  99920. call$0() {
  99921. return this._0_0._1;
  99922. },
  99923. $signature() {
  99924. return this.T._eval$1("List<0>()");
  99925. }
  99926. };
  99927. A._chunks_closure6.prototype = {
  99928. call$0() {
  99929. return J.get$length$asx(this._0_5._readFinal$0()) <= 0;
  99930. },
  99931. $signature: 1
  99932. };
  99933. A.paths_closure0.prototype = {
  99934. call$2(paths, choice) {
  99935. var t1 = this.T;
  99936. t1 = J.expand$1$1$ax(choice, new A.paths__closure0(paths, t1), t1._eval$1("List<0>"));
  99937. return A.List_List$of(t1, true, t1.$ti._eval$1("Iterable.E"));
  99938. },
  99939. $signature() {
  99940. return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)");
  99941. }
  99942. };
  99943. A.paths__closure0.prototype = {
  99944. call$1(option) {
  99945. var t1 = this.T;
  99946. return J.map$1$1$ax(this.paths, new A.paths___closure0(option, t1), t1._eval$1("List<0>"));
  99947. },
  99948. $signature() {
  99949. return this.T._eval$1("Iterable<List<0>>(0)");
  99950. }
  99951. };
  99952. A.paths___closure0.prototype = {
  99953. call$1(path) {
  99954. var t1 = A.List_List$of(path, true, this.T);
  99955. t1.push(this.option);
  99956. return t1;
  99957. },
  99958. $signature() {
  99959. return this.T._eval$1("List<0>(List<0>)");
  99960. }
  99961. };
  99962. A.listIsSuperselector_closure0.prototype = {
  99963. call$1(complex1) {
  99964. return B.JSArray_methods.any$1(this.list1, new A.listIsSuperselector__closure0(complex1));
  99965. },
  99966. $signature: 20
  99967. };
  99968. A.listIsSuperselector__closure0.prototype = {
  99969. call$1(complex2) {
  99970. return complex2.isSuperselector$1(this.complex1);
  99971. },
  99972. $signature: 20
  99973. };
  99974. A.complexIsSuperselector_closure1.prototype = {
  99975. call$1($parent) {
  99976. return $parent.combinators.length > 1;
  99977. },
  99978. $signature: 51
  99979. };
  99980. A.complexIsSuperselector_closure2.prototype = {
  99981. call$1(component) {
  99982. return A._isSupercombinator0(this.combinator1, A.IterableExtension_get_firstOrNull(component.combinators));
  99983. },
  99984. $signature: 51
  99985. };
  99986. A._compatibleWithPreviousCombinator_closure0.prototype = {
  99987. call$1(component) {
  99988. var t1 = component.combinators,
  99989. t2 = A.IterableExtension_get_firstOrNull(t1);
  99990. if (!J.$eq$(t2 == null ? null : t2.value, B.Combinator_Htt0)) {
  99991. t1 = A.IterableExtension_get_firstOrNull(t1);
  99992. t1 = J.$eq$(t1 == null ? null : t1.value, B.Combinator_4QF0);
  99993. } else
  99994. t1 = true;
  99995. return t1;
  99996. },
  99997. $signature: 51
  99998. };
  99999. A.compoundIsSuperselector_closure1.prototype = {
  100000. call$0() {
  100001. return this._0_0._0;
  100002. },
  100003. $signature: 255
  100004. };
  100005. A.compoundIsSuperselector_closure2.prototype = {
  100006. call$0() {
  100007. return this._0_0._1;
  100008. },
  100009. $signature: 255
  100010. };
  100011. A._selectorPseudoIsSuperselector_closure6.prototype = {
  100012. call$1(selector2) {
  100013. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  100014. },
  100015. $signature: 76
  100016. };
  100017. A._selectorPseudoIsSuperselector_closure7.prototype = {
  100018. call$1(complex1) {
  100019. var t1, t2;
  100020. if (complex1.leadingCombinators.length === 0) {
  100021. t1 = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  100022. t2 = this.parents;
  100023. if (t2 != null)
  100024. B.JSArray_methods.addAll$1(t1, t2);
  100025. t2 = this.compound2;
  100026. t1.push(new A.ComplexSelectorComponent0(t2, A.List_List$unmodifiable(B.List_empty14, type$.CssValue_Combinator_2), t2.span));
  100027. t1 = A.complexIsSuperselector0(complex1.components, t1);
  100028. } else
  100029. t1 = false;
  100030. return t1;
  100031. },
  100032. $signature: 20
  100033. };
  100034. A._selectorPseudoIsSuperselector_closure8.prototype = {
  100035. call$1(selector2) {
  100036. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  100037. },
  100038. $signature: 76
  100039. };
  100040. A._selectorPseudoIsSuperselector_closure9.prototype = {
  100041. call$1(selector2) {
  100042. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  100043. },
  100044. $signature: 76
  100045. };
  100046. A._selectorPseudoIsSuperselector_closure10.prototype = {
  100047. call$1(complex) {
  100048. if (complex.accept$1(B._IsBogusVisitor_true0))
  100049. return false;
  100050. return B.JSArray_methods.any$1(this.compound2.components, new A._selectorPseudoIsSuperselector__closure0(complex, this.pseudo1));
  100051. },
  100052. $signature: 20
  100053. };
  100054. A._selectorPseudoIsSuperselector__closure0.prototype = {
  100055. call$1(simple2) {
  100056. var t1, selector2, _this = this,
  100057. _0_4 = A._InitializedCell$(new A._selectorPseudoIsSuperselector___closure2(simple2));
  100058. $label0$1: {
  100059. if (simple2 instanceof A.TypeSelector0) {
  100060. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure3(simple2));
  100061. break $label0$1;
  100062. }
  100063. if (simple2 instanceof A.IDSelector0) {
  100064. t1 = B.JSArray_methods.any$1(B.JSArray_methods.get$last(_this.complex.components).selector.components, new A._selectorPseudoIsSuperselector___closure4(simple2));
  100065. break $label0$1;
  100066. }
  100067. if (simple2 instanceof A.PseudoSelector0) {
  100068. if (_0_4._readFinal$0() != null) {
  100069. selector2 = _0_4._readFinal$0();
  100070. t1 = true;
  100071. } else {
  100072. selector2 = null;
  100073. t1 = false;
  100074. }
  100075. t1 = t1 && simple2.name === _this.pseudo1.name;
  100076. } else {
  100077. selector2 = null;
  100078. t1 = false;
  100079. }
  100080. if (t1) {
  100081. t1 = A.listIsSuperselector0(selector2.components, A._setArrayType([_this.complex], type$.JSArray_ComplexSelector_2));
  100082. break $label0$1;
  100083. }
  100084. t1 = false;
  100085. break $label0$1;
  100086. }
  100087. return t1;
  100088. },
  100089. $signature: 16
  100090. };
  100091. A._selectorPseudoIsSuperselector___closure3.prototype = {
  100092. call$1(simple1) {
  100093. var t1;
  100094. if (simple1 instanceof A.TypeSelector0) {
  100095. t1 = this.simple2;
  100096. t1 = !(t1 instanceof A.TypeSelector0 && t1.name.$eq(0, simple1.name));
  100097. } else
  100098. t1 = false;
  100099. return t1;
  100100. },
  100101. $signature: 16
  100102. };
  100103. A._selectorPseudoIsSuperselector___closure4.prototype = {
  100104. call$1(simple1) {
  100105. var t1;
  100106. if (simple1 instanceof A.IDSelector0) {
  100107. t1 = this.simple2;
  100108. t1 = !(t1 instanceof A.IDSelector0 && t1.name === simple1.name);
  100109. } else
  100110. t1 = false;
  100111. return t1;
  100112. },
  100113. $signature: 16
  100114. };
  100115. A._selectorPseudoIsSuperselector___closure2.prototype = {
  100116. call$0() {
  100117. return type$.PseudoSelector_2._as(this._0_0).selector;
  100118. },
  100119. $signature: 67
  100120. };
  100121. A._selectorPseudoIsSuperselector_closure11.prototype = {
  100122. call$1(selector2) {
  100123. var t1 = B.C_ListEquality.equals$2(0, this.selector1.components, selector2.components);
  100124. return t1;
  100125. },
  100126. $signature: 76
  100127. };
  100128. A._selectorPseudoIsSuperselector_closure12.prototype = {
  100129. call$1(pseudo2) {
  100130. var t1, selector2;
  100131. if (!(pseudo2 instanceof A.PseudoSelector0))
  100132. return false;
  100133. t1 = this.pseudo1;
  100134. if (pseudo2.name !== t1.name)
  100135. return false;
  100136. if (pseudo2.argument != t1.argument)
  100137. return false;
  100138. selector2 = pseudo2.selector;
  100139. if (selector2 == null)
  100140. return false;
  100141. return A.listIsSuperselector0(this.selector1.components, selector2.components);
  100142. },
  100143. $signature: 16
  100144. };
  100145. A._selectorPseudoArgs_closure1.prototype = {
  100146. call$1(pseudo) {
  100147. return pseudo.isClass === this.isClass && pseudo.name === this.name;
  100148. },
  100149. $signature: 477
  100150. };
  100151. A._selectorPseudoArgs_closure2.prototype = {
  100152. call$1(pseudo) {
  100153. return pseudo.selector;
  100154. },
  100155. $signature: 478
  100156. };
  100157. A.globalFunctions_closure0.prototype = {
  100158. call$1($arguments) {
  100159. var t1 = J.getInterceptor$asx($arguments);
  100160. return t1.$index($arguments, 0).get$isTruthy() ? t1.$index($arguments, 1) : t1.$index($arguments, 2);
  100161. },
  100162. $signature: 5
  100163. };
  100164. A.IDSelector0.prototype = {
  100165. get$specificity() {
  100166. return A._asInt(Math.pow(A.SimpleSelector0.prototype.get$specificity.call(this), 2));
  100167. },
  100168. accept$1$1(visitor) {
  100169. return visitor.visitIDSelector$1(this);
  100170. },
  100171. accept$1(visitor) {
  100172. return this.accept$1$1(visitor, type$.dynamic);
  100173. },
  100174. addSuffix$1(suffix) {
  100175. return new A.IDSelector0(this.name + suffix, this.span);
  100176. },
  100177. unify$1(compound) {
  100178. if (B.JSArray_methods.any$1(compound, new A.IDSelector_unify_closure0(this)))
  100179. return null;
  100180. return this.super$SimpleSelector$unify0(compound);
  100181. },
  100182. $eq(_, other) {
  100183. if (other == null)
  100184. return false;
  100185. return other instanceof A.IDSelector0 && other.name === this.name;
  100186. },
  100187. get$hashCode(_) {
  100188. return B.JSString_methods.get$hashCode(this.name);
  100189. }
  100190. };
  100191. A.IDSelector_unify_closure0.prototype = {
  100192. call$1(simple) {
  100193. var t1;
  100194. if (simple instanceof A.IDSelector0)
  100195. t1 = this.$this.name !== simple.name;
  100196. else
  100197. t1 = false;
  100198. return t1;
  100199. },
  100200. $signature: 16
  100201. };
  100202. A.IfExpression0.prototype = {
  100203. accept$1$1(visitor) {
  100204. return visitor.visitIfExpression$1(this);
  100205. },
  100206. accept$1(visitor) {
  100207. return this.accept$1$1(visitor, type$.dynamic);
  100208. },
  100209. toString$0(_) {
  100210. return "if" + this.$arguments.toString$0(0);
  100211. },
  100212. $isExpression0: 1,
  100213. $isAstNode0: 1,
  100214. get$span(receiver) {
  100215. return this.span;
  100216. }
  100217. };
  100218. A.IfRule0.prototype = {
  100219. accept$1$1(visitor) {
  100220. return visitor.visitIfRule$1(this);
  100221. },
  100222. accept$1(visitor) {
  100223. return this.accept$1$1(visitor, type$.dynamic);
  100224. },
  100225. toString$0(_) {
  100226. var result = A.ListExtensions_mapIndexed(this.clauses, new A.IfRule_toString_closure0(), type$.IfClause_2, type$.String).join$1(0, " "),
  100227. lastClause = this.lastClause;
  100228. return lastClause != null ? result + (" " + lastClause.toString$0(0)) : result;
  100229. },
  100230. $isAstNode0: 1,
  100231. $isStatement0: 1,
  100232. get$span(receiver) {
  100233. return this.span;
  100234. }
  100235. };
  100236. A.IfRule_toString_closure0.prototype = {
  100237. call$2(index, clause) {
  100238. var t1 = index === 0 ? "if" : "else if";
  100239. return "@" + t1 + " " + clause.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(clause.children, " ") + "}";
  100240. },
  100241. $signature: 479
  100242. };
  100243. A.IfRuleClause0.prototype = {};
  100244. A.IfRuleClause$__closure0.prototype = {
  100245. call$1(child) {
  100246. var t1, imports;
  100247. $label0$0: {
  100248. if (child instanceof A.VariableDeclaration0 || child instanceof A.FunctionRule0 || child instanceof A.MixinRule0) {
  100249. t1 = true;
  100250. break $label0$0;
  100251. }
  100252. if (child instanceof A.ImportRule0) {
  100253. imports = child.imports;
  100254. t1 = true;
  100255. } else {
  100256. imports = null;
  100257. t1 = false;
  100258. }
  100259. if (t1) {
  100260. t1 = (imports && B.JSArray_methods).any$1(imports, new A.IfRuleClause$___closure0());
  100261. break $label0$0;
  100262. }
  100263. t1 = false;
  100264. break $label0$0;
  100265. }
  100266. return t1;
  100267. },
  100268. $signature: 257
  100269. };
  100270. A.IfRuleClause$___closure0.prototype = {
  100271. call$1($import) {
  100272. return $import instanceof A.DynamicImport0;
  100273. },
  100274. $signature: 258
  100275. };
  100276. A.IfClause0.prototype = {
  100277. toString$0(_) {
  100278. return "@if " + this.expression.toString$0(0) + " {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  100279. }
  100280. };
  100281. A.ElseClause0.prototype = {
  100282. toString$0(_) {
  100283. return "@else {" + B.JSArray_methods.join$1(this.children, " ") + "}";
  100284. }
  100285. };
  100286. A.ImmutableList0.prototype = {};
  100287. A.ImmutableMap0.prototype = {};
  100288. A.immutableMapToDartMap_closure.prototype = {
  100289. call$3(value, key, _) {
  100290. this.dartMap.$indexSet(0, key, value);
  100291. },
  100292. "call*": "call$3",
  100293. $requiredArgCount: 3,
  100294. $signature: 482
  100295. };
  100296. A.NodeImporter.prototype = {
  100297. loadRelative$3(url, previous, forImport) {
  100298. var t1, t2, _null = null;
  100299. if ($.$get$url().style.rootLength$1(url) > 0) {
  100300. if (!B.JSString_methods.startsWith$1(url, "/") && !B.JSString_methods.startsWith$1(url, "file:"))
  100301. return _null;
  100302. return this._tryPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport);
  100303. }
  100304. if ((previous == null ? _null : previous.get$scheme()) !== "file")
  100305. return _null;
  100306. t1 = $.$get$context();
  100307. previous.toString;
  100308. t2 = t1.style;
  100309. return this._tryPath$2(A.join(t1.dirname$1(t2.pathFromUri$1(A._parseUri(previous))), t2.pathFromUri$1(A._parseUri(url)), _null), forImport);
  100310. },
  100311. load$3(_, url, previous, forImport) {
  100312. var t1, t2, _i, _0_0, value, t3, _this = this,
  100313. previousString = _this._previousToString$1(previous);
  100314. for (t1 = _this._implementation$_importers, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  100315. _0_0 = A.wrapJSExceptions(new A.NodeImporter_load_closure(_this, t1[_i], forImport, url, previousString));
  100316. if (_0_0 != null) {
  100317. value = _0_0;
  100318. t3 = true;
  100319. } else {
  100320. value = null;
  100321. t3 = false;
  100322. }
  100323. if (t3)
  100324. return _this._handleImportResult$4(url, previous, value, forImport);
  100325. }
  100326. return _this._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  100327. },
  100328. loadAsync$3(url, previous, forImport) {
  100329. return this.loadAsync$body$NodeImporter(url, previous, forImport);
  100330. },
  100331. loadAsync$body$NodeImporter(url, previous, forImport) {
  100332. var $async$goto = 0,
  100333. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Record_2_String_and_String),
  100334. $async$returnValue, $async$self = this, t1, t2, _i, _0_0, value, t3, previousString;
  100335. var $async$loadAsync$3 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  100336. if ($async$errorCode === 1)
  100337. return A._asyncRethrow($async$result, $async$completer);
  100338. while (true)
  100339. switch ($async$goto) {
  100340. case 0:
  100341. // Function start
  100342. previousString = $async$self._previousToString$1(previous);
  100343. t1 = $async$self._implementation$_importers, t2 = t1.length, _i = 0;
  100344. case 3:
  100345. // for condition
  100346. if (!(_i < t2)) {
  100347. // goto after for
  100348. $async$goto = 5;
  100349. break;
  100350. }
  100351. $async$goto = 6;
  100352. return A._asyncAwait($async$self._callImporterAsync$4(t1[_i], url, previousString, forImport), $async$loadAsync$3);
  100353. case 6:
  100354. // returning from await.
  100355. _0_0 = $async$result;
  100356. if (_0_0 != null) {
  100357. value = _0_0;
  100358. t3 = true;
  100359. } else {
  100360. value = null;
  100361. t3 = false;
  100362. }
  100363. if (t3) {
  100364. $async$returnValue = $async$self._handleImportResult$4(url, previous, value, forImport);
  100365. // goto return
  100366. $async$goto = 1;
  100367. break;
  100368. }
  100369. case 4:
  100370. // for update
  100371. ++_i;
  100372. // goto for condition
  100373. $async$goto = 3;
  100374. break;
  100375. case 5:
  100376. // after for
  100377. $async$returnValue = $async$self._resolveLoadPathFromUrl$2(A.Uri_parse(url), forImport);
  100378. // goto return
  100379. $async$goto = 1;
  100380. break;
  100381. case 1:
  100382. // return
  100383. return A._asyncReturn($async$returnValue, $async$completer);
  100384. }
  100385. });
  100386. return A._asyncStartSync($async$loadAsync$3, $async$completer);
  100387. },
  100388. _previousToString$1(previous) {
  100389. var t1;
  100390. $label0$0: {
  100391. if (previous == null) {
  100392. t1 = "stdin";
  100393. break $label0$0;
  100394. }
  100395. if ("file" === previous.get$scheme()) {
  100396. t1 = $.$get$context().style.pathFromUri$1(A._parseUri(previous));
  100397. break $label0$0;
  100398. }
  100399. t1 = previous.toString$0(0);
  100400. break $label0$0;
  100401. }
  100402. return t1;
  100403. },
  100404. _resolveLoadPathFromUrl$2(url, forImport) {
  100405. return url.get$scheme() === "" || url.get$scheme() === "file" ? this._resolveLoadPath$2($.$get$context().style.pathFromUri$1(A._parseUri(url)), forImport) : null;
  100406. },
  100407. _resolveLoadPath$2(path, forImport) {
  100408. var result, t1, t2, _i, t3, _1_0, _null = null,
  100409. _0_0 = this._tryPath$2(A.absolute(path, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), forImport);
  100410. if (_0_0 != null) {
  100411. result = _0_0;
  100412. t1 = true;
  100413. } else {
  100414. result = _null;
  100415. t1 = false;
  100416. }
  100417. if (t1)
  100418. return result;
  100419. for (t1 = this._includePaths, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  100420. t3 = A.join(t1[_i], path, _null);
  100421. _1_0 = this._tryPath$2($.$get$context().absolute$15(t3, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null), forImport);
  100422. if (_1_0 != null) {
  100423. result = _1_0;
  100424. t3 = true;
  100425. } else {
  100426. result = _null;
  100427. t3 = false;
  100428. }
  100429. if (t3)
  100430. return result;
  100431. }
  100432. return _null;
  100433. },
  100434. _tryPath$2(path, forImport) {
  100435. var t1;
  100436. if (forImport) {
  100437. t1 = type$.nullable_Object;
  100438. t1 = A.runZoned(new A.NodeImporter__tryPath_closure(path), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_String);
  100439. } else
  100440. t1 = A.resolveImportPath0(path);
  100441. return A.NullableExtension_andThen0(t1, new A.NodeImporter__tryPath_closure0());
  100442. },
  100443. _handleImportResult$4(url, previous, value, forImport) {
  100444. var t1, file, contents, t2, resolved;
  100445. if (value instanceof self.Error)
  100446. throw A.wrapException(value);
  100447. if (!type$.NodeImporterResult._is(value))
  100448. return null;
  100449. t1 = J.getInterceptor$x(value);
  100450. file = t1.get$file(value);
  100451. contents = t1.get$contents(value);
  100452. t1 = contents == null;
  100453. t2 = !t1;
  100454. if (t2 && A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  100455. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  100456. if (file == null)
  100457. return new A._Record_2(t1 ? "" : contents, url);
  100458. else if (t2)
  100459. return new A._Record_2(contents, $.$get$context().toUri$1(file).toString$0(0));
  100460. else {
  100461. resolved = this.loadRelative$3($.$get$context().toUri$1(file).toString$0(0), previous, forImport);
  100462. if (resolved == null)
  100463. resolved = this._resolveLoadPath$2(file, forImport);
  100464. if (resolved != null)
  100465. return resolved;
  100466. throw A.wrapException("Can't find stylesheet to import.");
  100467. }
  100468. },
  100469. _callImporterAsync$4(importer, url, previousString, forImport) {
  100470. return this._callImporterAsync$body$NodeImporter(importer, url, previousString, forImport);
  100471. },
  100472. _callImporterAsync$body$NodeImporter(importer, url, previousString, forImport) {
  100473. var $async$goto = 0,
  100474. $async$completer = A._makeAsyncAwaitCompleter(type$.nullable_Object),
  100475. $async$returnValue, $async$self = this, t1, result;
  100476. var $async$_callImporterAsync$4 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  100477. if ($async$errorCode === 1)
  100478. return A._asyncRethrow($async$result, $async$completer);
  100479. while (true)
  100480. switch ($async$goto) {
  100481. case 0:
  100482. // Function start
  100483. t1 = new A._Future($.Zone__current, type$._Future_Object);
  100484. result = A.wrapJSExceptions(new A.NodeImporter__callImporterAsync_closure($async$self, importer, forImport, url, previousString, new A._AsyncCompleter(t1, type$._AsyncCompleter_Object)));
  100485. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 4;
  100486. break;
  100487. case 3:
  100488. // then
  100489. $async$goto = 5;
  100490. return A._asyncAwait(t1, $async$_callImporterAsync$4);
  100491. case 5:
  100492. // returning from await.
  100493. $async$returnValue = $async$result;
  100494. // goto return
  100495. $async$goto = 1;
  100496. break;
  100497. case 4:
  100498. // join
  100499. $async$returnValue = result;
  100500. // goto return
  100501. $async$goto = 1;
  100502. break;
  100503. case 1:
  100504. // return
  100505. return A._asyncReturn($async$returnValue, $async$completer);
  100506. }
  100507. });
  100508. return A._asyncStartSync($async$_callImporterAsync$4, $async$completer);
  100509. },
  100510. _renderContext$1(fromImport) {
  100511. var context = {options: type$.RenderContextOptions._as(this._implementation$_options), fromImport: fromImport};
  100512. J.set$context$x(J.get$options$x(context), context);
  100513. return context;
  100514. }
  100515. };
  100516. A.NodeImporter_load_closure.prototype = {
  100517. call$0() {
  100518. var _this = this;
  100519. return J.apply$2$x(_this.importer, _this.$this._renderContext$1(_this.forImport), A._setArrayType([_this.url, _this.previousString], type$.JSArray_Object));
  100520. },
  100521. $signature: 29
  100522. };
  100523. A.NodeImporter__tryPath_closure.prototype = {
  100524. call$0() {
  100525. return A.resolveImportPath0(this.path);
  100526. },
  100527. $signature: 30
  100528. };
  100529. A.NodeImporter__tryPath_closure0.prototype = {
  100530. call$1(resolved) {
  100531. return new A._Record_2(A.readFile0(resolved), $.$get$context().toUri$1(resolved).toString$0(0));
  100532. },
  100533. $signature: 483
  100534. };
  100535. A.NodeImporter__callImporterAsync_closure.prototype = {
  100536. call$0() {
  100537. var _this = this;
  100538. return J.apply$2$x(_this.importer, _this.$this._renderContext$1(_this.forImport), A._setArrayType([_this.url, _this.previousString, A.allowInterop(_this.completer.get$complete())], type$.JSArray_Object));
  100539. },
  100540. $signature: 29
  100541. };
  100542. A.ModifiableCssImport0.prototype = {
  100543. accept$1$1(visitor) {
  100544. return visitor.visitCssImport$1(this);
  100545. },
  100546. accept$1(visitor) {
  100547. return this.accept$1$1(visitor, type$.dynamic);
  100548. },
  100549. get$span(receiver) {
  100550. return this.span;
  100551. }
  100552. };
  100553. A.ImportCache0.prototype = {
  100554. canonicalize$4$baseImporter$baseUrl$forImport(_, url, baseImporter, baseUrl, forImport) {
  100555. var t1, relativeResult, _this = this;
  100556. if (A.isBrowser())
  100557. t1 = (baseImporter == null || baseImporter instanceof A.NoOpImporter0) && _this._import_cache$_importers.length === 0;
  100558. else
  100559. t1 = false;
  100560. if (t1)
  100561. throw A.wrapException(string$.Custom);
  100562. if (baseImporter != null && url.get$scheme() === "") {
  100563. relativeResult = _this._import_cache$_relativeCanonicalizeCache.putIfAbsent$2(new A._Record_4_baseImporter_baseUrl_forImport([url, baseImporter, baseUrl, forImport]), new A.ImportCache_canonicalize_closure1(_this, baseImporter, baseUrl, url, forImport));
  100564. if (relativeResult != null)
  100565. return relativeResult;
  100566. }
  100567. return _this._import_cache$_canonicalizeCache.putIfAbsent$2(new A._Record_2_forImport(url, forImport), new A.ImportCache_canonicalize_closure2(_this, url, baseUrl, forImport));
  100568. },
  100569. _import_cache$_canonicalize$4(importer, url, baseUrl, forImport) {
  100570. var passContainingUrl, t1, result, _null = null,
  100571. canonicalize = forImport ? new A.ImportCache__canonicalize_closure1(importer, url) : new A.ImportCache__canonicalize_closure2(importer, url);
  100572. if (baseUrl != null)
  100573. passContainingUrl = url.get$scheme() === "" || importer.isNonCanonicalScheme$1(url.get$scheme());
  100574. else
  100575. passContainingUrl = false;
  100576. t1 = passContainingUrl ? baseUrl : _null;
  100577. result = A.withContainingUrl0(t1, canonicalize, type$.nullable_Uri);
  100578. if (result == null)
  100579. return _null;
  100580. if (result.get$scheme() === "")
  100581. A.WarnForDeprecation_warnForDeprecation0(this._import_cache$_logger, B.Deprecation_E5x, "Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2e_Rela, _null, _null);
  100582. else if (importer.isNonCanonicalScheme$1(result.get$scheme()))
  100583. throw A.wrapException("Importer " + importer.toString$0(0) + " canonicalized " + url.toString$0(0) + " to " + result.toString$0(0) + string$.x2c_whicu);
  100584. return new A._Record_3_originalUrl(importer, result, url);
  100585. },
  100586. importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, quiet) {
  100587. return this._import_cache$_importCache.putIfAbsent$2(canonicalUrl, new A.ImportCache_importCanonical_closure0(this, importer, canonicalUrl, originalUrl, quiet));
  100588. },
  100589. importCanonical$3$originalUrl(importer, canonicalUrl, originalUrl) {
  100590. return this.importCanonical$4$originalUrl$quiet(importer, canonicalUrl, originalUrl, false);
  100591. },
  100592. humanize$1(canonicalUrl) {
  100593. var t2,
  100594. t1 = this._import_cache$_canonicalizeCache;
  100595. t1 = A.IterableNullableExtension_whereNotNull(t1.get$values(t1), type$.Record_3_Importer_and_Uri_and_Uri_originalUrl_2);
  100596. t2 = t1.$ti;
  100597. t2 = A.NullableExtension_andThen0(A.minBy(new A.MappedIterable(new A.WhereIterable(t1, new A.ImportCache_humanize_closure3(canonicalUrl), t2._eval$1("WhereIterable<Iterable.E>")), new A.ImportCache_humanize_closure4(), t2._eval$1("MappedIterable<Iterable.E,Uri>")), new A.ImportCache_humanize_closure5()), new A.ImportCache_humanize_closure6(canonicalUrl));
  100598. return t2 == null ? canonicalUrl : t2;
  100599. },
  100600. sourceMapUrl$1(_, canonicalUrl) {
  100601. var t1 = this._import_cache$_resultsCache.$index(0, canonicalUrl);
  100602. t1 = t1 == null ? null : t1.get$sourceMapUrl(t1);
  100603. return t1 == null ? canonicalUrl : t1;
  100604. }
  100605. };
  100606. A.ImportCache_canonicalize_closure1.prototype = {
  100607. call$0() {
  100608. var _this = this,
  100609. t1 = _this.baseUrl,
  100610. t2 = t1 == null ? null : t1.resolveUri$1(_this.url);
  100611. if (t2 == null)
  100612. t2 = _this.url;
  100613. return _this.$this._import_cache$_canonicalize$4(_this.baseImporter, t2, t1, _this.forImport);
  100614. },
  100615. $signature: 259
  100616. };
  100617. A.ImportCache_canonicalize_closure2.prototype = {
  100618. call$0() {
  100619. var t1, t2, t3, t4, t5, t6, _i, _0_0, result, t7, _this = this;
  100620. for (t1 = _this.$this, t2 = t1._import_cache$_importers, t3 = t2.length, t4 = _this.url, t5 = _this.baseUrl, t6 = _this.forImport, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i) {
  100621. _0_0 = t1._import_cache$_canonicalize$4(t2[_i], t4, t5, t6);
  100622. if (_0_0 != null) {
  100623. result = _0_0;
  100624. t7 = true;
  100625. } else {
  100626. result = null;
  100627. t7 = false;
  100628. }
  100629. if (t7)
  100630. return result;
  100631. }
  100632. return null;
  100633. },
  100634. $signature: 259
  100635. };
  100636. A.ImportCache__canonicalize_closure1.prototype = {
  100637. call$0() {
  100638. var t1 = type$.nullable_Object;
  100639. return A.runZoned(new A.ImportCache__canonicalize__closure0(this.importer, this.resolved), A.LinkedHashMap_LinkedHashMap$_literal([B.Symbol__inImportRule, true], t1, t1), type$.nullable_Uri);
  100640. },
  100641. $signature: 66
  100642. };
  100643. A.ImportCache__canonicalize__closure0.prototype = {
  100644. call$0() {
  100645. return this.importer.canonicalize$1(0, this.resolved);
  100646. },
  100647. $signature: 66
  100648. };
  100649. A.ImportCache__canonicalize_closure2.prototype = {
  100650. call$0() {
  100651. return this.importer.canonicalize$1(0, this.resolved);
  100652. },
  100653. $signature: 66
  100654. };
  100655. A.ImportCache_importCanonical_closure0.prototype = {
  100656. call$0() {
  100657. var t2, t3, t4, _this = this,
  100658. t1 = _this.canonicalUrl,
  100659. result = _this.importer.load$1(0, t1);
  100660. if (result == null)
  100661. return null;
  100662. t2 = _this.$this;
  100663. t2._import_cache$_resultsCache.$indexSet(0, t1, result);
  100664. t3 = result.contents;
  100665. t4 = result.syntax;
  100666. t1 = _this.originalUrl.resolveUri$1(t1);
  100667. return A.Stylesheet_Stylesheet$parse0(t3, t4, _this.quiet ? $.$get$Logger_quiet0() : t2._import_cache$_logger, t1);
  100668. },
  100669. $signature: 485
  100670. };
  100671. A.ImportCache_humanize_closure3.prototype = {
  100672. call$1(result) {
  100673. return J.$eq$(result._1, this.canonicalUrl);
  100674. },
  100675. $signature: 486
  100676. };
  100677. A.ImportCache_humanize_closure4.prototype = {
  100678. call$1(result) {
  100679. return result._2;
  100680. },
  100681. $signature: 487
  100682. };
  100683. A.ImportCache_humanize_closure5.prototype = {
  100684. call$1(url) {
  100685. return url.get$path(url).length;
  100686. },
  100687. $signature: 85
  100688. };
  100689. A.ImportCache_humanize_closure6.prototype = {
  100690. call$1(url) {
  100691. var t1 = $.$get$url(),
  100692. t2 = this.canonicalUrl;
  100693. return url.resolve$1(A.ParsedPath_ParsedPath$parse(t2.get$path(t2), t1.style).get$basename());
  100694. },
  100695. $signature: 49
  100696. };
  100697. A.ImportRule0.prototype = {
  100698. accept$1$1(visitor) {
  100699. return visitor.visitImportRule$1(this);
  100700. },
  100701. accept$1(visitor) {
  100702. return this.accept$1$1(visitor, type$.dynamic);
  100703. },
  100704. toString$0(_) {
  100705. return "@import " + B.JSArray_methods.join$1(this.imports, ", ") + ";";
  100706. },
  100707. $isAstNode0: 1,
  100708. $isStatement0: 1,
  100709. get$span(receiver) {
  100710. return this.span;
  100711. }
  100712. };
  100713. A.JSImporter.prototype = {};
  100714. A.CanonicalizeContext.prototype = {};
  100715. A.JSImporterResult.prototype = {};
  100716. A.Importer0.prototype = {
  100717. isNonCanonicalScheme$1(scheme) {
  100718. return false;
  100719. }
  100720. };
  100721. A.NodeImporterResult0.prototype = {};
  100722. A.IncludeRule0.prototype = {
  100723. get$spanWithoutContent() {
  100724. var t2, t3,
  100725. t1 = this.span;
  100726. if (!(this.content == null)) {
  100727. t2 = t1.file;
  100728. t3 = this.$arguments.span;
  100729. t3 = A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t2.span$2(0, A.FileLocation$_(t2, t1._file$_start).offset, t3.get$end(t3).offset)));
  100730. t1 = t3;
  100731. }
  100732. return t1;
  100733. },
  100734. accept$1$1(visitor) {
  100735. return visitor.visitIncludeRule$1(this);
  100736. },
  100737. accept$1(visitor) {
  100738. return this.accept$1$1(visitor, type$.dynamic);
  100739. },
  100740. toString$0(_) {
  100741. var t2, _this = this,
  100742. t1 = _this.namespace;
  100743. t1 = t1 != null ? "@include " + (t1 + ".") : "@include ";
  100744. t1 += _this.name;
  100745. t2 = _this.$arguments;
  100746. if (!t2.get$isEmpty(t2))
  100747. t1 += "(" + t2.toString$0(0) + ")";
  100748. t2 = _this.content;
  100749. t1 += t2 == null ? ";" : " " + t2.toString$0(0);
  100750. return t1.charCodeAt(0) == 0 ? t1 : t1;
  100751. },
  100752. $isAstNode0: 1,
  100753. $isStatement0: 1,
  100754. get$span(receiver) {
  100755. return this.span;
  100756. }
  100757. };
  100758. A.InterpolatedFunctionExpression0.prototype = {
  100759. accept$1$1(visitor) {
  100760. return visitor.visitInterpolatedFunctionExpression$1(this);
  100761. },
  100762. accept$1(visitor) {
  100763. return this.accept$1$1(visitor, type$.dynamic);
  100764. },
  100765. toString$0(_) {
  100766. return this.name.toString$0(0) + this.$arguments.toString$0(0);
  100767. },
  100768. $isExpression0: 1,
  100769. $isAstNode0: 1,
  100770. get$span(receiver) {
  100771. return this.span;
  100772. }
  100773. };
  100774. A.Interpolation0.prototype = {
  100775. get$asPlain() {
  100776. var t1, first,
  100777. _0_0 = this.contents,
  100778. _0_1 = A._InitializedCell$(new A.Interpolation_asPlain_closure1(_0_0)),
  100779. _0_6 = A._InitializedCell$(new A.Interpolation_asPlain_closure2(_0_0));
  100780. $label0$0: {
  100781. if (_0_1._readFinal$0() <= 0) {
  100782. t1 = "";
  100783. break $label0$0;
  100784. }
  100785. if (J.$eq$(_0_1._readFinal$0(), 1))
  100786. if (typeof _0_6._readFinal$0() == "string") {
  100787. first = _0_6._readFinal$0();
  100788. t1 = true;
  100789. } else {
  100790. first = null;
  100791. t1 = false;
  100792. }
  100793. else {
  100794. first = null;
  100795. t1 = false;
  100796. }
  100797. if (t1) {
  100798. t1 = first;
  100799. break $label0$0;
  100800. }
  100801. t1 = null;
  100802. break $label0$0;
  100803. }
  100804. return t1;
  100805. },
  100806. get$initialPlain() {
  100807. var first, t1,
  100808. _0_0 = this.contents,
  100809. _0_4 = A._InitializedCell$(new A.Interpolation_initialPlain_closure0(_0_0));
  100810. $label0$0: {
  100811. if (_0_0.length >= 1)
  100812. if (typeof _0_4._readFinal$0() == "string") {
  100813. first = _0_4._readFinal$0();
  100814. t1 = true;
  100815. } else {
  100816. first = null;
  100817. t1 = false;
  100818. }
  100819. else {
  100820. first = null;
  100821. t1 = false;
  100822. }
  100823. if (t1) {
  100824. t1 = first;
  100825. break $label0$0;
  100826. }
  100827. t1 = "";
  100828. break $label0$0;
  100829. }
  100830. return t1;
  100831. },
  100832. Interpolation$20(contents, span) {
  100833. var t1, t2, t3, i, t4, t5,
  100834. _s8_ = "contents";
  100835. for (t1 = this.contents, t2 = t1.length, t3 = type$.Expression_2, i = 0; i < t2; ++i) {
  100836. t4 = t1[i];
  100837. t5 = typeof t4 == "string";
  100838. if (!t5 && !t3._is(t4))
  100839. throw A.wrapException(A.ArgumentError$value(t1, _s8_, string$.May_on));
  100840. if (i !== 0 && typeof t1[i - 1] == "string" && t5)
  100841. throw A.wrapException(A.ArgumentError$value(t1, _s8_, "May not contain adjacent Strings."));
  100842. }
  100843. },
  100844. toString$0(_) {
  100845. var t1 = this.contents;
  100846. return new A.MappedListIterable(t1, new A.Interpolation_toString_closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  100847. },
  100848. $isAstNode0: 1,
  100849. get$span(receiver) {
  100850. return this.span;
  100851. }
  100852. };
  100853. A.Interpolation_asPlain_closure1.prototype = {
  100854. call$0() {
  100855. return this._0_0.length;
  100856. },
  100857. $signature: 3
  100858. };
  100859. A.Interpolation_asPlain_closure2.prototype = {
  100860. call$0() {
  100861. return this._0_0[0];
  100862. },
  100863. $signature: 14
  100864. };
  100865. A.Interpolation_initialPlain_closure0.prototype = {
  100866. call$0() {
  100867. return this._0_0[0];
  100868. },
  100869. $signature: 14
  100870. };
  100871. A.Interpolation_toString_closure0.prototype = {
  100872. call$1(value) {
  100873. return typeof value == "string" ? value : "#{" + A.S(value) + "}";
  100874. },
  100875. $signature: 129
  100876. };
  100877. A.SupportsInterpolation0.prototype = {
  100878. toString$0(_) {
  100879. return "#{" + this.expression.toString$0(0) + "}";
  100880. },
  100881. $isAstNode0: 1,
  100882. get$span(receiver) {
  100883. return this.span;
  100884. }
  100885. };
  100886. A.InterpolationBuffer0.prototype = {
  100887. writeCharCode$1(character) {
  100888. this._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(character);
  100889. return null;
  100890. },
  100891. addInterpolation$1(interpolation) {
  100892. var _0_4, first, rest, _this = this, _null = null,
  100893. toAdd = interpolation.contents,
  100894. t1 = toAdd.length;
  100895. if (t1 === 0)
  100896. return;
  100897. _0_4 = A._InitializedCell$(new A.InterpolationBuffer_addInterpolation_closure0(toAdd));
  100898. if (t1 >= 1)
  100899. if (typeof _0_4._readFinal$0() == "string") {
  100900. first = _0_4._readFinal$0();
  100901. rest = B.JSArray_methods.sublist$1(toAdd, 1);
  100902. t1 = true;
  100903. } else {
  100904. rest = _null;
  100905. first = rest;
  100906. t1 = false;
  100907. }
  100908. else {
  100909. rest = _null;
  100910. first = rest;
  100911. t1 = false;
  100912. }
  100913. if (t1) {
  100914. _this._interpolation_buffer0$_text._contents += A.S(first);
  100915. toAdd = rest;
  100916. }
  100917. _this._interpolation_buffer0$_flushText$0();
  100918. t1 = _this._interpolation_buffer0$_contents;
  100919. B.JSArray_methods.addAll$1(t1, toAdd);
  100920. if (typeof B.JSArray_methods.get$last(t1) == "string")
  100921. _this._interpolation_buffer0$_text._contents += A.S(t1.pop());
  100922. },
  100923. _interpolation_buffer0$_flushText$0() {
  100924. var t1 = this._interpolation_buffer0$_text,
  100925. t2 = t1._contents;
  100926. if (t2.length === 0)
  100927. return;
  100928. this._interpolation_buffer0$_contents.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  100929. t1._contents = "";
  100930. },
  100931. interpolation$1(span) {
  100932. var t1 = A.List_List$of(this._interpolation_buffer0$_contents, true, type$.Object),
  100933. t2 = this._interpolation_buffer0$_text._contents;
  100934. if (t2.length !== 0)
  100935. t1.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  100936. return A.Interpolation$0(t1, span);
  100937. },
  100938. toString$0(_) {
  100939. var t1, t2, _i, t3, element;
  100940. for (t1 = this._interpolation_buffer0$_contents, t2 = t1.length, _i = 0, t3 = ""; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {
  100941. element = t1[_i];
  100942. t3 = typeof element == "string" ? t3 + element : t3 + "#{" + A.S(element) + A.Primitives_stringFromCharCode(125);
  100943. }
  100944. t1 = t3 + this._interpolation_buffer0$_text.toString$0(0);
  100945. return t1.charCodeAt(0) == 0 ? t1 : t1;
  100946. }
  100947. };
  100948. A.InterpolationBuffer_addInterpolation_closure0.prototype = {
  100949. call$0() {
  100950. return this._0_0[0];
  100951. },
  100952. $signature: 14
  100953. };
  100954. A.InterpolationMap0.prototype = {
  100955. mapException$1(error) {
  100956. var t3, t4, _this = this,
  100957. target = error.get$span(error),
  100958. source = _this.mapSpan$1(target),
  100959. startIndex = _this._interpolation_map$_indexInContents$1(target.get$start(target)),
  100960. endIndex = _this._interpolation_map$_indexInContents$1(target.get$end(target)),
  100961. t1 = _this._interpolation_map$_interpolation.contents,
  100962. t2 = error._span_exception$_message;
  100963. if (!A.SubListIterable$(t1, startIndex, null, A._arrayInstanceType(t1)._precomputed1).take$1(0, endIndex - startIndex + 1).any$1(0, new A.InterpolationMap_mapException_closure0()))
  100964. return new A.SourceSpanFormatException(error.get$source(), t2, source);
  100965. else {
  100966. t1 = type$.SourceSpan;
  100967. t3 = type$.String;
  100968. t4 = A.LinkedHashMap_LinkedHashMap$_literal([target, "error in interpolated output"], t1, t3);
  100969. error.get$source();
  100970. return new A.MultiSourceSpanFormatException("", A.ConstantMap_ConstantMap$from(t4, t1, t3), t2, source);
  100971. }
  100972. },
  100973. mapSpan$1(target) {
  100974. var t1, start, end, t2, _this = this, _null = null,
  100975. _0_0 = new A._Record_2(_this._interpolation_map$_mapLocation$1(target.get$start(target)), _this._interpolation_map$_mapLocation$1(target.get$end(target))),
  100976. _0_1 = A._InitializedCell$(new A.InterpolationMap_mapSpan_closure1(_0_0)),
  100977. _0_2 = A._InitializedCell$(new A.InterpolationMap_mapSpan_closure2(_0_0));
  100978. $label0$0: {
  100979. t1 = type$.FileSpan;
  100980. if (t1._is(_0_1._readFinal$0())) {
  100981. start = _0_1._readFinal$0();
  100982. if (t1._is(_0_2._readFinal$0())) {
  100983. end = _0_2._readFinal$0();
  100984. t2 = true;
  100985. } else {
  100986. end = _null;
  100987. t2 = false;
  100988. }
  100989. } else {
  100990. end = _null;
  100991. start = end;
  100992. t2 = false;
  100993. }
  100994. if (t2) {
  100995. t1 = start.expand$1(0, end);
  100996. break $label0$0;
  100997. }
  100998. if (t1._is(_0_1._readFinal$0())) {
  100999. start = _0_1._readFinal$0();
  101000. if (_0_2._readFinal$0() instanceof A.FileLocation) {
  101001. end = _0_2._readFinal$0();
  101002. t2 = true;
  101003. } else {
  101004. end = _null;
  101005. t2 = false;
  101006. }
  101007. } else {
  101008. end = _null;
  101009. start = end;
  101010. t2 = false;
  101011. }
  101012. if (t2) {
  101013. t1 = _this._interpolation_map$_interpolation.span;
  101014. t1 = t1.get$file(t1).span$2(0, _this._interpolation_map$_expandInterpolationSpanLeft$1(start.get$start(start)), end.offset);
  101015. break $label0$0;
  101016. }
  101017. if (_0_1._readFinal$0() instanceof A.FileLocation) {
  101018. start = _0_1._readFinal$0();
  101019. if (t1._is(_0_2._readFinal$0())) {
  101020. end = _0_2._readFinal$0();
  101021. t1 = true;
  101022. } else {
  101023. end = _null;
  101024. t1 = false;
  101025. }
  101026. } else {
  101027. end = _null;
  101028. start = end;
  101029. t1 = false;
  101030. }
  101031. if (t1) {
  101032. t1 = _this._interpolation_map$_interpolation.span;
  101033. t1 = t1.get$file(t1).span$2(0, start.offset, _this._interpolation_map$_expandInterpolationSpanRight$1(end.get$end(end)));
  101034. break $label0$0;
  101035. }
  101036. if (_0_1._readFinal$0() instanceof A.FileLocation) {
  101037. start = _0_1._readFinal$0();
  101038. if (_0_2._readFinal$0() instanceof A.FileLocation) {
  101039. end = _0_2._readFinal$0();
  101040. t1 = true;
  101041. } else {
  101042. end = _null;
  101043. t1 = false;
  101044. }
  101045. } else {
  101046. end = _null;
  101047. start = end;
  101048. t1 = false;
  101049. }
  101050. if (t1) {
  101051. t1 = _this._interpolation_map$_interpolation.span;
  101052. t1 = t1.get$file(t1).span$2(0, start.offset, end.offset);
  101053. break $label0$0;
  101054. }
  101055. t1 = A.throwExpression("[BUG] Unreachable");
  101056. }
  101057. return t1;
  101058. },
  101059. _interpolation_map$_mapLocation$1(target) {
  101060. var chunk, t4, previousLocation, _this = this,
  101061. index = _this._interpolation_map$_indexInContents$1(target),
  101062. t1 = _this._interpolation_map$_interpolation,
  101063. t2 = t1.contents,
  101064. _0_0 = t2[index],
  101065. t3 = type$.Expression_2;
  101066. if (t3._is(_0_0)) {
  101067. chunk = _0_0;
  101068. t4 = true;
  101069. } else {
  101070. chunk = null;
  101071. t4 = false;
  101072. }
  101073. if (t4)
  101074. return chunk.get$span(chunk);
  101075. t4 = index === 0;
  101076. t1 = t1.span;
  101077. if (t4)
  101078. previousLocation = t1.get$start(t1);
  101079. else {
  101080. t1 = t1.get$file(t1);
  101081. t2 = t3._as(t2[index - 1]);
  101082. t2 = t2.get$span(t2);
  101083. previousLocation = A.FileLocation$_(t1, _this._interpolation_map$_expandInterpolationSpanRight$1(t2.get$end(t2)));
  101084. }
  101085. t1 = t4 ? 0 : _this._interpolation_map$_targetLocations[index - 1].get$offset();
  101086. return A.FileLocation$_(previousLocation.file, previousLocation.offset + (target.offset - t1));
  101087. },
  101088. _interpolation_map$_indexInContents$1(target) {
  101089. var t1, t2, t3, i;
  101090. for (t1 = this._interpolation_map$_targetLocations, t2 = t1.length, t3 = target.offset, i = 0; i < t2; ++i)
  101091. if (t3 < t1[i].get$offset())
  101092. return i;
  101093. return this._interpolation_map$_interpolation.contents.length - 1;
  101094. },
  101095. _interpolation_map$_expandInterpolationSpanLeft$1(start) {
  101096. var i0, prev, char,
  101097. source = start.file._decodedChars,
  101098. i = start.offset - 1;
  101099. for (; i >= 0;) {
  101100. i0 = i - 1;
  101101. prev = source[i];
  101102. if (prev === 123) {
  101103. if (source[i0] === 35) {
  101104. i = i0;
  101105. break;
  101106. }
  101107. i = i0;
  101108. } else if (prev === 47) {
  101109. i = i0 - 1;
  101110. if (source[i0] === 42)
  101111. for (; true;) {
  101112. i0 = i - 1;
  101113. if (source[i] !== 42) {
  101114. i = i0;
  101115. continue;
  101116. }
  101117. i = i0;
  101118. do {
  101119. i0 = i - 1;
  101120. char = source[i];
  101121. if (char === 42) {
  101122. i = i0;
  101123. continue;
  101124. } else
  101125. break;
  101126. } while (true);
  101127. if (char === 47) {
  101128. i = i0;
  101129. break;
  101130. }
  101131. i = i0;
  101132. }
  101133. } else
  101134. i = i0;
  101135. }
  101136. return i;
  101137. },
  101138. _interpolation_map$_expandInterpolationSpanRight$1(end) {
  101139. var t1, i0, next, second, t2, char,
  101140. source = end.file._decodedChars,
  101141. i = end.offset;
  101142. for (t1 = source.length; i < t1;) {
  101143. i0 = i + 1;
  101144. next = source[i];
  101145. if (next === 125) {
  101146. i = i0;
  101147. break;
  101148. }
  101149. if (next === 47) {
  101150. i = i0 + 1;
  101151. second = source[i0];
  101152. if (second === 47) {
  101153. while (true) {
  101154. i0 = i + 1;
  101155. t2 = source[i];
  101156. if (!!(t2 === 10 || t2 === 13 || t2 === 12))
  101157. break;
  101158. i = i0;
  101159. }
  101160. i = i0;
  101161. } else if (second === 42)
  101162. for (; true;) {
  101163. i0 = i + 1;
  101164. if (source[i] !== 42) {
  101165. i = i0;
  101166. continue;
  101167. }
  101168. i = i0;
  101169. do {
  101170. i0 = i + 1;
  101171. char = source[i];
  101172. if (char === 42) {
  101173. i = i0;
  101174. continue;
  101175. } else
  101176. break;
  101177. } while (true);
  101178. if (char === 47) {
  101179. i = i0;
  101180. break;
  101181. }
  101182. i = i0;
  101183. }
  101184. } else
  101185. i = i0;
  101186. }
  101187. return i;
  101188. }
  101189. };
  101190. A.InterpolationMap_mapException_closure0.prototype = {
  101191. call$1($content) {
  101192. return type$.Expression_2._is($content);
  101193. },
  101194. $signature: 68
  101195. };
  101196. A.InterpolationMap_mapSpan_closure1.prototype = {
  101197. call$0() {
  101198. return this._0_0._0;
  101199. },
  101200. $signature: 14
  101201. };
  101202. A.InterpolationMap_mapSpan_closure2.prototype = {
  101203. call$0() {
  101204. return this._0_0._1;
  101205. },
  101206. $signature: 14
  101207. };
  101208. A._realCasePath_helper0.prototype = {
  101209. call$1(path) {
  101210. var dirname = $.$get$context().dirname$1(path);
  101211. if (dirname === path)
  101212. return path;
  101213. return $._realCaseCache0.putIfAbsent$2(path, new A._realCasePath_helper_closure0(this, dirname, path));
  101214. },
  101215. $signature: 7
  101216. };
  101217. A._realCasePath_helper_closure0.prototype = {
  101218. call$0() {
  101219. var matches, t1, _0_0, match, t3, exception,
  101220. realDirname = this.helper.call$1(this.dirname),
  101221. t2 = this.path,
  101222. basename = A.ParsedPath_ParsedPath$parse(t2, $.$get$context().style).get$basename();
  101223. try {
  101224. matches = J.where$1$ax(A.listDir0(realDirname), new A._realCasePath_helper__closure0(basename)).toList$0(0);
  101225. t1 = null;
  101226. _0_0 = matches;
  101227. $label0$0: {
  101228. match = null;
  101229. if (J.get$length$asx(_0_0) === 1) {
  101230. match = J.$index$asx(_0_0, 0);
  101231. t3 = true;
  101232. } else
  101233. t3 = false;
  101234. if (t3) {
  101235. t1 = match;
  101236. break $label0$0;
  101237. }
  101238. t1 = A.join(realDirname, basename, null);
  101239. break $label0$0;
  101240. }
  101241. t1 = t1;
  101242. return t1;
  101243. } catch (exception) {
  101244. if (A.unwrapException(exception) instanceof A.FileSystemException0)
  101245. return t2;
  101246. else
  101247. throw exception;
  101248. }
  101249. },
  101250. $signature: 21
  101251. };
  101252. A._realCasePath_helper__closure0.prototype = {
  101253. call$1(realPath) {
  101254. return A.equalsIgnoreCase0(A.ParsedPath_ParsedPath$parse(realPath, $.$get$context().style).get$basename(), this.basename);
  101255. },
  101256. $signature: 10
  101257. };
  101258. A.FileSystemException0.prototype = {
  101259. toString$0(_) {
  101260. var t1 = $.$get$context();
  101261. return t1.prettyUri$1(t1.toUri$1(this.path)) + ": " + this.message;
  101262. },
  101263. get$message(receiver) {
  101264. return this.message;
  101265. }
  101266. };
  101267. A._readFile_closure0.prototype = {
  101268. call$0() {
  101269. return J.readFileSync$2$x(A.fs(), this.path, this.encoding);
  101270. },
  101271. $signature: 65
  101272. };
  101273. A.fileExists_closure0.prototype = {
  101274. call$0() {
  101275. var error, systemError, exception,
  101276. t1 = this.path;
  101277. if (!J.existsSync$1$x(A.fs(), t1))
  101278. return false;
  101279. try {
  101280. t1 = J.isFile$0$x(J.statSync$1$x(A.fs(), t1));
  101281. return t1;
  101282. } catch (exception) {
  101283. error = A.unwrapException(exception);
  101284. systemError = type$.JsSystemError._as(error);
  101285. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  101286. return false;
  101287. throw exception;
  101288. }
  101289. },
  101290. $signature: 1
  101291. };
  101292. A.dirExists_closure0.prototype = {
  101293. call$0() {
  101294. var error, systemError, exception,
  101295. t1 = this.path;
  101296. if (!J.existsSync$1$x(A.fs(), t1))
  101297. return false;
  101298. try {
  101299. t1 = J.isDirectory$0$x(J.statSync$1$x(A.fs(), t1));
  101300. return t1;
  101301. } catch (exception) {
  101302. error = A.unwrapException(exception);
  101303. systemError = type$.JsSystemError._as(error);
  101304. if (J.$eq$(J.get$code$x(systemError), "ENOENT"))
  101305. return false;
  101306. throw exception;
  101307. }
  101308. },
  101309. $signature: 1
  101310. };
  101311. A.listDir_closure0.prototype = {
  101312. call$0() {
  101313. var t1 = this.path;
  101314. if (!this.recursive)
  101315. return J.map$1$1$ax(J.readdirSync$1$x(A.fs(), t1), new A.listDir__closure1(t1), type$.String).super$Iterable$where(0, new A.listDir__closure2());
  101316. else
  101317. return new A.listDir_closure_list0().call$1(t1);
  101318. },
  101319. $signature: 194
  101320. };
  101321. A.listDir__closure1.prototype = {
  101322. call$1(child) {
  101323. return A.join(this.path, A._asString(child), null);
  101324. },
  101325. $signature: 120
  101326. };
  101327. A.listDir__closure2.prototype = {
  101328. call$1(child) {
  101329. return !A.dirExists0(child);
  101330. },
  101331. $signature: 10
  101332. };
  101333. A.listDir_closure_list0.prototype = {
  101334. call$1($parent) {
  101335. return J.expand$1$1$ax(J.readdirSync$1$x(A.fs(), $parent), new A.listDir__list_closure0($parent, this), type$.String);
  101336. },
  101337. $signature: 193
  101338. };
  101339. A.listDir__list_closure0.prototype = {
  101340. call$1(child) {
  101341. var path = A.join(this.parent, A._asString(child), null);
  101342. return A.dirExists0(path) ? this.list.call$1(path) : A._setArrayType([path], type$.JSArray_String);
  101343. },
  101344. $signature: 192
  101345. };
  101346. A.main_closure.prototype = {
  101347. call$2(_, __) {
  101348. },
  101349. $signature: 488
  101350. };
  101351. A.main_closure0.prototype = {
  101352. call$2(_, __) {
  101353. },
  101354. $signature: 489
  101355. };
  101356. A.JSToDartLogger.prototype = {
  101357. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  101358. var warn,
  101359. t1 = this._node,
  101360. _0_0 = t1 == null ? null : J.get$warn$x(t1);
  101361. if (_0_0 != null) {
  101362. warn = _0_0;
  101363. t1 = true;
  101364. } else {
  101365. warn = null;
  101366. t1 = false;
  101367. }
  101368. if (t1) {
  101369. t1 = span == null ? type$.nullable_SourceSpan._as(self.undefined) : span;
  101370. warn.call$2(message, {deprecation: deprecation, span: t1, stack: J.toString$0$(trace)});
  101371. } else
  101372. this._withAscii$1(new A.JSToDartLogger_warn_closure(this, message, span, trace, deprecation));
  101373. },
  101374. warn$1($receiver, message) {
  101375. return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
  101376. },
  101377. warn$2$span($receiver, message, span) {
  101378. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  101379. },
  101380. debug$2(_, message, span) {
  101381. var debug,
  101382. t1 = this._node,
  101383. _0_0 = t1 == null ? null : J.get$debug$x(t1);
  101384. if (_0_0 != null) {
  101385. debug = _0_0;
  101386. t1 = true;
  101387. } else {
  101388. debug = null;
  101389. t1 = false;
  101390. }
  101391. if (t1)
  101392. debug.call$2(message, {span: span});
  101393. else
  101394. this._withAscii$1(new A.JSToDartLogger_debug_closure(this, message, span));
  101395. },
  101396. _withAscii$1$1(callback) {
  101397. var t1,
  101398. wasAscii = $._glyphs === B.C_AsciiGlyphSet;
  101399. $._glyphs = this._ascii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  101400. try {
  101401. t1 = callback.call$0();
  101402. return t1;
  101403. } finally {
  101404. $._glyphs = wasAscii ? B.C_AsciiGlyphSet : B.C_UnicodeGlyphSet;
  101405. }
  101406. },
  101407. _withAscii$1(callback) {
  101408. return this._withAscii$1$1(callback, type$.dynamic);
  101409. }
  101410. };
  101411. A.JSToDartLogger_warn_closure.prototype = {
  101412. call$0() {
  101413. var _this = this;
  101414. _this.$this._fallback.warn$4$deprecation$span$trace(0, _this.message, _this.deprecation, _this.span, _this.trace);
  101415. },
  101416. $signature: 2
  101417. };
  101418. A.JSToDartLogger_debug_closure.prototype = {
  101419. call$0() {
  101420. return this.$this._fallback.debug$2(0, this.message, this.span);
  101421. },
  101422. $signature: 0
  101423. };
  101424. A.ModifiableCssKeyframeBlock0.prototype = {
  101425. accept$1$1(visitor) {
  101426. return visitor.visitCssKeyframeBlock$1(this);
  101427. },
  101428. accept$1(visitor) {
  101429. return this.accept$1$1(visitor, type$.dynamic);
  101430. },
  101431. equalsIgnoringChildren$1(other) {
  101432. return other instanceof A.ModifiableCssKeyframeBlock0 && B.C_ListEquality.equals$2(0, this.selector.value, other.selector.value);
  101433. },
  101434. copyWithoutChildren$0() {
  101435. return A.ModifiableCssKeyframeBlock$0(this.selector, this.span);
  101436. },
  101437. get$span(receiver) {
  101438. return this.span;
  101439. }
  101440. };
  101441. A.KeyframeSelectorParser0.prototype = {
  101442. parse$0() {
  101443. return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure0(this));
  101444. },
  101445. _keyframe_selector$_percentage$0() {
  101446. var $self, _0_0,
  101447. t1 = this.scanner,
  101448. t2 = t1.scanChar$1(43) ? "" + A.Primitives_stringFromCharCode(43) : "",
  101449. second = t1.peekChar$0();
  101450. if (!(second != null && second >= 48 && second <= 57) && second !== 46)
  101451. t1.error$1(0, "Expected number.");
  101452. while (true) {
  101453. $self = t1.peekChar$0();
  101454. if (!($self != null && $self >= 48 && $self <= 57))
  101455. break;
  101456. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  101457. }
  101458. if (t1.peekChar$0() === 46) {
  101459. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  101460. while (true) {
  101461. $self = t1.peekChar$0();
  101462. if (!($self != null && $self >= 48 && $self <= 57))
  101463. break;
  101464. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  101465. }
  101466. }
  101467. if (this.scanIdentChar$1(101)) {
  101468. t2 += A.Primitives_stringFromCharCode(101);
  101469. _0_0 = t1.peekChar$0();
  101470. if (43 === _0_0 || 45 === _0_0)
  101471. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  101472. $self = t1.peekChar$0();
  101473. if (!($self != null && $self >= 48 && $self <= 57))
  101474. t1.error$1(0, "Expected digit.");
  101475. do {
  101476. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  101477. $self = t1.peekChar$0();
  101478. } while ($self != null && $self >= 48 && $self <= 57);
  101479. }
  101480. t1.expectChar$1(37);
  101481. t2 += A.Primitives_stringFromCharCode(37);
  101482. return t2.charCodeAt(0) == 0 ? t2 : t2;
  101483. }
  101484. };
  101485. A.KeyframeSelectorParser_parse_closure0.prototype = {
  101486. call$0() {
  101487. var selectors = A._setArrayType([], type$.JSArray_String),
  101488. t1 = this.$this,
  101489. t2 = t1.scanner;
  101490. do {
  101491. t1.whitespace$0();
  101492. if (t1.lookingAtIdentifier$0())
  101493. if (t1.scanIdentifier$1("from"))
  101494. selectors.push("from");
  101495. else {
  101496. t1.expectIdentifier$2$name("to", '"to" or "from"');
  101497. selectors.push("to");
  101498. }
  101499. else
  101500. selectors.push(t1._keyframe_selector$_percentage$0());
  101501. t1.whitespace$0();
  101502. } while (t2.scanChar$1(44));
  101503. t2.expectDone$0();
  101504. return selectors;
  101505. },
  101506. $signature: 28
  101507. };
  101508. A.LazyFileSpan0.prototype = {
  101509. get$span(_) {
  101510. var t1 = this._lazy_file_span0$_span;
  101511. return t1 == null ? this._lazy_file_span0$_span = this._lazy_file_span0$_builder.call$0() : t1;
  101512. },
  101513. compareTo$1(_, other) {
  101514. return this.get$span(this).compareTo$1(0, other);
  101515. },
  101516. get$context(_) {
  101517. var t1 = this.get$span(this);
  101518. return t1.get$context(t1);
  101519. },
  101520. get$end(_) {
  101521. var t1 = this.get$span(this);
  101522. return t1.get$end(t1);
  101523. },
  101524. expand$1(_, other) {
  101525. return this.get$span(this).expand$1(0, other);
  101526. },
  101527. get$file(_) {
  101528. var t1 = this.get$span(this);
  101529. return t1.get$file(t1);
  101530. },
  101531. highlight$1$color(color) {
  101532. return this.get$span(this).highlight$1$color(color);
  101533. },
  101534. get$length(_) {
  101535. var t1 = this.get$span(this);
  101536. return t1.get$length(t1);
  101537. },
  101538. message$2$color(_, message, color) {
  101539. return this.get$span(this).message$2$color(0, message, color);
  101540. },
  101541. message$1($receiver, message) {
  101542. return this.message$2$color($receiver, message, null);
  101543. },
  101544. get$sourceUrl(_) {
  101545. var t1 = this.get$span(this);
  101546. return t1.get$sourceUrl(t1);
  101547. },
  101548. get$start(_) {
  101549. var t1 = this.get$span(this);
  101550. return t1.get$start(t1);
  101551. },
  101552. get$text() {
  101553. return this.get$span(this).get$text();
  101554. },
  101555. $isComparable: 1,
  101556. $isFileSpan: 1,
  101557. $isSourceSpan: 1,
  101558. $isSourceSpanWithContext: 1
  101559. };
  101560. A.render_closure.prototype = {
  101561. call$0() {
  101562. var error, exception;
  101563. try {
  101564. this.callback.call$2(null, A.renderSync(this.options));
  101565. } catch (exception) {
  101566. error = A.unwrapException(exception);
  101567. this.callback.call$2(error, null);
  101568. }
  101569. return null;
  101570. },
  101571. $signature: 2
  101572. };
  101573. A.render_closure0.prototype = {
  101574. call$1(result) {
  101575. this.callback.call$2(null, result);
  101576. },
  101577. $signature: 490
  101578. };
  101579. A.render_closure1.prototype = {
  101580. call$2(error, stackTrace) {
  101581. var t2, t3, _null = null,
  101582. t1 = this.callback;
  101583. if (error instanceof A.SassException0)
  101584. t1.call$2(A._wrapException(error, stackTrace), _null);
  101585. else {
  101586. t2 = J.toString$0$(error);
  101587. t3 = A.getTrace0(error);
  101588. t1.call$2(A._newRenderError(t2, t3 == null ? stackTrace : t3, _null, _null, _null, 3), _null);
  101589. }
  101590. },
  101591. $signature: 61
  101592. };
  101593. A._parseFunctions_closure.prototype = {
  101594. call$2(signature, callback) {
  101595. var _0_0, _this = this, t1 = {},
  101596. t2 = _this.options,
  101597. context = {options: A._contextOptions(t2, _this.start)};
  101598. J.set$context$x(J.get$options$x(context), context);
  101599. t1.fiber = null;
  101600. _0_0 = J.get$fiber$x(t2);
  101601. if (_0_0 != null) {
  101602. t1.fiber = _0_0;
  101603. t2 = true;
  101604. } else
  101605. t2 = false;
  101606. if (t2)
  101607. _this.result.push(A.Callable_Callable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure(t1, callback, context), false));
  101608. else {
  101609. t1 = _this.result;
  101610. if (!_this.asynch)
  101611. t1.push(A.Callable_Callable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure0(callback, context), false));
  101612. else
  101613. t1.push(A.AsyncCallable_AsyncCallable$fromSignature(B.JSString_methods.trimLeft$0(signature), new A._parseFunctions__closure1(callback, context), false));
  101614. }
  101615. },
  101616. $signature: 145
  101617. };
  101618. A._parseFunctions__closure.prototype = {
  101619. call$1($arguments) {
  101620. var result,
  101621. t1 = this._box_0,
  101622. currentFiber = J.get$current$x(t1.fiber),
  101623. t2 = type$.Object;
  101624. t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), true, t2);
  101625. t2.push(A.allowInterop(new A._parseFunctions___closure2(currentFiber)));
  101626. result = A.wrapJSExceptions(new A._parseFunctions___closure3(this.callback, this.context, t2));
  101627. return A.unwrapValue(A._asBool($.$get$_isUndefined().call$1(result)) ? A.runZoned(new A._parseFunctions___closure4(t1), null, type$.nullable_Object) : result);
  101628. },
  101629. $signature: 5
  101630. };
  101631. A._parseFunctions___closure2.prototype = {
  101632. call$1(result) {
  101633. A.scheduleMicrotask(new A._parseFunctions____closure(this.currentFiber, result));
  101634. },
  101635. call$0() {
  101636. return this.call$1(null);
  101637. },
  101638. "call*": "call$1",
  101639. $requiredArgCount: 0,
  101640. $defaultValues() {
  101641. return [null];
  101642. },
  101643. $signature: 108
  101644. };
  101645. A._parseFunctions____closure.prototype = {
  101646. call$0() {
  101647. return J.run$1$x(this.currentFiber, this.result);
  101648. },
  101649. $signature: 0
  101650. };
  101651. A._parseFunctions___closure3.prototype = {
  101652. call$0() {
  101653. return J.apply$2$x(type$.JSFunction._as(this.callback), this.context, this.jsArguments);
  101654. },
  101655. $signature: 29
  101656. };
  101657. A._parseFunctions___closure4.prototype = {
  101658. call$0() {
  101659. return J.yield$0$x(this._box_0.fiber);
  101660. },
  101661. $signature: 14
  101662. };
  101663. A._parseFunctions__closure0.prototype = {
  101664. call$1($arguments) {
  101665. return A.unwrapValue(A.wrapJSExceptions(new A._parseFunctions___closure1(this.callback, this.context, $arguments)));
  101666. },
  101667. $signature: 5
  101668. };
  101669. A._parseFunctions___closure1.prototype = {
  101670. call$0() {
  101671. var t1 = type$.JSFunction._as(this.callback),
  101672. t2 = J.map$1$1$ax(this.$arguments, A.value0__wrapValue$closure(), type$.Object);
  101673. return J.apply$2$x(t1, this.context, A.List_List$of(t2, true, A._instanceType(t2)._eval$1("ListIterable.E")));
  101674. },
  101675. $signature: 29
  101676. };
  101677. A._parseFunctions__closure1.prototype = {
  101678. call$1($arguments) {
  101679. return this.$call$body$_parseFunctions__closure($arguments);
  101680. },
  101681. $call$body$_parseFunctions__closure($arguments) {
  101682. var $async$goto = 0,
  101683. $async$completer = A._makeAsyncAwaitCompleter(type$.Value_2),
  101684. $async$returnValue, $async$self = this, result, t1, t2, $async$temp1;
  101685. var $async$call$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
  101686. if ($async$errorCode === 1)
  101687. return A._asyncRethrow($async$result, $async$completer);
  101688. while (true)
  101689. switch ($async$goto) {
  101690. case 0:
  101691. // Function start
  101692. t1 = new A._Future($.Zone__current, type$._Future_nullable_Object);
  101693. t2 = type$.Object;
  101694. t2 = A.List_List$of(J.map$1$1$ax($arguments, A.value0__wrapValue$closure(), t2), true, t2);
  101695. t2.push(A.allowInterop(new A._parseFunctions___closure(new A._AsyncCompleter(t1, type$._AsyncCompleter_nullable_Object))));
  101696. result = A.wrapJSExceptions(new A._parseFunctions___closure0($async$self.callback, $async$self.context, t2));
  101697. $async$temp1 = A;
  101698. $async$goto = A._asBool($.$get$_isUndefined().call$1(result)) ? 3 : 5;
  101699. break;
  101700. case 3:
  101701. // then
  101702. $async$goto = 6;
  101703. return A._asyncAwait(t1, $async$call$1);
  101704. case 6:
  101705. // returning from await.
  101706. // goto join
  101707. $async$goto = 4;
  101708. break;
  101709. case 5:
  101710. // else
  101711. $async$result = result;
  101712. case 4:
  101713. // join
  101714. $async$returnValue = $async$temp1.unwrapValue($async$result);
  101715. // goto return
  101716. $async$goto = 1;
  101717. break;
  101718. case 1:
  101719. // return
  101720. return A._asyncReturn($async$returnValue, $async$completer);
  101721. }
  101722. });
  101723. return A._asyncStartSync($async$call$1, $async$completer);
  101724. },
  101725. $signature: 113
  101726. };
  101727. A._parseFunctions___closure.prototype = {
  101728. call$1(result) {
  101729. return this.completer.complete$1(result);
  101730. },
  101731. call$0() {
  101732. return this.call$1(null);
  101733. },
  101734. "call*": "call$1",
  101735. $requiredArgCount: 0,
  101736. $defaultValues() {
  101737. return [null];
  101738. },
  101739. $signature: 291
  101740. };
  101741. A._parseFunctions___closure0.prototype = {
  101742. call$0() {
  101743. return J.apply$2$x(type$.JSFunction._as(this.callback), this.context, this.jsArguments);
  101744. },
  101745. $signature: 29
  101746. };
  101747. A._parseImporter_closure.prototype = {
  101748. call$1(importer) {
  101749. return type$.JSFunction._as(A.allowInteropCaptureThis(new A._parseImporter__closure(this._box_0, importer)));
  101750. },
  101751. $signature: 491
  101752. };
  101753. A._parseImporter__closure.prototype = {
  101754. call$4(thisArg, url, previous, _) {
  101755. var t1 = this._box_0,
  101756. result = J.apply$2$x(this.importer, thisArg, A._setArrayType([url, previous, A.allowInterop(new A._parseImporter___closure(J.get$current$x(t1.fiber)))], type$.JSArray_Object));
  101757. if (A._asBool($.$get$_isUndefined().call$1(result)))
  101758. return A.runZoned(new A._parseImporter___closure0(t1), null, type$.Object);
  101759. return result;
  101760. },
  101761. call$3(thisArg, url, previous) {
  101762. return this.call$4(thisArg, url, previous, null);
  101763. },
  101764. "call*": "call$4",
  101765. $requiredArgCount: 3,
  101766. $defaultValues() {
  101767. return [null];
  101768. },
  101769. $signature: 492
  101770. };
  101771. A._parseImporter___closure.prototype = {
  101772. call$1(result) {
  101773. A.scheduleMicrotask(new A._parseImporter____closure(this.currentFiber, result));
  101774. },
  101775. $signature: 493
  101776. };
  101777. A._parseImporter____closure.prototype = {
  101778. call$0() {
  101779. return J.run$1$x(this.currentFiber, this.result);
  101780. },
  101781. $signature: 0
  101782. };
  101783. A._parseImporter___closure0.prototype = {
  101784. call$0() {
  101785. return J.yield$0$x(this._box_0.fiber);
  101786. },
  101787. $signature: 14
  101788. };
  101789. A.LimitedMapView0.prototype = {
  101790. get$keys(_) {
  101791. return this._limited_map_view0$_keys;
  101792. },
  101793. get$length(_) {
  101794. return this._limited_map_view0$_keys._collection$_length;
  101795. },
  101796. get$isEmpty(_) {
  101797. return this._limited_map_view0$_keys._collection$_length === 0;
  101798. },
  101799. get$isNotEmpty(_) {
  101800. return this._limited_map_view0$_keys._collection$_length !== 0;
  101801. },
  101802. $index(_, key) {
  101803. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.$index(0, key) : null;
  101804. },
  101805. containsKey$1(key) {
  101806. return this._limited_map_view0$_keys.contains$1(0, key);
  101807. },
  101808. remove$1(_, key) {
  101809. return this._limited_map_view0$_keys.contains$1(0, key) ? this._limited_map_view0$_map.remove$1(0, key) : null;
  101810. }
  101811. };
  101812. A.ListExpression0.prototype = {
  101813. accept$1$1(visitor) {
  101814. return visitor.visitListExpression$1(this);
  101815. },
  101816. accept$1(visitor) {
  101817. return this.accept$1$1(visitor, type$.dynamic);
  101818. },
  101819. toString$0(_) {
  101820. var t2, t3, t4, t5, _this = this,
  101821. t1 = _this.hasBrackets;
  101822. if (t1)
  101823. t2 = "" + A.Primitives_stringFromCharCode(91);
  101824. else {
  101825. t2 = _this.contents.length;
  101826. if (t2 !== 0)
  101827. t2 = t2 === 1 && _this.separator === B.ListSeparator_rXA0;
  101828. else
  101829. t2 = true;
  101830. t2 = t2 ? "" + A.Primitives_stringFromCharCode(40) : "";
  101831. }
  101832. t3 = _this.contents;
  101833. t4 = _this.separator === B.ListSeparator_rXA0;
  101834. t5 = t4 ? ", " : " ";
  101835. t5 = t2 + new A.MappedListIterable(t3, new A.ListExpression_toString_closure0(_this), A._arrayInstanceType(t3)._eval$1("MappedListIterable<1,String>")).join$1(0, t5);
  101836. if (t1)
  101837. t1 = t5 + A.Primitives_stringFromCharCode(93);
  101838. else {
  101839. t1 = t3.length;
  101840. if (t1 === 0)
  101841. t1 = t5 + A.Primitives_stringFromCharCode(41);
  101842. else
  101843. t1 = t1 === 1 && t4 ? t5 + ",)" : t5;
  101844. }
  101845. return t1.charCodeAt(0) == 0 ? t1 : t1;
  101846. },
  101847. _list3$_elementNeedsParens$1(expression) {
  101848. var childSeparator, t1,
  101849. _0_13 = A._InitializedCell$(new A.ListExpression__elementNeedsParens_closure0(expression));
  101850. $label0$0: {
  101851. if (expression instanceof A.ListExpression0)
  101852. if (expression.contents.length >= 2)
  101853. if (!expression.hasBrackets) {
  101854. childSeparator = expression.separator;
  101855. t1 = true;
  101856. } else {
  101857. childSeparator = null;
  101858. t1 = false;
  101859. }
  101860. else {
  101861. childSeparator = null;
  101862. t1 = false;
  101863. }
  101864. else {
  101865. childSeparator = null;
  101866. t1 = false;
  101867. }
  101868. if (t1) {
  101869. t1 = this.separator === B.ListSeparator_rXA0 ? childSeparator === B.ListSeparator_rXA0 : childSeparator !== B.ListSeparator_undecided_null_undecided0;
  101870. break $label0$0;
  101871. }
  101872. if (expression instanceof A.UnaryOperationExpression0)
  101873. t1 = B.UnaryOperator_gg40 === _0_13._readFinal$0() || B.UnaryOperator_TLI0 === _0_13._readFinal$0();
  101874. else
  101875. t1 = false;
  101876. if (t1) {
  101877. t1 = this.separator === B.ListSeparator_EVt0;
  101878. break $label0$0;
  101879. }
  101880. t1 = false;
  101881. break $label0$0;
  101882. }
  101883. return t1;
  101884. },
  101885. $isExpression0: 1,
  101886. $isAstNode0: 1,
  101887. get$span(receiver) {
  101888. return this.span;
  101889. }
  101890. };
  101891. A.ListExpression_toString_closure0.prototype = {
  101892. call$1(element) {
  101893. return this.$this._list3$_elementNeedsParens$1(element) ? "(" + element.toString$0(0) + ")" : element.toString$0(0);
  101894. },
  101895. $signature: 137
  101896. };
  101897. A.ListExpression__elementNeedsParens_closure0.prototype = {
  101898. call$0() {
  101899. return type$.UnaryOperationExpression_2._as(this._0_0).operator;
  101900. },
  101901. $signature: 122
  101902. };
  101903. A._length_closure2.prototype = {
  101904. call$1($arguments) {
  101905. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).get$asList().length, null);
  101906. },
  101907. $signature: 13
  101908. };
  101909. A._nth_closure0.prototype = {
  101910. call$1($arguments) {
  101911. var t1 = J.getInterceptor$asx($arguments),
  101912. list = t1.$index($arguments, 0),
  101913. index = t1.$index($arguments, 1);
  101914. return list.get$asList()[list.sassIndexToListIndex$2(index, "n")];
  101915. },
  101916. $signature: 5
  101917. };
  101918. A._setNth_closure0.prototype = {
  101919. call$1($arguments) {
  101920. var newList,
  101921. t1 = J.getInterceptor$asx($arguments),
  101922. list = t1.$index($arguments, 0),
  101923. index = t1.$index($arguments, 1),
  101924. value = t1.$index($arguments, 2);
  101925. t1 = list.get$asList();
  101926. newList = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  101927. newList[list.sassIndexToListIndex$2(index, "n")] = value;
  101928. return list.withListContents$1(newList);
  101929. },
  101930. $signature: 26
  101931. };
  101932. A._join_closure0.prototype = {
  101933. call$1($arguments) {
  101934. var _0_0, _0_1, _0_3, _0_4, separator, bracketed, t2,
  101935. t1 = J.getInterceptor$asx($arguments),
  101936. list1 = t1.$index($arguments, 0),
  101937. list2 = t1.$index($arguments, 1),
  101938. separatorParam = t1.$index($arguments, 2).assertString$1("separator"),
  101939. bracketedParam = t1.$index($arguments, 3),
  101940. _1_0 = separatorParam._string0$_text;
  101941. $label1$1: {
  101942. if ("auto" === _1_0) {
  101943. _0_0 = new A._Record_2(list1.get$separator(list1), list2.get$separator(list2));
  101944. _0_1 = A._InitializedCell$(new A._join__closure2(_0_0));
  101945. _0_3 = A._InitializedCell$(new A._join__closure3(_0_1));
  101946. _0_4 = A._InitializedCell$(new A._join__closure4(_0_0));
  101947. $label0$0: {
  101948. if (_0_3._readFinal$0() && B.ListSeparator_undecided_null_undecided0 === _0_4._readFinal$0()) {
  101949. t1 = B.ListSeparator_EVt0;
  101950. break $label0$0;
  101951. }
  101952. if (_0_3._readFinal$0()) {
  101953. separator = _0_4._readFinal$0();
  101954. t1 = true;
  101955. } else {
  101956. separator = null;
  101957. t1 = false;
  101958. }
  101959. if (!t1)
  101960. separator = _0_1._readFinal$0();
  101961. t1 = separator;
  101962. break $label0$0;
  101963. }
  101964. break $label1$1;
  101965. }
  101966. if ("space" === _1_0) {
  101967. t1 = B.ListSeparator_EVt0;
  101968. break $label1$1;
  101969. }
  101970. if ("comma" === _1_0) {
  101971. t1 = B.ListSeparator_rXA0;
  101972. break $label1$1;
  101973. }
  101974. if ("slash" === _1_0) {
  101975. t1 = B.ListSeparator_zg90;
  101976. break $label1$1;
  101977. }
  101978. t1 = A.throwExpression(A.SassScriptException$0(string$.x24separ, null));
  101979. }
  101980. bracketed = bracketedParam instanceof A.SassString0 && bracketedParam._string0$_text === "auto" ? list1.get$hasBrackets() : bracketedParam.get$isTruthy();
  101981. t2 = A.List_List$of(list1.get$asList(), true, type$.Value_2);
  101982. B.JSArray_methods.addAll$1(t2, list2.get$asList());
  101983. return A.SassList$0(t2, t1, bracketed);
  101984. },
  101985. $signature: 26
  101986. };
  101987. A._join__closure2.prototype = {
  101988. call$0() {
  101989. return this._0_0._0;
  101990. },
  101991. $signature: 261
  101992. };
  101993. A._join__closure3.prototype = {
  101994. call$0() {
  101995. return B.ListSeparator_undecided_null_undecided0 === this._0_1._readFinal$0();
  101996. },
  101997. $signature: 1
  101998. };
  101999. A._join__closure4.prototype = {
  102000. call$0() {
  102001. return this._0_0._1;
  102002. },
  102003. $signature: 261
  102004. };
  102005. A._append_closure2.prototype = {
  102006. call$1($arguments) {
  102007. var t2,
  102008. t1 = J.getInterceptor$asx($arguments),
  102009. list = t1.$index($arguments, 0),
  102010. value = t1.$index($arguments, 1),
  102011. _0_0 = t1.$index($arguments, 2).assertString$1("separator")._string0$_text;
  102012. $label0$0: {
  102013. if ("auto" === _0_0) {
  102014. t1 = list.get$separator(list) === B.ListSeparator_undecided_null_undecided0 ? B.ListSeparator_EVt0 : list.get$separator(list);
  102015. break $label0$0;
  102016. }
  102017. if ("space" === _0_0) {
  102018. t1 = B.ListSeparator_EVt0;
  102019. break $label0$0;
  102020. }
  102021. if ("comma" === _0_0) {
  102022. t1 = B.ListSeparator_rXA0;
  102023. break $label0$0;
  102024. }
  102025. if ("slash" === _0_0) {
  102026. t1 = B.ListSeparator_zg90;
  102027. break $label0$0;
  102028. }
  102029. t1 = A.throwExpression(A.SassScriptException$0(string$.x24separ, null));
  102030. }
  102031. t2 = A.List_List$of(list.get$asList(), true, type$.Value_2);
  102032. t2.push(value);
  102033. return list.withListContents$2$separator(t2, t1);
  102034. },
  102035. $signature: 26
  102036. };
  102037. A._zip_closure0.prototype = {
  102038. call$1($arguments) {
  102039. var results, result, _box_0 = {},
  102040. t1 = J.$index$asx($arguments, 0).get$asList(),
  102041. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,List<Value0>>"),
  102042. lists = A.List_List$of(new A.MappedListIterable(t1, new A._zip__closure2(), t2), true, t2._eval$1("ListIterable.E"));
  102043. if (lists.length === 0)
  102044. return B.SassList_Sof1;
  102045. _box_0.i = 0;
  102046. results = A._setArrayType([], type$.JSArray_SassList_2);
  102047. 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));) {
  102048. result = A.List_List$from(new A.MappedListIterable(lists, new A._zip__closure4(_box_0), t1), false, t2);
  102049. result.fixed$length = Array;
  102050. result.immutable$list = Array;
  102051. results.push(new A.SassList0(result, B.ListSeparator_EVt0, false));
  102052. ++_box_0.i;
  102053. }
  102054. return A.SassList$0(results, B.ListSeparator_rXA0, false);
  102055. },
  102056. $signature: 26
  102057. };
  102058. A._zip__closure2.prototype = {
  102059. call$1(list) {
  102060. return list.get$asList();
  102061. },
  102062. $signature: 496
  102063. };
  102064. A._zip__closure3.prototype = {
  102065. call$1(list) {
  102066. return this._box_0.i !== J.get$length$asx(list);
  102067. },
  102068. $signature: 497
  102069. };
  102070. A._zip__closure4.prototype = {
  102071. call$1(list) {
  102072. return J.$index$asx(list, this._box_0.i);
  102073. },
  102074. $signature: 5
  102075. };
  102076. A._index_closure2.prototype = {
  102077. call$1($arguments) {
  102078. var t1 = J.getInterceptor$asx($arguments),
  102079. index = B.JSArray_methods.indexOf$1(t1.$index($arguments, 0).get$asList(), t1.$index($arguments, 1));
  102080. return index === -1 ? B.C__SassNull0 : A.SassNumber_SassNumber0(index + 1, null);
  102081. },
  102082. $signature: 5
  102083. };
  102084. A._separator_closure0.prototype = {
  102085. call$1($arguments) {
  102086. var t1,
  102087. _0_0 = J.get$separator$x(J.$index$asx($arguments, 0));
  102088. $label0$0: {
  102089. if (B.ListSeparator_rXA0 === _0_0) {
  102090. t1 = new A.SassString0("comma", false);
  102091. break $label0$0;
  102092. }
  102093. if (B.ListSeparator_zg90 === _0_0) {
  102094. t1 = new A.SassString0("slash", false);
  102095. break $label0$0;
  102096. }
  102097. t1 = new A.SassString0("space", false);
  102098. break $label0$0;
  102099. }
  102100. return t1;
  102101. },
  102102. $signature: 18
  102103. };
  102104. A._isBracketed_closure0.prototype = {
  102105. call$1($arguments) {
  102106. return J.$index$asx($arguments, 0).get$hasBrackets() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  102107. },
  102108. $signature: 22
  102109. };
  102110. A._slash_closure0.prototype = {
  102111. call$1($arguments) {
  102112. var list = J.$index$asx($arguments, 0).get$asList();
  102113. if (list.length < 2)
  102114. throw A.wrapException(A.SassScriptException$0("At least two elements are required.", null));
  102115. return A.SassList$0(list, B.ListSeparator_zg90, false);
  102116. },
  102117. $signature: 26
  102118. };
  102119. A.SelectorList0.prototype = {
  102120. get$asSassList() {
  102121. var t1 = this.components;
  102122. 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);
  102123. },
  102124. accept$1$1(visitor) {
  102125. return visitor.visitSelectorList$1(this);
  102126. },
  102127. accept$1(visitor) {
  102128. return this.accept$1$1(visitor, type$.dynamic);
  102129. },
  102130. unify$1(other) {
  102131. var t3, t4, t5, t6, _i, complex1, _i0, t7,
  102132. t1 = type$.JSArray_ComplexSelector_2,
  102133. t2 = A._setArrayType([], t1);
  102134. for (t3 = this.components, t4 = t3.length, t5 = other.components, t6 = t5.length, _i = 0; _i < t4; ++_i) {
  102135. complex1 = t3[_i];
  102136. for (_i0 = 0; _i0 < t6; ++_i0) {
  102137. t7 = A.unifyComplex0(A._setArrayType([complex1, t5[_i0]], t1), complex1.span);
  102138. if (t7 != null)
  102139. B.JSArray_methods.addAll$1(t2, t7);
  102140. }
  102141. }
  102142. return t2.length === 0 ? null : A.SelectorList$0(t2, this.span);
  102143. },
  102144. resolveParentSelectors$2$implicitParent($parent, implicitParent) {
  102145. var parentSelector, t1, _this = this;
  102146. if ($parent == null) {
  102147. parentSelector = B.C__ParentSelectorVisitor0.visitSelectorList$1(_this);
  102148. if (parentSelector == null)
  102149. return _this;
  102150. throw A.wrapException(A.SassException$0(string$.Top_le, parentSelector.span, null));
  102151. }
  102152. t1 = _this.components;
  102153. 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), _this.span);
  102154. },
  102155. resolveParentSelectors$1($parent) {
  102156. return this.resolveParentSelectors$2$implicitParent($parent, true);
  102157. },
  102158. _list2$_resolveParentSelectorsCompound$2(component, $parent) {
  102159. var resolvedSimples, parentSelector, error, stackTrace, t2, resolvedSimples0, exception,
  102160. t1 = component.selector,
  102161. simples = t1.components,
  102162. containsSelectorPseudo = J.any$1$ax(simples, new A.SelectorList__resolveParentSelectorsCompound_closure2());
  102163. if (!containsSelectorPseudo && !(J.get$first$ax(simples) instanceof A.ParentSelector0))
  102164. return null;
  102165. if (containsSelectorPseudo) {
  102166. t2 = simples;
  102167. resolvedSimples0 = new A.MappedListIterable(t2, new A.SelectorList__resolveParentSelectorsCompound_closure3($parent), A.instanceType(t2)._eval$1("MappedListIterable<1,SimpleSelector0>"));
  102168. } else
  102169. resolvedSimples0 = simples;
  102170. resolvedSimples = resolvedSimples0;
  102171. parentSelector = J.get$first$ax(simples);
  102172. try {
  102173. if (!(parentSelector instanceof A.ParentSelector0)) {
  102174. t2 = component.span;
  102175. t2 = A._setArrayType([A.ComplexSelector$0(B.List_empty14, A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(resolvedSimples, t1.span), A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator_2), t2)], type$.JSArray_ComplexSelectorComponent_2), t2, false)], type$.JSArray_ComplexSelector_2);
  102176. return t2;
  102177. } else if (J.get$length$asx(simples) === 1 && parentSelector.suffix == null) {
  102178. t1 = $parent.withAdditionalCombinators$1(component.combinators);
  102179. return t1.components;
  102180. }
  102181. } catch (exception) {
  102182. t1 = A.unwrapException(exception);
  102183. if (t1 instanceof A.SassException0) {
  102184. error = t1;
  102185. stackTrace = A.getTraceFromException(exception);
  102186. A.throwWithTrace0(error.withAdditionalSpan$2(parentSelector.span, "parent selector"), error, stackTrace);
  102187. } else
  102188. throw exception;
  102189. }
  102190. t1 = $parent.components;
  102191. return new A.MappedListIterable(t1, new A.SelectorList__resolveParentSelectorsCompound_closure4(parentSelector, resolvedSimples, component), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  102192. },
  102193. isSuperselector$1(other) {
  102194. return A.listIsSuperselector0(this.components, other.components);
  102195. },
  102196. withAdditionalCombinators$1(combinators) {
  102197. var t1;
  102198. if (combinators.length === 0)
  102199. t1 = this;
  102200. else {
  102201. t1 = this.components;
  102202. t1 = A.SelectorList$0(new A.MappedListIterable(t1, new A.SelectorList_withAdditionalCombinators_closure0(combinators), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>")), this.span);
  102203. }
  102204. return t1;
  102205. },
  102206. get$hashCode(_) {
  102207. return B.C_ListEquality0.hash$1(this.components);
  102208. },
  102209. $eq(_, other) {
  102210. if (other == null)
  102211. return false;
  102212. return other instanceof A.SelectorList0 && B.C_ListEquality.equals$2(0, this.components, other.components);
  102213. }
  102214. };
  102215. A.SelectorList_asSassList_closure0.prototype = {
  102216. call$1(complex) {
  102217. var t3, t4, _i, component, t5, visitor, t6, t7, _i0,
  102218. t1 = type$.JSArray_Value_2,
  102219. t2 = A._setArrayType([], t1);
  102220. for (t3 = complex.leadingCombinators, t4 = t3.length, _i = 0; _i < t4; ++_i)
  102221. t2.push(new A.SassString0(J.toString$0$(t3[_i].value), false));
  102222. for (t3 = complex.components, t4 = t3.length, _i = 0; _i < t4; ++_i) {
  102223. component = t3[_i];
  102224. t5 = component.selector;
  102225. visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  102226. t5.accept$1(visitor);
  102227. t5 = A._setArrayType([new A.SassString0(visitor._serialize0$_buffer.toString$0(0), false)], t1);
  102228. for (t6 = component.combinators, t7 = t6.length, _i0 = 0; _i0 < t7; ++_i0)
  102229. t5.push(new A.SassString0(J.toString$0$(t6[_i0].value), false));
  102230. B.JSArray_methods.addAll$1(t2, t5);
  102231. }
  102232. return A.SassList$0(t2, B.ListSeparator_EVt0, false);
  102233. },
  102234. $signature: 498
  102235. };
  102236. A.SelectorList_resolveParentSelectors_closure0.prototype = {
  102237. call$1(complex) {
  102238. var t1, newComplexes, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, _i, component, resolved, i, t12, t13, t14, _i0, newComplex, t15, _this = this;
  102239. if (complex.accept$1(B.C__ParentSelectorVisitor0) == null) {
  102240. if (!_this.implicitParent)
  102241. return A._setArrayType([complex], type$.JSArray_ComplexSelector_2);
  102242. t1 = _this.parent.components;
  102243. return new A.MappedListIterable(t1, new A.SelectorList_resolveParentSelectors__closure1(complex), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>"));
  102244. }
  102245. t1 = type$.JSArray_ComplexSelector_2;
  102246. newComplexes = A._setArrayType([], t1);
  102247. for (t2 = complex.components, t3 = t2.length, t4 = _this.$this, t5 = _this.parent, t6 = type$.ComplexSelector_2, t7 = complex.leadingCombinators, t8 = t7.length === 0, t9 = complex.span, t10 = type$.ComplexSelectorComponent_2, t11 = type$.JSArray_ComplexSelectorComponent_2, _i = 0; _i < t3; ++_i) {
  102248. component = t2[_i];
  102249. resolved = t4._list2$_resolveParentSelectorsCompound$2(component, t5);
  102250. if (resolved == null)
  102251. if (newComplexes.length === 0)
  102252. newComplexes.push(A.ComplexSelector$0(t7, A._setArrayType([component], t11), t9, false));
  102253. else
  102254. for (i = 0; i < newComplexes.length; ++i) {
  102255. t12 = newComplexes[i];
  102256. t13 = t12.leadingCombinators;
  102257. t14 = A.List_List$of(t12.components, true, t10);
  102258. t14.push(component);
  102259. newComplexes[i] = A.ComplexSelector$0(t13, t14, t9, t12.lineBreak || false);
  102260. }
  102261. else if (newComplexes.length === 0)
  102262. B.JSArray_methods.addAll$1(newComplexes, t8 ? resolved : J.map$1$1$ax(resolved, new A.SelectorList_resolveParentSelectors__closure2(complex), t6));
  102263. else {
  102264. t12 = A._setArrayType([], t1);
  102265. for (t13 = newComplexes.length, t14 = J.getInterceptor$ax(resolved), _i0 = 0; _i0 < newComplexes.length; newComplexes.length === t13 || (0, A.throwConcurrentModificationError)(newComplexes), ++_i0) {
  102266. newComplex = newComplexes[_i0];
  102267. for (t15 = t14.get$iterator(resolved); t15.moveNext$0();)
  102268. t12.push(newComplex.concatenate$2(t15.get$current(t15), newComplex.span));
  102269. }
  102270. newComplexes = t12;
  102271. }
  102272. }
  102273. return newComplexes;
  102274. },
  102275. $signature: 499
  102276. };
  102277. A.SelectorList_resolveParentSelectors__closure1.prototype = {
  102278. call$1(parentComplex) {
  102279. var t1 = this.complex;
  102280. return parentComplex.concatenate$2(t1, t1.span);
  102281. },
  102282. $signature: 62
  102283. };
  102284. A.SelectorList_resolveParentSelectors__closure2.prototype = {
  102285. call$1(resolvedComplex) {
  102286. var t1 = resolvedComplex.leadingCombinators,
  102287. t2 = this.complex,
  102288. t3 = t2.leadingCombinators;
  102289. if (t1.length === 0)
  102290. t1 = t3;
  102291. else {
  102292. t3 = A.List_List$of(t3, true, type$.CssValue_Combinator_2);
  102293. B.JSArray_methods.addAll$1(t3, t1);
  102294. t1 = t3;
  102295. }
  102296. return A.ComplexSelector$0(t1, resolvedComplex.components, t2.span, resolvedComplex.lineBreak);
  102297. },
  102298. $signature: 62
  102299. };
  102300. A.SelectorList__resolveParentSelectorsCompound_closure2.prototype = {
  102301. call$1(simple) {
  102302. var selector;
  102303. if (!(simple instanceof A.PseudoSelector0))
  102304. return false;
  102305. selector = simple.selector;
  102306. return selector != null && selector.accept$1(B.C__ParentSelectorVisitor0) != null;
  102307. },
  102308. $signature: 16
  102309. };
  102310. A.SelectorList__resolveParentSelectorsCompound_closure3.prototype = {
  102311. call$1(simple) {
  102312. var selector, t1,
  102313. _0_2 = A._InitializedCell$(new A.SelectorList__resolveParentSelectorsCompound__closure0(simple));
  102314. $label0$0: {
  102315. if (simple instanceof A.PseudoSelector0) {
  102316. if (_0_2._readFinal$0() != null) {
  102317. selector = _0_2._readFinal$0();
  102318. t1 = true;
  102319. } else {
  102320. selector = null;
  102321. t1 = false;
  102322. }
  102323. t1 = t1 && selector.accept$1(B.C__ParentSelectorVisitor0) != null;
  102324. } else {
  102325. selector = null;
  102326. t1 = false;
  102327. }
  102328. if (t1) {
  102329. t1 = simple.withSelector$1(selector.resolveParentSelectors$2$implicitParent(this.parent, false));
  102330. break $label0$0;
  102331. }
  102332. t1 = simple;
  102333. break $label0$0;
  102334. }
  102335. return t1;
  102336. },
  102337. $signature: 500
  102338. };
  102339. A.SelectorList__resolveParentSelectorsCompound__closure0.prototype = {
  102340. call$0() {
  102341. return type$.PseudoSelector_2._as(this._0_0).selector;
  102342. },
  102343. $signature: 67
  102344. };
  102345. A.SelectorList__resolveParentSelectorsCompound_closure4.prototype = {
  102346. call$1(complex) {
  102347. var lastComponent, suffix, lastSimples, t1, t2, last, t3, error, stackTrace, t4, t5, t6, t7, exception, _this = this;
  102348. try {
  102349. t4 = complex.components;
  102350. lastComponent = B.JSArray_methods.get$last(t4);
  102351. if (lastComponent.combinators.length !== 0) {
  102352. t1 = A.MultiSpanSassException$0('Selector "' + complex.toString$0(0) + string$.x22x20can_, A.SpanExtensions_trimRight0(lastComponent.span), "outer selector", A.LinkedHashMap_LinkedHashMap$_literal([_this.parentSelector.span, "parent selector"], type$.FileSpan, type$.String), null);
  102353. throw A.wrapException(t1);
  102354. }
  102355. suffix = _this.parentSelector.suffix;
  102356. lastSimples = lastComponent.selector.components;
  102357. t5 = type$.SimpleSelector_2;
  102358. t6 = _this.resolvedSimples;
  102359. t7 = J.getInterceptor$ax(t6);
  102360. if (suffix == null) {
  102361. t1 = A.List_List$of(lastSimples, true, t5);
  102362. J.addAll$1$ax(t1, t7.skip$1(t6, 1));
  102363. t1 = t1;
  102364. } else {
  102365. t2 = A.List_List$of(A.IterableExtension_get_exceptLast0(lastSimples), true, t5);
  102366. J.add$1$ax(t2, J.get$last$ax(lastSimples).addSuffix$1(suffix));
  102367. J.addAll$1$ax(t2, t7.skip$1(t6, 1));
  102368. t1 = t2;
  102369. }
  102370. t2 = _this.component;
  102371. last = A.CompoundSelector$0(t1, t2.selector.span);
  102372. t3 = A.List_List$of(A.IterableExtension_get_exceptLast0(t4), true, type$.ComplexSelectorComponent_2);
  102373. t4 = t2.span;
  102374. J.add$1$ax(t3, new A.ComplexSelectorComponent0(last, A.List_List$unmodifiable(t2.combinators, type$.CssValue_Combinator_2), t4));
  102375. t4 = A.ComplexSelector$0(complex.leadingCombinators, t3, t4, complex.lineBreak);
  102376. return t4;
  102377. } catch (exception) {
  102378. t1 = A.unwrapException(exception);
  102379. if (t1 instanceof A.SassException0) {
  102380. error = t1;
  102381. stackTrace = A.getTraceFromException(exception);
  102382. A.throwWithTrace0(error.withAdditionalSpan$2(_this.parentSelector.span, "parent selector"), error, stackTrace);
  102383. } else
  102384. throw exception;
  102385. }
  102386. },
  102387. $signature: 62
  102388. };
  102389. A.SelectorList_withAdditionalCombinators_closure0.prototype = {
  102390. call$1(complex) {
  102391. return complex.withAdditionalCombinators$1(this.combinators);
  102392. },
  102393. $signature: 62
  102394. };
  102395. A._ParentSelectorVisitor0.prototype = {
  102396. visitParentSelector$1(selector) {
  102397. return selector;
  102398. }
  102399. };
  102400. A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0.prototype = {};
  102401. A.listClass_closure.prototype = {
  102402. call$0() {
  102403. var t1 = type$.JSClass,
  102404. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassList", new A.listClass__closure()));
  102405. J.get$$prototype$x(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.listClass__closure0());
  102406. A.JSClassExtension_injectSuperclass(t1._as(B.SassList_nj9.constructor), jsClass);
  102407. return jsClass;
  102408. },
  102409. $signature: 24
  102410. };
  102411. A.listClass__closure.prototype = {
  102412. call$3($self, contentsOrOptions, options) {
  102413. var contents, t1, t2;
  102414. if (self.immutable.isList(contentsOrOptions))
  102415. contents = J.cast$1$0$ax(J.toArray$0$x(type$.ImmutableList._as(contentsOrOptions)), type$.Value_2);
  102416. else if (type$.List_dynamic._is(contentsOrOptions))
  102417. contents = J.cast$1$0$ax(contentsOrOptions, type$.Value_2);
  102418. else {
  102419. contents = A._setArrayType([], type$.JSArray_Value_2);
  102420. type$.nullable__ConstructorOptions._as(contentsOrOptions);
  102421. options = contentsOrOptions;
  102422. }
  102423. t1 = options == null;
  102424. if (!t1) {
  102425. t2 = J.get$separator$x(options);
  102426. t2 = A._asBool($.$get$_isUndefined().call$1(t2));
  102427. } else
  102428. t2 = true;
  102429. t2 = t2 ? B.ListSeparator_rXA0 : A.jsToDartSeparator(J.get$separator$x(options));
  102430. t1 = t1 ? null : J.get$brackets$x(options);
  102431. return A.SassList$0(contents, t2, t1 == null ? false : t1);
  102432. },
  102433. call$1($self) {
  102434. return this.call$3($self, null, null);
  102435. },
  102436. call$2($self, contentsOrOptions) {
  102437. return this.call$3($self, contentsOrOptions, null);
  102438. },
  102439. "call*": "call$3",
  102440. $requiredArgCount: 1,
  102441. $defaultValues() {
  102442. return [null, null];
  102443. },
  102444. $signature: 501
  102445. };
  102446. A.listClass__closure0.prototype = {
  102447. call$2($self, indexFloat) {
  102448. var index = B.JSNumber_methods.floor$0(indexFloat);
  102449. if (index < 0)
  102450. index = $self.get$asList().length + index;
  102451. if (index < 0 || index >= $self.get$asList().length)
  102452. return self.undefined;
  102453. return $self.get$asList()[index];
  102454. },
  102455. $signature: 262
  102456. };
  102457. A._ConstructorOptions.prototype = {};
  102458. A._NodeSassList.prototype = {};
  102459. A.legacyListClass_closure.prototype = {
  102460. call$4(thisArg, $length, commaSeparator, dartValue) {
  102461. var t1;
  102462. if (dartValue == null) {
  102463. $length.toString;
  102464. t1 = A.Iterable_Iterable$generate($length, new A.legacyListClass__closure(), type$.Value_2);
  102465. t1 = A.SassList$0(t1, commaSeparator !== false ? B.ListSeparator_rXA0 : B.ListSeparator_EVt0, false);
  102466. } else
  102467. t1 = dartValue;
  102468. J.set$dartValue$x(thisArg, t1);
  102469. },
  102470. call$2(thisArg, $length) {
  102471. return this.call$4(thisArg, $length, null, null);
  102472. },
  102473. call$3(thisArg, $length, commaSeparator) {
  102474. return this.call$4(thisArg, $length, commaSeparator, null);
  102475. },
  102476. "call*": "call$4",
  102477. $requiredArgCount: 2,
  102478. $defaultValues() {
  102479. return [null, null];
  102480. },
  102481. $signature: 503
  102482. };
  102483. A.legacyListClass__closure.prototype = {
  102484. call$1(_) {
  102485. return B.C__SassNull0;
  102486. },
  102487. $signature: 263
  102488. };
  102489. A.legacyListClass_closure0.prototype = {
  102490. call$2(thisArg, index) {
  102491. return A.wrapValue(J.get$dartValue$x(thisArg)._list1$_contents[index]);
  102492. },
  102493. $signature: 505
  102494. };
  102495. A.legacyListClass_closure1.prototype = {
  102496. call$3(thisArg, index, value) {
  102497. var t1 = J.getInterceptor$x(thisArg),
  102498. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  102499. mutable = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  102500. mutable[index] = A.unwrapValue(value);
  102501. t1.set$dartValue(thisArg, t1.get$dartValue(thisArg).withListContents$1(mutable));
  102502. },
  102503. "call*": "call$3",
  102504. $requiredArgCount: 3,
  102505. $signature: 506
  102506. };
  102507. A.legacyListClass_closure2.prototype = {
  102508. call$1(thisArg) {
  102509. return J.get$dartValue$x(thisArg)._list1$_separator === B.ListSeparator_rXA0;
  102510. },
  102511. $signature: 507
  102512. };
  102513. A.legacyListClass_closure3.prototype = {
  102514. call$2(thisArg, isComma) {
  102515. var t1 = J.getInterceptor$x(thisArg),
  102516. t2 = t1.get$dartValue(thisArg)._list1$_contents,
  102517. t3 = isComma ? B.ListSeparator_rXA0 : B.ListSeparator_EVt0;
  102518. t1.set$dartValue(thisArg, A.SassList$0(t2, t3, t1.get$dartValue(thisArg)._list1$_hasBrackets));
  102519. },
  102520. $signature: 508
  102521. };
  102522. A.legacyListClass_closure4.prototype = {
  102523. call$1(thisArg) {
  102524. return J.get$dartValue$x(thisArg)._list1$_contents.length;
  102525. },
  102526. $signature: 509
  102527. };
  102528. A.SassList0.prototype = {
  102529. get$separator(_) {
  102530. return this._list1$_separator;
  102531. },
  102532. get$hasBrackets() {
  102533. return this._list1$_hasBrackets;
  102534. },
  102535. get$isBlank() {
  102536. return !this._list1$_hasBrackets && B.JSArray_methods.every$1(this._list1$_contents, new A.SassList_isBlank_closure0());
  102537. },
  102538. get$asList() {
  102539. return this._list1$_contents;
  102540. },
  102541. get$lengthAsList() {
  102542. return this._list1$_contents.length;
  102543. },
  102544. SassList$3$brackets0(contents, _separator, brackets) {
  102545. if (this._list1$_separator === B.ListSeparator_undecided_null_undecided0 && this._list1$_contents.length > 1)
  102546. throw A.wrapException(A.ArgumentError$(string$.A_list, null));
  102547. },
  102548. accept$1$1(visitor) {
  102549. return visitor.visitList$1(this);
  102550. },
  102551. accept$1(visitor) {
  102552. return this.accept$1$1(visitor, type$.dynamic);
  102553. },
  102554. assertMap$1($name) {
  102555. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : this.super$Value$assertMap0($name);
  102556. },
  102557. tryMap$0() {
  102558. return this._list1$_contents.length === 0 ? B.SassMap_Map_empty0 : null;
  102559. },
  102560. $eq(_, other) {
  102561. var t1, _this = this;
  102562. if (other == null)
  102563. return false;
  102564. 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)))
  102565. t1 = _this._list1$_contents.length === 0 && other instanceof A.SassMap0 && other.get$asList().length === 0;
  102566. else
  102567. t1 = true;
  102568. return t1;
  102569. },
  102570. get$hashCode(_) {
  102571. return B.C_ListEquality0.hash$1(this._list1$_contents);
  102572. }
  102573. };
  102574. A.SassList_isBlank_closure0.prototype = {
  102575. call$1(element) {
  102576. return element.get$isBlank();
  102577. },
  102578. $signature: 50
  102579. };
  102580. A.ListSeparator0.prototype = {
  102581. _enumToString$0() {
  102582. return "ListSeparator." + this._name;
  102583. },
  102584. toString$0(_) {
  102585. return this._list1$_name;
  102586. }
  102587. };
  102588. A.JSLogger.prototype = {};
  102589. A.WarnOptions.prototype = {};
  102590. A.DebugOptions.prototype = {};
  102591. A._QuietLogger0.prototype = {
  102592. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  102593. },
  102594. warn$2$span($receiver, message, span) {
  102595. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  102596. }
  102597. };
  102598. A.LoudComment0.prototype = {
  102599. get$span(_) {
  102600. return this.text.span;
  102601. },
  102602. accept$1$1(visitor) {
  102603. return visitor.visitLoudComment$1(this);
  102604. },
  102605. accept$1(visitor) {
  102606. return this.accept$1$1(visitor, type$.dynamic);
  102607. },
  102608. toString$0(_) {
  102609. return this.text.toString$0(0);
  102610. },
  102611. $isAstNode0: 1,
  102612. $isStatement0: 1
  102613. };
  102614. A.MapExpression0.prototype = {
  102615. accept$1$1(visitor) {
  102616. return visitor.visitMapExpression$1(this);
  102617. },
  102618. accept$1(visitor) {
  102619. return this.accept$1$1(visitor, type$.dynamic);
  102620. },
  102621. toString$0(_) {
  102622. var t2, t3, _i, t4, key, value,
  102623. t1 = A._setArrayType([], type$.JSArray_String);
  102624. for (t2 = this.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  102625. t4 = t2[_i];
  102626. key = t4._0;
  102627. value = t4._1;
  102628. t1.push(key.toString$0(0) + ": " + value.toString$0(0));
  102629. }
  102630. return "(" + B.JSArray_methods.join$1(t1, ", ") + ")";
  102631. },
  102632. $isExpression0: 1,
  102633. $isAstNode0: 1,
  102634. get$span(receiver) {
  102635. return this.span;
  102636. }
  102637. };
  102638. A._get_closure0.prototype = {
  102639. call$1($arguments) {
  102640. var value,
  102641. t1 = J.getInterceptor$asx($arguments),
  102642. map = t1.$index($arguments, 0).assertMap$1("map"),
  102643. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  102644. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  102645. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  102646. value = map._map0$_contents.$index(0, t1.get$current(t1));
  102647. if (!(value instanceof A.SassMap0))
  102648. return B.C__SassNull0;
  102649. }
  102650. t1 = map._map0$_contents.$index(0, B.JSArray_methods.get$last(t2));
  102651. return t1 == null ? B.C__SassNull0 : t1;
  102652. },
  102653. $signature: 5
  102654. };
  102655. A._set_closure1.prototype = {
  102656. call$1($arguments) {
  102657. var t1 = J.getInterceptor$asx($arguments);
  102658. return A._modify0(t1.$index($arguments, 0).assertMap$1("map"), A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2), new A._set__closure4($arguments), true);
  102659. },
  102660. $signature: 5
  102661. };
  102662. A._set__closure4.prototype = {
  102663. call$1(_) {
  102664. return J.$index$asx(this.$arguments, 2);
  102665. },
  102666. $signature: 45
  102667. };
  102668. A._set_closure2.prototype = {
  102669. call$1($arguments) {
  102670. var keys, value, t1 = {},
  102671. t2 = J.getInterceptor$asx($arguments),
  102672. map = t2.$index($arguments, 0).assertMap$1("map"),
  102673. _0_0 = t2.$index($arguments, 1).get$asList(),
  102674. _0_1 = A._InitializedCell$(new A._set__closure2(_0_0));
  102675. if (_0_1._readFinal$0() <= 0)
  102676. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", null));
  102677. if (J.$eq$(_0_1._readFinal$0(), 1))
  102678. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a value.", null));
  102679. keys = t1.value = null;
  102680. if (_0_1._readFinal$0() >= 1) {
  102681. keys = B.JSArray_methods.sublist$2(_0_0, 0, _0_1._readFinal$0() - 1);
  102682. value = _0_0[_0_1._readFinal$0() - 1];
  102683. t1.value = value;
  102684. t2 = true;
  102685. } else
  102686. t2 = false;
  102687. if (t2)
  102688. return A._modify0(map, keys, new A._set__closure3(t1), true);
  102689. throw A.wrapException("[BUG] Unreachable code");
  102690. },
  102691. $signature: 5
  102692. };
  102693. A._set__closure2.prototype = {
  102694. call$0() {
  102695. return this._0_0.length;
  102696. },
  102697. $signature: 3
  102698. };
  102699. A._set__closure3.prototype = {
  102700. call$1(_) {
  102701. return this._box_0.value;
  102702. },
  102703. $signature: 45
  102704. };
  102705. A._merge_closure1.prototype = {
  102706. call$1($arguments) {
  102707. var t2,
  102708. t1 = J.getInterceptor$asx($arguments),
  102709. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  102710. map2 = t1.$index($arguments, 1).assertMap$1("map2");
  102711. t1 = type$.Value_2;
  102712. t2 = A.LinkedHashMap_LinkedHashMap$of(map1._map0$_contents, t1, t1);
  102713. t2.addAll$1(0, map2._map0$_contents);
  102714. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  102715. },
  102716. $signature: 39
  102717. };
  102718. A._merge_closure2.prototype = {
  102719. call$1($arguments) {
  102720. var keys, last, _null = null,
  102721. t1 = J.getInterceptor$asx($arguments),
  102722. map1 = t1.$index($arguments, 0).assertMap$1("map1"),
  102723. _0_0 = t1.$index($arguments, 1).get$asList(),
  102724. _0_1 = A._InitializedCell$(new A._merge__closure1(_0_0));
  102725. if (_0_1._readFinal$0() <= 0)
  102726. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.", _null));
  102727. if (J.$eq$(_0_1._readFinal$0(), 1))
  102728. throw A.wrapException(A.SassScriptException$0("Expected $args to contain a map.", _null));
  102729. if (_0_1._readFinal$0() >= 1) {
  102730. keys = B.JSArray_methods.sublist$2(_0_0, 0, _0_1._readFinal$0() - 1);
  102731. last = _0_0[_0_1._readFinal$0() - 1];
  102732. last = last;
  102733. t1 = true;
  102734. } else {
  102735. last = _null;
  102736. keys = last;
  102737. t1 = false;
  102738. }
  102739. if (t1)
  102740. return A._modify0(map1, keys, new A._merge__closure2(last.assertMap$1("map2")), true);
  102741. throw A.wrapException("[BUG] Unreachable code");
  102742. },
  102743. $signature: 5
  102744. };
  102745. A._merge__closure1.prototype = {
  102746. call$0() {
  102747. return this._0_0.length;
  102748. },
  102749. $signature: 3
  102750. };
  102751. A._merge__closure2.prototype = {
  102752. call$1(oldValue) {
  102753. var t1, t2,
  102754. nestedMap = oldValue.tryMap$0();
  102755. if (nestedMap == null)
  102756. return this.map2;
  102757. t1 = type$.Value_2;
  102758. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  102759. t2.addAll$1(0, this.map2._map0$_contents);
  102760. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  102761. },
  102762. $signature: 510
  102763. };
  102764. A._deepMerge_closure0.prototype = {
  102765. call$1($arguments) {
  102766. var t1 = J.getInterceptor$asx($arguments);
  102767. return A._deepMergeImpl0(t1.$index($arguments, 0).assertMap$1("map1"), t1.$index($arguments, 1).assertMap$1("map2"));
  102768. },
  102769. $signature: 39
  102770. };
  102771. A._deepRemove_closure0.prototype = {
  102772. call$1($arguments) {
  102773. var t1 = J.getInterceptor$asx($arguments),
  102774. map = t1.$index($arguments, 0).assertMap$1("map"),
  102775. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  102776. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  102777. return A._modify0(map, A.IterableExtension_get_exceptLast0(t2), new A._deepRemove__closure0(t2), false);
  102778. },
  102779. $signature: 5
  102780. };
  102781. A._deepRemove__closure0.prototype = {
  102782. call$1(value) {
  102783. var nestedMap, t1, t2,
  102784. _0_0 = value.tryMap$0();
  102785. if (_0_0 != null) {
  102786. nestedMap = _0_0;
  102787. t1 = true;
  102788. } else {
  102789. nestedMap = null;
  102790. t1 = false;
  102791. }
  102792. if (t1 && nestedMap._map0$_contents.containsKey$1(B.JSArray_methods.get$last(this.keys))) {
  102793. t1 = type$.Value_2;
  102794. t2 = A.LinkedHashMap_LinkedHashMap$of(nestedMap._map0$_contents, t1, t1);
  102795. t2.remove$1(0, B.JSArray_methods.get$last(this.keys));
  102796. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  102797. }
  102798. return value;
  102799. },
  102800. $signature: 45
  102801. };
  102802. A._remove_closure1.prototype = {
  102803. call$1($arguments) {
  102804. return J.$index$asx($arguments, 0).assertMap$1("map");
  102805. },
  102806. $signature: 39
  102807. };
  102808. A._remove_closure2.prototype = {
  102809. call$1($arguments) {
  102810. var mutableMap, t3, _i,
  102811. t1 = J.getInterceptor$asx($arguments),
  102812. map = t1.$index($arguments, 0).assertMap$1("map"),
  102813. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  102814. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  102815. t1 = type$.Value_2;
  102816. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1);
  102817. for (t3 = t2.length, _i = 0; _i < t2.length; t2.length === t3 || (0, A.throwConcurrentModificationError)(t2), ++_i)
  102818. mutableMap.remove$1(0, t2[_i]);
  102819. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  102820. },
  102821. $signature: 39
  102822. };
  102823. A._keys_closure0.prototype = {
  102824. call$1($arguments) {
  102825. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  102826. return A.SassList$0(t1.get$keys(t1), B.ListSeparator_rXA0, false);
  102827. },
  102828. $signature: 26
  102829. };
  102830. A._values_closure0.prototype = {
  102831. call$1($arguments) {
  102832. var t1 = J.$index$asx($arguments, 0).assertMap$1("map")._map0$_contents;
  102833. return A.SassList$0(t1.get$values(t1), B.ListSeparator_rXA0, false);
  102834. },
  102835. $signature: 26
  102836. };
  102837. A._hasKey_closure0.prototype = {
  102838. call$1($arguments) {
  102839. var value,
  102840. t1 = J.getInterceptor$asx($arguments),
  102841. map = t1.$index($arguments, 0).assertMap$1("map"),
  102842. t2 = A._setArrayType([t1.$index($arguments, 1)], type$.JSArray_Value_2);
  102843. B.JSArray_methods.addAll$1(t2, t1.$index($arguments, 2).get$asList());
  102844. for (t1 = A.IterableExtension_get_exceptLast0(t2), t1 = t1.get$iterator(t1); t1.moveNext$0(); map = value) {
  102845. value = map._map0$_contents.$index(0, t1.get$current(t1));
  102846. if (!(value instanceof A.SassMap0))
  102847. return B.SassBoolean_false0;
  102848. }
  102849. return map._map0$_contents.containsKey$1(B.JSArray_methods.get$last(t2)) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  102850. },
  102851. $signature: 22
  102852. };
  102853. A._modify_modifyNestedMap0.prototype = {
  102854. call$1(map) {
  102855. var nestedMap, _this = this,
  102856. t1 = type$.Value_2,
  102857. mutableMap = A.LinkedHashMap_LinkedHashMap$of(map._map0$_contents, t1, t1),
  102858. t2 = _this.keyIterator,
  102859. key = t2.get$current(t2);
  102860. if (!t2.moveNext$0()) {
  102861. t2 = mutableMap.$index(0, key);
  102862. if (t2 == null)
  102863. t2 = B.C__SassNull0;
  102864. mutableMap.$indexSet(0, key, _this.modify.call$1(t2));
  102865. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  102866. }
  102867. t2 = mutableMap.$index(0, key);
  102868. nestedMap = t2 == null ? null : t2.tryMap$0();
  102869. t2 = nestedMap == null;
  102870. if (t2 && !_this.addNesting)
  102871. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  102872. mutableMap.$indexSet(0, key, _this.call$1(t2 ? B.SassMap_Map_empty0 : nestedMap));
  102873. return new A.SassMap0(A.ConstantMap_ConstantMap$from(mutableMap, t1, t1));
  102874. },
  102875. $signature: 511
  102876. };
  102877. A._deepMergeImpl_closure1.prototype = {
  102878. call$0() {
  102879. return this._1_0._0;
  102880. },
  102881. $signature: 264
  102882. };
  102883. A._deepMergeImpl_closure2.prototype = {
  102884. call$0() {
  102885. return this._1_0._1;
  102886. },
  102887. $signature: 264
  102888. };
  102889. A.MapExtensions_get_pairs_closure0.prototype = {
  102890. call$1(e) {
  102891. return new A._Record_2(e.key, e.value);
  102892. },
  102893. $signature() {
  102894. return this.K._eval$1("@<0>")._bind$1(this.V)._eval$1("+(1,2)(MapEntry<1,2>)");
  102895. }
  102896. };
  102897. A.mapClass_closure.prototype = {
  102898. call$0() {
  102899. var t1 = type$.JSClass,
  102900. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMap", new A.mapClass__closure())),
  102901. t2 = J.getInterceptor$x(jsClass);
  102902. A.defineGetter(t2.get$$prototype(jsClass), "contents", new A.mapClass__closure0(), null);
  102903. t2.get$$prototype(jsClass).get = A.allowInteropCaptureThisNamed("get", new A.mapClass__closure1());
  102904. A.JSClassExtension_injectSuperclass(t1._as(B.SassMap_Map_empty0.constructor), jsClass);
  102905. return jsClass;
  102906. },
  102907. $signature: 24
  102908. };
  102909. A.mapClass__closure.prototype = {
  102910. call$2($self, contents) {
  102911. var t1;
  102912. if (contents == null)
  102913. t1 = B.SassMap_Map_empty0;
  102914. else {
  102915. t1 = type$.Value_2;
  102916. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(A.immutableMapToDartMap(contents).cast$2$0(0, t1, t1), t1, t1));
  102917. }
  102918. return t1;
  102919. },
  102920. call$1($self) {
  102921. return this.call$2($self, null);
  102922. },
  102923. "call*": "call$2",
  102924. $requiredArgCount: 1,
  102925. $defaultValues() {
  102926. return [null];
  102927. },
  102928. $signature: 513
  102929. };
  102930. A.mapClass__closure0.prototype = {
  102931. call$1($self) {
  102932. return A.dartMapToImmutableMap($self._map0$_contents);
  102933. },
  102934. $signature: 514
  102935. };
  102936. A.mapClass__closure1.prototype = {
  102937. call$2($self, indexOrKey) {
  102938. var index, t1, _0_0;
  102939. if (typeof indexOrKey == "number") {
  102940. index = B.JSNumber_methods.floor$0(indexOrKey);
  102941. if (index < 0) {
  102942. t1 = $self._map0$_contents;
  102943. index = t1.get$length(t1) + index;
  102944. }
  102945. if (index >= 0) {
  102946. t1 = $self._map0$_contents;
  102947. t1 = index >= t1.get$length(t1);
  102948. } else
  102949. t1 = true;
  102950. if (t1)
  102951. return self.undefined;
  102952. t1 = type$.Value_2;
  102953. _0_0 = A.MapExtensions_get_pairs0($self._map0$_contents, t1, t1).elementAt$1(0, index);
  102954. return A.SassList$0(A._setArrayType([_0_0._0, _0_0._1], type$.JSArray_Value_2), B.ListSeparator_EVt0, false);
  102955. } else {
  102956. t1 = $self._map0$_contents.$index(0, indexOrKey);
  102957. return t1 == null ? self.undefined : t1;
  102958. }
  102959. },
  102960. $signature: 515
  102961. };
  102962. A._NodeSassMap.prototype = {};
  102963. A.legacyMapClass_closure.prototype = {
  102964. call$3(thisArg, $length, dartValue) {
  102965. var t1, t2, t3, map;
  102966. if (dartValue == null) {
  102967. $length.toString;
  102968. t1 = type$.Value_2;
  102969. t2 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure(), t1);
  102970. t3 = A.Iterable_Iterable$generate($length, new A.legacyMapClass__closure0(), t1);
  102971. map = A.LinkedHashMap_LinkedHashMap(null, null, null, t1, t1);
  102972. A.MapBase__fillMapWithIterables(map, t2, t3);
  102973. t1 = new A.SassMap0(A.ConstantMap_ConstantMap$from(map, t1, t1));
  102974. } else
  102975. t1 = dartValue;
  102976. J.set$dartValue$x(thisArg, t1);
  102977. },
  102978. call$2(thisArg, $length) {
  102979. return this.call$3(thisArg, $length, null);
  102980. },
  102981. "call*": "call$3",
  102982. $requiredArgCount: 2,
  102983. $defaultValues() {
  102984. return [null];
  102985. },
  102986. $signature: 516
  102987. };
  102988. A.legacyMapClass__closure.prototype = {
  102989. call$1(i) {
  102990. return A.SassNumber_SassNumber0(i, null);
  102991. },
  102992. $signature: 517
  102993. };
  102994. A.legacyMapClass__closure0.prototype = {
  102995. call$1(_) {
  102996. return B.C__SassNull0;
  102997. },
  102998. $signature: 263
  102999. };
  103000. A.legacyMapClass_closure0.prototype = {
  103001. call$2(thisArg, index) {
  103002. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  103003. return A.wrapValue(J.elementAt$1$ax(t1.get$keys(t1), index));
  103004. },
  103005. $signature: 265
  103006. };
  103007. A.legacyMapClass_closure1.prototype = {
  103008. call$2(thisArg, index) {
  103009. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  103010. return A.wrapValue(t1.get$values(t1).elementAt$1(0, index));
  103011. },
  103012. $signature: 265
  103013. };
  103014. A.legacyMapClass_closure2.prototype = {
  103015. call$1(thisArg) {
  103016. var t1 = J.get$dartValue$x(thisArg)._map0$_contents;
  103017. return t1.get$length(t1);
  103018. },
  103019. $signature: 519
  103020. };
  103021. A.legacyMapClass_closure3.prototype = {
  103022. call$3(thisArg, index, key) {
  103023. var newKey, t2, newMap, t3, i, t4, oldKey, oldValue,
  103024. t1 = J.getInterceptor$x(thisArg),
  103025. oldMap = t1.get$dartValue(thisArg)._map0$_contents,
  103026. $length = oldMap.get$length(oldMap);
  103027. A.IndexError_check(index, $length, oldMap, null, "index");
  103028. newKey = A.unwrapValue(key);
  103029. t2 = type$.Value_2;
  103030. newMap = A.LinkedHashMap_LinkedHashMap$_empty(t2, t2);
  103031. for (t3 = A.MapExtensions_get_pairs0(t1.get$dartValue(thisArg)._map0$_contents, t2, t2), t3 = t3.get$iterator(t3), i = 0; t3.moveNext$0();) {
  103032. t4 = t3.get$current(t3);
  103033. oldKey = t4._0;
  103034. oldValue = t4._1;
  103035. if (i === index)
  103036. newMap.$indexSet(0, newKey, oldValue);
  103037. else {
  103038. if (newKey.$eq(0, oldKey))
  103039. throw A.wrapException(A.ArgumentError$value(key, "key", "is already in the map"));
  103040. newMap.$indexSet(0, oldKey, oldValue);
  103041. }
  103042. ++i;
  103043. }
  103044. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(newMap, t2, t2)));
  103045. },
  103046. "call*": "call$3",
  103047. $requiredArgCount: 3,
  103048. $signature: 266
  103049. };
  103050. A.legacyMapClass_closure4.prototype = {
  103051. call$3(thisArg, index, value) {
  103052. var t3,
  103053. t1 = J.getInterceptor$x(thisArg),
  103054. t2 = t1.get$dartValue(thisArg)._map0$_contents,
  103055. key = J.elementAt$1$ax(t2.get$keys(t2), index);
  103056. t2 = type$.Value_2;
  103057. t3 = A.LinkedHashMap_LinkedHashMap$of(t1.get$dartValue(thisArg)._map0$_contents, t2, t2);
  103058. t3.$indexSet(0, key, A.unwrapValue(value));
  103059. t1.set$dartValue(thisArg, new A.SassMap0(A.ConstantMap_ConstantMap$from(t3, t2, t2)));
  103060. },
  103061. "call*": "call$3",
  103062. $requiredArgCount: 3,
  103063. $signature: 266
  103064. };
  103065. A.SassMap0.prototype = {
  103066. get$separator(_) {
  103067. var t1 = this._map0$_contents;
  103068. return t1.get$isEmpty(t1) ? B.ListSeparator_undecided_null_undecided0 : B.ListSeparator_rXA0;
  103069. },
  103070. get$asList() {
  103071. var t3, t4, t5, result,
  103072. t1 = type$.JSArray_Value_2,
  103073. t2 = A._setArrayType([], t1);
  103074. for (t3 = type$.Value_2, t4 = A.MapExtensions_get_pairs0(this._map0$_contents, t3, t3), t4 = t4.get$iterator(t4); t4.moveNext$0();) {
  103075. t5 = t4.get$current(t4);
  103076. result = A.List_List$from(A._setArrayType([t5._0, t5._1], t1), false, t3);
  103077. result.fixed$length = Array;
  103078. result.immutable$list = Array;
  103079. t2.push(new A.SassList0(result, B.ListSeparator_EVt0, false));
  103080. }
  103081. return t2;
  103082. },
  103083. get$lengthAsList() {
  103084. var t1 = this._map0$_contents;
  103085. return t1.get$length(t1);
  103086. },
  103087. accept$1$1(visitor) {
  103088. return visitor.visitMap$1(this);
  103089. },
  103090. accept$1(visitor) {
  103091. return this.accept$1$1(visitor, type$.dynamic);
  103092. },
  103093. assertMap$1($name) {
  103094. return this;
  103095. },
  103096. tryMap$0() {
  103097. return this;
  103098. },
  103099. $eq(_, other) {
  103100. var t1;
  103101. if (other == null)
  103102. return false;
  103103. if (!(other instanceof A.SassMap0 && B.C_MapEquality.equals$2(0, other._map0$_contents, this._map0$_contents))) {
  103104. t1 = this._map0$_contents;
  103105. t1 = t1.get$isEmpty(t1) && other instanceof A.SassList0 && other._list1$_contents.length === 0;
  103106. } else
  103107. t1 = true;
  103108. return t1;
  103109. },
  103110. get$hashCode(_) {
  103111. var t1 = this._map0$_contents;
  103112. return t1.get$isEmpty(t1) ? B.C_ListEquality0.hash$1(B.List_empty19) : B.C_MapEquality.hash$1(t1);
  103113. }
  103114. };
  103115. A.global_closure31.prototype = {
  103116. call$1($arguments) {
  103117. var t1, t2,
  103118. number = J.$index$asx($arguments, 0).assertNumber$1("number");
  103119. if (number.hasUnit$1("%")) {
  103120. t1 = number.toString$0(0);
  103121. t2 = number.toString$0(0);
  103122. A.EvaluationContext_current0().warn$2(0, string$.Passinp + t1 + ")\nTo emit a CSS abs() now: abs(#{" + t2 + string$.x7d__Mor, B.Deprecation_la6);
  103123. }
  103124. t1 = number.get$numeratorUnits(number);
  103125. return A.SassNumber_SassNumber$withUnits0(Math.abs(number._number1$_value), number.get$denominatorUnits(number), t1);
  103126. },
  103127. $signature: 13
  103128. };
  103129. A.module_closure11.prototype = {
  103130. call$1(value) {
  103131. return Math.abs(value);
  103132. },
  103133. $signature: 42
  103134. };
  103135. A._ceil_closure0.prototype = {
  103136. call$1(value) {
  103137. return B.JSNumber_methods.ceil$0(value);
  103138. },
  103139. $signature: 42
  103140. };
  103141. A._clamp_closure0.prototype = {
  103142. call$1($arguments) {
  103143. var t1 = J.getInterceptor$asx($arguments),
  103144. min = t1.$index($arguments, 0).assertNumber$1("min"),
  103145. number = t1.$index($arguments, 1).assertNumber$1("number"),
  103146. max = t1.$index($arguments, 2).assertNumber$1("max");
  103147. number.convertValueToMatch$3(min, "number", "min");
  103148. max.convertValueToMatch$3(min, "max", "min");
  103149. if (min.greaterThanOrEquals$1(max).value)
  103150. return min;
  103151. if (min.greaterThanOrEquals$1(number).value)
  103152. return min;
  103153. if (number.greaterThanOrEquals$1(max).value)
  103154. return max;
  103155. return number;
  103156. },
  103157. $signature: 13
  103158. };
  103159. A._floor_closure0.prototype = {
  103160. call$1(value) {
  103161. return B.JSNumber_methods.floor$0(value);
  103162. },
  103163. $signature: 42
  103164. };
  103165. A._max_closure0.prototype = {
  103166. call$1($arguments) {
  103167. var t1, t2, max, _i, number;
  103168. 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) {
  103169. number = t1[_i].assertNumber$0();
  103170. if (max == null || max.lessThan$1(number).value)
  103171. max = number;
  103172. }
  103173. if (max != null)
  103174. return max;
  103175. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  103176. },
  103177. $signature: 13
  103178. };
  103179. A._min_closure0.prototype = {
  103180. call$1($arguments) {
  103181. var t1, t2, min, _i, number;
  103182. 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) {
  103183. number = t1[_i].assertNumber$0();
  103184. if (min == null || min.greaterThan$1(number).value)
  103185. min = number;
  103186. }
  103187. if (min != null)
  103188. return min;
  103189. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  103190. },
  103191. $signature: 13
  103192. };
  103193. A._round_closure0.prototype = {
  103194. call$1(number) {
  103195. return B.JSNumber_methods.round$0(number);
  103196. },
  103197. $signature: 42
  103198. };
  103199. A._hypot_closure0.prototype = {
  103200. call$1($arguments) {
  103201. var subtotal, i, i0, t3, t4,
  103202. t1 = J.$index$asx($arguments, 0).get$asList(),
  103203. t2 = A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,SassNumber0>"),
  103204. numbers = A.List_List$of(new A.MappedListIterable(t1, new A._hypot__closure0(), t2), true, t2._eval$1("ListIterable.E"));
  103205. t1 = numbers.length;
  103206. if (t1 === 0)
  103207. throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.", null));
  103208. for (subtotal = 0, i = 0; i < t1; i = i0) {
  103209. i0 = i + 1;
  103210. subtotal += Math.pow(numbers[i].convertValueToMatch$3(numbers[0], "numbers[" + i0 + "]", "numbers[1]"), 2);
  103211. }
  103212. t1 = Math.sqrt(subtotal);
  103213. t2 = numbers[0];
  103214. t3 = J.getInterceptor$x(t2);
  103215. t4 = t3.get$numeratorUnits(t2);
  103216. return A.SassNumber_SassNumber$withUnits0(t1, t3.get$denominatorUnits(t2), t4);
  103217. },
  103218. $signature: 13
  103219. };
  103220. A._hypot__closure0.prototype = {
  103221. call$1(argument) {
  103222. return argument.assertNumber$0();
  103223. },
  103224. $signature: 521
  103225. };
  103226. A._log_closure0.prototype = {
  103227. call$1($arguments) {
  103228. var base,
  103229. _s18_ = " to have no units.",
  103230. _null = null,
  103231. t1 = J.getInterceptor$asx($arguments),
  103232. number = t1.$index($arguments, 0).assertNumber$1("number");
  103233. if (number.get$hasUnits())
  103234. throw A.wrapException(A.SassScriptException$0("$number: Expected " + number.toString$0(0) + _s18_, _null));
  103235. else if (J.$eq$(t1.$index($arguments, 1), B.C__SassNull0))
  103236. return A.SassNumber_SassNumber0(Math.log(number._number1$_value), _null);
  103237. base = t1.$index($arguments, 1).assertNumber$1("base");
  103238. if (base.get$hasUnits())
  103239. throw A.wrapException(A.SassScriptException$0("$base: Expected " + base.toString$0(0) + _s18_, _null));
  103240. else
  103241. return A.SassNumber_SassNumber0(Math.log(number._number1$_value) / Math.log(base._number1$_value), _null);
  103242. },
  103243. $signature: 13
  103244. };
  103245. A._pow_closure0.prototype = {
  103246. call$1($arguments) {
  103247. var t1 = J.getInterceptor$asx($arguments);
  103248. return A.pow1(t1.$index($arguments, 0).assertNumber$1("base"), t1.$index($arguments, 1).assertNumber$1("exponent"));
  103249. },
  103250. $signature: 13
  103251. };
  103252. A._atan2_closure0.prototype = {
  103253. call$1($arguments) {
  103254. var t1 = J.getInterceptor$asx($arguments),
  103255. y = t1.$index($arguments, 0).assertNumber$1("y");
  103256. return A.SassNumber_SassNumber$withUnits0(Math.atan2(y._number1$_value, t1.$index($arguments, 1).assertNumber$1("x").convertValueToMatch$3(y, "x", "y")) * 57.29577951308232, null, A._setArrayType(["deg"], type$.JSArray_String));
  103257. },
  103258. $signature: 13
  103259. };
  103260. A._compatible_closure0.prototype = {
  103261. call$1($arguments) {
  103262. var t1 = J.getInterceptor$asx($arguments);
  103263. return t1.$index($arguments, 0).assertNumber$1("number1").isComparableTo$1(t1.$index($arguments, 1).assertNumber$1("number2")) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103264. },
  103265. $signature: 22
  103266. };
  103267. A._isUnitless_closure0.prototype = {
  103268. call$1($arguments) {
  103269. return !J.$index$asx($arguments, 0).assertNumber$1("number").get$hasUnits() ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103270. },
  103271. $signature: 22
  103272. };
  103273. A._unit_closure0.prototype = {
  103274. call$1($arguments) {
  103275. return new A.SassString0(J.$index$asx($arguments, 0).assertNumber$1("number").get$unitString(), true);
  103276. },
  103277. $signature: 18
  103278. };
  103279. A._percentage_closure0.prototype = {
  103280. call$1($arguments) {
  103281. var number = J.$index$asx($arguments, 0).assertNumber$1("number");
  103282. number.assertNoUnits$1("number");
  103283. return A.SassNumber_SassNumber0(number._number1$_value * 100, "%");
  103284. },
  103285. $signature: 13
  103286. };
  103287. A._randomFunction_closure0.prototype = {
  103288. call$1($arguments) {
  103289. var limit, t2, t3, t4, limitScalar,
  103290. t1 = J.getInterceptor$asx($arguments);
  103291. if (J.$eq$(t1.$index($arguments, 0), B.C__SassNull0))
  103292. return A.SassNumber_SassNumber0($.$get$_random2().nextDouble$0(), null);
  103293. limit = t1.$index($arguments, 0).assertNumber$1("limit");
  103294. if (limit.get$hasUnits()) {
  103295. t1 = limit.toString$0(0);
  103296. t2 = limit.get$unitString();
  103297. t3 = limit.get$unitString();
  103298. t4 = limit.get$unitString();
  103299. A.EvaluationContext_current0().warn$2(0, string$.math_r + t1 + string$.x29x20in_a + t2 + ")) * 1" + t3 + string$.x0a_To_p + t4 + string$.x29x29__Mo, B.Deprecation_0bn);
  103300. }
  103301. limitScalar = limit.assertInt$1("limit");
  103302. if (limitScalar < 1)
  103303. throw A.wrapException(A.SassScriptException$0("$limit: Must be greater than 0, was " + limit.toString$0(0) + ".", null));
  103304. return A.SassNumber_SassNumber0($.$get$_random2().nextInt$1(limitScalar) + 1, null);
  103305. },
  103306. $signature: 13
  103307. };
  103308. A._div_closure0.prototype = {
  103309. call$1($arguments) {
  103310. var t1 = J.getInterceptor$asx($arguments),
  103311. number1 = t1.$index($arguments, 0),
  103312. number2 = t1.$index($arguments, 1);
  103313. if (!(number1 instanceof A.SassNumber0) || !(number2 instanceof A.SassNumber0)) {
  103314. t1 = A.EvaluationContext_current0();
  103315. t1.warn$2(0, string$.math_d, null);
  103316. }
  103317. return number1.dividedBy$1(number2);
  103318. },
  103319. $signature: 5
  103320. };
  103321. A._singleArgumentMathFunc_closure0.prototype = {
  103322. call$1($arguments) {
  103323. return this.mathFunc.call$1(J.$index$asx($arguments, 0).assertNumber$1("number"));
  103324. },
  103325. $signature: 13
  103326. };
  103327. A._numberFunction_closure0.prototype = {
  103328. call$1($arguments) {
  103329. var number = J.$index$asx($arguments, 0).assertNumber$1("number"),
  103330. t1 = this.transform.call$1(number._number1$_value),
  103331. t2 = number.get$numeratorUnits(number);
  103332. return A.SassNumber_SassNumber$withUnits0(t1, number.get$denominatorUnits(number), t2);
  103333. },
  103334. $signature: 13
  103335. };
  103336. A.CssMediaQuery0.prototype = {
  103337. merge$1(other) {
  103338. 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";
  103339. if (!_this.conjunction || !other.conjunction)
  103340. return B._SingletonCssMediaQueryMergeResult_10;
  103341. t1 = _this.modifier;
  103342. ourModifier = t1 == null ? _null : t1.toLowerCase();
  103343. t2 = _this.type;
  103344. t3 = t2 == null;
  103345. ourType = t3 ? _null : t2.toLowerCase();
  103346. t4 = other.modifier;
  103347. theirModifier = t4 == null ? _null : t4.toLowerCase();
  103348. t5 = other.type;
  103349. t6 = t5 == null;
  103350. theirType = t6 ? _null : t5.toLowerCase();
  103351. t7 = ourType == null;
  103352. if (t7 && theirType == null) {
  103353. t1 = A.List_List$of(_this.conditions, true, type$.String);
  103354. B.JSArray_methods.addAll$1(t1, other.conditions);
  103355. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$condition0(t1, true));
  103356. }
  103357. t8 = ourModifier === "not";
  103358. if (t8 !== (theirModifier === "not")) {
  103359. if (ourType == theirType) {
  103360. negativeConditions = t8 ? _this.conditions : other.conditions;
  103361. if (B.JSArray_methods.every$1(negativeConditions, B.JSArray_methods.get$contains(t8 ? other.conditions : _this.conditions)))
  103362. return B._SingletonCssMediaQueryMergeResult_00;
  103363. else
  103364. return B._SingletonCssMediaQueryMergeResult_10;
  103365. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_) || t6 || A.equalsIgnoreCase0(t5, _s3_))
  103366. return B._SingletonCssMediaQueryMergeResult_10;
  103367. if (t8) {
  103368. conditions = other.conditions;
  103369. type = theirType;
  103370. modifier = theirModifier;
  103371. } else {
  103372. conditions = _this.conditions;
  103373. type = ourType;
  103374. modifier = ourModifier;
  103375. }
  103376. } else if (t8) {
  103377. if (ourType != theirType)
  103378. return B._SingletonCssMediaQueryMergeResult_10;
  103379. fewerConditions = _this.conditions;
  103380. fewerConditions0 = other.conditions;
  103381. t3 = fewerConditions.length > fewerConditions0.length;
  103382. moreConditions = t3 ? fewerConditions : fewerConditions0;
  103383. if (t3)
  103384. fewerConditions = fewerConditions0;
  103385. if (!B.JSArray_methods.every$1(fewerConditions, B.JSArray_methods.get$contains(moreConditions)))
  103386. return B._SingletonCssMediaQueryMergeResult_10;
  103387. conditions = moreConditions;
  103388. type = ourType;
  103389. modifier = ourModifier;
  103390. } else if (t3 || A.equalsIgnoreCase0(t2, _s3_)) {
  103391. type = (t6 || A.equalsIgnoreCase0(t5, _s3_)) && t7 ? _null : theirType;
  103392. t3 = A.List_List$of(_this.conditions, true, type$.String);
  103393. B.JSArray_methods.addAll$1(t3, other.conditions);
  103394. conditions = t3;
  103395. modifier = theirModifier;
  103396. } else {
  103397. if (t6 || A.equalsIgnoreCase0(t5, _s3_)) {
  103398. t3 = A.List_List$of(_this.conditions, true, type$.String);
  103399. B.JSArray_methods.addAll$1(t3, other.conditions);
  103400. conditions = t3;
  103401. modifier = ourModifier;
  103402. } else {
  103403. if (ourType != theirType)
  103404. return B._SingletonCssMediaQueryMergeResult_00;
  103405. else {
  103406. modifier = ourModifier == null ? theirModifier : ourModifier;
  103407. t3 = A.List_List$of(_this.conditions, true, type$.String);
  103408. B.JSArray_methods.addAll$1(t3, other.conditions);
  103409. }
  103410. conditions = t3;
  103411. }
  103412. type = ourType;
  103413. }
  103414. t2 = type == ourType ? t2 : t5;
  103415. return new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$type0(t2, conditions, modifier == ourModifier ? t1 : t4));
  103416. },
  103417. $eq(_, other) {
  103418. if (other == null)
  103419. return false;
  103420. return other instanceof A.CssMediaQuery0 && other.modifier == this.modifier && other.type == this.type && B.C_ListEquality.equals$2(0, other.conditions, this.conditions);
  103421. },
  103422. get$hashCode(_) {
  103423. return J.get$hashCode$(this.modifier) ^ J.get$hashCode$(this.type) ^ B.C_ListEquality0.hash$1(this.conditions);
  103424. },
  103425. toString$0(_) {
  103426. var t2, _this = this,
  103427. t1 = _this.modifier;
  103428. t1 = t1 != null ? "" + (t1 + " ") : "";
  103429. t2 = _this.type;
  103430. if (t2 != null) {
  103431. t1 += t2;
  103432. if (_this.conditions.length !== 0)
  103433. t1 += " and ";
  103434. }
  103435. t2 = _this.conjunction ? " and " : " or ";
  103436. t2 = t1 + B.JSArray_methods.join$1(_this.conditions, t2);
  103437. return t2.charCodeAt(0) == 0 ? t2 : t2;
  103438. }
  103439. };
  103440. A._SingletonCssMediaQueryMergeResult0.prototype = {
  103441. _enumToString$0() {
  103442. return "_SingletonCssMediaQueryMergeResult." + this._name;
  103443. }
  103444. };
  103445. A.MediaQuerySuccessfulMergeResult0.prototype = {
  103446. toString$0(_) {
  103447. return this.query.toString$0(0);
  103448. }
  103449. };
  103450. A.MediaQueryParser0.prototype = {
  103451. parse$0() {
  103452. return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure0(this));
  103453. },
  103454. _media_query$_mediaQuery$0() {
  103455. var conditions, conjunction, identifier1, identifier2, type, modifier, _this = this, _s3_ = "and", _null = null;
  103456. if (_this.scanner.peekChar$0() === 40) {
  103457. conditions = A._setArrayType([_this._media_query$_mediaInParens$0()], type$.JSArray_String);
  103458. _this.whitespace$0();
  103459. if (_this.scanIdentifier$1(_s3_)) {
  103460. _this.expectWhitespace$0();
  103461. B.JSArray_methods.addAll$1(conditions, _this._media_query$_mediaLogicSequence$1(_s3_));
  103462. conjunction = true;
  103463. } else if (_this.scanIdentifier$1("or")) {
  103464. _this.expectWhitespace$0();
  103465. B.JSArray_methods.addAll$1(conditions, _this._media_query$_mediaLogicSequence$1("or"));
  103466. conjunction = false;
  103467. } else
  103468. conjunction = true;
  103469. return A.CssMediaQuery$condition0(conditions, conjunction);
  103470. }
  103471. identifier1 = _this.identifier$0();
  103472. if (A.equalsIgnoreCase0(identifier1, "not")) {
  103473. _this.expectWhitespace$0();
  103474. if (!_this.lookingAtIdentifier$0())
  103475. return A.CssMediaQuery$condition0(A._setArrayType(["(not " + _this._media_query$_mediaInParens$0() + ")"], type$.JSArray_String), _null);
  103476. }
  103477. _this.whitespace$0();
  103478. if (!_this.lookingAtIdentifier$0())
  103479. return A.CssMediaQuery$type0(identifier1, _null, _null);
  103480. identifier2 = _this.identifier$0();
  103481. if (A.equalsIgnoreCase0(identifier2, _s3_)) {
  103482. _this.expectWhitespace$0();
  103483. type = identifier1;
  103484. modifier = _null;
  103485. } else {
  103486. _this.whitespace$0();
  103487. if (_this.scanIdentifier$1(_s3_))
  103488. _this.expectWhitespace$0();
  103489. else
  103490. return A.CssMediaQuery$type0(identifier2, _null, identifier1);
  103491. type = identifier2;
  103492. modifier = identifier1;
  103493. }
  103494. if (_this.scanIdentifier$1("not")) {
  103495. _this.expectWhitespace$0();
  103496. return A.CssMediaQuery$type0(type, A._setArrayType(["(not " + _this._media_query$_mediaInParens$0() + ")"], type$.JSArray_String), modifier);
  103497. }
  103498. return A.CssMediaQuery$type0(type, _this._media_query$_mediaLogicSequence$1(_s3_), modifier);
  103499. },
  103500. _media_query$_mediaLogicSequence$1(operator) {
  103501. var t1, t2, _this = this,
  103502. result = A._setArrayType([], type$.JSArray_String);
  103503. for (t1 = _this.scanner; true;) {
  103504. t1.expectChar$2$name(40, "media condition in parentheses");
  103505. t2 = _this.declarationValue$0();
  103506. t1.expectChar$1(41);
  103507. result.push("(" + t2 + ")");
  103508. _this.whitespace$0();
  103509. if (!_this.scanIdentifier$1(operator))
  103510. return result;
  103511. _this.expectWhitespace$0();
  103512. }
  103513. },
  103514. _media_query$_mediaInParens$0() {
  103515. var t2,
  103516. t1 = this.scanner;
  103517. t1.expectChar$2$name(40, "media condition in parentheses");
  103518. t2 = this.declarationValue$0();
  103519. t1.expectChar$1(41);
  103520. return "(" + t2 + ")";
  103521. }
  103522. };
  103523. A.MediaQueryParser_parse_closure0.prototype = {
  103524. call$0() {
  103525. var queries = A._setArrayType([], type$.JSArray_CssMediaQuery_2),
  103526. t1 = this.$this,
  103527. t2 = t1.scanner;
  103528. do {
  103529. t1.whitespace$0();
  103530. queries.push(t1._media_query$_mediaQuery$0());
  103531. t1.whitespace$0();
  103532. } while (t2.scanChar$1(44));
  103533. t2.expectDone$0();
  103534. return queries;
  103535. },
  103536. $signature: 522
  103537. };
  103538. A.ModifiableCssMediaRule0.prototype = {
  103539. accept$1$1(visitor) {
  103540. return visitor.visitCssMediaRule$1(this);
  103541. },
  103542. accept$1(visitor) {
  103543. return this.accept$1$1(visitor, type$.dynamic);
  103544. },
  103545. equalsIgnoringChildren$1(other) {
  103546. return other instanceof A.ModifiableCssMediaRule0 && B.C_ListEquality.equals$2(0, this.queries, other.queries);
  103547. },
  103548. copyWithoutChildren$0() {
  103549. return A.ModifiableCssMediaRule$0(this.queries, this.span);
  103550. },
  103551. get$span(receiver) {
  103552. return this.span;
  103553. }
  103554. };
  103555. A.MediaRule0.prototype = {
  103556. accept$1$1(visitor) {
  103557. return visitor.visitMediaRule$1(this);
  103558. },
  103559. accept$1(visitor) {
  103560. return this.accept$1$1(visitor, type$.dynamic);
  103561. },
  103562. toString$0(_) {
  103563. var t1 = this.children;
  103564. return "@media " + this.query.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  103565. },
  103566. get$span(receiver) {
  103567. return this.span;
  103568. }
  103569. };
  103570. A.MergedExtension0.prototype = {
  103571. unmerge$0() {
  103572. return new A._SyncStarIterable(this.unmerge$body$MergedExtension0(), type$._SyncStarIterable_Extension_2);
  103573. },
  103574. unmerge$body$MergedExtension0() {
  103575. var $async$self = this;
  103576. return function() {
  103577. var $async$goto = 0, $async$handler = 1, $async$currentError, right, left;
  103578. return function $async$unmerge$0($async$iterator, $async$errorCode, $async$result) {
  103579. if ($async$errorCode === 1) {
  103580. $async$currentError = $async$result;
  103581. $async$goto = $async$handler;
  103582. }
  103583. while (true)
  103584. switch ($async$goto) {
  103585. case 0:
  103586. // Function start
  103587. left = $async$self.left;
  103588. $async$goto = left instanceof A.MergedExtension0 ? 2 : 4;
  103589. break;
  103590. case 2:
  103591. // then
  103592. $async$goto = 5;
  103593. return $async$iterator._yieldStar$1(left.unmerge$0());
  103594. case 5:
  103595. // after yield
  103596. // goto join
  103597. $async$goto = 3;
  103598. break;
  103599. case 4:
  103600. // else
  103601. $async$goto = 6;
  103602. return $async$iterator._async$_current = left, 1;
  103603. case 6:
  103604. // after yield
  103605. case 3:
  103606. // join
  103607. right = $async$self.right;
  103608. $async$goto = right instanceof A.MergedExtension0 ? 7 : 9;
  103609. break;
  103610. case 7:
  103611. // then
  103612. $async$goto = 10;
  103613. return $async$iterator._yieldStar$1(right.unmerge$0());
  103614. case 10:
  103615. // after yield
  103616. // goto join
  103617. $async$goto = 8;
  103618. break;
  103619. case 9:
  103620. // else
  103621. $async$goto = 11;
  103622. return $async$iterator._async$_current = right, 1;
  103623. case 11:
  103624. // after yield
  103625. case 8:
  103626. // join
  103627. // implicit return
  103628. return 0;
  103629. case 1:
  103630. // rethrow
  103631. return $async$iterator._datum = $async$currentError, 3;
  103632. }
  103633. };
  103634. };
  103635. }
  103636. };
  103637. A.MergedMapView0.prototype = {
  103638. get$keys(_) {
  103639. var t1 = this._merged_map_view$_mapsByKey;
  103640. return new A.LinkedHashMapKeyIterable(t1, A._instanceType(t1)._eval$1("LinkedHashMapKeyIterable<1>"));
  103641. },
  103642. get$length(_) {
  103643. return this._merged_map_view$_mapsByKey.__js_helper$_length;
  103644. },
  103645. get$isEmpty(_) {
  103646. return this._merged_map_view$_mapsByKey.__js_helper$_length === 0;
  103647. },
  103648. get$isNotEmpty(_) {
  103649. return this._merged_map_view$_mapsByKey.__js_helper$_length !== 0;
  103650. },
  103651. MergedMapView$10(maps, $K, $V) {
  103652. var t1, t2, t3, _i, map, t4, t5, t6;
  103653. 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) {
  103654. map = maps[_i];
  103655. if (t3._is(map))
  103656. 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();) {
  103657. t6 = t4.__internal$_current;
  103658. if (t6 == null)
  103659. t6 = t5._as(t6);
  103660. A.setAll0(t2, t6.get$keys(t6), t6);
  103661. }
  103662. else
  103663. A.setAll0(t2, map.get$keys(map), map);
  103664. }
  103665. },
  103666. $index(_, key) {
  103667. var t1 = this._merged_map_view$_mapsByKey.$index(0, this.$ti._precomputed1._as(key));
  103668. return t1 == null ? null : t1.$index(0, key);
  103669. },
  103670. $indexSet(_, key, value) {
  103671. var child, t1,
  103672. _0_0 = this._merged_map_view$_mapsByKey.$index(0, key);
  103673. if (_0_0 != null) {
  103674. child = _0_0;
  103675. t1 = true;
  103676. } else {
  103677. child = null;
  103678. t1 = false;
  103679. }
  103680. if (t1)
  103681. child.$indexSet(0, key, value);
  103682. else
  103683. throw A.wrapException(A.UnsupportedError$(string$.New_en));
  103684. },
  103685. remove$1(_, key) {
  103686. throw A.wrapException(A.UnsupportedError$(string$.Entrie));
  103687. },
  103688. containsKey$1(key) {
  103689. return this._merged_map_view$_mapsByKey.containsKey$1(key);
  103690. }
  103691. };
  103692. A.global_closure59.prototype = {
  103693. call$1($arguments) {
  103694. return $._features0.contains$1(0, J.$index$asx($arguments, 0).assertString$1("feature")._string0$_text) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103695. },
  103696. $signature: 22
  103697. };
  103698. A.global_closure60.prototype = {
  103699. call$1($arguments) {
  103700. return new A.SassString0(A.serializeValue0(J.get$first$ax($arguments), true, true), false);
  103701. },
  103702. $signature: 18
  103703. };
  103704. A.global_closure61.prototype = {
  103705. call$1($arguments) {
  103706. var t1 = J.getInterceptor$asx($arguments),
  103707. _0_0 = t1.$index($arguments, 0);
  103708. $label0$0: {
  103709. if (_0_0 instanceof A.SassArgumentList0) {
  103710. t1 = "arglist";
  103711. break $label0$0;
  103712. }
  103713. if (_0_0 instanceof A.SassBoolean0) {
  103714. t1 = "bool";
  103715. break $label0$0;
  103716. }
  103717. if (_0_0 instanceof A.SassColor0) {
  103718. t1 = "color";
  103719. break $label0$0;
  103720. }
  103721. if (_0_0 instanceof A.SassList0) {
  103722. t1 = "list";
  103723. break $label0$0;
  103724. }
  103725. if (_0_0 instanceof A.SassMap0) {
  103726. t1 = "map";
  103727. break $label0$0;
  103728. }
  103729. if (B.C__SassNull0 === _0_0) {
  103730. t1 = "null";
  103731. break $label0$0;
  103732. }
  103733. if (_0_0 instanceof A.SassNumber0) {
  103734. t1 = "number";
  103735. break $label0$0;
  103736. }
  103737. if (_0_0 instanceof A.SassFunction0) {
  103738. t1 = "function";
  103739. break $label0$0;
  103740. }
  103741. if (_0_0 instanceof A.SassMixin0) {
  103742. t1 = "mixin";
  103743. break $label0$0;
  103744. }
  103745. if (_0_0 instanceof A.SassCalculation0) {
  103746. t1 = "calculation";
  103747. break $label0$0;
  103748. }
  103749. if (_0_0 instanceof A.SassString0) {
  103750. t1 = "string";
  103751. break $label0$0;
  103752. }
  103753. t1 = A.throwExpression("[BUG] Unknown value type " + A.S(t1.$index($arguments, 0)));
  103754. }
  103755. return new A.SassString0(t1, false);
  103756. },
  103757. $signature: 18
  103758. };
  103759. A.global_closure62.prototype = {
  103760. call$1($arguments) {
  103761. var t2, keywords, t3, t4,
  103762. t1 = J.getInterceptor$asx($arguments),
  103763. _1_0 = t1.$index($arguments, 0);
  103764. if (_1_0 instanceof A.SassArgumentList0) {
  103765. t2 = _1_0._argument_list$_wereKeywordsAccessed = true;
  103766. keywords = _1_0._argument_list$_keywords;
  103767. } else {
  103768. keywords = null;
  103769. t2 = false;
  103770. }
  103771. if (t2) {
  103772. t1 = type$.Value_2;
  103773. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  103774. for (t3 = A.MapExtensions_get_pairs0(keywords, type$.String, t1), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  103775. t4 = t3.get$current(t3);
  103776. t2.$indexSet(0, new A.SassString0(t4._0, false), t4._1);
  103777. }
  103778. return new A.SassMap0(A.ConstantMap_ConstantMap$from(t2, t1, t1));
  103779. } else
  103780. throw A.wrapException("$args: " + A.S(t1.$index($arguments, 0)) + " is not an argument list.");
  103781. },
  103782. $signature: 39
  103783. };
  103784. A.local_closure2.prototype = {
  103785. call$1($arguments) {
  103786. return new A.SassString0(J.$index$asx($arguments, 0).assertCalculation$1("calc").name, true);
  103787. },
  103788. $signature: 18
  103789. };
  103790. A.local_closure3.prototype = {
  103791. call$1($arguments) {
  103792. var t1 = J.$index$asx($arguments, 0).assertCalculation$1("calc").$arguments;
  103793. return A.SassList$0(new A.MappedListIterable(t1, new A.local__closure2(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_rXA0, false);
  103794. },
  103795. $signature: 26
  103796. };
  103797. A.local__closure2.prototype = {
  103798. call$1(argument) {
  103799. return argument instanceof A.Value0 ? argument : new A.SassString0(J.toString$0$(argument), false);
  103800. },
  103801. $signature: 523
  103802. };
  103803. A.local_closure4.prototype = {
  103804. call$1($arguments) {
  103805. var _0_2, acceptsContent, _0_2_isSet, t1, hasContent, _null = null,
  103806. mixin = J.$index$asx($arguments, 0).assertMixin$1("mixin"),
  103807. _0_0 = mixin.callable,
  103808. _0_5 = A._InitializedCell$(new A.local__closure1(_0_0));
  103809. $label0$0: {
  103810. if (type$.AsyncBuiltInCallable_2._is(_0_0)) {
  103811. _0_2 = _0_0.get$acceptsContent();
  103812. acceptsContent = _0_2;
  103813. _0_2_isSet = true;
  103814. t1 = true;
  103815. } else {
  103816. acceptsContent = _null;
  103817. _0_2 = acceptsContent;
  103818. _0_2_isSet = false;
  103819. t1 = false;
  103820. }
  103821. if (!t1)
  103822. if (_0_0 instanceof A.BuiltInCallable0) {
  103823. acceptsContent = _0_2_isSet ? _0_2 : _0_0.acceptsContent;
  103824. t1 = true;
  103825. } else
  103826. t1 = false;
  103827. else
  103828. t1 = true;
  103829. if (t1) {
  103830. t1 = acceptsContent;
  103831. break $label0$0;
  103832. }
  103833. if (_0_0 instanceof A.UserDefinedCallable0)
  103834. if (_0_5._readFinal$0() instanceof A.MixinRule0) {
  103835. hasContent = _0_5._readFinal$0().get$hasContent();
  103836. t1 = true;
  103837. } else {
  103838. hasContent = _null;
  103839. t1 = false;
  103840. }
  103841. else {
  103842. hasContent = _null;
  103843. t1 = false;
  103844. }
  103845. if (t1) {
  103846. t1 = hasContent;
  103847. break $label0$0;
  103848. }
  103849. t1 = A.throwExpression(A.UnsupportedError$("Unknown callable type " + mixin.toString$0(0) + "."));
  103850. }
  103851. return t1 ? B.SassBoolean_true0 : B.SassBoolean_false0;
  103852. },
  103853. $signature: 22
  103854. };
  103855. A.local__closure1.prototype = {
  103856. call$0() {
  103857. return type$.UserDefinedCallable_dynamic_2._as(this._0_0).declaration;
  103858. },
  103859. $signature: 139
  103860. };
  103861. A.mixinClass_closure.prototype = {
  103862. call$0() {
  103863. var t1 = type$.JSClass,
  103864. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassMixin", new A.mixinClass__closure()));
  103865. A.JSClassExtension_injectSuperclass(t1._as(new A.SassMixin0(A.BuiltInCallable$function0("f", "", new A.mixinClass__closure0(), null)).constructor), jsClass);
  103866. return jsClass;
  103867. },
  103868. $signature: 24
  103869. };
  103870. A.mixinClass__closure.prototype = {
  103871. call$1($self) {
  103872. A.jsThrow(new self.Error("It is not possible to construct a SassMixin through the JavaScript API"));
  103873. },
  103874. $signature: 524
  103875. };
  103876. A.mixinClass__closure0.prototype = {
  103877. call$1(_) {
  103878. return B.C__SassNull0;
  103879. },
  103880. $signature: 5
  103881. };
  103882. A.SassMixin0.prototype = {
  103883. accept$1$1(visitor) {
  103884. var t1, t2;
  103885. if (!visitor._serialize0$_inspect)
  103886. A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " isn't a valid CSS value.", null));
  103887. t1 = visitor._serialize0$_buffer;
  103888. t1.write$1(0, "get-mixin(");
  103889. t2 = this.callable;
  103890. visitor._serialize0$_visitQuotedString$1(t2.get$name(t2));
  103891. t1.writeCharCode$1(41);
  103892. return null;
  103893. },
  103894. accept$1(visitor) {
  103895. return this.accept$1$1(visitor, type$.dynamic);
  103896. },
  103897. assertMixin$1($name) {
  103898. return this;
  103899. },
  103900. $eq(_, other) {
  103901. if (other == null)
  103902. return false;
  103903. return other instanceof A.SassMixin0 && this.callable.$eq(0, other.callable);
  103904. },
  103905. get$hashCode(_) {
  103906. var t1 = this.callable;
  103907. return t1.get$hashCode(t1);
  103908. }
  103909. };
  103910. A.MixinRule0.prototype = {
  103911. get$hasContent() {
  103912. var result, _this = this,
  103913. value = _this._mixin_rule$__MixinRule_hasContent_FI;
  103914. if (value === $) {
  103915. result = J.$eq$(B.C__HasContentVisitor0.visitChildren$1(_this.children), true);
  103916. _this._mixin_rule$__MixinRule_hasContent_FI !== $ && A.throwUnnamedLateFieldADI();
  103917. _this._mixin_rule$__MixinRule_hasContent_FI = result;
  103918. value = result;
  103919. }
  103920. return value;
  103921. },
  103922. accept$1$1(visitor) {
  103923. return visitor.visitMixinRule$1(this);
  103924. },
  103925. accept$1(visitor) {
  103926. return this.accept$1$1(visitor, type$.dynamic);
  103927. },
  103928. toString$0(_) {
  103929. var t1 = "@mixin " + this.name,
  103930. t2 = this.$arguments;
  103931. if (!(t2.$arguments.length === 0 && t2.restArgument == null))
  103932. t1 += "(" + t2.toString$0(0) + ")";
  103933. t2 = this.children;
  103934. t2 = t1 + (" {" + (t2 && B.JSArray_methods).join$1(t2, " ") + "}");
  103935. return t2.charCodeAt(0) == 0 ? t2 : t2;
  103936. }
  103937. };
  103938. A._HasContentVisitor0.prototype = {
  103939. visitContentRule$1(_) {
  103940. return true;
  103941. }
  103942. };
  103943. A.__HasContentVisitor_Object_StatementSearchVisitor0.prototype = {};
  103944. A.ExtendMode0.prototype = {
  103945. _enumToString$0() {
  103946. return "ExtendMode." + this._name;
  103947. },
  103948. toString$0(_) {
  103949. return this.name;
  103950. }
  103951. };
  103952. A.MultiSpan0.prototype = {
  103953. get$start(_) {
  103954. var t1 = this._multi_span0$_primary;
  103955. return t1.get$start(t1);
  103956. },
  103957. get$end(_) {
  103958. var t1 = this._multi_span0$_primary;
  103959. return t1.get$end(t1);
  103960. },
  103961. get$text() {
  103962. return this._multi_span0$_primary.get$text();
  103963. },
  103964. get$context(_) {
  103965. var t1 = this._multi_span0$_primary;
  103966. return t1.get$context(t1);
  103967. },
  103968. get$file(_) {
  103969. var t1 = this._multi_span0$_primary;
  103970. return t1.get$file(t1);
  103971. },
  103972. get$length(_) {
  103973. var t1 = this._multi_span0$_primary;
  103974. return t1.get$length(t1);
  103975. },
  103976. get$sourceUrl(_) {
  103977. var t1 = this._multi_span0$_primary;
  103978. return t1.get$sourceUrl(t1);
  103979. },
  103980. compareTo$1(_, other) {
  103981. return this._multi_span0$_primary.compareTo$1(0, other);
  103982. },
  103983. toString$0(_) {
  103984. return this._multi_span0$_primary.toString$0(0);
  103985. },
  103986. expand$1(_, other) {
  103987. return new A.MultiSpan0(this._multi_span0$_primary.expand$1(0, other), this.primaryLabel, this.secondarySpans);
  103988. },
  103989. highlight$1$color(color) {
  103990. var t1 = color === true || false;
  103991. return A.Highlighter$multiple(this._multi_span0$_primary, this.primaryLabel, this.secondarySpans, t1, null, null).highlight$0();
  103992. },
  103993. message$2$color(_, message, color) {
  103994. var t1 = J.$eq$(color, true) || typeof color == "string",
  103995. t2 = typeof color == "string" ? color : null;
  103996. return A.SourceSpanExtension_messageMultiple(this._multi_span0$_primary, message, this.primaryLabel, this.secondarySpans, t1, t2, null);
  103997. },
  103998. message$1($receiver, message) {
  103999. return this.message$2$color($receiver, message, null);
  104000. },
  104001. $isComparable: 1,
  104002. $isFileSpan: 1,
  104003. $isSourceSpan: 1,
  104004. $isSourceSpanWithContext: 1
  104005. };
  104006. A.SupportsNegation0.prototype = {
  104007. toString$0(_) {
  104008. var t1 = this.condition;
  104009. if (t1 instanceof A.SupportsNegation0 || t1 instanceof A.SupportsOperation0)
  104010. return "not (" + t1.toString$0(0) + ")";
  104011. else
  104012. return "not " + t1.toString$0(0);
  104013. },
  104014. $isAstNode0: 1,
  104015. get$span(receiver) {
  104016. return this.span;
  104017. }
  104018. };
  104019. A.NoOpImporter0.prototype = {
  104020. canonicalize$1(_, url) {
  104021. return null;
  104022. },
  104023. load$1(_, url) {
  104024. return null;
  104025. },
  104026. toString$0(_) {
  104027. return "(unknown)";
  104028. }
  104029. };
  104030. A.NoSourceMapBuffer0.prototype = {
  104031. get$length(_) {
  104032. return this._no_source_map_buffer0$_buffer._contents.length;
  104033. },
  104034. forSpan$1$2(span, callback) {
  104035. return callback.call$0();
  104036. },
  104037. forSpan$2(span, callback) {
  104038. return this.forSpan$1$2(span, callback, type$.dynamic);
  104039. },
  104040. write$1(_, object) {
  104041. this._no_source_map_buffer0$_buffer._contents += A.S(object);
  104042. return null;
  104043. },
  104044. writeCharCode$1(charCode) {
  104045. this._no_source_map_buffer0$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
  104046. return null;
  104047. },
  104048. toString$0(_) {
  104049. var t1 = this._no_source_map_buffer0$_buffer._contents;
  104050. return t1.charCodeAt(0) == 0 ? t1 : t1;
  104051. },
  104052. buildSourceMap$1$prefix(prefix) {
  104053. return A.throwExpression(A.UnsupportedError$(string$.NoSour));
  104054. }
  104055. };
  104056. A._FakeAstNode0.prototype = {
  104057. get$span(_) {
  104058. return this._node0$_callback.call$0();
  104059. },
  104060. $isAstNode0: 1
  104061. };
  104062. A.CssNode0.prototype = {
  104063. toString$0(_) {
  104064. return A.serialize0(this, true, null, true, null, false, null, true)._0;
  104065. },
  104066. $isAstNode0: 1
  104067. };
  104068. A.CssParentNode0.prototype = {};
  104069. A._IsInvisibleVisitor1.prototype = {
  104070. visitCssAtRule$1(rule) {
  104071. return false;
  104072. },
  104073. visitCssComment$1(comment) {
  104074. return this.includeComments && comment.text.charCodeAt(2) !== 33;
  104075. },
  104076. visitCssStyleRule$1(rule) {
  104077. var t1 = rule._style_rule0$_selector._box0$_inner;
  104078. return (this.includeBogus ? t1.value.accept$1(B._IsInvisibleVisitor_true0) : t1.value.accept$1(B._IsInvisibleVisitor_false0)) || this.super$EveryCssVisitor$visitCssStyleRule0(rule);
  104079. }
  104080. };
  104081. A.__IsInvisibleVisitor_Object_EveryCssVisitor0.prototype = {};
  104082. A.ModifiableCssNode0.prototype = {
  104083. get$hasFollowingSibling() {
  104084. var t2,
  104085. t1 = this._node$_parent;
  104086. if (t1 == null)
  104087. t1 = null;
  104088. else {
  104089. t1 = t1.children;
  104090. t2 = this._node$_indexInParent;
  104091. t2.toString;
  104092. t1 = A.SubListIterable$(t1, t2 + 1, null, t1.$ti._eval$1("ListBase.E")).any$1(0, new A.ModifiableCssNode_hasFollowingSibling_closure0());
  104093. }
  104094. return t1 === true;
  104095. },
  104096. get$isGroupEnd() {
  104097. return this.isGroupEnd;
  104098. }
  104099. };
  104100. A.ModifiableCssNode_hasFollowingSibling_closure0.prototype = {
  104101. call$1(sibling) {
  104102. return !sibling.accept$1(B._IsInvisibleVisitor_true_false0);
  104103. },
  104104. $signature: 144
  104105. };
  104106. A.ModifiableCssParentNode0.prototype = {
  104107. get$isChildless() {
  104108. return false;
  104109. },
  104110. addChild$1(child) {
  104111. var t1;
  104112. child._node$_parent = this;
  104113. t1 = this._node$_children;
  104114. child._node$_indexInParent = t1.length;
  104115. t1.push(child);
  104116. },
  104117. clearChildren$0() {
  104118. var t1, t2, _i, child;
  104119. for (t1 = this._node$_children, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  104120. child = t1[_i];
  104121. child._node$_indexInParent = child._node$_parent = null;
  104122. }
  104123. B.JSArray_methods.clear$0(t1);
  104124. },
  104125. $isCssParentNode0: 1,
  104126. get$children(receiver) {
  104127. return this.children;
  104128. }
  104129. };
  104130. A.NullExpression0.prototype = {
  104131. accept$1$1(visitor) {
  104132. return visitor.visitNullExpression$1(this);
  104133. },
  104134. accept$1(visitor) {
  104135. return this.accept$1$1(visitor, type$.dynamic);
  104136. },
  104137. toString$0(_) {
  104138. return "null";
  104139. },
  104140. $isExpression0: 1,
  104141. $isAstNode0: 1,
  104142. get$span(receiver) {
  104143. return this.span;
  104144. }
  104145. };
  104146. A.legacyNullClass_closure.prototype = {
  104147. call$0() {
  104148. var t1 = type$.JSClass,
  104149. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.types.Null", new A.legacyNullClass__closure()));
  104150. jsClass.NULL = B.C__SassNull0;
  104151. A.JSClassExtension_injectSuperclass(t1._as(B.C__SassNull0.constructor), jsClass);
  104152. return jsClass;
  104153. },
  104154. $signature: 24
  104155. };
  104156. A.legacyNullClass__closure.prototype = {
  104157. call$2(_, __) {
  104158. throw A.wrapException("new sass.types.Null() isn't allowed. Use sass.types.Null.NULL instead.");
  104159. },
  104160. call$1(_) {
  104161. return this.call$2(_, null);
  104162. },
  104163. "call*": "call$2",
  104164. $requiredArgCount: 1,
  104165. $defaultValues() {
  104166. return [null];
  104167. },
  104168. $signature: 217
  104169. };
  104170. A._SassNull0.prototype = {
  104171. get$isTruthy() {
  104172. return false;
  104173. },
  104174. get$isBlank() {
  104175. return true;
  104176. },
  104177. get$realNull() {
  104178. return null;
  104179. },
  104180. accept$1$1(visitor) {
  104181. if (visitor._serialize0$_inspect)
  104182. visitor._serialize0$_buffer.write$1(0, "null");
  104183. return null;
  104184. },
  104185. accept$1(visitor) {
  104186. return this.accept$1$1(visitor, type$.dynamic);
  104187. },
  104188. unaryNot$0() {
  104189. return B.SassBoolean_true0;
  104190. }
  104191. };
  104192. A.NumberExpression0.prototype = {
  104193. accept$1$1(visitor) {
  104194. return visitor.visitNumberExpression$1(this);
  104195. },
  104196. accept$1(visitor) {
  104197. return this.accept$1$1(visitor, type$.dynamic);
  104198. },
  104199. toString$0(_) {
  104200. return A.serializeValue0(A.SassNumber_SassNumber0(this.value, this.unit), true, true);
  104201. },
  104202. $isExpression0: 1,
  104203. $isAstNode0: 1,
  104204. get$span(receiver) {
  104205. return this.span;
  104206. }
  104207. };
  104208. A.numberClass_closure.prototype = {
  104209. call$0() {
  104210. var t1 = type$.JSClass,
  104211. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassNumber", new A.numberClass__closure())),
  104212. t2 = type$.String,
  104213. t3 = type$.Function;
  104214. 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));
  104215. 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));
  104216. A.JSClassExtension_injectSuperclass(t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(A.SassNumber_SassNumber0(0, null).constructor))).constructor), jsClass);
  104217. return jsClass;
  104218. },
  104219. $signature: 24
  104220. };
  104221. A.numberClass__closure.prototype = {
  104222. call$3($self, value, unitOrOptions) {
  104223. var t1, t2, _null = null;
  104224. if (typeof unitOrOptions == "string")
  104225. return A.SassNumber_SassNumber0(value, unitOrOptions);
  104226. type$.nullable__ConstructorOptions_2._as(unitOrOptions);
  104227. t1 = unitOrOptions == null;
  104228. if (t1)
  104229. t2 = _null;
  104230. else {
  104231. t2 = A.NullableExtension_andThen0(J.get$numeratorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  104232. t2 = t2 == null ? _null : J.cast$1$0$ax(t2, type$.String);
  104233. }
  104234. if (t1)
  104235. t1 = _null;
  104236. else {
  104237. t1 = A.NullableExtension_andThen0(J.get$denominatorUnits$x(unitOrOptions), A.immutable__jsToDartList$closure());
  104238. t1 = t1 == null ? _null : J.cast$1$0$ax(t1, type$.String);
  104239. }
  104240. return A.SassNumber_SassNumber$withUnits0(value, t1, t2);
  104241. },
  104242. call$2($self, value) {
  104243. return this.call$3($self, value, null);
  104244. },
  104245. "call*": "call$3",
  104246. $requiredArgCount: 2,
  104247. $defaultValues() {
  104248. return [null];
  104249. },
  104250. $signature: 525
  104251. };
  104252. A.numberClass__closure0.prototype = {
  104253. call$1($self) {
  104254. return $self._number1$_value;
  104255. },
  104256. $signature: 526
  104257. };
  104258. A.numberClass__closure1.prototype = {
  104259. call$1($self) {
  104260. return A.fuzzyIsInt($self._number1$_value);
  104261. },
  104262. $signature: 267
  104263. };
  104264. A.numberClass__closure2.prototype = {
  104265. call$1($self) {
  104266. return A.fuzzyAsInt0($self._number1$_value);
  104267. },
  104268. $signature: 528
  104269. };
  104270. A.numberClass__closure3.prototype = {
  104271. call$1($self) {
  104272. return new self.immutable.List($self.get$numeratorUnits($self));
  104273. },
  104274. $signature: 268
  104275. };
  104276. A.numberClass__closure4.prototype = {
  104277. call$1($self) {
  104278. return new self.immutable.List($self.get$denominatorUnits($self));
  104279. },
  104280. $signature: 268
  104281. };
  104282. A.numberClass__closure5.prototype = {
  104283. call$1($self) {
  104284. return $self.get$hasUnits();
  104285. },
  104286. $signature: 267
  104287. };
  104288. A.numberClass__closure6.prototype = {
  104289. call$2($self, $name) {
  104290. return $self.assertInt$1($name);
  104291. },
  104292. call$1($self) {
  104293. return this.call$2($self, null);
  104294. },
  104295. "call*": "call$2",
  104296. $requiredArgCount: 1,
  104297. $defaultValues() {
  104298. return [null];
  104299. },
  104300. $signature: 530
  104301. };
  104302. A.numberClass__closure7.prototype = {
  104303. call$4($self, min, max, $name) {
  104304. return $self.valueInRange$3(min, max, $name);
  104305. },
  104306. call$3($self, min, max) {
  104307. return this.call$4($self, min, max, null);
  104308. },
  104309. "call*": "call$4",
  104310. $requiredArgCount: 3,
  104311. $defaultValues() {
  104312. return [null];
  104313. },
  104314. $signature: 531
  104315. };
  104316. A.numberClass__closure8.prototype = {
  104317. call$2($self, $name) {
  104318. $self.assertNoUnits$1($name);
  104319. return $self;
  104320. },
  104321. call$1($self) {
  104322. return this.call$2($self, null);
  104323. },
  104324. "call*": "call$2",
  104325. $requiredArgCount: 1,
  104326. $defaultValues() {
  104327. return [null];
  104328. },
  104329. $signature: 532
  104330. };
  104331. A.numberClass__closure9.prototype = {
  104332. call$3($self, unit, $name) {
  104333. $self.assertUnit$2(unit, $name);
  104334. return $self;
  104335. },
  104336. call$2($self, unit) {
  104337. return this.call$3($self, unit, null);
  104338. },
  104339. "call*": "call$3",
  104340. $requiredArgCount: 2,
  104341. $defaultValues() {
  104342. return [null];
  104343. },
  104344. $signature: 533
  104345. };
  104346. A.numberClass__closure10.prototype = {
  104347. call$2($self, unit) {
  104348. return $self.hasUnit$1(unit);
  104349. },
  104350. $signature: 269
  104351. };
  104352. A.numberClass__closure11.prototype = {
  104353. call$2($self, unit) {
  104354. return $self.get$hasUnits() && $self.compatibleWithUnit$1(unit);
  104355. },
  104356. $signature: 269
  104357. };
  104358. A.numberClass__closure12.prototype = {
  104359. call$4($self, numeratorUnits, denominatorUnits, $name) {
  104360. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  104361. t2 = type$.String;
  104362. t1 = J.cast$1$0$ax(t1, t2);
  104363. t2 = J.cast$1$0$ax(self.immutable.isOrderedMap(denominatorUnits) ? J.toArray$0$x(type$.ImmutableList._as(denominatorUnits)) : type$.List_dynamic._as(denominatorUnits), t2);
  104364. return A.SassNumber_SassNumber$withUnits0($self._number1$_coerceOrConvertValue$4$coerceUnitless$name(t1, t2, false, $name), t2, t1);
  104365. },
  104366. call$3($self, numeratorUnits, denominatorUnits) {
  104367. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  104368. },
  104369. "call*": "call$4",
  104370. $requiredArgCount: 3,
  104371. $defaultValues() {
  104372. return [null];
  104373. },
  104374. $signature: 270
  104375. };
  104376. A.numberClass__closure13.prototype = {
  104377. call$4($self, other, $name, otherName) {
  104378. return $self.convertToMatch$3(other, $name, otherName);
  104379. },
  104380. call$2($self, other) {
  104381. return this.call$4($self, other, null, null);
  104382. },
  104383. call$3($self, other, $name) {
  104384. return this.call$4($self, other, $name, null);
  104385. },
  104386. "call*": "call$4",
  104387. $requiredArgCount: 2,
  104388. $defaultValues() {
  104389. return [null, null];
  104390. },
  104391. $signature: 271
  104392. };
  104393. A.numberClass__closure14.prototype = {
  104394. call$4($self, numeratorUnits, denominatorUnits, $name) {
  104395. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  104396. t2 = type$.String;
  104397. t1 = J.cast$1$0$ax(t1, t2);
  104398. 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);
  104399. },
  104400. call$3($self, numeratorUnits, denominatorUnits) {
  104401. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  104402. },
  104403. "call*": "call$4",
  104404. $requiredArgCount: 3,
  104405. $defaultValues() {
  104406. return [null];
  104407. },
  104408. $signature: 272
  104409. };
  104410. A.numberClass__closure15.prototype = {
  104411. call$4($self, other, $name, otherName) {
  104412. return $self.convertValueToMatch$3(other, $name, otherName);
  104413. },
  104414. call$2($self, other) {
  104415. return this.call$4($self, other, null, null);
  104416. },
  104417. call$3($self, other, $name) {
  104418. return this.call$4($self, other, $name, null);
  104419. },
  104420. "call*": "call$4",
  104421. $requiredArgCount: 2,
  104422. $defaultValues() {
  104423. return [null, null];
  104424. },
  104425. $signature: 273
  104426. };
  104427. A.numberClass__closure16.prototype = {
  104428. call$4($self, numeratorUnits, denominatorUnits, $name) {
  104429. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  104430. t2 = type$.String;
  104431. t1 = J.cast$1$0$ax(t1, t2);
  104432. 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);
  104433. },
  104434. call$3($self, numeratorUnits, denominatorUnits) {
  104435. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  104436. },
  104437. "call*": "call$4",
  104438. $requiredArgCount: 3,
  104439. $defaultValues() {
  104440. return [null];
  104441. },
  104442. $signature: 270
  104443. };
  104444. A.numberClass__closure17.prototype = {
  104445. call$4($self, other, $name, otherName) {
  104446. return $self.coerceToMatch$3(other, $name, otherName);
  104447. },
  104448. call$2($self, other) {
  104449. return this.call$4($self, other, null, null);
  104450. },
  104451. call$3($self, other, $name) {
  104452. return this.call$4($self, other, $name, null);
  104453. },
  104454. "call*": "call$4",
  104455. $requiredArgCount: 2,
  104456. $defaultValues() {
  104457. return [null, null];
  104458. },
  104459. $signature: 271
  104460. };
  104461. A.numberClass__closure18.prototype = {
  104462. call$4($self, numeratorUnits, denominatorUnits, $name) {
  104463. var t1 = self.immutable.isOrderedMap(numeratorUnits) ? J.toArray$0$x(type$.ImmutableList._as(numeratorUnits)) : type$.List_dynamic._as(numeratorUnits),
  104464. t2 = type$.String;
  104465. t1 = J.cast$1$0$ax(t1, t2);
  104466. 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);
  104467. },
  104468. call$3($self, numeratorUnits, denominatorUnits) {
  104469. return this.call$4($self, numeratorUnits, denominatorUnits, null);
  104470. },
  104471. "call*": "call$4",
  104472. $requiredArgCount: 3,
  104473. $defaultValues() {
  104474. return [null];
  104475. },
  104476. $signature: 272
  104477. };
  104478. A.numberClass__closure19.prototype = {
  104479. call$4($self, other, $name, otherName) {
  104480. return $self.coerceValueToMatch$3(other, $name, otherName);
  104481. },
  104482. call$2($self, other) {
  104483. return this.call$4($self, other, null, null);
  104484. },
  104485. call$3($self, other, $name) {
  104486. return this.call$4($self, other, $name, null);
  104487. },
  104488. "call*": "call$4",
  104489. $requiredArgCount: 2,
  104490. $defaultValues() {
  104491. return [null, null];
  104492. },
  104493. $signature: 273
  104494. };
  104495. A._ConstructorOptions0.prototype = {};
  104496. A._NodeSassNumber.prototype = {};
  104497. A.legacyNumberClass_closure.prototype = {
  104498. call$4(thisArg, value, unit, dartValue) {
  104499. var t1;
  104500. if (dartValue == null) {
  104501. value.toString;
  104502. t1 = A._parseNumber(value, unit);
  104503. } else
  104504. t1 = dartValue;
  104505. J.set$dartValue$x(thisArg, t1);
  104506. },
  104507. call$2(thisArg, value) {
  104508. return this.call$4(thisArg, value, null, null);
  104509. },
  104510. call$3(thisArg, value, unit) {
  104511. return this.call$4(thisArg, value, unit, null);
  104512. },
  104513. "call*": "call$4",
  104514. $requiredArgCount: 2,
  104515. $defaultValues() {
  104516. return [null, null];
  104517. },
  104518. $signature: 539
  104519. };
  104520. A.legacyNumberClass_closure0.prototype = {
  104521. call$1(thisArg) {
  104522. return J.get$dartValue$x(thisArg)._number1$_value;
  104523. },
  104524. $signature: 540
  104525. };
  104526. A.legacyNumberClass_closure1.prototype = {
  104527. call$2(thisArg, value) {
  104528. var t1 = J.getInterceptor$x(thisArg),
  104529. t2 = J.get$numeratorUnits$x(t1.get$dartValue(thisArg));
  104530. t1.set$dartValue(thisArg, A.SassNumber_SassNumber$withUnits0(value, J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), t2));
  104531. },
  104532. $signature: 541
  104533. };
  104534. A.legacyNumberClass_closure2.prototype = {
  104535. call$1(thisArg) {
  104536. var t1 = J.getInterceptor$x(thisArg),
  104537. t2 = B.JSArray_methods.join$1(J.get$numeratorUnits$x(t1.get$dartValue(thisArg)), "*"),
  104538. t3 = J.get$denominatorUnits$x(t1.get$dartValue(thisArg)).length === 0 ? "" : "/";
  104539. return t2 + t3 + B.JSArray_methods.join$1(J.get$denominatorUnits$x(t1.get$dartValue(thisArg)), "*");
  104540. },
  104541. $signature: 542
  104542. };
  104543. A.legacyNumberClass_closure3.prototype = {
  104544. call$2(thisArg, unit) {
  104545. var t1 = J.getInterceptor$x(thisArg);
  104546. t1.set$dartValue(thisArg, A._parseNumber(t1.get$dartValue(thisArg)._number1$_value, unit));
  104547. },
  104548. $signature: 543
  104549. };
  104550. A._parseNumber_closure.prototype = {
  104551. call$1(unit) {
  104552. return unit.length === 0;
  104553. },
  104554. $signature: 10
  104555. };
  104556. A._parseNumber_closure0.prototype = {
  104557. call$1(unit) {
  104558. return unit.length === 0;
  104559. },
  104560. $signature: 10
  104561. };
  104562. A.SassNumber0.prototype = {
  104563. get$unitString() {
  104564. var _this = this;
  104565. return _this.get$hasUnits() ? _this._number1$_unitString$2(_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this)) : "";
  104566. },
  104567. accept$1$1(visitor) {
  104568. return visitor.visitNumber$1(this);
  104569. },
  104570. accept$1(visitor) {
  104571. return this.accept$1$1(visitor, type$.dynamic);
  104572. },
  104573. withoutSlash$0() {
  104574. var _this = this;
  104575. return _this.asSlash == null ? _this : _this.withValue$1(_this._number1$_value);
  104576. },
  104577. assertNumber$1($name) {
  104578. return this;
  104579. },
  104580. assertNumber$0() {
  104581. return this.assertNumber$1(null);
  104582. },
  104583. assertInt$1($name) {
  104584. var integer, t1,
  104585. _0_0 = A.fuzzyAsInt0(this._number1$_value);
  104586. if (_0_0 != null) {
  104587. integer = _0_0;
  104588. t1 = true;
  104589. } else {
  104590. integer = null;
  104591. t1 = false;
  104592. }
  104593. if (t1)
  104594. return integer;
  104595. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + " is not an int.", $name));
  104596. },
  104597. assertInt$0() {
  104598. return this.assertInt$1(null);
  104599. },
  104600. valueInRange$3(min, max, $name) {
  104601. var result, t1, _this = this,
  104602. _0_0 = A.fuzzyCheckRange0(_this._number1$_value, min, max);
  104603. if (_0_0 != null) {
  104604. result = _0_0;
  104605. t1 = true;
  104606. } else {
  104607. result = null;
  104608. t1 = false;
  104609. }
  104610. if (t1)
  104611. return result;
  104612. 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));
  104613. },
  104614. valueInRangeWithUnit$4(min, max, $name, unit) {
  104615. var result, t1,
  104616. _0_0 = A.fuzzyCheckRange0(this._number1$_value, min, max);
  104617. if (_0_0 != null) {
  104618. result = _0_0;
  104619. t1 = true;
  104620. } else {
  104621. result = null;
  104622. t1 = false;
  104623. }
  104624. if (t1)
  104625. return result;
  104626. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to be within " + min + unit + " and " + max + unit + ".", $name));
  104627. },
  104628. hasCompatibleUnits$1(other) {
  104629. var _this = this;
  104630. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length)
  104631. return false;
  104632. if (_this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  104633. return false;
  104634. return _this.isComparableTo$1(other);
  104635. },
  104636. assertUnit$2(unit, $name) {
  104637. if (this.hasUnit$1(unit))
  104638. return;
  104639. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + ' to have unit "' + unit + '".', $name));
  104640. },
  104641. assertNoUnits$1($name) {
  104642. if (!this.get$hasUnits())
  104643. return;
  104644. throw A.wrapException(A.SassScriptException$0("Expected " + this.toString$0(0) + " to have no units.", $name));
  104645. },
  104646. assertNoUnits$0() {
  104647. return this.assertNoUnits$1(null);
  104648. },
  104649. convertToMatch$3(other, $name, otherName) {
  104650. var t1 = this.convertValueToMatch$3(other, $name, otherName),
  104651. t2 = other.get$numeratorUnits(other);
  104652. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  104653. },
  104654. convertValueToMatch$3(other, $name, otherName) {
  104655. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), false, $name, other, otherName);
  104656. },
  104657. convertValueToMatch$1(other) {
  104658. return this.convertValueToMatch$3(other, null, null);
  104659. },
  104660. coerce$3(newNumerators, newDenominators, $name) {
  104661. return A.SassNumber_SassNumber$withUnits0(this.coerceValue$3(newNumerators, newDenominators, $name), newDenominators, newNumerators);
  104662. },
  104663. coerce$2(newNumerators, newDenominators) {
  104664. return this.coerce$3(newNumerators, newDenominators, null);
  104665. },
  104666. coerceValue$3(newNumerators, newDenominators, $name) {
  104667. return this._number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, true, $name);
  104668. },
  104669. coerceValueToUnit$2(unit, $name) {
  104670. var t1 = type$.JSArray_String;
  104671. return this.coerceValue$3(A._setArrayType([unit], t1), A._setArrayType([], t1), $name);
  104672. },
  104673. coerceValueToUnit$1(unit) {
  104674. return this.coerceValueToUnit$2(unit, null);
  104675. },
  104676. coerceToMatch$3(other, $name, otherName) {
  104677. var t1 = this.coerceValueToMatch$3(other, $name, otherName),
  104678. t2 = other.get$numeratorUnits(other);
  104679. return A.SassNumber_SassNumber$withUnits0(t1, other.get$denominatorUnits(other), t2);
  104680. },
  104681. coerceValueToMatch$3(other, $name, otherName) {
  104682. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(other.get$numeratorUnits(other), other.get$denominatorUnits(other), true, $name, other, otherName);
  104683. },
  104684. coerceValueToMatch$1(other) {
  104685. return this.coerceValueToMatch$3(other, null, null);
  104686. },
  104687. _number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, other, otherName) {
  104688. var t1, otherHasUnits, t2, compatibilityException, oldNumerators, oldDenominators, _this = this, _box_0 = {};
  104689. if (B.C_ListEquality.equals$2(0, _this.get$numeratorUnits(_this), newNumerators) && B.C_ListEquality.equals$2(0, _this.get$denominatorUnits(_this), newDenominators))
  104690. return _this._number1$_value;
  104691. t1 = J.getInterceptor$asx(newNumerators);
  104692. otherHasUnits = t1.get$isNotEmpty(newNumerators) || J.get$isNotEmpty$asx(newDenominators);
  104693. if (coerceUnitless)
  104694. t2 = !_this.get$hasUnits() || !otherHasUnits;
  104695. else
  104696. t2 = false;
  104697. if (t2)
  104698. return _this._number1$_value;
  104699. compatibilityException = new A.SassNumber__coerceOrConvertValue_compatibilityException0(_this, other, otherName, otherHasUnits, $name, newNumerators, newDenominators);
  104700. _box_0.value = _this._number1$_value;
  104701. t2 = _this.get$numeratorUnits(_this);
  104702. oldNumerators = A._setArrayType(t2.slice(0), A._arrayInstanceType(t2));
  104703. for (t1 = t1.get$iterator(newNumerators); t1.moveNext$0();)
  104704. A.removeFirstWhere0(oldNumerators, new A.SassNumber__coerceOrConvertValue_closure3(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure4(compatibilityException));
  104705. t1 = _this.get$denominatorUnits(_this);
  104706. oldDenominators = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  104707. for (t1 = J.get$iterator$ax(newDenominators); t1.moveNext$0();)
  104708. A.removeFirstWhere0(oldDenominators, new A.SassNumber__coerceOrConvertValue_closure5(_box_0, t1.get$current(t1)), new A.SassNumber__coerceOrConvertValue_closure6(compatibilityException));
  104709. if (oldNumerators.length !== 0 || oldDenominators.length !== 0)
  104710. throw A.wrapException(compatibilityException.call$0());
  104711. return _box_0.value;
  104712. },
  104713. _number1$_coerceOrConvertValue$4$coerceUnitless$name(newNumerators, newDenominators, coerceUnitless, $name) {
  104714. return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(newNumerators, newDenominators, coerceUnitless, $name, null, null);
  104715. },
  104716. isComparableTo$1(other) {
  104717. var exception;
  104718. if (!this.get$hasUnits() || !other.get$hasUnits())
  104719. return true;
  104720. try {
  104721. this.greaterThan$1(other);
  104722. return true;
  104723. } catch (exception) {
  104724. if (A.unwrapException(exception) instanceof A.SassScriptException0)
  104725. return false;
  104726. else
  104727. throw exception;
  104728. }
  104729. },
  104730. greaterThan$1(other) {
  104731. if (other instanceof A.SassNumber0)
  104732. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  104733. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  104734. },
  104735. greaterThanOrEquals$1(other) {
  104736. if (other instanceof A.SassNumber0)
  104737. return this._number1$_coerceUnits$2(other, A.number2__fuzzyGreaterThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  104738. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  104739. },
  104740. lessThan$1(other) {
  104741. if (other instanceof A.SassNumber0)
  104742. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThan$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  104743. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  104744. },
  104745. lessThanOrEquals$1(other) {
  104746. if (other instanceof A.SassNumber0)
  104747. return this._number1$_coerceUnits$2(other, A.number2__fuzzyLessThanOrEquals$closure()) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  104748. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  104749. },
  104750. modulo$1(other) {
  104751. if (other instanceof A.SassNumber0)
  104752. return this.withValue$1(this._number1$_coerceUnits$2(other, A.number2__moduloLikeSass$closure()));
  104753. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  104754. },
  104755. plus$1(other) {
  104756. var _this = this;
  104757. if (other instanceof A.SassNumber0)
  104758. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_plus_closure0()));
  104759. if (!(other instanceof A.SassColor0))
  104760. return _this.super$Value$plus0(other);
  104761. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  104762. },
  104763. minus$1(other) {
  104764. var _this = this;
  104765. if (other instanceof A.SassNumber0)
  104766. return _this.withValue$1(_this._number1$_coerceUnits$2(other, new A.SassNumber_minus_closure0()));
  104767. if (!(other instanceof A.SassColor0))
  104768. return _this.super$Value$minus0(other);
  104769. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " - " + other.toString$0(0) + '".', null));
  104770. },
  104771. times$1(other) {
  104772. var _this = this;
  104773. if (other instanceof A.SassNumber0) {
  104774. if (!other.get$hasUnits())
  104775. return _this.withValue$1(_this._number1$_value * other._number1$_value);
  104776. return _this.multiplyUnits$3(_this._number1$_value * other._number1$_value, other.get$numeratorUnits(other), other.get$denominatorUnits(other));
  104777. }
  104778. throw A.wrapException(A.SassScriptException$0('Undefined operation "' + _this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  104779. },
  104780. dividedBy$1(other) {
  104781. var _this = this;
  104782. if (other instanceof A.SassNumber0) {
  104783. if (!other.get$hasUnits())
  104784. return _this.withValue$1(_this._number1$_value / other._number1$_value);
  104785. return _this.multiplyUnits$3(_this._number1$_value / other._number1$_value, other.get$denominatorUnits(other), other.get$numeratorUnits(other));
  104786. }
  104787. return _this.super$Value$dividedBy0(other);
  104788. },
  104789. unaryPlus$0() {
  104790. return this;
  104791. },
  104792. _number1$_coerceUnits$1$2(other, operation) {
  104793. var t1, exception;
  104794. try {
  104795. t1 = operation.call$2(this._number1$_value, other.coerceValueToMatch$1(this));
  104796. return t1;
  104797. } catch (exception) {
  104798. if (A.unwrapException(exception) instanceof A.SassScriptException0) {
  104799. this.coerceValueToMatch$1(other);
  104800. throw exception;
  104801. } else
  104802. throw exception;
  104803. }
  104804. },
  104805. _number1$_coerceUnits$2(other, operation) {
  104806. return this._number1$_coerceUnits$1$2(other, operation, type$.dynamic);
  104807. },
  104808. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  104809. var _0_0, _0_1, _0_2, _0_3, _0_6, _0_7, _0_9, _0_11, _0_13, numerators_case_0, denominators_case_0, t1, denominators_case_00, t2, t3, denominators_case_1, numerators_case_1, newNumerators, mutableOtherDenominators, _i, numerator, mutableDenominatorUnits, _this = this, _null = null, _box_0 = {};
  104810. _box_0.value = value;
  104811. _0_0 = new A._Record_4([_this.get$numeratorUnits(_this), _this.get$denominatorUnits(_this), otherNumerators, otherDenominators]);
  104812. _0_1 = A._InitializedCell$(new A.SassNumber_multiplyUnits_closure11(_0_0));
  104813. _0_2 = A._InitializedCell$(new A.SassNumber_multiplyUnits_closure12(_0_0));
  104814. _0_3 = A._InitializedCell$(new A.SassNumber_multiplyUnits_closure13(_0_0));
  104815. _0_6 = A._InitializedCell$(new A.SassNumber_multiplyUnits_closure14(_0_3));
  104816. _0_7 = A._InitializedCell$(new A.SassNumber_multiplyUnits_closure15(_0_0));
  104817. _0_9 = A._InitializedCell$(new A.SassNumber_multiplyUnits_closure16(_0_7));
  104818. _0_11 = A._InitializedCell$(new A.SassNumber_multiplyUnits_closure17(_0_1));
  104819. _0_13 = A._InitializedCell$(new A.SassNumber_multiplyUnits_closure18(_0_2));
  104820. numerators_case_0 = _0_1._readFinal$0();
  104821. denominators_case_0 = _0_2._readFinal$0();
  104822. t1 = _0_6._readFinal$0() && _0_9._readFinal$0();
  104823. if (!t1)
  104824. if (_0_11._readFinal$0())
  104825. if (_0_13._readFinal$0()) {
  104826. numerators_case_0 = _0_3._readFinal$0();
  104827. denominators_case_00 = _0_7._readFinal$0();
  104828. denominators_case_0 = denominators_case_00;
  104829. t1 = true;
  104830. } else
  104831. t1 = false;
  104832. else
  104833. t1 = false;
  104834. else
  104835. t1 = true;
  104836. if (t1) {
  104837. t2 = denominators_case_0;
  104838. t1 = numerators_case_0;
  104839. t3 = true;
  104840. } else {
  104841. t2 = _null;
  104842. t1 = t2;
  104843. t3 = false;
  104844. }
  104845. if (!t3) {
  104846. if (_0_11._readFinal$0()) {
  104847. denominators_case_1 = _0_2._readFinal$0();
  104848. numerators_case_1 = _0_3._readFinal$0();
  104849. t3 = _0_9._readFinal$0();
  104850. t3 = t3;
  104851. } else {
  104852. numerators_case_1 = _null;
  104853. denominators_case_1 = numerators_case_1;
  104854. t3 = false;
  104855. }
  104856. if (!t3) {
  104857. numerators_case_1 = _0_1._readFinal$0();
  104858. if (_0_13._readFinal$0())
  104859. if (_0_6._readFinal$0()) {
  104860. denominators_case_1 = _0_7._readFinal$0();
  104861. t3 = true;
  104862. } else
  104863. t3 = false;
  104864. else
  104865. t3 = false;
  104866. } else
  104867. t3 = true;
  104868. if (t3)
  104869. if (!_this._number1$_areAnyConvertible$2(numerators_case_1, denominators_case_1)) {
  104870. t2 = denominators_case_1;
  104871. t1 = numerators_case_1;
  104872. t3 = true;
  104873. } else
  104874. t3 = false;
  104875. else
  104876. t3 = false;
  104877. } else
  104878. t3 = true;
  104879. if (t3)
  104880. return A.SassNumber_SassNumber$withUnits0(value, t2, t1);
  104881. newNumerators = A._setArrayType([], type$.JSArray_String);
  104882. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  104883. for (t1 = _this.get$numeratorUnits(_this), t2 = t1.length, _i = 0; _i < t2; ++_i) {
  104884. numerator = t1[_i];
  104885. A.removeFirstWhere0(mutableOtherDenominators, new A.SassNumber_multiplyUnits_closure19(_box_0, numerator), new A.SassNumber_multiplyUnits_closure20(newNumerators, numerator));
  104886. }
  104887. t1 = _this.get$denominatorUnits(_this);
  104888. mutableDenominatorUnits = A._setArrayType(t1.slice(0), A._arrayInstanceType(t1));
  104889. for (t1 = otherNumerators.length, _i = 0; _i < t1; ++_i) {
  104890. numerator = otherNumerators[_i];
  104891. A.removeFirstWhere0(mutableDenominatorUnits, new A.SassNumber_multiplyUnits_closure21(_box_0, numerator), new A.SassNumber_multiplyUnits_closure22(newNumerators, numerator));
  104892. }
  104893. t1 = _box_0.value;
  104894. B.JSArray_methods.addAll$1(mutableDenominatorUnits, mutableOtherDenominators);
  104895. return A.SassNumber_SassNumber$withUnits0(t1, mutableDenominatorUnits, newNumerators);
  104896. },
  104897. _number1$_areAnyConvertible$2(units1, units2) {
  104898. return J.any$1$ax(units1, new A.SassNumber__areAnyConvertible_closure0(units2));
  104899. },
  104900. _number1$_unitString$2(numerators, denominators) {
  104901. var t1, denominator,
  104902. _0_0 = new A._Record_2(numerators, denominators),
  104903. _0_4 = A._InitializedCell$(new A.SassNumber__unitString_closure3(_0_0)),
  104904. _0_5 = A._InitializedCell$(new A.SassNumber__unitString_closure4(_0_0)),
  104905. _0_6 = A._InitializedCell$(new A.SassNumber__unitString_closure5(_0_5)),
  104906. _0_7 = A._InitializedCell$(new A.SassNumber__unitString_closure6(_0_6));
  104907. $label0$0: {
  104908. if (_0_4._readFinal$0() && _0_7._readFinal$0()) {
  104909. t1 = "no units";
  104910. break $label0$0;
  104911. }
  104912. if (_0_4._readFinal$0())
  104913. if (J.$eq$(_0_6._readFinal$0(), 1)) {
  104914. denominator = J.$index$asx(_0_5._readFinal$0(), 0);
  104915. t1 = true;
  104916. } else {
  104917. denominator = null;
  104918. t1 = false;
  104919. }
  104920. else {
  104921. denominator = null;
  104922. t1 = false;
  104923. }
  104924. if (t1) {
  104925. t1 = A.S(denominator) + "^-1";
  104926. break $label0$0;
  104927. }
  104928. if (_0_4._readFinal$0()) {
  104929. t1 = "(" + J.join$1$ax(denominators, "*") + ")^-1";
  104930. break $label0$0;
  104931. }
  104932. if (_0_7._readFinal$0()) {
  104933. t1 = J.join$1$ax(numerators, "*");
  104934. break $label0$0;
  104935. }
  104936. t1 = J.join$1$ax(numerators, "*") + "/" + J.join$1$ax(denominators, "*");
  104937. break $label0$0;
  104938. }
  104939. return t1;
  104940. },
  104941. $eq(_, other) {
  104942. var _this = this;
  104943. if (other == null)
  104944. return false;
  104945. if (!(other instanceof A.SassNumber0))
  104946. return false;
  104947. if (_this.get$numeratorUnits(_this).length !== other.get$numeratorUnits(other).length || _this.get$denominatorUnits(_this).length !== other.get$denominatorUnits(other).length)
  104948. return false;
  104949. if (!_this.get$hasUnits())
  104950. return A.fuzzyEquals0(_this._number1$_value, other._number1$_value);
  104951. 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))))
  104952. return false;
  104953. 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)));
  104954. },
  104955. get$hashCode(_) {
  104956. var _this = this,
  104957. t1 = _this.hashCache;
  104958. 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;
  104959. },
  104960. _number1$_canonicalizeUnitList$1(units) {
  104961. var type,
  104962. t1 = units.length;
  104963. if (t1 === 0)
  104964. return units;
  104965. if (t1 === 1) {
  104966. type = $.$get$_typesByUnit0().$index(0, B.JSArray_methods.get$first(units));
  104967. if (type == null)
  104968. t1 = units;
  104969. else {
  104970. t1 = B.Map_ws7dy.$index(0, type);
  104971. t1.toString;
  104972. t1 = A._setArrayType([B.JSArray_methods.get$first(t1)], type$.JSArray_String);
  104973. }
  104974. return t1;
  104975. }
  104976. t1 = A._arrayInstanceType(units)._eval$1("MappedListIterable<1,String>");
  104977. t1 = A.List_List$of(new A.MappedListIterable(units, new A.SassNumber__canonicalizeUnitList_closure0(), t1), true, t1._eval$1("ListIterable.E"));
  104978. B.JSArray_methods.sort$0(t1);
  104979. return t1;
  104980. },
  104981. _number1$_canonicalMultiplier$1(units) {
  104982. return B.JSArray_methods.fold$2(units, 1, new A.SassNumber__canonicalMultiplier_closure0(this));
  104983. },
  104984. canonicalMultiplierForUnit$1(unit) {
  104985. var t1,
  104986. innerMap = B.Map_nfuzN.$index(0, unit);
  104987. if (innerMap == null)
  104988. t1 = 1;
  104989. else {
  104990. t1 = innerMap.get$values(innerMap);
  104991. t1 = 1 / t1.get$first(t1);
  104992. }
  104993. return t1;
  104994. },
  104995. unitSuggestion$2($name, unit) {
  104996. var t2, t3, result, _this = this,
  104997. t1 = _this.get$denominatorUnits(_this);
  104998. t1 = new A.MappedListIterable(t1, new A.SassNumber_unitSuggestion_closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,String>")).join$0(0);
  104999. t2 = _this.get$numeratorUnits(_this);
  105000. t2 = new A.MappedListIterable(t2, new A.SassNumber_unitSuggestion_closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,String>")).join$0(0);
  105001. t3 = unit == null ? "" : " * 1" + unit;
  105002. result = "$" + $name + t1 + t2 + t3;
  105003. return _this.get$numeratorUnits(_this).length === 0 ? result : "calc(" + result + ")";
  105004. },
  105005. unitSuggestion$1($name) {
  105006. return this.unitSuggestion$2($name, null);
  105007. }
  105008. };
  105009. A.SassNumber_SassNumber$withUnits_closure10.prototype = {
  105010. call$0() {
  105011. return this._0_1._readFinal$0() == null;
  105012. },
  105013. $signature: 1
  105014. };
  105015. A.SassNumber_SassNumber$withUnits_closure9.prototype = {
  105016. call$0() {
  105017. return this._0_0._0;
  105018. },
  105019. $signature: 115
  105020. };
  105021. A.SassNumber_SassNumber$withUnits_closure11.prototype = {
  105022. call$0() {
  105023. var t1 = this._0_1._readFinal$0();
  105024. return J.get$length$asx(t1 == null ? type$.List_String._as(t1) : t1);
  105025. },
  105026. $signature: 3
  105027. };
  105028. A.SassNumber_SassNumber$withUnits_closure12.prototype = {
  105029. call$0() {
  105030. return this._0_4._readFinal$0() <= 0;
  105031. },
  105032. $signature: 1
  105033. };
  105034. A.SassNumber_SassNumber$withUnits_closure14.prototype = {
  105035. call$0() {
  105036. return this._0_7._readFinal$0() == null;
  105037. },
  105038. $signature: 1
  105039. };
  105040. A.SassNumber_SassNumber$withUnits_closure13.prototype = {
  105041. call$0() {
  105042. return this._0_0._1;
  105043. },
  105044. $signature: 115
  105045. };
  105046. A.SassNumber_SassNumber$withUnits_closure15.prototype = {
  105047. call$0() {
  105048. return J.get$length$asx(this._0_7._readFinal$0()) <= 0;
  105049. },
  105050. $signature: 1
  105051. };
  105052. A.SassNumber_SassNumber$withUnits_closure16.prototype = {
  105053. call$0() {
  105054. return this._1_0._0;
  105055. },
  105056. $signature: 28
  105057. };
  105058. A.SassNumber_SassNumber$withUnits_closure17.prototype = {
  105059. call$0() {
  105060. return J.get$length$asx(this._1_1._readFinal$0());
  105061. },
  105062. $signature: 3
  105063. };
  105064. A.SassNumber_SassNumber$withUnits_closure18.prototype = {
  105065. call$0() {
  105066. return J.get$length$asx(this._1_0._1) <= 0;
  105067. },
  105068. $signature: 1
  105069. };
  105070. A.SassNumber__coerceOrConvertValue_compatibilityException0.prototype = {
  105071. call$0() {
  105072. var t2, t3, message, t4, type, unit, _this = this,
  105073. t1 = _this.other;
  105074. if (t1 != null) {
  105075. t2 = _this.$this;
  105076. t3 = t2.toString$0(0) + " and";
  105077. message = new A.StringBuffer(t3);
  105078. t4 = _this.otherName;
  105079. if (t4 != null)
  105080. t3 = message._contents = t3 + (" $" + t4 + ":");
  105081. t1 = t3 + (" " + t1.toString$0(0) + " have incompatible units");
  105082. message._contents = t1;
  105083. if (!t2.get$hasUnits() || !_this.otherHasUnits)
  105084. message._contents = t1 + " (one has units and the other doesn't)";
  105085. t1 = message.toString$0(0) + ".";
  105086. t2 = _this.name;
  105087. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  105088. } else if (!_this.otherHasUnits) {
  105089. t1 = "Expected " + _this.$this.toString$0(0) + " to have no units.";
  105090. t2 = _this.name;
  105091. return new A.SassScriptException0(t2 == null ? t1 : "$" + t2 + ": " + t1);
  105092. } else {
  105093. t1 = _this.newNumerators;
  105094. t2 = J.getInterceptor$asx(t1);
  105095. if (t2.get$length(t1) === 1 && J.get$isEmpty$asx(_this.newDenominators)) {
  105096. type = $.$get$_typesByUnit0().$index(0, t2.get$first(t1));
  105097. if (type != null) {
  105098. t1 = _this.$this.toString$0(0);
  105099. t2 = B.JSArray_methods.contains$1(A._setArrayType([97, 101, 105, 111, 117], type$.JSArray_int), type.charCodeAt(0)) ? "an " + type : "a " + type;
  105100. t3 = B.Map_ws7dy.$index(0, type);
  105101. t3.toString;
  105102. t3 = "Expected " + t1 + " to have " + t2 + " unit (" + B.JSArray_methods.join$1(t3, ", ") + ").";
  105103. t2 = _this.name;
  105104. return new A.SassScriptException0(t2 == null ? t3 : "$" + t2 + ": " + t3);
  105105. }
  105106. }
  105107. t3 = _this.newDenominators;
  105108. unit = A.pluralize0("unit", t2.get$length(t1) + J.get$length$asx(t3), null);
  105109. t2 = _this.$this;
  105110. t3 = "Expected " + t2.toString$0(0) + " to have " + unit + " " + t2._number1$_unitString$2(t1, t3) + ".";
  105111. t1 = _this.name;
  105112. return new A.SassScriptException0(t1 == null ? t3 : "$" + t1 + ": " + t3);
  105113. }
  105114. },
  105115. $signature: 544
  105116. };
  105117. A.SassNumber__coerceOrConvertValue_closure3.prototype = {
  105118. call$1(oldNumerator) {
  105119. var factor = A.conversionFactor0(this.newNumerator, oldNumerator);
  105120. if (factor == null)
  105121. return false;
  105122. this._box_0.value *= factor;
  105123. return true;
  105124. },
  105125. $signature: 10
  105126. };
  105127. A.SassNumber__coerceOrConvertValue_closure4.prototype = {
  105128. call$0() {
  105129. return A.throwExpression(this.compatibilityException.call$0());
  105130. },
  105131. $signature: 0
  105132. };
  105133. A.SassNumber__coerceOrConvertValue_closure5.prototype = {
  105134. call$1(oldDenominator) {
  105135. var factor = A.conversionFactor0(this.newDenominator, oldDenominator);
  105136. if (factor == null)
  105137. return false;
  105138. this._box_0.value /= factor;
  105139. return true;
  105140. },
  105141. $signature: 10
  105142. };
  105143. A.SassNumber__coerceOrConvertValue_closure6.prototype = {
  105144. call$0() {
  105145. return A.throwExpression(this.compatibilityException.call$0());
  105146. },
  105147. $signature: 0
  105148. };
  105149. A.SassNumber_plus_closure0.prototype = {
  105150. call$2(num1, num2) {
  105151. return num1 + num2;
  105152. },
  105153. $signature: 57
  105154. };
  105155. A.SassNumber_minus_closure0.prototype = {
  105156. call$2(num1, num2) {
  105157. return num1 - num2;
  105158. },
  105159. $signature: 57
  105160. };
  105161. A.SassNumber_multiplyUnits_closure11.prototype = {
  105162. call$0() {
  105163. return this._0_0._values[0];
  105164. },
  105165. $signature: 28
  105166. };
  105167. A.SassNumber_multiplyUnits_closure12.prototype = {
  105168. call$0() {
  105169. return this._0_0._values[1];
  105170. },
  105171. $signature: 28
  105172. };
  105173. A.SassNumber_multiplyUnits_closure13.prototype = {
  105174. call$0() {
  105175. return this._0_0._values[2];
  105176. },
  105177. $signature: 28
  105178. };
  105179. A.SassNumber_multiplyUnits_closure14.prototype = {
  105180. call$0() {
  105181. return J.get$length$asx(this._0_3._readFinal$0()) <= 0;
  105182. },
  105183. $signature: 1
  105184. };
  105185. A.SassNumber_multiplyUnits_closure15.prototype = {
  105186. call$0() {
  105187. return this._0_0._values[3];
  105188. },
  105189. $signature: 28
  105190. };
  105191. A.SassNumber_multiplyUnits_closure16.prototype = {
  105192. call$0() {
  105193. return J.get$length$asx(this._0_7._readFinal$0()) <= 0;
  105194. },
  105195. $signature: 1
  105196. };
  105197. A.SassNumber_multiplyUnits_closure17.prototype = {
  105198. call$0() {
  105199. return J.get$length$asx(this._0_1._readFinal$0()) <= 0;
  105200. },
  105201. $signature: 1
  105202. };
  105203. A.SassNumber_multiplyUnits_closure18.prototype = {
  105204. call$0() {
  105205. return J.get$length$asx(this._0_2._readFinal$0()) <= 0;
  105206. },
  105207. $signature: 1
  105208. };
  105209. A.SassNumber_multiplyUnits_closure19.prototype = {
  105210. call$1(denominator) {
  105211. var factor = A.conversionFactor0(this.numerator, denominator);
  105212. if (factor == null)
  105213. return false;
  105214. this._box_0.value /= factor;
  105215. return true;
  105216. },
  105217. $signature: 10
  105218. };
  105219. A.SassNumber_multiplyUnits_closure20.prototype = {
  105220. call$0() {
  105221. return this.newNumerators.push(this.numerator);
  105222. },
  105223. $signature: 0
  105224. };
  105225. A.SassNumber_multiplyUnits_closure21.prototype = {
  105226. call$1(denominator) {
  105227. var factor = A.conversionFactor0(this.numerator, denominator);
  105228. if (factor == null)
  105229. return false;
  105230. this._box_0.value /= factor;
  105231. return true;
  105232. },
  105233. $signature: 10
  105234. };
  105235. A.SassNumber_multiplyUnits_closure22.prototype = {
  105236. call$0() {
  105237. return this.newNumerators.push(this.numerator);
  105238. },
  105239. $signature: 0
  105240. };
  105241. A.SassNumber__areAnyConvertible_closure0.prototype = {
  105242. call$1(unit1) {
  105243. var innerMap, t1,
  105244. _0_0 = B.Map_nfuzN.$index(0, unit1);
  105245. $label0$0: {
  105246. if (_0_0 != null) {
  105247. innerMap = _0_0;
  105248. t1 = true;
  105249. } else {
  105250. innerMap = null;
  105251. t1 = false;
  105252. }
  105253. if (t1) {
  105254. t1 = J.any$1$ax(this.units2, innerMap.get$containsKey());
  105255. break $label0$0;
  105256. }
  105257. t1 = J.contains$1$asx(this.units2, unit1);
  105258. break $label0$0;
  105259. }
  105260. return t1;
  105261. },
  105262. $signature: 10
  105263. };
  105264. A.SassNumber__unitString_closure3.prototype = {
  105265. call$0() {
  105266. return J.get$length$asx(this._0_0._0) <= 0;
  105267. },
  105268. $signature: 1
  105269. };
  105270. A.SassNumber__unitString_closure4.prototype = {
  105271. call$0() {
  105272. return this._0_0._1;
  105273. },
  105274. $signature: 28
  105275. };
  105276. A.SassNumber__unitString_closure5.prototype = {
  105277. call$0() {
  105278. return J.get$length$asx(this._0_5._readFinal$0());
  105279. },
  105280. $signature: 3
  105281. };
  105282. A.SassNumber__unitString_closure6.prototype = {
  105283. call$0() {
  105284. return this._0_6._readFinal$0() <= 0;
  105285. },
  105286. $signature: 1
  105287. };
  105288. A.SassNumber__canonicalizeUnitList_closure0.prototype = {
  105289. call$1(unit) {
  105290. var t1,
  105291. type = $.$get$_typesByUnit0().$index(0, unit);
  105292. if (type == null)
  105293. t1 = unit;
  105294. else {
  105295. t1 = B.Map_ws7dy.$index(0, type);
  105296. t1.toString;
  105297. t1 = B.JSArray_methods.get$first(t1);
  105298. }
  105299. return t1;
  105300. },
  105301. $signature: 7
  105302. };
  105303. A.SassNumber__canonicalMultiplier_closure0.prototype = {
  105304. call$2(multiplier, unit) {
  105305. return multiplier * this.$this.canonicalMultiplierForUnit$1(unit);
  105306. },
  105307. $signature: 168
  105308. };
  105309. A.SassNumber_unitSuggestion_closure1.prototype = {
  105310. call$1(unit) {
  105311. return " * 1" + unit;
  105312. },
  105313. $signature: 7
  105314. };
  105315. A.SassNumber_unitSuggestion_closure2.prototype = {
  105316. call$1(unit) {
  105317. return " / 1" + unit;
  105318. },
  105319. $signature: 7
  105320. };
  105321. A.SupportsOperation0.prototype = {
  105322. toString$0(_) {
  105323. var _this = this;
  105324. return _this._operation0$_parenthesize$1(_this.left) + " " + _this.operator + " " + _this._operation0$_parenthesize$1(_this.right);
  105325. },
  105326. _operation0$_parenthesize$1(condition) {
  105327. var t1;
  105328. if (!(condition instanceof A.SupportsNegation0))
  105329. t1 = condition instanceof A.SupportsOperation0 && condition.operator === this.operator;
  105330. else
  105331. t1 = true;
  105332. return t1 ? "(" + condition.toString$0(0) + ")" : condition.toString$0(0);
  105333. },
  105334. $isAstNode0: 1,
  105335. get$span(receiver) {
  105336. return this.span;
  105337. }
  105338. };
  105339. A.ParentSelector0.prototype = {
  105340. accept$1$1(visitor) {
  105341. return visitor.visitParentSelector$1(this);
  105342. },
  105343. accept$1(visitor) {
  105344. return this.accept$1$1(visitor, type$.dynamic);
  105345. },
  105346. unify$1(compound) {
  105347. return A.throwExpression(A.UnsupportedError$("& doesn't support unification."));
  105348. }
  105349. };
  105350. A.ParentStatement0.prototype = {$isAstNode0: 1, $isStatement0: 1};
  105351. A.ParentStatement_closure0.prototype = {
  105352. call$1(child) {
  105353. var t1, imports;
  105354. $label0$0: {
  105355. if (child instanceof A.VariableDeclaration0 || child instanceof A.FunctionRule0 || child instanceof A.MixinRule0) {
  105356. t1 = true;
  105357. break $label0$0;
  105358. }
  105359. if (child instanceof A.ImportRule0) {
  105360. imports = child.imports;
  105361. t1 = true;
  105362. } else {
  105363. imports = null;
  105364. t1 = false;
  105365. }
  105366. if (t1) {
  105367. t1 = (imports && B.JSArray_methods).any$1(imports, new A.ParentStatement__closure0());
  105368. break $label0$0;
  105369. }
  105370. t1 = false;
  105371. break $label0$0;
  105372. }
  105373. return t1;
  105374. },
  105375. $signature: 257
  105376. };
  105377. A.ParentStatement__closure0.prototype = {
  105378. call$1($import) {
  105379. return $import instanceof A.DynamicImport0;
  105380. },
  105381. $signature: 258
  105382. };
  105383. A.ParenthesizedExpression0.prototype = {
  105384. accept$1$1(visitor) {
  105385. return visitor.visitParenthesizedExpression$1(this);
  105386. },
  105387. accept$1(visitor) {
  105388. return this.accept$1$1(visitor, type$.dynamic);
  105389. },
  105390. toString$0(_) {
  105391. return "(" + this.expression.toString$0(0) + ")";
  105392. },
  105393. $isExpression0: 1,
  105394. $isAstNode0: 1,
  105395. get$span(receiver) {
  105396. return this.span;
  105397. }
  105398. };
  105399. A.Parser1.prototype = {
  105400. _parser0$_parseIdentifier$0() {
  105401. return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure0(this));
  105402. },
  105403. whitespace$0() {
  105404. do
  105405. this.whitespaceWithoutComments$0();
  105406. while (this.scanComment$0());
  105407. },
  105408. whitespaceWithoutComments$0() {
  105409. var t3,
  105410. t1 = this.scanner,
  105411. t2 = t1.string.length;
  105412. while (true) {
  105413. if (t1._string_scanner$_position !== t2) {
  105414. t3 = t1.peekChar$0();
  105415. t3 = t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12;
  105416. } else
  105417. t3 = false;
  105418. if (!t3)
  105419. break;
  105420. t1.readChar$0();
  105421. }
  105422. },
  105423. spaces$0() {
  105424. var t3,
  105425. t1 = this.scanner,
  105426. t2 = t1.string.length;
  105427. while (true) {
  105428. if (t1._string_scanner$_position !== t2) {
  105429. t3 = t1.peekChar$0();
  105430. t3 = t3 === 32 || t3 === 9;
  105431. } else
  105432. t3 = false;
  105433. if (!t3)
  105434. break;
  105435. t1.readChar$0();
  105436. }
  105437. },
  105438. scanComment$0() {
  105439. var _0_0,
  105440. t1 = this.scanner;
  105441. if (t1.peekChar$0() !== 47)
  105442. return false;
  105443. _0_0 = t1.peekChar$1(1);
  105444. if (47 === _0_0) {
  105445. this.silentComment$0();
  105446. return true;
  105447. }
  105448. if (42 === _0_0) {
  105449. this.loudComment$0();
  105450. return true;
  105451. }
  105452. return false;
  105453. },
  105454. expectWhitespace$0() {
  105455. var t2, t3,
  105456. t1 = this.scanner;
  105457. if (t1._string_scanner$_position !== t1.string.length) {
  105458. t2 = t1.peekChar$0();
  105459. t3 = !(t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12 || this.scanComment$0());
  105460. t2 = t3;
  105461. } else
  105462. t2 = true;
  105463. if (t2)
  105464. t1.error$1(0, "Expected whitespace.");
  105465. this.whitespace$0();
  105466. },
  105467. silentComment$0() {
  105468. var t2, t3,
  105469. t1 = this.scanner;
  105470. t1.expect$1("//");
  105471. t2 = t1.string.length;
  105472. while (true) {
  105473. if (t1._string_scanner$_position !== t2) {
  105474. t3 = t1.peekChar$0();
  105475. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  105476. } else
  105477. t3 = false;
  105478. if (!t3)
  105479. break;
  105480. t1.readChar$0();
  105481. }
  105482. },
  105483. loudComment$0() {
  105484. var next,
  105485. t1 = this.scanner;
  105486. t1.expect$1("/*");
  105487. for (; true;) {
  105488. if (t1.readChar$0() !== 42)
  105489. continue;
  105490. do
  105491. next = t1.readChar$0();
  105492. while (next === 42);
  105493. if (next === 47)
  105494. break;
  105495. }
  105496. },
  105497. identifier$2$normalize$unit(normalize, unit) {
  105498. var t2, _0_0, _this = this,
  105499. _s20_ = "Expected identifier.",
  105500. text = new A.StringBuffer(""),
  105501. t1 = _this.scanner;
  105502. if (t1.scanChar$1(45)) {
  105503. t2 = text._contents = "" + A.Primitives_stringFromCharCode(45);
  105504. if (t1.scanChar$1(45)) {
  105505. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  105506. _this._parser0$_identifierBody$3$normalize$unit(text, normalize, unit);
  105507. t1 = text._contents;
  105508. return t1.charCodeAt(0) == 0 ? t1 : t1;
  105509. }
  105510. } else
  105511. t2 = "";
  105512. $label0$0: {
  105513. _0_0 = t1.peekChar$0();
  105514. if (_0_0 == null)
  105515. t1.error$1(0, _s20_);
  105516. if (95 === _0_0 && normalize) {
  105517. t1.readChar$0();
  105518. text._contents = t2 + A.Primitives_stringFromCharCode(45);
  105519. break $label0$0;
  105520. }
  105521. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128) {
  105522. text._contents = t2 + A.Primitives_stringFromCharCode(t1.readChar$0());
  105523. break $label0$0;
  105524. }
  105525. if (92 === _0_0) {
  105526. text._contents = t2 + _this.escape$1$identifierStart(true);
  105527. break $label0$0;
  105528. }
  105529. t1.error$1(0, _s20_);
  105530. }
  105531. _this._parser0$_identifierBody$3$normalize$unit(text, normalize, unit);
  105532. t1 = text._contents;
  105533. return t1.charCodeAt(0) == 0 ? t1 : t1;
  105534. },
  105535. identifier$0() {
  105536. return this.identifier$2$normalize$unit(false, false);
  105537. },
  105538. identifier$1$normalize(normalize) {
  105539. return this.identifier$2$normalize$unit(normalize, false);
  105540. },
  105541. identifier$1$unit(unit) {
  105542. return this.identifier$2$normalize$unit(false, unit);
  105543. },
  105544. _parser0$_identifierBody$3$normalize$unit(text, normalize, unit) {
  105545. var t1, _1_0, _0_0, t2;
  105546. for (t1 = this.scanner; true;) {
  105547. _1_0 = t1.peekChar$0();
  105548. if (_1_0 == null)
  105549. break;
  105550. if (45 === _1_0 && unit) {
  105551. _0_0 = t1.peekChar$1(1);
  105552. if (46 !== _0_0)
  105553. t2 = A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57;
  105554. else
  105555. t2 = true;
  105556. if (t2)
  105557. break;
  105558. text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  105559. continue;
  105560. }
  105561. if (95 === _1_0 && normalize) {
  105562. t1.readChar$0();
  105563. text._contents += A.Primitives_stringFromCharCode(45);
  105564. continue;
  105565. }
  105566. if (_1_0 !== 95) {
  105567. if (!(_1_0 >= 97 && _1_0 <= 122))
  105568. t2 = _1_0 >= 65 && _1_0 <= 90;
  105569. else
  105570. t2 = true;
  105571. t2 = t2 || _1_0 >= 128;
  105572. } else
  105573. t2 = true;
  105574. if (!t2)
  105575. t2 = _1_0 >= 48 && _1_0 <= 57 || _1_0 === 45;
  105576. else
  105577. t2 = true;
  105578. if (t2) {
  105579. text._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  105580. continue;
  105581. }
  105582. if (92 === _1_0) {
  105583. text._contents += this.escape$0();
  105584. continue;
  105585. }
  105586. break;
  105587. }
  105588. },
  105589. _parser0$_identifierBody$1(text) {
  105590. return this._parser0$_identifierBody$3$normalize$unit(text, false, false);
  105591. },
  105592. string$0() {
  105593. var buffer, _0_0, t2,
  105594. t1 = this.scanner,
  105595. quote = t1.readChar$0();
  105596. if (quote !== 39 && quote !== 34)
  105597. t1.error$2$position(0, "Expected string.", t1._string_scanner$_position - 1);
  105598. buffer = new A.StringBuffer("");
  105599. for (; true;) {
  105600. _0_0 = t1.peekChar$0();
  105601. if (_0_0 === quote) {
  105602. t1.readChar$0();
  105603. break;
  105604. }
  105605. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  105606. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  105607. if (92 === _0_0) {
  105608. t2 = t1.peekChar$1(1);
  105609. if (t2 === 10 || t2 === 13 || t2 === 12) {
  105610. t1.readChar$0();
  105611. t1.readChar$0();
  105612. } else
  105613. buffer._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  105614. continue;
  105615. }
  105616. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  105617. }
  105618. t1 = buffer._contents;
  105619. return t1.charCodeAt(0) == 0 ? t1 : t1;
  105620. },
  105621. declarationValue$1$allowEmpty(allowEmpty) {
  105622. var t1, t2, wroteNewline, next, start, end, t3, _0_0, url, _this = this,
  105623. buffer = new A.StringBuffer(""),
  105624. brackets = A._setArrayType([], type$.JSArray_int);
  105625. for (t1 = _this.scanner, t2 = _this.get$string(), wroteNewline = false; true;) {
  105626. next = t1.peekChar$0();
  105627. if (next == null)
  105628. break;
  105629. if (92 === next) {
  105630. buffer._contents += _this.escape$1$identifierStart(true);
  105631. wroteNewline = false;
  105632. continue;
  105633. }
  105634. if (34 === next || 39 === next) {
  105635. start = t1._string_scanner$_position;
  105636. t2.call$0();
  105637. end = t1._string_scanner$_position;
  105638. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  105639. wroteNewline = false;
  105640. continue;
  105641. }
  105642. if (47 === next) {
  105643. if (t1.peekChar$1(1) === 42) {
  105644. t3 = _this.get$loudComment();
  105645. start = t1._string_scanner$_position;
  105646. t3.call$0();
  105647. end = t1._string_scanner$_position;
  105648. buffer._contents += B.JSString_methods.substring$2(t1.string, start, end);
  105649. } else
  105650. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  105651. wroteNewline = false;
  105652. continue;
  105653. }
  105654. if (32 === next || 9 === next) {
  105655. if (!wroteNewline) {
  105656. t3 = t1.peekChar$1(1);
  105657. t3 = !(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12);
  105658. } else
  105659. t3 = true;
  105660. if (t3)
  105661. buffer._contents += A.Primitives_stringFromCharCode(32);
  105662. t1.readChar$0();
  105663. continue;
  105664. }
  105665. if (10 === next || 13 === next || 12 === next) {
  105666. t3 = t1.peekChar$1(-1);
  105667. if (!(t3 === 10 || t3 === 13 || t3 === 12))
  105668. buffer._contents += "\n";
  105669. t1.readChar$0();
  105670. wroteNewline = true;
  105671. continue;
  105672. }
  105673. if (40 === next || 123 === next || 91 === next) {
  105674. buffer._contents += A.Primitives_stringFromCharCode(next);
  105675. brackets.push(A.opposite0(t1.readChar$0()));
  105676. wroteNewline = false;
  105677. continue;
  105678. }
  105679. if (41 === next || 125 === next || 93 === next) {
  105680. if (brackets.length === 0)
  105681. break;
  105682. buffer._contents += A.Primitives_stringFromCharCode(next);
  105683. t1.expectChar$1(brackets.pop());
  105684. wroteNewline = false;
  105685. continue;
  105686. }
  105687. if (59 === next) {
  105688. if (brackets.length === 0)
  105689. break;
  105690. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  105691. continue;
  105692. }
  105693. if (117 === next || 85 === next) {
  105694. _0_0 = _this.tryUrl$0();
  105695. if (_0_0 != null) {
  105696. url = _0_0;
  105697. t3 = true;
  105698. } else {
  105699. url = null;
  105700. t3 = false;
  105701. }
  105702. if (t3)
  105703. buffer._contents += A.S(url);
  105704. else
  105705. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  105706. wroteNewline = false;
  105707. continue;
  105708. }
  105709. if (_this.lookingAtIdentifier$0())
  105710. buffer._contents += _this.identifier$0();
  105711. else
  105712. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  105713. wroteNewline = false;
  105714. }
  105715. if (brackets.length !== 0)
  105716. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  105717. if (!allowEmpty && buffer._contents.length === 0)
  105718. t1.error$1(0, "Expected token.");
  105719. t1 = buffer._contents;
  105720. return t1.charCodeAt(0) == 0 ? t1 : t1;
  105721. },
  105722. declarationValue$0() {
  105723. return this.declarationValue$1$allowEmpty(false);
  105724. },
  105725. tryUrl$0() {
  105726. var buffer, _0_0, t2, _this = this,
  105727. t1 = _this.scanner,
  105728. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  105729. if (!_this.scanIdentifier$1("url"))
  105730. return null;
  105731. if (!t1.scanChar$1(40)) {
  105732. t1.set$state(start);
  105733. return null;
  105734. }
  105735. _this.whitespace$0();
  105736. buffer = new A.StringBuffer("");
  105737. buffer._contents = "" + "url(";
  105738. for (; true;) {
  105739. _0_0 = t1.peekChar$0();
  105740. if (_0_0 == null)
  105741. break;
  105742. if (92 === _0_0) {
  105743. buffer._contents += _this.escape$0();
  105744. continue;
  105745. }
  105746. if (37 !== _0_0)
  105747. if (38 !== _0_0)
  105748. if (35 !== _0_0)
  105749. t2 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  105750. else
  105751. t2 = true;
  105752. else
  105753. t2 = true;
  105754. else
  105755. t2 = true;
  105756. if (t2) {
  105757. buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  105758. continue;
  105759. }
  105760. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  105761. _this.whitespace$0();
  105762. if (t1.peekChar$0() !== 41)
  105763. break;
  105764. continue;
  105765. }
  105766. if (41 === _0_0) {
  105767. t2 = buffer._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  105768. return t2.charCodeAt(0) == 0 ? t2 : t2;
  105769. }
  105770. break;
  105771. }
  105772. t1.set$state(start);
  105773. return null;
  105774. },
  105775. variableName$0() {
  105776. this.scanner.expectChar$1(36);
  105777. return this.identifier$1$normalize(true);
  105778. },
  105779. escape$1$identifierStart(identifierStart) {
  105780. var value, _0_0, i, next, t2, exception,
  105781. _s25_ = "Expected escape sequence.",
  105782. t1 = this.scanner,
  105783. start = t1._string_scanner$_position;
  105784. t1.expectChar$1(92);
  105785. value = 0;
  105786. $label0$1: {
  105787. _0_0 = t1.peekChar$0();
  105788. if (_0_0 == null)
  105789. t1.error$1(0, _s25_);
  105790. if (_0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  105791. t1.error$1(0, _s25_);
  105792. if (A.CharacterExtension_get_isHex0(_0_0)) {
  105793. for (i = 0; i < 6; ++i) {
  105794. next = t1.peekChar$0();
  105795. if (next != null) {
  105796. if (!(next >= 48 && next <= 57))
  105797. if (!(next >= 97 && next <= 102))
  105798. t2 = next >= 65 && next <= 70;
  105799. else
  105800. t2 = true;
  105801. else
  105802. t2 = true;
  105803. t2 = !t2;
  105804. } else
  105805. t2 = true;
  105806. if (t2)
  105807. break;
  105808. value *= 16;
  105809. value += A.asHex0(t1.readChar$0());
  105810. }
  105811. this.scanCharIf$1(new A.Parser_escape_closure0());
  105812. break $label0$1;
  105813. }
  105814. value = t1.readChar$0();
  105815. }
  105816. if (identifierStart) {
  105817. t2 = value;
  105818. t2 = t2 === 95 || A.CharacterExtension_get_isAlphabetic0(t2) || t2 >= 128;
  105819. } else {
  105820. t2 = value;
  105821. if (!(t2 === 95 || A.CharacterExtension_get_isAlphabetic0(t2) || t2 >= 128))
  105822. t2 = t2 >= 48 && t2 <= 57 || t2 === 45;
  105823. else
  105824. t2 = true;
  105825. }
  105826. if (t2)
  105827. try {
  105828. t2 = A.Primitives_stringFromCharCode(value);
  105829. return t2;
  105830. } catch (exception) {
  105831. if (type$.RangeError._is(A.unwrapException(exception)))
  105832. t1.error$3$length$position(0, "Invalid Unicode code point.", t1._string_scanner$_position - start, start);
  105833. else
  105834. throw exception;
  105835. }
  105836. else {
  105837. if (!(value <= 31))
  105838. if (!J.$eq$(value, 127))
  105839. if (identifierStart) {
  105840. t1 = value;
  105841. t1 = t1 >= 48 && t1 <= 57;
  105842. } else
  105843. t1 = false;
  105844. else
  105845. t1 = true;
  105846. else
  105847. t1 = true;
  105848. if (t1) {
  105849. t1 = "" + A.Primitives_stringFromCharCode(92);
  105850. if (value > 15)
  105851. t1 += A.Primitives_stringFromCharCode(A.hexCharFor0(B.JSNumber_methods._shrOtherPositive$1(value, 4)));
  105852. t1 = t1 + A.Primitives_stringFromCharCode(A.hexCharFor0(value & 15)) + A.Primitives_stringFromCharCode(32);
  105853. return t1.charCodeAt(0) == 0 ? t1 : t1;
  105854. } else
  105855. return A.String_String$fromCharCodes(A._setArrayType([92, value], type$.JSArray_int), 0, null);
  105856. }
  105857. },
  105858. escape$0() {
  105859. return this.escape$1$identifierStart(false);
  105860. },
  105861. scanCharIf$1(condition) {
  105862. var t1 = this.scanner;
  105863. if (!condition.call$1(t1.peekChar$0()))
  105864. return false;
  105865. t1.readChar$0();
  105866. return true;
  105867. },
  105868. scanIdentChar$2$caseSensitive(char, caseSensitive) {
  105869. var next, t3,
  105870. t1 = new A.Parser_scanIdentChar_matches0(caseSensitive, char),
  105871. t2 = this.scanner,
  105872. _0_0 = t2.peekChar$0();
  105873. if (_0_0 != null) {
  105874. next = _0_0;
  105875. t3 = true;
  105876. } else {
  105877. next = null;
  105878. t3 = false;
  105879. }
  105880. if (t3 && t1.call$1(next)) {
  105881. t2.readChar$0();
  105882. return true;
  105883. }
  105884. if (92 === _0_0) {
  105885. t3 = t2._string_scanner$_position;
  105886. if (t1.call$1(A.consumeEscapedCharacter0(t2)))
  105887. return true;
  105888. t2.set$state(new A._SpanScannerState(t2, t3));
  105889. }
  105890. return false;
  105891. },
  105892. scanIdentChar$1(char) {
  105893. return this.scanIdentChar$2$caseSensitive(char, false);
  105894. },
  105895. expectIdentChar$1(letter) {
  105896. var t1;
  105897. if (this.scanIdentChar$2$caseSensitive(letter, false))
  105898. return;
  105899. t1 = this.scanner;
  105900. t1.error$2$position(0, 'Expected "' + A.Primitives_stringFromCharCode(letter) + '".', t1._string_scanner$_position);
  105901. },
  105902. lookingAtIdentifier$1($forward) {
  105903. var t1, _1_0, t2, _0_0;
  105904. if ($forward == null)
  105905. $forward = 0;
  105906. t1 = this.scanner;
  105907. _1_0 = t1.peekChar$1($forward);
  105908. $label0$0: {
  105909. if (A._isInt(_1_0))
  105910. t2 = _1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128;
  105911. else
  105912. t2 = false;
  105913. if (t2 || 92 === _1_0) {
  105914. t1 = true;
  105915. break $label0$0;
  105916. }
  105917. if (45 === _1_0) {
  105918. _0_0 = t1.peekChar$1($forward + 1);
  105919. $label1$1: {
  105920. if (A._isInt(_0_0))
  105921. t1 = _0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128;
  105922. else
  105923. t1 = false;
  105924. if (t1 || 92 === _0_0 || 45 === _0_0) {
  105925. t1 = true;
  105926. break $label1$1;
  105927. }
  105928. t1 = false;
  105929. break $label1$1;
  105930. }
  105931. break $label0$0;
  105932. }
  105933. t1 = false;
  105934. break $label0$0;
  105935. }
  105936. return t1;
  105937. },
  105938. lookingAtIdentifier$0() {
  105939. return this.lookingAtIdentifier$1(null);
  105940. },
  105941. lookingAtIdentifierBody$0() {
  105942. var t1,
  105943. next = this.scanner.peekChar$0();
  105944. if (next != null) {
  105945. if (!(next === 95 || A.CharacterExtension_get_isAlphabetic0(next) || next >= 128))
  105946. t1 = next >= 48 && next <= 57 || next === 45;
  105947. else
  105948. t1 = true;
  105949. t1 = t1 || next === 92;
  105950. } else
  105951. t1 = false;
  105952. return t1;
  105953. },
  105954. scanIdentifier$2$caseSensitive(text, caseSensitive) {
  105955. var t1, t2, _this = this;
  105956. if (!_this.lookingAtIdentifier$0())
  105957. return false;
  105958. t1 = _this.scanner;
  105959. t2 = t1._string_scanner$_position;
  105960. if (_this._parser0$_consumeIdentifier$2(text, caseSensitive) && !_this.lookingAtIdentifierBody$0())
  105961. return true;
  105962. else {
  105963. t1.set$state(new A._SpanScannerState(t1, t2));
  105964. return false;
  105965. }
  105966. },
  105967. scanIdentifier$1(text) {
  105968. return this.scanIdentifier$2$caseSensitive(text, false);
  105969. },
  105970. _parser0$_consumeIdentifier$2(text, caseSensitive) {
  105971. var t1, t2, t3;
  105972. for (t1 = new A.CodeUnits(text), t1 = new A.ListIterator(t1, t1.get$length(t1)), t2 = A._instanceType(t1)._precomputed1; t1.moveNext$0();) {
  105973. t3 = t1.__internal$_current;
  105974. if (!this.scanIdentChar$2$caseSensitive(t3 == null ? t2._as(t3) : t3, caseSensitive))
  105975. return false;
  105976. }
  105977. return true;
  105978. },
  105979. expectIdentifier$2$name(text, $name) {
  105980. var t1, start, t2, t3, t4, t5, t6;
  105981. if ($name == null)
  105982. $name = '"' + text + '"';
  105983. t1 = this.scanner;
  105984. start = t1._string_scanner$_position;
  105985. 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();) {
  105986. t6 = t2.__internal$_current;
  105987. if (this.scanIdentChar$2$caseSensitive(t6 == null ? t5._as(t6) : t6, false))
  105988. continue;
  105989. t1.error$2$position(0, t4, start);
  105990. }
  105991. if (!this.lookingAtIdentifierBody$0())
  105992. return;
  105993. t1.error$2$position(0, t3, start);
  105994. },
  105995. expectIdentifier$1(text) {
  105996. return this.expectIdentifier$2$name(text, null);
  105997. },
  105998. rawText$1(consumer) {
  105999. var t1 = this.scanner,
  106000. start = t1._string_scanner$_position;
  106001. consumer.call$0();
  106002. return t1.substring$1(0, start);
  106003. },
  106004. spanFrom$1(state) {
  106005. var span = this.scanner.spanFrom$1(state);
  106006. return this._parser0$_interpolationMap == null ? span : new A.LazyFileSpan0(new A.Parser_spanFrom_closure0(this, span));
  106007. },
  106008. error$3(_, message, span, trace) {
  106009. var exception = new A.StringScannerException(this.scanner.string, message, span);
  106010. if (trace == null)
  106011. throw A.wrapException(exception);
  106012. else
  106013. A.throwWithTrace0(exception, this.get$error(this), trace);
  106014. },
  106015. error$2($receiver, message, span) {
  106016. return this.error$3($receiver, message, span, null);
  106017. },
  106018. withErrorMessage$1$2(message, callback) {
  106019. var error, stackTrace, t1, exception;
  106020. try {
  106021. t1 = callback.call$0();
  106022. return t1;
  106023. } catch (exception) {
  106024. t1 = A.unwrapException(exception);
  106025. if (type$.SourceSpanFormatException._is(t1)) {
  106026. error = t1;
  106027. stackTrace = A.getTraceFromException(exception);
  106028. t1 = J.get$span$z(error);
  106029. A.throwWithTrace0(new A.SourceSpanFormatException(error.get$source(), message, t1), error, stackTrace);
  106030. } else
  106031. throw exception;
  106032. }
  106033. },
  106034. withErrorMessage$2(message, callback) {
  106035. return this.withErrorMessage$1$2(message, callback, type$.dynamic);
  106036. },
  106037. wrapSpanFormatException$1$1(callback) {
  106038. var error, stackTrace, map, error0, stackTrace0, span, error1, stackTrace1, span0, secondarySpans, t1, t2, span1, description, _0_0, t3, exception, t4, _this = this,
  106039. _s8_ = "expected";
  106040. try {
  106041. try {
  106042. t3 = callback.call$0();
  106043. return t3;
  106044. } catch (exception) {
  106045. t3 = A.unwrapException(exception);
  106046. if (type$.SourceSpanFormatException._is(t3)) {
  106047. error = t3;
  106048. stackTrace = A.getTraceFromException(exception);
  106049. map = _this._parser0$_interpolationMap;
  106050. if (map == null)
  106051. throw exception;
  106052. A.throwWithTrace0(map.mapException$1(error), error, stackTrace);
  106053. } else
  106054. throw exception;
  106055. }
  106056. } catch (exception) {
  106057. t3 = A.unwrapException(exception);
  106058. if (type$.SourceSpanFormatException._is(t3)) {
  106059. error0 = t3;
  106060. stackTrace0 = A.getTraceFromException(exception);
  106061. span = J.get$span$z(error0);
  106062. if (A.startsWithIgnoreCase0(error0._span_exception$_message, _s8_))
  106063. span = _this._parser0$_adjustExceptionSpan$1(span);
  106064. t1 = error0._span_exception$_message;
  106065. t2 = span;
  106066. A.throwWithTrace0(new A.SassFormatException0(B.Set_empty, t1, t2), error0, stackTrace0);
  106067. } else if (type$.MultiSourceSpanFormatException._is(t3)) {
  106068. error1 = t3;
  106069. stackTrace1 = A.getTraceFromException(exception);
  106070. span0 = J.get$span$z(error1);
  106071. t3 = type$.FileSpan;
  106072. t4 = type$.String;
  106073. secondarySpans = error1.get$secondarySpans().cast$2$0(0, t3, t4);
  106074. if (A.startsWithIgnoreCase0(error1._span_exception$_message, _s8_)) {
  106075. span0 = _this._parser0$_adjustExceptionSpan$1(span0);
  106076. t1 = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  106077. for (t3 = A.MapExtensions_get_pairs0(secondarySpans, t3, t4), t3 = t3.get$iterator(t3); t3.moveNext$0();) {
  106078. t2 = t3.get$current(t3);
  106079. span1 = null;
  106080. description = null;
  106081. _0_0 = t2;
  106082. span1 = _0_0._0;
  106083. description = _0_0._1;
  106084. J.$indexSet$ax(t1, _this._parser0$_adjustExceptionSpan$1(span1), description);
  106085. }
  106086. secondarySpans = t1;
  106087. }
  106088. A.throwWithTrace0(A.MultiSpanSassFormatException$0(error1._span_exception$_message, span0, error1.get$primaryLabel(), secondarySpans, null), error1, stackTrace1);
  106089. } else
  106090. throw exception;
  106091. }
  106092. },
  106093. wrapSpanFormatException$1(callback) {
  106094. return this.wrapSpanFormatException$1$1(callback, type$.dynamic);
  106095. },
  106096. _parser0$_adjustExceptionSpan$1(span) {
  106097. var start, t1;
  106098. if (span.get$length(span) > 0)
  106099. return span;
  106100. start = this._parser0$_firstNewlineBefore$1(span.get$start(span));
  106101. if (start.$eq(0, span.get$start(span)))
  106102. t1 = span;
  106103. else {
  106104. t1 = start.offset;
  106105. t1 = A._FileSpan$(start.file, t1, t1);
  106106. }
  106107. return t1;
  106108. },
  106109. _parser0$_firstNewlineBefore$1($location) {
  106110. var lastNewline, codeUnit,
  106111. t1 = $location.file,
  106112. t2 = $location.offset,
  106113. text = A.String_String$fromCharCodes(B.NativeUint32List_methods.sublist$2(t1._decodedChars, 0, t2), 0, null),
  106114. index = t2 - 1;
  106115. for (lastNewline = null; index >= 0;) {
  106116. codeUnit = text.charCodeAt(index);
  106117. if (!(codeUnit === 32 || codeUnit === 9 || codeUnit === 10 || codeUnit === 13 || codeUnit === 12)) {
  106118. if (lastNewline == null)
  106119. t1 = $location;
  106120. else {
  106121. t2 = new A.FileLocation(t1, lastNewline);
  106122. t2.FileLocation$_$2(t1, lastNewline);
  106123. t1 = t2;
  106124. }
  106125. return t1;
  106126. }
  106127. if (codeUnit === 10 || codeUnit === 13 || codeUnit === 12)
  106128. lastNewline = index;
  106129. --index;
  106130. }
  106131. return $location;
  106132. }
  106133. };
  106134. A.Parser__parseIdentifier_closure0.prototype = {
  106135. call$0() {
  106136. var t1 = this.$this,
  106137. result = t1.identifier$0();
  106138. t1.scanner.expectDone$0();
  106139. return result;
  106140. },
  106141. $signature: 21
  106142. };
  106143. A.Parser_escape_closure0.prototype = {
  106144. call$1(char) {
  106145. return char === 32 || char === 9 || char === 10 || char === 13 || char === 12;
  106146. },
  106147. $signature: 34
  106148. };
  106149. A.Parser_scanIdentChar_matches0.prototype = {
  106150. call$1(actual) {
  106151. var t1 = this.char;
  106152. return this.caseSensitive ? actual === t1 : A.characterEqualsIgnoreCase0(t1, actual);
  106153. },
  106154. $signature: 48
  106155. };
  106156. A.Parser_spanFrom_closure0.prototype = {
  106157. call$0() {
  106158. return this.$this._parser0$_interpolationMap.mapSpan$1(this.span);
  106159. },
  106160. $signature: 33
  106161. };
  106162. A.PlaceholderSelector0.prototype = {
  106163. accept$1$1(visitor) {
  106164. return visitor.visitPlaceholderSelector$1(this);
  106165. },
  106166. accept$1(visitor) {
  106167. return this.accept$1$1(visitor, type$.dynamic);
  106168. },
  106169. addSuffix$1(suffix) {
  106170. return new A.PlaceholderSelector0(this.name + suffix, this.span);
  106171. },
  106172. $eq(_, other) {
  106173. if (other == null)
  106174. return false;
  106175. return other instanceof A.PlaceholderSelector0 && other.name === this.name;
  106176. },
  106177. get$hashCode(_) {
  106178. return B.JSString_methods.get$hashCode(this.name);
  106179. }
  106180. };
  106181. A.PlainCssCallable0.prototype = {
  106182. $eq(_, other) {
  106183. if (other == null)
  106184. return false;
  106185. return other instanceof A.PlainCssCallable0 && this.name === other.name;
  106186. },
  106187. get$hashCode(_) {
  106188. return B.JSString_methods.get$hashCode(this.name);
  106189. },
  106190. $isAsyncCallable0: 1,
  106191. $isCallable: 1,
  106192. get$name(receiver) {
  106193. return this.name;
  106194. }
  106195. };
  106196. A.PrefixedMapView0.prototype = {
  106197. get$keys(_) {
  106198. return new A._PrefixedKeys0(this);
  106199. },
  106200. get$length(_) {
  106201. var t1 = this._prefixed_map_view0$_map;
  106202. return t1.get$length(t1);
  106203. },
  106204. get$isEmpty(_) {
  106205. var t1 = this._prefixed_map_view0$_map;
  106206. return t1.get$isEmpty(t1);
  106207. },
  106208. get$isNotEmpty(_) {
  106209. var t1 = this._prefixed_map_view0$_map;
  106210. return t1.get$isNotEmpty(t1);
  106211. },
  106212. $index(_, key) {
  106213. 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;
  106214. },
  106215. containsKey$1(key) {
  106216. 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));
  106217. }
  106218. };
  106219. A._PrefixedKeys0.prototype = {
  106220. get$length(_) {
  106221. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  106222. return t1.get$length(t1);
  106223. },
  106224. get$iterator(_) {
  106225. var t1 = this._prefixed_map_view0$_view._prefixed_map_view0$_map;
  106226. t1 = J.map$1$1$ax(t1.get$keys(t1), new A._PrefixedKeys_iterator_closure0(this), type$.String);
  106227. return t1.get$iterator(t1);
  106228. },
  106229. contains$1(_, key) {
  106230. return this._prefixed_map_view0$_view.containsKey$1(key);
  106231. }
  106232. };
  106233. A._PrefixedKeys_iterator_closure0.prototype = {
  106234. call$1(key) {
  106235. return this.$this._prefixed_map_view0$_view._prefixed_map_view0$_prefix + key;
  106236. },
  106237. $signature: 7
  106238. };
  106239. A.PseudoSelector0.prototype = {
  106240. get$isHostContext() {
  106241. return this.isClass && this.name === "host-context" && this.selector != null;
  106242. },
  106243. get$specificity() {
  106244. var result, _this = this,
  106245. value = _this._pseudo$__PseudoSelector_specificity_FI;
  106246. if (value === $) {
  106247. result = new A.PseudoSelector_specificity_closure0(_this).call$0();
  106248. _this._pseudo$__PseudoSelector_specificity_FI !== $ && A.throwUnnamedLateFieldADI();
  106249. _this._pseudo$__PseudoSelector_specificity_FI = result;
  106250. value = result;
  106251. }
  106252. return value;
  106253. },
  106254. withSelector$1(selector) {
  106255. var _this = this;
  106256. return A.PseudoSelector$0(_this.name, _this.span, _this.argument, !_this.isClass, selector);
  106257. },
  106258. addSuffix$1(suffix) {
  106259. var _this = this;
  106260. if (_this.argument != null || _this.selector != null)
  106261. _this.super$SimpleSelector$addSuffix0(suffix);
  106262. return A.PseudoSelector$0(_this.name + suffix, _this.span, null, !_this.isClass, null);
  106263. },
  106264. unify$1(compound) {
  106265. var other, result, t2, addedThis, _i, simple, _this = this,
  106266. t1 = _this.name;
  106267. if (t1 === "host" || t1 === "host-context") {
  106268. if (!B.JSArray_methods.every$1(compound, new A.PseudoSelector_unify_closure0()))
  106269. return null;
  106270. } else {
  106271. if (compound.length === 1) {
  106272. other = compound[0];
  106273. if (!(other instanceof A.UniversalSelector0))
  106274. if (other instanceof A.PseudoSelector0)
  106275. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  106276. else
  106277. t1 = false;
  106278. else
  106279. t1 = true;
  106280. } else {
  106281. other = null;
  106282. t1 = false;
  106283. }
  106284. if (t1)
  106285. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  106286. }
  106287. if (B.JSArray_methods.contains$1(compound, _this))
  106288. return compound;
  106289. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  106290. for (t1 = compound.length, t2 = !_this.isClass, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  106291. simple = compound[_i];
  106292. if (simple instanceof A.PseudoSelector0 && !simple.isClass) {
  106293. if (t2)
  106294. return null;
  106295. result.push(_this);
  106296. addedThis = true;
  106297. }
  106298. result.push(simple);
  106299. }
  106300. if (!addedThis)
  106301. result.push(_this);
  106302. return result;
  106303. },
  106304. isSuperselector$1(other) {
  106305. var selector, t1, t2, _this = this;
  106306. if (_this.super$SimpleSelector$isSuperselector0(other))
  106307. return true;
  106308. selector = _this.selector;
  106309. if (selector == null)
  106310. return _this.$eq(0, other);
  106311. if (other instanceof A.PseudoSelector0 && !_this.isClass && !other.isClass && _this.normalizedName === "slotted" && other.name === _this.name) {
  106312. t1 = A.NullableExtension_andThen0(other.selector, selector.get$isSuperselector());
  106313. return t1 == null ? false : t1;
  106314. }
  106315. t1 = type$.JSArray_SimpleSelector_2;
  106316. t2 = _this.span;
  106317. return A.compoundIsSuperselector0(A.CompoundSelector$0(A._setArrayType([_this], t1), t2), A.CompoundSelector$0(A._setArrayType([other], t1), t2), null);
  106318. },
  106319. accept$1$1(visitor) {
  106320. return visitor.visitPseudoSelector$1(this);
  106321. },
  106322. accept$1(visitor) {
  106323. return this.accept$1$1(visitor, type$.dynamic);
  106324. },
  106325. $eq(_, other) {
  106326. var _this = this;
  106327. if (other == null)
  106328. return false;
  106329. return other instanceof A.PseudoSelector0 && other.name === _this.name && other.isClass === _this.isClass && other.argument == _this.argument && J.$eq$(other.selector, _this.selector);
  106330. },
  106331. get$hashCode(_) {
  106332. var _this = this,
  106333. t1 = B.JSString_methods.get$hashCode(_this.name),
  106334. t2 = !_this.isClass ? 519018 : 218159;
  106335. return t1 ^ t2 ^ J.get$hashCode$(_this.argument) ^ J.get$hashCode$(_this.selector);
  106336. }
  106337. };
  106338. A.PseudoSelector_specificity_closure0.prototype = {
  106339. call$0() {
  106340. var selector, t2,
  106341. t1 = this.$this;
  106342. if (!t1.isClass)
  106343. return 1;
  106344. selector = t1.selector;
  106345. if (selector == null)
  106346. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  106347. switch (t1.normalizedName) {
  106348. case "where":
  106349. return 0;
  106350. case "is":
  106351. case "not":
  106352. case "has":
  106353. case "matches":
  106354. t1 = selector.components;
  106355. return A.IterableIntegerExtension_get_max(new A.MappedListIterable(t1, new A.PseudoSelector_specificity__closure1(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,int>")));
  106356. case "nth-child":
  106357. case "nth-last-child":
  106358. t1 = A.SimpleSelector0.prototype.get$specificity.call(t1);
  106359. t2 = selector.components;
  106360. return t1 + A.IterableIntegerExtension_get_max(new A.MappedListIterable(t2, new A.PseudoSelector_specificity__closure2(), A._arrayInstanceType(t2)._eval$1("MappedListIterable<1,int>")));
  106361. default:
  106362. return A.SimpleSelector0.prototype.get$specificity.call(t1);
  106363. }
  106364. },
  106365. $signature: 3
  106366. };
  106367. A.PseudoSelector_specificity__closure1.prototype = {
  106368. call$1(component) {
  106369. return component.get$specificity();
  106370. },
  106371. $signature: 274
  106372. };
  106373. A.PseudoSelector_specificity__closure2.prototype = {
  106374. call$1(component) {
  106375. return component.get$specificity();
  106376. },
  106377. $signature: 274
  106378. };
  106379. A.PseudoSelector_unify_closure0.prototype = {
  106380. call$1(simple) {
  106381. var t1;
  106382. if (simple instanceof A.PseudoSelector0)
  106383. t1 = simple.isClass && simple.name === "host" || simple.selector != null;
  106384. else
  106385. t1 = false;
  106386. return t1;
  106387. },
  106388. $signature: 16
  106389. };
  106390. A.PublicMemberMapView0.prototype = {
  106391. get$keys(_) {
  106392. var t1 = this._public_member_map_view0$_inner;
  106393. return J.where$1$ax(t1.get$keys(t1), A.utils0__isPublic$closure());
  106394. },
  106395. containsKey$1(key) {
  106396. return typeof key == "string" && A.isPublic0(key) && this._public_member_map_view0$_inner.containsKey$1(key);
  106397. },
  106398. $index(_, key) {
  106399. if (typeof key == "string" && A.isPublic0(key))
  106400. return this._public_member_map_view0$_inner.$index(0, key);
  106401. return null;
  106402. }
  106403. };
  106404. A.QualifiedName0.prototype = {
  106405. $eq(_, other) {
  106406. if (other == null)
  106407. return false;
  106408. return other instanceof A.QualifiedName0 && other.name === this.name && other.namespace == this.namespace;
  106409. },
  106410. get$hashCode(_) {
  106411. return B.JSString_methods.get$hashCode(this.name) ^ J.get$hashCode$(this.namespace);
  106412. },
  106413. toString$0(_) {
  106414. var t1 = this.namespace,
  106415. t2 = this.name;
  106416. return t1 == null ? t2 : t1 + "|" + t2;
  106417. }
  106418. };
  106419. A.JSClass0.prototype = {};
  106420. A.JSClassExtension_setCustomInspect_closure.prototype = {
  106421. call$4($self, _, __, ___) {
  106422. return this.inspect.call$1($self);
  106423. },
  106424. call$3($self, _, __) {
  106425. return this.call$4($self, _, __, null);
  106426. },
  106427. "call*": "call$4",
  106428. $requiredArgCount: 3,
  106429. $defaultValues() {
  106430. return [null];
  106431. },
  106432. $signature: 546
  106433. };
  106434. A.JSClassExtension_get_defineStaticMethod_closure.prototype = {
  106435. call$2($name, body) {
  106436. this._this[$name] = A.allowInteropNamed($name, body);
  106437. return null;
  106438. },
  106439. $signature: 127
  106440. };
  106441. A.JSClassExtension_get_defineMethod_closure.prototype = {
  106442. call$2($name, body) {
  106443. J.get$$prototype$x(this._this)[$name] = A.allowInteropCaptureThisNamed($name, body);
  106444. return null;
  106445. },
  106446. $signature: 127
  106447. };
  106448. A.JSClassExtension_get_defineGetter_closure.prototype = {
  106449. call$2($name, body) {
  106450. A.defineGetter(J.get$$prototype$x(this._this), $name, body, null);
  106451. return null;
  106452. },
  106453. $signature: 127
  106454. };
  106455. A.RenderContext0.prototype = {};
  106456. A.RenderContextOptions0.prototype = {};
  106457. A.RenderContextResult0.prototype = {};
  106458. A.RenderContextResultStats0.prototype = {};
  106459. A.RenderOptions.prototype = {};
  106460. A.RenderResult.prototype = {};
  106461. A.RenderResultStats.prototype = {};
  106462. A.ReplaceExpressionVisitor0.prototype = {
  106463. visitBinaryOperationExpression$1(node) {
  106464. return new A.BinaryOperationExpression0(node.operator, node.left.accept$1(this), node.right.accept$1(this), false);
  106465. },
  106466. visitBooleanExpression$1(node) {
  106467. return node;
  106468. },
  106469. visitColorExpression$1(node) {
  106470. return node;
  106471. },
  106472. visitFunctionExpression$1(node) {
  106473. return new A.FunctionExpression0(node.namespace, node.originalName, this.visitArgumentInvocation$1(node.$arguments), node.span);
  106474. },
  106475. visitInterpolatedFunctionExpression$1(node) {
  106476. return new A.InterpolatedFunctionExpression0(this.visitInterpolation$1(node.name), this.visitArgumentInvocation$1(node.$arguments), node.span);
  106477. },
  106478. visitIfExpression$1(node) {
  106479. return new A.IfExpression0(this.visitArgumentInvocation$1(node.$arguments), node.span);
  106480. },
  106481. visitListExpression$1(node) {
  106482. var t1 = node.contents;
  106483. return new A.ListExpression0(A.List_List$unmodifiable(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitListExpression_closure0(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Expression0>")), type$.Expression_2), node.separator, node.hasBrackets, node.span);
  106484. },
  106485. visitMapExpression$1(node) {
  106486. var t2, t3, _i, t4, key, value,
  106487. t1 = A._setArrayType([], type$.JSArray_Record_2_Expression_and_Expression_2);
  106488. for (t2 = node.pairs, t3 = t2.length, _i = 0; _i < t3; ++_i) {
  106489. t4 = t2[_i];
  106490. key = t4._0;
  106491. value = t4._1;
  106492. t1.push(new A._Record_2(key.accept$1(this), value.accept$1(this)));
  106493. }
  106494. return new A.MapExpression0(A.List_List$unmodifiable(t1, type$.Record_2_Expression_and_Expression_2), node.span);
  106495. },
  106496. visitNullExpression$1(node) {
  106497. return node;
  106498. },
  106499. visitNumberExpression$1(node) {
  106500. return node;
  106501. },
  106502. visitParenthesizedExpression$1(node) {
  106503. return new A.ParenthesizedExpression0(node.expression.accept$1(this), node.span);
  106504. },
  106505. visitSelectorExpression$1(node) {
  106506. return node;
  106507. },
  106508. visitStringExpression$1(node) {
  106509. return new A.StringExpression0(this.visitInterpolation$1(node.text), node.hasQuotes);
  106510. },
  106511. visitSupportsExpression$1(node) {
  106512. return new A.SupportsExpression0(this.visitSupportsCondition$1(node.condition));
  106513. },
  106514. visitUnaryOperationExpression$1(node) {
  106515. return new A.UnaryOperationExpression0(node.operator, node.operand.accept$1(this), node.span);
  106516. },
  106517. visitValueExpression$1(node) {
  106518. return node;
  106519. },
  106520. visitVariableExpression$1(node) {
  106521. return node;
  106522. },
  106523. visitArgumentInvocation$1(invocation) {
  106524. var t5, t6, _this = this,
  106525. t1 = invocation.positional,
  106526. t2 = type$.String,
  106527. t3 = type$.Expression_2,
  106528. t4 = A.LinkedHashMap_LinkedHashMap$_empty(t2, t3);
  106529. for (t5 = A.MapExtensions_get_pairs0(invocation.named, t2, t3), t5 = t5.get$iterator(t5); t5.moveNext$0();) {
  106530. t6 = t5.get$current(t5);
  106531. t4.$indexSet(0, t6._0, t6._1.accept$1(_this));
  106532. }
  106533. t5 = invocation.rest;
  106534. t5 = t5 == null ? null : t5.accept$1(_this);
  106535. t6 = invocation.keywordRest;
  106536. t6 = t6 == null ? null : t6.accept$1(_this);
  106537. return new A.ArgumentInvocation0(A.List_List$unmodifiable(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitArgumentInvocation_closure0(_this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Expression0>")), t3), A.ConstantMap_ConstantMap$from(t4, t2, t3), t5, t6, invocation.span);
  106538. },
  106539. visitSupportsCondition$1(condition) {
  106540. var _this = this;
  106541. if (condition instanceof A.SupportsOperation0)
  106542. return A.SupportsOperation$0(_this.visitSupportsCondition$1(condition.left), _this.visitSupportsCondition$1(condition.right), condition.operator, condition.span);
  106543. else if (condition instanceof A.SupportsNegation0)
  106544. return new A.SupportsNegation0(_this.visitSupportsCondition$1(condition.condition), condition.span);
  106545. else if (condition instanceof A.SupportsInterpolation0)
  106546. return new A.SupportsInterpolation0(condition.expression.accept$1(_this), condition.span);
  106547. else if (condition instanceof A.SupportsDeclaration0)
  106548. return new A.SupportsDeclaration0(condition.name.accept$1(_this), condition.value.accept$1(_this), condition.span);
  106549. else
  106550. throw A.wrapException(A.SassException$0("BUG: Unknown SupportsCondition " + condition.toString$0(0) + ".", condition.get$span(condition), null));
  106551. },
  106552. visitInterpolation$1(interpolation) {
  106553. var t1 = interpolation.contents;
  106554. return A.Interpolation$0(new A.MappedListIterable(t1, new A.ReplaceExpressionVisitor_visitInterpolation_closure0(this), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Object>")), interpolation.span);
  106555. }
  106556. };
  106557. A.ReplaceExpressionVisitor_visitListExpression_closure0.prototype = {
  106558. call$1(item) {
  106559. return item.accept$1(this.$this);
  106560. },
  106561. $signature: 276
  106562. };
  106563. A.ReplaceExpressionVisitor_visitArgumentInvocation_closure0.prototype = {
  106564. call$1(expression) {
  106565. return expression.accept$1(this.$this);
  106566. },
  106567. $signature: 276
  106568. };
  106569. A.ReplaceExpressionVisitor_visitInterpolation_closure0.prototype = {
  106570. call$1(node) {
  106571. return type$.Expression_2._is(node) ? node.accept$1(this.$this) : node;
  106572. },
  106573. $signature: 74
  106574. };
  106575. A.ImporterResult0.prototype = {
  106576. get$sourceMapUrl(_) {
  106577. var t1 = this._result$_sourceMapUrl;
  106578. return t1 == null ? A.Uri_Uri$dataFromString(this.contents, B.C_Utf8Codec, null) : t1;
  106579. }
  106580. };
  106581. A.ReturnRule0.prototype = {
  106582. accept$1$1(visitor) {
  106583. return visitor.visitReturnRule$1(this);
  106584. },
  106585. accept$1(visitor) {
  106586. return this.accept$1$1(visitor, type$.dynamic);
  106587. },
  106588. toString$0(_) {
  106589. return "@return " + this.expression.toString$0(0) + ";";
  106590. },
  106591. $isAstNode0: 1,
  106592. $isStatement0: 1,
  106593. get$span(receiver) {
  106594. return this.span;
  106595. }
  106596. };
  106597. A.SassParser0.prototype = {
  106598. get$currentIndentation() {
  106599. return this._sass0$_currentIndentation;
  106600. },
  106601. get$indented() {
  106602. return true;
  106603. },
  106604. styleRuleSelector$0() {
  106605. var t4,
  106606. t1 = this.scanner,
  106607. t2 = t1._string_scanner$_position,
  106608. t3 = new A.StringBuffer(""),
  106609. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  106610. do {
  106611. buffer.addInterpolation$1(this.almostAnyValue$1$omitComments(true));
  106612. t4 = t3._contents += A.Primitives_stringFromCharCode(10);
  106613. } while (B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), ",") && this.scanCharIf$1(new A.SassParser_styleRuleSelector_closure0()));
  106614. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  106615. },
  106616. expectStatementSeparator$1($name) {
  106617. var t1, _this = this;
  106618. if (!_this.atEndOfStatement$0())
  106619. _this._sass0$_expectNewline$0();
  106620. if (_this._sass0$_peekIndentation$0() <= _this._sass0$_currentIndentation)
  106621. return;
  106622. t1 = $name == null ? "here" : "beneath a " + $name;
  106623. _this.scanner.error$2$position(0, "Nothing may be indented " + t1 + ".", _this._sass0$_nextIndentationEnd.position);
  106624. },
  106625. expectStatementSeparator$0() {
  106626. return this.expectStatementSeparator$1(null);
  106627. },
  106628. atEndOfStatement$0() {
  106629. var t1 = this.scanner.peekChar$0();
  106630. if (t1 == null)
  106631. t1 = null;
  106632. else
  106633. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  106634. return t1 !== false;
  106635. },
  106636. lookingAtChildren$0() {
  106637. return this.atEndOfStatement$0() && this._sass0$_peekIndentation$0() > this._sass0$_currentIndentation;
  106638. },
  106639. importArgument$0() {
  106640. var url, span, innerError, stackTrace, t1, _0_0, start, next, t2, exception, _this = this;
  106641. $label0$0: {
  106642. t1 = _this.scanner;
  106643. _0_0 = t1.peekChar$0();
  106644. if (117 === _0_0 || 85 === _0_0) {
  106645. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  106646. if (_this.scanIdentifier$1("url"))
  106647. if (t1.scanChar$1(40)) {
  106648. t1.set$state(start);
  106649. return _this.super$StylesheetParser$importArgument0();
  106650. } else
  106651. t1.set$state(start);
  106652. break $label0$0;
  106653. }
  106654. if (39 === _0_0 || 34 === _0_0)
  106655. return _this.super$StylesheetParser$importArgument0();
  106656. }
  106657. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  106658. next = t1.peekChar$0();
  106659. while (true) {
  106660. if (next != null)
  106661. if (next !== 44)
  106662. if (next !== 59)
  106663. t2 = !(next === 10 || next === 13 || next === 12);
  106664. else
  106665. t2 = false;
  106666. else
  106667. t2 = false;
  106668. else
  106669. t2 = false;
  106670. if (!t2)
  106671. break;
  106672. t1.readChar$0();
  106673. next = t1.peekChar$0();
  106674. }
  106675. url = t1.substring$1(0, start.position);
  106676. span = t1.spanFrom$1(start);
  106677. if (_this.isPlainImportUrl$1(url))
  106678. return new A.StaticImport0(A.Interpolation$0(A._setArrayType([A.serializeValue0(new A.SassString0(url, true), true, true)], type$.JSArray_Object), span), null, span);
  106679. else
  106680. try {
  106681. t1 = _this.parseImportUrl$1(url);
  106682. return new A.DynamicImport0(t1, span);
  106683. } catch (exception) {
  106684. t1 = A.unwrapException(exception);
  106685. if (type$.FormatException._is(t1)) {
  106686. innerError = t1;
  106687. stackTrace = A.getTraceFromException(exception);
  106688. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), span, stackTrace);
  106689. } else
  106690. throw exception;
  106691. }
  106692. },
  106693. scanElse$1(ifIndentation) {
  106694. var t1, t2, startIndentation, startNextIndentation, startNextIndentationEnd, _this = this;
  106695. if (_this._sass0$_peekIndentation$0() !== ifIndentation)
  106696. return false;
  106697. t1 = _this.scanner;
  106698. t2 = t1._string_scanner$_position;
  106699. startIndentation = _this._sass0$_currentIndentation;
  106700. startNextIndentation = _this._sass0$_nextIndentation;
  106701. startNextIndentationEnd = _this._sass0$_nextIndentationEnd;
  106702. _this._sass0$_readIndentation$0();
  106703. if (t1.scanChar$1(64) && _this.scanIdentifier$1("else"))
  106704. return true;
  106705. t1.set$state(new A._SpanScannerState(t1, t2));
  106706. _this._sass0$_currentIndentation = startIndentation;
  106707. _this._sass0$_nextIndentation = startNextIndentation;
  106708. _this._sass0$_nextIndentationEnd = startNextIndentationEnd;
  106709. return false;
  106710. },
  106711. children$1(_, child) {
  106712. var children = A._setArrayType([], type$.JSArray_Statement_2);
  106713. this._sass0$_whileIndentedLower$1(new A.SassParser_children_closure0(this, child, children));
  106714. return children;
  106715. },
  106716. statements$1(statement) {
  106717. var statements, t2, _1_0, child, t3,
  106718. t1 = this.scanner,
  106719. _0_0 = t1.peekChar$0();
  106720. if (9 === _0_0 || 32 === _0_0)
  106721. t1.error$3$length$position(0, string$.Indent, t1._string_scanner$_position, 0);
  106722. statements = A._setArrayType([], type$.JSArray_Statement_2);
  106723. for (t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  106724. _1_0 = this._sass0$_child$1(statement);
  106725. if (_1_0 != null) {
  106726. child = _1_0;
  106727. t3 = true;
  106728. } else {
  106729. child = null;
  106730. t3 = false;
  106731. }
  106732. if (t3)
  106733. statements.push(child);
  106734. this._sass0$_readIndentation$0();
  106735. }
  106736. return statements;
  106737. },
  106738. _sass0$_child$1(child) {
  106739. var _0_0, _this = this,
  106740. t1 = _this.scanner,
  106741. _1_0 = t1.peekChar$0();
  106742. $label0$0: {
  106743. if (13 === _1_0 || 10 === _1_0 || 12 === _1_0) {
  106744. t1 = null;
  106745. break $label0$0;
  106746. }
  106747. if (36 === _1_0) {
  106748. t1 = _this.variableDeclarationWithoutNamespace$0();
  106749. break $label0$0;
  106750. }
  106751. if (47 === _1_0) {
  106752. _0_0 = t1.peekChar$1(1);
  106753. $label1$1: {
  106754. if (47 === _0_0) {
  106755. t1 = _this._sass0$_silentComment$0();
  106756. break $label1$1;
  106757. }
  106758. if (42 === _0_0) {
  106759. t1 = _this._sass0$_loudComment$0();
  106760. break $label1$1;
  106761. }
  106762. t1 = child.call$0();
  106763. break $label1$1;
  106764. }
  106765. break $label0$0;
  106766. }
  106767. t1 = child.call$0();
  106768. break $label0$0;
  106769. }
  106770. return t1;
  106771. },
  106772. _sass0$_silentComment$0() {
  106773. var buffer, parentIndentation, t3, t4, t5, commentPrefix, i, t6, i0, t7, _this = this,
  106774. t1 = _this.scanner,
  106775. t2 = t1._string_scanner$_position;
  106776. t1.expect$1("//");
  106777. buffer = new A.StringBuffer("");
  106778. parentIndentation = _this._sass0$_currentIndentation;
  106779. t3 = t1.string.length;
  106780. t4 = 1 + parentIndentation;
  106781. t5 = 2 + parentIndentation;
  106782. $label0$0:
  106783. do {
  106784. commentPrefix = t1.scanChar$1(47) ? "///" : "//";
  106785. for (i = commentPrefix.length; true;) {
  106786. t6 = buffer._contents += commentPrefix;
  106787. for (i0 = i; i0 < _this._sass0$_currentIndentation - parentIndentation; ++i0) {
  106788. t6 += A.Primitives_stringFromCharCode(32);
  106789. buffer._contents = t6;
  106790. }
  106791. while (true) {
  106792. if (t1._string_scanner$_position !== t3) {
  106793. t7 = t1.peekChar$0();
  106794. t7 = !(t7 === 10 || t7 === 13 || t7 === 12);
  106795. } else
  106796. t7 = false;
  106797. if (!t7)
  106798. break;
  106799. t6 += A.Primitives_stringFromCharCode(t1.readChar$0());
  106800. buffer._contents = t6;
  106801. }
  106802. buffer._contents = t6 + "\n";
  106803. if (_this._sass0$_peekIndentation$0() < parentIndentation)
  106804. break $label0$0;
  106805. if (_this._sass0$_peekIndentation$0() === parentIndentation) {
  106806. if (t1.peekChar$1(t4) === 47 && t1.peekChar$1(t5) === 47)
  106807. _this._sass0$_readIndentation$0();
  106808. break;
  106809. }
  106810. _this._sass0$_readIndentation$0();
  106811. }
  106812. } while (t1.scan$1("//"));
  106813. t3 = buffer._contents;
  106814. return _this.lastSilentComment = new A.SilentComment0(t3.charCodeAt(0) == 0 ? t3 : t3, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  106815. },
  106816. _sass0$_loudComment$0() {
  106817. var t3, t4, buffer, parentIndentation, t5, t6, first, beginningOfComment, t7, end, i, _0_0, _this = this,
  106818. t1 = _this.scanner,
  106819. t2 = t1._string_scanner$_position;
  106820. t1.expect$1("/*");
  106821. t3 = new A.StringBuffer("");
  106822. t4 = A._setArrayType([], type$.JSArray_Object);
  106823. buffer = new A.InterpolationBuffer0(t3, t4);
  106824. t3._contents = "" + "/*";
  106825. parentIndentation = _this._sass0$_currentIndentation;
  106826. for (t5 = t1.string, t6 = t5.length, first = true; true; first = false) {
  106827. if (first) {
  106828. beginningOfComment = t1._string_scanner$_position;
  106829. _this.spaces$0();
  106830. t7 = t1.peekChar$0();
  106831. if (t7 === 10 || t7 === 13 || t7 === 12) {
  106832. _this._sass0$_readIndentation$0();
  106833. t3._contents += A.Primitives_stringFromCharCode(32);
  106834. } else {
  106835. end = t1._string_scanner$_position;
  106836. t3._contents += B.JSString_methods.substring$2(t5, beginningOfComment, end);
  106837. }
  106838. } else {
  106839. t7 = t3._contents += "\n";
  106840. t3._contents = t7 + " * ";
  106841. }
  106842. for (i = 3; i < _this._sass0$_currentIndentation - parentIndentation; ++i)
  106843. t3._contents += A.Primitives_stringFromCharCode(32);
  106844. for (; t1._string_scanner$_position !== t6;) {
  106845. _0_0 = t1.peekChar$0();
  106846. if (10 === _0_0 || 13 === _0_0 || 12 === _0_0)
  106847. break;
  106848. if (35 === _0_0) {
  106849. if (t1.peekChar$1(1) === 123) {
  106850. t7 = _this.singleInterpolation$0();
  106851. buffer._interpolation_buffer0$_flushText$0();
  106852. t4.push(t7);
  106853. } else
  106854. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  106855. continue;
  106856. }
  106857. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  106858. }
  106859. if (_this._sass0$_peekIndentation$0() <= parentIndentation)
  106860. break;
  106861. for (; _this._sass0$_lookingAtDoubleNewline$0();) {
  106862. _this._sass0$_expectNewline$0();
  106863. t7 = t3._contents += "\n";
  106864. t3._contents = t7 + " *";
  106865. }
  106866. _this._sass0$_readIndentation$0();
  106867. }
  106868. t4 = t3._contents;
  106869. if (!B.JSString_methods.endsWith$1(B.JSString_methods.trimRight$0(t4.charCodeAt(0) == 0 ? t4 : t4), "*/"))
  106870. t3._contents += " */";
  106871. return new A.LoudComment0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))));
  106872. },
  106873. whitespaceWithoutComments$0() {
  106874. var t1, t2, next;
  106875. for (t1 = this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;) {
  106876. next = t1.peekChar$0();
  106877. if (next !== 9 && next !== 32)
  106878. break;
  106879. t1.readChar$0();
  106880. }
  106881. },
  106882. loudComment$0() {
  106883. var next,
  106884. t1 = this.scanner;
  106885. t1.expect$1("/*");
  106886. for (; true;) {
  106887. next = t1.readChar$0();
  106888. if (next === 10 || next === 13 || next === 12)
  106889. t1.error$1(0, "expected */.");
  106890. if (next !== 42)
  106891. continue;
  106892. do
  106893. next = t1.readChar$0();
  106894. while (next === 42);
  106895. if (next === 47)
  106896. break;
  106897. }
  106898. },
  106899. _sass0$_expectNewline$0() {
  106900. var t1 = this.scanner,
  106901. _0_0 = t1.peekChar$0();
  106902. if (59 === _0_0)
  106903. t1.error$1(0, string$.semico);
  106904. if (13 === _0_0) {
  106905. t1.readChar$0();
  106906. if (t1.peekChar$0() === 10)
  106907. t1.readChar$0();
  106908. return;
  106909. }
  106910. if (10 === _0_0 || 12 === _0_0) {
  106911. t1.readChar$0();
  106912. return;
  106913. }
  106914. t1.error$1(0, "expected newline.");
  106915. },
  106916. _sass0$_lookingAtDoubleNewline$0() {
  106917. var _0_0,
  106918. t1 = this.scanner,
  106919. _1_0 = t1.peekChar$0();
  106920. $label1$1: {
  106921. if (13 === _1_0) {
  106922. _0_0 = t1.peekChar$1(1);
  106923. $label0$0: {
  106924. if (10 === _0_0) {
  106925. t1 = t1.peekChar$1(2);
  106926. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  106927. break $label0$0;
  106928. }
  106929. if (13 === _0_0 || 12 === _0_0) {
  106930. t1 = true;
  106931. break $label0$0;
  106932. }
  106933. t1 = false;
  106934. break $label0$0;
  106935. }
  106936. break $label1$1;
  106937. }
  106938. if (10 === _1_0 || 12 === _1_0) {
  106939. t1 = t1.peekChar$1(1);
  106940. t1 = t1 === 10 || t1 === 13 || t1 === 12;
  106941. break $label1$1;
  106942. }
  106943. t1 = false;
  106944. break $label1$1;
  106945. }
  106946. return t1;
  106947. },
  106948. _sass0$_whileIndentedLower$1(body) {
  106949. var t1, t2, childIndentation, indentation, t3, t4, _this = this,
  106950. parentIndentation = _this._sass0$_currentIndentation;
  106951. for (t1 = _this.scanner, t2 = t1._sourceFile, childIndentation = null; _this._sass0$_peekIndentation$0() > parentIndentation;) {
  106952. indentation = _this._sass0$_readIndentation$0();
  106953. if (childIndentation == null)
  106954. childIndentation = indentation;
  106955. if (childIndentation !== indentation) {
  106956. t3 = t1._string_scanner$_position;
  106957. t4 = t2.getColumn$1(t3);
  106958. t1.error$3$length$position(0, "Inconsistent indentation, expected " + childIndentation + " spaces.", t2.getColumn$1(t1._string_scanner$_position), t3 - t4);
  106959. }
  106960. body.call$0();
  106961. }
  106962. },
  106963. _sass0$_readIndentation$0() {
  106964. var t1, _this = this,
  106965. currentIndentation = _this._sass0$_nextIndentation;
  106966. if (currentIndentation == null)
  106967. currentIndentation = _this._sass0$_nextIndentation = _this._sass0$_peekIndentation$0();
  106968. _this._sass0$_currentIndentation = currentIndentation;
  106969. t1 = _this._sass0$_nextIndentationEnd;
  106970. t1.toString;
  106971. _this.scanner.set$state(t1);
  106972. _this._sass0$_nextIndentationEnd = _this._sass0$_nextIndentation = null;
  106973. return currentIndentation;
  106974. },
  106975. _sass0$_peekIndentation$0() {
  106976. var cached, t1, t2, t3, start, containsTab, containsSpace, nextIndentation, _1_0, t4, _this = this,
  106977. _0_0 = _this._sass0$_nextIndentation;
  106978. if (_0_0 != null) {
  106979. cached = _0_0;
  106980. t1 = true;
  106981. } else {
  106982. cached = null;
  106983. t1 = false;
  106984. }
  106985. if (t1)
  106986. return cached;
  106987. t1 = _this.scanner;
  106988. t2 = t1._string_scanner$_position;
  106989. t3 = t1.string.length;
  106990. if (t2 === t3) {
  106991. _this._sass0$_nextIndentation = 0;
  106992. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t2);
  106993. return 0;
  106994. }
  106995. start = new A._SpanScannerState(t1, t2);
  106996. if (!_this.scanCharIf$1(new A.SassParser__peekIndentation_closure1()))
  106997. t1.error$2$position(0, "Expected newline.", t1._string_scanner$_position);
  106998. containsTab = A._Cell$();
  106999. containsSpace = A._Cell$();
  107000. nextIndentation = A._Cell$();
  107001. t2 = nextIndentation.__late_helper$_name;
  107002. do {
  107003. containsSpace._value = containsTab._value = false;
  107004. nextIndentation._value = 0;
  107005. for (; true;) {
  107006. $label0$0: {
  107007. _1_0 = t1.peekChar$0();
  107008. if (32 === _1_0) {
  107009. containsSpace._value = true;
  107010. break $label0$0;
  107011. }
  107012. if (9 === _1_0) {
  107013. containsTab._value = true;
  107014. break $label0$0;
  107015. }
  107016. break;
  107017. }
  107018. t4 = nextIndentation._value;
  107019. if (t4 === nextIndentation)
  107020. A.throwExpression(A.LateError$localNI(t2));
  107021. nextIndentation._value = t4 + 1;
  107022. t1.readChar$0();
  107023. }
  107024. t4 = t1._string_scanner$_position;
  107025. if (t4 === t3) {
  107026. _this._sass0$_nextIndentation = 0;
  107027. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t4);
  107028. t1.set$state(start);
  107029. return 0;
  107030. }
  107031. } while (_this.scanCharIf$1(new A.SassParser__peekIndentation_closure2()));
  107032. t2 = containsTab._readLocal$0();
  107033. t3 = containsSpace._readLocal$0();
  107034. if (t2) {
  107035. if (t3) {
  107036. t2 = t1._string_scanner$_position;
  107037. t3 = t1._sourceFile;
  107038. t4 = t3.getColumn$1(t2);
  107039. t1.error$3$length$position(0, "Tabs and spaces may not be mixed.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  107040. } else if (_this._sass0$_spaces === true) {
  107041. t2 = t1._string_scanner$_position;
  107042. t3 = t1._sourceFile;
  107043. t4 = t3.getColumn$1(t2);
  107044. t1.error$3$length$position(0, "Expected spaces, was tabs.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  107045. }
  107046. } else if (t3 && _this._sass0$_spaces === false) {
  107047. t2 = t1._string_scanner$_position;
  107048. t3 = t1._sourceFile;
  107049. t4 = t3.getColumn$1(t2);
  107050. t1.error$3$length$position(0, "Expected tabs, was spaces.", t3.getColumn$1(t1._string_scanner$_position), t2 - t4);
  107051. }
  107052. _this._sass0$_nextIndentation = nextIndentation._readLocal$0();
  107053. if (nextIndentation._readLocal$0() > 0)
  107054. if (_this._sass0$_spaces == null)
  107055. _this._sass0$_spaces = containsSpace._readLocal$0();
  107056. _this._sass0$_nextIndentationEnd = new A._SpanScannerState(t1, t1._string_scanner$_position);
  107057. t1.set$state(start);
  107058. return nextIndentation._readLocal$0();
  107059. }
  107060. };
  107061. A.SassParser_styleRuleSelector_closure0.prototype = {
  107062. call$1(char) {
  107063. return char === 10 || char === 13 || char === 12;
  107064. },
  107065. $signature: 34
  107066. };
  107067. A.SassParser_children_closure0.prototype = {
  107068. call$0() {
  107069. var parsedChild, t1,
  107070. _0_0 = this.$this._sass0$_child$1(this.child);
  107071. if (_0_0 != null) {
  107072. parsedChild = _0_0;
  107073. t1 = true;
  107074. } else {
  107075. parsedChild = null;
  107076. t1 = false;
  107077. }
  107078. if (t1)
  107079. this.children.push(parsedChild);
  107080. },
  107081. $signature: 0
  107082. };
  107083. A.SassParser__peekIndentation_closure1.prototype = {
  107084. call$1(char) {
  107085. return char === 10 || char === 13 || char === 12;
  107086. },
  107087. $signature: 34
  107088. };
  107089. A.SassParser__peekIndentation_closure2.prototype = {
  107090. call$1(char) {
  107091. return char === 10 || char === 13 || char === 12;
  107092. },
  107093. $signature: 34
  107094. };
  107095. A._Exports.prototype = {};
  107096. A._wrapMain_closure.prototype = {
  107097. call$1(_) {
  107098. return A._translateReturnValue(this.main.call$0());
  107099. },
  107100. $signature: 102
  107101. };
  107102. A._wrapMain_closure0.prototype = {
  107103. call$1(args) {
  107104. return A._translateReturnValue(this.main.call$1(A.List_List$from(type$.List_dynamic._as(args), true, type$.String)));
  107105. },
  107106. $signature: 102
  107107. };
  107108. A.ScssParser0.prototype = {
  107109. get$indented() {
  107110. return false;
  107111. },
  107112. get$currentIndentation() {
  107113. return 0;
  107114. },
  107115. styleRuleSelector$0() {
  107116. return this.almostAnyValue$0();
  107117. },
  107118. expectStatementSeparator$1($name) {
  107119. var t1, _0_0;
  107120. this.whitespaceWithoutComments$0();
  107121. t1 = this.scanner;
  107122. if (t1._string_scanner$_position === t1.string.length)
  107123. return;
  107124. _0_0 = t1.peekChar$0();
  107125. if (59 === _0_0 || 125 === _0_0)
  107126. return;
  107127. t1.expectChar$1(59);
  107128. },
  107129. expectStatementSeparator$0() {
  107130. return this.expectStatementSeparator$1(null);
  107131. },
  107132. atEndOfStatement$0() {
  107133. var next = this.scanner.peekChar$0();
  107134. return next == null || next === 59 || next === 125 || next === 123;
  107135. },
  107136. lookingAtChildren$0() {
  107137. return this.scanner.peekChar$0() === 123;
  107138. },
  107139. scanElse$1(ifIndentation) {
  107140. var t3, _this = this,
  107141. t1 = _this.scanner,
  107142. t2 = t1._string_scanner$_position;
  107143. _this.whitespace$0();
  107144. t3 = t1._string_scanner$_position;
  107145. if (t1.scanChar$1(64)) {
  107146. if (_this.scanIdentifier$2$caseSensitive("else", true))
  107147. return true;
  107148. if (_this.scanIdentifier$2$caseSensitive("elseif", true)) {
  107149. A.WarnForDeprecation_warnForDeprecation0(_this.logger, B.Deprecation_elseif_false_elseif, string$.x40elsei, t1.spanFrom$1(new A._SpanScannerState(t1, t3)), null);
  107150. t1.set$position(t1._string_scanner$_position - 2);
  107151. return true;
  107152. }
  107153. }
  107154. t1.set$state(new A._SpanScannerState(t1, t2));
  107155. return false;
  107156. },
  107157. children$1(_, child) {
  107158. var children, _this = this,
  107159. t1 = _this.scanner;
  107160. t1.expectChar$1(123);
  107161. _this.whitespaceWithoutComments$0();
  107162. children = A._setArrayType([], type$.JSArray_Statement_2);
  107163. for (; true;)
  107164. switch (t1.peekChar$0()) {
  107165. case 36:
  107166. children.push(_this.variableDeclarationWithoutNamespace$0());
  107167. break;
  107168. case 47:
  107169. switch (t1.peekChar$1(1)) {
  107170. case 47:
  107171. children.push(_this._scss0$_silentComment$0());
  107172. _this.whitespaceWithoutComments$0();
  107173. break;
  107174. case 42:
  107175. children.push(_this._scss0$_loudComment$0());
  107176. _this.whitespaceWithoutComments$0();
  107177. break;
  107178. default:
  107179. children.push(child.call$0());
  107180. }
  107181. break;
  107182. case 59:
  107183. t1.readChar$0();
  107184. _this.whitespaceWithoutComments$0();
  107185. break;
  107186. case 125:
  107187. t1.expectChar$1(125);
  107188. return children;
  107189. default:
  107190. children.push(child.call$0());
  107191. }
  107192. },
  107193. statements$1(statement) {
  107194. var t1, t2, _0_0, child, t3, _1_0, _this = this,
  107195. statements = A._setArrayType([], type$.JSArray_Statement_2);
  107196. _this.whitespaceWithoutComments$0();
  107197. for (t1 = _this.scanner, t2 = t1.string.length; t1._string_scanner$_position !== t2;)
  107198. switch (t1.peekChar$0()) {
  107199. case 36:
  107200. statements.push(_this.variableDeclarationWithoutNamespace$0());
  107201. break;
  107202. case 47:
  107203. switch (t1.peekChar$1(1)) {
  107204. case 47:
  107205. statements.push(_this._scss0$_silentComment$0());
  107206. _this.whitespaceWithoutComments$0();
  107207. break;
  107208. case 42:
  107209. statements.push(_this._scss0$_loudComment$0());
  107210. _this.whitespaceWithoutComments$0();
  107211. break;
  107212. default:
  107213. _0_0 = statement.call$0();
  107214. if (_0_0 != null) {
  107215. child = _0_0;
  107216. t3 = true;
  107217. } else {
  107218. child = null;
  107219. t3 = false;
  107220. }
  107221. if (t3)
  107222. statements.push(child);
  107223. }
  107224. break;
  107225. case 59:
  107226. t1.readChar$0();
  107227. _this.whitespaceWithoutComments$0();
  107228. break;
  107229. default:
  107230. _1_0 = statement.call$0();
  107231. if (_1_0 != null) {
  107232. child = _1_0;
  107233. t3 = true;
  107234. } else {
  107235. child = null;
  107236. t3 = false;
  107237. }
  107238. if (t3)
  107239. statements.push(child);
  107240. }
  107241. return statements;
  107242. },
  107243. _scss0$_silentComment$0() {
  107244. var t2, t3, _this = this,
  107245. t1 = _this.scanner,
  107246. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  107247. t1.expect$1("//");
  107248. t2 = t1.string.length;
  107249. do {
  107250. while (true) {
  107251. if (t1._string_scanner$_position !== t2) {
  107252. t3 = t1.readChar$0();
  107253. t3 = !(t3 === 10 || t3 === 13 || t3 === 12);
  107254. } else
  107255. t3 = false;
  107256. if (!t3)
  107257. break;
  107258. }
  107259. if (t1._string_scanner$_position === t2)
  107260. break;
  107261. _this.spaces$0();
  107262. } while (t1.scan$1("//"));
  107263. if (_this.get$plainCss())
  107264. _this.error$2(0, string$.Silent, t1.spanFrom$1(start));
  107265. return _this.lastSilentComment = new A.SilentComment0(t1.substring$1(0, start.position), t1.spanFrom$1(start));
  107266. },
  107267. _scss0$_loudComment$0() {
  107268. var t3, t4, buffer, t5, endPosition, t6, result,
  107269. t1 = this.scanner,
  107270. t2 = t1._string_scanner$_position;
  107271. t1.expect$1("/*");
  107272. t3 = new A.StringBuffer("");
  107273. t4 = A._setArrayType([], type$.JSArray_Object);
  107274. buffer = new A.InterpolationBuffer0(t3, t4);
  107275. t3._contents = "" + "/*";
  107276. $label0$1:
  107277. for (; true;)
  107278. switch (t1.peekChar$0()) {
  107279. case 35:
  107280. if (t1.peekChar$1(1) === 123) {
  107281. t5 = this.singleInterpolation$0();
  107282. buffer._interpolation_buffer0$_flushText$0();
  107283. t4.push(t5);
  107284. } else
  107285. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  107286. break;
  107287. case 42:
  107288. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  107289. if (t1.peekChar$0() !== 47)
  107290. continue $label0$1;
  107291. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  107292. endPosition = t1._string_scanner$_position;
  107293. t5 = t1._sourceFile;
  107294. t6 = new A._SpanScannerState(t1, t2).position;
  107295. t1 = new A._FileSpan(t5, t6, endPosition);
  107296. t1._FileSpan$3(t5, t6, endPosition);
  107297. t6 = type$.Object;
  107298. t5 = A.List_List$of(t4, true, t6);
  107299. t2 = t3._contents;
  107300. if (t2.length !== 0)
  107301. t5.push(t2.charCodeAt(0) == 0 ? t2 : t2);
  107302. result = A.List_List$from(t5, false, t6);
  107303. result.fixed$length = Array;
  107304. result.immutable$list = Array;
  107305. t2 = new A.Interpolation0(result, t1);
  107306. t2.Interpolation$20(t5, t1);
  107307. return new A.LoudComment0(t2);
  107308. case 13:
  107309. t1.readChar$0();
  107310. if (t1.peekChar$0() !== 10)
  107311. t3._contents += A.Primitives_stringFromCharCode(10);
  107312. break;
  107313. case 12:
  107314. t1.readChar$0();
  107315. t3._contents += A.Primitives_stringFromCharCode(10);
  107316. break;
  107317. default:
  107318. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  107319. }
  107320. }
  107321. };
  107322. A.Selector0.prototype = {
  107323. assertNotBogus$1$name($name) {
  107324. var t1;
  107325. if (!this.accept$1(B._IsBogusVisitor_true0))
  107326. return;
  107327. t1 = this.toString$0(0);
  107328. A.EvaluationContext_current0().warn$2(0, "$" + $name + ": " + (t1 + string$.x20is_nov), B.Deprecation_XV6);
  107329. },
  107330. toString$0(_) {
  107331. var visitor = A._SerializeVisitor$0(null, true, null, true, false, null, true);
  107332. this.accept$1(visitor);
  107333. return visitor._serialize0$_buffer.toString$0(0);
  107334. },
  107335. $isAstNode0: 1,
  107336. get$span(receiver) {
  107337. return this.span;
  107338. }
  107339. };
  107340. A._IsInvisibleVisitor2.prototype = {
  107341. visitSelectorList$1(list) {
  107342. return B.JSArray_methods.every$1(list.components, this.get$visitComplexSelector());
  107343. },
  107344. visitComplexSelector$1(complex) {
  107345. var t1;
  107346. if (!this.super$AnySelectorVisitor$visitComplexSelector0(complex))
  107347. t1 = this.includeBogus && complex.accept$1(B._IsBogusVisitor_false0);
  107348. else
  107349. t1 = true;
  107350. return t1;
  107351. },
  107352. visitPlaceholderSelector$1(placeholder) {
  107353. return true;
  107354. },
  107355. visitPseudoSelector$1(pseudo) {
  107356. var selector, t1,
  107357. _0_0 = pseudo.selector;
  107358. if (_0_0 != null) {
  107359. selector = _0_0;
  107360. t1 = true;
  107361. } else {
  107362. selector = null;
  107363. t1 = false;
  107364. }
  107365. if (t1) {
  107366. if (pseudo.name === "not")
  107367. t1 = this.includeBogus && selector.accept$1(B._IsBogusVisitor_true0);
  107368. else
  107369. t1 = this.visitSelectorList$1(selector);
  107370. return t1;
  107371. } else
  107372. return false;
  107373. }
  107374. };
  107375. A._IsBogusVisitor0.prototype = {
  107376. visitComplexSelector$1(complex) {
  107377. var t2,
  107378. t1 = complex.components;
  107379. if (t1.length === 0)
  107380. return complex.leadingCombinators.length !== 0;
  107381. else {
  107382. t2 = this.includeLeadingCombinator ? 0 : 1;
  107383. return complex.leadingCombinators.length > t2 || B.JSArray_methods.get$last(t1).combinators.length !== 0 || B.JSArray_methods.any$1(t1, new A._IsBogusVisitor_visitComplexSelector_closure0(this));
  107384. }
  107385. },
  107386. visitPseudoSelector$1(pseudo) {
  107387. var selector = pseudo.selector;
  107388. if (selector == null)
  107389. return false;
  107390. return pseudo.name === "has" ? selector.accept$1(B._IsBogusVisitor_false0) : selector.accept$1(B._IsBogusVisitor_true0);
  107391. }
  107392. };
  107393. A._IsBogusVisitor_visitComplexSelector_closure0.prototype = {
  107394. call$1(component) {
  107395. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  107396. },
  107397. $signature: 51
  107398. };
  107399. A._IsUselessVisitor0.prototype = {
  107400. visitComplexSelector$1(complex) {
  107401. return complex.leadingCombinators.length > 1 || B.JSArray_methods.any$1(complex.components, new A._IsUselessVisitor_visitComplexSelector_closure0(this));
  107402. },
  107403. visitPseudoSelector$1(pseudo) {
  107404. return pseudo.accept$1(B._IsBogusVisitor_true0);
  107405. }
  107406. };
  107407. A._IsUselessVisitor_visitComplexSelector_closure0.prototype = {
  107408. call$1(component) {
  107409. return component.combinators.length > 1 || this.$this.visitCompoundSelector$1(component.selector);
  107410. },
  107411. $signature: 51
  107412. };
  107413. A.__IsBogusVisitor_Object_AnySelectorVisitor0.prototype = {};
  107414. A.__IsInvisibleVisitor_Object_AnySelectorVisitor0.prototype = {};
  107415. A.__IsUselessVisitor_Object_AnySelectorVisitor0.prototype = {};
  107416. A.SelectorExpression0.prototype = {
  107417. accept$1$1(visitor) {
  107418. return visitor.visitSelectorExpression$1(this);
  107419. },
  107420. accept$1(visitor) {
  107421. return this.accept$1$1(visitor, type$.dynamic);
  107422. },
  107423. toString$0(_) {
  107424. return "&";
  107425. },
  107426. $isExpression0: 1,
  107427. $isAstNode0: 1,
  107428. get$span(receiver) {
  107429. return this.span;
  107430. }
  107431. };
  107432. A._nest_closure0.prototype = {
  107433. call$1($arguments) {
  107434. var t1 = {},
  107435. selectors = J.$index$asx($arguments, 0).get$asList();
  107436. if (selectors.length === 0)
  107437. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  107438. t1.first = true;
  107439. 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();
  107440. },
  107441. $signature: 26
  107442. };
  107443. A._nest__closure1.prototype = {
  107444. call$1(selector) {
  107445. var t1 = this._box_0,
  107446. result = A.SassApiValue_assertSelector0(selector, !t1.first, null);
  107447. t1.first = false;
  107448. return result;
  107449. },
  107450. $signature: 277
  107451. };
  107452. A._nest__closure2.prototype = {
  107453. call$2($parent, child) {
  107454. return child.resolveParentSelectors$1($parent);
  107455. },
  107456. $signature: 278
  107457. };
  107458. A._append_closure1.prototype = {
  107459. call$1($arguments) {
  107460. var selectors = J.$index$asx($arguments, 0).get$asList();
  107461. if (selectors.length === 0)
  107462. throw A.wrapException(A.SassScriptException$0(string$.x24selec, null));
  107463. return new A.MappedListIterable(selectors, new A._append__closure1(), A._arrayInstanceType(selectors)._eval$1("MappedListIterable<1,SelectorList0>")).reduce$1(0, new A._append__closure2(A.EvaluationContext_current0().get$currentCallableSpan())).get$asSassList();
  107464. },
  107465. $signature: 26
  107466. };
  107467. A._append__closure1.prototype = {
  107468. call$1(selector) {
  107469. return A.SassApiValue_assertSelector0(selector, false, null);
  107470. },
  107471. $signature: 277
  107472. };
  107473. A._append__closure2.prototype = {
  107474. call$2($parent, child) {
  107475. var t1 = child.components,
  107476. t2 = this.span;
  107477. return A.SelectorList$0(new A.MappedListIterable(t1, new A._append___closure0($parent, t2), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,ComplexSelector0>")), t2).resolveParentSelectors$1($parent);
  107478. },
  107479. $signature: 278
  107480. };
  107481. A._append___closure0.prototype = {
  107482. call$1(complex) {
  107483. var _0_0, component, rest, t1, newCompound, t2, _null = null;
  107484. if (complex.leadingCombinators.length !== 0)
  107485. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  107486. _0_0 = complex.components;
  107487. if (_0_0.length >= 1) {
  107488. component = _0_0[0];
  107489. rest = B.JSArray_methods.sublist$1(_0_0, 1);
  107490. t1 = true;
  107491. } else {
  107492. rest = _null;
  107493. component = rest;
  107494. t1 = false;
  107495. }
  107496. if (!t1)
  107497. throw A.wrapException(A.StateError$("Pattern matching error"));
  107498. newCompound = A._prependParent0(component.selector);
  107499. if (newCompound == null)
  107500. throw A.wrapException(A.SassScriptException$0("Can't append " + complex.toString$0(0) + " to " + this.parent.toString$0(0) + ".", _null));
  107501. t1 = this.span;
  107502. t2 = A._setArrayType([new A.ComplexSelectorComponent0(newCompound, A.List_List$unmodifiable(component.combinators, type$.CssValue_Combinator_2), t1)], type$.JSArray_ComplexSelectorComponent_2);
  107503. B.JSArray_methods.addAll$1(t2, rest);
  107504. return A.ComplexSelector$0(B.List_empty14, t2, t1, false);
  107505. },
  107506. $signature: 62
  107507. };
  107508. A._extend_closure0.prototype = {
  107509. call$1($arguments) {
  107510. var target, source,
  107511. _s8_ = "selector",
  107512. _s8_0 = "extendee",
  107513. _s8_1 = "extender",
  107514. t1 = J.getInterceptor$asx($arguments),
  107515. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  107516. selector.assertNotBogus$1$name(_s8_);
  107517. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  107518. target.assertNotBogus$1$name(_s8_0);
  107519. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s8_1);
  107520. source.assertNotBogus$1$name(_s8_1);
  107521. return A.ExtensionStore__extendOrReplace0(selector, source, target, B.ExtendMode_allTargets_allTargets0, A.EvaluationContext_current0().get$currentCallableSpan()).get$asSassList();
  107522. },
  107523. $signature: 26
  107524. };
  107525. A._replace_closure0.prototype = {
  107526. call$1($arguments) {
  107527. var target, source,
  107528. _s8_ = "selector",
  107529. _s8_0 = "original",
  107530. _s11_ = "replacement",
  107531. t1 = J.getInterceptor$asx($arguments),
  107532. selector = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s8_);
  107533. selector.assertNotBogus$1$name(_s8_);
  107534. target = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s8_0);
  107535. target.assertNotBogus$1$name(_s8_0);
  107536. source = A.SassApiValue_assertSelector0(t1.$index($arguments, 2), false, _s11_);
  107537. source.assertNotBogus$1$name(_s11_);
  107538. return A.ExtensionStore__extendOrReplace0(selector, source, target, B.ExtendMode_replace_replace0, A.EvaluationContext_current0().get$currentCallableSpan()).get$asSassList();
  107539. },
  107540. $signature: 26
  107541. };
  107542. A._unify_closure0.prototype = {
  107543. call$1($arguments) {
  107544. var selector2,
  107545. _s9_ = "selector1",
  107546. _s9_0 = "selector2",
  107547. t1 = J.getInterceptor$asx($arguments),
  107548. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, _s9_);
  107549. selector1.assertNotBogus$1$name(_s9_);
  107550. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, _s9_0);
  107551. selector2.assertNotBogus$1$name(_s9_0);
  107552. t1 = selector1.unify$1(selector2);
  107553. t1 = t1 == null ? null : t1.get$asSassList();
  107554. return t1 == null ? B.C__SassNull0 : t1;
  107555. },
  107556. $signature: 5
  107557. };
  107558. A._isSuperselector_closure0.prototype = {
  107559. call$1($arguments) {
  107560. var selector2,
  107561. t1 = J.getInterceptor$asx($arguments),
  107562. selector1 = A.SassApiValue_assertSelector0(t1.$index($arguments, 0), false, "super");
  107563. selector1.assertNotBogus$1$name("super");
  107564. selector2 = A.SassApiValue_assertSelector0(t1.$index($arguments, 1), false, "sub");
  107565. selector2.assertNotBogus$1$name("sub");
  107566. return A.listIsSuperselector0(selector1.components, selector2.components) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  107567. },
  107568. $signature: 22
  107569. };
  107570. A._simpleSelectors_closure0.prototype = {
  107571. call$1($arguments) {
  107572. var t1 = A.SassApiValue_assertCompoundSelector0(J.$index$asx($arguments, 0), "selector").components;
  107573. return A.SassList$0(new A.MappedListIterable(t1, new A._simpleSelectors__closure0(), A._arrayInstanceType(t1)._eval$1("MappedListIterable<1,Value0>")), B.ListSeparator_rXA0, false);
  107574. },
  107575. $signature: 26
  107576. };
  107577. A._simpleSelectors__closure0.prototype = {
  107578. call$1(simple) {
  107579. return new A.SassString0(A.serializeSelector0(simple, true), false);
  107580. },
  107581. $signature: 551
  107582. };
  107583. A._parse_closure0.prototype = {
  107584. call$1($arguments) {
  107585. return A.SassApiValue_assertSelector0(J.$index$asx($arguments, 0), false, "selector").get$asSassList();
  107586. },
  107587. $signature: 26
  107588. };
  107589. A._prependParent_closure1.prototype = {
  107590. call$0() {
  107591. return this._0_0.length >= 1;
  107592. },
  107593. $signature: 1
  107594. };
  107595. A._prependParent_closure2.prototype = {
  107596. call$0() {
  107597. return this._0_0[0];
  107598. },
  107599. $signature: 279
  107600. };
  107601. A.SelectorParser0.prototype = {
  107602. parse$0() {
  107603. return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure0(this));
  107604. },
  107605. parseCompoundSelector$0() {
  107606. return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure0(this));
  107607. },
  107608. _selector$_selectorList$0() {
  107609. var t4, t5, lineBreak, _this = this,
  107610. t1 = _this.scanner,
  107611. t2 = t1._string_scanner$_position,
  107612. t3 = t1._sourceFile,
  107613. previousLine = t3.getLine$1(t2),
  107614. components = A._setArrayType([_this._selector$_complexSelector$0()], type$.JSArray_ComplexSelector_2);
  107615. _this.whitespace$0();
  107616. for (t4 = t1.string.length; t1.scanChar$1(44);) {
  107617. _this.whitespace$0();
  107618. if (t1.peekChar$0() === 44)
  107619. continue;
  107620. t5 = t1._string_scanner$_position;
  107621. if (t5 === t4)
  107622. break;
  107623. lineBreak = t3.getLine$1(t5) !== previousLine;
  107624. if (lineBreak)
  107625. previousLine = t3.getLine$1(t1._string_scanner$_position);
  107626. components.push(_this._selector$_complexSelector$1$lineBreak(lineBreak));
  107627. }
  107628. return A.SelectorList$0(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  107629. },
  107630. _selector$_complexSelector$1$lineBreak(lineBreak) {
  107631. var t4, lastCompound, initialCombinators, _0_0, t5, result, _this = this,
  107632. t1 = _this.scanner,
  107633. t2 = t1._string_scanner$_position,
  107634. componentStart = new A._SpanScannerState(t1, t2),
  107635. t3 = type$.JSArray_CssValue_Combinator_2,
  107636. combinators = A._setArrayType([], t3),
  107637. components = A._setArrayType([], type$.JSArray_ComplexSelectorComponent_2);
  107638. for (t4 = type$.CssValue_Combinator_2, lastCompound = null, initialCombinators = null; true;) {
  107639. _this.whitespace$0();
  107640. _0_0 = t1.peekChar$0();
  107641. if (43 === _0_0) {
  107642. t5 = t1._string_scanner$_position;
  107643. t1.readChar$0();
  107644. combinators.push(new A.CssValue0(B.Combinator_4QF0, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  107645. continue;
  107646. }
  107647. if (62 === _0_0) {
  107648. t5 = t1._string_scanner$_position;
  107649. t1.readChar$0();
  107650. combinators.push(new A.CssValue0(B.Combinator_Cht0, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  107651. continue;
  107652. }
  107653. if (126 === _0_0) {
  107654. t5 = t1._string_scanner$_position;
  107655. t1.readChar$0();
  107656. combinators.push(new A.CssValue0(B.Combinator_Htt0, _this.spanFrom$1(new A._SpanScannerState(t1, t5)), t4));
  107657. continue;
  107658. }
  107659. if (_0_0 == null)
  107660. break;
  107661. if (91 !== _0_0)
  107662. if (46 !== _0_0)
  107663. if (35 !== _0_0)
  107664. if (37 !== _0_0)
  107665. if (58 !== _0_0)
  107666. if (38 !== _0_0)
  107667. if (42 !== _0_0)
  107668. if (124 !== _0_0)
  107669. t5 = _this.lookingAtIdentifier$0();
  107670. else
  107671. t5 = true;
  107672. else
  107673. t5 = true;
  107674. else
  107675. t5 = true;
  107676. else
  107677. t5 = true;
  107678. else
  107679. t5 = true;
  107680. else
  107681. t5 = true;
  107682. else
  107683. t5 = true;
  107684. else
  107685. t5 = true;
  107686. if (t5) {
  107687. if (lastCompound != null) {
  107688. t5 = _this.spanFrom$1(componentStart);
  107689. result = A.List_List$from(combinators, false, t4);
  107690. result.fixed$length = Array;
  107691. result.immutable$list = Array;
  107692. components.push(new A.ComplexSelectorComponent0(lastCompound, result, t5));
  107693. } else if (combinators.length !== 0) {
  107694. componentStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  107695. initialCombinators = combinators;
  107696. }
  107697. lastCompound = _this._selector$_compoundSelector$0();
  107698. combinators = A._setArrayType([], t3);
  107699. if (t1.peekChar$0() === 38)
  107700. t1.error$1(0, string$.x22x26__ma);
  107701. continue;
  107702. }
  107703. break;
  107704. }
  107705. if (lastCompound != null) {
  107706. t3 = _this.spanFrom$1(componentStart);
  107707. components.push(new A.ComplexSelectorComponent0(lastCompound, A.List_List$unmodifiable(combinators, t4), t3));
  107708. } else if (combinators.length !== 0)
  107709. initialCombinators = combinators;
  107710. else
  107711. t1.error$1(0, "expected selector.");
  107712. t3 = initialCombinators == null ? B.List_empty14 : initialCombinators;
  107713. return A.ComplexSelector$0(t3, components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)), lineBreak);
  107714. },
  107715. _selector$_complexSelector$0() {
  107716. return this._selector$_complexSelector$1$lineBreak(false);
  107717. },
  107718. _selector$_compoundSelector$0() {
  107719. var t3, _this = this,
  107720. t1 = _this.scanner,
  107721. t2 = t1._string_scanner$_position,
  107722. components = A._setArrayType([_this._selector$_simpleSelector$0()], type$.JSArray_SimpleSelector_2);
  107723. while (true) {
  107724. t3 = t1.peekChar$0();
  107725. if (!(t3 === 42 || t3 === 91 || t3 === 46 || t3 === 35 || t3 === 37 || t3 === 58))
  107726. break;
  107727. components.push(_this._selector$_simpleSelector$1$allowParent(false));
  107728. }
  107729. return A.CompoundSelector$0(components, _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  107730. },
  107731. _selector$_simpleSelector$1$allowParent(allowParent) {
  107732. var t2, $name, text, t3, suffix, _this = this,
  107733. t1 = _this.scanner,
  107734. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  107735. if (allowParent == null)
  107736. allowParent = _this._selector$_allowParent;
  107737. switch (t1.peekChar$0()) {
  107738. case 91:
  107739. return _this._selector$_attributeSelector$0();
  107740. case 46:
  107741. t2 = t1._string_scanner$_position;
  107742. t1.expectChar$1(46);
  107743. return new A.ClassSelector0(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  107744. case 35:
  107745. t2 = t1._string_scanner$_position;
  107746. t1.expectChar$1(35);
  107747. return new A.IDSelector0(_this.identifier$0(), _this.spanFrom$1(new A._SpanScannerState(t1, t2)));
  107748. case 37:
  107749. t2 = t1._string_scanner$_position;
  107750. t1.expectChar$1(37);
  107751. $name = _this.identifier$0();
  107752. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  107753. if (!_this._selector$_allowPlaceholder)
  107754. _this.error$2(0, string$.Placeh, t1.spanFrom$1(start));
  107755. return new A.PlaceholderSelector0($name, t2);
  107756. case 58:
  107757. return _this._selector$_pseudoSelector$0();
  107758. case 38:
  107759. t2 = t1._string_scanner$_position;
  107760. t1.expectChar$1(38);
  107761. if (_this.lookingAtIdentifierBody$0()) {
  107762. text = new A.StringBuffer("");
  107763. _this._parser0$_identifierBody$1(text);
  107764. if (text._contents.length === 0)
  107765. t1.error$1(0, "Expected identifier body.");
  107766. t3 = text._contents;
  107767. suffix = t3.charCodeAt(0) == 0 ? t3 : t3;
  107768. } else
  107769. suffix = null;
  107770. t2 = _this.spanFrom$1(new A._SpanScannerState(t1, t2));
  107771. if (!allowParent)
  107772. _this.error$2(0, "Parent selectors aren't allowed here.", t1.spanFrom$1(start));
  107773. return new A.ParentSelector0(suffix, t2);
  107774. default:
  107775. return _this._selector$_typeOrUniversalSelector$0();
  107776. }
  107777. },
  107778. _selector$_simpleSelector$0() {
  107779. return this._selector$_simpleSelector$1$allowParent(null);
  107780. },
  107781. _selector$_attributeSelector$0() {
  107782. var $name, operator, next, value, modifier, _this = this, _null = null,
  107783. t1 = _this.scanner,
  107784. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  107785. t1.expectChar$1(91);
  107786. _this.whitespace$0();
  107787. $name = _this._selector$_attributeName$0();
  107788. _this.whitespace$0();
  107789. if (t1.scanChar$1(93))
  107790. return new A.AttributeSelector0($name, _null, _null, _null, _this.spanFrom$1(start));
  107791. operator = _this._selector$_attributeOperator$0();
  107792. _this.whitespace$0();
  107793. next = t1.peekChar$0();
  107794. value = next === 39 || next === 34 ? _this.string$0() : _this.identifier$0();
  107795. _this.whitespace$0();
  107796. next = t1.peekChar$0();
  107797. modifier = next != null && A.CharacterExtension_get_isAlphabetic0(next) ? A.Primitives_stringFromCharCode(t1.readChar$0()) : _null;
  107798. t1.expectChar$1(93);
  107799. return new A.AttributeSelector0($name, operator, value, modifier, _this.spanFrom$1(start));
  107800. },
  107801. _selector$_attributeName$0() {
  107802. var nameOrNamespace, _this = this,
  107803. t1 = _this.scanner;
  107804. if (t1.scanChar$1(42)) {
  107805. t1.expectChar$1(124);
  107806. return new A.QualifiedName0(_this.identifier$0(), "*");
  107807. }
  107808. if (t1.scanChar$1(124))
  107809. return new A.QualifiedName0(_this.identifier$0(), "");
  107810. nameOrNamespace = _this.identifier$0();
  107811. if (t1.peekChar$0() !== 124 || t1.peekChar$1(1) === 61)
  107812. return new A.QualifiedName0(nameOrNamespace, null);
  107813. t1.readChar$0();
  107814. return new A.QualifiedName0(_this.identifier$0(), nameOrNamespace);
  107815. },
  107816. _selector$_attributeOperator$0() {
  107817. var t1 = this.scanner,
  107818. t2 = t1._string_scanner$_position;
  107819. switch (t1.readChar$0()) {
  107820. case 61:
  107821. return B.AttributeOperator_ES60;
  107822. case 126:
  107823. t1.expectChar$1(61);
  107824. return B.AttributeOperator_r600;
  107825. case 124:
  107826. t1.expectChar$1(61);
  107827. return B.AttributeOperator_ivT0;
  107828. case 94:
  107829. t1.expectChar$1(61);
  107830. return B.AttributeOperator_eot0;
  107831. case 36:
  107832. t1.expectChar$1(61);
  107833. return B.AttributeOperator_BGd0;
  107834. case 42:
  107835. t1.expectChar$1(61);
  107836. return B.AttributeOperator_8aB0;
  107837. default:
  107838. t1.error$2$position(0, 'Expected "]".', t2);
  107839. }
  107840. },
  107841. _selector$_pseudoSelector$0() {
  107842. var element, $name, unvendored, selector, argument, t2, _this = this, _null = null,
  107843. t1 = _this.scanner,
  107844. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  107845. t1.expectChar$1(58);
  107846. element = t1.scanChar$1(58);
  107847. $name = _this.identifier$0();
  107848. if (!t1.scanChar$1(40))
  107849. return A.PseudoSelector$0($name, _this.spanFrom$1(start), _null, element, _null);
  107850. _this.whitespace$0();
  107851. unvendored = A.unvendor0($name);
  107852. if (element)
  107853. if ($._selectorPseudoElements0.contains$1(0, unvendored)) {
  107854. selector = _this._selector$_selectorList$0();
  107855. argument = _null;
  107856. } else {
  107857. argument = _this.declarationValue$1$allowEmpty(true);
  107858. selector = _null;
  107859. }
  107860. else if ($._selectorPseudoClasses0.contains$1(0, unvendored)) {
  107861. selector = _this._selector$_selectorList$0();
  107862. argument = _null;
  107863. } else if (unvendored === "nth-child" || unvendored === "nth-last-child") {
  107864. argument = _this._selector$_aNPlusB$0();
  107865. _this.whitespace$0();
  107866. t2 = t1.peekChar$1(-1);
  107867. if ((t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12) && t1.peekChar$0() !== 41) {
  107868. _this.expectIdentifier$1("of");
  107869. argument += " of";
  107870. _this.whitespace$0();
  107871. selector = _this._selector$_selectorList$0();
  107872. } else
  107873. selector = _null;
  107874. } else {
  107875. argument = B.JSString_methods.trimRight$0(_this.declarationValue$1$allowEmpty(true));
  107876. selector = _null;
  107877. }
  107878. t1.expectChar$1(41);
  107879. return A.PseudoSelector$0($name, _this.spanFrom$1(start), argument, element, selector);
  107880. },
  107881. _selector$_aNPlusB$0() {
  107882. var t1, _0_0, t2, $self, next, _this = this;
  107883. $label0$0: {
  107884. t1 = _this.scanner;
  107885. _0_0 = t1.peekChar$0();
  107886. if (101 === _0_0 || 69 === _0_0) {
  107887. _this.expectIdentifier$1("even");
  107888. return "even";
  107889. }
  107890. if (111 === _0_0 || 79 === _0_0) {
  107891. _this.expectIdentifier$1("odd");
  107892. return "odd";
  107893. }
  107894. if (43 === _0_0 || 45 === _0_0) {
  107895. t2 = "" + A.Primitives_stringFromCharCode(t1.readChar$0());
  107896. break $label0$0;
  107897. }
  107898. t2 = "";
  107899. }
  107900. $self = t1.peekChar$0();
  107901. if ($self != null && $self >= 48 && $self <= 57) {
  107902. do {
  107903. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  107904. $self = t1.peekChar$0();
  107905. } while ($self != null && $self >= 48 && $self <= 57);
  107906. _this.whitespace$0();
  107907. if (!_this.scanIdentChar$1(110))
  107908. return t2.charCodeAt(0) == 0 ? t2 : t2;
  107909. } else
  107910. _this.expectIdentChar$1(110);
  107911. t2 += A.Primitives_stringFromCharCode(110);
  107912. _this.whitespace$0();
  107913. next = t1.peekChar$0();
  107914. if (next !== 43 && next !== 45)
  107915. return t2.charCodeAt(0) == 0 ? t2 : t2;
  107916. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  107917. _this.whitespace$0();
  107918. $self = t1.peekChar$0();
  107919. if (!($self != null && $self >= 48 && $self <= 57))
  107920. t1.error$1(0, "Expected a number.");
  107921. do {
  107922. t2 += A.Primitives_stringFromCharCode(t1.readChar$0());
  107923. $self = t1.peekChar$0();
  107924. } while ($self != null && $self >= 48 && $self <= 57);
  107925. return t2.charCodeAt(0) == 0 ? t2 : t2;
  107926. },
  107927. _selector$_typeOrUniversalSelector$0() {
  107928. var nameOrNamespace, _this = this,
  107929. t1 = _this.scanner,
  107930. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  107931. if (t1.scanChar$1(42)) {
  107932. if (!t1.scanChar$1(124))
  107933. return new A.UniversalSelector0(null, _this.spanFrom$1(start));
  107934. return t1.scanChar$1(42) ? new A.UniversalSelector0("*", _this.spanFrom$1(start)) : new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), "*"), _this.spanFrom$1(start));
  107935. } else if (t1.scanChar$1(124))
  107936. return t1.scanChar$1(42) ? new A.UniversalSelector0("", _this.spanFrom$1(start)) : new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), ""), _this.spanFrom$1(start));
  107937. nameOrNamespace = _this.identifier$0();
  107938. if (!t1.scanChar$1(124))
  107939. return new A.TypeSelector0(new A.QualifiedName0(nameOrNamespace, null), _this.spanFrom$1(start));
  107940. else if (t1.scanChar$1(42))
  107941. return new A.UniversalSelector0(nameOrNamespace, _this.spanFrom$1(start));
  107942. else
  107943. return new A.TypeSelector0(new A.QualifiedName0(_this.identifier$0(), nameOrNamespace), _this.spanFrom$1(start));
  107944. }
  107945. };
  107946. A.SelectorParser_parse_closure0.prototype = {
  107947. call$0() {
  107948. var t1 = this.$this,
  107949. selector = t1._selector$_selectorList$0();
  107950. t1 = t1.scanner;
  107951. if (t1._string_scanner$_position !== t1.string.length)
  107952. t1.error$1(0, "expected selector.");
  107953. return selector;
  107954. },
  107955. $signature: 553
  107956. };
  107957. A.SelectorParser_parseCompoundSelector_closure0.prototype = {
  107958. call$0() {
  107959. var t1 = this.$this,
  107960. compound = t1._selector$_compoundSelector$0();
  107961. t1 = t1.scanner;
  107962. if (t1._string_scanner$_position !== t1.string.length)
  107963. t1.error$1(0, "expected selector.");
  107964. return compound;
  107965. },
  107966. $signature: 554
  107967. };
  107968. A.SelectorSearchVisitor0.prototype = {
  107969. visitAttributeSelector$1(attribute) {
  107970. return null;
  107971. },
  107972. visitClassSelector$1(klass) {
  107973. return null;
  107974. },
  107975. visitIDSelector$1(id) {
  107976. return null;
  107977. },
  107978. visitParentSelector$1(placeholder) {
  107979. return null;
  107980. },
  107981. visitPlaceholderSelector$1(placeholder) {
  107982. return null;
  107983. },
  107984. visitTypeSelector$1(type) {
  107985. return null;
  107986. },
  107987. visitUniversalSelector$1(universal) {
  107988. return null;
  107989. },
  107990. visitComplexSelector$1(complex) {
  107991. return A.IterableExtension_search0(complex.components, new A.SelectorSearchVisitor_visitComplexSelector_closure0(this));
  107992. },
  107993. visitCompoundSelector$1(compound) {
  107994. return A.IterableExtension_search0(compound.components, new A.SelectorSearchVisitor_visitCompoundSelector_closure0(this));
  107995. },
  107996. visitPseudoSelector$1(pseudo) {
  107997. return A.NullableExtension_andThen0(pseudo.selector, this.get$visitSelectorList());
  107998. },
  107999. visitSelectorList$1(list) {
  108000. return A.IterableExtension_search0(list.components, this.get$visitComplexSelector());
  108001. }
  108002. };
  108003. A.SelectorSearchVisitor_visitComplexSelector_closure0.prototype = {
  108004. call$1(component) {
  108005. return this.$this.visitCompoundSelector$1(component.selector);
  108006. },
  108007. $signature() {
  108008. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor0.T?(ComplexSelectorComponent0)");
  108009. }
  108010. };
  108011. A.SelectorSearchVisitor_visitCompoundSelector_closure0.prototype = {
  108012. call$1(simple) {
  108013. return simple.accept$1(this.$this);
  108014. },
  108015. $signature() {
  108016. return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor0.T?(SimpleSelector0)");
  108017. }
  108018. };
  108019. A.serialize_closure0.prototype = {
  108020. call$1(codeUnit) {
  108021. return codeUnit > 127;
  108022. },
  108023. $signature: 48
  108024. };
  108025. A._SerializeVisitor0.prototype = {
  108026. visitCssStylesheet$1(node) {
  108027. var t1, t2, t3, t4, t5, t6, t7, previous, previous0, t8, _this = this;
  108028. 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$.CssParentNode_2, t6 = _this._serialize0$_buffer, t7 = _this._lineFeed.text, previous = null; t1.moveNext$0();) {
  108029. previous0 = t1.get$current(t1);
  108030. if (t2)
  108031. t8 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  108032. else
  108033. t8 = false;
  108034. if (t8)
  108035. continue;
  108036. if (previous != null) {
  108037. if (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0))
  108038. t6.writeCharCode$1(59);
  108039. if (_this._serialize0$_isTrailingComment$2(previous0, previous)) {
  108040. if (t4)
  108041. t6.writeCharCode$1(32);
  108042. } else {
  108043. if (t4)
  108044. t6.write$1(0, t7);
  108045. if (previous.get$isGroupEnd())
  108046. if (t4)
  108047. t6.write$1(0, t7);
  108048. }
  108049. }
  108050. previous0.accept$1(_this);
  108051. previous = previous0;
  108052. }
  108053. if (previous != null)
  108054. t1 = (t5._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0)) && t4;
  108055. else
  108056. t1 = false;
  108057. if (t1)
  108058. t6.writeCharCode$1(59);
  108059. },
  108060. visitCssComment$1(node) {
  108061. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssComment_closure0(this, node));
  108062. },
  108063. visitCssAtRule$1(node) {
  108064. var t1, _this = this;
  108065. _this._serialize0$_writeIndentation$0();
  108066. t1 = _this._serialize0$_buffer;
  108067. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssAtRule_closure0(_this, node));
  108068. if (!node.isChildless) {
  108069. if (_this._serialize0$_style !== B.OutputStyle_10)
  108070. t1.writeCharCode$1(32);
  108071. _this._serialize0$_visitChildren$1(node);
  108072. }
  108073. },
  108074. visitCssMediaRule$1(node) {
  108075. var t1, _this = this;
  108076. _this._serialize0$_writeIndentation$0();
  108077. t1 = _this._serialize0$_buffer;
  108078. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssMediaRule_closure0(_this, node));
  108079. if (_this._serialize0$_style !== B.OutputStyle_10)
  108080. t1.writeCharCode$1(32);
  108081. _this._serialize0$_visitChildren$1(node);
  108082. },
  108083. visitCssImport$1(node) {
  108084. this._serialize0$_writeIndentation$0();
  108085. this._serialize0$_buffer.forSpan$2(node.span, new A._SerializeVisitor_visitCssImport_closure0(this, node));
  108086. },
  108087. _serialize0$_writeImportUrl$1(url) {
  108088. var urlContents, maybeQuote, _this = this;
  108089. if (_this._serialize0$_style !== B.OutputStyle_10 || url.charCodeAt(0) !== 117) {
  108090. _this._serialize0$_buffer.write$1(0, url);
  108091. return;
  108092. }
  108093. urlContents = B.JSString_methods.substring$2(url, 4, url.length - 1);
  108094. maybeQuote = urlContents.charCodeAt(0);
  108095. if (maybeQuote === 39 || maybeQuote === 34)
  108096. _this._serialize0$_buffer.write$1(0, urlContents);
  108097. else
  108098. _this._serialize0$_visitQuotedString$1(urlContents);
  108099. },
  108100. visitCssKeyframeBlock$1(node) {
  108101. var t1, _this = this;
  108102. _this._serialize0$_writeIndentation$0();
  108103. t1 = _this._serialize0$_buffer;
  108104. t1.forSpan$2(node.selector.span, new A._SerializeVisitor_visitCssKeyframeBlock_closure0(_this, node));
  108105. if (_this._serialize0$_style !== B.OutputStyle_10)
  108106. t1.writeCharCode$1(32);
  108107. _this._serialize0$_visitChildren$1(node);
  108108. },
  108109. _serialize0$_visitMediaQuery$1(query) {
  108110. var modifier, t1, _1_0, type, _2_0, condition, operator, t2, _this = this,
  108111. _0_0 = query.modifier;
  108112. if (_0_0 != null) {
  108113. modifier = _0_0;
  108114. t1 = true;
  108115. } else {
  108116. modifier = null;
  108117. t1 = false;
  108118. }
  108119. if (t1) {
  108120. t1 = _this._serialize0$_buffer;
  108121. t1.write$1(0, modifier);
  108122. t1.writeCharCode$1(32);
  108123. }
  108124. _1_0 = query.type;
  108125. if (_1_0 != null) {
  108126. type = _1_0;
  108127. t1 = true;
  108128. } else {
  108129. type = null;
  108130. t1 = false;
  108131. }
  108132. if (t1) {
  108133. t1 = _this._serialize0$_buffer;
  108134. t1.write$1(0, type);
  108135. if (query.conditions.length !== 0)
  108136. t1.write$1(0, " and ");
  108137. }
  108138. _2_0 = query.conditions;
  108139. if (_2_0.length === 1)
  108140. t1 = B.JSString_methods.startsWith$1(_2_0[0], "(not ");
  108141. else
  108142. t1 = false;
  108143. if (t1) {
  108144. t1 = _this._serialize0$_buffer;
  108145. t1.write$1(0, "not ");
  108146. condition = B.JSArray_methods.get$first(_2_0);
  108147. t1.write$1(0, B.JSString_methods.substring$2(condition, 5, condition.length - 1));
  108148. } else {
  108149. operator = query.conjunction ? "and" : "or";
  108150. t1 = _this._serialize0$_style === B.OutputStyle_10 ? operator + " " : " " + operator + " ";
  108151. t2 = _this._serialize0$_buffer;
  108152. _this._serialize0$_writeBetween$3(_2_0, t1, t2.get$write(t2));
  108153. }
  108154. },
  108155. visitCssStyleRule$1(node) {
  108156. var t1, _this = this;
  108157. _this._serialize0$_writeIndentation$0();
  108158. t1 = _this._serialize0$_buffer;
  108159. t1.forSpan$2(node._style_rule0$_selector._box0$_inner.value.span, new A._SerializeVisitor_visitCssStyleRule_closure0(_this, node));
  108160. if (_this._serialize0$_style !== B.OutputStyle_10)
  108161. t1.writeCharCode$1(32);
  108162. _this._serialize0$_visitChildren$1(node);
  108163. },
  108164. visitCssSupportsRule$1(node) {
  108165. var t1, _this = this;
  108166. _this._serialize0$_writeIndentation$0();
  108167. t1 = _this._serialize0$_buffer;
  108168. t1.forSpan$2(node.span, new A._SerializeVisitor_visitCssSupportsRule_closure0(_this, node));
  108169. if (_this._serialize0$_style !== B.OutputStyle_10)
  108170. t1.writeCharCode$1(32);
  108171. _this._serialize0$_visitChildren$1(node);
  108172. },
  108173. visitCssDeclaration$1(node) {
  108174. var error, stackTrace, error0, stackTrace0, t1, t2, exception, _this = this;
  108175. _this._serialize0$_writeIndentation$0();
  108176. t1 = node.name;
  108177. _this._serialize0$_write$1(t1);
  108178. t2 = _this._serialize0$_buffer;
  108179. t2.writeCharCode$1(58);
  108180. if (J.startsWith$1$s(t1.value, "--") && node.parsedAsCustomProperty)
  108181. t2.forSpan$2(node.value.span, new A._SerializeVisitor_visitCssDeclaration_closure1(_this, node));
  108182. else {
  108183. if (_this._serialize0$_style !== B.OutputStyle_10)
  108184. t2.writeCharCode$1(32);
  108185. try {
  108186. t2.forSpan$2(node.valueSpanForMap, new A._SerializeVisitor_visitCssDeclaration_closure2(_this, node));
  108187. } catch (exception) {
  108188. t1 = A.unwrapException(exception);
  108189. if (t1 instanceof A.MultiSpanSassScriptException0) {
  108190. error = t1;
  108191. stackTrace = A.getTraceFromException(exception);
  108192. A.throwWithTrace0(A.MultiSpanSassException$0(error.message, node.value.span, error.primaryLabel, error.secondarySpans, null), error, stackTrace);
  108193. } else if (t1 instanceof A.SassScriptException0) {
  108194. error0 = t1;
  108195. stackTrace0 = A.getTraceFromException(exception);
  108196. t1 = error0.message;
  108197. A.throwWithTrace0(new A.SassException0(B.Set_empty, t1, node.value.span), error0, stackTrace0);
  108198. } else
  108199. throw exception;
  108200. }
  108201. }
  108202. },
  108203. _serialize0$_writeFoldedValue$1(node) {
  108204. var t1, t2, next, t3,
  108205. scanner = A.StringScanner$(type$.SassString_2._as(node.value.value)._string0$_text, null, null);
  108206. for (t1 = scanner.string.length, t2 = this._serialize0$_buffer; scanner._string_scanner$_position !== t1;) {
  108207. next = scanner.readChar$0();
  108208. if (next !== 10) {
  108209. t2.writeCharCode$1(next);
  108210. continue;
  108211. }
  108212. t2.writeCharCode$1(32);
  108213. while (true) {
  108214. t3 = scanner.peekChar$0();
  108215. if (!(t3 === 32 || t3 === 9 || t3 === 10 || t3 === 13 || t3 === 12))
  108216. break;
  108217. scanner.readChar$0();
  108218. }
  108219. }
  108220. },
  108221. _serialize0$_writeReindentedValue$1(node) {
  108222. var _0_0, t1, _this = this,
  108223. value = type$.SassString_2._as(node.value.value)._string0$_text;
  108224. $label0$0: {
  108225. _0_0 = _this._serialize0$_minimumIndentation$1(value);
  108226. if (_0_0 == null) {
  108227. _this._serialize0$_buffer.write$1(0, value);
  108228. break $label0$0;
  108229. }
  108230. if (-1 === _0_0) {
  108231. t1 = _this._serialize0$_buffer;
  108232. t1.write$1(0, A.trimAsciiRight0(value, true));
  108233. t1.writeCharCode$1(32);
  108234. break $label0$0;
  108235. }
  108236. t1 = node.name.span;
  108237. t1 = t1.get$start(t1);
  108238. _this._serialize0$_writeWithIndent$2(value, Math.min(_0_0, t1.file.getColumn$1(t1.offset)));
  108239. }
  108240. },
  108241. _serialize0$_minimumIndentation$1(text) {
  108242. var character, t2, min, next, min0,
  108243. scanner = A.LineScanner$(text),
  108244. t1 = scanner.string.length;
  108245. while (true) {
  108246. if (scanner._string_scanner$_position !== t1) {
  108247. character = scanner.super$StringScanner$readChar();
  108248. scanner._adjustLineAndColumn$1(character);
  108249. t2 = character !== 10;
  108250. } else
  108251. t2 = false;
  108252. if (!t2)
  108253. break;
  108254. }
  108255. if (scanner._string_scanner$_position === t1)
  108256. return scanner.peekChar$1(-1) === 10 ? -1 : null;
  108257. for (min = null; scanner._string_scanner$_position !== t1;) {
  108258. for (; scanner._string_scanner$_position !== t1;) {
  108259. next = scanner.peekChar$0();
  108260. if (next !== 32 && next !== 9)
  108261. break;
  108262. scanner._adjustLineAndColumn$1(scanner.super$StringScanner$readChar());
  108263. }
  108264. if (scanner._string_scanner$_position === t1 || scanner.scanChar$1(10))
  108265. continue;
  108266. min0 = scanner._line_scanner$_column;
  108267. min = min == null ? min0 : Math.min(min, min0);
  108268. while (true) {
  108269. if (scanner._string_scanner$_position !== t1) {
  108270. character = scanner.super$StringScanner$readChar();
  108271. scanner._adjustLineAndColumn$1(character);
  108272. t2 = character !== 10;
  108273. } else
  108274. t2 = false;
  108275. if (!t2)
  108276. break;
  108277. }
  108278. }
  108279. return min == null ? -1 : min;
  108280. },
  108281. _serialize0$_writeWithIndent$2(text, minimumIndentation) {
  108282. var t1, t2, t3, character, lineStart, newlines, end,
  108283. scanner = A.LineScanner$(text);
  108284. for (t1 = scanner.string, t2 = t1.length, t3 = this._serialize0$_buffer; scanner._string_scanner$_position !== t2;) {
  108285. character = scanner.super$StringScanner$readChar();
  108286. scanner._adjustLineAndColumn$1(character);
  108287. if (character === 10)
  108288. break;
  108289. t3.writeCharCode$1(character);
  108290. }
  108291. for (; true;) {
  108292. lineStart = scanner._string_scanner$_position;
  108293. for (newlines = 1; true;) {
  108294. if (scanner._string_scanner$_position === t2) {
  108295. t3.writeCharCode$1(32);
  108296. return;
  108297. }
  108298. $label0$2: {
  108299. character = scanner.super$StringScanner$readChar();
  108300. scanner._adjustLineAndColumn$1(character);
  108301. if (32 === character || 9 === character)
  108302. continue;
  108303. if (10 === character) {
  108304. lineStart = scanner._string_scanner$_position;
  108305. ++newlines;
  108306. break $label0$2;
  108307. }
  108308. break;
  108309. }
  108310. }
  108311. this._serialize0$_writeTimes$2(10, newlines);
  108312. this._serialize0$_writeIndentation$0();
  108313. end = scanner._string_scanner$_position;
  108314. t3.write$1(0, B.JSString_methods.substring$2(t1, lineStart + minimumIndentation, end));
  108315. for (; true;) {
  108316. if (scanner._string_scanner$_position === t2)
  108317. return;
  108318. character = scanner.super$StringScanner$readChar();
  108319. scanner._adjustLineAndColumn$1(character);
  108320. if (character === 10)
  108321. break;
  108322. t3.writeCharCode$1(character);
  108323. }
  108324. }
  108325. },
  108326. visitCalculation$1(value) {
  108327. var t2, _this = this,
  108328. t1 = _this._serialize0$_buffer;
  108329. t1.write$1(0, value.name);
  108330. t1.writeCharCode$1(40);
  108331. t2 = _this._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  108332. _this._serialize0$_writeBetween$3(value.$arguments, t2, _this.get$_serialize0$_writeCalculationValue());
  108333. t1.writeCharCode$1(41);
  108334. },
  108335. _serialize0$_writeCalculationValue$1(value) {
  108336. var _2_4, t1, _0_0, _1_0, first, rest, t2, operator, left, right, parenthesizeLeft, operatorWhitespace, parenthesizeRight, _this = this, _null = null;
  108337. $label1$1: {
  108338. _2_4 = A._InitializedCell$(new A._SerializeVisitor__writeCalculationValue_closure0(value));
  108339. t1 = value instanceof A.SassNumber0;
  108340. if (t1 && _2_4._readFinal$0() && !_this._serialize0$_inspect)
  108341. throw A.wrapException(A.SassScriptException$0(A.S(value) + " isn't a valid CSS value.", _null));
  108342. if (t1 && !isFinite(value._number1$_value)) {
  108343. $label0$0: {
  108344. _0_0 = value._number1$_value;
  108345. if (1 / 0 === _0_0) {
  108346. _this._serialize0$_buffer.write$1(0, "infinity");
  108347. break $label0$0;
  108348. }
  108349. if (-1 / 0 === _0_0) {
  108350. _this._serialize0$_buffer.write$1(0, "-infinity");
  108351. break $label0$0;
  108352. }
  108353. if (isNaN(_0_0))
  108354. _this._serialize0$_buffer.write$1(0, "NaN");
  108355. }
  108356. t1 = J.getInterceptor$x(value);
  108357. _this._serialize0$_writeCalculationUnits$2(t1.get$numeratorUnits(value), t1.get$denominatorUnits(value));
  108358. break $label1$1;
  108359. }
  108360. if (t1 && _2_4._readFinal$0()) {
  108361. _this._serialize0$_writeNumber$1(value._number1$_value);
  108362. t1 = J.getInterceptor$x(value);
  108363. _1_0 = t1.get$numeratorUnits(value);
  108364. if (_1_0.length >= 1) {
  108365. first = _1_0[0];
  108366. rest = B.JSArray_methods.sublist$1(_1_0, 1);
  108367. t2 = true;
  108368. } else {
  108369. rest = _null;
  108370. first = rest;
  108371. t2 = false;
  108372. }
  108373. if (t2) {
  108374. _this._serialize0$_buffer.write$1(0, first);
  108375. _this._serialize0$_writeCalculationUnits$2(rest, t1.get$denominatorUnits(value));
  108376. } else
  108377. _this._serialize0$_writeCalculationUnits$2(A._setArrayType([], type$.JSArray_String), t1.get$denominatorUnits(value));
  108378. break $label1$1;
  108379. }
  108380. if (value instanceof A.Value0) {
  108381. value.accept$1(_this);
  108382. break $label1$1;
  108383. }
  108384. if (value instanceof A.CalculationOperation0) {
  108385. operator = value._calculation0$_operator;
  108386. left = value._calculation0$_left;
  108387. right = value._calculation0$_right;
  108388. right = right;
  108389. t1 = true;
  108390. } else {
  108391. right = _null;
  108392. left = right;
  108393. operator = left;
  108394. t1 = false;
  108395. }
  108396. if (t1) {
  108397. parenthesizeLeft = left instanceof A.CalculationOperation0 && left._calculation0$_operator.precedence < operator.precedence;
  108398. if (parenthesizeLeft)
  108399. _this._serialize0$_buffer.writeCharCode$1(40);
  108400. _this._serialize0$_writeCalculationValue$1(left);
  108401. if (parenthesizeLeft)
  108402. _this._serialize0$_buffer.writeCharCode$1(41);
  108403. operatorWhitespace = _this._serialize0$_style !== B.OutputStyle_10 || operator.precedence === 1;
  108404. if (operatorWhitespace)
  108405. _this._serialize0$_buffer.writeCharCode$1(32);
  108406. t1 = _this._serialize0$_buffer;
  108407. t1.write$1(0, operator.operator);
  108408. if (operatorWhitespace)
  108409. t1.writeCharCode$1(32);
  108410. if (!(right instanceof A.CalculationOperation0 && _this._serialize0$_parenthesizeCalculationRhs$2(operator, right._calculation0$_operator)))
  108411. if (operator === B.CalculationOperator_OvN0) {
  108412. if (right instanceof A.SassNumber0)
  108413. t2 = isFinite(right._number1$_value) ? right.get$hasComplexUnits() : right.get$hasUnits();
  108414. else
  108415. t2 = false;
  108416. parenthesizeRight = t2;
  108417. } else
  108418. parenthesizeRight = false;
  108419. else
  108420. parenthesizeRight = true;
  108421. if (parenthesizeRight)
  108422. t1.writeCharCode$1(40);
  108423. _this._serialize0$_writeCalculationValue$1(right);
  108424. if (parenthesizeRight)
  108425. t1.writeCharCode$1(41);
  108426. }
  108427. }
  108428. },
  108429. _serialize0$_writeCalculationUnits$2(numeratorUnits, denominatorUnits) {
  108430. var t1, t2, t3, t4;
  108431. for (t1 = J.get$iterator$ax(numeratorUnits), t2 = this._serialize0$_buffer, t3 = this._serialize0$_style !== B.OutputStyle_10; t1.moveNext$0();) {
  108432. t4 = t1.get$current(t1);
  108433. if (t3)
  108434. t2.writeCharCode$1(32);
  108435. t2.writeCharCode$1(42);
  108436. if (t3)
  108437. t2.writeCharCode$1(32);
  108438. t2.writeCharCode$1(49);
  108439. t2.write$1(0, t4);
  108440. }
  108441. for (t1 = J.get$iterator$ax(denominatorUnits); t1.moveNext$0();) {
  108442. t4 = t1.get$current(t1);
  108443. if (t3)
  108444. t2.writeCharCode$1(32);
  108445. t2.writeCharCode$1(47);
  108446. if (t3)
  108447. t2.writeCharCode$1(32);
  108448. t2.writeCharCode$1(49);
  108449. t2.write$1(0, t4);
  108450. }
  108451. },
  108452. _serialize0$_parenthesizeCalculationRhs$2(outer, right) {
  108453. var t1;
  108454. $label0$0: {
  108455. if (B.CalculationOperator_OvN0 === outer) {
  108456. t1 = true;
  108457. break $label0$0;
  108458. }
  108459. if (B.CalculationOperator_IyK0 === outer) {
  108460. t1 = false;
  108461. break $label0$0;
  108462. }
  108463. t1 = right === B.CalculationOperator_IyK0 || right === B.CalculationOperator_2bx0;
  108464. break $label0$0;
  108465. }
  108466. return t1;
  108467. },
  108468. visitColor$1(value) {
  108469. var hexLength, _0_0, $name, t1, _1_0, format, opaque, t2, _3_0, _this = this;
  108470. if (_this._serialize0$_style === B.OutputStyle_10)
  108471. if (!A.fuzzyEquals0(value._color1$_alpha, 1))
  108472. _this._serialize0$_writeRgb$1(value);
  108473. else {
  108474. hexLength = _this._serialize0$_canUseShortHex$1(value) ? 4 : 7;
  108475. _0_0 = $.$get$namesByColor0().$index(0, value);
  108476. if (_0_0 != null) {
  108477. $name = _0_0;
  108478. t1 = true;
  108479. } else {
  108480. $name = null;
  108481. t1 = false;
  108482. }
  108483. if (t1 && $name.length <= hexLength)
  108484. _this._serialize0$_buffer.write$1(0, $name);
  108485. else {
  108486. t1 = _this._serialize0$_buffer;
  108487. if (_this._serialize0$_canUseShortHex$1(value)) {
  108488. t1.writeCharCode$1(35);
  108489. t1.writeCharCode$1(A.hexCharFor0(value.get$red(value) & 15));
  108490. t1.writeCharCode$1(A.hexCharFor0(value.get$green(value) & 15));
  108491. t1.writeCharCode$1(A.hexCharFor0(value.get$blue(value) & 15));
  108492. } else {
  108493. t1.writeCharCode$1(35);
  108494. _this._serialize0$_writeHexComponent$1(value.get$red(value));
  108495. _this._serialize0$_writeHexComponent$1(value.get$green(value));
  108496. _this._serialize0$_writeHexComponent$1(value.get$blue(value));
  108497. }
  108498. }
  108499. }
  108500. else {
  108501. _1_0 = value.format;
  108502. if (_1_0 != null) {
  108503. format = _1_0;
  108504. t1 = true;
  108505. } else {
  108506. format = null;
  108507. t1 = false;
  108508. }
  108509. if (t1)
  108510. $label0$0: {
  108511. if (B._ColorFormatEnum_rgbFunction0 === format) {
  108512. _this._serialize0$_writeRgb$1(value);
  108513. break $label0$0;
  108514. }
  108515. if (B._ColorFormatEnum_hslFunction0 === format) {
  108516. t1 = value._color1$_alpha;
  108517. opaque = A.fuzzyEquals0(t1, 1);
  108518. t2 = _this._serialize0$_buffer;
  108519. t2.write$1(0, opaque ? "hsl(" : "hsla(");
  108520. _this._serialize0$_writeNumber$1(value.get$hue(value));
  108521. t2.write$1(0, ", ");
  108522. _this._serialize0$_writeNumber$1(value.get$saturation(value));
  108523. t2.writeCharCode$1(37);
  108524. t2.write$1(0, ", ");
  108525. _this._serialize0$_writeNumber$1(value.get$lightness(value));
  108526. t2.writeCharCode$1(37);
  108527. if (!opaque) {
  108528. t2.write$1(0, ", ");
  108529. _this._serialize0$_writeNumber$1(t1);
  108530. }
  108531. t2.writeCharCode$1(41);
  108532. break $label0$0;
  108533. }
  108534. if (format instanceof A.SpanColorFormat0) {
  108535. _this._serialize0$_buffer.write$1(0, format._color1$_span.get$text());
  108536. break $label0$0;
  108537. }
  108538. }
  108539. else {
  108540. _3_0 = $.$get$namesByColor0().$index(0, value);
  108541. if (_3_0 != null) {
  108542. $name = _3_0;
  108543. t1 = true;
  108544. } else {
  108545. $name = null;
  108546. t1 = false;
  108547. }
  108548. if (t1 && !A.fuzzyEquals0(value._color1$_alpha, 0))
  108549. _this._serialize0$_buffer.write$1(0, $name);
  108550. else if (A.fuzzyEquals0(value._color1$_alpha, 1)) {
  108551. _this._serialize0$_buffer.writeCharCode$1(35);
  108552. _this._serialize0$_writeHexComponent$1(value.get$red(value));
  108553. _this._serialize0$_writeHexComponent$1(value.get$green(value));
  108554. _this._serialize0$_writeHexComponent$1(value.get$blue(value));
  108555. } else
  108556. _this._serialize0$_writeRgb$1(value);
  108557. }
  108558. }
  108559. },
  108560. _serialize0$_writeRgb$1(value) {
  108561. var t3,
  108562. t1 = value._color1$_alpha,
  108563. opaque = A.fuzzyEquals0(t1, 1),
  108564. t2 = this._serialize0$_buffer;
  108565. t2.write$1(0, opaque ? "rgb(" : "rgba(");
  108566. t2.write$1(0, value.get$red(value));
  108567. t3 = this._serialize0$_style === B.OutputStyle_10;
  108568. t2.write$1(0, t3 ? "," : ", ");
  108569. t2.write$1(0, value.get$green(value));
  108570. t2.write$1(0, t3 ? "," : ", ");
  108571. t2.write$1(0, value.get$blue(value));
  108572. if (!opaque) {
  108573. t2.write$1(0, t3 ? "," : ", ");
  108574. this._serialize0$_writeNumber$1(t1);
  108575. }
  108576. t2.writeCharCode$1(41);
  108577. },
  108578. _serialize0$_canUseShortHex$1(color) {
  108579. var t1 = color.get$red(color);
  108580. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  108581. t1 = color.get$green(color);
  108582. if ((t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4)) {
  108583. t1 = color.get$blue(color);
  108584. t1 = (t1 & 15) === B.JSInt_methods._shrOtherPositive$1(t1, 4);
  108585. } else
  108586. t1 = false;
  108587. } else
  108588. t1 = false;
  108589. return t1;
  108590. },
  108591. _serialize0$_writeHexComponent$1(color) {
  108592. var t1 = this._serialize0$_buffer;
  108593. t1.writeCharCode$1(A.hexCharFor0(B.JSInt_methods._shrOtherPositive$1(color, 4)));
  108594. t1.writeCharCode$1(A.hexCharFor0(color & 15));
  108595. },
  108596. visitList$1(value) {
  108597. var t2, t3, singleton, t4, t5, _this = this,
  108598. t1 = value._list1$_hasBrackets;
  108599. if (t1)
  108600. _this._serialize0$_buffer.writeCharCode$1(91);
  108601. else if (value._list1$_contents.length === 0) {
  108602. if (!_this._serialize0$_inspect)
  108603. throw A.wrapException(A.SassScriptException$0("() isn't a valid CSS value.", null));
  108604. _this._serialize0$_buffer.write$1(0, "()");
  108605. return;
  108606. }
  108607. t2 = _this._serialize0$_inspect;
  108608. if (t2)
  108609. if (value._list1$_contents.length === 1) {
  108610. t3 = value._list1$_separator;
  108611. t3 = t3 === B.ListSeparator_rXA0 || t3 === B.ListSeparator_zg90;
  108612. singleton = t3;
  108613. } else
  108614. singleton = false;
  108615. else
  108616. singleton = false;
  108617. if (singleton && !t1)
  108618. _this._serialize0$_buffer.writeCharCode$1(40);
  108619. t3 = value._list1$_contents;
  108620. t3 = t2 ? t3 : new A.WhereIterable(t3, new A._SerializeVisitor_visitList_closure2(), A._arrayInstanceType(t3)._eval$1("WhereIterable<1>"));
  108621. t4 = value._list1$_separator;
  108622. t5 = _this._serialize0$_separatorString$1(t4);
  108623. _this._serialize0$_writeBetween$3(t3, t5, t2 ? new A._SerializeVisitor_visitList_closure3(_this, value) : new A._SerializeVisitor_visitList_closure4(_this));
  108624. if (singleton) {
  108625. t2 = _this._serialize0$_buffer;
  108626. t2.write$1(0, t4.separator);
  108627. if (!t1)
  108628. t2.writeCharCode$1(41);
  108629. }
  108630. if (t1)
  108631. _this._serialize0$_buffer.writeCharCode$1(93);
  108632. },
  108633. _serialize0$_separatorString$1(separator) {
  108634. var t1;
  108635. $label0$0: {
  108636. if (B.ListSeparator_rXA0 === separator) {
  108637. t1 = this._serialize0$_style === B.OutputStyle_10 ? "," : ", ";
  108638. break $label0$0;
  108639. }
  108640. if (B.ListSeparator_zg90 === separator) {
  108641. t1 = this._serialize0$_style === B.OutputStyle_10 ? "/" : " / ";
  108642. break $label0$0;
  108643. }
  108644. if (B.ListSeparator_EVt0 === separator) {
  108645. t1 = " ";
  108646. break $label0$0;
  108647. }
  108648. t1 = "";
  108649. break $label0$0;
  108650. }
  108651. return t1;
  108652. },
  108653. _serialize0$_elementNeedsParens$2(separator, value) {
  108654. var t1;
  108655. $label1$1: {
  108656. if (value instanceof A.SassList0 && value._list1$_contents.length > 1 && !value._list1$_hasBrackets) {
  108657. $label0$0: {
  108658. if (B.ListSeparator_rXA0 === separator) {
  108659. t1 = value._list1$_separator === B.ListSeparator_rXA0;
  108660. break $label0$0;
  108661. }
  108662. if (B.ListSeparator_zg90 === separator) {
  108663. t1 = value._list1$_separator;
  108664. t1 = t1 === B.ListSeparator_rXA0 || t1 === B.ListSeparator_zg90;
  108665. break $label0$0;
  108666. }
  108667. t1 = value._list1$_separator !== B.ListSeparator_undecided_null_undecided0;
  108668. break $label0$0;
  108669. }
  108670. break $label1$1;
  108671. }
  108672. t1 = false;
  108673. break $label1$1;
  108674. }
  108675. return t1;
  108676. },
  108677. visitMap$1(map) {
  108678. var t1, t2, _this = this;
  108679. if (!_this._serialize0$_inspect)
  108680. throw A.wrapException(A.SassScriptException$0(map.toString$0(0) + " isn't a valid CSS value.", null));
  108681. t1 = _this._serialize0$_buffer;
  108682. t1.writeCharCode$1(40);
  108683. t2 = map._map0$_contents;
  108684. _this._serialize0$_writeBetween$3(t2.get$entries(t2), ", ", new A._SerializeVisitor_visitMap_closure0(_this));
  108685. t1.writeCharCode$1(41);
  108686. },
  108687. _serialize0$_writeMapElement$1(value) {
  108688. var needsParens = value instanceof A.SassList0 && value._list1$_separator === B.ListSeparator_rXA0 && !value._list1$_hasBrackets;
  108689. if (needsParens)
  108690. this._serialize0$_buffer.writeCharCode$1(40);
  108691. value.accept$1(this);
  108692. if (needsParens)
  108693. this._serialize0$_buffer.writeCharCode$1(41);
  108694. },
  108695. visitNumber$1(value) {
  108696. var before, after, t1, _1_0, first, _this = this, _null = null,
  108697. _0_0 = value.asSlash;
  108698. if (type$.Record_2_nullable_Object_and_nullable_Object._is(_0_0)) {
  108699. before = _0_0._0;
  108700. after = _0_0._1;
  108701. t1 = true;
  108702. } else {
  108703. after = _null;
  108704. before = after;
  108705. t1 = false;
  108706. }
  108707. if (t1) {
  108708. _this.visitNumber$1(before);
  108709. _this._serialize0$_buffer.writeCharCode$1(47);
  108710. _this.visitNumber$1(after);
  108711. return;
  108712. }
  108713. t1 = value._number1$_value;
  108714. if (!isFinite(t1)) {
  108715. _this.visitCalculation$1(new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  108716. return;
  108717. }
  108718. if (value.get$hasComplexUnits()) {
  108719. if (!_this._serialize0$_inspect)
  108720. throw A.wrapException(A.SassScriptException$0(value.toString$0(0) + " isn't a valid CSS value.", _null));
  108721. _this.visitCalculation$1(new A.SassCalculation0("calc", A.List_List$unmodifiable(A._setArrayType([value], type$.JSArray_Object), type$.Object)));
  108722. } else {
  108723. _this._serialize0$_writeNumber$1(t1);
  108724. _1_0 = value.get$numeratorUnits(value);
  108725. if (_1_0.length === 1) {
  108726. first = _1_0[0];
  108727. t1 = true;
  108728. } else {
  108729. first = _null;
  108730. t1 = false;
  108731. }
  108732. if (t1)
  108733. _this._serialize0$_buffer.write$1(0, first);
  108734. }
  108735. },
  108736. _serialize0$_writeNumber$1(number) {
  108737. var integer, t1, text, _this = this,
  108738. _0_0 = A.fuzzyAsInt0(number);
  108739. if (_0_0 != null) {
  108740. integer = _0_0;
  108741. t1 = true;
  108742. } else {
  108743. integer = null;
  108744. t1 = false;
  108745. }
  108746. if (t1) {
  108747. _this._serialize0$_buffer.write$1(0, _this._serialize0$_removeExponent$1(J.toString$0$(integer)));
  108748. return;
  108749. }
  108750. text = _this._serialize0$_removeExponent$1(B.JSNumber_methods.toString$0(number));
  108751. if (text.length < 12) {
  108752. if (_this._serialize0$_style === B.OutputStyle_10 && text.charCodeAt(0) === 48)
  108753. text = B.JSString_methods.substring$1(text, 1);
  108754. _this._serialize0$_buffer.write$1(0, text);
  108755. return;
  108756. }
  108757. _this._serialize0$_writeRounded$1(text);
  108758. },
  108759. _serialize0$_removeExponent$1(text) {
  108760. var buffer, t2, t3, additionalZeroes,
  108761. negative = text.charCodeAt(0) === 45,
  108762. exponent = A._Cell$(),
  108763. t1 = text.length,
  108764. i = 0;
  108765. while (true) {
  108766. if (!(i < t1)) {
  108767. buffer = null;
  108768. break;
  108769. }
  108770. c$0: {
  108771. if (text.charCodeAt(i) !== 101)
  108772. break c$0;
  108773. buffer = new A.StringBuffer("");
  108774. t2 = buffer._contents = "" + A.Primitives_stringFromCharCode(text.charCodeAt(0));
  108775. if (negative) {
  108776. t2 += A.Primitives_stringFromCharCode(text.charCodeAt(1));
  108777. buffer._contents = t2;
  108778. if (i > 3)
  108779. buffer._contents = t2 + B.JSString_methods.substring$2(text, 3, i);
  108780. } else if (i > 2)
  108781. buffer._contents = t2 + B.JSString_methods.substring$2(text, 2, i);
  108782. exponent._value = A.int_parse(B.JSString_methods.substring$2(text, i + 1, t1), null);
  108783. break;
  108784. }
  108785. ++i;
  108786. }
  108787. if (buffer == null)
  108788. return text;
  108789. if (exponent._readLocal$0() > 0) {
  108790. t1 = exponent._readLocal$0();
  108791. t2 = buffer._contents;
  108792. t3 = negative ? 1 : 0;
  108793. additionalZeroes = t1 - (t2.length - 1 - t3);
  108794. for (t1 = t2, i = 0; i < additionalZeroes; ++i)
  108795. t1 = buffer._contents += A.Primitives_stringFromCharCode(48);
  108796. return t1.charCodeAt(0) == 0 ? t1 : t1;
  108797. } else {
  108798. negative = text.charCodeAt(0) === 45;
  108799. t1 = (negative ? "" + A.Primitives_stringFromCharCode(45) : "") + "0.";
  108800. t2 = exponent.__late_helper$_name;
  108801. i = -1;
  108802. while (true) {
  108803. t3 = exponent._value;
  108804. if (t3 === exponent)
  108805. A.throwExpression(A.LateError$localNI(t2));
  108806. if (!(i > t3))
  108807. break;
  108808. t1 += A.Primitives_stringFromCharCode(48);
  108809. --i;
  108810. }
  108811. if (negative) {
  108812. t2 = buffer._contents;
  108813. t2 = B.JSString_methods.substring$1(t2.charCodeAt(0) == 0 ? t2 : t2, 1);
  108814. } else
  108815. t2 = buffer;
  108816. t2 = t1 + A.S(t2);
  108817. return t2.charCodeAt(0) == 0 ? t2 : t2;
  108818. }
  108819. },
  108820. _serialize0$_writeRounded$1(text) {
  108821. var t1, digits, negative, textIndex, digitsIndex, textIndex0, codeUnit, digitsIndex0, indexAfterPrecision, digitsIndex1, newDigit, writtenIndex, t2, _this = this;
  108822. if (B.JSString_methods.endsWith$1(text, ".0")) {
  108823. _this._serialize0$_buffer.write$1(0, B.JSString_methods.substring$2(text, 0, text.length - 2));
  108824. return;
  108825. }
  108826. t1 = text.length;
  108827. digits = new Uint8Array(t1 + 1);
  108828. negative = text.charCodeAt(0) === 45;
  108829. textIndex = negative ? 1 : 0;
  108830. for (digitsIndex = 1; true; textIndex = textIndex0, digitsIndex = digitsIndex0) {
  108831. if (textIndex === t1) {
  108832. _this._serialize0$_buffer.write$1(0, text);
  108833. return;
  108834. }
  108835. textIndex0 = textIndex + 1;
  108836. codeUnit = text.charCodeAt(textIndex);
  108837. if (codeUnit === 46) {
  108838. textIndex = textIndex0;
  108839. break;
  108840. }
  108841. digitsIndex0 = digitsIndex + 1;
  108842. digits[digitsIndex] = codeUnit - 48;
  108843. }
  108844. indexAfterPrecision = textIndex + 10;
  108845. if (indexAfterPrecision >= t1) {
  108846. _this._serialize0$_buffer.write$1(0, text);
  108847. return;
  108848. }
  108849. for (digitsIndex0 = digitsIndex; textIndex < indexAfterPrecision; textIndex = textIndex0, digitsIndex0 = digitsIndex1) {
  108850. digitsIndex1 = digitsIndex0 + 1;
  108851. textIndex0 = textIndex + 1;
  108852. digits[digitsIndex0] = text.charCodeAt(textIndex) - 48;
  108853. }
  108854. if (text.charCodeAt(textIndex) - 48 >= 5)
  108855. for (; true; digitsIndex0 = digitsIndex1) {
  108856. digitsIndex1 = digitsIndex0 - 1;
  108857. newDigit = digits[digitsIndex1] + 1;
  108858. digits[digitsIndex1] = newDigit;
  108859. if (newDigit !== 10)
  108860. break;
  108861. }
  108862. for (; digitsIndex0 < digitsIndex; ++digitsIndex0)
  108863. digits[digitsIndex0] = 0;
  108864. while (true) {
  108865. t1 = digitsIndex0 > digitsIndex;
  108866. if (!(t1 && digits[digitsIndex0 - 1] === 0))
  108867. break;
  108868. --digitsIndex0;
  108869. }
  108870. if (digitsIndex0 === 2 && digits[0] === 0 && digits[1] === 0) {
  108871. _this._serialize0$_buffer.writeCharCode$1(48);
  108872. return;
  108873. }
  108874. if (negative)
  108875. _this._serialize0$_buffer.writeCharCode$1(45);
  108876. if (digits[0] === 0)
  108877. writtenIndex = _this._serialize0$_style === B.OutputStyle_10 && digits[1] === 0 ? 2 : 1;
  108878. else
  108879. writtenIndex = 0;
  108880. for (t2 = _this._serialize0$_buffer; writtenIndex < digitsIndex; ++writtenIndex)
  108881. t2.writeCharCode$1(48 + digits[writtenIndex]);
  108882. if (t1) {
  108883. t2.writeCharCode$1(46);
  108884. for (; writtenIndex < digitsIndex0; ++writtenIndex)
  108885. t2.writeCharCode$1(48 + digits[writtenIndex]);
  108886. }
  108887. },
  108888. _serialize0$_visitQuotedString$2$forceDoubleQuote(string, forceDoubleQuote) {
  108889. var t1, includesSingleQuote, includesDoubleQuote, i, char, _1_2, _1_4, _0_0, newIndex, t2, quote, _this = this,
  108890. buffer = forceDoubleQuote ? _this._serialize0$_buffer : new A.StringBuffer("");
  108891. if (forceDoubleQuote)
  108892. buffer.writeCharCode$1(34);
  108893. for (t1 = string.length, includesSingleQuote = false, includesDoubleQuote = false, i = 0; i < t1; ++i) {
  108894. char = string.charCodeAt(i);
  108895. _1_2 = A._InitializedCell$(new A._SerializeVisitor__visitQuotedString_closure1(char));
  108896. _1_4 = A._InitializedCell$(new A._SerializeVisitor__visitQuotedString_closure2(char));
  108897. if (_1_2._readFinal$0() && forceDoubleQuote) {
  108898. buffer.writeCharCode$1(39);
  108899. continue;
  108900. }
  108901. if (_1_2._readFinal$0() && includesDoubleQuote) {
  108902. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  108903. return;
  108904. }
  108905. if (_1_2._readFinal$0()) {
  108906. buffer.writeCharCode$1(39);
  108907. includesSingleQuote = true;
  108908. continue;
  108909. }
  108910. if (_1_4._readFinal$0() && forceDoubleQuote) {
  108911. buffer.writeCharCode$1(92);
  108912. buffer.writeCharCode$1(34);
  108913. continue;
  108914. }
  108915. if (_1_4._readFinal$0() && includesSingleQuote) {
  108916. _this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, true);
  108917. return;
  108918. }
  108919. if (_1_4._readFinal$0()) {
  108920. buffer.writeCharCode$1(34);
  108921. includesDoubleQuote = true;
  108922. continue;
  108923. }
  108924. if (0 === char || 1 === char || 2 === char || 3 === char || 4 === char || 5 === char || 6 === char || 7 === char || 8 === char || 10 === char || 11 === char || 12 === char || 13 === char || 14 === char || 15 === char || 16 === char || 17 === char || 18 === char || 19 === char || 20 === char || 21 === char || 22 === char || 23 === char || 24 === char || 25 === char || 26 === char || 27 === char || 28 === char || 29 === char || 30 === char || 31 === char || 127 === char) {
  108925. _this._serialize0$_writeEscape$4(buffer, char, string, i);
  108926. continue;
  108927. }
  108928. if (92 === char) {
  108929. buffer.writeCharCode$1(92);
  108930. buffer.writeCharCode$1(92);
  108931. continue;
  108932. }
  108933. _0_0 = _this._serialize0$_tryPrivateUseCharacter$4(buffer, char, string, i);
  108934. if (_0_0 != null) {
  108935. newIndex = _0_0;
  108936. t2 = true;
  108937. } else {
  108938. newIndex = null;
  108939. t2 = false;
  108940. }
  108941. if (t2)
  108942. i = newIndex;
  108943. else
  108944. buffer.writeCharCode$1(char);
  108945. }
  108946. if (forceDoubleQuote)
  108947. buffer.writeCharCode$1(34);
  108948. else {
  108949. quote = includesDoubleQuote ? 39 : 34;
  108950. t1 = _this._serialize0$_buffer;
  108951. t1.writeCharCode$1(quote);
  108952. t1.write$1(0, buffer);
  108953. t1.writeCharCode$1(quote);
  108954. }
  108955. },
  108956. _serialize0$_visitQuotedString$1(string) {
  108957. return this._serialize0$_visitQuotedString$2$forceDoubleQuote(string, false);
  108958. },
  108959. _serialize0$_visitUnquotedString$1(string) {
  108960. var t1, t2, afterNewline, i, _1_0, _0_0, newIndex, t3;
  108961. for (t1 = string.length, t2 = this._serialize0$_buffer, afterNewline = false, i = 0; i < t1; ++i) {
  108962. _1_0 = string.charCodeAt(i);
  108963. if (10 === _1_0) {
  108964. t2.writeCharCode$1(32);
  108965. afterNewline = true;
  108966. continue;
  108967. }
  108968. if (32 === _1_0) {
  108969. if (!afterNewline)
  108970. t2.writeCharCode$1(32);
  108971. continue;
  108972. }
  108973. _0_0 = this._serialize0$_tryPrivateUseCharacter$4(t2, _1_0, string, i);
  108974. if (_0_0 != null) {
  108975. newIndex = _0_0;
  108976. t3 = true;
  108977. } else {
  108978. newIndex = null;
  108979. t3 = false;
  108980. }
  108981. if (t3)
  108982. i = newIndex;
  108983. else
  108984. t2.writeCharCode$1(_1_0);
  108985. afterNewline = false;
  108986. }
  108987. },
  108988. _serialize0$_tryPrivateUseCharacter$4(buffer, codeUnit, string, i) {
  108989. var t1;
  108990. if (this._serialize0$_style === B.OutputStyle_10)
  108991. return null;
  108992. if (codeUnit >= 57344 && codeUnit <= 63743) {
  108993. this._serialize0$_writeEscape$4(buffer, codeUnit, string, i);
  108994. return i;
  108995. }
  108996. if (codeUnit >>> 7 === 439 && string.length > i + 1) {
  108997. t1 = i + 1;
  108998. this._serialize0$_writeEscape$4(buffer, 65536 + ((codeUnit & 1023) << 10) + (string.charCodeAt(t1) & 1023), string, t1);
  108999. return t1;
  109000. }
  109001. return null;
  109002. },
  109003. _serialize0$_writeEscape$4(buffer, character, string, i) {
  109004. var t1, next;
  109005. buffer.writeCharCode$1(92);
  109006. buffer.write$1(0, B.JSInt_methods.toRadixString$1(character, 16));
  109007. t1 = i + 1;
  109008. if (string.length === t1)
  109009. return;
  109010. next = string.charCodeAt(t1);
  109011. if (A.CharacterExtension_get_isHex0(next) || 32 === next || 9 === next)
  109012. buffer.writeCharCode$1(32);
  109013. },
  109014. visitAttributeSelector$1(attribute) {
  109015. var _0_0, value, t2,
  109016. t1 = this._serialize0$_buffer;
  109017. t1.writeCharCode$1(91);
  109018. t1.write$1(0, attribute.name);
  109019. _0_0 = attribute.value;
  109020. if (_0_0 != null) {
  109021. value = _0_0;
  109022. t2 = true;
  109023. } else {
  109024. value = null;
  109025. t2 = false;
  109026. }
  109027. if (t2) {
  109028. t1.write$1(0, attribute.op);
  109029. if (A.Parser_isIdentifier0(value) && !J.startsWith$1$s(value, "--")) {
  109030. t1.write$1(0, value);
  109031. t2 = attribute.modifier;
  109032. if (t2 != null)
  109033. t1.writeCharCode$1(32);
  109034. } else {
  109035. this._serialize0$_visitQuotedString$1(value);
  109036. t2 = attribute.modifier;
  109037. if (t2 != null)
  109038. if (this._serialize0$_style !== B.OutputStyle_10)
  109039. t1.writeCharCode$1(32);
  109040. }
  109041. A.NullableExtension_andThen0(t2, t1.get$write(t1));
  109042. }
  109043. t1.writeCharCode$1(93);
  109044. },
  109045. visitClassSelector$1(klass) {
  109046. var t1 = this._serialize0$_buffer;
  109047. t1.writeCharCode$1(46);
  109048. t1.write$1(0, klass.name);
  109049. },
  109050. visitComplexSelector$1(complex) {
  109051. var t2, t3, t4, t5, t6, i, component, t7, t8, t9, _this = this,
  109052. t1 = complex.leadingCombinators;
  109053. _this._serialize0$_writeCombinators$1(t1);
  109054. if (t1.length >= 1 && complex.components.length >= 1)
  109055. if (_this._serialize0$_style !== B.OutputStyle_10)
  109056. _this._serialize0$_buffer.writeCharCode$1(32);
  109057. 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) {
  109058. component = t1[i];
  109059. _this.visitCompoundSelector$1(component.selector);
  109060. t7 = component.combinators;
  109061. t8 = t7.length === 0;
  109062. if (!t8)
  109063. if (t6)
  109064. t4.writeCharCode$1(32);
  109065. t9 = t5 ? "" : " ";
  109066. _this._serialize0$_writeBetween$3(t7, t9, t4.get$write(t4));
  109067. if (i !== t3)
  109068. t7 = !t5 || t8;
  109069. else
  109070. t7 = false;
  109071. if (t7)
  109072. t4.writeCharCode$1(32);
  109073. }
  109074. },
  109075. _serialize0$_writeCombinators$1(combinators) {
  109076. var t1 = this._serialize0$_style === B.OutputStyle_10 ? "" : " ",
  109077. t2 = this._serialize0$_buffer;
  109078. return this._serialize0$_writeBetween$3(combinators, t1, t2.get$write(t2));
  109079. },
  109080. visitCompoundSelector$1(compound) {
  109081. var t2, t3, _i,
  109082. t1 = this._serialize0$_buffer,
  109083. start = t1.get$length(t1);
  109084. for (t2 = compound.components, t3 = t2.length, _i = 0; _i < t3; ++_i)
  109085. t2[_i].accept$1(this);
  109086. if (t1.get$length(t1) === start)
  109087. t1.writeCharCode$1(42);
  109088. },
  109089. visitIDSelector$1(id) {
  109090. var t1 = this._serialize0$_buffer;
  109091. t1.writeCharCode$1(35);
  109092. t1.write$1(0, id.name);
  109093. },
  109094. visitSelectorList$1(list) {
  109095. var t1, t2, t3, t4, first, t5, _this = this,
  109096. complexes = list.components;
  109097. 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();) {
  109098. t5 = t1.get$current(t1);
  109099. if (first)
  109100. first = false;
  109101. else {
  109102. t3.writeCharCode$1(44);
  109103. if (t5.lineBreak) {
  109104. if (t2)
  109105. t3.write$1(0, t4);
  109106. _this._serialize0$_writeIndentation$0();
  109107. } else if (t2)
  109108. t3.writeCharCode$1(32);
  109109. }
  109110. _this.visitComplexSelector$1(t5);
  109111. }
  109112. },
  109113. visitParentSelector$1($parent) {
  109114. var t1 = this._serialize0$_buffer;
  109115. t1.writeCharCode$1(38);
  109116. A.NullableExtension_andThen0($parent.suffix, t1.get$write(t1));
  109117. },
  109118. visitPlaceholderSelector$1(placeholder) {
  109119. var t1 = this._serialize0$_buffer;
  109120. t1.writeCharCode$1(37);
  109121. t1.write$1(0, placeholder.name);
  109122. },
  109123. visitPseudoSelector$1(pseudo) {
  109124. var t2, t3,
  109125. _0_4 = A._InitializedCell$(new A._SerializeVisitor_visitPseudoSelector_closure0(pseudo)),
  109126. t1 = pseudo.name;
  109127. if ("not" === t1 && _0_4._readFinal$0() instanceof A.SelectorList0 && _0_4._readFinal$0().accept$1(B._IsInvisibleVisitor_true0))
  109128. return;
  109129. t2 = this._serialize0$_buffer;
  109130. t2.writeCharCode$1(58);
  109131. if (!pseudo.isSyntacticClass)
  109132. t2.writeCharCode$1(58);
  109133. t2.write$1(0, t1);
  109134. t1 = pseudo.argument;
  109135. t3 = t1 == null;
  109136. if (t3 && pseudo.selector == null)
  109137. return;
  109138. t2.writeCharCode$1(40);
  109139. if (!t3) {
  109140. t2.write$1(0, t1);
  109141. if (pseudo.selector != null)
  109142. t2.writeCharCode$1(32);
  109143. }
  109144. A.NullableExtension_andThen0(pseudo.selector, this.get$visitSelectorList());
  109145. t2.writeCharCode$1(41);
  109146. },
  109147. visitTypeSelector$1(type) {
  109148. this._serialize0$_buffer.write$1(0, type.name);
  109149. },
  109150. visitUniversalSelector$1(universal) {
  109151. var t2,
  109152. t1 = universal.namespace;
  109153. if (t1 != null) {
  109154. t2 = this._serialize0$_buffer;
  109155. t2.write$1(0, t1);
  109156. t2.writeCharCode$1(124);
  109157. }
  109158. this._serialize0$_buffer.writeCharCode$1(42);
  109159. },
  109160. _serialize0$_write$1(value) {
  109161. return this._serialize0$_buffer.forSpan$2(value.span, new A._SerializeVisitor__write_closure0(this, value));
  109162. },
  109163. _serialize0$_visitChildren$1($parent) {
  109164. var t2, t3, t4, t5, t6, t7, t8, prePrevious, previous, t9, previous0, t10, savedIndentation, _this = this,
  109165. t1 = _this._serialize0$_buffer;
  109166. t1.writeCharCode$1(123);
  109167. for (t2 = $parent.children, t2 = new A.ListIterator(t2, t2.get$length(t2)), t3 = _this._serialize0$_style === B.OutputStyle_10, t4 = !t3, t5 = _this.get$_serialize0$_requiresSemicolon(), t6 = !_this._serialize0$_inspect, t7 = A._instanceType(t2)._precomputed1, t8 = _this._lineFeed.text, prePrevious = null, previous = null; t2.moveNext$0();) {
  109168. t9 = t2.__internal$_current;
  109169. previous0 = t9 == null ? t7._as(t9) : t9;
  109170. if (t6)
  109171. t9 = t3 ? previous0.accept$1(B._IsInvisibleVisitor_true_true0) : previous0.accept$1(B._IsInvisibleVisitor_true_false0);
  109172. else
  109173. t9 = false;
  109174. if (t9)
  109175. continue;
  109176. t9 = previous == null;
  109177. t10 = t9 ? null : t5.call$1(previous);
  109178. if (t10 == null ? false : t10)
  109179. t1.writeCharCode$1(59);
  109180. if (_this._serialize0$_isTrailingComment$2(previous0, t9 ? $parent : previous)) {
  109181. if (t4)
  109182. t1.writeCharCode$1(32);
  109183. savedIndentation = _this._serialize0$_indentation;
  109184. _this._serialize0$_indentation = 0;
  109185. new A._SerializeVisitor__visitChildren_closure1(_this, previous0).call$0();
  109186. _this._serialize0$_indentation = savedIndentation;
  109187. } else {
  109188. if (t4)
  109189. t1.write$1(0, t8);
  109190. ++_this._serialize0$_indentation;
  109191. new A._SerializeVisitor__visitChildren_closure2(_this, previous0).call$0();
  109192. --_this._serialize0$_indentation;
  109193. }
  109194. prePrevious = previous;
  109195. previous = previous0;
  109196. }
  109197. if (previous != null) {
  109198. if ((type$.CssParentNode_2._is(previous) ? previous.get$isChildless() : !(previous instanceof A.ModifiableCssComment0)) && t4)
  109199. t1.writeCharCode$1(59);
  109200. if (prePrevious == null && _this._serialize0$_isTrailingComment$2(previous, $parent)) {
  109201. if (t4)
  109202. t1.writeCharCode$1(32);
  109203. } else {
  109204. _this._serialize0$_writeLineFeed$0();
  109205. _this._serialize0$_writeIndentation$0();
  109206. }
  109207. }
  109208. t1.writeCharCode$1(125);
  109209. },
  109210. _serialize0$_requiresSemicolon$1(node) {
  109211. return type$.CssParentNode_2._is(node) ? node.get$isChildless() : !(node instanceof A.ModifiableCssComment0);
  109212. },
  109213. _serialize0$_isTrailingComment$2(node, previous) {
  109214. var t1, t2, t3, searchFrom, endOffset, t4, span;
  109215. if (this._serialize0$_style === B.OutputStyle_10)
  109216. return false;
  109217. if (!(node instanceof A.ModifiableCssComment0))
  109218. return false;
  109219. t1 = node.span;
  109220. t2 = t1.get$sourceUrl(t1);
  109221. t3 = previous.get$span(previous);
  109222. if (!J.$eq$(t2, t3.get$sourceUrl(t3)))
  109223. return false;
  109224. t2 = previous.get$span(previous);
  109225. if (!(J.$eq$(t2.get$file(t2).url, t1.get$file(t1).url) && t2.get$start(t2).offset <= t1.get$start(t1).offset && t2.get$end(t2).offset >= t1.get$end(t1).offset)) {
  109226. t1 = t1.get$start(t1);
  109227. t1 = t1.file.getLine$1(t1.offset);
  109228. t2 = previous.get$span(previous);
  109229. t2 = t2.get$end(t2);
  109230. return t1 === t2.file.getLine$1(t2.offset);
  109231. }
  109232. t2 = t1.get$start(t1);
  109233. t3 = previous.get$span(previous);
  109234. searchFrom = t2.offset - t3.get$start(t3).offset - 1;
  109235. if (searchFrom < 0)
  109236. return false;
  109237. endOffset = Math.max(0, B.JSString_methods.lastIndexOf$2(previous.get$span(previous).get$text(), "{", searchFrom));
  109238. t2 = previous.get$span(previous);
  109239. t2 = t2.get$file(t2);
  109240. t3 = previous.get$span(previous);
  109241. t3 = t3.get$start(t3);
  109242. t4 = previous.get$span(previous);
  109243. span = t2.span$2(0, t3.offset, t4.get$start(t4).offset + endOffset);
  109244. t1 = t1.get$start(t1);
  109245. t1 = t1.file.getLine$1(t1.offset);
  109246. t4 = A.FileLocation$_(span.file, span._end);
  109247. return t1 === t4.file.getLine$1(t4.offset);
  109248. },
  109249. _serialize0$_writeLineFeed$0() {
  109250. if (this._serialize0$_style !== B.OutputStyle_10)
  109251. this._serialize0$_buffer.write$1(0, this._lineFeed.text);
  109252. },
  109253. _serialize0$_writeIndentation$0() {
  109254. var _this = this;
  109255. if (_this._serialize0$_style === B.OutputStyle_10)
  109256. return;
  109257. _this._serialize0$_writeTimes$2(_this._serialize0$_indentCharacter, _this._serialize0$_indentation * _this._serialize0$_indentWidth);
  109258. },
  109259. _serialize0$_writeTimes$2(char, times) {
  109260. var t1, i;
  109261. for (t1 = this._serialize0$_buffer, i = 0; i < times; ++i)
  109262. t1.writeCharCode$1(char);
  109263. },
  109264. _serialize0$_writeBetween$1$3(iterable, text, callback) {
  109265. var t1, t2, first, value;
  109266. for (t1 = J.get$iterator$ax(iterable), t2 = this._serialize0$_buffer, first = true; t1.moveNext$0();) {
  109267. value = t1.get$current(t1);
  109268. if (first)
  109269. first = false;
  109270. else
  109271. t2.write$1(0, text);
  109272. callback.call$1(value);
  109273. }
  109274. },
  109275. _serialize0$_writeBetween$3(iterable, text, callback) {
  109276. return this._serialize0$_writeBetween$1$3(iterable, text, callback, type$.dynamic);
  109277. }
  109278. };
  109279. A._SerializeVisitor_visitCssComment_closure0.prototype = {
  109280. call$0() {
  109281. var t2, t3, _0_0, minimumIndentation, t4,
  109282. t1 = this.$this;
  109283. if (t1._serialize0$_style === B.OutputStyle_10 && this.node.text.charCodeAt(2) !== 33)
  109284. return;
  109285. t2 = this.node;
  109286. t3 = t2.text;
  109287. if (B.JSString_methods.startsWith$1(t3, A.RegExp_RegExp("/\\*# source(Mapping)?URL=", false)))
  109288. return;
  109289. _0_0 = t1._serialize0$_minimumIndentation$1(t3);
  109290. if (_0_0 != null) {
  109291. minimumIndentation = _0_0;
  109292. t4 = true;
  109293. } else {
  109294. minimumIndentation = null;
  109295. t4 = false;
  109296. }
  109297. if (t4) {
  109298. t2 = t2.span;
  109299. t2 = t2.get$start(t2);
  109300. t2 = t2.file.getColumn$1(t2.offset);
  109301. minimumIndentation = Math.min(A.checkNum(minimumIndentation), t2);
  109302. t1._serialize0$_writeIndentation$0();
  109303. t1._serialize0$_writeWithIndent$2(t3, minimumIndentation);
  109304. } else {
  109305. t1._serialize0$_writeIndentation$0();
  109306. t1._serialize0$_buffer.write$1(0, t3);
  109307. }
  109308. },
  109309. $signature: 2
  109310. };
  109311. A._SerializeVisitor_visitCssAtRule_closure0.prototype = {
  109312. call$0() {
  109313. var t3, _0_0, value,
  109314. t1 = this.$this,
  109315. t2 = t1._serialize0$_buffer;
  109316. t2.writeCharCode$1(64);
  109317. t3 = this.node;
  109318. t1._serialize0$_write$1(t3.name);
  109319. _0_0 = t3.value;
  109320. if (_0_0 != null) {
  109321. value = _0_0;
  109322. t3 = true;
  109323. } else {
  109324. value = null;
  109325. t3 = false;
  109326. }
  109327. if (t3) {
  109328. t2.writeCharCode$1(32);
  109329. t1._serialize0$_write$1(value);
  109330. }
  109331. },
  109332. $signature: 2
  109333. };
  109334. A._SerializeVisitor_visitCssMediaRule_closure0.prototype = {
  109335. call$0() {
  109336. var t3, firstQuery, t4, t5,
  109337. t1 = this.$this,
  109338. t2 = t1._serialize0$_buffer;
  109339. t2.write$1(0, "@media");
  109340. t3 = this.node.queries;
  109341. firstQuery = B.JSArray_methods.get$first(t3);
  109342. t4 = t1._serialize0$_style === B.OutputStyle_10;
  109343. if (t4)
  109344. if (firstQuery.modifier == null)
  109345. if (firstQuery.type == null) {
  109346. t5 = firstQuery.conditions;
  109347. t5 = t5.length === 1 && J.startsWith$1$s(B.JSArray_methods.get$first(t5), "(not ");
  109348. } else
  109349. t5 = true;
  109350. else
  109351. t5 = true;
  109352. else
  109353. t5 = true;
  109354. if (t5)
  109355. t2.writeCharCode$1(32);
  109356. t2 = t4 ? "," : ", ";
  109357. t1._serialize0$_writeBetween$3(t3, t2, t1.get$_serialize0$_visitMediaQuery());
  109358. },
  109359. $signature: 2
  109360. };
  109361. A._SerializeVisitor_visitCssImport_closure0.prototype = {
  109362. call$0() {
  109363. var t3, t4, _0_0, modifiers,
  109364. t1 = this.$this,
  109365. t2 = t1._serialize0$_buffer;
  109366. t2.write$1(0, "@import");
  109367. t3 = t1._serialize0$_style !== B.OutputStyle_10;
  109368. if (t3)
  109369. t2.writeCharCode$1(32);
  109370. t4 = this.node;
  109371. t2.forSpan$2(t4.url.span, new A._SerializeVisitor_visitCssImport__closure0(t1, t4));
  109372. _0_0 = t4.modifiers;
  109373. if (_0_0 != null) {
  109374. modifiers = _0_0;
  109375. t1 = true;
  109376. } else {
  109377. modifiers = null;
  109378. t1 = false;
  109379. }
  109380. if (t1) {
  109381. if (t3)
  109382. t2.writeCharCode$1(32);
  109383. t2.write$1(0, modifiers);
  109384. }
  109385. },
  109386. $signature: 2
  109387. };
  109388. A._SerializeVisitor_visitCssImport__closure0.prototype = {
  109389. call$0() {
  109390. return this.$this._serialize0$_writeImportUrl$1(this.node.url.value);
  109391. },
  109392. $signature: 0
  109393. };
  109394. A._SerializeVisitor_visitCssKeyframeBlock_closure0.prototype = {
  109395. call$0() {
  109396. var t1 = this.$this,
  109397. t2 = t1._serialize0$_style === B.OutputStyle_10 ? "," : ", ",
  109398. t3 = t1._serialize0$_buffer;
  109399. return t1._serialize0$_writeBetween$3(this.node.selector.value, t2, t3.get$write(t3));
  109400. },
  109401. $signature: 0
  109402. };
  109403. A._SerializeVisitor_visitCssStyleRule_closure0.prototype = {
  109404. call$0() {
  109405. return this.$this.visitSelectorList$1(this.node._style_rule0$_selector._box0$_inner.value);
  109406. },
  109407. $signature: 0
  109408. };
  109409. A._SerializeVisitor_visitCssSupportsRule_closure0.prototype = {
  109410. call$0() {
  109411. var t1 = this.$this,
  109412. t2 = t1._serialize0$_buffer;
  109413. t2.write$1(0, "@supports");
  109414. if (!(t1._serialize0$_style === B.OutputStyle_10 && J.codeUnitAt$1$s(this.node.condition.value, 0) === 40))
  109415. t2.writeCharCode$1(32);
  109416. t1._serialize0$_write$1(this.node.condition);
  109417. },
  109418. $signature: 2
  109419. };
  109420. A._SerializeVisitor_visitCssDeclaration_closure1.prototype = {
  109421. call$0() {
  109422. var t1 = this.$this,
  109423. t2 = this.node;
  109424. if (t1._serialize0$_style === B.OutputStyle_10)
  109425. t1._serialize0$_writeFoldedValue$1(t2);
  109426. else
  109427. t1._serialize0$_writeReindentedValue$1(t2);
  109428. },
  109429. $signature: 2
  109430. };
  109431. A._SerializeVisitor_visitCssDeclaration_closure2.prototype = {
  109432. call$0() {
  109433. return this.node.value.value.accept$1(this.$this);
  109434. },
  109435. $signature: 0
  109436. };
  109437. A._SerializeVisitor__writeCalculationValue_closure0.prototype = {
  109438. call$0() {
  109439. return this._2_0.get$hasComplexUnits();
  109440. },
  109441. $signature: 1
  109442. };
  109443. A._SerializeVisitor_visitList_closure2.prototype = {
  109444. call$1(element) {
  109445. return !element.get$isBlank();
  109446. },
  109447. $signature: 50
  109448. };
  109449. A._SerializeVisitor_visitList_closure3.prototype = {
  109450. call$1(element) {
  109451. var t1 = this.$this,
  109452. needsParens = t1._serialize0$_elementNeedsParens$2(this.value._list1$_separator, element);
  109453. if (needsParens)
  109454. t1._serialize0$_buffer.writeCharCode$1(40);
  109455. element.accept$1(t1);
  109456. if (needsParens)
  109457. t1._serialize0$_buffer.writeCharCode$1(41);
  109458. },
  109459. $signature: 60
  109460. };
  109461. A._SerializeVisitor_visitList_closure4.prototype = {
  109462. call$1(element) {
  109463. element.accept$1(this.$this);
  109464. },
  109465. $signature: 60
  109466. };
  109467. A._SerializeVisitor_visitMap_closure0.prototype = {
  109468. call$1(entry) {
  109469. var t1 = this.$this;
  109470. t1._serialize0$_writeMapElement$1(entry.key);
  109471. t1._serialize0$_buffer.write$1(0, ": ");
  109472. t1._serialize0$_writeMapElement$1(entry.value);
  109473. },
  109474. $signature: 557
  109475. };
  109476. A._SerializeVisitor__visitQuotedString_closure1.prototype = {
  109477. call$0() {
  109478. return 39 === this._1_0;
  109479. },
  109480. $signature: 1
  109481. };
  109482. A._SerializeVisitor__visitQuotedString_closure2.prototype = {
  109483. call$0() {
  109484. return 34 === this._1_0;
  109485. },
  109486. $signature: 1
  109487. };
  109488. A._SerializeVisitor_visitSelectorList_closure0.prototype = {
  109489. call$1(complex) {
  109490. return !complex.accept$1(B._IsInvisibleVisitor_true0);
  109491. },
  109492. $signature: 20
  109493. };
  109494. A._SerializeVisitor_visitPseudoSelector_closure0.prototype = {
  109495. call$0() {
  109496. return this._0_0.selector;
  109497. },
  109498. $signature: 67
  109499. };
  109500. A._SerializeVisitor__write_closure0.prototype = {
  109501. call$0() {
  109502. return this.$this._serialize0$_buffer.write$1(0, this.value.value);
  109503. },
  109504. $signature: 0
  109505. };
  109506. A._SerializeVisitor__visitChildren_closure1.prototype = {
  109507. call$0() {
  109508. return this.child.accept$1(this.$this);
  109509. },
  109510. $signature: 0
  109511. };
  109512. A._SerializeVisitor__visitChildren_closure2.prototype = {
  109513. call$0() {
  109514. this.child.accept$1(this.$this);
  109515. },
  109516. $signature: 0
  109517. };
  109518. A.OutputStyle0.prototype = {
  109519. _enumToString$0() {
  109520. return "OutputStyle." + this._name;
  109521. }
  109522. };
  109523. A.LineFeed0.prototype = {
  109524. _enumToString$0() {
  109525. return "LineFeed." + this._name;
  109526. },
  109527. toString$0(_) {
  109528. return this.name;
  109529. }
  109530. };
  109531. A.ShadowedModuleView0.prototype = {
  109532. get$url(_) {
  109533. var t1 = this._shadowed_view0$_inner;
  109534. return t1.get$url(t1);
  109535. },
  109536. get$upstream() {
  109537. return this._shadowed_view0$_inner.get$upstream();
  109538. },
  109539. get$extensionStore() {
  109540. return this._shadowed_view0$_inner.get$extensionStore();
  109541. },
  109542. get$css(_) {
  109543. var t1 = this._shadowed_view0$_inner;
  109544. return t1.get$css(t1);
  109545. },
  109546. get$preModuleComments() {
  109547. return this._shadowed_view0$_inner.get$preModuleComments();
  109548. },
  109549. get$transitivelyContainsCss() {
  109550. return this._shadowed_view0$_inner.get$transitivelyContainsCss();
  109551. },
  109552. get$transitivelyContainsExtensions() {
  109553. return this._shadowed_view0$_inner.get$transitivelyContainsExtensions();
  109554. },
  109555. setVariable$3($name, value, nodeWithSpan) {
  109556. if (!this.variables.containsKey$1($name))
  109557. throw A.wrapException(A.SassScriptException$0("Undefined variable.", null));
  109558. else
  109559. this._shadowed_view0$_inner.setVariable$3($name, value, nodeWithSpan);
  109560. },
  109561. variableIdentity$1($name) {
  109562. return this._shadowed_view0$_inner.variableIdentity$1($name);
  109563. },
  109564. $eq(_, other) {
  109565. var t1, t2, _this = this;
  109566. if (other == null)
  109567. return false;
  109568. if (other instanceof A.ShadowedModuleView0)
  109569. if (_this._shadowed_view0$_inner.$eq(0, other._shadowed_view0$_inner)) {
  109570. t1 = _this.variables;
  109571. t1 = t1.get$keys(t1);
  109572. t2 = other.variables;
  109573. if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
  109574. t1 = _this.functions;
  109575. t1 = t1.get$keys(t1);
  109576. t2 = other.functions;
  109577. if (B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2))) {
  109578. t1 = _this.mixins;
  109579. t1 = t1.get$keys(t1);
  109580. t2 = other.mixins;
  109581. t2 = B.C_IterableEquality.equals$2(0, t1, t2.get$keys(t2));
  109582. t1 = t2;
  109583. } else
  109584. t1 = false;
  109585. } else
  109586. t1 = false;
  109587. } else
  109588. t1 = false;
  109589. else
  109590. t1 = false;
  109591. return t1;
  109592. },
  109593. get$hashCode(_) {
  109594. var t1 = this._shadowed_view0$_inner;
  109595. return t1.get$hashCode(t1);
  109596. },
  109597. cloneCss$0() {
  109598. var _this = this;
  109599. return new A.ShadowedModuleView0(_this._shadowed_view0$_inner.cloneCss$0(), _this.variables, _this.variableNodes, _this.functions, _this.mixins, _this.$ti);
  109600. },
  109601. toString$0(_) {
  109602. return "shadowed " + this._shadowed_view0$_inner.toString$0(0);
  109603. },
  109604. $isModule1: 1,
  109605. get$variables() {
  109606. return this.variables;
  109607. },
  109608. get$variableNodes() {
  109609. return this.variableNodes;
  109610. },
  109611. get$functions(receiver) {
  109612. return this.functions;
  109613. },
  109614. get$mixins() {
  109615. return this.mixins;
  109616. }
  109617. };
  109618. A.SilentComment0.prototype = {
  109619. accept$1$1(visitor) {
  109620. return visitor.visitSilentComment$1(this);
  109621. },
  109622. accept$1(visitor) {
  109623. return this.accept$1$1(visitor, type$.dynamic);
  109624. },
  109625. toString$0(_) {
  109626. return this.text;
  109627. },
  109628. $isAstNode0: 1,
  109629. $isStatement0: 1,
  109630. get$span(receiver) {
  109631. return this.span;
  109632. }
  109633. };
  109634. A.SimpleSelector0.prototype = {
  109635. get$specificity() {
  109636. return 1000;
  109637. },
  109638. addSuffix$1(suffix) {
  109639. return A.throwExpression(A.MultiSpanSassException$0('Selector "' + this.toString$0(0) + "\" can't have a suffix", this.span, "outer selector", A.LinkedHashMap_LinkedHashMap$_empty(type$.FileSpan, type$.String), null));
  109640. },
  109641. unify$1(compound) {
  109642. var other, t1, result, addedThis, _i, simple, _this = this;
  109643. if (compound.length === 1) {
  109644. other = compound[0];
  109645. if (!(other instanceof A.UniversalSelector0))
  109646. if (other instanceof A.PseudoSelector0)
  109647. t1 = other.isClass && other.name === "host" || other.get$isHostContext();
  109648. else
  109649. t1 = false;
  109650. else
  109651. t1 = true;
  109652. } else {
  109653. other = null;
  109654. t1 = false;
  109655. }
  109656. if (t1)
  109657. return other.unify$1(A._setArrayType([_this], type$.JSArray_SimpleSelector_2));
  109658. if (B.JSArray_methods.contains$1(compound, _this))
  109659. return compound;
  109660. result = A._setArrayType([], type$.JSArray_SimpleSelector_2);
  109661. for (t1 = compound.length, addedThis = false, _i = 0; _i < compound.length; compound.length === t1 || (0, A.throwConcurrentModificationError)(compound), ++_i) {
  109662. simple = compound[_i];
  109663. if (!addedThis && simple instanceof A.PseudoSelector0) {
  109664. result.push(_this);
  109665. addedThis = true;
  109666. }
  109667. result.push(simple);
  109668. }
  109669. if (!addedThis)
  109670. result.push(_this);
  109671. return result;
  109672. },
  109673. isSuperselector$1(other) {
  109674. var list;
  109675. if (this.$eq(0, other))
  109676. return true;
  109677. if (other instanceof A.PseudoSelector0 && other.isClass) {
  109678. list = other.selector;
  109679. if (list != null && $._subselectorPseudos0.contains$1(0, other.normalizedName))
  109680. return B.JSArray_methods.every$1(list.components, new A.SimpleSelector_isSuperselector_closure0(this));
  109681. }
  109682. return false;
  109683. }
  109684. };
  109685. A.SimpleSelector_isSuperselector_closure0.prototype = {
  109686. call$1(complex) {
  109687. var t1 = complex.components;
  109688. return t1.length !== 0 && B.JSArray_methods.any$1(B.JSArray_methods.get$last(t1).selector.components, new A.SimpleSelector_isSuperselector__closure0(this.$this));
  109689. },
  109690. $signature: 20
  109691. };
  109692. A.SimpleSelector_isSuperselector__closure0.prototype = {
  109693. call$1(simple) {
  109694. return this.$this.isSuperselector$1(simple);
  109695. },
  109696. $signature: 16
  109697. };
  109698. A.SingleUnitSassNumber0.prototype = {
  109699. get$numeratorUnits(_) {
  109700. return A.List_List$unmodifiable([this._single_unit$_unit], type$.String);
  109701. },
  109702. get$denominatorUnits(_) {
  109703. return B.List_empty;
  109704. },
  109705. get$hasUnits() {
  109706. return true;
  109707. },
  109708. get$hasComplexUnits() {
  109709. return false;
  109710. },
  109711. withValue$1(value) {
  109712. return new A.SingleUnitSassNumber0(this._single_unit$_unit, value, null);
  109713. },
  109714. withSlash$2(numerator, denominator) {
  109715. return new A.SingleUnitSassNumber0(this._single_unit$_unit, this._number1$_value, new A._Record_2(numerator, denominator));
  109716. },
  109717. hasUnit$1(unit) {
  109718. return unit === this._single_unit$_unit;
  109719. },
  109720. hasCompatibleUnits$1(other) {
  109721. return other instanceof A.SingleUnitSassNumber0 && A.conversionFactor0(this._single_unit$_unit, other._single_unit$_unit) != null;
  109722. },
  109723. hasPossiblyCompatibleUnits$1(other) {
  109724. var t1, knownCompatibilities, otherUnit;
  109725. if (!(other instanceof A.SingleUnitSassNumber0))
  109726. return false;
  109727. t1 = $.$get$_knownCompatibilitiesByUnit0();
  109728. knownCompatibilities = t1.$index(0, this._single_unit$_unit.toLowerCase());
  109729. if (knownCompatibilities == null)
  109730. return true;
  109731. otherUnit = other._single_unit$_unit.toLowerCase();
  109732. return knownCompatibilities.contains$1(0, otherUnit) || !t1.containsKey$1(otherUnit);
  109733. },
  109734. compatibleWithUnit$1(unit) {
  109735. return A.conversionFactor0(this._single_unit$_unit, unit) != null;
  109736. },
  109737. coerceToMatch$3(other, $name, otherName) {
  109738. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  109739. return t1 == null ? this.super$SassNumber$coerceToMatch0(other, $name, otherName) : t1;
  109740. },
  109741. coerceToMatch$1(other) {
  109742. return this.coerceToMatch$3(other, null, null);
  109743. },
  109744. coerceValueToMatch$3(other, $name, otherName) {
  109745. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  109746. return t1 == null ? this.super$SassNumber$coerceValueToMatch0(other, $name, otherName) : t1;
  109747. },
  109748. coerceValueToMatch$1(other) {
  109749. return this.coerceValueToMatch$3(other, null, null);
  109750. },
  109751. convertToMatch$3(other, $name, otherName) {
  109752. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceToUnit$1(other._single_unit$_unit) : null;
  109753. return t1 == null ? this.super$SassNumber$convertToMatch(other, $name, otherName) : t1;
  109754. },
  109755. convertValueToMatch$3(other, $name, otherName) {
  109756. var t1 = other instanceof A.SingleUnitSassNumber0 ? this._single_unit$_coerceValueToUnit$1(other._single_unit$_unit) : null;
  109757. return t1 == null ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : t1;
  109758. },
  109759. convertValueToMatch$1(other) {
  109760. return this.convertValueToMatch$3(other, null, null);
  109761. },
  109762. coerce$3(newNumerators, newDenominators, $name) {
  109763. var t1 = J.getInterceptor$asx(newNumerators);
  109764. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceToUnit$1(t1.$index(newNumerators, 0)) : null;
  109765. return t1 == null ? this.super$SassNumber$coerce0(newNumerators, newDenominators, $name) : t1;
  109766. },
  109767. coerce$2(newNumerators, newDenominators) {
  109768. return this.coerce$3(newNumerators, newDenominators, null);
  109769. },
  109770. coerceValue$3(newNumerators, newDenominators, $name) {
  109771. var t1 = J.getInterceptor$asx(newNumerators);
  109772. t1 = t1.get$length(newNumerators) === 1 && J.get$isEmpty$asx(newDenominators) ? this._single_unit$_coerceValueToUnit$1(t1.$index(newNumerators, 0)) : null;
  109773. return t1 == null ? this.super$SassNumber$coerceValue0(newNumerators, newDenominators, $name) : t1;
  109774. },
  109775. coerceValueToUnit$2(unit, $name) {
  109776. var t1 = this._single_unit$_coerceValueToUnit$1(unit);
  109777. return t1 == null ? this.super$SassNumber$coerceValueToUnit0(unit, $name) : t1;
  109778. },
  109779. coerceValueToUnit$1(unit) {
  109780. return this.coerceValueToUnit$2(unit, null);
  109781. },
  109782. _single_unit$_coerceToUnit$1(unit) {
  109783. var t1 = this._single_unit$_unit;
  109784. if (t1 === unit)
  109785. return this;
  109786. return A.NullableExtension_andThen0(A.conversionFactor0(unit, t1), new A.SingleUnitSassNumber__coerceToUnit_closure0(this, unit));
  109787. },
  109788. _single_unit$_coerceValueToUnit$1(unit) {
  109789. return A.NullableExtension_andThen0(A.conversionFactor0(unit, this._single_unit$_unit), new A.SingleUnitSassNumber__coerceValueToUnit_closure0(this));
  109790. },
  109791. multiplyUnits$3(value, otherNumerators, otherDenominators) {
  109792. var mutableOtherDenominators, t1 = {};
  109793. t1.value = value;
  109794. t1.newNumerators = otherNumerators;
  109795. mutableOtherDenominators = A._setArrayType(otherDenominators.slice(0), A._arrayInstanceType(otherDenominators));
  109796. A.removeFirstWhere0(mutableOtherDenominators, new A.SingleUnitSassNumber_multiplyUnits_closure1(t1, this), new A.SingleUnitSassNumber_multiplyUnits_closure2(t1, this));
  109797. return A.SassNumber_SassNumber$withUnits0(t1.value, mutableOtherDenominators, t1.newNumerators);
  109798. },
  109799. unaryMinus$0() {
  109800. return new A.SingleUnitSassNumber0(this._single_unit$_unit, -this._number1$_value, null);
  109801. },
  109802. $eq(_, other) {
  109803. var factor;
  109804. if (other == null)
  109805. return false;
  109806. if (other instanceof A.SingleUnitSassNumber0) {
  109807. factor = A.conversionFactor0(other._single_unit$_unit, this._single_unit$_unit);
  109808. return factor != null && A.fuzzyEquals0(this._number1$_value * factor, other._number1$_value);
  109809. } else
  109810. return false;
  109811. },
  109812. get$hashCode(_) {
  109813. var _this = this,
  109814. t1 = _this.hashCache;
  109815. return t1 == null ? _this.hashCache = A.fuzzyHashCode0(_this._number1$_value * _this.canonicalMultiplierForUnit$1(_this._single_unit$_unit)) : t1;
  109816. }
  109817. };
  109818. A.SingleUnitSassNumber__coerceToUnit_closure0.prototype = {
  109819. call$1(factor) {
  109820. return new A.SingleUnitSassNumber0(this.unit, this.$this._number1$_value * factor, null);
  109821. },
  109822. $signature: 558
  109823. };
  109824. A.SingleUnitSassNumber__coerceValueToUnit_closure0.prototype = {
  109825. call$1(factor) {
  109826. return this.$this._number1$_value * factor;
  109827. },
  109828. $signature: 42
  109829. };
  109830. A.SingleUnitSassNumber_multiplyUnits_closure1.prototype = {
  109831. call$1(denominator) {
  109832. var factor = A.conversionFactor0(denominator, this.$this._single_unit$_unit);
  109833. if (factor == null)
  109834. return false;
  109835. this._box_0.value *= factor;
  109836. return true;
  109837. },
  109838. $signature: 10
  109839. };
  109840. A.SingleUnitSassNumber_multiplyUnits_closure2.prototype = {
  109841. call$0() {
  109842. var t1 = A._setArrayType([this.$this._single_unit$_unit], type$.JSArray_String),
  109843. t2 = this._box_0;
  109844. B.JSArray_methods.addAll$1(t1, t2.newNumerators);
  109845. t2.newNumerators = t1;
  109846. },
  109847. $signature: 0
  109848. };
  109849. A.SourceMapBuffer0.prototype = {
  109850. get$_source_map_buffer0$_targetLocation() {
  109851. var t1 = this._source_map_buffer0$_buffer._contents,
  109852. t2 = this._source_map_buffer0$_line;
  109853. return A.SourceLocation$(t1.length, this._source_map_buffer0$_column, t2, null);
  109854. },
  109855. get$length(_) {
  109856. return this._source_map_buffer0$_buffer._contents.length;
  109857. },
  109858. forSpan$1$2(span, callback) {
  109859. var t1, _this = this,
  109860. wasInSpan = _this._source_map_buffer0$_inSpan;
  109861. _this._source_map_buffer0$_inSpan = true;
  109862. _this._source_map_buffer0$_addEntry$2(span.get$start(span), _this.get$_source_map_buffer0$_targetLocation());
  109863. try {
  109864. t1 = callback.call$0();
  109865. return t1;
  109866. } finally {
  109867. _this._source_map_buffer0$_inSpan = wasInSpan;
  109868. }
  109869. },
  109870. forSpan$2(span, callback) {
  109871. return this.forSpan$1$2(span, callback, type$.dynamic);
  109872. },
  109873. _source_map_buffer0$_addEntry$2(source, target) {
  109874. var entry, t2,
  109875. t1 = this._source_map_buffer0$_entries;
  109876. if (t1.length !== 0) {
  109877. entry = B.JSArray_methods.get$last(t1);
  109878. t2 = entry.source;
  109879. if (t2.file.getLine$1(t2.offset) === source.file.getLine$1(source.offset) && entry.target.line === target.line)
  109880. return;
  109881. if (entry.target.offset === target.offset)
  109882. return;
  109883. }
  109884. t1.push(new A.Entry(source, target, null));
  109885. },
  109886. write$1(_, object) {
  109887. var t1, i,
  109888. string = J.toString$0$(object);
  109889. this._source_map_buffer0$_buffer._contents += string;
  109890. for (t1 = string.length, i = 0; i < t1; ++i)
  109891. if (string.charCodeAt(i) === 10)
  109892. this._source_map_buffer0$_writeLine$0();
  109893. else
  109894. ++this._source_map_buffer0$_column;
  109895. },
  109896. writeCharCode$1(charCode) {
  109897. this._source_map_buffer0$_buffer._contents += A.Primitives_stringFromCharCode(charCode);
  109898. if (charCode === 10)
  109899. this._source_map_buffer0$_writeLine$0();
  109900. else
  109901. ++this._source_map_buffer0$_column;
  109902. },
  109903. _source_map_buffer0$_writeLine$0() {
  109904. var _this = this,
  109905. t1 = _this._source_map_buffer0$_entries;
  109906. 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)
  109907. t1.pop();
  109908. ++_this._source_map_buffer0$_line;
  109909. _this._source_map_buffer0$_column = 0;
  109910. if (_this._source_map_buffer0$_inSpan)
  109911. t1.push(new A.Entry(B.JSArray_methods.get$last(t1).source, _this.get$_source_map_buffer0$_targetLocation(), null));
  109912. },
  109913. toString$0(_) {
  109914. var t1 = this._source_map_buffer0$_buffer._contents;
  109915. return t1.charCodeAt(0) == 0 ? t1 : t1;
  109916. },
  109917. buildSourceMap$1$prefix(prefix) {
  109918. var i, t2, prefixColumn, _box_0 = {},
  109919. t1 = prefix.length;
  109920. if (t1 === 0)
  109921. return A.SingleMapping_SingleMapping$fromEntries(this._source_map_buffer0$_entries);
  109922. _box_0.prefixColumn = _box_0.prefixLines = 0;
  109923. for (i = 0, t2 = 0; i < t1; ++i)
  109924. if (prefix.charCodeAt(i) === 10) {
  109925. ++_box_0.prefixLines;
  109926. _box_0.prefixColumn = 0;
  109927. t2 = 0;
  109928. } else {
  109929. prefixColumn = t2 + 1;
  109930. _box_0.prefixColumn = prefixColumn;
  109931. t2 = prefixColumn;
  109932. }
  109933. t2 = this._source_map_buffer0$_entries;
  109934. 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>")));
  109935. }
  109936. };
  109937. A.SourceMapBuffer_buildSourceMap_closure0.prototype = {
  109938. call$1(entry) {
  109939. var t1 = entry.target,
  109940. t2 = t1.line,
  109941. t3 = this._box_0,
  109942. t4 = t3.prefixLines;
  109943. t3 = t2 === 0 ? t3.prefixColumn : 0;
  109944. return new A.Entry(entry.source, A.SourceLocation$(t1.offset + this.prefixLength, t1.column + t3, t2 + t4, null), entry.identifierName);
  109945. },
  109946. $signature: 172
  109947. };
  109948. A.updateSourceSpanPrototype_closure.prototype = {
  109949. call$0() {
  109950. return this.span;
  109951. },
  109952. $signature: 33
  109953. };
  109954. A.updateSourceSpanPrototype_closure0.prototype = {
  109955. call$1(span) {
  109956. return span.get$start(span);
  109957. },
  109958. $signature: 280
  109959. };
  109960. A.updateSourceSpanPrototype_closure1.prototype = {
  109961. call$1(span) {
  109962. return span.get$end(span);
  109963. },
  109964. $signature: 280
  109965. };
  109966. A.updateSourceSpanPrototype_closure2.prototype = {
  109967. call$1(span) {
  109968. return A.NullableExtension_andThen0(span.get$sourceUrl(span), A.utils1__dartToJSUrl$closure());
  109969. },
  109970. $signature: 560
  109971. };
  109972. A.updateSourceSpanPrototype_closure3.prototype = {
  109973. call$1(span) {
  109974. return span.get$text();
  109975. },
  109976. $signature: 281
  109977. };
  109978. A.updateSourceSpanPrototype_closure4.prototype = {
  109979. call$1(span) {
  109980. return span.get$context(span);
  109981. },
  109982. $signature: 281
  109983. };
  109984. A.updateSourceSpanPrototype_closure5.prototype = {
  109985. call$1($location) {
  109986. return $location.get$line();
  109987. },
  109988. $signature: 282
  109989. };
  109990. A.updateSourceSpanPrototype_closure6.prototype = {
  109991. call$1($location) {
  109992. return $location.get$column();
  109993. },
  109994. $signature: 282
  109995. };
  109996. A.StatementSearchVisitor0.prototype = {
  109997. visitAtRootRule$1(node) {
  109998. return this.visitChildren$1(node.children);
  109999. },
  110000. visitAtRule$1(node) {
  110001. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  110002. },
  110003. visitContentBlock$1(node) {
  110004. return this.visitChildren$1(node.children);
  110005. },
  110006. visitContentRule$1(node) {
  110007. return null;
  110008. },
  110009. visitDebugRule$1(node) {
  110010. return null;
  110011. },
  110012. visitDeclaration$1(node) {
  110013. return A.NullableExtension_andThen0(node.children, this.get$visitChildren());
  110014. },
  110015. visitEachRule$1(node) {
  110016. return this.visitChildren$1(node.children);
  110017. },
  110018. visitErrorRule$1(node) {
  110019. return null;
  110020. },
  110021. visitExtendRule$1(node) {
  110022. return null;
  110023. },
  110024. visitForRule$1(node) {
  110025. return this.visitChildren$1(node.children);
  110026. },
  110027. visitForwardRule$1(node) {
  110028. return null;
  110029. },
  110030. visitFunctionRule$1(node) {
  110031. return this.visitChildren$1(node.children);
  110032. },
  110033. visitIfRule$1(node) {
  110034. var t1 = A.IterableExtension_search0(node.clauses, new A.StatementSearchVisitor_visitIfRule_closure1(this));
  110035. return t1 == null ? A.NullableExtension_andThen0(node.lastClause, new A.StatementSearchVisitor_visitIfRule_closure2(this)) : t1;
  110036. },
  110037. visitImportRule$1(node) {
  110038. return null;
  110039. },
  110040. visitIncludeRule$1(node) {
  110041. return A.NullableExtension_andThen0(node.content, this.get$visitContentBlock());
  110042. },
  110043. visitLoudComment$1(node) {
  110044. return null;
  110045. },
  110046. visitMediaRule$1(node) {
  110047. return this.visitChildren$1(node.children);
  110048. },
  110049. visitMixinRule$1(node) {
  110050. return this.visitChildren$1(node.children);
  110051. },
  110052. visitReturnRule$1(node) {
  110053. return null;
  110054. },
  110055. visitSilentComment$1(node) {
  110056. return null;
  110057. },
  110058. visitStyleRule$1(node) {
  110059. return this.visitChildren$1(node.children);
  110060. },
  110061. visitStylesheet$1(node) {
  110062. return this.visitChildren$1(node.children);
  110063. },
  110064. visitSupportsRule$1(node) {
  110065. return this.visitChildren$1(node.children);
  110066. },
  110067. visitUseRule$1(node) {
  110068. return null;
  110069. },
  110070. visitVariableDeclaration$1(node) {
  110071. return null;
  110072. },
  110073. visitWarnRule$1(node) {
  110074. return null;
  110075. },
  110076. visitWhileRule$1(node) {
  110077. return this.visitChildren$1(node.children);
  110078. },
  110079. visitChildren$1(children) {
  110080. return A.IterableExtension_search0(children, new A.StatementSearchVisitor_visitChildren_closure0(this));
  110081. }
  110082. };
  110083. A.StatementSearchVisitor_visitIfRule_closure1.prototype = {
  110084. call$1(clause) {
  110085. return A.IterableExtension_search0(clause.children, new A.StatementSearchVisitor_visitIfRule__closure2(this.$this));
  110086. },
  110087. $signature() {
  110088. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(IfClause0)");
  110089. }
  110090. };
  110091. A.StatementSearchVisitor_visitIfRule__closure2.prototype = {
  110092. call$1(child) {
  110093. return child.accept$1(this.$this);
  110094. },
  110095. $signature() {
  110096. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  110097. }
  110098. };
  110099. A.StatementSearchVisitor_visitIfRule_closure2.prototype = {
  110100. call$1(lastClause) {
  110101. return A.IterableExtension_search0(lastClause.children, new A.StatementSearchVisitor_visitIfRule__closure1(this.$this));
  110102. },
  110103. $signature() {
  110104. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(ElseClause0)");
  110105. }
  110106. };
  110107. A.StatementSearchVisitor_visitIfRule__closure1.prototype = {
  110108. call$1(child) {
  110109. return child.accept$1(this.$this);
  110110. },
  110111. $signature() {
  110112. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  110113. }
  110114. };
  110115. A.StatementSearchVisitor_visitChildren_closure0.prototype = {
  110116. call$1(child) {
  110117. return child.accept$1(this.$this);
  110118. },
  110119. $signature() {
  110120. return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)");
  110121. }
  110122. };
  110123. A.StaticImport0.prototype = {
  110124. toString$0(_) {
  110125. var t1 = this.url.toString$0(0),
  110126. t2 = this.modifiers;
  110127. return t1 + (t2 == null ? "" : " " + t2.toString$0(0));
  110128. },
  110129. $isImport0: 1,
  110130. $isAstNode0: 1,
  110131. get$span(receiver) {
  110132. return this.span;
  110133. }
  110134. };
  110135. A.StderrLogger0.prototype = {
  110136. warn$4$deprecation$span$trace(_, message, deprecation, span, trace) {
  110137. var t2,
  110138. result = new A.StringBuffer(""),
  110139. t1 = this.color;
  110140. if (t1) {
  110141. t2 = result._contents = "" + "\x1b[33m\x1b[1m";
  110142. t2 = result._contents = (deprecation ? result._contents = t2 + "Deprecation " : t2) + "Warning\x1b[0m";
  110143. } else
  110144. t2 = result._contents = (deprecation ? result._contents = "" + "DEPRECATION " : "") + "WARNING";
  110145. if (span == null)
  110146. t1 = result._contents = t2 + (": " + message + "\n");
  110147. else if (trace != null) {
  110148. t1 = t2 + (": " + message + "\n\n" + span.highlight$1$color(t1) + "\n");
  110149. result._contents = t1;
  110150. } else {
  110151. t1 = t2 + (" on " + span.message$2$color(0, "\n" + message, t1) + "\n");
  110152. result._contents = t1;
  110153. }
  110154. if (trace != null)
  110155. result._contents = t1 + (A.indent0(B.JSString_methods.trimRight$0(trace.toString$0(0)), 4) + "\n");
  110156. A.printError0(result);
  110157. },
  110158. warn$1($receiver, message) {
  110159. return this.warn$4$deprecation$span$trace($receiver, message, false, null, null);
  110160. },
  110161. warn$3$span$trace($receiver, message, span, trace) {
  110162. return this.warn$4$deprecation$span$trace($receiver, message, false, span, trace);
  110163. },
  110164. warn$2$span($receiver, message, span) {
  110165. return this.warn$4$deprecation$span$trace($receiver, message, false, span, null);
  110166. },
  110167. warn$2$trace($receiver, message, trace) {
  110168. return this.warn$4$deprecation$span$trace($receiver, message, false, null, trace);
  110169. },
  110170. debug$2(_, message, span) {
  110171. var url, t3, t4,
  110172. t1 = span.file,
  110173. t2 = span._file$_start;
  110174. if (A.FileLocation$_(t1, t2).file.url == null)
  110175. url = "-";
  110176. else {
  110177. t3 = A.FileLocation$_(t1, t2).file.url;
  110178. t4 = $.$get$context();
  110179. t3.toString;
  110180. url = t4.prettyUri$1(t3);
  110181. }
  110182. t1 = A.FileLocation$_(t1, t2);
  110183. t1 = t1.file.getLine$1(t1.offset);
  110184. t2 = this.color ? "\x1b[1mDebug\x1b[0m" : "DEBUG";
  110185. t2 = "" + (url + ":" + (t1 + 1) + " ") + t2 + (": " + message);
  110186. A.printError0(t2.charCodeAt(0) == 0 ? t2 : t2);
  110187. }
  110188. };
  110189. A.StringExpression0.prototype = {
  110190. get$span(_) {
  110191. return this.text.span;
  110192. },
  110193. accept$1$1(visitor) {
  110194. return visitor.visitStringExpression$1(this);
  110195. },
  110196. accept$1(visitor) {
  110197. return this.accept$1$1(visitor, type$.dynamic);
  110198. },
  110199. asInterpolation$1$static($static) {
  110200. var t1, t2, quote, t3, t4, buffer, t5, t6, _i, value;
  110201. if (!this.hasQuotes)
  110202. return this.text;
  110203. t1 = this.text;
  110204. t2 = t1.contents;
  110205. quote = A.StringExpression__bestQuote0(new A.WhereTypeIterable(t2, type$.WhereTypeIterable_String));
  110206. t3 = new A.StringBuffer("");
  110207. t4 = A._setArrayType([], type$.JSArray_Object);
  110208. buffer = new A.InterpolationBuffer0(t3, t4);
  110209. t3._contents += A.Primitives_stringFromCharCode(quote);
  110210. for (t5 = t2.length, t6 = type$.Expression_2, _i = 0; _i < t5; ++_i) {
  110211. value = t2[_i];
  110212. if (t6._is(value)) {
  110213. buffer._interpolation_buffer0$_flushText$0();
  110214. t4.push(value);
  110215. continue;
  110216. }
  110217. if (typeof value == "string")
  110218. A.StringExpression__quoteInnerText0(value, quote, buffer, $static);
  110219. }
  110220. t3._contents += A.Primitives_stringFromCharCode(quote);
  110221. return buffer.interpolation$1(t1.span);
  110222. },
  110223. asInterpolation$0() {
  110224. return this.asInterpolation$1$static(false);
  110225. },
  110226. toString$0(_) {
  110227. return this.asInterpolation$0().toString$0(0);
  110228. },
  110229. $isExpression0: 1,
  110230. $isAstNode0: 1
  110231. };
  110232. A.module_closure10.prototype = {
  110233. call$1($arguments) {
  110234. var limit, t2, chunks, i, lastEnd, match, t3,
  110235. t1 = J.getInterceptor$asx($arguments),
  110236. string = t1.$index($arguments, 0).assertString$1("string"),
  110237. separator = t1.$index($arguments, 1).assertString$1("separator");
  110238. t1 = t1.$index($arguments, 2).get$realNull();
  110239. limit = t1 == null ? null : t1.assertNumber$1("limit").assertInt$1("limit");
  110240. if (limit != null && limit < 1)
  110241. throw A.wrapException(A.SassScriptException$0("$limit: Must be 1 or greater, was " + A.S(limit) + ".", null));
  110242. t1 = string._string0$_text;
  110243. if (t1.length === 0)
  110244. return B.SassList_Sof2;
  110245. else {
  110246. t2 = separator._string0$_text;
  110247. if (t2.length === 0)
  110248. return A.SassList$0(A.MappedIterable_MappedIterable(new A.Runes(t1), new A.module__closure2(string), type$.Runes._eval$1("Iterable.E"), type$.Value_2), B.ListSeparator_rXA0, true);
  110249. }
  110250. chunks = A._setArrayType([], type$.JSArray_String);
  110251. for (t2 = B.JSString_methods.allMatches$1(t2, t1), t2 = new A._StringAllMatchesIterator(t2._input, t2._pattern, t2.__js_helper$_index), i = 0, lastEnd = 0; t2.moveNext$0();) {
  110252. match = t2.__js_helper$_current;
  110253. t3 = match.start;
  110254. chunks.push(B.JSString_methods.substring$2(t1, lastEnd, t3));
  110255. lastEnd = t3 + match.pattern.length;
  110256. ++i;
  110257. if (i === limit)
  110258. break;
  110259. }
  110260. chunks.push(B.JSString_methods.substring$1(t1, lastEnd));
  110261. return A.SassList$0(new A.MappedListIterable(chunks, new A.module__closure3(string), type$.MappedListIterable_String_Value_2), B.ListSeparator_rXA0, true);
  110262. },
  110263. $signature: 26
  110264. };
  110265. A.module__closure2.prototype = {
  110266. call$1(rune) {
  110267. return new A.SassString0(A.Primitives_stringFromCharCode(rune), this.string._string0$_hasQuotes);
  110268. },
  110269. $signature: 563
  110270. };
  110271. A.module__closure3.prototype = {
  110272. call$1(chunk) {
  110273. return new A.SassString0(chunk, this.string._string0$_hasQuotes);
  110274. },
  110275. $signature: 564
  110276. };
  110277. A._unquote_closure0.prototype = {
  110278. call$1($arguments) {
  110279. var string = J.$index$asx($arguments, 0).assertString$1("string");
  110280. if (!string._string0$_hasQuotes)
  110281. return string;
  110282. return new A.SassString0(string._string0$_text, false);
  110283. },
  110284. $signature: 18
  110285. };
  110286. A._quote_closure0.prototype = {
  110287. call$1($arguments) {
  110288. var string = J.$index$asx($arguments, 0).assertString$1("string");
  110289. if (string._string0$_hasQuotes)
  110290. return string;
  110291. return new A.SassString0(string._string0$_text, true);
  110292. },
  110293. $signature: 18
  110294. };
  110295. A._length_closure1.prototype = {
  110296. call$1($arguments) {
  110297. return A.SassNumber_SassNumber0(J.$index$asx($arguments, 0).assertString$1("string").get$_string0$_sassLength(), null);
  110298. },
  110299. $signature: 13
  110300. };
  110301. A._insert_closure0.prototype = {
  110302. call$1($arguments) {
  110303. var indexInt, codeUnitIndex, _s5_ = "index",
  110304. t1 = J.getInterceptor$asx($arguments),
  110305. string = t1.$index($arguments, 0).assertString$1("string"),
  110306. insert = t1.$index($arguments, 1).assertString$1("insert"),
  110307. index = t1.$index($arguments, 2).assertNumber$1(_s5_);
  110308. index.assertNoUnits$1(_s5_);
  110309. indexInt = index.assertInt$1(_s5_);
  110310. if (indexInt < 0)
  110311. indexInt = Math.max(string.get$_string0$_sassLength() + indexInt + 2, 0);
  110312. t1 = string._string0$_text;
  110313. codeUnitIndex = A.codepointIndexToCodeUnitIndex0(t1, A._codepointForIndex0(indexInt, string.get$_string0$_sassLength(), false));
  110314. return new A.SassString0(B.JSString_methods.replaceRange$3(t1, codeUnitIndex, codeUnitIndex, insert._string0$_text), string._string0$_hasQuotes);
  110315. },
  110316. $signature: 18
  110317. };
  110318. A._index_closure1.prototype = {
  110319. call$1($arguments) {
  110320. var t1 = J.getInterceptor$asx($arguments),
  110321. t2 = t1.$index($arguments, 0).assertString$1("string")._string0$_text,
  110322. codeUnitIndex = B.JSString_methods.indexOf$1(t2, t1.$index($arguments, 1).assertString$1("substring")._string0$_text);
  110323. if (codeUnitIndex === -1)
  110324. return B.C__SassNull0;
  110325. return A.SassNumber_SassNumber0(A.codeUnitIndexToCodepointIndex0(t2, codeUnitIndex) + 1, null);
  110326. },
  110327. $signature: 5
  110328. };
  110329. A._slice_closure0.prototype = {
  110330. call$1($arguments) {
  110331. var lengthInCodepoints, endInt, startCodepoint, endCodepoint,
  110332. _s8_ = "start-at",
  110333. t1 = J.getInterceptor$asx($arguments),
  110334. string = t1.$index($arguments, 0).assertString$1("string"),
  110335. start = t1.$index($arguments, 1).assertNumber$1(_s8_),
  110336. end = t1.$index($arguments, 2).assertNumber$1("end-at");
  110337. start.assertNoUnits$1(_s8_);
  110338. end.assertNoUnits$1("end-at");
  110339. lengthInCodepoints = string.get$_string0$_sassLength();
  110340. endInt = end.assertInt$0();
  110341. if (endInt === 0)
  110342. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  110343. startCodepoint = A._codepointForIndex0(start.assertInt$0(), lengthInCodepoints, false);
  110344. endCodepoint = A._codepointForIndex0(endInt, lengthInCodepoints, true);
  110345. if (endCodepoint === lengthInCodepoints)
  110346. --endCodepoint;
  110347. if (endCodepoint < startCodepoint)
  110348. return string._string0$_hasQuotes ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  110349. t1 = string._string0$_text;
  110350. return new A.SassString0(B.JSString_methods.substring$2(t1, A.codepointIndexToCodeUnitIndex0(t1, startCodepoint), A.codepointIndexToCodeUnitIndex0(t1, endCodepoint + 1)), string._string0$_hasQuotes);
  110351. },
  110352. $signature: 18
  110353. };
  110354. A._toUpperCase_closure0.prototype = {
  110355. call$1($arguments) {
  110356. var t1, t2, i, t3, t4,
  110357. string = J.$index$asx($arguments, 0).assertString$1("string");
  110358. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  110359. t4 = t1.charCodeAt(i);
  110360. t3 += A.Primitives_stringFromCharCode(t4 >= 97 && t4 <= 122 ? t4 & 4294967263 : t4);
  110361. }
  110362. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  110363. },
  110364. $signature: 18
  110365. };
  110366. A._toLowerCase_closure0.prototype = {
  110367. call$1($arguments) {
  110368. var t1, t2, i, t3, t4,
  110369. string = J.$index$asx($arguments, 0).assertString$1("string");
  110370. for (t1 = string._string0$_text, t2 = t1.length, i = 0, t3 = ""; i < t2; ++i) {
  110371. t4 = t1.charCodeAt(i);
  110372. t3 += A.Primitives_stringFromCharCode(t4 >= 65 && t4 <= 90 ? t4 | 32 : t4);
  110373. }
  110374. return new A.SassString0(t3.charCodeAt(0) == 0 ? t3 : t3, string._string0$_hasQuotes);
  110375. },
  110376. $signature: 18
  110377. };
  110378. A._uniqueId_closure0.prototype = {
  110379. call$1($arguments) {
  110380. var t1 = $.$get$_previousUniqueId0() + ($.$get$_random1().nextInt$1(36) + 1);
  110381. $._previousUniqueId0 = t1;
  110382. if (t1 > Math.pow(36, 6))
  110383. $._previousUniqueId0 = B.JSInt_methods.$mod($.$get$_previousUniqueId0(), A._asInt(Math.pow(36, 6)));
  110384. return new A.SassString0("u" + B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1($.$get$_previousUniqueId0(), 36), 6, "0"), false);
  110385. },
  110386. $signature: 18
  110387. };
  110388. A.stringClass_closure.prototype = {
  110389. call$0() {
  110390. var t2,
  110391. t1 = type$.JSClass,
  110392. jsClass = t1._as(A.allowInteropCaptureThisNamed("sass.SassString", new A.stringClass__closure()));
  110393. 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));
  110394. J.get$$prototype$x(jsClass).sassIndexToStringIndex = A.allowInteropCaptureThisNamed("sassIndexToStringIndex", new A.stringClass__closure3());
  110395. t2 = $.$get$_emptyQuoted0();
  110396. A.JSClassExtension_injectSuperclass(t1._as(t2.constructor), jsClass);
  110397. return jsClass;
  110398. },
  110399. $signature: 24
  110400. };
  110401. A.stringClass__closure.prototype = {
  110402. call$3($self, textOrOptions, options) {
  110403. var t1;
  110404. if (typeof textOrOptions == "string") {
  110405. t1 = options == null ? null : J.get$quotes$x(options);
  110406. t1 = new A.SassString0(textOrOptions, t1 == null ? true : t1);
  110407. } else {
  110408. type$.nullable__ConstructorOptions_3._as(textOrOptions);
  110409. t1 = textOrOptions == null ? null : J.get$quotes$x(textOrOptions);
  110410. t1 = (t1 == null ? true : t1) ? $.$get$_emptyQuoted0() : $.$get$_emptyUnquoted0();
  110411. }
  110412. return t1;
  110413. },
  110414. call$1($self) {
  110415. return this.call$3($self, null, null);
  110416. },
  110417. call$2($self, textOrOptions) {
  110418. return this.call$3($self, textOrOptions, null);
  110419. },
  110420. "call*": "call$3",
  110421. $requiredArgCount: 1,
  110422. $defaultValues() {
  110423. return [null, null];
  110424. },
  110425. $signature: 565
  110426. };
  110427. A.stringClass__closure0.prototype = {
  110428. call$1($self) {
  110429. return $self._string0$_text;
  110430. },
  110431. $signature: 566
  110432. };
  110433. A.stringClass__closure1.prototype = {
  110434. call$1($self) {
  110435. return $self._string0$_hasQuotes;
  110436. },
  110437. $signature: 567
  110438. };
  110439. A.stringClass__closure2.prototype = {
  110440. call$1($self) {
  110441. return $self.get$_string0$_sassLength();
  110442. },
  110443. $signature: 568
  110444. };
  110445. A.stringClass__closure3.prototype = {
  110446. call$3($self, sassIndex, $name) {
  110447. var t1,
  110448. index = sassIndex.assertNumber$1($name).assertInt$1($name);
  110449. if (index === 0)
  110450. A.throwExpression(A.SassScriptException$0("String index may not be 0.", $name));
  110451. else if (Math.abs(index) > $self.get$_string0$_sassLength())
  110452. A.throwExpression(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a string with " + $self.get$_string0$_sassLength() + " characters.", $name));
  110453. t1 = index < 0 ? $self.get$_string0$_sassLength() + index : index - 1;
  110454. return A.codepointIndexToCodeUnitIndex0($self._string0$_text, t1);
  110455. },
  110456. call$2($self, sassIndex) {
  110457. return this.call$3($self, sassIndex, null);
  110458. },
  110459. "call*": "call$3",
  110460. $requiredArgCount: 2,
  110461. $defaultValues() {
  110462. return [null];
  110463. },
  110464. $signature: 569
  110465. };
  110466. A._ConstructorOptions1.prototype = {};
  110467. A._NodeSassString.prototype = {};
  110468. A.legacyStringClass_closure.prototype = {
  110469. call$3(thisArg, value, dartValue) {
  110470. var t1;
  110471. if (dartValue == null) {
  110472. value.toString;
  110473. t1 = new A.SassString0(value, false);
  110474. } else
  110475. t1 = dartValue;
  110476. J.set$dartValue$x(thisArg, t1);
  110477. },
  110478. call$2(thisArg, value) {
  110479. return this.call$3(thisArg, value, null);
  110480. },
  110481. "call*": "call$3",
  110482. $requiredArgCount: 2,
  110483. $defaultValues() {
  110484. return [null];
  110485. },
  110486. $signature: 570
  110487. };
  110488. A.legacyStringClass_closure0.prototype = {
  110489. call$1(thisArg) {
  110490. return J.get$dartValue$x(thisArg)._string0$_text;
  110491. },
  110492. $signature: 571
  110493. };
  110494. A.legacyStringClass_closure1.prototype = {
  110495. call$2(thisArg, value) {
  110496. J.set$dartValue$x(thisArg, new A.SassString0(value, false));
  110497. },
  110498. $signature: 572
  110499. };
  110500. A.SassString0.prototype = {
  110501. get$_string0$_sassLength() {
  110502. var t1, result, _this = this,
  110503. value = _this._string0$__SassString__sassLength_FI;
  110504. if (value === $) {
  110505. t1 = new A.Runes(_this._string0$_text);
  110506. result = t1.get$length(t1);
  110507. _this._string0$__SassString__sassLength_FI !== $ && A.throwUnnamedLateFieldADI();
  110508. _this._string0$__SassString__sassLength_FI = result;
  110509. value = result;
  110510. }
  110511. return value;
  110512. },
  110513. get$isSpecialNumber() {
  110514. var t1, _2_0, _0_0, _1_0;
  110515. if (this._string0$_hasQuotes)
  110516. return false;
  110517. t1 = this._string0$_text;
  110518. if (t1.length < 6)
  110519. return false;
  110520. _2_0 = t1.charCodeAt(0);
  110521. $label1$1: {
  110522. if (99 === _2_0 || 67 === _2_0) {
  110523. _0_0 = t1.charCodeAt(1);
  110524. $label0$0: {
  110525. if (108 === _0_0 || 76 === _0_0) {
  110526. t1 = (t1.charCodeAt(2) | 32) === 97 && (t1.charCodeAt(3) | 32) === 109 && (t1.charCodeAt(4) | 32) === 112 && t1.charCodeAt(5) === 40;
  110527. break $label0$0;
  110528. }
  110529. if (97 === _0_0 || 65 === _0_0) {
  110530. t1 = (t1.charCodeAt(2) | 32) === 108 && (t1.charCodeAt(3) | 32) === 99 && t1.charCodeAt(4) === 40;
  110531. break $label0$0;
  110532. }
  110533. t1 = false;
  110534. break $label0$0;
  110535. }
  110536. break $label1$1;
  110537. }
  110538. if (118 === _2_0 || 86 === _2_0) {
  110539. t1 = (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  110540. break $label1$1;
  110541. }
  110542. if (101 === _2_0 || 69 === _2_0) {
  110543. t1 = (t1.charCodeAt(1) | 32) === 110 && (t1.charCodeAt(2) | 32) === 118 && t1.charCodeAt(3) === 40;
  110544. break $label1$1;
  110545. }
  110546. if (109 === _2_0 || 77 === _2_0) {
  110547. _1_0 = t1.charCodeAt(1);
  110548. $label2$2: {
  110549. if (97 === _1_0 || 65 === _1_0) {
  110550. t1 = (t1.charCodeAt(2) | 32) === 120 && t1.charCodeAt(3) === 40;
  110551. break $label2$2;
  110552. }
  110553. if (105 === _1_0 || 73 === _1_0) {
  110554. t1 = (t1.charCodeAt(2) | 32) === 110 && t1.charCodeAt(3) === 40;
  110555. break $label2$2;
  110556. }
  110557. t1 = false;
  110558. break $label2$2;
  110559. }
  110560. break $label1$1;
  110561. }
  110562. t1 = false;
  110563. break $label1$1;
  110564. }
  110565. return t1;
  110566. },
  110567. get$isVar() {
  110568. if (this._string0$_hasQuotes)
  110569. return false;
  110570. var t1 = this._string0$_text;
  110571. if (t1.length < 8)
  110572. return false;
  110573. return (t1.charCodeAt(0) | 32) === 118 && (t1.charCodeAt(1) | 32) === 97 && (t1.charCodeAt(2) | 32) === 114 && t1.charCodeAt(3) === 40;
  110574. },
  110575. get$isBlank() {
  110576. return !this._string0$_hasQuotes && this._string0$_text.length === 0;
  110577. },
  110578. accept$1$1(visitor) {
  110579. var t1 = visitor._serialize0$_quote && this._string0$_hasQuotes,
  110580. t2 = this._string0$_text;
  110581. if (t1)
  110582. visitor._serialize0$_visitQuotedString$1(t2);
  110583. else
  110584. visitor._serialize0$_visitUnquotedString$1(t2);
  110585. return null;
  110586. },
  110587. accept$1(visitor) {
  110588. return this.accept$1$1(visitor, type$.dynamic);
  110589. },
  110590. assertString$1($name) {
  110591. return this;
  110592. },
  110593. plus$1(other) {
  110594. var t1 = this._string0$_text,
  110595. t2 = this._string0$_hasQuotes;
  110596. return other instanceof A.SassString0 ? new A.SassString0(t1 + other._string0$_text, t2) : new A.SassString0(t1 + A.serializeValue0(other, false, true), t2);
  110597. },
  110598. $eq(_, other) {
  110599. if (other == null)
  110600. return false;
  110601. return other instanceof A.SassString0 && this._string0$_text === other._string0$_text;
  110602. },
  110603. get$hashCode(_) {
  110604. var t1 = this._string0$_hashCache;
  110605. return t1 == null ? this._string0$_hashCache = B.JSString_methods.get$hashCode(this._string0$_text) : t1;
  110606. }
  110607. };
  110608. A.ModifiableCssStyleRule0.prototype = {
  110609. accept$1$1(visitor) {
  110610. return visitor.visitCssStyleRule$1(this);
  110611. },
  110612. accept$1(visitor) {
  110613. return this.accept$1$1(visitor, type$.dynamic);
  110614. },
  110615. equalsIgnoringChildren$1(other) {
  110616. var t1;
  110617. if (other instanceof A.ModifiableCssStyleRule0)
  110618. t1 = B.C_ListEquality.equals$2(0, other._style_rule0$_selector._box0$_inner.value.components, this._style_rule0$_selector._box0$_inner.value.components);
  110619. else
  110620. t1 = false;
  110621. return t1;
  110622. },
  110623. copyWithoutChildren$0() {
  110624. return A.ModifiableCssStyleRule$0(this._style_rule0$_selector, this.span, this.originalSelector);
  110625. },
  110626. get$span(receiver) {
  110627. return this.span;
  110628. }
  110629. };
  110630. A.StyleRule0.prototype = {
  110631. accept$1$1(visitor) {
  110632. return visitor.visitStyleRule$1(this);
  110633. },
  110634. accept$1(visitor) {
  110635. return this.accept$1$1(visitor, type$.dynamic);
  110636. },
  110637. toString$0(_) {
  110638. var t1 = this.children;
  110639. return this.selector.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  110640. },
  110641. get$span(receiver) {
  110642. return this.span;
  110643. }
  110644. };
  110645. A.CssStylesheet0.prototype = {
  110646. get$isGroupEnd() {
  110647. return false;
  110648. },
  110649. get$isChildless() {
  110650. return false;
  110651. },
  110652. accept$1$1(visitor) {
  110653. return visitor.visitCssStylesheet$1(this);
  110654. },
  110655. accept$1(visitor) {
  110656. return this.accept$1$1(visitor, type$.dynamic);
  110657. },
  110658. get$children(receiver) {
  110659. return this.children;
  110660. },
  110661. get$span(receiver) {
  110662. return this.span;
  110663. }
  110664. };
  110665. A.ModifiableCssStylesheet0.prototype = {
  110666. accept$1$1(visitor) {
  110667. return visitor.visitCssStylesheet$1(this);
  110668. },
  110669. accept$1(visitor) {
  110670. return this.accept$1$1(visitor, type$.dynamic);
  110671. },
  110672. equalsIgnoringChildren$1(other) {
  110673. return other instanceof A.ModifiableCssStylesheet0;
  110674. },
  110675. copyWithoutChildren$0() {
  110676. return A.ModifiableCssStylesheet$0(this.span);
  110677. },
  110678. $isCssStylesheet0: 1,
  110679. get$span(receiver) {
  110680. return this.span;
  110681. }
  110682. };
  110683. A.StylesheetParser0.prototype = {
  110684. parse$0() {
  110685. return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure0(this));
  110686. },
  110687. parseArgumentDeclaration$0() {
  110688. return this._stylesheet0$_parseSingleProduction$1$1(new A.StylesheetParser_parseArgumentDeclaration_closure0(this), type$.ArgumentDeclaration_2);
  110689. },
  110690. _stylesheet0$_parseSingleProduction$1$1(production, $T) {
  110691. return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure0(this, production, $T));
  110692. },
  110693. parseSignature$1$requireParens(requireParens) {
  110694. return this.wrapSpanFormatException$1(new A.StylesheetParser_parseSignature_closure(this, requireParens));
  110695. },
  110696. _stylesheet0$_statement$1$root(root) {
  110697. var t2, _this = this,
  110698. t1 = _this.scanner,
  110699. _0_0 = t1.peekChar$0();
  110700. if (64 === _0_0)
  110701. return _this.atRule$2$root(new A.StylesheetParser__statement_closure0(_this), root);
  110702. if (43 === _0_0) {
  110703. if (!_this.get$indented() || !_this.lookingAtIdentifier$1(1))
  110704. return _this._stylesheet0$_styleRule$0();
  110705. _this._stylesheet0$_isUseAllowed = false;
  110706. t2 = t1._string_scanner$_position;
  110707. t1.readChar$0();
  110708. return _this._stylesheet0$_includeRule$1(new A._SpanScannerState(t1, t2));
  110709. }
  110710. if (61 === _0_0) {
  110711. if (!_this.get$indented())
  110712. return _this._stylesheet0$_styleRule$0();
  110713. _this._stylesheet0$_isUseAllowed = false;
  110714. t2 = t1._string_scanner$_position;
  110715. t1.readChar$0();
  110716. _this.whitespace$0();
  110717. return _this._stylesheet0$_mixinRule$1(new A._SpanScannerState(t1, t2));
  110718. }
  110719. if (125 === _0_0)
  110720. t1.error$2$length(0, 'unmatched "}".', 1);
  110721. return _this._stylesheet0$_inStyleRule || _this._stylesheet0$_inUnknownAtRule || _this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock ? _this._stylesheet0$_declarationOrStyleRule$0() : _this._stylesheet0$_variableDeclarationOrStyleRule$0();
  110722. },
  110723. _stylesheet0$_statement$0() {
  110724. return this._stylesheet0$_statement$1$root(false);
  110725. },
  110726. variableDeclarationWithoutNamespace$2(namespace, start_) {
  110727. var t1, start, $name, t2, value, flagStart, t3, guarded, global, _0_0, endPosition, t4, t5, t6, declaration, _this = this,
  110728. precedingComment = _this.lastSilentComment;
  110729. _this.lastSilentComment = null;
  110730. if (start_ == null) {
  110731. t1 = _this.scanner;
  110732. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  110733. } else
  110734. start = start_;
  110735. $name = _this.variableName$0();
  110736. t1 = namespace != null;
  110737. if (t1)
  110738. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure1(_this, start));
  110739. if (_this.get$plainCss())
  110740. _this.error$2(0, string$.Sass_v, _this.scanner.spanFrom$1(start));
  110741. _this.whitespace$0();
  110742. t2 = _this.scanner;
  110743. t2.expectChar$1(58);
  110744. _this.whitespace$0();
  110745. value = _this._stylesheet0$_expression$0();
  110746. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  110747. for (t3 = _this.logger, guarded = false, global = false; t2.scanChar$1(33);) {
  110748. $label0$0: {
  110749. _0_0 = _this.identifier$0();
  110750. if ("default" === _0_0) {
  110751. if (guarded) {
  110752. endPosition = t2._string_scanner$_position;
  110753. t4 = t2._sourceFile;
  110754. t5 = flagStart.position;
  110755. t6 = new A._FileSpan(t4, t5, endPosition);
  110756. t6._FileSpan$3(t4, t5, endPosition);
  110757. A.WarnForDeprecation_warnForDeprecation0(t3, B.Deprecation_ynv, string$.x21defau, t6, null);
  110758. }
  110759. guarded = true;
  110760. break $label0$0;
  110761. }
  110762. if ("global" === _0_0) {
  110763. if (t1) {
  110764. endPosition = t2._string_scanner$_position;
  110765. t4 = t2._sourceFile;
  110766. t5 = flagStart.position;
  110767. t6 = new A._FileSpan(t4, t5, endPosition);
  110768. t6._FileSpan$3(t4, t5, endPosition);
  110769. _this.error$2(0, string$.x21globai, t6);
  110770. } else if (global) {
  110771. endPosition = t2._string_scanner$_position;
  110772. t4 = t2._sourceFile;
  110773. t5 = flagStart.position;
  110774. t6 = new A._FileSpan(t4, t5, endPosition);
  110775. t6._FileSpan$3(t4, t5, endPosition);
  110776. A.WarnForDeprecation_warnForDeprecation0(t3, B.Deprecation_ynv, string$.x21globas, t6, null);
  110777. }
  110778. global = true;
  110779. break $label0$0;
  110780. }
  110781. endPosition = t2._string_scanner$_position;
  110782. t4 = t2._sourceFile;
  110783. t5 = flagStart.position;
  110784. t6 = new A._FileSpan(t4, t5, endPosition);
  110785. t6._FileSpan$3(t4, t5, endPosition);
  110786. _this.error$2(0, "Invalid flag name.", t6);
  110787. }
  110788. _this.whitespace$0();
  110789. flagStart = new A._SpanScannerState(t2, t2._string_scanner$_position);
  110790. }
  110791. _this.expectStatementSeparator$1("variable declaration");
  110792. declaration = A.VariableDeclaration$0($name, value, t2.spanFrom$1(start), precedingComment, global, guarded, namespace);
  110793. if (global)
  110794. _this._stylesheet0$_globalVariables.putIfAbsent$2($name, new A.StylesheetParser_variableDeclarationWithoutNamespace_closure2(declaration));
  110795. return declaration;
  110796. },
  110797. variableDeclarationWithoutNamespace$0() {
  110798. return this.variableDeclarationWithoutNamespace$2(null, null);
  110799. },
  110800. _stylesheet0$_variableDeclarationOrStyleRule$0() {
  110801. var t1, t2, variableOrInterpolation, t3, _this = this;
  110802. if (_this.get$plainCss())
  110803. return _this._stylesheet0$_styleRule$0();
  110804. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  110805. return _this._stylesheet0$_styleRule$0();
  110806. if (!_this.lookingAtIdentifier$0())
  110807. return _this._stylesheet0$_styleRule$0();
  110808. t1 = _this.scanner;
  110809. t2 = t1._string_scanner$_position;
  110810. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  110811. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  110812. t1 = variableOrInterpolation;
  110813. else {
  110814. t3 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  110815. t3.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  110816. t2 = _this._stylesheet0$_styleRule$2(t3, new A._SpanScannerState(t1, t2));
  110817. t1 = t2;
  110818. }
  110819. return t1;
  110820. },
  110821. _stylesheet0$_declarationOrStyleRule$0() {
  110822. var t1, t2, declarationOrBuffer, _this = this;
  110823. if (_this.get$plainCss() && _this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inUnknownAtRule)
  110824. return _this._stylesheet0$_propertyOrVariableDeclaration$0();
  110825. if (_this.get$indented() && _this.scanner.scanChar$1(92))
  110826. return _this._stylesheet0$_styleRule$0();
  110827. t1 = _this.scanner;
  110828. t2 = t1._string_scanner$_position;
  110829. declarationOrBuffer = _this._stylesheet0$_declarationOrBuffer$0();
  110830. return type$.Statement_2._is(declarationOrBuffer) ? declarationOrBuffer : _this._stylesheet0$_styleRule$2(type$.InterpolationBuffer_2._as(declarationOrBuffer), new A._SpanScannerState(t1, t2));
  110831. },
  110832. _stylesheet0$_declarationOrBuffer$0() {
  110833. var midBuffer, couldBeSelector, beforeDeclaration, additional, t3, startsWithPunctuation, variableOrInterpolation, t4, $name, postColonWhitespace, exception, _this = this, t1 = {},
  110834. t2 = _this.scanner,
  110835. start = new A._SpanScannerState(t2, t2._string_scanner$_position),
  110836. nameBuffer = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  110837. if (_this._stylesheet0$_lookingAtPotentialPropertyHack$0()) {
  110838. t3 = t2.readChar$0();
  110839. nameBuffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(t3);
  110840. t3 = _this.rawText$1(_this.get$whitespace());
  110841. nameBuffer._interpolation_buffer0$_text._contents += t3;
  110842. startsWithPunctuation = true;
  110843. } else
  110844. startsWithPunctuation = false;
  110845. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  110846. return nameBuffer;
  110847. variableOrInterpolation = startsWithPunctuation ? _this.interpolatedIdentifier$0() : _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  110848. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  110849. return variableOrInterpolation;
  110850. else
  110851. nameBuffer.addInterpolation$1(type$.Interpolation_2._as(variableOrInterpolation));
  110852. _this._stylesheet0$_isUseAllowed = false;
  110853. if (t2.matches$1("/*")) {
  110854. t3 = _this.rawText$1(_this.get$loudComment());
  110855. nameBuffer._interpolation_buffer0$_text._contents += t3;
  110856. }
  110857. midBuffer = new A.StringBuffer("");
  110858. t3 = _this.get$whitespace();
  110859. midBuffer._contents += _this.rawText$1(t3);
  110860. t4 = t2._string_scanner$_position;
  110861. if (!t2.scanChar$1(58)) {
  110862. if (midBuffer._contents.length !== 0)
  110863. nameBuffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(32);
  110864. return nameBuffer;
  110865. }
  110866. midBuffer._contents += A.Primitives_stringFromCharCode(58);
  110867. $name = nameBuffer.interpolation$1(t2.spanFrom$2(start, new A._SpanScannerState(t2, t4)));
  110868. if (B.JSString_methods.startsWith$1($name.get$initialPlain(), "--")) {
  110869. t1 = _this._stylesheet0$_interpolatedDeclarationValue$0();
  110870. _this.expectStatementSeparator$1("custom property");
  110871. return A.Declaration$0($name, new A.StringExpression0(t1, false), t2.spanFrom$1(start));
  110872. }
  110873. if (t2.scanChar$1(58)) {
  110874. t1 = nameBuffer;
  110875. t2 = t1._interpolation_buffer0$_text;
  110876. t2._contents += A.S(midBuffer);
  110877. t2._contents += A.Primitives_stringFromCharCode(58);
  110878. return t1;
  110879. } else if (_this.get$indented() && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  110880. t1 = nameBuffer;
  110881. t1._interpolation_buffer0$_text._contents += A.S(midBuffer);
  110882. return t1;
  110883. }
  110884. postColonWhitespace = _this.rawText$1(t3);
  110885. if (_this.lookingAtChildren$0())
  110886. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure1($name));
  110887. midBuffer._contents += postColonWhitespace;
  110888. couldBeSelector = postColonWhitespace.length === 0 && _this._stylesheet0$_lookingAtInterpolatedIdentifier$0();
  110889. beforeDeclaration = new A._SpanScannerState(t2, t2._string_scanner$_position);
  110890. t3 = t1.value = null;
  110891. try {
  110892. t3 = t1.value = _this._stylesheet0$_expression$0();
  110893. if (_this.lookingAtChildren$0()) {
  110894. if (couldBeSelector)
  110895. _this.expectStatementSeparator$0();
  110896. } else if (!_this.atEndOfStatement$0())
  110897. _this.expectStatementSeparator$0();
  110898. } catch (exception) {
  110899. if (type$.FormatException._is(A.unwrapException(exception))) {
  110900. if (!couldBeSelector)
  110901. throw exception;
  110902. t2.set$state(beforeDeclaration);
  110903. additional = _this.almostAnyValue$0();
  110904. if (!_this.get$indented() && t2.peekChar$0() === 59)
  110905. throw exception;
  110906. nameBuffer._interpolation_buffer0$_text._contents += A.S(midBuffer);
  110907. nameBuffer.addInterpolation$1(additional);
  110908. return nameBuffer;
  110909. } else
  110910. throw exception;
  110911. }
  110912. if (_this.lookingAtChildren$0())
  110913. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__declarationOrBuffer_closure2(t1, $name));
  110914. else {
  110915. _this.expectStatementSeparator$0();
  110916. return A.Declaration$0($name, t3, t2.spanFrom$1(start));
  110917. }
  110918. },
  110919. _stylesheet0$_variableDeclarationOrInterpolation$0() {
  110920. var t1, start, identifier, t2, buffer, _this = this;
  110921. if (!_this.lookingAtIdentifier$0())
  110922. return _this.interpolatedIdentifier$0();
  110923. t1 = _this.scanner;
  110924. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  110925. identifier = _this.identifier$0();
  110926. if (t1.matches$1(".$")) {
  110927. t1.readChar$0();
  110928. return _this.variableDeclarationWithoutNamespace$2(identifier, start);
  110929. } else {
  110930. t2 = new A.StringBuffer("");
  110931. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
  110932. t2._contents = "" + identifier;
  110933. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  110934. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  110935. return buffer.interpolation$1(t1.spanFrom$1(start));
  110936. }
  110937. },
  110938. _stylesheet0$_styleRule$2(buffer, start_) {
  110939. var t2, start, interpolation, wasInStyleRule, _this = this, t1 = {};
  110940. _this._stylesheet0$_isUseAllowed = false;
  110941. if (start_ == null) {
  110942. t2 = _this.scanner;
  110943. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  110944. } else
  110945. start = start_;
  110946. interpolation = t1.interpolation = _this.styleRuleSelector$0();
  110947. if (buffer != null) {
  110948. buffer.addInterpolation$1(interpolation);
  110949. t2 = t1.interpolation = buffer.interpolation$1(_this.scanner.spanFrom$1(start));
  110950. } else
  110951. t2 = interpolation;
  110952. if (t2.contents.length === 0)
  110953. _this.scanner.error$1(0, 'expected "}".');
  110954. wasInStyleRule = _this._stylesheet0$_inStyleRule;
  110955. _this._stylesheet0$_inStyleRule = true;
  110956. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__styleRule_closure0(t1, _this, wasInStyleRule, start));
  110957. },
  110958. _stylesheet0$_styleRule$0() {
  110959. return this._stylesheet0$_styleRule$2(null, null);
  110960. },
  110961. _stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(parseCustomProperties) {
  110962. var t3, nameBuffer, variableOrInterpolation, $name, value, _this = this,
  110963. _s48_ = string$.Nested,
  110964. t1 = {},
  110965. t2 = _this.scanner,
  110966. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  110967. t1.name = null;
  110968. if (_this._stylesheet0$_lookingAtPotentialPropertyHack$0()) {
  110969. t3 = new A.StringBuffer("");
  110970. nameBuffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  110971. t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  110972. t3._contents += _this.rawText$1(_this.get$whitespace());
  110973. nameBuffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  110974. t3 = t1.name = nameBuffer.interpolation$1(t2.spanFrom$1(start));
  110975. } else if (!_this.get$plainCss()) {
  110976. variableOrInterpolation = _this._stylesheet0$_variableDeclarationOrInterpolation$0();
  110977. if (variableOrInterpolation instanceof A.VariableDeclaration0)
  110978. return variableOrInterpolation;
  110979. else {
  110980. type$.Interpolation_2._as(variableOrInterpolation);
  110981. t1.name = variableOrInterpolation;
  110982. }
  110983. t3 = variableOrInterpolation;
  110984. } else {
  110985. $name = _this.interpolatedIdentifier$0();
  110986. t1.name = $name;
  110987. t3 = $name;
  110988. }
  110989. _this.whitespace$0();
  110990. t2.expectChar$1(58);
  110991. if (parseCustomProperties && B.JSString_methods.startsWith$1(t3.get$initialPlain(), "--")) {
  110992. t1 = _this._stylesheet0$_interpolatedDeclarationValue$0();
  110993. _this.expectStatementSeparator$1("custom property");
  110994. return A.Declaration$0(t3, new A.StringExpression0(t1, false), t2.spanFrom$1(start));
  110995. }
  110996. _this.whitespace$0();
  110997. if (_this.lookingAtChildren$0()) {
  110998. if (_this.get$plainCss())
  110999. t2.error$1(0, _s48_);
  111000. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure1(t1));
  111001. }
  111002. value = _this._stylesheet0$_expression$0();
  111003. if (_this.lookingAtChildren$0()) {
  111004. if (_this.get$plainCss())
  111005. t2.error$1(0, _s48_);
  111006. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_declarationChild(), start, new A.StylesheetParser__propertyOrVariableDeclaration_closure2(t1, value));
  111007. } else {
  111008. _this.expectStatementSeparator$0();
  111009. return A.Declaration$0(t3, value, t2.spanFrom$1(start));
  111010. }
  111011. },
  111012. _stylesheet0$_propertyOrVariableDeclaration$0() {
  111013. return this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(true);
  111014. },
  111015. _stylesheet0$_declarationChild$0() {
  111016. return this.scanner.peekChar$0() === 64 ? this._stylesheet0$_declarationAtRule$0() : this._stylesheet0$_propertyOrVariableDeclaration$1$parseCustomProperties(false);
  111017. },
  111018. atRule$2$root(child, root) {
  111019. var $name, wasUseAllowed, value, optional, url, namespace, configuration, span, _this = this,
  111020. _s9_ = "@use rule",
  111021. t1 = _this.scanner,
  111022. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  111023. t1.expectChar$2$name(64, "@-rule");
  111024. $name = _this.interpolatedIdentifier$0();
  111025. _this.whitespace$0();
  111026. wasUseAllowed = _this._stylesheet0$_isUseAllowed;
  111027. _this._stylesheet0$_isUseAllowed = false;
  111028. switch ($name.get$asPlain()) {
  111029. case "at-root":
  111030. return _this._stylesheet0$_atRootRule$1(start);
  111031. case "content":
  111032. return _this._stylesheet0$_contentRule$1(start);
  111033. case "debug":
  111034. return _this._stylesheet0$_debugRule$1(start);
  111035. case "each":
  111036. return _this._stylesheet0$_eachRule$2(start, child);
  111037. case "else":
  111038. return _this._stylesheet0$_disallowedAtRule$1(start);
  111039. case "error":
  111040. return _this._stylesheet0$_errorRule$1(start);
  111041. case "extend":
  111042. if (!_this._stylesheet0$_inStyleRule && !_this._stylesheet0$_inMixin && !_this._stylesheet0$_inContentBlock)
  111043. _this.error$2(0, string$.x40exten, t1.spanFrom$1(start));
  111044. value = _this.almostAnyValue$0();
  111045. optional = t1.scanChar$1(33);
  111046. if (optional)
  111047. _this.expectIdentifier$1("optional");
  111048. _this.expectStatementSeparator$1("@extend rule");
  111049. return new A.ExtendRule0(value, optional, t1.spanFrom$1(start));
  111050. case "for":
  111051. return _this._stylesheet0$_forRule$2(start, child);
  111052. case "forward":
  111053. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  111054. if (!root)
  111055. _this._stylesheet0$_disallowedAtRule$1(start);
  111056. return _this._stylesheet0$_forwardRule$1(start);
  111057. case "function":
  111058. return _this._stylesheet0$_functionRule$1(start);
  111059. case "if":
  111060. return _this._stylesheet0$_ifRule$2(start, child);
  111061. case "import":
  111062. return _this._stylesheet0$_importRule$1(start);
  111063. case "include":
  111064. return _this._stylesheet0$_includeRule$1(start);
  111065. case "media":
  111066. return _this.mediaRule$1(start);
  111067. case "mixin":
  111068. return _this._stylesheet0$_mixinRule$1(start);
  111069. case "-moz-document":
  111070. return _this.mozDocumentRule$2(start, $name);
  111071. case "return":
  111072. return _this._stylesheet0$_disallowedAtRule$1(start);
  111073. case "supports":
  111074. return _this.supportsRule$1(start);
  111075. case "use":
  111076. _this._stylesheet0$_isUseAllowed = wasUseAllowed;
  111077. if (!root)
  111078. _this._stylesheet0$_disallowedAtRule$1(start);
  111079. url = _this._stylesheet0$_urlString$0();
  111080. _this.whitespace$0();
  111081. namespace = _this._stylesheet0$_useNamespace$2(url, start);
  111082. _this.whitespace$0();
  111083. configuration = _this._stylesheet0$_configuration$0();
  111084. _this.expectStatementSeparator$1(_s9_);
  111085. span = t1.spanFrom$1(start);
  111086. if (!_this._stylesheet0$_isUseAllowed)
  111087. _this.error$2(0, string$.x40use_r, span);
  111088. _this.expectStatementSeparator$1(_s9_);
  111089. t1 = new A.UseRule0(url, namespace, configuration == null ? B.List_empty21 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  111090. t1.UseRule$4$configuration0(url, namespace, span, configuration);
  111091. return t1;
  111092. case "warn":
  111093. return _this._stylesheet0$_warnRule$1(start);
  111094. case "while":
  111095. return _this._stylesheet0$_whileRule$2(start, child);
  111096. default:
  111097. return _this.unknownAtRule$2(start, $name);
  111098. }
  111099. },
  111100. _stylesheet0$_declarationAtRule$0() {
  111101. var _this = this,
  111102. t1 = _this.scanner,
  111103. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  111104. _0_0 = _this._stylesheet0$_plainAtRuleName$0();
  111105. $label0$0: {
  111106. if ("content" === _0_0) {
  111107. t1 = _this._stylesheet0$_contentRule$1(start);
  111108. break $label0$0;
  111109. }
  111110. if ("debug" === _0_0) {
  111111. t1 = _this._stylesheet0$_debugRule$1(start);
  111112. break $label0$0;
  111113. }
  111114. if ("each" === _0_0) {
  111115. t1 = _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_declarationChild());
  111116. break $label0$0;
  111117. }
  111118. if ("else" === _0_0)
  111119. _this._stylesheet0$_disallowedAtRule$1(start);
  111120. if ("error" === _0_0) {
  111121. t1 = _this._stylesheet0$_errorRule$1(start);
  111122. break $label0$0;
  111123. }
  111124. if ("for" === _0_0) {
  111125. t1 = _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_declarationChild());
  111126. break $label0$0;
  111127. }
  111128. if ("if" === _0_0) {
  111129. t1 = _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_declarationChild());
  111130. break $label0$0;
  111131. }
  111132. if ("include" === _0_0) {
  111133. t1 = _this._stylesheet0$_includeRule$1(start);
  111134. break $label0$0;
  111135. }
  111136. if ("warn" === _0_0) {
  111137. t1 = _this._stylesheet0$_warnRule$1(start);
  111138. break $label0$0;
  111139. }
  111140. if ("while" === _0_0) {
  111141. t1 = _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_declarationChild());
  111142. break $label0$0;
  111143. }
  111144. t1 = _this._stylesheet0$_disallowedAtRule$1(start);
  111145. }
  111146. return t1;
  111147. },
  111148. _stylesheet0$_functionChild$0() {
  111149. var state, variableDeclarationError, stackTrace, statement, t2, namespace, exception, t3, start, _0_0, value, _this = this,
  111150. t1 = _this.scanner;
  111151. if (t1.peekChar$0() !== 64) {
  111152. t2 = t1._string_scanner$_position;
  111153. state = new A._SpanScannerState(t1, t2);
  111154. try {
  111155. namespace = _this.identifier$0();
  111156. t1.expectChar$1(46);
  111157. t2 = _this.variableDeclarationWithoutNamespace$2(namespace, new A._SpanScannerState(t1, t2));
  111158. return t2;
  111159. } catch (exception) {
  111160. t2 = A.unwrapException(exception);
  111161. t3 = type$.SourceSpanFormatException;
  111162. if (t3._is(t2)) {
  111163. variableDeclarationError = t2;
  111164. stackTrace = A.getTraceFromException(exception);
  111165. t1.set$state(state);
  111166. statement = null;
  111167. try {
  111168. statement = _this._stylesheet0$_declarationOrStyleRule$0();
  111169. } catch (exception) {
  111170. if (t3._is(A.unwrapException(exception)))
  111171. throw A.wrapException(variableDeclarationError);
  111172. else
  111173. throw exception;
  111174. }
  111175. t2 = statement instanceof A.StyleRule0 ? "style rules" : "declarations";
  111176. _this.error$3(0, "@function rules may not contain " + t2 + ".", J.get$span$z(statement), stackTrace);
  111177. } else
  111178. throw exception;
  111179. }
  111180. }
  111181. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  111182. _0_0 = _this._stylesheet0$_plainAtRuleName$0();
  111183. $label0$0: {
  111184. if ("debug" === _0_0) {
  111185. t1 = _this._stylesheet0$_debugRule$1(start);
  111186. break $label0$0;
  111187. }
  111188. if ("each" === _0_0) {
  111189. t1 = _this._stylesheet0$_eachRule$2(start, _this.get$_stylesheet0$_functionChild());
  111190. break $label0$0;
  111191. }
  111192. if ("else" === _0_0)
  111193. _this._stylesheet0$_disallowedAtRule$1(start);
  111194. if ("error" === _0_0) {
  111195. t1 = _this._stylesheet0$_errorRule$1(start);
  111196. break $label0$0;
  111197. }
  111198. if ("for" === _0_0) {
  111199. t1 = _this._stylesheet0$_forRule$2(start, _this.get$_stylesheet0$_functionChild());
  111200. break $label0$0;
  111201. }
  111202. if ("if" === _0_0) {
  111203. t1 = _this._stylesheet0$_ifRule$2(start, _this.get$_stylesheet0$_functionChild());
  111204. break $label0$0;
  111205. }
  111206. if ("return" === _0_0) {
  111207. value = _this._stylesheet0$_expression$0();
  111208. _this.expectStatementSeparator$1("@return rule");
  111209. t1 = new A.ReturnRule0(value, t1.spanFrom$1(start));
  111210. break $label0$0;
  111211. }
  111212. if ("warn" === _0_0) {
  111213. t1 = _this._stylesheet0$_warnRule$1(start);
  111214. break $label0$0;
  111215. }
  111216. if ("while" === _0_0) {
  111217. t1 = _this._stylesheet0$_whileRule$2(start, _this.get$_stylesheet0$_functionChild());
  111218. break $label0$0;
  111219. }
  111220. t1 = _this._stylesheet0$_disallowedAtRule$1(start);
  111221. }
  111222. return t1;
  111223. },
  111224. _stylesheet0$_plainAtRuleName$0() {
  111225. this.scanner.expectChar$2$name(64, "@-rule");
  111226. var $name = this.identifier$0();
  111227. this.whitespace$0();
  111228. return $name;
  111229. },
  111230. _stylesheet0$_atRootRule$1(start) {
  111231. var t2, t3, t4, buffer, t5, query, _this = this,
  111232. t1 = _this.scanner;
  111233. if (t1.peekChar$0() === 40) {
  111234. t2 = t1._string_scanner$_position;
  111235. t3 = new A.StringBuffer("");
  111236. t4 = A._setArrayType([], type$.JSArray_Object);
  111237. buffer = new A.InterpolationBuffer0(t3, t4);
  111238. t1.expectChar$1(40);
  111239. t3._contents += A.Primitives_stringFromCharCode(40);
  111240. _this.whitespace$0();
  111241. t5 = _this._stylesheet0$_expression$0();
  111242. buffer._interpolation_buffer0$_flushText$0();
  111243. t4.push(t5);
  111244. if (t1.scanChar$1(58)) {
  111245. _this.whitespace$0();
  111246. t3._contents += A.Primitives_stringFromCharCode(58);
  111247. t3._contents += A.Primitives_stringFromCharCode(32);
  111248. t5 = _this._stylesheet0$_expression$0();
  111249. buffer._interpolation_buffer0$_flushText$0();
  111250. t4.push(t5);
  111251. }
  111252. t1.expectChar$1(41);
  111253. _this.whitespace$0();
  111254. t3._contents += A.Primitives_stringFromCharCode(41);
  111255. query = buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  111256. _this.whitespace$0();
  111257. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure1(query));
  111258. } else if (_this.lookingAtChildren$0())
  111259. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__atRootRule_closure2());
  111260. else
  111261. return A.AtRootRule$0(A._setArrayType([_this._stylesheet0$_styleRule$0()], type$.JSArray_Statement_2), t1.spanFrom$1(start), null);
  111262. },
  111263. _stylesheet0$_contentRule$1(start) {
  111264. var t1, $arguments, t2, t3, _this = this;
  111265. if (!_this._stylesheet0$_inMixin)
  111266. _this.error$2(0, string$.x40conte, _this.scanner.spanFrom$1(start));
  111267. _this.whitespace$0();
  111268. t1 = _this.scanner;
  111269. if (t1.peekChar$0() === 40)
  111270. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  111271. else {
  111272. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  111273. t3 = t2.offset;
  111274. $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
  111275. }
  111276. _this.expectStatementSeparator$1("@content rule");
  111277. return new A.ContentRule0($arguments, t1.spanFrom$1(start));
  111278. },
  111279. _stylesheet0$_debugRule$1(start) {
  111280. var value = this._stylesheet0$_expression$0();
  111281. this.expectStatementSeparator$1("@debug rule");
  111282. return new A.DebugRule0(value, this.scanner.spanFrom$1(start));
  111283. },
  111284. _stylesheet0$_eachRule$2(start, child) {
  111285. var variables, t1, _this = this,
  111286. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  111287. _this._stylesheet0$_inControlDirective = true;
  111288. variables = A._setArrayType([_this.variableName$0()], type$.JSArray_String);
  111289. _this.whitespace$0();
  111290. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  111291. _this.whitespace$0();
  111292. t1.expectChar$1(36);
  111293. variables.push(_this.identifier$1$normalize(true));
  111294. _this.whitespace$0();
  111295. }
  111296. _this.expectIdentifier$1("in");
  111297. _this.whitespace$0();
  111298. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__eachRule_closure0(_this, wasInControlDirective, variables, _this._stylesheet0$_expression$0()));
  111299. },
  111300. _stylesheet0$_errorRule$1(start) {
  111301. var value = this._stylesheet0$_expression$0();
  111302. this.expectStatementSeparator$1("@error rule");
  111303. return new A.ErrorRule0(value, this.scanner.spanFrom$1(start));
  111304. },
  111305. _stylesheet0$_functionRule$1(start) {
  111306. var $name, $arguments, _0_0, _this = this,
  111307. precedingComment = _this.lastSilentComment;
  111308. _this.lastSilentComment = null;
  111309. $name = _this.identifier$1$normalize(true);
  111310. _this.whitespace$0();
  111311. $arguments = _this._stylesheet0$_argumentDeclaration$0();
  111312. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  111313. _this.error$2(0, string$.Mixinscf, _this.scanner.spanFrom$1(start));
  111314. else if (_this._stylesheet0$_inControlDirective)
  111315. _this.error$2(0, string$.Functi, _this.scanner.spanFrom$1(start));
  111316. _0_0 = A.unvendor0($name);
  111317. if ("calc" === _0_0 || "element" === _0_0 || "expression" === _0_0 || "url" === _0_0 || "and" === _0_0 || "or" === _0_0 || "not" === _0_0 || "clamp" === _0_0)
  111318. _this.error$2(0, "Invalid function name.", _this.scanner.spanFrom$1(start));
  111319. _this.whitespace$0();
  111320. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_functionChild(), start, new A.StylesheetParser__functionRule_closure0($name, $arguments, precedingComment));
  111321. },
  111322. _stylesheet0$_forRule$2(start, child) {
  111323. var variable, from, _this = this, t1 = {},
  111324. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  111325. _this._stylesheet0$_inControlDirective = true;
  111326. variable = _this.variableName$0();
  111327. _this.whitespace$0();
  111328. _this.expectIdentifier$1("from");
  111329. _this.whitespace$0();
  111330. t1.exclusive = null;
  111331. from = _this._stylesheet0$_expression$1$until(new A.StylesheetParser__forRule_closure1(t1, _this));
  111332. if (t1.exclusive == null)
  111333. _this.scanner.error$1(0, 'Expected "to" or "through".');
  111334. _this.whitespace$0();
  111335. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__forRule_closure2(t1, _this, wasInControlDirective, variable, from, _this._stylesheet0$_expression$0()));
  111336. },
  111337. _stylesheet0$_forwardRule$1(start) {
  111338. var prefix, _0_0, shownMixinsAndFunctions, shownVariables, hiddenVariables, hiddenMixinsAndFunctions, _1_0, configuration, span, t1, t2, t3, t4, _this = this, _null = null,
  111339. url = _this._stylesheet0$_urlString$0();
  111340. _this.whitespace$0();
  111341. if (_this.scanIdentifier$1("as")) {
  111342. _this.whitespace$0();
  111343. prefix = _this.identifier$1$normalize(true);
  111344. _this.scanner.expectChar$1(42);
  111345. _this.whitespace$0();
  111346. } else
  111347. prefix = _null;
  111348. if (_this.scanIdentifier$1("show")) {
  111349. _0_0 = _this._stylesheet0$_memberList$0();
  111350. shownMixinsAndFunctions = _0_0._0;
  111351. shownVariables = _0_0._1;
  111352. hiddenVariables = _null;
  111353. hiddenMixinsAndFunctions = hiddenVariables;
  111354. } else {
  111355. if (_this.scanIdentifier$1("hide")) {
  111356. _1_0 = _this._stylesheet0$_memberList$0();
  111357. hiddenMixinsAndFunctions = _1_0._0;
  111358. hiddenVariables = _1_0._1;
  111359. } else {
  111360. hiddenVariables = _null;
  111361. hiddenMixinsAndFunctions = hiddenVariables;
  111362. }
  111363. shownVariables = _null;
  111364. shownMixinsAndFunctions = shownVariables;
  111365. }
  111366. configuration = _this._stylesheet0$_configuration$1$allowGuarded(true);
  111367. _this.expectStatementSeparator$1("@forward rule");
  111368. span = _this.scanner.spanFrom$1(start);
  111369. if (!_this._stylesheet0$_isUseAllowed)
  111370. _this.error$2(0, string$.x40forwa, span);
  111371. if (shownMixinsAndFunctions != null) {
  111372. shownVariables.toString;
  111373. t1 = type$.String;
  111374. t2 = A.LinkedHashSet_LinkedHashSet$of(shownMixinsAndFunctions, t1);
  111375. t3 = type$.UnmodifiableSetView_String;
  111376. t1 = A.LinkedHashSet_LinkedHashSet$of(shownVariables, t1);
  111377. t4 = configuration == null ? B.List_empty21 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  111378. return new A.ForwardRule0(url, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), _null, _null, prefix, t4, span);
  111379. } else if (hiddenMixinsAndFunctions != null) {
  111380. hiddenVariables.toString;
  111381. t1 = type$.String;
  111382. t2 = A.LinkedHashSet_LinkedHashSet$of(hiddenMixinsAndFunctions, t1);
  111383. t3 = type$.UnmodifiableSetView_String;
  111384. t1 = A.LinkedHashSet_LinkedHashSet$of(hiddenVariables, t1);
  111385. t4 = configuration == null ? B.List_empty21 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2);
  111386. return new A.ForwardRule0(url, _null, _null, new A.UnmodifiableSetView0(t2, t3), new A.UnmodifiableSetView0(t1, t3), prefix, t4, span);
  111387. } else
  111388. return new A.ForwardRule0(url, _null, _null, _null, _null, prefix, configuration == null ? B.List_empty21 : A.List_List$unmodifiable(configuration, type$.ConfiguredVariable_2), span);
  111389. },
  111390. _stylesheet0$_memberList$0() {
  111391. var _this = this,
  111392. t1 = type$.String,
  111393. identifiers = A.LinkedHashSet_LinkedHashSet$_empty(t1),
  111394. variables = A.LinkedHashSet_LinkedHashSet$_empty(t1);
  111395. t1 = _this.scanner;
  111396. do {
  111397. _this.whitespace$0();
  111398. _this.withErrorMessage$2(string$.Expect, new A.StylesheetParser__memberList_closure0(_this, variables, identifiers));
  111399. _this.whitespace$0();
  111400. } while (t1.scanChar$1(44));
  111401. return new A._Record_2(identifiers, variables);
  111402. },
  111403. _stylesheet0$_ifRule$2(start, child) {
  111404. var condition, children, clauses, lastClause, span, _this = this,
  111405. ifIndentation = _this.get$currentIndentation(),
  111406. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  111407. _this._stylesheet0$_inControlDirective = true;
  111408. condition = _this._stylesheet0$_expression$0();
  111409. children = _this.children$1(0, child);
  111410. _this.whitespaceWithoutComments$0();
  111411. clauses = A._setArrayType([A.IfClause$0(condition, children)], type$.JSArray_IfClause_2);
  111412. while (true) {
  111413. if (!_this.scanElse$1(ifIndentation)) {
  111414. lastClause = null;
  111415. break;
  111416. }
  111417. _this.whitespace$0();
  111418. if (_this.scanIdentifier$1("if")) {
  111419. _this.whitespace$0();
  111420. clauses.push(A.IfClause$0(_this._stylesheet0$_expression$0(), _this.children$1(0, child)));
  111421. } else {
  111422. lastClause = A.ElseClause$0(_this.children$1(0, child));
  111423. break;
  111424. }
  111425. }
  111426. _this._stylesheet0$_inControlDirective = wasInControlDirective;
  111427. span = _this.scanner.spanFrom$1(start);
  111428. _this.whitespaceWithoutComments$0();
  111429. return new A.IfRule0(A.List_List$unmodifiable(clauses, type$.IfClause_2), lastClause, span);
  111430. },
  111431. _stylesheet0$_importRule$1(start) {
  111432. var argument, t3, _this = this,
  111433. imports = A._setArrayType([], type$.JSArray_Import_2),
  111434. t1 = _this.scanner,
  111435. t2 = _this.logger;
  111436. do {
  111437. _this.whitespace$0();
  111438. argument = _this.importArgument$0();
  111439. t3 = argument instanceof A.DynamicImport0;
  111440. if (t3)
  111441. A.WarnForDeprecation_warnForDeprecation0(t2, B.Deprecation_import_true_import, string$.Sass__, argument.span, null);
  111442. if ((_this._stylesheet0$_inControlDirective || _this._stylesheet0$_inMixin) && t3)
  111443. _this._stylesheet0$_disallowedAtRule$1(start);
  111444. imports.push(argument);
  111445. _this.whitespace$0();
  111446. } while (t1.scanChar$1(44));
  111447. _this.expectStatementSeparator$1("@import rule");
  111448. t1 = t1.spanFrom$1(start);
  111449. return new A.ImportRule0(A.List_List$unmodifiable(imports, type$.Import_2), t1);
  111450. },
  111451. importArgument$0() {
  111452. var url, urlSpan, innerError, stackTrace, modifiers, t2, exception, _this = this,
  111453. t1 = _this.scanner,
  111454. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  111455. _0_0 = t1.peekChar$0();
  111456. if (117 === _0_0 || 85 === _0_0) {
  111457. url = _this.dynamicUrl$0();
  111458. _this.whitespace$0();
  111459. modifiers = _this.tryImportModifiers$0();
  111460. return new A.StaticImport0(A.Interpolation$0(A._setArrayType([url], type$.JSArray_Object), t1.spanFrom$1(start)), modifiers, t1.spanFrom$1(start));
  111461. }
  111462. url = _this.string$0();
  111463. urlSpan = t1.spanFrom$1(start);
  111464. _this.whitespace$0();
  111465. modifiers = _this.tryImportModifiers$0();
  111466. if (_this.isPlainImportUrl$1(url) || modifiers != null) {
  111467. t2 = urlSpan;
  111468. 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));
  111469. } else
  111470. try {
  111471. t1 = _this.parseImportUrl$1(url);
  111472. return new A.DynamicImport0(t1, urlSpan);
  111473. } catch (exception) {
  111474. t1 = A.unwrapException(exception);
  111475. if (type$.FormatException._is(t1)) {
  111476. innerError = t1;
  111477. stackTrace = A.getTraceFromException(exception);
  111478. _this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), urlSpan, stackTrace);
  111479. } else
  111480. throw exception;
  111481. }
  111482. },
  111483. parseImportUrl$1(url) {
  111484. var t1 = $.$get$windows();
  111485. if (t1.style.rootLength$1(url) > 0 && !$.$get$url().style.isRootRelative$1(url))
  111486. return t1.toUri$1(url).toString$0(0);
  111487. A.Uri_parse(url);
  111488. return url;
  111489. },
  111490. isPlainImportUrl$1(url) {
  111491. var _0_0, t1;
  111492. if (url.length < 5)
  111493. return false;
  111494. if (B.JSString_methods.endsWith$1(url, ".css"))
  111495. return true;
  111496. _0_0 = url.charCodeAt(0);
  111497. $label0$0: {
  111498. if (47 === _0_0) {
  111499. t1 = url.charCodeAt(1) === 47;
  111500. break $label0$0;
  111501. }
  111502. if (104 === _0_0) {
  111503. t1 = B.JSString_methods.startsWith$1(url, "http://") || B.JSString_methods.startsWith$1(url, "https://");
  111504. break $label0$0;
  111505. }
  111506. t1 = false;
  111507. break $label0$0;
  111508. }
  111509. return t1;
  111510. },
  111511. tryImportModifiers$0() {
  111512. var t1, start, t2, t3, buffer, identifier, t4, $name, query, endPosition, t5, result, _this = this;
  111513. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0() && _this.scanner.peekChar$0() !== 40)
  111514. return null;
  111515. t1 = _this.scanner;
  111516. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  111517. t2 = new A.StringBuffer("");
  111518. t3 = A._setArrayType([], type$.JSArray_Object);
  111519. buffer = new A.InterpolationBuffer0(t2, t3);
  111520. for (; true;)
  111521. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  111522. if (!(t3.length === 0 && t2._contents.length === 0))
  111523. t2._contents += A.Primitives_stringFromCharCode(32);
  111524. identifier = _this.interpolatedIdentifier$0();
  111525. buffer.addInterpolation$1(identifier);
  111526. t4 = identifier.get$asPlain();
  111527. $name = t4 == null ? null : t4.toLowerCase();
  111528. if ($name !== "and" && t1.scanChar$1(40)) {
  111529. if ($name === "supports") {
  111530. query = _this._stylesheet0$_importSupportsQuery$0();
  111531. t4 = !(query instanceof A.SupportsDeclaration0);
  111532. if (t4)
  111533. t2._contents += A.Primitives_stringFromCharCode(40);
  111534. buffer._interpolation_buffer0$_flushText$0();
  111535. t3.push(new A.SupportsExpression0(query));
  111536. if (t4)
  111537. t2._contents += A.Primitives_stringFromCharCode(41);
  111538. } else {
  111539. t2._contents += A.Primitives_stringFromCharCode(40);
  111540. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true));
  111541. t2._contents += A.Primitives_stringFromCharCode(41);
  111542. }
  111543. t1.expectChar$1(41);
  111544. _this.whitespace$0();
  111545. } else {
  111546. _this.whitespace$0();
  111547. if (t1.scanChar$1(44)) {
  111548. t2._contents += ", ";
  111549. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  111550. endPosition = t1._string_scanner$_position;
  111551. t4 = t1._sourceFile;
  111552. t5 = start.position;
  111553. t1 = new A._FileSpan(t4, t5, endPosition);
  111554. t1._FileSpan$3(t4, t5, endPosition);
  111555. t5 = type$.Object;
  111556. t4 = A.List_List$of(t3, true, t5);
  111557. t3 = t2._contents;
  111558. if (t3.length !== 0)
  111559. t4.push(t3.charCodeAt(0) == 0 ? t3 : t3);
  111560. result = A.List_List$from(t4, false, t5);
  111561. result.fixed$length = Array;
  111562. result.immutable$list = Array;
  111563. t2 = new A.Interpolation0(result, t1);
  111564. t2.Interpolation$20(t4, t1);
  111565. return t2;
  111566. }
  111567. }
  111568. } else if (t1.peekChar$0() === 40) {
  111569. if (!(t3.length === 0 && t2._contents.length === 0))
  111570. t2._contents += A.Primitives_stringFromCharCode(32);
  111571. buffer.addInterpolation$1(_this._stylesheet0$_mediaQueryList$0());
  111572. endPosition = t1._string_scanner$_position;
  111573. t1 = t1._sourceFile;
  111574. t4 = start.position;
  111575. t5 = new A._FileSpan(t1, t4, endPosition);
  111576. t5._FileSpan$3(t1, t4, endPosition);
  111577. t4 = type$.Object;
  111578. t3 = A.List_List$of(t3, true, t4);
  111579. t1 = t2._contents;
  111580. if (t1.length !== 0)
  111581. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  111582. result = A.List_List$from(t3, false, t4);
  111583. result.fixed$length = Array;
  111584. result.immutable$list = Array;
  111585. t1 = new A.Interpolation0(result, t5);
  111586. t1.Interpolation$20(t3, t5);
  111587. return t1;
  111588. } else {
  111589. endPosition = t1._string_scanner$_position;
  111590. t1 = t1._sourceFile;
  111591. t4 = start.position;
  111592. t5 = new A._FileSpan(t1, t4, endPosition);
  111593. t5._FileSpan$3(t1, t4, endPosition);
  111594. t4 = type$.Object;
  111595. t3 = A.List_List$of(t3, true, t4);
  111596. t1 = t2._contents;
  111597. if (t1.length !== 0)
  111598. t3.push(t1.charCodeAt(0) == 0 ? t1 : t1);
  111599. result = A.List_List$from(t3, false, t4);
  111600. result.fixed$length = Array;
  111601. result.immutable$list = Array;
  111602. t1 = new A.Interpolation0(result, t5);
  111603. t1.Interpolation$20(t3, t5);
  111604. return t1;
  111605. }
  111606. },
  111607. _stylesheet0$_importSupportsQuery$0() {
  111608. var t1, t2, _0_0, $function, $name, _this = this;
  111609. if (_this.scanIdentifier$1("not")) {
  111610. _this.whitespace$0();
  111611. t1 = _this.scanner;
  111612. t2 = t1._string_scanner$_position;
  111613. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  111614. } else {
  111615. t1 = _this.scanner;
  111616. if (t1.peekChar$0() === 40)
  111617. return _this._stylesheet0$_supportsCondition$0();
  111618. else {
  111619. _0_0 = _this._stylesheet0$_tryImportSupportsFunction$0();
  111620. if (_0_0 != null) {
  111621. $function = _0_0;
  111622. t2 = true;
  111623. } else {
  111624. $function = null;
  111625. t2 = false;
  111626. }
  111627. if (t2)
  111628. return $function;
  111629. t2 = t1._string_scanner$_position;
  111630. $name = _this._stylesheet0$_expression$0();
  111631. t1.expectChar$1(58);
  111632. return _this._stylesheet0$_supportsDeclarationValue$2($name, new A._SpanScannerState(t1, t2));
  111633. }
  111634. }
  111635. },
  111636. _stylesheet0$_tryImportSupportsFunction$0() {
  111637. var t1, start, $name, value, _this = this;
  111638. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  111639. return null;
  111640. t1 = _this.scanner;
  111641. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  111642. $name = _this.interpolatedIdentifier$0();
  111643. if (!t1.scanChar$1(40)) {
  111644. t1.set$state(start);
  111645. return null;
  111646. }
  111647. value = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  111648. t1.expectChar$1(41);
  111649. return new A.SupportsFunction0($name, value, t1.spanFrom$1(start));
  111650. },
  111651. _stylesheet0$_includeRule$1(start) {
  111652. var name0, namespace, $arguments, t2, t3, contentArguments, contentArguments_, wasInContentBlock, $content, _this = this, _null = null,
  111653. $name = _this.identifier$0(),
  111654. t1 = _this.scanner;
  111655. if (t1.scanChar$1(46)) {
  111656. name0 = _this._stylesheet0$_publicIdentifier$0();
  111657. namespace = $name;
  111658. $name = name0;
  111659. } else {
  111660. $name = A.stringReplaceAllUnchecked($name, "_", "-");
  111661. namespace = _null;
  111662. }
  111663. _this.whitespace$0();
  111664. if (t1.peekChar$0() === 40)
  111665. $arguments = _this._stylesheet0$_argumentInvocation$1$mixin(true);
  111666. else {
  111667. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  111668. t3 = t2.offset;
  111669. $arguments = A.ArgumentInvocation$empty0(A._FileSpan$(t2.file, t3, t3));
  111670. }
  111671. _this.whitespace$0();
  111672. if (_this.scanIdentifier$1("using")) {
  111673. _this.whitespace$0();
  111674. contentArguments = _this._stylesheet0$_argumentDeclaration$0();
  111675. _this.whitespace$0();
  111676. } else
  111677. contentArguments = _null;
  111678. t2 = contentArguments == null;
  111679. if (!t2 || _this.lookingAtChildren$0()) {
  111680. if (t2) {
  111681. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  111682. t3 = t2.offset;
  111683. contentArguments_ = new A.ArgumentDeclaration0(B.List_empty22, _null, A._FileSpan$(t2.file, t3, t3));
  111684. } else
  111685. contentArguments_ = contentArguments;
  111686. wasInContentBlock = _this._stylesheet0$_inContentBlock;
  111687. _this._stylesheet0$_inContentBlock = true;
  111688. $content = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__includeRule_closure0(contentArguments_));
  111689. _this._stylesheet0$_inContentBlock = wasInContentBlock;
  111690. } else {
  111691. _this.expectStatementSeparator$0();
  111692. $content = _null;
  111693. }
  111694. t1 = t1.spanFrom$2(start, start);
  111695. t2 = $content == null ? $arguments : $content;
  111696. return new A.IncludeRule0(namespace, $name, $arguments, $content, t1.expand$1(0, t2.get$span(t2)));
  111697. },
  111698. mediaRule$1(start) {
  111699. return this._stylesheet0$_withChildren$3(this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_mediaRule_closure0(this._stylesheet0$_mediaQueryList$0()));
  111700. },
  111701. _stylesheet0$_mixinRule$1(start) {
  111702. var $name, t1, $arguments, t2, t3, _this = this,
  111703. precedingComment = _this.lastSilentComment;
  111704. _this.lastSilentComment = null;
  111705. $name = _this.identifier$1$normalize(true);
  111706. _this.whitespace$0();
  111707. t1 = _this.scanner;
  111708. if (t1.peekChar$0() === 40)
  111709. $arguments = _this._stylesheet0$_argumentDeclaration$0();
  111710. else {
  111711. t2 = A.FileLocation$_(t1._sourceFile, t1._string_scanner$_position);
  111712. t3 = t2.offset;
  111713. $arguments = new A.ArgumentDeclaration0(B.List_empty22, null, A._FileSpan$(t2.file, t3, t3));
  111714. }
  111715. if (_this._stylesheet0$_inMixin || _this._stylesheet0$_inContentBlock)
  111716. _this.error$2(0, string$.Mixinscm, t1.spanFrom$1(start));
  111717. else if (_this._stylesheet0$_inControlDirective)
  111718. _this.error$2(0, string$.Mixinsb, t1.spanFrom$1(start));
  111719. _this.whitespace$0();
  111720. _this._stylesheet0$_inMixin = true;
  111721. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser__mixinRule_closure0(_this, $name, $arguments, precedingComment));
  111722. },
  111723. mozDocumentRule$2(start, $name) {
  111724. var t5, t6, identifier, _0_0, contents, argument, trailing, endPosition, t7, t8, start0, end, _this = this, _box_0 = {},
  111725. t1 = _this.scanner,
  111726. t2 = t1._string_scanner$_position,
  111727. t3 = new A.StringBuffer(""),
  111728. t4 = A._setArrayType([], type$.JSArray_Object),
  111729. buffer = new A.InterpolationBuffer0(t3, t4);
  111730. _box_0.needsDeprecationWarning = false;
  111731. for (t5 = _this.get$whitespace(); true;) {
  111732. if (t1.peekChar$0() === 35) {
  111733. t6 = _this.singleInterpolation$0();
  111734. buffer._interpolation_buffer0$_flushText$0();
  111735. t4.push(t6);
  111736. _box_0.needsDeprecationWarning = true;
  111737. } else {
  111738. t6 = t1._string_scanner$_position;
  111739. identifier = _this.identifier$0();
  111740. $label0$0: {
  111741. if ("url" === identifier || "url-prefix" === identifier || "domain" === identifier) {
  111742. _0_0 = _this._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(t1, t6), identifier);
  111743. if (_0_0 != null) {
  111744. contents = _0_0;
  111745. t6 = true;
  111746. } else {
  111747. contents = null;
  111748. t6 = false;
  111749. }
  111750. if (t6)
  111751. buffer.addInterpolation$1(contents);
  111752. else {
  111753. t1.expectChar$1(40);
  111754. _this.whitespace$0();
  111755. argument = _this.interpolatedString$0();
  111756. t1.expectChar$1(41);
  111757. t3._contents += identifier;
  111758. t3._contents += A.Primitives_stringFromCharCode(40);
  111759. buffer.addInterpolation$1(argument.asInterpolation$0());
  111760. t3._contents += A.Primitives_stringFromCharCode(41);
  111761. }
  111762. t6 = t3._contents;
  111763. trailing = t6.charCodeAt(0) == 0 ? t6 : t6;
  111764. 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("")'))
  111765. _box_0.needsDeprecationWarning = true;
  111766. break $label0$0;
  111767. }
  111768. if ("regexp" === identifier) {
  111769. t3._contents += "regexp(";
  111770. t1.expectChar$1(40);
  111771. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  111772. t1.expectChar$1(41);
  111773. t3._contents += A.Primitives_stringFromCharCode(41);
  111774. _box_0.needsDeprecationWarning = true;
  111775. break $label0$0;
  111776. }
  111777. endPosition = t1._string_scanner$_position;
  111778. t7 = t1._sourceFile;
  111779. t8 = new A._FileSpan(t7, t6, endPosition);
  111780. t8._FileSpan$3(t7, t6, endPosition);
  111781. _this.error$2(0, "Invalid function name.", t8);
  111782. }
  111783. }
  111784. _this.whitespace$0();
  111785. if (!t1.scanChar$1(44))
  111786. break;
  111787. t3._contents += A.Primitives_stringFromCharCode(44);
  111788. start0 = t1._string_scanner$_position;
  111789. t5.call$0();
  111790. end = t1._string_scanner$_position;
  111791. t3._contents += B.JSString_methods.substring$2(t1.string, start0, end);
  111792. }
  111793. 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)))));
  111794. },
  111795. supportsRule$1(start) {
  111796. var _this = this,
  111797. condition = _this._stylesheet0$_supportsCondition$0();
  111798. _this.whitespace$0();
  111799. return _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_supportsRule_closure0(condition));
  111800. },
  111801. _stylesheet0$_useNamespace$2(url, start) {
  111802. var namespace, basename, dot, t1, exception, _this = this;
  111803. if (_this.scanIdentifier$1("as")) {
  111804. _this.whitespace$0();
  111805. return _this.scanner.scanChar$1(42) ? null : _this.identifier$0();
  111806. }
  111807. basename = url.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(url.get$pathSegments());
  111808. dot = B.JSString_methods.indexOf$1(basename, ".");
  111809. t1 = B.JSString_methods.startsWith$1(basename, "_") ? 1 : 0;
  111810. namespace = B.JSString_methods.substring$2(basename, t1, dot === -1 ? basename.length : dot);
  111811. try {
  111812. t1 = A.SpanScanner$(namespace, null);
  111813. t1 = new A.Parser1(t1, _this.logger, null)._parser0$_parseIdentifier$0();
  111814. return t1;
  111815. } catch (exception) {
  111816. if (type$.SassFormatException_2._is(A.unwrapException(exception)))
  111817. _this.error$2(0, 'The default namespace "' + A.S(namespace) + string$.x22x20is_n, _this.scanner.spanFrom$1(start));
  111818. else
  111819. throw exception;
  111820. }
  111821. },
  111822. _stylesheet0$_configuration$1$allowGuarded(allowGuarded) {
  111823. var variableNames, configuration, t1, t2, $name, expression, t3, guarded, endPosition, t4, t5, span, _this = this;
  111824. if (!_this.scanIdentifier$1("with"))
  111825. return null;
  111826. variableNames = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  111827. configuration = A._setArrayType([], type$.JSArray_ConfiguredVariable_2);
  111828. _this.whitespace$0();
  111829. t1 = _this.scanner;
  111830. t1.expectChar$1(40);
  111831. for (; true;) {
  111832. _this.whitespace$0();
  111833. t2 = t1._string_scanner$_position;
  111834. t1.expectChar$1(36);
  111835. $name = _this.identifier$1$normalize(true);
  111836. _this.whitespace$0();
  111837. t1.expectChar$1(58);
  111838. _this.whitespace$0();
  111839. expression = _this.expressionUntilComma$0();
  111840. t3 = t1._string_scanner$_position;
  111841. if (allowGuarded && t1.scanChar$1(33))
  111842. if (_this.identifier$0() === "default") {
  111843. _this.whitespace$0();
  111844. guarded = true;
  111845. } else {
  111846. endPosition = t1._string_scanner$_position;
  111847. t4 = t1._sourceFile;
  111848. t5 = new A._FileSpan(t4, t3, endPosition);
  111849. t5._FileSpan$3(t4, t3, endPosition);
  111850. _this.error$2(0, "Invalid flag name.", t5);
  111851. guarded = false;
  111852. }
  111853. else
  111854. guarded = false;
  111855. endPosition = t1._string_scanner$_position;
  111856. t3 = t1._sourceFile;
  111857. span = new A._FileSpan(t3, t2, endPosition);
  111858. span._FileSpan$3(t3, t2, endPosition);
  111859. if (variableNames.contains$1(0, $name))
  111860. _this.error$2(0, string$.The_sa, span);
  111861. variableNames.add$1(0, $name);
  111862. configuration.push(new A.ConfiguredVariable0($name, expression, guarded, span));
  111863. if (!t1.scanChar$1(44))
  111864. break;
  111865. _this.whitespace$0();
  111866. if (!_this._stylesheet0$_lookingAtExpression$0())
  111867. break;
  111868. }
  111869. t1.expectChar$1(41);
  111870. return configuration;
  111871. },
  111872. _stylesheet0$_configuration$0() {
  111873. return this._stylesheet0$_configuration$1$allowGuarded(false);
  111874. },
  111875. _stylesheet0$_warnRule$1(start) {
  111876. var value = this._stylesheet0$_expression$0();
  111877. this.expectStatementSeparator$1("@warn rule");
  111878. return new A.WarnRule0(value, this.scanner.spanFrom$1(start));
  111879. },
  111880. _stylesheet0$_whileRule$2(start, child) {
  111881. var _this = this,
  111882. wasInControlDirective = _this._stylesheet0$_inControlDirective;
  111883. _this._stylesheet0$_inControlDirective = true;
  111884. return _this._stylesheet0$_withChildren$3(child, start, new A.StylesheetParser__whileRule_closure0(_this, wasInControlDirective, _this._stylesheet0$_expression$0()));
  111885. },
  111886. unknownAtRule$2(start, $name) {
  111887. var t2, t3, rule, _this = this, t1 = {},
  111888. wasInUnknownAtRule = _this._stylesheet0$_inUnknownAtRule;
  111889. _this._stylesheet0$_inUnknownAtRule = true;
  111890. t1.value = null;
  111891. t2 = _this.scanner;
  111892. t3 = t2.peekChar$0() !== 33 && !_this.atEndOfStatement$0() ? t1.value = _this.almostAnyValue$0() : null;
  111893. if (_this.lookingAtChildren$0())
  111894. rule = _this._stylesheet0$_withChildren$3(_this.get$_stylesheet0$_statement(), start, new A.StylesheetParser_unknownAtRule_closure0(t1, $name));
  111895. else {
  111896. _this.expectStatementSeparator$0();
  111897. rule = A.AtRule$0($name, t2.spanFrom$1(start), null, t3);
  111898. }
  111899. _this._stylesheet0$_inUnknownAtRule = wasInUnknownAtRule;
  111900. return rule;
  111901. },
  111902. _stylesheet0$_disallowedAtRule$1(start) {
  111903. this.almostAnyValue$0();
  111904. this.error$2(0, "This at-rule is not allowed here.", this.scanner.spanFrom$1(start));
  111905. },
  111906. _stylesheet0$_argumentDeclaration$0() {
  111907. var $arguments, named, restArgument, t3, $name, defaultValue, endPosition, t4, t5, _this = this,
  111908. t1 = _this.scanner,
  111909. t2 = t1._string_scanner$_position;
  111910. t1.expectChar$1(40);
  111911. _this.whitespace$0();
  111912. $arguments = A._setArrayType([], type$.JSArray_Argument_2);
  111913. named = A.LinkedHashSet_LinkedHashSet$_empty(type$.String);
  111914. while (true) {
  111915. if (!(t1.peekChar$0() === 36)) {
  111916. restArgument = null;
  111917. break;
  111918. }
  111919. t3 = t1._string_scanner$_position;
  111920. t1.expectChar$1(36);
  111921. $name = _this.identifier$1$normalize(true);
  111922. _this.whitespace$0();
  111923. if (t1.scanChar$1(58)) {
  111924. _this.whitespace$0();
  111925. defaultValue = _this.expressionUntilComma$0();
  111926. } else {
  111927. if (t1.scanChar$1(46)) {
  111928. t1.expectChar$1(46);
  111929. t1.expectChar$1(46);
  111930. _this.whitespace$0();
  111931. restArgument = $name;
  111932. break;
  111933. }
  111934. defaultValue = null;
  111935. }
  111936. endPosition = t1._string_scanner$_position;
  111937. t4 = t1._sourceFile;
  111938. t5 = new A._FileSpan(t4, t3, endPosition);
  111939. t5._FileSpan$3(t4, t3, endPosition);
  111940. $arguments.push(new A.Argument0($name, defaultValue, t5));
  111941. if (!named.add$1(0, $name))
  111942. _this.error$2(0, "Duplicate argument.", B.JSArray_methods.get$last($arguments).span);
  111943. if (!t1.scanChar$1(44)) {
  111944. restArgument = null;
  111945. break;
  111946. }
  111947. _this.whitespace$0();
  111948. }
  111949. t1.expectChar$1(41);
  111950. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  111951. return new A.ArgumentDeclaration0(A.List_List$unmodifiable($arguments, type$.Argument_2), restArgument, t1);
  111952. },
  111953. _stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, mixin) {
  111954. var positional, t3, t4, named, keywordRest, t5, rest, expression, t6, t7, result, _this = this, _null = null,
  111955. t1 = _this.scanner,
  111956. t2 = t1._string_scanner$_position;
  111957. t1.expectChar$1(40);
  111958. _this.whitespace$0();
  111959. positional = A._setArrayType([], type$.JSArray_Expression_2);
  111960. t3 = type$.String;
  111961. t4 = type$.Expression_2;
  111962. named = A.LinkedHashMap_LinkedHashMap$_empty(t3, t4);
  111963. t5 = !mixin;
  111964. rest = _null;
  111965. while (true) {
  111966. if (!_this._stylesheet0$_lookingAtExpression$0()) {
  111967. keywordRest = _null;
  111968. break;
  111969. }
  111970. expression = _this.expressionUntilComma$1$singleEquals(t5);
  111971. _this.whitespace$0();
  111972. if (expression instanceof A.VariableExpression0 && t1.scanChar$1(58)) {
  111973. _this.whitespace$0();
  111974. t6 = expression.name;
  111975. if (named.containsKey$1(t6))
  111976. _this.error$2(0, "Duplicate argument.", expression.span);
  111977. named.$indexSet(0, t6, _this.expressionUntilComma$1$singleEquals(t5));
  111978. } else if (t1.scanChar$1(46)) {
  111979. t1.expectChar$1(46);
  111980. t1.expectChar$1(46);
  111981. if (rest != null) {
  111982. _this.whitespace$0();
  111983. keywordRest = expression;
  111984. break;
  111985. }
  111986. rest = expression;
  111987. } else if (named.__js_helper$_length !== 0)
  111988. _this.error$2(0, string$.Positi, expression.get$span(expression));
  111989. else
  111990. positional.push(expression);
  111991. _this.whitespace$0();
  111992. if (!t1.scanChar$1(44)) {
  111993. keywordRest = _null;
  111994. break;
  111995. }
  111996. _this.whitespace$0();
  111997. if (allowEmptySecondArg && positional.length === 1 && named.__js_helper$_length === 0 && rest == null && t1.peekChar$0() === 41) {
  111998. t5 = t1._sourceFile;
  111999. t6 = t1._string_scanner$_position;
  112000. new A.FileLocation(t5, t6).FileLocation$_$2(t5, t6);
  112001. t7 = new A._FileSpan(t5, t6, t6);
  112002. t7._FileSpan$3(t5, t6, t6);
  112003. t6 = A._setArrayType([""], type$.JSArray_Object);
  112004. result = A.List_List$from(t6, false, type$.Object);
  112005. result.fixed$length = Array;
  112006. result.immutable$list = Array;
  112007. t5 = new A.Interpolation0(result, t7);
  112008. t5.Interpolation$20(t6, t7);
  112009. positional.push(new A.StringExpression0(t5, false));
  112010. keywordRest = _null;
  112011. break;
  112012. }
  112013. }
  112014. t1.expectChar$1(41);
  112015. t1 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  112016. return new A.ArgumentInvocation0(A.List_List$unmodifiable(positional, t4), A.ConstantMap_ConstantMap$from(named, t3, t4), rest, keywordRest, t1);
  112017. },
  112018. _stylesheet0$_argumentInvocation$0() {
  112019. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, false);
  112020. },
  112021. _stylesheet0$_argumentInvocation$1$allowEmptySecondArg(allowEmptySecondArg) {
  112022. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(allowEmptySecondArg, false);
  112023. },
  112024. _stylesheet0$_argumentInvocation$1$mixin(mixin) {
  112025. return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(false, mixin);
  112026. },
  112027. _stylesheet0$_expression$3$bracketList$singleEquals$until(bracketList, singleEquals, until) {
  112028. var t2, beforeBracket, start, wasInParentheses, resetState, resolveOneOperation, resolveOperations, addSingleExpression, addOperator, resolveSpaceExpressions, t3, _3_0, _3_28, _3_32, _3_40, _1_0, t4, _2_0, commaExpressions, spaceExpressions, singleExpression, _this = this,
  112029. _s20_ = "Expected expression.",
  112030. _box_0 = {},
  112031. t1 = until != null;
  112032. if (t1 && until.call$0())
  112033. _this.scanner.error$1(0, _s20_);
  112034. if (bracketList) {
  112035. t2 = _this.scanner;
  112036. beforeBracket = new A._SpanScannerState(t2, t2._string_scanner$_position);
  112037. t2.expectChar$1(91);
  112038. _this.whitespace$0();
  112039. if (t2.scanChar$1(93)) {
  112040. t1 = A._setArrayType([], type$.JSArray_Expression_2);
  112041. t2 = t2.spanFrom$1(beforeBracket);
  112042. return new A.ListExpression0(A.List_List$unmodifiable(t1, type$.Expression_2), B.ListSeparator_undecided_null_undecided0, true, t2);
  112043. }
  112044. } else
  112045. beforeBracket = null;
  112046. t2 = _this.scanner;
  112047. start = new A._SpanScannerState(t2, t2._string_scanner$_position);
  112048. wasInParentheses = _this._stylesheet0$_inParentheses;
  112049. _box_0.operands_ = _box_0.operators_ = _box_0.spaceExpressions_ = _box_0.commaExpressions_ = null;
  112050. _box_0.allowSlash = true;
  112051. _box_0.singleExpression_ = _this._stylesheet0$_singleExpression$0();
  112052. resetState = new A.StylesheetParser__expression_resetState0(_box_0, _this, start);
  112053. resolveOneOperation = new A.StylesheetParser__expression_resolveOneOperation0(_box_0, _this);
  112054. resolveOperations = new A.StylesheetParser__expression_resolveOperations0(_box_0, resolveOneOperation);
  112055. addSingleExpression = new A.StylesheetParser__expression_addSingleExpression0(_box_0, _this, resetState, resolveOperations);
  112056. addOperator = new A.StylesheetParser__expression_addOperator0(_box_0, _this, resolveOneOperation);
  112057. resolveSpaceExpressions = new A.StylesheetParser__expression_resolveSpaceExpressions0(_box_0, _this, resolveOperations);
  112058. for (t3 = type$.JSArray_Expression_2; true;) {
  112059. _this.whitespace$0();
  112060. if (t1 && until.call$0())
  112061. break;
  112062. _3_0 = t2.peekChar$0();
  112063. _3_28 = A._InitializedCell$(new A.StylesheetParser__expression_closure2(_3_0));
  112064. _3_32 = A._InitializedCell$(new A.StylesheetParser__expression_closure3(_3_0));
  112065. _3_40 = A._InitializedCell$(new A.StylesheetParser__expression_closure4(_3_0));
  112066. if (_3_0 == null)
  112067. break;
  112068. if (40 === _3_0) {
  112069. addSingleExpression.call$1(_this.parentheses$0());
  112070. continue;
  112071. }
  112072. if (91 === _3_0) {
  112073. addSingleExpression.call$1(_this._stylesheet0$_expression$1$bracketList(true));
  112074. continue;
  112075. }
  112076. if (36 === _3_0) {
  112077. addSingleExpression.call$1(_this._stylesheet0$_variable$0());
  112078. continue;
  112079. }
  112080. if (38 === _3_0) {
  112081. addSingleExpression.call$1(_this._stylesheet0$_selector$0());
  112082. continue;
  112083. }
  112084. if (39 === _3_0 || 34 === _3_0) {
  112085. addSingleExpression.call$1(_this.interpolatedString$0());
  112086. continue;
  112087. }
  112088. if (35 === _3_0) {
  112089. addSingleExpression.call$1(_this._stylesheet0$_hashExpression$0());
  112090. continue;
  112091. }
  112092. if (61 === _3_0) {
  112093. t2.readChar$0();
  112094. if (singleEquals && t2.peekChar$0() !== 61)
  112095. addOperator.call$1(B.BinaryOperator_2jN0);
  112096. else {
  112097. t2.expectChar$1(61);
  112098. addOperator.call$1(B.BinaryOperator_ql50);
  112099. }
  112100. continue;
  112101. }
  112102. if (33 === _3_0) {
  112103. $label0$1: {
  112104. _1_0 = t2.peekChar$1(1);
  112105. if (61 === _1_0) {
  112106. t2.readChar$0();
  112107. t2.readChar$0();
  112108. addOperator.call$1(B.BinaryOperator_ViB0);
  112109. break $label0$1;
  112110. }
  112111. if (_1_0 != null)
  112112. if (105 !== _1_0)
  112113. if (73 !== _1_0)
  112114. t4 = _1_0 === 32 || _1_0 === 9 || _1_0 === 10 || _1_0 === 13 || _1_0 === 12;
  112115. else
  112116. t4 = true;
  112117. else
  112118. t4 = true;
  112119. else
  112120. t4 = true;
  112121. if (t4) {
  112122. addSingleExpression.call$1(_this._stylesheet0$_importantExpression$0());
  112123. break $label0$1;
  112124. }
  112125. break;
  112126. }
  112127. continue;
  112128. }
  112129. if (60 === _3_0) {
  112130. t2.readChar$0();
  112131. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_kpg0 : B.BinaryOperator_U8c0);
  112132. continue;
  112133. }
  112134. if (62 === _3_0) {
  112135. t2.readChar$0();
  112136. addOperator.call$1(t2.scanChar$1(61) ? B.BinaryOperator_7Tg0 : B.BinaryOperator_cIH0);
  112137. continue;
  112138. }
  112139. if (42 === _3_0) {
  112140. t2.readChar$0();
  112141. addOperator.call$1(B.BinaryOperator_qN20);
  112142. continue;
  112143. }
  112144. if (_3_28._readFinal$0() && _box_0.singleExpression_ == null) {
  112145. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  112146. continue;
  112147. }
  112148. if (_3_28._readFinal$0()) {
  112149. t2.readChar$0();
  112150. addOperator.call$1(B.BinaryOperator_anB0);
  112151. continue;
  112152. }
  112153. if (45 === _3_0) {
  112154. _2_0 = t2.peekChar$1(1);
  112155. if (A._isInt(_2_0) && _2_0 >= 48 && _2_0 <= 57 || 46 === _2_0)
  112156. if (_box_0.singleExpression_ != null) {
  112157. t4 = t2.peekChar$1(-1);
  112158. t4 = t4 === 32 || t4 === 9 || t4 === 10 || t4 === 13 || t4 === 12;
  112159. } else
  112160. t4 = true;
  112161. else
  112162. t4 = false;
  112163. if (t4)
  112164. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  112165. else if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  112166. addSingleExpression.call$1(_this.identifierLike$0());
  112167. else if (_box_0.singleExpression_ == null)
  112168. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  112169. else {
  112170. t2.readChar$0();
  112171. addOperator.call$1(B.BinaryOperator_olz0);
  112172. }
  112173. continue;
  112174. }
  112175. if (_3_32._readFinal$0() && _box_0.singleExpression_ == null) {
  112176. addSingleExpression.call$1(_this._stylesheet0$_unaryOperation$0());
  112177. continue;
  112178. }
  112179. if (_3_32._readFinal$0()) {
  112180. t2.readChar$0();
  112181. addOperator.call$1(B.BinaryOperator_t8B0);
  112182. continue;
  112183. }
  112184. if (37 === _3_0) {
  112185. t2.readChar$0();
  112186. addOperator.call$1(B.BinaryOperator_OTG0);
  112187. continue;
  112188. }
  112189. if (_3_0 >= 48 && _3_0 <= 57) {
  112190. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  112191. continue;
  112192. }
  112193. if (_3_40._readFinal$0() && t2.peekChar$1(1) === 46)
  112194. break;
  112195. if (_3_40._readFinal$0()) {
  112196. addSingleExpression.call$1(_this._stylesheet0$_number$0());
  112197. continue;
  112198. }
  112199. if (97 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("and")) {
  112200. addOperator.call$1(B.BinaryOperator_SNp0);
  112201. continue;
  112202. }
  112203. if (111 === _3_0 && !_this.get$plainCss() && _this.scanIdentifier$1("or")) {
  112204. addOperator.call$1(B.BinaryOperator_M6L0);
  112205. continue;
  112206. }
  112207. if ((117 === _3_0 || 85 === _3_0) && t2.peekChar$1(1) === 43) {
  112208. addSingleExpression.call$1(_this._stylesheet0$_unicodeRange$0());
  112209. continue;
  112210. }
  112211. if (!(_3_0 >= 97 && _3_0 <= 122))
  112212. t4 = _3_0 >= 65 && _3_0 <= 90 || 95 === _3_0 || 92 === _3_0 || _3_0 >= 128;
  112213. else
  112214. t4 = true;
  112215. if (t4) {
  112216. addSingleExpression.call$1(_this.identifierLike$0());
  112217. continue;
  112218. }
  112219. if (44 === _3_0) {
  112220. if (_this._stylesheet0$_inParentheses) {
  112221. _this._stylesheet0$_inParentheses = false;
  112222. if (_box_0.allowSlash) {
  112223. resetState.call$0();
  112224. continue;
  112225. }
  112226. }
  112227. commaExpressions = _box_0.commaExpressions_;
  112228. if (commaExpressions == null)
  112229. commaExpressions = _box_0.commaExpressions_ = A._setArrayType([], t3);
  112230. if (_box_0.singleExpression_ == null)
  112231. t2.error$1(0, _s20_);
  112232. resolveSpaceExpressions.call$0();
  112233. t4 = _box_0.singleExpression_;
  112234. t4.toString;
  112235. commaExpressions.push(t4);
  112236. t2.readChar$0();
  112237. _box_0.allowSlash = true;
  112238. _box_0.singleExpression_ = null;
  112239. continue;
  112240. }
  112241. break;
  112242. }
  112243. if (bracketList)
  112244. t2.expectChar$1(93);
  112245. commaExpressions = _box_0.commaExpressions_;
  112246. spaceExpressions = _box_0.spaceExpressions_;
  112247. if (commaExpressions != null) {
  112248. resolveSpaceExpressions.call$0();
  112249. _this._stylesheet0$_inParentheses = wasInParentheses;
  112250. singleExpression = _box_0.singleExpression_;
  112251. if (singleExpression != null)
  112252. commaExpressions.push(singleExpression);
  112253. t1 = t2.spanFrom$1(beforeBracket == null ? start : beforeBracket);
  112254. return new A.ListExpression0(A.List_List$unmodifiable(commaExpressions, type$.Expression_2), B.ListSeparator_rXA0, bracketList, t1);
  112255. } else if (bracketList && spaceExpressions != null) {
  112256. resolveOperations.call$0();
  112257. t1 = _box_0.singleExpression_;
  112258. t1.toString;
  112259. spaceExpressions.push(t1);
  112260. beforeBracket.toString;
  112261. t2 = t2.spanFrom$1(beforeBracket);
  112262. return new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_EVt0, true, t2);
  112263. } else {
  112264. resolveSpaceExpressions.call$0();
  112265. if (bracketList) {
  112266. t1 = _box_0.singleExpression_;
  112267. t1.toString;
  112268. t3 = A._setArrayType([t1], t3);
  112269. beforeBracket.toString;
  112270. t2 = t2.spanFrom$1(beforeBracket);
  112271. _box_0.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(t3, type$.Expression_2), B.ListSeparator_undecided_null_undecided0, true, t2);
  112272. }
  112273. t1 = _box_0.singleExpression_;
  112274. t1.toString;
  112275. return t1;
  112276. }
  112277. },
  112278. _stylesheet0$_expression$2$singleEquals$until(singleEquals, until) {
  112279. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false, singleEquals, until);
  112280. },
  112281. _stylesheet0$_expression$1$bracketList(bracketList) {
  112282. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(bracketList, false, null);
  112283. },
  112284. _stylesheet0$_expression$0() {
  112285. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false, false, null);
  112286. },
  112287. _stylesheet0$_expression$1$until(until) {
  112288. return this._stylesheet0$_expression$3$bracketList$singleEquals$until(false, false, until);
  112289. },
  112290. expressionUntilComma$1$singleEquals(singleEquals) {
  112291. return this._stylesheet0$_expression$2$singleEquals$until(singleEquals, new A.StylesheetParser_expressionUntilComma_closure0(this));
  112292. },
  112293. expressionUntilComma$0() {
  112294. return this.expressionUntilComma$1$singleEquals(false);
  112295. },
  112296. _stylesheet0$_isSlashOperand$1(expression) {
  112297. var t1;
  112298. if (!(expression instanceof A.NumberExpression0))
  112299. if (!(expression instanceof A.FunctionExpression0))
  112300. t1 = expression instanceof A.BinaryOperationExpression0 && expression.allowsSlash;
  112301. else
  112302. t1 = true;
  112303. else
  112304. t1 = true;
  112305. return t1;
  112306. },
  112307. _stylesheet0$_singleExpression$0() {
  112308. var next, t2, _this = this,
  112309. _s20_ = "Expected expression.",
  112310. t1 = _this.scanner,
  112311. _0_0 = t1.peekChar$0();
  112312. $label0$0: {
  112313. if (_0_0 == null)
  112314. t1.error$1(0, _s20_);
  112315. if (40 === _0_0) {
  112316. t1 = _this.parentheses$0();
  112317. break $label0$0;
  112318. }
  112319. if (47 === _0_0) {
  112320. t1 = _this._stylesheet0$_unaryOperation$0();
  112321. break $label0$0;
  112322. }
  112323. if (46 === _0_0) {
  112324. t1 = _this._stylesheet0$_number$0();
  112325. break $label0$0;
  112326. }
  112327. if (91 === _0_0) {
  112328. t1 = _this._stylesheet0$_expression$1$bracketList(true);
  112329. break $label0$0;
  112330. }
  112331. if (36 === _0_0) {
  112332. t1 = _this._stylesheet0$_variable$0();
  112333. break $label0$0;
  112334. }
  112335. if (38 === _0_0) {
  112336. t1 = _this._stylesheet0$_selector$0();
  112337. break $label0$0;
  112338. }
  112339. if (39 === _0_0 || 34 === _0_0) {
  112340. t1 = _this.interpolatedString$0();
  112341. break $label0$0;
  112342. }
  112343. if (35 === _0_0) {
  112344. t1 = _this._stylesheet0$_hashExpression$0();
  112345. break $label0$0;
  112346. }
  112347. if (43 === _0_0) {
  112348. next = t1.peekChar$1(1);
  112349. t1 = next != null && next >= 48 && next <= 57 || next === 46 ? _this._stylesheet0$_number$0() : _this._stylesheet0$_unaryOperation$0();
  112350. break $label0$0;
  112351. }
  112352. if (45 === _0_0) {
  112353. t1 = _this._stylesheet0$_minusExpression$0();
  112354. break $label0$0;
  112355. }
  112356. if (33 === _0_0) {
  112357. t1 = _this._stylesheet0$_importantExpression$0();
  112358. break $label0$0;
  112359. }
  112360. if ((117 === _0_0 || 85 === _0_0) && t1.peekChar$1(1) === 43) {
  112361. t1 = _this._stylesheet0$_unicodeRange$0();
  112362. break $label0$0;
  112363. }
  112364. if (_0_0 >= 48 && _0_0 <= 57) {
  112365. t1 = _this._stylesheet0$_number$0();
  112366. break $label0$0;
  112367. }
  112368. if (!(_0_0 >= 97 && _0_0 <= 122))
  112369. t2 = _0_0 >= 65 && _0_0 <= 90 || 95 === _0_0 || 92 === _0_0 || _0_0 >= 128;
  112370. else
  112371. t2 = true;
  112372. if (t2) {
  112373. t1 = _this.identifierLike$0();
  112374. break $label0$0;
  112375. }
  112376. t1 = t1.error$1(0, _s20_);
  112377. }
  112378. return t1;
  112379. },
  112380. parentheses$0() {
  112381. var start, first, expressions, t1, t2, _this = this,
  112382. wasInParentheses = _this._stylesheet0$_inParentheses;
  112383. _this._stylesheet0$_inParentheses = true;
  112384. try {
  112385. t1 = _this.scanner;
  112386. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  112387. t1.expectChar$1(40);
  112388. _this.whitespace$0();
  112389. if (!_this._stylesheet0$_lookingAtExpression$0()) {
  112390. t1.expectChar$1(41);
  112391. t2 = A._setArrayType([], type$.JSArray_Expression_2);
  112392. t1 = t1.spanFrom$1(start);
  112393. t2 = A.List_List$unmodifiable(t2, type$.Expression_2);
  112394. return new A.ListExpression0(t2, B.ListSeparator_undecided_null_undecided0, false, t1);
  112395. }
  112396. first = _this.expressionUntilComma$0();
  112397. if (t1.scanChar$1(58)) {
  112398. _this.whitespace$0();
  112399. t1 = _this._stylesheet0$_map$2(first, start);
  112400. return t1;
  112401. }
  112402. if (!t1.scanChar$1(44)) {
  112403. t1.expectChar$1(41);
  112404. t1 = t1.spanFrom$1(start);
  112405. return new A.ParenthesizedExpression0(first, t1);
  112406. }
  112407. _this.whitespace$0();
  112408. expressions = A._setArrayType([first], type$.JSArray_Expression_2);
  112409. for (; true;) {
  112410. if (!_this._stylesheet0$_lookingAtExpression$0())
  112411. break;
  112412. J.add$1$ax(expressions, _this.expressionUntilComma$0());
  112413. if (!t1.scanChar$1(44))
  112414. break;
  112415. _this.whitespace$0();
  112416. }
  112417. t1.expectChar$1(41);
  112418. t1 = t1.spanFrom$1(start);
  112419. t2 = A.List_List$unmodifiable(expressions, type$.Expression_2);
  112420. return new A.ListExpression0(t2, B.ListSeparator_rXA0, false, t1);
  112421. } finally {
  112422. _this._stylesheet0$_inParentheses = wasInParentheses;
  112423. }
  112424. },
  112425. _stylesheet0$_map$2(first, start) {
  112426. var t1, key, _this = this,
  112427. pairs = A._setArrayType([new A._Record_2(first, _this.expressionUntilComma$0())], type$.JSArray_Record_2_Expression_and_Expression_2);
  112428. for (t1 = _this.scanner; t1.scanChar$1(44);) {
  112429. _this.whitespace$0();
  112430. if (!_this._stylesheet0$_lookingAtExpression$0())
  112431. break;
  112432. key = _this.expressionUntilComma$0();
  112433. t1.expectChar$1(58);
  112434. _this.whitespace$0();
  112435. pairs.push(new A._Record_2(key, _this.expressionUntilComma$0()));
  112436. }
  112437. t1.expectChar$1(41);
  112438. t1 = t1.spanFrom$1(start);
  112439. return new A.MapExpression0(A.List_List$unmodifiable(pairs, type$.Record_2_Expression_and_Expression_2), t1);
  112440. },
  112441. _stylesheet0$_hashExpression$0() {
  112442. var start, t2, identifier, buffer, _this = this,
  112443. t1 = _this.scanner;
  112444. if (t1.peekChar$1(1) === 123)
  112445. return _this.identifierLike$0();
  112446. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  112447. t1.expectChar$1(35);
  112448. t2 = t1.peekChar$0();
  112449. if (t2 == null)
  112450. t2 = null;
  112451. else
  112452. t2 = t2 >= 48 && t2 <= 57;
  112453. if (t2 === true)
  112454. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
  112455. t2 = t1._string_scanner$_position;
  112456. identifier = _this.interpolatedIdentifier$0();
  112457. if (_this._stylesheet0$_isHexColor$1(identifier)) {
  112458. t1.set$state(new A._SpanScannerState(t1, t2));
  112459. return new A.ColorExpression0(_this._stylesheet0$_hexColorContents$1(start), t1.spanFrom$1(start));
  112460. }
  112461. t2 = new A.StringBuffer("");
  112462. buffer = new A.InterpolationBuffer0(t2, A._setArrayType([], type$.JSArray_Object));
  112463. t2._contents += A.Primitives_stringFromCharCode(35);
  112464. buffer.addInterpolation$1(identifier);
  112465. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  112466. },
  112467. _stylesheet0$_hexColorContents$1(start) {
  112468. var red, green, blue, alpha, digit4, t2, t3, t4, _this = this,
  112469. digit1 = _this._stylesheet0$_hexDigit$0(),
  112470. digit2 = _this._stylesheet0$_hexDigit$0(),
  112471. digit3 = _this._stylesheet0$_hexDigit$0(),
  112472. t1 = _this.scanner,
  112473. $self = t1.peekChar$0();
  112474. if (!($self != null && A.CharacterExtension_get_isHex0($self))) {
  112475. red = (digit1 << 4 >>> 0) + digit1;
  112476. green = (digit2 << 4 >>> 0) + digit2;
  112477. blue = (digit3 << 4 >>> 0) + digit3;
  112478. alpha = null;
  112479. } else {
  112480. digit4 = _this._stylesheet0$_hexDigit$0();
  112481. $self = t1.peekChar$0();
  112482. t2 = $self != null && A.CharacterExtension_get_isHex0($self);
  112483. t3 = digit1 << 4 >>> 0;
  112484. t4 = digit3 << 4 >>> 0;
  112485. if (!t2) {
  112486. red = t3 + digit1;
  112487. green = (digit2 << 4 >>> 0) + digit2;
  112488. blue = t4 + digit3;
  112489. alpha = ((digit4 << 4 >>> 0) + digit4) / 255;
  112490. } else {
  112491. red = t3 + digit2;
  112492. green = t4 + digit4;
  112493. blue = (_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0();
  112494. $self = t1.peekChar$0();
  112495. alpha = $self != null && A.CharacterExtension_get_isHex0($self) ? ((_this._stylesheet0$_hexDigit$0() << 4 >>> 0) + _this._stylesheet0$_hexDigit$0()) / 255 : null;
  112496. }
  112497. }
  112498. t2 = alpha == null;
  112499. t3 = t2 ? 1 : alpha;
  112500. return A.SassColor$rgbInternal0(red, green, blue, t3, t2 ? new A.SpanColorFormat0(t1.spanFrom$1(start)) : null);
  112501. },
  112502. _stylesheet0$_isHexColor$1(interpolation) {
  112503. var t1,
  112504. plain = interpolation.get$asPlain(),
  112505. _0_2 = A._InitializedCell$(new A.StylesheetParser__isHexColor_closure1(plain));
  112506. if (typeof plain == "string")
  112507. t1 = 3 === _0_2._readFinal$0() || 4 === _0_2._readFinal$0() || 6 === _0_2._readFinal$0() || 8 === _0_2._readFinal$0();
  112508. else
  112509. t1 = false;
  112510. if (t1) {
  112511. t1 = new A.CodeUnits(plain);
  112512. return t1.every$1(t1, new A.StylesheetParser__isHexColor_closure2());
  112513. } else
  112514. return false;
  112515. },
  112516. _stylesheet0$_hexDigit$0() {
  112517. var t1 = this.scanner,
  112518. t2 = t1.peekChar$0();
  112519. t2 = t2 == null ? null : A.CharacterExtension_get_isHex0(t2);
  112520. return t2 === true ? A.asHex0(t1.readChar$0()) : t1.error$1(0, "Expected hex digit.");
  112521. },
  112522. _stylesheet0$_minusExpression$0() {
  112523. var _this = this,
  112524. _0_0 = _this.scanner.peekChar$1(1);
  112525. if (A._isInt(_0_0) && _0_0 >= 48 && _0_0 <= 57 || 46 === _0_0)
  112526. return _this._stylesheet0$_number$0();
  112527. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  112528. return _this.identifierLike$0();
  112529. return _this._stylesheet0$_unaryOperation$0();
  112530. },
  112531. _stylesheet0$_importantExpression$0() {
  112532. var t1 = this.scanner,
  112533. t2 = t1._string_scanner$_position;
  112534. t1.readChar$0();
  112535. this.whitespace$0();
  112536. this.expectIdentifier$1("important");
  112537. t2 = t1.spanFrom$1(new A._SpanScannerState(t1, t2));
  112538. return new A.StringExpression0(A.Interpolation$0(A._setArrayType(["!important"], type$.JSArray_Object), t2), false);
  112539. },
  112540. _stylesheet0$_unaryOperation$0() {
  112541. var _this = this,
  112542. t1 = _this.scanner,
  112543. t2 = t1._string_scanner$_position,
  112544. operator = _this._stylesheet0$_unaryOperatorFor$1(t1.readChar$0());
  112545. if (operator == null)
  112546. t1.error$2$position(0, "Expected unary operator.", t1._string_scanner$_position - 1);
  112547. else if (_this.get$plainCss() && operator !== B.UnaryOperator_Ix10)
  112548. t1.error$3$length$position(0, "Operators aren't allowed in plain CSS.", 1, t1._string_scanner$_position - 1);
  112549. _this.whitespace$0();
  112550. return new A.UnaryOperationExpression0(operator, _this._stylesheet0$_singleExpression$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  112551. },
  112552. _stylesheet0$_unaryOperatorFor$1(character) {
  112553. var t1;
  112554. $label0$0: {
  112555. if (43 === character) {
  112556. t1 = B.UnaryOperator_gg40;
  112557. break $label0$0;
  112558. }
  112559. if (45 === character) {
  112560. t1 = B.UnaryOperator_TLI0;
  112561. break $label0$0;
  112562. }
  112563. if (47 === character) {
  112564. t1 = B.UnaryOperator_Ix10;
  112565. break $label0$0;
  112566. }
  112567. t1 = null;
  112568. break $label0$0;
  112569. }
  112570. return t1;
  112571. },
  112572. _stylesheet0$_number$0() {
  112573. var number, unit, _this = this,
  112574. t1 = _this.scanner,
  112575. t2 = t1._string_scanner$_position,
  112576. first = t1.peekChar$0(),
  112577. t3 = first !== 43;
  112578. if (!t3 || first === 45)
  112579. t1.readChar$0();
  112580. if (t1.peekChar$0() !== 46)
  112581. _this._stylesheet0$_consumeNaturalNumber$0();
  112582. _this._stylesheet0$_tryDecimal$1$allowTrailingDot(t1._string_scanner$_position !== t2 && t3 && first !== 45);
  112583. _this._stylesheet0$_tryExponent$0();
  112584. number = A.double_parse(t1.substring$1(0, t2));
  112585. if (t1.scanChar$1(37))
  112586. unit = "%";
  112587. else {
  112588. if (_this.lookingAtIdentifier$0())
  112589. t3 = t1.peekChar$0() !== 45 || t1.peekChar$1(1) !== 45;
  112590. else
  112591. t3 = false;
  112592. unit = t3 ? _this.identifier$1$unit(true) : null;
  112593. }
  112594. return new A.NumberExpression0(number, unit, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  112595. },
  112596. _stylesheet0$_consumeNaturalNumber$0() {
  112597. var $self,
  112598. t1 = this.scanner,
  112599. t2 = t1.readChar$0();
  112600. if (!(t2 >= 48 && t2 <= 57))
  112601. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position - 1);
  112602. while (true) {
  112603. $self = t1.peekChar$0();
  112604. if (!($self != null && $self >= 48 && $self <= 57))
  112605. break;
  112606. t1.readChar$0();
  112607. }
  112608. },
  112609. _stylesheet0$_tryDecimal$1$allowTrailingDot(allowTrailingDot) {
  112610. var $self,
  112611. t1 = this.scanner;
  112612. if (t1.peekChar$0() !== 46)
  112613. return;
  112614. $self = t1.peekChar$1(1);
  112615. if (!($self != null && $self >= 48 && $self <= 57)) {
  112616. if (allowTrailingDot)
  112617. return;
  112618. t1.error$2$position(0, "Expected digit.", t1._string_scanner$_position + 1);
  112619. }
  112620. t1.readChar$0();
  112621. while (true) {
  112622. $self = t1.peekChar$0();
  112623. if (!($self != null && $self >= 48 && $self <= 57))
  112624. break;
  112625. t1.readChar$0();
  112626. }
  112627. },
  112628. _stylesheet0$_tryExponent$0() {
  112629. var next, $self,
  112630. t1 = this.scanner,
  112631. first = t1.peekChar$0();
  112632. if (first !== 101 && first !== 69)
  112633. return;
  112634. next = t1.peekChar$1(1);
  112635. if (!(next != null && next >= 48 && next <= 57) && next !== 45 && next !== 43)
  112636. return;
  112637. t1.readChar$0();
  112638. if (43 === next || 45 === next)
  112639. t1.readChar$0();
  112640. $self = t1.peekChar$0();
  112641. if (!($self != null && $self >= 48 && $self <= 57))
  112642. t1.error$1(0, "Expected digit.");
  112643. while (true) {
  112644. $self = t1.peekChar$0();
  112645. if (!($self != null && $self >= 48 && $self <= 57))
  112646. break;
  112647. t1.readChar$0();
  112648. }
  112649. },
  112650. _stylesheet0$_unicodeRange$0() {
  112651. var firstRangeLength, hasQuestionMark, t2, secondRangeLength, _this = this,
  112652. _s26_ = "Expected at most 6 digits.",
  112653. t1 = _this.scanner,
  112654. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  112655. _this.expectIdentChar$1(117);
  112656. t1.expectChar$1(43);
  112657. for (firstRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure1());)
  112658. ++firstRangeLength;
  112659. for (hasQuestionMark = false; t1.scanChar$1(63); hasQuestionMark = true)
  112660. ++firstRangeLength;
  112661. if (firstRangeLength === 0)
  112662. t1.error$1(0, 'Expected hex digit or "?".');
  112663. else if (firstRangeLength > 6)
  112664. _this.error$2(0, _s26_, t1.spanFrom$1(start));
  112665. else if (hasQuestionMark) {
  112666. t2 = t1.substring$1(0, start.position);
  112667. t1 = t1.spanFrom$1(start);
  112668. return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  112669. }
  112670. if (t1.scanChar$1(45)) {
  112671. t2 = t1._string_scanner$_position;
  112672. for (secondRangeLength = 0; _this.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure2());)
  112673. ++secondRangeLength;
  112674. if (secondRangeLength === 0)
  112675. t1.error$1(0, "Expected hex digit.");
  112676. else if (secondRangeLength > 6)
  112677. _this.error$2(0, _s26_, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  112678. }
  112679. if (_this._stylesheet0$_lookingAtInterpolatedIdentifierBody$0())
  112680. t1.error$1(0, "Expected end of identifier.");
  112681. t2 = t1.substring$1(0, start.position);
  112682. t1 = t1.spanFrom$1(start);
  112683. return new A.StringExpression0(A.Interpolation$0(A._setArrayType([t2], type$.JSArray_Object), t1), false);
  112684. },
  112685. _stylesheet0$_variable$0() {
  112686. var _this = this,
  112687. t1 = _this.scanner,
  112688. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  112689. $name = _this.variableName$0();
  112690. if (_this.get$plainCss())
  112691. _this.error$2(0, string$.Sass_v, t1.spanFrom$1(start));
  112692. return new A.VariableExpression0(null, $name, t1.spanFrom$1(start));
  112693. },
  112694. _stylesheet0$_selector$0() {
  112695. var t1, start, _this = this;
  112696. if (_this.get$plainCss())
  112697. _this.scanner.error$2$length(0, string$.The_pa, 1);
  112698. t1 = _this.scanner;
  112699. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  112700. t1.expectChar$1(38);
  112701. if (t1.scanChar$1(38)) {
  112702. _this.logger.warn$2$span(0, string$.In_Sas, t1.spanFrom$1(start));
  112703. t1.set$position(t1._string_scanner$_position - 1);
  112704. }
  112705. return new A.SelectorExpression0(t1.spanFrom$1(start));
  112706. },
  112707. interpolatedString$0() {
  112708. var t3, t4, buffer, _0_0, second, t5,
  112709. t1 = this.scanner,
  112710. t2 = t1._string_scanner$_position,
  112711. quote = t1.readChar$0();
  112712. if (quote !== 39 && quote !== 34)
  112713. t1.error$2$position(0, "Expected string.", t2);
  112714. t3 = new A.StringBuffer("");
  112715. t4 = A._setArrayType([], type$.JSArray_Object);
  112716. buffer = new A.InterpolationBuffer0(t3, t4);
  112717. for (; true;) {
  112718. _0_0 = t1.peekChar$0();
  112719. if (_0_0 === quote) {
  112720. t1.readChar$0();
  112721. break;
  112722. }
  112723. if (_0_0 == null || _0_0 === 10 || _0_0 === 13 || _0_0 === 12)
  112724. t1.error$1(0, "Expected " + A.Primitives_stringFromCharCode(quote) + ".");
  112725. if (92 === _0_0) {
  112726. second = t1.peekChar$1(1);
  112727. if (second === 10 || second === 13 || second === 12) {
  112728. t1.readChar$0();
  112729. t1.readChar$0();
  112730. if (second === 13)
  112731. t1.scanChar$1(10);
  112732. } else
  112733. t3._contents += A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(t1));
  112734. continue;
  112735. }
  112736. if (35 === _0_0 && t1.peekChar$1(1) === 123) {
  112737. t5 = this.singleInterpolation$0();
  112738. buffer._interpolation_buffer0$_flushText$0();
  112739. t4.push(t5);
  112740. continue;
  112741. }
  112742. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  112743. }
  112744. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2))), true);
  112745. },
  112746. identifierLike$0() {
  112747. var invocation, expression, _0_0, color, t3, _1_0, specialFunction, _2_0, _2_2, _2_4, _this = this,
  112748. t1 = _this.scanner,
  112749. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  112750. identifier = _this.interpolatedIdentifier$0(),
  112751. plain = identifier.get$asPlain(),
  112752. lower = A._Cell$(),
  112753. t2 = plain != null;
  112754. if (t2) {
  112755. if (plain === "if" && t1.peekChar$0() === 40) {
  112756. invocation = _this._stylesheet0$_argumentInvocation$0();
  112757. return new A.IfExpression0(invocation, identifier.span.expand$1(0, invocation.span));
  112758. } else if (plain === "not") {
  112759. _this.whitespace$0();
  112760. expression = _this._stylesheet0$_singleExpression$0();
  112761. return new A.UnaryOperationExpression0(B.UnaryOperator_not_not_not0, expression, identifier.span.expand$1(0, expression.get$span(expression)));
  112762. }
  112763. lower._value = plain.toLowerCase();
  112764. if (t1.peekChar$0() !== 40) {
  112765. switch (plain) {
  112766. case "false":
  112767. return new A.BooleanExpression0(false, identifier.span);
  112768. case "null":
  112769. return new A.NullExpression0(identifier.span);
  112770. case "true":
  112771. return new A.BooleanExpression0(true, identifier.span);
  112772. }
  112773. _0_0 = $.$get$colorsByName0().$index(0, lower._readLocal$0());
  112774. if (_0_0 != null) {
  112775. color = _0_0;
  112776. t3 = true;
  112777. } else {
  112778. color = null;
  112779. t3 = false;
  112780. }
  112781. if (t3) {
  112782. t1 = identifier.span;
  112783. 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);
  112784. }
  112785. }
  112786. _1_0 = _this.trySpecialFunction$2(lower._readLocal$0(), start);
  112787. if (_1_0 != null) {
  112788. specialFunction = _1_0;
  112789. t3 = true;
  112790. } else {
  112791. specialFunction = null;
  112792. t3 = false;
  112793. }
  112794. if (t3)
  112795. return specialFunction;
  112796. }
  112797. _2_0 = t1.peekChar$0();
  112798. _2_2 = A._InitializedCell$(new A.StylesheetParser_identifierLike_closure1(_2_0));
  112799. _2_4 = A._InitializedCell$(new A.StylesheetParser_identifierLike_closure2(_2_0));
  112800. if (_2_2._readFinal$0() && t1.peekChar$1(1) === 46)
  112801. return new A.StringExpression0(identifier, false);
  112802. if (_2_2._readFinal$0()) {
  112803. t1.readChar$0();
  112804. if (t2)
  112805. return _this.namespacedExpression$2(plain, start);
  112806. _this.error$2(0, string$.Interpn, identifier.span);
  112807. }
  112808. if (_2_4._readFinal$0() && t2)
  112809. return new A.FunctionExpression0(null, plain, _this._stylesheet0$_argumentInvocation$1$allowEmptySecondArg(J.$eq$(lower._readLocal$0(), "var")), t1.spanFrom$1(start));
  112810. if (_2_4._readFinal$0())
  112811. return new A.InterpolatedFunctionExpression0(identifier, _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  112812. return new A.StringExpression0(identifier, false);
  112813. },
  112814. namespacedExpression$2(namespace, start) {
  112815. var $name, _this = this,
  112816. t1 = _this.scanner;
  112817. if (t1.peekChar$0() === 36) {
  112818. $name = _this.variableName$0();
  112819. _this._stylesheet0$_assertPublic$2($name, new A.StylesheetParser_namespacedExpression_closure0(_this, start));
  112820. return new A.VariableExpression0(namespace, $name, t1.spanFrom$1(start));
  112821. }
  112822. return new A.FunctionExpression0(namespace, _this._stylesheet0$_publicIdentifier$0(), _this._stylesheet0$_argumentInvocation$0(), t1.spanFrom$1(start));
  112823. },
  112824. trySpecialFunction$2($name, start) {
  112825. var t1, buffer, t2, next, t3, _this = this,
  112826. normalized = A.unvendor0($name);
  112827. $label0$0: {
  112828. if (!("calc" === normalized && normalized !== $name && _this.scanner.scanChar$1(40)))
  112829. t1 = ("element" === normalized || "expression" === normalized) && _this.scanner.scanChar$1(40);
  112830. else
  112831. t1 = true;
  112832. if (t1) {
  112833. t1 = new A.StringBuffer("");
  112834. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object));
  112835. t1._contents = "" + $name;
  112836. t1._contents += A.Primitives_stringFromCharCode(40);
  112837. break $label0$0;
  112838. }
  112839. if ("progid" === normalized && _this.scanner.scanChar$1(58)) {
  112840. t1 = new A.StringBuffer("");
  112841. buffer = new A.InterpolationBuffer0(t1, A._setArrayType([], type$.JSArray_Object));
  112842. t1._contents = "" + $name;
  112843. t1._contents += A.Primitives_stringFromCharCode(58);
  112844. t2 = _this.scanner;
  112845. next = t2.peekChar$0();
  112846. while (true) {
  112847. if (next != null) {
  112848. if (!(next >= 97 && next <= 122))
  112849. t3 = next >= 65 && next <= 90;
  112850. else
  112851. t3 = true;
  112852. t3 = t3 || next === 46;
  112853. } else
  112854. t3 = false;
  112855. if (!t3)
  112856. break;
  112857. t1._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  112858. next = t2.peekChar$0();
  112859. }
  112860. t2.expectChar$1(40);
  112861. t1._contents += A.Primitives_stringFromCharCode(40);
  112862. break $label0$0;
  112863. }
  112864. if ("url" === normalized)
  112865. return A.NullableExtension_andThen0(_this._stylesheet0$_tryUrlContents$1(start), new A.StylesheetParser_trySpecialFunction_closure0());
  112866. return null;
  112867. }
  112868. buffer.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(true));
  112869. t1 = _this.scanner;
  112870. t1.expectChar$1(41);
  112871. buffer._interpolation_buffer0$_text._contents += A.Primitives_stringFromCharCode(41);
  112872. return new A.StringExpression0(buffer.interpolation$1(t1.spanFrom$1(start)), false);
  112873. },
  112874. _stylesheet0$_tryUrlContents$2$name(start, $name) {
  112875. var t3, t4, buffer, _0_0, _0_6, t5, endPosition, result, _this = this,
  112876. t1 = _this.scanner,
  112877. t2 = t1._string_scanner$_position;
  112878. if (!t1.scanChar$1(40))
  112879. return null;
  112880. _this.whitespaceWithoutComments$0();
  112881. t3 = new A.StringBuffer("");
  112882. t4 = A._setArrayType([], type$.JSArray_Object);
  112883. buffer = new A.InterpolationBuffer0(t3, t4);
  112884. t3._contents = "" + ($name == null ? "url" : $name);
  112885. t3._contents += A.Primitives_stringFromCharCode(40);
  112886. for (; true;) {
  112887. _0_0 = t1.peekChar$0();
  112888. _0_6 = A._InitializedCell$(new A.StylesheetParser__tryUrlContents_closure0(_0_0));
  112889. if (_0_0 == null)
  112890. break;
  112891. if (92 === _0_0) {
  112892. t3._contents += _this.escape$0();
  112893. continue;
  112894. }
  112895. if (_0_6._readFinal$0() && t1.peekChar$1(1) === 123) {
  112896. t5 = _this.singleInterpolation$0();
  112897. buffer._interpolation_buffer0$_flushText$0();
  112898. t4.push(t5);
  112899. continue;
  112900. }
  112901. if (33 !== _0_0)
  112902. if (37 !== _0_0)
  112903. if (38 !== _0_0)
  112904. if (!_0_6._readFinal$0())
  112905. t5 = _0_0 >= 42 && _0_0 <= 126 || _0_0 >= 128;
  112906. else
  112907. t5 = true;
  112908. else
  112909. t5 = true;
  112910. else
  112911. t5 = true;
  112912. else
  112913. t5 = true;
  112914. if (t5) {
  112915. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  112916. continue;
  112917. }
  112918. if (_0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12) {
  112919. _this.whitespaceWithoutComments$0();
  112920. if (t1.peekChar$0() !== 41)
  112921. break;
  112922. continue;
  112923. }
  112924. if (41 === _0_0) {
  112925. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  112926. endPosition = t1._string_scanner$_position;
  112927. t2 = t1._sourceFile;
  112928. t5 = start.position;
  112929. t1 = new A._FileSpan(t2, t5, endPosition);
  112930. t1._FileSpan$3(t2, t5, endPosition);
  112931. t5 = type$.Object;
  112932. t2 = A.List_List$of(t4, true, t5);
  112933. t4 = t3._contents;
  112934. if (t4.length !== 0)
  112935. t2.push(t4.charCodeAt(0) == 0 ? t4 : t4);
  112936. result = A.List_List$from(t2, false, t5);
  112937. result.fixed$length = Array;
  112938. result.immutable$list = Array;
  112939. t3 = new A.Interpolation0(result, t1);
  112940. t3.Interpolation$20(t2, t1);
  112941. return t3;
  112942. }
  112943. break;
  112944. }
  112945. t1.set$state(new A._SpanScannerState(t1, t2));
  112946. return null;
  112947. },
  112948. _stylesheet0$_tryUrlContents$1(start) {
  112949. return this._stylesheet0$_tryUrlContents$2$name(start, null);
  112950. },
  112951. dynamicUrl$0() {
  112952. var _0_0, contents, t2, _this = this,
  112953. t1 = _this.scanner,
  112954. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  112955. _this.expectIdentifier$1("url");
  112956. _0_0 = _this._stylesheet0$_tryUrlContents$1(start);
  112957. if (_0_0 != null) {
  112958. contents = _0_0;
  112959. t2 = true;
  112960. } else {
  112961. contents = null;
  112962. t2 = false;
  112963. }
  112964. if (t2)
  112965. return new A.StringExpression0(contents, false);
  112966. 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));
  112967. },
  112968. almostAnyValue$1$omitComments(omitComments) {
  112969. var t4, t5, t6, _1_0, commentStart, end, t7, _0_0, contents, t8, _this = this,
  112970. t1 = _this.scanner,
  112971. t2 = t1._string_scanner$_position,
  112972. t3 = new A.StringBuffer(""),
  112973. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  112974. for (t4 = t1.string, t5 = t4.length, t6 = !omitComments; true;)
  112975. $label0$0: {
  112976. _1_0 = t1.peekChar$0();
  112977. if (92 === _1_0) {
  112978. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  112979. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  112980. break $label0$0;
  112981. }
  112982. if (34 === _1_0 || 39 === _1_0) {
  112983. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  112984. break $label0$0;
  112985. }
  112986. if (47 === _1_0) {
  112987. commentStart = t1._string_scanner$_position;
  112988. if (_this.scanComment$0()) {
  112989. if (t6) {
  112990. end = t1._string_scanner$_position;
  112991. t3._contents += B.JSString_methods.substring$2(t4, commentStart, end);
  112992. }
  112993. } else
  112994. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  112995. break $label0$0;
  112996. }
  112997. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  112998. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  112999. break $label0$0;
  113000. }
  113001. if (13 === _1_0 || 10 === _1_0 || 12 === _1_0) {
  113002. if (_this.get$indented())
  113003. break;
  113004. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  113005. break $label0$0;
  113006. }
  113007. if (33 === _1_0 || 59 === _1_0 || 123 === _1_0 || 125 === _1_0)
  113008. break;
  113009. if (117 === _1_0 || 85 === _1_0) {
  113010. t7 = t1._string_scanner$_position;
  113011. if (!_this.scanIdentifier$1("url")) {
  113012. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  113013. continue;
  113014. }
  113015. _0_0 = _this._stylesheet0$_tryUrlContents$1(new A._SpanScannerState(t1, t7));
  113016. if (_0_0 != null) {
  113017. contents = _0_0;
  113018. t8 = true;
  113019. } else {
  113020. contents = null;
  113021. t8 = false;
  113022. }
  113023. if (t8)
  113024. buffer.addInterpolation$1(contents);
  113025. else {
  113026. if ((t7 === 0 ? 1 / t7 < 0 : t7 < 0) || t7 > t5)
  113027. A.throwExpression(A.ArgumentError$("Invalid position " + t7, null));
  113028. t1._string_scanner$_position = t7;
  113029. t1._lastMatch = null;
  113030. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  113031. }
  113032. break $label0$0;
  113033. }
  113034. if (_1_0 == null)
  113035. break;
  113036. t7 = _this.lookingAtIdentifier$0();
  113037. if (t7) {
  113038. t3._contents += _this.identifier$0();
  113039. break $label0$0;
  113040. }
  113041. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  113042. }
  113043. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  113044. },
  113045. almostAnyValue$0() {
  113046. return this.almostAnyValue$1$omitComments(false);
  113047. },
  113048. _stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(allowColon, allowEmpty, allowSemicolon) {
  113049. var t4, t5, t6, t7, wroteNewline, _1_0, _1_12, _1_14, _1_16, _1_18, _1_20, t8, start, end, bracket, _0_0, contents, t9, _this = this,
  113050. t1 = _this.scanner,
  113051. t2 = t1._string_scanner$_position,
  113052. t3 = new A.StringBuffer(""),
  113053. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object)),
  113054. brackets = A._setArrayType([], type$.JSArray_int);
  113055. for (t4 = t1.string, t5 = t4.length, t6 = !allowColon, t7 = !allowSemicolon, wroteNewline = false; true;)
  113056. $label0$0: {
  113057. _1_0 = t1.peekChar$0();
  113058. _1_12 = A._InitializedCell$(new A.StylesheetParser__interpolatedDeclarationValue_closure4(_1_0));
  113059. _1_14 = A._InitializedCell$(new A.StylesheetParser__interpolatedDeclarationValue_closure5(_1_0));
  113060. _1_16 = A._InitializedCell$(new A.StylesheetParser__interpolatedDeclarationValue_closure6(_1_0));
  113061. _1_18 = A._InitializedCell$(new A.StylesheetParser__interpolatedDeclarationValue_closure7(_1_0));
  113062. _1_20 = A._InitializedCell$(new A.StylesheetParser__interpolatedDeclarationValue_closure8(_1_0));
  113063. if (92 === _1_0) {
  113064. t3._contents += _this.escape$1$identifierStart(true);
  113065. wroteNewline = false;
  113066. break $label0$0;
  113067. }
  113068. if (34 === _1_0 || 39 === _1_0) {
  113069. buffer.addInterpolation$1(_this.interpolatedString$0().asInterpolation$0());
  113070. wroteNewline = false;
  113071. break $label0$0;
  113072. }
  113073. if (47 === _1_0 && t1.peekChar$1(1) === 42) {
  113074. t8 = _this.get$loudComment();
  113075. start = t1._string_scanner$_position;
  113076. t8.call$0();
  113077. end = t1._string_scanner$_position;
  113078. t3._contents += B.JSString_methods.substring$2(t4, start, end);
  113079. wroteNewline = false;
  113080. break $label0$0;
  113081. }
  113082. if (35 === _1_0 && t1.peekChar$1(1) === 123) {
  113083. buffer.addInterpolation$1(_this.interpolatedIdentifier$0());
  113084. wroteNewline = false;
  113085. break $label0$0;
  113086. }
  113087. if (_1_12._readFinal$0() || _1_14._readFinal$0())
  113088. if (!wroteNewline) {
  113089. t8 = t1.peekChar$1(1);
  113090. t8 = t8 === 32 || t8 === 9 || t8 === 10 || t8 === 13 || t8 === 12;
  113091. } else
  113092. t8 = false;
  113093. else
  113094. t8 = false;
  113095. if (t8) {
  113096. t1.readChar$0();
  113097. break $label0$0;
  113098. }
  113099. if (_1_12._readFinal$0() || _1_14._readFinal$0()) {
  113100. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  113101. break $label0$0;
  113102. }
  113103. if ((_1_16._readFinal$0() || _1_18._readFinal$0() || _1_20._readFinal$0()) && _this.get$indented())
  113104. break;
  113105. if (_1_16._readFinal$0() || _1_18._readFinal$0() || _1_20._readFinal$0()) {
  113106. t8 = t1.peekChar$1(-1);
  113107. if (!(t8 === 10 || t8 === 13 || t8 === 12))
  113108. t3._contents += "\n";
  113109. t1.readChar$0();
  113110. wroteNewline = true;
  113111. break $label0$0;
  113112. }
  113113. if (40 === _1_0 || 123 === _1_0 || 91 === _1_0) {
  113114. bracket = t1.readChar$0();
  113115. t3._contents += A.Primitives_stringFromCharCode(bracket);
  113116. brackets.push(A.opposite0(bracket));
  113117. wroteNewline = false;
  113118. break $label0$0;
  113119. }
  113120. if (41 === _1_0 || 125 === _1_0 || 93 === _1_0) {
  113121. if (brackets.length === 0)
  113122. break;
  113123. bracket = brackets.pop();
  113124. t1.expectChar$1(bracket);
  113125. t3._contents += A.Primitives_stringFromCharCode(bracket);
  113126. wroteNewline = false;
  113127. break $label0$0;
  113128. }
  113129. if (59 === _1_0) {
  113130. if (t7 && brackets.length === 0)
  113131. break;
  113132. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  113133. wroteNewline = false;
  113134. break $label0$0;
  113135. }
  113136. if (58 === _1_0) {
  113137. if (t6 && brackets.length === 0)
  113138. break;
  113139. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  113140. wroteNewline = false;
  113141. break $label0$0;
  113142. }
  113143. if (117 === _1_0 || 85 === _1_0) {
  113144. t8 = t1._string_scanner$_position;
  113145. if (!_this.scanIdentifier$1("url")) {
  113146. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  113147. wroteNewline = false;
  113148. continue;
  113149. }
  113150. _0_0 = _this._stylesheet0$_tryUrlContents$1(new A._SpanScannerState(t1, t8));
  113151. if (_0_0 != null) {
  113152. contents = _0_0;
  113153. t9 = true;
  113154. } else {
  113155. contents = null;
  113156. t9 = false;
  113157. }
  113158. if (t9)
  113159. buffer.addInterpolation$1(contents);
  113160. else {
  113161. if ((t8 === 0 ? 1 / t8 < 0 : t8 < 0) || t8 > t5)
  113162. A.throwExpression(A.ArgumentError$("Invalid position " + t8, null));
  113163. t1._string_scanner$_position = t8;
  113164. t1._lastMatch = null;
  113165. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  113166. }
  113167. wroteNewline = false;
  113168. break $label0$0;
  113169. }
  113170. if (_1_0 == null)
  113171. break;
  113172. t8 = _this.lookingAtIdentifier$0();
  113173. if (t8) {
  113174. t3._contents += _this.identifier$0();
  113175. wroteNewline = false;
  113176. break $label0$0;
  113177. }
  113178. t3._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  113179. wroteNewline = false;
  113180. }
  113181. if (brackets.length !== 0)
  113182. t1.expectChar$1(B.JSArray_methods.get$last(brackets));
  113183. if (!allowEmpty && buffer._interpolation_buffer0$_contents.length === 0 && t3._contents.length === 0)
  113184. t1.error$1(0, "Expected token.");
  113185. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  113186. },
  113187. _stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(allowEmpty) {
  113188. return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, false);
  113189. },
  113190. _stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(allowEmpty, allowSemicolon) {
  113191. return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, allowEmpty, allowSemicolon);
  113192. },
  113193. _stylesheet0$_interpolatedDeclarationValue$0() {
  113194. return this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(true, false, false);
  113195. },
  113196. interpolatedIdentifier$0() {
  113197. var _0_0, _this = this,
  113198. _s20_ = "Expected identifier.",
  113199. t1 = _this.scanner,
  113200. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  113201. t2 = new A.StringBuffer(""),
  113202. t3 = A._setArrayType([], type$.JSArray_Object),
  113203. buffer = new A.InterpolationBuffer0(t2, t3);
  113204. if (t1.scanChar$1(45)) {
  113205. t2._contents += A.Primitives_stringFromCharCode(45);
  113206. if (t1.scanChar$1(45)) {
  113207. t2._contents += A.Primitives_stringFromCharCode(45);
  113208. _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
  113209. return buffer.interpolation$1(t1.spanFrom$1(start));
  113210. }
  113211. }
  113212. $label0$0: {
  113213. _0_0 = t1.peekChar$0();
  113214. if (_0_0 == null)
  113215. t1.error$1(0, _s20_);
  113216. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128) {
  113217. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  113218. break $label0$0;
  113219. }
  113220. if (92 === _0_0) {
  113221. t2._contents += _this.escape$1$identifierStart(true);
  113222. break $label0$0;
  113223. }
  113224. if (35 === _0_0 && t1.peekChar$1(1) === 123) {
  113225. t2 = _this.singleInterpolation$0();
  113226. buffer._interpolation_buffer0$_flushText$0();
  113227. t3.push(t2);
  113228. break $label0$0;
  113229. }
  113230. t1.error$1(0, _s20_);
  113231. }
  113232. _this._stylesheet0$_interpolatedIdentifierBody$1(buffer);
  113233. return buffer.interpolation$1(t1.spanFrom$1(start));
  113234. },
  113235. _stylesheet0$_interpolatedIdentifierBody$1(buffer) {
  113236. var t1, t2, t3, _0_0, t4;
  113237. for (t1 = buffer._interpolation_buffer0$_contents, t2 = this.scanner, t3 = buffer._interpolation_buffer0$_text; true;) {
  113238. _0_0 = t2.peekChar$0();
  113239. if (_0_0 == null)
  113240. break;
  113241. if (95 !== _0_0)
  113242. if (45 !== _0_0) {
  113243. if (!(_0_0 >= 97 && _0_0 <= 122))
  113244. t4 = _0_0 >= 65 && _0_0 <= 90;
  113245. else
  113246. t4 = true;
  113247. if (!t4)
  113248. t4 = _0_0 >= 48 && _0_0 <= 57;
  113249. else
  113250. t4 = true;
  113251. t4 = t4 || _0_0 >= 128;
  113252. } else
  113253. t4 = true;
  113254. else
  113255. t4 = true;
  113256. if (t4) {
  113257. t3._contents += A.Primitives_stringFromCharCode(t2.readChar$0());
  113258. continue;
  113259. }
  113260. if (92 === _0_0) {
  113261. t3._contents += this.escape$0();
  113262. continue;
  113263. }
  113264. if (35 === _0_0 && t2.peekChar$1(1) === 123) {
  113265. t4 = this.singleInterpolation$0();
  113266. buffer._interpolation_buffer0$_flushText$0();
  113267. t1.push(t4);
  113268. continue;
  113269. }
  113270. break;
  113271. }
  113272. },
  113273. singleInterpolation$0() {
  113274. var contents, _this = this,
  113275. t1 = _this.scanner,
  113276. t2 = t1._string_scanner$_position;
  113277. t1.expect$1("#{");
  113278. _this.whitespace$0();
  113279. contents = _this._stylesheet0$_expression$0();
  113280. t1.expectChar$1(125);
  113281. if (_this.get$plainCss())
  113282. _this.error$2(0, string$.Interpp, t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  113283. return contents;
  113284. },
  113285. _stylesheet0$_mediaQueryList$0() {
  113286. var _this = this,
  113287. t1 = _this.scanner,
  113288. t2 = t1._string_scanner$_position,
  113289. t3 = new A.StringBuffer(""),
  113290. buffer = new A.InterpolationBuffer0(t3, A._setArrayType([], type$.JSArray_Object));
  113291. for (; true;) {
  113292. _this.whitespace$0();
  113293. _this._stylesheet0$_mediaQuery$1(buffer);
  113294. _this.whitespace$0();
  113295. if (!t1.scanChar$1(44))
  113296. break;
  113297. t3._contents += A.Primitives_stringFromCharCode(44);
  113298. t3._contents += A.Primitives_stringFromCharCode(32);
  113299. }
  113300. return buffer.interpolation$1(t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  113301. },
  113302. _stylesheet0$_mediaQuery$1(buffer) {
  113303. var identifier1, t1, identifier2, _this = this, _s3_ = "and";
  113304. if (_this.scanner.peekChar$0() === 40) {
  113305. _this._stylesheet0$_mediaInParens$1(buffer);
  113306. _this.whitespace$0();
  113307. if (_this.scanIdentifier$1(_s3_)) {
  113308. buffer._interpolation_buffer0$_text._contents += " and ";
  113309. _this.expectWhitespace$0();
  113310. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  113311. } else if (_this.scanIdentifier$1("or")) {
  113312. buffer._interpolation_buffer0$_text._contents += " or ";
  113313. _this.expectWhitespace$0();
  113314. _this._stylesheet0$_mediaLogicSequence$2(buffer, "or");
  113315. }
  113316. return;
  113317. }
  113318. identifier1 = _this.interpolatedIdentifier$0();
  113319. if (A.equalsIgnoreCase0(identifier1.get$asPlain(), "not")) {
  113320. _this.expectWhitespace$0();
  113321. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  113322. buffer._interpolation_buffer0$_text._contents += "not ";
  113323. _this._stylesheet0$_mediaOrInterp$1(buffer);
  113324. return;
  113325. }
  113326. }
  113327. _this.whitespace$0();
  113328. buffer.addInterpolation$1(identifier1);
  113329. if (!_this._stylesheet0$_lookingAtInterpolatedIdentifier$0())
  113330. return;
  113331. t1 = buffer._interpolation_buffer0$_text;
  113332. t1._contents += A.Primitives_stringFromCharCode(32);
  113333. identifier2 = _this.interpolatedIdentifier$0();
  113334. if (A.equalsIgnoreCase0(identifier2.get$asPlain(), _s3_)) {
  113335. _this.expectWhitespace$0();
  113336. t1._contents += " and ";
  113337. } else {
  113338. _this.whitespace$0();
  113339. buffer.addInterpolation$1(identifier2);
  113340. if (_this.scanIdentifier$1(_s3_)) {
  113341. _this.expectWhitespace$0();
  113342. t1._contents += " and ";
  113343. } else
  113344. return;
  113345. }
  113346. if (_this.scanIdentifier$1("not")) {
  113347. _this.expectWhitespace$0();
  113348. t1._contents += "not ";
  113349. _this._stylesheet0$_mediaOrInterp$1(buffer);
  113350. return;
  113351. }
  113352. _this._stylesheet0$_mediaLogicSequence$2(buffer, _s3_);
  113353. return;
  113354. },
  113355. _stylesheet0$_mediaLogicSequence$2(buffer, operator) {
  113356. var t1, t2, _this = this;
  113357. for (t1 = buffer._interpolation_buffer0$_text; true;) {
  113358. _this._stylesheet0$_mediaOrInterp$1(buffer);
  113359. _this.whitespace$0();
  113360. if (!_this.scanIdentifier$1(operator))
  113361. return;
  113362. _this.expectWhitespace$0();
  113363. t2 = t1._contents += A.Primitives_stringFromCharCode(32);
  113364. t1._contents = t2 + operator;
  113365. t1._contents += A.Primitives_stringFromCharCode(32);
  113366. }
  113367. },
  113368. _stylesheet0$_mediaOrInterp$1(buffer) {
  113369. var interpolation;
  113370. if (this.scanner.peekChar$0() === 35) {
  113371. interpolation = this.singleInterpolation$0();
  113372. buffer.addInterpolation$1(A.Interpolation$0(A._setArrayType([interpolation], type$.JSArray_Object), interpolation.get$span(interpolation)));
  113373. } else
  113374. this._stylesheet0$_mediaInParens$1(buffer);
  113375. },
  113376. _stylesheet0$_mediaInParens$1(buffer) {
  113377. var t2, t3, t4, next, t5, _this = this,
  113378. t1 = _this.scanner;
  113379. t1.expectChar$2$name(40, "media condition in parentheses");
  113380. t2 = buffer._interpolation_buffer0$_text;
  113381. t2._contents += A.Primitives_stringFromCharCode(40);
  113382. _this.whitespace$0();
  113383. if (t1.peekChar$0() === 40) {
  113384. _this._stylesheet0$_mediaInParens$1(buffer);
  113385. _this.whitespace$0();
  113386. if (_this.scanIdentifier$1("and")) {
  113387. t2._contents += " and ";
  113388. _this.expectWhitespace$0();
  113389. _this._stylesheet0$_mediaLogicSequence$2(buffer, "and");
  113390. } else if (_this.scanIdentifier$1("or")) {
  113391. t2._contents += " or ";
  113392. _this.expectWhitespace$0();
  113393. _this._stylesheet0$_mediaLogicSequence$2(buffer, "or");
  113394. }
  113395. } else if (_this.scanIdentifier$1("not")) {
  113396. t2._contents += "not ";
  113397. _this.expectWhitespace$0();
  113398. _this._stylesheet0$_mediaOrInterp$1(buffer);
  113399. } else {
  113400. t3 = _this._stylesheet0$_expressionUntilComparison$0();
  113401. buffer._interpolation_buffer0$_flushText$0();
  113402. t4 = buffer._interpolation_buffer0$_contents;
  113403. t4.push(t3);
  113404. if (t1.scanChar$1(58)) {
  113405. _this.whitespace$0();
  113406. t2._contents += A.Primitives_stringFromCharCode(58);
  113407. t2._contents += A.Primitives_stringFromCharCode(32);
  113408. t3 = _this._stylesheet0$_expression$0();
  113409. buffer._interpolation_buffer0$_flushText$0();
  113410. t4.push(t3);
  113411. } else {
  113412. next = t1.peekChar$0();
  113413. t3 = 60 !== next;
  113414. if (!t3 || 62 === next || 61 === next) {
  113415. t2._contents += A.Primitives_stringFromCharCode(32);
  113416. t2._contents += A.Primitives_stringFromCharCode(t1.readChar$0());
  113417. if ((!t3 || 62 === next) && t1.scanChar$1(61))
  113418. t2._contents += A.Primitives_stringFromCharCode(61);
  113419. t2._contents += A.Primitives_stringFromCharCode(32);
  113420. _this.whitespace$0();
  113421. t5 = _this._stylesheet0$_expressionUntilComparison$0();
  113422. buffer._interpolation_buffer0$_flushText$0();
  113423. t4.push(t5);
  113424. if (!t3 || 62 === next) {
  113425. next.toString;
  113426. t3 = t1.scanChar$1(next);
  113427. } else
  113428. t3 = false;
  113429. if (t3) {
  113430. t2._contents += A.Primitives_stringFromCharCode(32);
  113431. t2._contents += A.Primitives_stringFromCharCode(next);
  113432. if (t1.scanChar$1(61))
  113433. t2._contents += A.Primitives_stringFromCharCode(61);
  113434. t2._contents += A.Primitives_stringFromCharCode(32);
  113435. _this.whitespace$0();
  113436. t3 = _this._stylesheet0$_expressionUntilComparison$0();
  113437. buffer._interpolation_buffer0$_flushText$0();
  113438. t4.push(t3);
  113439. }
  113440. }
  113441. }
  113442. }
  113443. t1.expectChar$1(41);
  113444. _this.whitespace$0();
  113445. t2._contents += A.Primitives_stringFromCharCode(41);
  113446. },
  113447. _stylesheet0$_expressionUntilComparison$0() {
  113448. return this._stylesheet0$_expression$1$until(new A.StylesheetParser__expressionUntilComparison_closure0(this));
  113449. },
  113450. _stylesheet0$_supportsCondition$0() {
  113451. var condition, operator, right, endPosition, t3, t4, lowerOperator, _this = this,
  113452. t1 = _this.scanner,
  113453. t2 = t1._string_scanner$_position;
  113454. if (_this.scanIdentifier$1("not")) {
  113455. _this.whitespace$0();
  113456. return new A.SupportsNegation0(_this._stylesheet0$_supportsConditionInParens$0(), t1.spanFrom$1(new A._SpanScannerState(t1, t2)));
  113457. }
  113458. condition = _this._stylesheet0$_supportsConditionInParens$0();
  113459. _this.whitespace$0();
  113460. for (operator = null; _this.lookingAtIdentifier$0();) {
  113461. if (operator != null)
  113462. _this.expectIdentifier$1(operator);
  113463. else if (_this.scanIdentifier$1("or"))
  113464. operator = "or";
  113465. else {
  113466. _this.expectIdentifier$1("and");
  113467. operator = "and";
  113468. }
  113469. _this.whitespace$0();
  113470. right = _this._stylesheet0$_supportsConditionInParens$0();
  113471. endPosition = t1._string_scanner$_position;
  113472. t3 = t1._sourceFile;
  113473. t4 = new A._FileSpan(t3, t2, endPosition);
  113474. t4._FileSpan$3(t3, t2, endPosition);
  113475. condition = new A.SupportsOperation0(condition, right, operator, t4);
  113476. lowerOperator = operator.toLowerCase();
  113477. if (lowerOperator !== "and" && lowerOperator !== "or")
  113478. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  113479. _this.whitespace$0();
  113480. }
  113481. return condition;
  113482. },
  113483. _stylesheet0$_supportsConditionInParens$0() {
  113484. var $name, nameStart, wasInParentheses, identifier, operation, _1_0, contents, identifier0, t2, $arguments, _0_0, _0_4, expression, condition, exception, declaration, _this = this,
  113485. t1 = _this.scanner,
  113486. start = new A._SpanScannerState(t1, t1._string_scanner$_position);
  113487. if (_this._stylesheet0$_lookingAtInterpolatedIdentifier$0()) {
  113488. identifier0 = _this.interpolatedIdentifier$0();
  113489. t2 = identifier0.get$asPlain();
  113490. if ((t2 == null ? null : t2.toLowerCase()) === "not")
  113491. _this.error$2(0, '"not" is not a valid identifier here.', identifier0.span);
  113492. if (t1.scanChar$1(40)) {
  113493. $arguments = _this._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowSemicolon(true, true);
  113494. t1.expectChar$1(41);
  113495. return new A.SupportsFunction0(identifier0, $arguments, t1.spanFrom$1(start));
  113496. } else {
  113497. _0_0 = identifier0.contents;
  113498. _0_4 = A._InitializedCell$(new A.StylesheetParser__supportsConditionInParens_closure0(_0_0));
  113499. if (_0_0.length === 1)
  113500. if (type$.Expression_2._is(_0_4._readFinal$0())) {
  113501. expression = _0_4._readFinal$0();
  113502. t2 = true;
  113503. } else {
  113504. expression = null;
  113505. t2 = false;
  113506. }
  113507. else {
  113508. expression = null;
  113509. t2 = false;
  113510. }
  113511. if (t2)
  113512. return new A.SupportsInterpolation0(expression, t1.spanFrom$1(start));
  113513. else
  113514. _this.error$2(0, "Expected @supports condition.", identifier0.span);
  113515. }
  113516. }
  113517. t1.expectChar$1(40);
  113518. _this.whitespace$0();
  113519. if (_this.scanIdentifier$1("not")) {
  113520. _this.whitespace$0();
  113521. condition = _this._stylesheet0$_supportsConditionInParens$0();
  113522. t1.expectChar$1(41);
  113523. return new A.SupportsNegation0(condition, t1.spanFrom$1(start));
  113524. } else if (t1.peekChar$0() === 40) {
  113525. condition = _this._stylesheet0$_supportsCondition$0();
  113526. t1.expectChar$1(41);
  113527. return condition;
  113528. }
  113529. $name = null;
  113530. nameStart = new A._SpanScannerState(t1, t1._string_scanner$_position);
  113531. wasInParentheses = _this._stylesheet0$_inParentheses;
  113532. try {
  113533. $name = _this._stylesheet0$_expression$0();
  113534. t1.expectChar$1(58);
  113535. } catch (exception) {
  113536. if (type$.FormatException._is(A.unwrapException(exception))) {
  113537. t1.set$state(nameStart);
  113538. _this._stylesheet0$_inParentheses = wasInParentheses;
  113539. identifier = _this.interpolatedIdentifier$0();
  113540. operation = null;
  113541. _1_0 = _this._stylesheet0$_trySupportsOperation$2(identifier, nameStart);
  113542. if (_1_0 != null) {
  113543. operation = _1_0;
  113544. t2 = true;
  113545. } else
  113546. t2 = false;
  113547. if (t2) {
  113548. t1.expectChar$1(41);
  113549. return operation;
  113550. }
  113551. t2 = new A.InterpolationBuffer0(new A.StringBuffer(""), A._setArrayType([], type$.JSArray_Object));
  113552. t2.addInterpolation$1(identifier);
  113553. t2.addInterpolation$1(_this._stylesheet0$_interpolatedDeclarationValue$3$allowColon$allowEmpty$allowSemicolon(false, true, true));
  113554. contents = t2.interpolation$1(t1.spanFrom$1(nameStart));
  113555. if (t1.peekChar$0() === 58)
  113556. throw exception;
  113557. t1.expectChar$1(41);
  113558. return new A.SupportsAnything0(contents, t1.spanFrom$1(start));
  113559. } else
  113560. throw exception;
  113561. }
  113562. declaration = _this._stylesheet0$_supportsDeclarationValue$2($name, start);
  113563. t1.expectChar$1(41);
  113564. return declaration;
  113565. },
  113566. _stylesheet0$_supportsDeclarationValue$2($name, start) {
  113567. var t1, value, _this = this;
  113568. if ($name instanceof A.StringExpression0)
  113569. if (!$name.hasQuotes)
  113570. t1 = B.JSString_methods.startsWith$1($name.text.get$initialPlain(), "--");
  113571. else
  113572. t1 = false;
  113573. else
  113574. t1 = false;
  113575. if (t1)
  113576. value = new A.StringExpression0(_this._stylesheet0$_interpolatedDeclarationValue$0(), false);
  113577. else {
  113578. _this.whitespace$0();
  113579. value = _this._stylesheet0$_expression$0();
  113580. }
  113581. return new A.SupportsDeclaration0($name, value, _this.scanner.spanFrom$1(start));
  113582. },
  113583. _stylesheet0$_trySupportsOperation$2(interpolation, start) {
  113584. var expression, beforeWhitespace, t2, t3, operator, operation, right, t4, endPosition, t5, t6, lowerOperator, _this = this, _null = null,
  113585. t1 = interpolation.contents;
  113586. if (t1.length !== 1)
  113587. return _null;
  113588. expression = B.JSArray_methods.get$first(t1);
  113589. if (!type$.Expression_2._is(expression))
  113590. return _null;
  113591. t1 = _this.scanner;
  113592. beforeWhitespace = new A._SpanScannerState(t1, t1._string_scanner$_position);
  113593. _this.whitespace$0();
  113594. for (t2 = start.position, t3 = interpolation.span, operator = _null, operation = operator; _this.lookingAtIdentifier$0();) {
  113595. if (operator != null)
  113596. _this.expectIdentifier$1(operator);
  113597. else if (_this.scanIdentifier$1("and"))
  113598. operator = "and";
  113599. else {
  113600. if (!_this.scanIdentifier$1("or")) {
  113601. if (beforeWhitespace._scanner !== t1)
  113602. A.throwExpression(A.ArgumentError$(string$.The_gi, _null));
  113603. t2 = beforeWhitespace.position;
  113604. if ((t2 === 0 ? 1 / t2 < 0 : t2 < 0) || t2 > t1.string.length)
  113605. A.throwExpression(A.ArgumentError$("Invalid position " + t2, _null));
  113606. t1._string_scanner$_position = t2;
  113607. return t1._lastMatch = null;
  113608. }
  113609. operator = "or";
  113610. }
  113611. _this.whitespace$0();
  113612. right = _this._stylesheet0$_supportsConditionInParens$0();
  113613. t4 = operation == null ? new A.SupportsInterpolation0(expression, t3) : operation;
  113614. endPosition = t1._string_scanner$_position;
  113615. t5 = t1._sourceFile;
  113616. t6 = new A._FileSpan(t5, t2, endPosition);
  113617. t6._FileSpan$3(t5, t2, endPosition);
  113618. operation = new A.SupportsOperation0(t4, right, operator, t6);
  113619. lowerOperator = operator.toLowerCase();
  113620. if (lowerOperator !== "and" && lowerOperator !== "or")
  113621. A.throwExpression(A.ArgumentError$value(operator, "operator", 'may only be "and" or "or".'));
  113622. _this.whitespace$0();
  113623. }
  113624. return operation;
  113625. },
  113626. _stylesheet0$_lookingAtInterpolatedIdentifier$0() {
  113627. var _0_0,
  113628. t1 = this.scanner,
  113629. _1_0 = t1.peekChar$0();
  113630. $label0$0: {
  113631. if (_1_0 == null) {
  113632. t1 = false;
  113633. break $label0$0;
  113634. }
  113635. if (_1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128 || 92 === _1_0) {
  113636. t1 = true;
  113637. break $label0$0;
  113638. }
  113639. if (35 === _1_0) {
  113640. t1 = t1.peekChar$1(1) === 123;
  113641. break $label0$0;
  113642. }
  113643. if (45 === _1_0) {
  113644. _0_0 = t1.peekChar$1(1);
  113645. $label1$1: {
  113646. if (_0_0 == null) {
  113647. t1 = false;
  113648. break $label1$1;
  113649. }
  113650. if (35 === _0_0) {
  113651. t1 = t1.peekChar$1(2) === 123;
  113652. break $label1$1;
  113653. }
  113654. if (_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128 || 92 === _0_0 || 45 === _0_0) {
  113655. t1 = true;
  113656. break $label1$1;
  113657. }
  113658. t1 = false;
  113659. break $label1$1;
  113660. }
  113661. break $label0$0;
  113662. }
  113663. t1 = false;
  113664. break $label0$0;
  113665. }
  113666. return t1;
  113667. },
  113668. _stylesheet0$_lookingAtPotentialPropertyHack$0() {
  113669. var t1 = this.scanner,
  113670. _0_0 = t1.peekChar$0();
  113671. $label0$0: {
  113672. if (58 === _0_0 || 42 === _0_0 || 46 === _0_0) {
  113673. t1 = true;
  113674. break $label0$0;
  113675. }
  113676. if (35 === _0_0) {
  113677. t1 = t1.peekChar$1(1) !== 123;
  113678. break $label0$0;
  113679. }
  113680. t1 = false;
  113681. break $label0$0;
  113682. }
  113683. return t1;
  113684. },
  113685. _stylesheet0$_lookingAtInterpolatedIdentifierBody$0() {
  113686. var t2,
  113687. t1 = this.scanner,
  113688. _0_0 = t1.peekChar$0();
  113689. $label0$0: {
  113690. if (_0_0 == null) {
  113691. t1 = false;
  113692. break $label0$0;
  113693. }
  113694. if (!(_0_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_0_0) || _0_0 >= 128))
  113695. t2 = _0_0 >= 48 && _0_0 <= 57 || _0_0 === 45;
  113696. else
  113697. t2 = true;
  113698. if (t2 || 92 === _0_0) {
  113699. t1 = true;
  113700. break $label0$0;
  113701. }
  113702. if (35 === _0_0) {
  113703. t1 = t1.peekChar$1(1) === 123;
  113704. break $label0$0;
  113705. }
  113706. t1 = false;
  113707. break $label0$0;
  113708. }
  113709. return t1;
  113710. },
  113711. _stylesheet0$_lookingAtExpression$0() {
  113712. var _0_0,
  113713. t1 = this.scanner,
  113714. _1_0 = t1.peekChar$0();
  113715. $label0$0: {
  113716. if (_1_0 == null) {
  113717. t1 = false;
  113718. break $label0$0;
  113719. }
  113720. if (46 === _1_0) {
  113721. t1 = t1.peekChar$1(1) !== 46;
  113722. break $label0$0;
  113723. }
  113724. if (33 === _1_0) {
  113725. _0_0 = t1.peekChar$1(1);
  113726. $label1$1: {
  113727. if (_0_0 != null)
  113728. if (105 !== _0_0)
  113729. if (73 !== _0_0)
  113730. t1 = _0_0 === 32 || _0_0 === 9 || _0_0 === 10 || _0_0 === 13 || _0_0 === 12;
  113731. else
  113732. t1 = true;
  113733. else
  113734. t1 = true;
  113735. else
  113736. t1 = true;
  113737. if (t1) {
  113738. t1 = true;
  113739. break $label1$1;
  113740. }
  113741. t1 = false;
  113742. break $label1$1;
  113743. }
  113744. break $label0$0;
  113745. }
  113746. if (40 !== _1_0)
  113747. if (47 !== _1_0)
  113748. if (91 !== _1_0)
  113749. if (39 !== _1_0)
  113750. if (34 !== _1_0)
  113751. if (35 !== _1_0)
  113752. if (43 !== _1_0)
  113753. if (45 !== _1_0)
  113754. if (92 !== _1_0)
  113755. if (36 !== _1_0)
  113756. if (38 !== _1_0)
  113757. if (!(_1_0 === 95 || A.CharacterExtension_get_isAlphabetic0(_1_0) || _1_0 >= 128))
  113758. t1 = _1_0 >= 48 && _1_0 <= 57;
  113759. else
  113760. t1 = true;
  113761. else
  113762. t1 = true;
  113763. else
  113764. t1 = true;
  113765. else
  113766. t1 = true;
  113767. else
  113768. t1 = true;
  113769. else
  113770. t1 = true;
  113771. else
  113772. t1 = true;
  113773. else
  113774. t1 = true;
  113775. else
  113776. t1 = true;
  113777. else
  113778. t1 = true;
  113779. else
  113780. t1 = true;
  113781. else
  113782. t1 = true;
  113783. if (t1) {
  113784. t1 = true;
  113785. break $label0$0;
  113786. }
  113787. t1 = false;
  113788. break $label0$0;
  113789. }
  113790. return t1;
  113791. },
  113792. _stylesheet0$_withChildren$1$3(child, start, create) {
  113793. var result = create.call$2(this.children$1(0, child), this.scanner.spanFrom$1(start));
  113794. this.whitespaceWithoutComments$0();
  113795. return result;
  113796. },
  113797. _stylesheet0$_withChildren$3(child, start, create) {
  113798. return this._stylesheet0$_withChildren$1$3(child, start, create, type$.dynamic);
  113799. },
  113800. _stylesheet0$_urlString$0() {
  113801. var innerError, stackTrace, t2, exception,
  113802. t1 = this.scanner,
  113803. start = new A._SpanScannerState(t1, t1._string_scanner$_position),
  113804. url = this.string$0();
  113805. try {
  113806. t2 = A.Uri_parse(url);
  113807. return t2;
  113808. } catch (exception) {
  113809. t2 = A.unwrapException(exception);
  113810. if (type$.FormatException._is(t2)) {
  113811. innerError = t2;
  113812. stackTrace = A.getTraceFromException(exception);
  113813. this.error$3(0, "Invalid URL: " + J.get$message$x(innerError), t1.spanFrom$1(start), stackTrace);
  113814. } else
  113815. throw exception;
  113816. }
  113817. },
  113818. _stylesheet0$_publicIdentifier$0() {
  113819. var _this = this,
  113820. t1 = _this.scanner,
  113821. t2 = t1._string_scanner$_position,
  113822. result = _this.identifier$1$normalize(true);
  113823. _this._stylesheet0$_assertPublic$2(result, new A.StylesheetParser__publicIdentifier_closure0(_this, new A._SpanScannerState(t1, t2)));
  113824. return result;
  113825. },
  113826. _stylesheet0$_assertPublic$2(identifier, span) {
  113827. var first = identifier.charCodeAt(0);
  113828. if (!(first === 45 || first === 95))
  113829. return;
  113830. this.error$2(0, string$.Privat, span.call$0());
  113831. },
  113832. get$plainCss() {
  113833. return false;
  113834. }
  113835. };
  113836. A.StylesheetParser_parse_closure0.prototype = {
  113837. call$0() {
  113838. var statements, t4,
  113839. t1 = this.$this,
  113840. t2 = t1.scanner,
  113841. t3 = t2._string_scanner$_position;
  113842. t2.scanChar$1(65279);
  113843. statements = t1.statements$1(new A.StylesheetParser_parse__closure1(t1));
  113844. t2.expectDone$0();
  113845. t4 = t1._stylesheet0$_globalVariables;
  113846. t4 = t4.get$values(t4);
  113847. 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));
  113848. return A.Stylesheet$internal0(statements, t2.spanFrom$1(new A._SpanScannerState(t2, t3)), t1.get$plainCss());
  113849. },
  113850. $signature: 575
  113851. };
  113852. A.StylesheetParser_parse__closure1.prototype = {
  113853. call$0() {
  113854. var t1 = this.$this;
  113855. if (t1.scanner.scan$1("@charset")) {
  113856. t1.whitespace$0();
  113857. t1.string$0();
  113858. return null;
  113859. }
  113860. return t1._stylesheet0$_statement$1$root(true);
  113861. },
  113862. $signature: 576
  113863. };
  113864. A.StylesheetParser_parse__closure2.prototype = {
  113865. call$1(declaration) {
  113866. var t1 = declaration.expression;
  113867. return A.VariableDeclaration$0(declaration.name, new A.NullExpression0(t1.get$span(t1)), declaration.span, null, false, true, null);
  113868. },
  113869. $signature: 577
  113870. };
  113871. A.StylesheetParser_parseArgumentDeclaration_closure0.prototype = {
  113872. call$0() {
  113873. var $arguments,
  113874. t1 = this.$this,
  113875. t2 = t1.scanner;
  113876. t2.expectChar$2$name(64, "@-rule");
  113877. t1.identifier$0();
  113878. t1.whitespace$0();
  113879. t1.identifier$0();
  113880. $arguments = t1._stylesheet0$_argumentDeclaration$0();
  113881. t1.whitespace$0();
  113882. t2.expectChar$1(123);
  113883. return $arguments;
  113884. },
  113885. $signature: 578
  113886. };
  113887. A.StylesheetParser__parseSingleProduction_closure0.prototype = {
  113888. call$0() {
  113889. var result = this.production.call$0();
  113890. this.$this.scanner.expectDone$0();
  113891. return result;
  113892. },
  113893. $signature() {
  113894. return this.T._eval$1("0()");
  113895. }
  113896. };
  113897. A.StylesheetParser_parseSignature_closure.prototype = {
  113898. call$0() {
  113899. var $arguments, t2, t3,
  113900. t1 = this.$this,
  113901. $name = t1.identifier$0();
  113902. if (this.requireParens || t1.scanner.peekChar$0() === 40)
  113903. $arguments = t1._stylesheet0$_argumentDeclaration$0();
  113904. else {
  113905. t2 = t1.scanner;
  113906. t2 = A.FileLocation$_(t2._sourceFile, t2._string_scanner$_position);
  113907. t3 = t2.offset;
  113908. $arguments = new A.ArgumentDeclaration0(B.List_empty22, null, A._FileSpan$(t2.file, t3, t3));
  113909. }
  113910. t1.scanner.expectDone$0();
  113911. return new A._Record_2($name, $arguments);
  113912. },
  113913. $signature: 579
  113914. };
  113915. A.StylesheetParser__statement_closure0.prototype = {
  113916. call$0() {
  113917. return this.$this._stylesheet0$_statement$0();
  113918. },
  113919. $signature: 126
  113920. };
  113921. A.StylesheetParser_variableDeclarationWithoutNamespace_closure1.prototype = {
  113922. call$0() {
  113923. return this.$this.scanner.spanFrom$1(this.start);
  113924. },
  113925. $signature: 33
  113926. };
  113927. A.StylesheetParser_variableDeclarationWithoutNamespace_closure2.prototype = {
  113928. call$0() {
  113929. return this.declaration;
  113930. },
  113931. $signature: 580
  113932. };
  113933. A.StylesheetParser__declarationOrBuffer_closure1.prototype = {
  113934. call$2(children, span) {
  113935. return A.Declaration$nested0(this.name, children, span, null);
  113936. },
  113937. $signature: 109
  113938. };
  113939. A.StylesheetParser__declarationOrBuffer_closure2.prototype = {
  113940. call$2(children, span) {
  113941. return A.Declaration$nested0(this.name, children, span, this._box_0.value);
  113942. },
  113943. $signature: 109
  113944. };
  113945. A.StylesheetParser__styleRule_closure0.prototype = {
  113946. call$2(children, span) {
  113947. var _this = this,
  113948. t1 = _this.$this;
  113949. if (t1.get$indented() && children.length === 0)
  113950. t1.logger.warn$2$span(0, string$.This_s, _this._box_0.interpolation.span);
  113951. t1._stylesheet0$_inStyleRule = _this.wasInStyleRule;
  113952. return A.StyleRule$0(_this._box_0.interpolation, children, t1.scanner.spanFrom$1(_this.start));
  113953. },
  113954. $signature: 582
  113955. };
  113956. A.StylesheetParser__propertyOrVariableDeclaration_closure1.prototype = {
  113957. call$2(children, span) {
  113958. return A.Declaration$nested0(this._box_0.name, children, span, null);
  113959. },
  113960. $signature: 109
  113961. };
  113962. A.StylesheetParser__propertyOrVariableDeclaration_closure2.prototype = {
  113963. call$2(children, span) {
  113964. return A.Declaration$nested0(this._box_0.name, children, span, this.value);
  113965. },
  113966. $signature: 109
  113967. };
  113968. A.StylesheetParser__atRootRule_closure1.prototype = {
  113969. call$2(children, span) {
  113970. return A.AtRootRule$0(children, span, this.query);
  113971. },
  113972. $signature: 285
  113973. };
  113974. A.StylesheetParser__atRootRule_closure2.prototype = {
  113975. call$2(children, span) {
  113976. return A.AtRootRule$0(children, span, null);
  113977. },
  113978. $signature: 285
  113979. };
  113980. A.StylesheetParser__eachRule_closure0.prototype = {
  113981. call$2(children, span) {
  113982. var _this = this;
  113983. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  113984. return A.EachRule$0(_this.variables, _this.list, children, span);
  113985. },
  113986. $signature: 584
  113987. };
  113988. A.StylesheetParser__functionRule_closure0.prototype = {
  113989. call$2(children, span) {
  113990. return A.FunctionRule$0(this.name, this.$arguments, children, span, this.precedingComment);
  113991. },
  113992. $signature: 585
  113993. };
  113994. A.StylesheetParser__forRule_closure1.prototype = {
  113995. call$0() {
  113996. var t1 = this.$this;
  113997. if (!t1.lookingAtIdentifier$0())
  113998. return false;
  113999. if (t1.scanIdentifier$1("to"))
  114000. return this._box_0.exclusive = true;
  114001. else if (t1.scanIdentifier$1("through")) {
  114002. this._box_0.exclusive = false;
  114003. return true;
  114004. } else
  114005. return false;
  114006. },
  114007. $signature: 1
  114008. };
  114009. A.StylesheetParser__forRule_closure2.prototype = {
  114010. call$2(children, span) {
  114011. var t1, _this = this;
  114012. _this.$this._stylesheet0$_inControlDirective = _this.wasInControlDirective;
  114013. t1 = _this._box_0.exclusive;
  114014. t1.toString;
  114015. return A.ForRule$0(_this.variable, _this.from, _this.to, children, span, t1);
  114016. },
  114017. $signature: 586
  114018. };
  114019. A.StylesheetParser__memberList_closure0.prototype = {
  114020. call$0() {
  114021. var t1 = this.$this;
  114022. if (t1.scanner.peekChar$0() === 36)
  114023. this.variables.add$1(0, t1.variableName$0());
  114024. else
  114025. this.identifiers.add$1(0, t1.identifier$1$normalize(true));
  114026. },
  114027. $signature: 2
  114028. };
  114029. A.StylesheetParser__includeRule_closure0.prototype = {
  114030. call$2(children, span) {
  114031. return A.ContentBlock$0(this.contentArguments_, children, span);
  114032. },
  114033. $signature: 587
  114034. };
  114035. A.StylesheetParser_mediaRule_closure0.prototype = {
  114036. call$2(children, span) {
  114037. return A.MediaRule$0(this.query, children, span);
  114038. },
  114039. $signature: 588
  114040. };
  114041. A.StylesheetParser__mixinRule_closure0.prototype = {
  114042. call$2(children, span) {
  114043. var _this = this;
  114044. _this.$this._stylesheet0$_inMixin = false;
  114045. return A.MixinRule$0(_this.name, _this.$arguments, children, span, _this.precedingComment);
  114046. },
  114047. $signature: 589
  114048. };
  114049. A.StylesheetParser_mozDocumentRule_closure0.prototype = {
  114050. call$2(children, span) {
  114051. var _this = this;
  114052. if (_this._box_0.needsDeprecationWarning)
  114053. A.WarnForDeprecation_warnForDeprecation0(_this.$this.logger, B.Deprecation_GbU, string$.x40_moz_, span, null);
  114054. return A.AtRule$0(_this.name, span, children, _this.value);
  114055. },
  114056. $signature: 286
  114057. };
  114058. A.StylesheetParser_supportsRule_closure0.prototype = {
  114059. call$2(children, span) {
  114060. return A.SupportsRule$0(this.condition, children, span);
  114061. },
  114062. $signature: 591
  114063. };
  114064. A.StylesheetParser__whileRule_closure0.prototype = {
  114065. call$2(children, span) {
  114066. this.$this._stylesheet0$_inControlDirective = this.wasInControlDirective;
  114067. return A.WhileRule$0(this.condition, children, span);
  114068. },
  114069. $signature: 592
  114070. };
  114071. A.StylesheetParser_unknownAtRule_closure0.prototype = {
  114072. call$2(children, span) {
  114073. return A.AtRule$0(this.name, span, children, this._box_0.value);
  114074. },
  114075. $signature: 286
  114076. };
  114077. A.StylesheetParser__expression_resetState0.prototype = {
  114078. call$0() {
  114079. var t2,
  114080. t1 = this._box_0;
  114081. t1.operands_ = t1.operators_ = t1.spaceExpressions_ = t1.commaExpressions_ = null;
  114082. t2 = this.$this;
  114083. t2.scanner.set$state(this.start);
  114084. t1.allowSlash = true;
  114085. t1.singleExpression_ = t2._stylesheet0$_singleExpression$0();
  114086. },
  114087. $signature: 0
  114088. };
  114089. A.StylesheetParser__expression_resolveOneOperation0.prototype = {
  114090. call$0() {
  114091. var t2, t3, t4, t5, t6, t7, _this = this,
  114092. t1 = _this._box_0,
  114093. operator = t1.operators_.pop(),
  114094. left = t1.operands_.pop(),
  114095. right = t1.singleExpression_;
  114096. if (right == null) {
  114097. t2 = _this.$this.scanner;
  114098. t3 = operator.operator.length;
  114099. t2.error$3$length$position(0, "Expected expression.", t3, t2._string_scanner$_position - t3);
  114100. }
  114101. if (t1.allowSlash) {
  114102. t2 = _this.$this;
  114103. t2 = !t2._stylesheet0$_inParentheses && operator === B.BinaryOperator_t8B0 && t2._stylesheet0$_isSlashOperand$1(left) && t2._stylesheet0$_isSlashOperand$1(right);
  114104. } else
  114105. t2 = false;
  114106. if (t2)
  114107. t1.singleExpression_ = new A.BinaryOperationExpression0(B.BinaryOperator_t8B0, left, right, true);
  114108. else {
  114109. t1.singleExpression_ = new A.BinaryOperationExpression0(operator, left, right, false);
  114110. t2 = t1.allowSlash = false;
  114111. if (B.BinaryOperator_anB0 === operator || B.BinaryOperator_olz0 === operator) {
  114112. t3 = _this.$this;
  114113. t4 = t3.scanner.string;
  114114. t5 = right.get$span(right);
  114115. t5 = t5.get$start(t5);
  114116. t6 = right.get$span(right);
  114117. t7 = operator.operator;
  114118. if (B.JSString_methods.substring$2(t4, t5.offset - 1, t6.get$start(t6).offset) === t7) {
  114119. t2 = left.get$span(left);
  114120. t2 = t4.charCodeAt(t2.get$end(t2).offset);
  114121. t2 = t2 === 32 || t2 === 9 || t2 === 10 || t2 === 13 || t2 === 12;
  114122. }
  114123. if (t2) {
  114124. t2 = left.toString$0(0);
  114125. t4 = right.toString$0(0);
  114126. t5 = left.toString$0(0);
  114127. t6 = right.toString$0(0);
  114128. t1 = t1.singleExpression_;
  114129. A.WarnForDeprecation_warnForDeprecation0(t3.logger, B.Deprecation_EsU, "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, t1.get$span(t1), null);
  114130. }
  114131. }
  114132. }
  114133. },
  114134. $signature: 0
  114135. };
  114136. A.StylesheetParser__expression_resolveOperations0.prototype = {
  114137. call$0() {
  114138. var t1,
  114139. operators = this._box_0.operators_;
  114140. if (operators == null)
  114141. return;
  114142. for (t1 = this.resolveOneOperation; operators.length !== 0;)
  114143. t1.call$0();
  114144. },
  114145. $signature: 0
  114146. };
  114147. A.StylesheetParser__expression_addSingleExpression0.prototype = {
  114148. call$1(expression) {
  114149. var t2, spaceExpressions, _this = this,
  114150. t1 = _this._box_0;
  114151. if (t1.singleExpression_ != null) {
  114152. t2 = _this.$this;
  114153. if (t2._stylesheet0$_inParentheses) {
  114154. t2._stylesheet0$_inParentheses = false;
  114155. if (t1.allowSlash) {
  114156. _this.resetState.call$0();
  114157. return;
  114158. }
  114159. }
  114160. spaceExpressions = t1.spaceExpressions_;
  114161. if (spaceExpressions == null)
  114162. spaceExpressions = t1.spaceExpressions_ = A._setArrayType([], type$.JSArray_Expression_2);
  114163. _this.resolveOperations.call$0();
  114164. t2 = t1.singleExpression_;
  114165. t2.toString;
  114166. spaceExpressions.push(t2);
  114167. t1.allowSlash = true;
  114168. }
  114169. t1.singleExpression_ = expression;
  114170. },
  114171. $signature: 593
  114172. };
  114173. A.StylesheetParser__expression_addOperator0.prototype = {
  114174. call$1(operator) {
  114175. var t2, t3, operators, operands, t4, singleExpression,
  114176. t1 = this.$this;
  114177. if (t1.get$plainCss() && operator !== B.BinaryOperator_2jN0 && operator !== B.BinaryOperator_anB0 && operator !== B.BinaryOperator_olz0 && operator !== B.BinaryOperator_qN20 && operator !== B.BinaryOperator_t8B0) {
  114178. t2 = t1.scanner;
  114179. t3 = operator.operator.length;
  114180. t2.error$3$length$position(0, "Operators aren't allowed in plain CSS.", t3, t2._string_scanner$_position - t3);
  114181. }
  114182. t2 = this._box_0;
  114183. t2.allowSlash = t2.allowSlash && operator === B.BinaryOperator_t8B0;
  114184. operators = t2.operators_;
  114185. if (operators == null)
  114186. operators = t2.operators_ = A._setArrayType([], type$.JSArray_BinaryOperator_2);
  114187. operands = t2.operands_;
  114188. if (operands == null)
  114189. operands = t2.operands_ = A._setArrayType([], type$.JSArray_Expression_2);
  114190. t3 = this.resolveOneOperation;
  114191. t4 = operator.precedence;
  114192. while (true) {
  114193. if (!(operators.length !== 0 && B.JSArray_methods.get$last(operators).precedence >= t4))
  114194. break;
  114195. t3.call$0();
  114196. }
  114197. operators.push(operator);
  114198. singleExpression = t2.singleExpression_;
  114199. if (singleExpression == null) {
  114200. t3 = t1.scanner;
  114201. t4 = operator.operator.length;
  114202. t3.error$3$length$position(0, "Expected expression.", t4, t3._string_scanner$_position - t4);
  114203. }
  114204. operands.push(singleExpression);
  114205. t1.whitespace$0();
  114206. t2.singleExpression_ = t1._stylesheet0$_singleExpression$0();
  114207. },
  114208. $signature: 594
  114209. };
  114210. A.StylesheetParser__expression_resolveSpaceExpressions0.prototype = {
  114211. call$0() {
  114212. var t1, spaceExpressions, singleExpression, t2;
  114213. this.resolveOperations.call$0();
  114214. t1 = this._box_0;
  114215. spaceExpressions = t1.spaceExpressions_;
  114216. if (spaceExpressions == null)
  114217. return;
  114218. singleExpression = t1.singleExpression_;
  114219. if (singleExpression == null)
  114220. this.$this.scanner.error$1(0, "Expected expression.");
  114221. spaceExpressions.push(singleExpression);
  114222. t2 = B.JSArray_methods.get$first(spaceExpressions);
  114223. t2 = t2.get$span(t2).expand$1(0, singleExpression.get$span(singleExpression));
  114224. t1.singleExpression_ = new A.ListExpression0(A.List_List$unmodifiable(spaceExpressions, type$.Expression_2), B.ListSeparator_EVt0, false, t2);
  114225. t1.spaceExpressions_ = null;
  114226. },
  114227. $signature: 0
  114228. };
  114229. A.StylesheetParser__expression_closure2.prototype = {
  114230. call$0() {
  114231. return 43 === this._3_0;
  114232. },
  114233. $signature: 1
  114234. };
  114235. A.StylesheetParser__expression_closure3.prototype = {
  114236. call$0() {
  114237. return 47 === this._3_0;
  114238. },
  114239. $signature: 1
  114240. };
  114241. A.StylesheetParser__expression_closure4.prototype = {
  114242. call$0() {
  114243. return 46 === this._3_0;
  114244. },
  114245. $signature: 1
  114246. };
  114247. A.StylesheetParser_expressionUntilComma_closure0.prototype = {
  114248. call$0() {
  114249. return this.$this.scanner.peekChar$0() === 44;
  114250. },
  114251. $signature: 1
  114252. };
  114253. A.StylesheetParser__isHexColor_closure1.prototype = {
  114254. call$0() {
  114255. var t1 = this._0_0;
  114256. return (t1 == null ? A._asString(t1) : t1).length;
  114257. },
  114258. $signature: 3
  114259. };
  114260. A.StylesheetParser__isHexColor_closure2.prototype = {
  114261. call$1(char) {
  114262. return A.CharacterExtension_get_isHex0(char);
  114263. },
  114264. $signature: 48
  114265. };
  114266. A.StylesheetParser__unicodeRange_closure1.prototype = {
  114267. call$1(char) {
  114268. return char != null && A.CharacterExtension_get_isHex0(char);
  114269. },
  114270. $signature: 34
  114271. };
  114272. A.StylesheetParser__unicodeRange_closure2.prototype = {
  114273. call$1(char) {
  114274. return char != null && A.CharacterExtension_get_isHex0(char);
  114275. },
  114276. $signature: 34
  114277. };
  114278. A.StylesheetParser_identifierLike_closure1.prototype = {
  114279. call$0() {
  114280. return 46 === this._2_0;
  114281. },
  114282. $signature: 1
  114283. };
  114284. A.StylesheetParser_identifierLike_closure2.prototype = {
  114285. call$0() {
  114286. return 40 === this._2_0;
  114287. },
  114288. $signature: 1
  114289. };
  114290. A.StylesheetParser_namespacedExpression_closure0.prototype = {
  114291. call$0() {
  114292. return this.$this.scanner.spanFrom$1(this.start);
  114293. },
  114294. $signature: 33
  114295. };
  114296. A.StylesheetParser_trySpecialFunction_closure0.prototype = {
  114297. call$1(contents) {
  114298. return new A.StringExpression0(contents, false);
  114299. },
  114300. $signature: 595
  114301. };
  114302. A.StylesheetParser__tryUrlContents_closure0.prototype = {
  114303. call$0() {
  114304. return 35 === this._0_0;
  114305. },
  114306. $signature: 1
  114307. };
  114308. A.StylesheetParser__interpolatedDeclarationValue_closure4.prototype = {
  114309. call$0() {
  114310. return 32 === this._1_0;
  114311. },
  114312. $signature: 1
  114313. };
  114314. A.StylesheetParser__interpolatedDeclarationValue_closure5.prototype = {
  114315. call$0() {
  114316. return 9 === this._1_0;
  114317. },
  114318. $signature: 1
  114319. };
  114320. A.StylesheetParser__interpolatedDeclarationValue_closure6.prototype = {
  114321. call$0() {
  114322. return 10 === this._1_0;
  114323. },
  114324. $signature: 1
  114325. };
  114326. A.StylesheetParser__interpolatedDeclarationValue_closure7.prototype = {
  114327. call$0() {
  114328. return 13 === this._1_0;
  114329. },
  114330. $signature: 1
  114331. };
  114332. A.StylesheetParser__interpolatedDeclarationValue_closure8.prototype = {
  114333. call$0() {
  114334. return 12 === this._1_0;
  114335. },
  114336. $signature: 1
  114337. };
  114338. A.StylesheetParser__expressionUntilComparison_closure0.prototype = {
  114339. call$0() {
  114340. var t1 = this.$this.scanner,
  114341. _0_0 = t1.peekChar$0();
  114342. $label0$0: {
  114343. if (61 === _0_0) {
  114344. t1 = t1.peekChar$1(1) !== 61;
  114345. break $label0$0;
  114346. }
  114347. if (60 === _0_0 || 62 === _0_0) {
  114348. t1 = true;
  114349. break $label0$0;
  114350. }
  114351. t1 = false;
  114352. break $label0$0;
  114353. }
  114354. return t1;
  114355. },
  114356. $signature: 1
  114357. };
  114358. A.StylesheetParser__supportsConditionInParens_closure0.prototype = {
  114359. call$0() {
  114360. return this._0_0[0];
  114361. },
  114362. $signature: 14
  114363. };
  114364. A.StylesheetParser__publicIdentifier_closure0.prototype = {
  114365. call$0() {
  114366. return this.$this.scanner.spanFrom$1(this.start);
  114367. },
  114368. $signature: 33
  114369. };
  114370. A.Stylesheet0.prototype = {
  114371. Stylesheet$internal$3$plainCss0(children, span, plainCss) {
  114372. var t1, t2, t3, t4, _i, child;
  114373. for (t1 = this.children, t2 = t1.length, t3 = this._stylesheet1$_forwards, t4 = this._stylesheet1$_uses, _i = 0; _i < t2; ++_i) {
  114374. child = t1[_i];
  114375. if (child instanceof A.UseRule0) {
  114376. t4.push(child);
  114377. continue;
  114378. }
  114379. if (child instanceof A.ForwardRule0) {
  114380. t3.push(child);
  114381. continue;
  114382. }
  114383. if (child instanceof A.SilentComment0 || child instanceof A.LoudComment0 || child instanceof A.VariableDeclaration0)
  114384. continue;
  114385. break;
  114386. }
  114387. },
  114388. accept$1$1(visitor) {
  114389. return visitor.visitStylesheet$1(this);
  114390. },
  114391. accept$1(visitor) {
  114392. return this.accept$1$1(visitor, type$.dynamic);
  114393. },
  114394. toString$0(_) {
  114395. var t1 = this.children;
  114396. return (t1 && B.JSArray_methods).join$1(t1, " ");
  114397. },
  114398. get$span(receiver) {
  114399. return this.span;
  114400. }
  114401. };
  114402. A.SupportsExpression0.prototype = {
  114403. get$span(_) {
  114404. var t1 = this.condition;
  114405. return t1.get$span(t1);
  114406. },
  114407. accept$1$1(visitor) {
  114408. return visitor.visitSupportsExpression$1(this);
  114409. },
  114410. accept$1(visitor) {
  114411. return this.accept$1$1(visitor, type$.dynamic);
  114412. },
  114413. toString$0(_) {
  114414. return this.condition.toString$0(0);
  114415. },
  114416. $isExpression0: 1,
  114417. $isAstNode0: 1
  114418. };
  114419. A.ModifiableCssSupportsRule0.prototype = {
  114420. accept$1$1(visitor) {
  114421. return visitor.visitCssSupportsRule$1(this);
  114422. },
  114423. accept$1(visitor) {
  114424. return this.accept$1$1(visitor, type$.dynamic);
  114425. },
  114426. equalsIgnoringChildren$1(other) {
  114427. var t1, t2;
  114428. if (other instanceof A.ModifiableCssSupportsRule0) {
  114429. t1 = this.condition;
  114430. t2 = other.condition;
  114431. t1 = t1.$ti._is(t2) && J.$eq$(t2.value, t1.value);
  114432. } else
  114433. t1 = false;
  114434. return t1;
  114435. },
  114436. copyWithoutChildren$0() {
  114437. return A.ModifiableCssSupportsRule$0(this.condition, this.span);
  114438. },
  114439. get$span(receiver) {
  114440. return this.span;
  114441. }
  114442. };
  114443. A.SupportsRule0.prototype = {
  114444. accept$1$1(visitor) {
  114445. return visitor.visitSupportsRule$1(this);
  114446. },
  114447. accept$1(visitor) {
  114448. return this.accept$1$1(visitor, type$.dynamic);
  114449. },
  114450. toString$0(_) {
  114451. var t1 = this.children;
  114452. return "@supports " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  114453. },
  114454. get$span(receiver) {
  114455. return this.span;
  114456. }
  114457. };
  114458. A.JSToDartImporter.prototype = {
  114459. canonicalize$1(_, url) {
  114460. var t1,
  114461. result = A.wrapJSExceptions(new A.JSToDartImporter_canonicalize_closure(this, url));
  114462. if (result == null)
  114463. return null;
  114464. t1 = self.URL;
  114465. if (result instanceof t1)
  114466. return A.Uri_parse(J.toString$0$(type$.JSUrl._as(result)));
  114467. t1 = self.Promise;
  114468. if (result instanceof t1)
  114469. A.jsThrow(new self.Error("The canonicalize() function can't return a Promise for synchronous compile functions."));
  114470. else
  114471. A.jsThrow(new self.Error(string$.The_ca));
  114472. },
  114473. load$1(_, url) {
  114474. var t1, contents, syntax, t2,
  114475. result = A.wrapJSExceptions(new A.JSToDartImporter_load_closure(this, url));
  114476. if (result == null)
  114477. return null;
  114478. t1 = self.Promise;
  114479. if (result instanceof t1)
  114480. A.jsThrow(new self.Error("The load() function can't return a Promise for synchronous compile functions."));
  114481. type$.JSImporterResult._as(result);
  114482. t1 = J.getInterceptor$x(result);
  114483. contents = t1.get$contents(result);
  114484. if (A._asString(new self.Function("value", "return typeof value").call$1(contents)) !== "string")
  114485. A.jsThrow(new A.ArgumentError(true, contents, "contents", "must be a string but was: " + A.jsType(contents)));
  114486. syntax = t1.get$syntax(result);
  114487. if (contents == null || syntax == null)
  114488. A.jsThrow(new self.Error(string$.The_lo));
  114489. t2 = A.parseSyntax(syntax);
  114490. return A.ImporterResult$(contents, A.NullableExtension_andThen0(t1.get$sourceMapUrl(result), A.utils1__jsToDartUrl$closure()), t2);
  114491. },
  114492. isNonCanonicalScheme$1(scheme) {
  114493. return this._sync$_nonCanonicalSchemes.contains$1(0, scheme);
  114494. }
  114495. };
  114496. A.JSToDartImporter_canonicalize_closure.prototype = {
  114497. call$0() {
  114498. return this.$this._sync$_canonicalize.call$2(this.url.toString$0(0), {fromImport: A.fromImport0(), containingUrl: A.NullableExtension_andThen0(A.containingUrl(), A.utils1__dartToJSUrl$closure())});
  114499. },
  114500. $signature: 29
  114501. };
  114502. A.JSToDartImporter_load_closure.prototype = {
  114503. call$0() {
  114504. return this.$this._sync$_load.call$1(new self.URL(this.url.toString$0(0)));
  114505. },
  114506. $signature: 29
  114507. };
  114508. A.Syntax0.prototype = {
  114509. _enumToString$0() {
  114510. return "Syntax." + this._name;
  114511. },
  114512. toString$0(_) {
  114513. return this._syntax0$_name;
  114514. }
  114515. };
  114516. A.TypeSelector0.prototype = {
  114517. get$specificity() {
  114518. return 1;
  114519. },
  114520. accept$1$1(visitor) {
  114521. return visitor.visitTypeSelector$1(this);
  114522. },
  114523. accept$1(visitor) {
  114524. return this.accept$1$1(visitor, type$.dynamic);
  114525. },
  114526. addSuffix$1(suffix) {
  114527. var t1 = this.name;
  114528. return new A.TypeSelector0(new A.QualifiedName0(t1.name + suffix, t1.namespace), this.span);
  114529. },
  114530. unify$1(compound) {
  114531. var unified, t1,
  114532. _0_0 = B.JSArray_methods.get$first(compound);
  114533. if (_0_0 instanceof A.UniversalSelector0 || _0_0 instanceof A.TypeSelector0) {
  114534. unified = A.unifyUniversalAndElement0(this, B.JSArray_methods.get$first(compound));
  114535. if (unified == null)
  114536. return null;
  114537. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  114538. B.JSArray_methods.addAll$1(t1, A.SubListIterable$(compound, 1, null, A._arrayInstanceType(compound)._precomputed1));
  114539. return t1;
  114540. } else {
  114541. t1 = A._setArrayType([this], type$.JSArray_SimpleSelector_2);
  114542. B.JSArray_methods.addAll$1(t1, compound);
  114543. return t1;
  114544. }
  114545. },
  114546. isSuperselector$1(other) {
  114547. var t1, t2;
  114548. if (!this.super$SimpleSelector$isSuperselector0(other))
  114549. if (other instanceof A.TypeSelector0) {
  114550. t1 = this.name;
  114551. t2 = other.name;
  114552. if (t1.name === t2.name) {
  114553. t1 = t1.namespace;
  114554. t1 = t1 === "*" || t1 == t2.namespace;
  114555. } else
  114556. t1 = false;
  114557. } else
  114558. t1 = false;
  114559. else
  114560. t1 = true;
  114561. return t1;
  114562. },
  114563. $eq(_, other) {
  114564. if (other == null)
  114565. return false;
  114566. return other instanceof A.TypeSelector0 && other.name.$eq(0, this.name);
  114567. },
  114568. get$hashCode(_) {
  114569. var t1 = this.name;
  114570. return B.JSString_methods.get$hashCode(t1.name) ^ J.get$hashCode$(t1.namespace);
  114571. }
  114572. };
  114573. A.Types.prototype = {};
  114574. A.UnaryOperationExpression0.prototype = {
  114575. accept$1$1(visitor) {
  114576. return visitor.visitUnaryOperationExpression$1(this);
  114577. },
  114578. accept$1(visitor) {
  114579. return this.accept$1$1(visitor, type$.dynamic);
  114580. },
  114581. toString$0(_) {
  114582. var operand,
  114583. t1 = this.operator,
  114584. t2 = t1.operator;
  114585. t1 = t1 === B.UnaryOperator_not_not_not0 ? t2 + A.Primitives_stringFromCharCode(32) : t2;
  114586. operand = this.operand;
  114587. $label0$0: {
  114588. if (!(operand instanceof A.BinaryOperationExpression0))
  114589. if (!(operand instanceof A.UnaryOperationExpression0))
  114590. t2 = operand instanceof A.ListExpression0 && !operand.hasBrackets && operand.contents.length >= 2;
  114591. else
  114592. t2 = true;
  114593. else
  114594. t2 = true;
  114595. if (t2) {
  114596. t2 = true;
  114597. break $label0$0;
  114598. }
  114599. t2 = false;
  114600. break $label0$0;
  114601. }
  114602. if (t2)
  114603. t1 += "40";
  114604. t1 += operand.toString$0(0);
  114605. if (t2)
  114606. t1 += "41";
  114607. return t1.charCodeAt(0) == 0 ? t1 : t1;
  114608. },
  114609. $isExpression0: 1,
  114610. $isAstNode0: 1,
  114611. get$span(receiver) {
  114612. return this.span;
  114613. }
  114614. };
  114615. A.UnaryOperator0.prototype = {
  114616. _enumToString$0() {
  114617. return "UnaryOperator." + this._name;
  114618. },
  114619. toString$0(_) {
  114620. return this.name;
  114621. }
  114622. };
  114623. A.UnitlessSassNumber0.prototype = {
  114624. get$numeratorUnits(_) {
  114625. return B.List_empty;
  114626. },
  114627. get$denominatorUnits(_) {
  114628. return B.List_empty;
  114629. },
  114630. get$hasUnits() {
  114631. return false;
  114632. },
  114633. get$hasComplexUnits() {
  114634. return false;
  114635. },
  114636. withValue$1(value) {
  114637. return new A.UnitlessSassNumber0(value, null);
  114638. },
  114639. withSlash$2(numerator, denominator) {
  114640. return new A.UnitlessSassNumber0(this._number1$_value, new A._Record_2(numerator, denominator));
  114641. },
  114642. hasUnit$1(unit) {
  114643. return false;
  114644. },
  114645. hasCompatibleUnits$1(other) {
  114646. return other instanceof A.UnitlessSassNumber0;
  114647. },
  114648. hasPossiblyCompatibleUnits$1(other) {
  114649. return other instanceof A.UnitlessSassNumber0;
  114650. },
  114651. compatibleWithUnit$1(unit) {
  114652. return true;
  114653. },
  114654. coerceToMatch$3(other, $name, otherName) {
  114655. return other.withValue$1(this._number1$_value);
  114656. },
  114657. coerceToMatch$1(other) {
  114658. return this.coerceToMatch$3(other, null, null);
  114659. },
  114660. coerceValueToMatch$3(other, $name, otherName) {
  114661. return this._number1$_value;
  114662. },
  114663. coerceValueToMatch$1(other) {
  114664. return this.coerceValueToMatch$3(other, null, null);
  114665. },
  114666. convertToMatch$3(other, $name, otherName) {
  114667. return other.get$hasUnits() ? this.super$SassNumber$convertToMatch(other, $name, otherName) : this;
  114668. },
  114669. convertValueToMatch$3(other, $name, otherName) {
  114670. return other.get$hasUnits() ? this.super$SassNumber$convertValueToMatch0(other, $name, otherName) : this._number1$_value;
  114671. },
  114672. convertValueToMatch$1(other) {
  114673. return this.convertValueToMatch$3(other, null, null);
  114674. },
  114675. coerce$3(newNumerators, newDenominators, $name) {
  114676. return A.SassNumber_SassNumber$withUnits0(this._number1$_value, newDenominators, newNumerators);
  114677. },
  114678. coerce$2(newNumerators, newDenominators) {
  114679. return this.coerce$3(newNumerators, newDenominators, null);
  114680. },
  114681. coerceValue$3(newNumerators, newDenominators, $name) {
  114682. return this._number1$_value;
  114683. },
  114684. coerceValueToUnit$2(unit, $name) {
  114685. return this._number1$_value;
  114686. },
  114687. coerceValueToUnit$1(unit) {
  114688. return this.coerceValueToUnit$2(unit, null);
  114689. },
  114690. greaterThan$1(other) {
  114691. var t1, t2;
  114692. if (other instanceof A.SassNumber0) {
  114693. t1 = this._number1$_value;
  114694. t2 = other._number1$_value;
  114695. return t1 > t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  114696. }
  114697. return this.super$SassNumber$greaterThan0(other);
  114698. },
  114699. greaterThanOrEquals$1(other) {
  114700. var t1, t2;
  114701. if (other instanceof A.SassNumber0) {
  114702. t1 = this._number1$_value;
  114703. t2 = other._number1$_value;
  114704. return t1 > t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  114705. }
  114706. return this.super$SassNumber$greaterThanOrEquals0(other);
  114707. },
  114708. lessThan$1(other) {
  114709. var t1, t2;
  114710. if (other instanceof A.SassNumber0) {
  114711. t1 = this._number1$_value;
  114712. t2 = other._number1$_value;
  114713. return t1 < t2 && !A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  114714. }
  114715. return this.super$SassNumber$lessThan0(other);
  114716. },
  114717. lessThanOrEquals$1(other) {
  114718. var t1, t2;
  114719. if (other instanceof A.SassNumber0) {
  114720. t1 = this._number1$_value;
  114721. t2 = other._number1$_value;
  114722. return t1 < t2 || A.fuzzyEquals0(t1, t2) ? B.SassBoolean_true0 : B.SassBoolean_false0;
  114723. }
  114724. return this.super$SassNumber$lessThanOrEquals0(other);
  114725. },
  114726. modulo$1(other) {
  114727. if (other instanceof A.SassNumber0)
  114728. return other.withValue$1(A.moduloLikeSass0(this._number1$_value, other._number1$_value));
  114729. return this.super$SassNumber$modulo0(other);
  114730. },
  114731. plus$1(other) {
  114732. if (other instanceof A.SassNumber0)
  114733. return other.withValue$1(this._number1$_value + other._number1$_value);
  114734. return this.super$SassNumber$plus0(other);
  114735. },
  114736. minus$1(other) {
  114737. if (other instanceof A.SassNumber0)
  114738. return other.withValue$1(this._number1$_value - other._number1$_value);
  114739. return this.super$SassNumber$minus0(other);
  114740. },
  114741. times$1(other) {
  114742. if (other instanceof A.SassNumber0)
  114743. return other.withValue$1(this._number1$_value * other._number1$_value);
  114744. return this.super$SassNumber$times0(other);
  114745. },
  114746. dividedBy$1(other) {
  114747. var t1, t2;
  114748. if (other instanceof A.SassNumber0) {
  114749. t1 = this._number1$_value / other._number1$_value;
  114750. if (other.get$hasUnits()) {
  114751. t2 = other.get$denominatorUnits(other);
  114752. t2 = A.SassNumber_SassNumber$withUnits0(t1, other.get$numeratorUnits(other), t2);
  114753. t1 = t2;
  114754. } else
  114755. t1 = new A.UnitlessSassNumber0(t1, null);
  114756. return t1;
  114757. }
  114758. return this.super$SassNumber$dividedBy0(other);
  114759. },
  114760. unaryMinus$0() {
  114761. return new A.UnitlessSassNumber0(-this._number1$_value, null);
  114762. },
  114763. $eq(_, other) {
  114764. if (other == null)
  114765. return false;
  114766. return other instanceof A.UnitlessSassNumber0 && A.fuzzyEquals0(this._number1$_value, other._number1$_value);
  114767. },
  114768. get$hashCode(_) {
  114769. var t1 = this.hashCache;
  114770. return t1 == null ? this.hashCache = A.fuzzyHashCode0(this._number1$_value) : t1;
  114771. }
  114772. };
  114773. A.UniversalSelector0.prototype = {
  114774. get$specificity() {
  114775. return 0;
  114776. },
  114777. accept$1$1(visitor) {
  114778. return visitor.visitUniversalSelector$1(this);
  114779. },
  114780. accept$1(visitor) {
  114781. return this.accept$1$1(visitor, type$.dynamic);
  114782. },
  114783. unify$1(compound) {
  114784. var rest, t1, unified, first, _this = this, _null = null,
  114785. _0_1 = A._InitializedCell$(new A.UniversalSelector_unify_closure1(compound)),
  114786. _0_4 = A._InitializedCell$(new A.UniversalSelector_unify_closure2(compound));
  114787. if (_0_1._readFinal$0() >= 1)
  114788. if (_0_4._readFinal$0() instanceof A.UniversalSelector0 || _0_4._readFinal$0() instanceof A.TypeSelector0) {
  114789. rest = B.JSArray_methods.sublist$1(compound, 1);
  114790. t1 = true;
  114791. } else {
  114792. rest = _null;
  114793. t1 = false;
  114794. }
  114795. else {
  114796. rest = _null;
  114797. t1 = false;
  114798. }
  114799. if (t1) {
  114800. unified = A.unifyUniversalAndElement0(_this, B.JSArray_methods.get$first(compound));
  114801. if (unified == null)
  114802. return _null;
  114803. t1 = A._setArrayType([unified], type$.JSArray_SimpleSelector_2);
  114804. B.JSArray_methods.addAll$1(t1, rest);
  114805. return t1;
  114806. }
  114807. if (J.$eq$(_0_1._readFinal$0(), 1))
  114808. if (_0_4._readFinal$0() instanceof A.PseudoSelector0) {
  114809. first = _0_4._readFinal$0();
  114810. t1 = first.isClass && first.name === "host" || first.get$isHostContext();
  114811. } else
  114812. t1 = false;
  114813. else
  114814. t1 = false;
  114815. if (t1)
  114816. return _null;
  114817. if (_0_1._readFinal$0() <= 0)
  114818. return A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  114819. t1 = _this.namespace;
  114820. if (t1 == null || t1 === "*")
  114821. t1 = compound;
  114822. else {
  114823. t1 = A._setArrayType([_this], type$.JSArray_SimpleSelector_2);
  114824. B.JSArray_methods.addAll$1(t1, compound);
  114825. }
  114826. return t1;
  114827. },
  114828. isSuperselector$1(other) {
  114829. var t1 = this.namespace;
  114830. if (t1 === "*")
  114831. return true;
  114832. if (other instanceof A.TypeSelector0)
  114833. return t1 == other.name.namespace;
  114834. if (other instanceof A.UniversalSelector0)
  114835. return t1 == other.namespace;
  114836. return t1 == null || this.super$SimpleSelector$isSuperselector0(other);
  114837. },
  114838. $eq(_, other) {
  114839. if (other == null)
  114840. return false;
  114841. return other instanceof A.UniversalSelector0 && other.namespace == this.namespace;
  114842. },
  114843. get$hashCode(_) {
  114844. return J.get$hashCode$(this.namespace);
  114845. }
  114846. };
  114847. A.UniversalSelector_unify_closure1.prototype = {
  114848. call$0() {
  114849. return this._0_0.length;
  114850. },
  114851. $signature: 3
  114852. };
  114853. A.UniversalSelector_unify_closure2.prototype = {
  114854. call$0() {
  114855. return this._0_0[0];
  114856. },
  114857. $signature: 279
  114858. };
  114859. A.UnprefixedMapView0.prototype = {
  114860. get$keys(_) {
  114861. return new A._UnprefixedKeys0(this);
  114862. },
  114863. $index(_, key) {
  114864. return typeof key == "string" ? this._unprefixed_map_view0$_map.$index(0, this._unprefixed_map_view0$_prefix + key) : null;
  114865. },
  114866. containsKey$1(key) {
  114867. return typeof key == "string" && this._unprefixed_map_view0$_map.containsKey$1(this._unprefixed_map_view0$_prefix + key);
  114868. },
  114869. remove$1(_, key) {
  114870. return typeof key == "string" ? this._unprefixed_map_view0$_map.remove$1(0, this._unprefixed_map_view0$_prefix + key) : null;
  114871. }
  114872. };
  114873. A._UnprefixedKeys0.prototype = {
  114874. get$iterator(_) {
  114875. var t1 = this._unprefixed_map_view0$_view._unprefixed_map_view0$_map;
  114876. 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);
  114877. return t1.get$iterator(t1);
  114878. },
  114879. contains$1(_, key) {
  114880. return this._unprefixed_map_view0$_view.containsKey$1(key);
  114881. }
  114882. };
  114883. A._UnprefixedKeys_iterator_closure1.prototype = {
  114884. call$1(key) {
  114885. return B.JSString_methods.startsWith$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix);
  114886. },
  114887. $signature: 10
  114888. };
  114889. A._UnprefixedKeys_iterator_closure2.prototype = {
  114890. call$1(key) {
  114891. return B.JSString_methods.substring$1(key, this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix.length);
  114892. },
  114893. $signature: 7
  114894. };
  114895. A.JSUrl0.prototype = {};
  114896. A.UseRule0.prototype = {
  114897. UseRule$4$configuration0(url, namespace, span, configuration) {
  114898. var t1, t2, _i, variable;
  114899. for (t1 = this.configuration, t2 = t1.length, _i = 0; _i < t2; ++_i) {
  114900. variable = t1[_i];
  114901. if (variable.isGuarded)
  114902. throw A.wrapException(A.ArgumentError$value(variable, "configured variable", "can't be guarded in a @use rule."));
  114903. }
  114904. },
  114905. accept$1$1(visitor) {
  114906. return visitor.visitUseRule$1(this);
  114907. },
  114908. accept$1(visitor) {
  114909. return this.accept$1$1(visitor, type$.dynamic);
  114910. },
  114911. toString$0(_) {
  114912. var t1 = this.url,
  114913. t2 = "@use " + A.StringExpression_quoteText0(t1.toString$0(0)),
  114914. basename = t1.get$pathSegments().length === 0 ? "" : B.JSArray_methods.get$last(t1.get$pathSegments()),
  114915. dot = B.JSString_methods.indexOf$1(basename, ".");
  114916. t1 = this.namespace;
  114917. if (t1 !== B.JSString_methods.substring$2(basename, 0, dot === -1 ? basename.length : dot))
  114918. t1 = t2 + (" as " + (t1 == null ? "*" : t1));
  114919. else
  114920. t1 = t2;
  114921. t2 = this.configuration;
  114922. t1 = (t2.length !== 0 ? t1 + (" with (" + B.JSArray_methods.join$1(t2, ", ") + ")") : t1) + ";";
  114923. return t1.charCodeAt(0) == 0 ? t1 : t1;
  114924. },
  114925. $isAstNode0: 1,
  114926. $isStatement0: 1,
  114927. get$span(receiver) {
  114928. return this.span;
  114929. }
  114930. };
  114931. A.UserDefinedCallable0.prototype = {
  114932. get$name(_) {
  114933. return this.declaration.name;
  114934. },
  114935. $isAsyncCallable0: 1,
  114936. $isCallable: 1
  114937. };
  114938. A.resolveImportPath_closure1.prototype = {
  114939. call$0() {
  114940. return A._exactlyOne0(A._tryPath0($.$get$context().withoutExtension$1(this.path) + ".import" + this.extension));
  114941. },
  114942. $signature: 30
  114943. };
  114944. A.resolveImportPath_closure2.prototype = {
  114945. call$0() {
  114946. return A._exactlyOne0(A._tryPathWithExtensions0(this.path + ".import"));
  114947. },
  114948. $signature: 30
  114949. };
  114950. A._tryPathAsDirectory_closure0.prototype = {
  114951. call$0() {
  114952. return A._exactlyOne0(A._tryPathWithExtensions0(A.join(this.path, "index.import", null)));
  114953. },
  114954. $signature: 30
  114955. };
  114956. A._exactlyOne_closure1.prototype = {
  114957. call$0() {
  114958. return this._0_0.length;
  114959. },
  114960. $signature: 3
  114961. };
  114962. A._exactlyOne_closure2.prototype = {
  114963. call$1(path) {
  114964. var t1 = $.$get$context();
  114965. return " " + t1.prettyUri$1(t1.toUri$1(path));
  114966. },
  114967. $signature: 7
  114968. };
  114969. A._PropertyDescriptor0.prototype = {};
  114970. A.futureToPromise_closure0.prototype = {
  114971. call$2(resolve, reject) {
  114972. this.future.then$1$2$onError(0, new A.futureToPromise__closure0(resolve), new A.futureToPromise__closure1(reject), type$.void);
  114973. },
  114974. $signature: 596
  114975. };
  114976. A.futureToPromise__closure0.prototype = {
  114977. call$1(result) {
  114978. return this.resolve.call$1(result);
  114979. },
  114980. $signature: 37
  114981. };
  114982. A.futureToPromise__closure1.prototype = {
  114983. call$2(error, stackTrace) {
  114984. A.attachTrace0(error, stackTrace);
  114985. this.reject.call$1(error);
  114986. },
  114987. $signature: 61
  114988. };
  114989. A.objectToMap_closure.prototype = {
  114990. call$2(key, value) {
  114991. this.map.$indexSet(0, key, value);
  114992. return value;
  114993. },
  114994. $signature: 145
  114995. };
  114996. A.indent_closure0.prototype = {
  114997. call$1(line) {
  114998. return B.JSString_methods.$mul(" ", this.indentation) + line;
  114999. },
  115000. $signature: 7
  115001. };
  115002. A.flattenVertically_closure1.prototype = {
  115003. call$1(inner) {
  115004. return A.QueueList_QueueList$from(inner, this.T);
  115005. },
  115006. $signature() {
  115007. return this.T._eval$1("QueueList<0>(Iterable<0>)");
  115008. }
  115009. };
  115010. A.flattenVertically_closure2.prototype = {
  115011. call$1(queue) {
  115012. this.result.push(queue.removeFirst$0());
  115013. return queue.get$length(queue) === 0;
  115014. },
  115015. $signature() {
  115016. return this.T._eval$1("bool(QueueList<0>)");
  115017. }
  115018. };
  115019. A.longestCommonSubsequence_backtrack0.prototype = {
  115020. call$2(i, j) {
  115021. var selection, t1, _this = this;
  115022. if (i === -1 || j === -1)
  115023. return A._setArrayType([], _this.T._eval$1("JSArray<0>"));
  115024. selection = _this.selections[i][j];
  115025. if (selection != null) {
  115026. t1 = _this.call$2(i - 1, j - 1);
  115027. J.add$1$ax(t1, selection);
  115028. return t1;
  115029. }
  115030. t1 = _this.lengths;
  115031. return t1[i + 1][j] > t1[i][j + 1] ? _this.call$2(i, j - 1) : _this.call$2(i - 1, j);
  115032. },
  115033. $signature() {
  115034. return this.T._eval$1("List<0>(int,int)");
  115035. }
  115036. };
  115037. A.mapAddAll2_closure0.prototype = {
  115038. call$2(key, inner) {
  115039. var innerDestination, t2,
  115040. t1 = this.destination,
  115041. _0_0 = t1.$index(0, key);
  115042. if (_0_0 != null) {
  115043. innerDestination = _0_0;
  115044. t2 = true;
  115045. } else {
  115046. innerDestination = null;
  115047. t2 = false;
  115048. }
  115049. if (t2)
  115050. innerDestination.addAll$1(0, inner);
  115051. else
  115052. t1.$indexSet(0, key, inner);
  115053. },
  115054. $signature() {
  115055. return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)");
  115056. }
  115057. };
  115058. A.CssValue0.prototype = {
  115059. $eq(_, other) {
  115060. if (other == null)
  115061. return false;
  115062. return this.$ti._is(other) && J.$eq$(other.value, this.value);
  115063. },
  115064. get$hashCode(_) {
  115065. return J.get$hashCode$(this.value);
  115066. },
  115067. toString$0(_) {
  115068. return J.toString$0$(this.value);
  115069. },
  115070. $isAstNode0: 1,
  115071. get$span(receiver) {
  115072. return this.span;
  115073. }
  115074. };
  115075. A.ValueExpression0.prototype = {
  115076. accept$1$1(visitor) {
  115077. return visitor.visitValueExpression$1(this);
  115078. },
  115079. accept$1(visitor) {
  115080. return this.accept$1$1(visitor, type$.dynamic);
  115081. },
  115082. toString$0(_) {
  115083. return A.serializeValue0(this.value, true, true);
  115084. },
  115085. $isExpression0: 1,
  115086. $isAstNode0: 1,
  115087. get$span(receiver) {
  115088. return this.span;
  115089. }
  115090. };
  115091. A.valueClass_closure.prototype = {
  115092. call$0() {
  115093. var t2,
  115094. t1 = type$.JSClass,
  115095. jsClass = t1._as(self.Object.getPrototypeOf(J.get$$prototype$x(t1._as(B.C__SassNull0.constructor))).constructor);
  115096. A.JSClassExtension_setCustomInspect(jsClass, new A.valueClass__closure());
  115097. t1 = type$.String;
  115098. t2 = type$.Function;
  115099. 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));
  115100. A.LinkedHashMap_LinkedHashMap$_literal(["sassIndexToListIndex", new A.valueClass__closure5(), "get", new A.valueClass__closure6(), "assertBoolean", new A.valueClass__closure7(), "assertCalculation", new A.valueClass__closure8(), "assertColor", new A.valueClass__closure9(), "assertFunction", new A.valueClass__closure10(), "assertMap", new A.valueClass__closure11(), "assertMixin", new A.valueClass__closure12(), "assertNumber", new A.valueClass__closure13(), "assertString", new A.valueClass__closure14(), "tryMap", new A.valueClass__closure15(), "equals", new A.valueClass__closure16(), "hashCode", new A.valueClass__closure17(), "toString", new A.valueClass__closure18()], t1, t2).forEach$1(0, A.JSClassExtension_get_defineMethod(jsClass));
  115101. return jsClass;
  115102. },
  115103. $signature: 24
  115104. };
  115105. A.valueClass__closure.prototype = {
  115106. call$1($self) {
  115107. return J.toString$0$($self);
  115108. },
  115109. $signature: 129
  115110. };
  115111. A.valueClass__closure0.prototype = {
  115112. call$1($self) {
  115113. return new self.immutable.List($self.get$asList());
  115114. },
  115115. $signature: 597
  115116. };
  115117. A.valueClass__closure1.prototype = {
  115118. call$1($self) {
  115119. return $self.get$hasBrackets();
  115120. },
  115121. $signature: 50
  115122. };
  115123. A.valueClass__closure2.prototype = {
  115124. call$1($self) {
  115125. return $self.get$isTruthy();
  115126. },
  115127. $signature: 50
  115128. };
  115129. A.valueClass__closure3.prototype = {
  115130. call$1($self) {
  115131. return $self.get$realNull();
  115132. },
  115133. $signature: 241
  115134. };
  115135. A.valueClass__closure4.prototype = {
  115136. call$1($self) {
  115137. return $self.get$separator($self).separator;
  115138. },
  115139. $signature: 598
  115140. };
  115141. A.valueClass__closure5.prototype = {
  115142. call$3($self, sassIndex, $name) {
  115143. return $self.sassIndexToListIndex$2(sassIndex, $name);
  115144. },
  115145. call$2($self, sassIndex) {
  115146. return this.call$3($self, sassIndex, null);
  115147. },
  115148. "call*": "call$3",
  115149. $requiredArgCount: 2,
  115150. $defaultValues() {
  115151. return [null];
  115152. },
  115153. $signature: 599
  115154. };
  115155. A.valueClass__closure6.prototype = {
  115156. call$2($self, index) {
  115157. return index < 1 && index >= -1 ? $self : self.undefined;
  115158. },
  115159. $signature: 262
  115160. };
  115161. A.valueClass__closure7.prototype = {
  115162. call$2($self, $name) {
  115163. return $self.assertBoolean$1($name);
  115164. },
  115165. call$1($self) {
  115166. return this.call$2($self, null);
  115167. },
  115168. "call*": "call$2",
  115169. $requiredArgCount: 1,
  115170. $defaultValues() {
  115171. return [null];
  115172. },
  115173. $signature: 600
  115174. };
  115175. A.valueClass__closure8.prototype = {
  115176. call$2($self, $name) {
  115177. return $self.assertCalculation$1($name);
  115178. },
  115179. call$1($self) {
  115180. return this.call$2($self, null);
  115181. },
  115182. "call*": "call$2",
  115183. $requiredArgCount: 1,
  115184. $defaultValues() {
  115185. return [null];
  115186. },
  115187. $signature: 601
  115188. };
  115189. A.valueClass__closure9.prototype = {
  115190. call$2($self, $name) {
  115191. return $self.assertColor$1($name);
  115192. },
  115193. call$1($self) {
  115194. return this.call$2($self, null);
  115195. },
  115196. "call*": "call$2",
  115197. $requiredArgCount: 1,
  115198. $defaultValues() {
  115199. return [null];
  115200. },
  115201. $signature: 602
  115202. };
  115203. A.valueClass__closure10.prototype = {
  115204. call$2($self, $name) {
  115205. return $self.assertFunction$1($name);
  115206. },
  115207. call$1($self) {
  115208. return this.call$2($self, null);
  115209. },
  115210. "call*": "call$2",
  115211. $requiredArgCount: 1,
  115212. $defaultValues() {
  115213. return [null];
  115214. },
  115215. $signature: 603
  115216. };
  115217. A.valueClass__closure11.prototype = {
  115218. call$2($self, $name) {
  115219. return $self.assertMap$1($name);
  115220. },
  115221. call$1($self) {
  115222. return this.call$2($self, null);
  115223. },
  115224. "call*": "call$2",
  115225. $requiredArgCount: 1,
  115226. $defaultValues() {
  115227. return [null];
  115228. },
  115229. $signature: 604
  115230. };
  115231. A.valueClass__closure12.prototype = {
  115232. call$2($self, $name) {
  115233. return $self.assertMixin$1($name);
  115234. },
  115235. call$1($self) {
  115236. return this.call$2($self, null);
  115237. },
  115238. "call*": "call$2",
  115239. $requiredArgCount: 1,
  115240. $defaultValues() {
  115241. return [null];
  115242. },
  115243. $signature: 605
  115244. };
  115245. A.valueClass__closure13.prototype = {
  115246. call$2($self, $name) {
  115247. return $self.assertNumber$1($name);
  115248. },
  115249. call$1($self) {
  115250. return this.call$2($self, null);
  115251. },
  115252. "call*": "call$2",
  115253. $requiredArgCount: 1,
  115254. $defaultValues() {
  115255. return [null];
  115256. },
  115257. $signature: 606
  115258. };
  115259. A.valueClass__closure14.prototype = {
  115260. call$2($self, $name) {
  115261. return $self.assertString$1($name);
  115262. },
  115263. call$1($self) {
  115264. return this.call$2($self, null);
  115265. },
  115266. "call*": "call$2",
  115267. $requiredArgCount: 1,
  115268. $defaultValues() {
  115269. return [null];
  115270. },
  115271. $signature: 607
  115272. };
  115273. A.valueClass__closure15.prototype = {
  115274. call$1($self) {
  115275. return $self.tryMap$0();
  115276. },
  115277. $signature: 608
  115278. };
  115279. A.valueClass__closure16.prototype = {
  115280. call$2($self, other) {
  115281. return $self.$eq(0, other);
  115282. },
  115283. $signature: 609
  115284. };
  115285. A.valueClass__closure17.prototype = {
  115286. call$2($self, _) {
  115287. return $self.get$hashCode($self);
  115288. },
  115289. call$1($self) {
  115290. return this.call$2($self, null);
  115291. },
  115292. "call*": "call$2",
  115293. $requiredArgCount: 1,
  115294. $defaultValues() {
  115295. return [null];
  115296. },
  115297. $signature: 610
  115298. };
  115299. A.valueClass__closure18.prototype = {
  115300. call$1($self) {
  115301. return A.serializeValue0($self, true, true);
  115302. },
  115303. $signature: 226
  115304. };
  115305. A.Value0.prototype = {
  115306. get$isTruthy() {
  115307. return true;
  115308. },
  115309. get$separator(_) {
  115310. return B.ListSeparator_undecided_null_undecided0;
  115311. },
  115312. get$hasBrackets() {
  115313. return false;
  115314. },
  115315. get$asList() {
  115316. return A._setArrayType([this], type$.JSArray_Value_2);
  115317. },
  115318. get$lengthAsList() {
  115319. return 1;
  115320. },
  115321. get$isBlank() {
  115322. return false;
  115323. },
  115324. get$isSpecialNumber() {
  115325. return false;
  115326. },
  115327. get$isVar() {
  115328. return false;
  115329. },
  115330. get$realNull() {
  115331. return this;
  115332. },
  115333. sassIndexToListIndex$2(sassIndex, $name) {
  115334. var t1, t2, index,
  115335. indexValue = sassIndex.assertNumber$1($name);
  115336. if (indexValue.get$hasUnits()) {
  115337. t1 = indexValue.get$unitString();
  115338. t2 = indexValue.unitSuggestion$1($name == null ? "index" : $name);
  115339. A.EvaluationContext_current0().warn$2(0, "$" + A.S($name) + ": Passing a number with unit " + t1 + string$.x20is_de + t2 + string$.x0a_Morex3a, B.Deprecation_0bn);
  115340. }
  115341. index = indexValue.assertInt$1($name);
  115342. if (index === 0)
  115343. throw A.wrapException(A.SassScriptException$0("List index may not be 0.", $name));
  115344. if (Math.abs(index) > this.get$lengthAsList())
  115345. throw A.wrapException(A.SassScriptException$0("Invalid index " + sassIndex.toString$0(0) + " for a list with " + this.get$lengthAsList() + " elements.", $name));
  115346. return index < 0 ? this.get$lengthAsList() + index : index - 1;
  115347. },
  115348. assertBoolean$1($name) {
  115349. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a boolean.", $name));
  115350. },
  115351. assertCalculation$1($name) {
  115352. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a calculation.", $name));
  115353. },
  115354. assertColor$1($name) {
  115355. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a color.", $name));
  115356. },
  115357. assertFunction$1($name) {
  115358. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a function reference.", $name));
  115359. },
  115360. assertMixin$1($name) {
  115361. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a mixin reference.", $name));
  115362. },
  115363. assertMap$1($name) {
  115364. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a map.", $name));
  115365. },
  115366. tryMap$0() {
  115367. return null;
  115368. },
  115369. assertNumber$1($name) {
  115370. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a number.", $name));
  115371. },
  115372. assertNumber$0() {
  115373. return this.assertNumber$1(null);
  115374. },
  115375. assertString$1($name) {
  115376. return A.throwExpression(A.SassScriptException$0(this.toString$0(0) + " is not a string.", $name));
  115377. },
  115378. _value$_selectorString$1($name) {
  115379. var string, t1,
  115380. _0_0 = this._value$_selectorStringOrNull$0();
  115381. if (_0_0 != null) {
  115382. string = _0_0;
  115383. t1 = true;
  115384. } else {
  115385. string = null;
  115386. t1 = false;
  115387. }
  115388. if (t1)
  115389. return string;
  115390. throw A.wrapException(A.SassScriptException$0(this.toString$0(0) + string$.x20is_noa, $name));
  115391. },
  115392. _value$_selectorStringOrNull$0() {
  115393. var t1, t2, result, _1_0, _i, complex, string, compound, _this = this, _null = null;
  115394. if (_this instanceof A.SassString0)
  115395. return _this._string0$_text;
  115396. if (!(_this instanceof A.SassList0))
  115397. return _null;
  115398. t1 = _this._list1$_contents;
  115399. t2 = t1.length;
  115400. if (t2 === 0)
  115401. return _null;
  115402. result = A._setArrayType([], type$.JSArray_String);
  115403. $label0$1: {
  115404. _1_0 = _this._list1$_separator;
  115405. if (B.ListSeparator_rXA0 === _1_0) {
  115406. for (_i = 0; _i < t2; ++_i) {
  115407. complex = t1[_i];
  115408. if (complex instanceof A.SassString0) {
  115409. result.push(complex._string0$_text);
  115410. continue;
  115411. }
  115412. if (complex instanceof A.SassList0 && B.ListSeparator_EVt0 === complex._list1$_separator) {
  115413. string = complex._value$_selectorStringOrNull$0();
  115414. if (string == null)
  115415. return _null;
  115416. result.push(string);
  115417. continue;
  115418. }
  115419. return _null;
  115420. }
  115421. break $label0$1;
  115422. }
  115423. if (B.ListSeparator_zg90 === _1_0)
  115424. return _null;
  115425. for (_i = 0; _i < t2; ++_i) {
  115426. compound = t1[_i];
  115427. if (!(compound instanceof A.SassString0))
  115428. return _null;
  115429. result.push(compound._string0$_text);
  115430. }
  115431. }
  115432. return B.JSArray_methods.join$1(result, _1_0 === B.ListSeparator_rXA0 ? ", " : " ");
  115433. },
  115434. withListContents$2$separator(contents, separator) {
  115435. var t1 = separator == null ? this.get$separator(this) : separator,
  115436. t2 = this.get$hasBrackets();
  115437. return A.SassList$0(contents, t1, t2);
  115438. },
  115439. withListContents$1(contents) {
  115440. return this.withListContents$2$separator(contents, null);
  115441. },
  115442. greaterThan$1(other) {
  115443. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " > " + other.toString$0(0) + '".', null));
  115444. },
  115445. greaterThanOrEquals$1(other) {
  115446. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " >= " + other.toString$0(0) + '".', null));
  115447. },
  115448. lessThan$1(other) {
  115449. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " < " + other.toString$0(0) + '".', null));
  115450. },
  115451. lessThanOrEquals$1(other) {
  115452. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " <= " + other.toString$0(0) + '".', null));
  115453. },
  115454. times$1(other) {
  115455. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " * " + other.toString$0(0) + '".', null));
  115456. },
  115457. modulo$1(other) {
  115458. return A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " % " + other.toString$0(0) + '".', null));
  115459. },
  115460. plus$1(other) {
  115461. var t1;
  115462. $label0$0: {
  115463. if (other instanceof A.SassString0) {
  115464. t1 = new A.SassString0(A.serializeValue0(this, false, true) + other._string0$_text, other._string0$_hasQuotes);
  115465. break $label0$0;
  115466. }
  115467. if (other instanceof A.SassCalculation0)
  115468. A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " + " + other.toString$0(0) + '".', null));
  115469. t1 = new A.SassString0(A.serializeValue0(this, false, true) + A.serializeValue0(other, false, true), false);
  115470. break $label0$0;
  115471. }
  115472. return t1;
  115473. },
  115474. minus$1(other) {
  115475. return other instanceof A.SassCalculation0 ? A.throwExpression(A.SassScriptException$0('Undefined operation "' + this.toString$0(0) + " - " + other.toString$0(0) + '".', null)) : new A.SassString0(A.serializeValue0(this, false, true) + "-" + A.serializeValue0(other, false, true), false);
  115476. },
  115477. dividedBy$1(other) {
  115478. return new A.SassString0(A.serializeValue0(this, false, true) + "/" + A.serializeValue0(other, false, true), false);
  115479. },
  115480. unaryPlus$0() {
  115481. return new A.SassString0("+" + A.serializeValue0(this, false, true), false);
  115482. },
  115483. unaryMinus$0() {
  115484. return new A.SassString0("-" + A.serializeValue0(this, false, true), false);
  115485. },
  115486. unaryNot$0() {
  115487. return B.SassBoolean_false0;
  115488. },
  115489. withoutSlash$0() {
  115490. return this;
  115491. },
  115492. toString$0(_) {
  115493. return A.serializeValue0(this, true, true);
  115494. }
  115495. };
  115496. A.VariableExpression0.prototype = {
  115497. accept$1$1(visitor) {
  115498. return visitor.visitVariableExpression$1(this);
  115499. },
  115500. accept$1(visitor) {
  115501. return this.accept$1$1(visitor, type$.dynamic);
  115502. },
  115503. toString$0(_) {
  115504. var t1 = this.namespace,
  115505. t2 = this.name;
  115506. return t1 == null ? "$" + t2 : t1 + ".$" + t2;
  115507. },
  115508. $isExpression0: 1,
  115509. $isAstNode0: 1,
  115510. get$span(receiver) {
  115511. return this.span;
  115512. }
  115513. };
  115514. A.VariableDeclaration0.prototype = {
  115515. accept$1$1(visitor) {
  115516. return visitor.visitVariableDeclaration$1(this);
  115517. },
  115518. accept$1(visitor) {
  115519. return this.accept$1$1(visitor, type$.dynamic);
  115520. },
  115521. toString$0(_) {
  115522. var t1 = this.namespace;
  115523. t1 = t1 != null ? "" + (t1 + ".") : "";
  115524. t1 += "$" + this.name + ": " + this.expression.toString$0(0) + ";";
  115525. return t1.charCodeAt(0) == 0 ? t1 : t1;
  115526. },
  115527. $isAstNode0: 1,
  115528. $isStatement0: 1,
  115529. get$span(receiver) {
  115530. return this.span;
  115531. }
  115532. };
  115533. A.WarnRule0.prototype = {
  115534. accept$1$1(visitor) {
  115535. return visitor.visitWarnRule$1(this);
  115536. },
  115537. accept$1(visitor) {
  115538. return this.accept$1$1(visitor, type$.dynamic);
  115539. },
  115540. toString$0(_) {
  115541. return "@warn " + this.expression.toString$0(0) + ";";
  115542. },
  115543. $isAstNode0: 1,
  115544. $isStatement0: 1,
  115545. get$span(receiver) {
  115546. return this.span;
  115547. }
  115548. };
  115549. A.WhileRule0.prototype = {
  115550. accept$1$1(visitor) {
  115551. return visitor.visitWhileRule$1(this);
  115552. },
  115553. accept$1(visitor) {
  115554. return this.accept$1$1(visitor, type$.dynamic);
  115555. },
  115556. toString$0(_) {
  115557. var t1 = this.children;
  115558. return "@while " + this.condition.toString$0(0) + " {" + (t1 && B.JSArray_methods).join$1(t1, " ") + "}";
  115559. },
  115560. get$span(receiver) {
  115561. return this.span;
  115562. }
  115563. };
  115564. (function aliases() {
  115565. var _ = J.LegacyJavaScriptObject.prototype;
  115566. _.super$LegacyJavaScriptObject$toString = _.toString$0;
  115567. _ = A.JsLinkedHashMap.prototype;
  115568. _.super$JsLinkedHashMap$internalContainsKey = _.internalContainsKey$1;
  115569. _.super$JsLinkedHashMap$internalGet = _.internalGet$1;
  115570. _.super$JsLinkedHashMap$internalSet = _.internalSet$2;
  115571. _.super$JsLinkedHashMap$internalRemove = _.internalRemove$1;
  115572. _ = A._BufferingStreamSubscription.prototype;
  115573. _.super$_BufferingStreamSubscription$_add = _._async$_add$1;
  115574. _.super$_BufferingStreamSubscription$_addError = _._addError$2;
  115575. _ = A.ListBase.prototype;
  115576. _.super$ListBase$setRange = _.setRange$4;
  115577. _ = A.Iterable.prototype;
  115578. _.super$Iterable$where = _.where$1;
  115579. _.super$Iterable$skipWhile = _.skipWhile$1;
  115580. _ = A.ModifiableCssParentNode.prototype;
  115581. _.super$ModifiableCssParentNode$addChild = _.addChild$1;
  115582. _ = A.SimpleSelector.prototype;
  115583. _.super$SimpleSelector$addSuffix = _.addSuffix$1;
  115584. _.super$SimpleSelector$unify = _.unify$1;
  115585. _.super$SimpleSelector$isSuperselector = _.isSuperselector$1;
  115586. _ = A.Parser.prototype;
  115587. _.super$Parser$silentComment = _.silentComment$0;
  115588. _ = A.StylesheetParser.prototype;
  115589. _.super$StylesheetParser$importArgument = _.importArgument$0;
  115590. _.super$StylesheetParser$namespacedExpression = _.namespacedExpression$2;
  115591. _ = A.Value.prototype;
  115592. _.super$Value$assertMap = _.assertMap$1;
  115593. _.super$Value$plus = _.plus$1;
  115594. _.super$Value$minus = _.minus$1;
  115595. _.super$Value$dividedBy = _.dividedBy$1;
  115596. _ = A.SassNumber.prototype;
  115597. _.super$SassNumber$convertValueToMatch = _.convertValueToMatch$3;
  115598. _.super$SassNumber$coerce = _.coerce$3;
  115599. _.super$SassNumber$coerceValue = _.coerceValue$3;
  115600. _.super$SassNumber$coerceValueToUnit = _.coerceValueToUnit$2;
  115601. _.super$SassNumber$coerceToMatch = _.coerceToMatch$3;
  115602. _.super$SassNumber$coerceValueToMatch = _.coerceValueToMatch$3;
  115603. _.super$SassNumber$greaterThan = _.greaterThan$1;
  115604. _.super$SassNumber$greaterThanOrEquals = _.greaterThanOrEquals$1;
  115605. _.super$SassNumber$lessThan = _.lessThan$1;
  115606. _.super$SassNumber$lessThanOrEquals = _.lessThanOrEquals$1;
  115607. _.super$SassNumber$modulo = _.modulo$1;
  115608. _.super$SassNumber$plus = _.plus$1;
  115609. _.super$SassNumber$minus = _.minus$1;
  115610. _.super$SassNumber$times = _.times$1;
  115611. _.super$SassNumber$dividedBy = _.dividedBy$1;
  115612. _ = A.AnySelectorVisitor.prototype;
  115613. _.super$AnySelectorVisitor$visitComplexSelector = _.visitComplexSelector$1;
  115614. _ = A.EveryCssVisitor.prototype;
  115615. _.super$EveryCssVisitor$visitCssStyleRule = _.visitCssStyleRule$1;
  115616. _ = A.ReplaceExpressionVisitor.prototype;
  115617. _.super$ReplaceExpressionVisitor$visitBinaryOperationExpression = _.visitBinaryOperationExpression$1;
  115618. _.super$ReplaceExpressionVisitor$visitUnaryOperationExpression = _.visitUnaryOperationExpression$1;
  115619. _ = A.SourceSpanMixin.prototype;
  115620. _.super$SourceSpanMixin$compareTo = _.compareTo$1;
  115621. _.super$SourceSpanMixin$$eq = _.$eq;
  115622. _ = A.StringScanner.prototype;
  115623. _.super$StringScanner$readChar = _.readChar$0;
  115624. _.super$StringScanner$scanChar = _.scanChar$1;
  115625. _.super$StringScanner$scan = _.scan$1;
  115626. _.super$StringScanner$matches = _.matches$1;
  115627. _ = A.AnySelectorVisitor0.prototype;
  115628. _.super$AnySelectorVisitor$visitComplexSelector0 = _.visitComplexSelector$1;
  115629. _ = A.EveryCssVisitor0.prototype;
  115630. _.super$EveryCssVisitor$visitCssStyleRule0 = _.visitCssStyleRule$1;
  115631. _ = A.ModifiableCssParentNode0.prototype;
  115632. _.super$ModifiableCssParentNode$addChild0 = _.addChild$1;
  115633. _ = A.SassNumber0.prototype;
  115634. _.super$SassNumber$convertToMatch = _.convertToMatch$3;
  115635. _.super$SassNumber$convertValueToMatch0 = _.convertValueToMatch$3;
  115636. _.super$SassNumber$coerce0 = _.coerce$3;
  115637. _.super$SassNumber$coerceValue0 = _.coerceValue$3;
  115638. _.super$SassNumber$coerceValueToUnit0 = _.coerceValueToUnit$2;
  115639. _.super$SassNumber$coerceToMatch0 = _.coerceToMatch$3;
  115640. _.super$SassNumber$coerceValueToMatch0 = _.coerceValueToMatch$3;
  115641. _.super$SassNumber$greaterThan0 = _.greaterThan$1;
  115642. _.super$SassNumber$greaterThanOrEquals0 = _.greaterThanOrEquals$1;
  115643. _.super$SassNumber$lessThan0 = _.lessThan$1;
  115644. _.super$SassNumber$lessThanOrEquals0 = _.lessThanOrEquals$1;
  115645. _.super$SassNumber$modulo0 = _.modulo$1;
  115646. _.super$SassNumber$plus0 = _.plus$1;
  115647. _.super$SassNumber$minus0 = _.minus$1;
  115648. _.super$SassNumber$times0 = _.times$1;
  115649. _.super$SassNumber$dividedBy0 = _.dividedBy$1;
  115650. _ = A.Parser1.prototype;
  115651. _.super$Parser$silentComment0 = _.silentComment$0;
  115652. _ = A.ReplaceExpressionVisitor0.prototype;
  115653. _.super$ReplaceExpressionVisitor$visitBinaryOperationExpression0 = _.visitBinaryOperationExpression$1;
  115654. _.super$ReplaceExpressionVisitor$visitUnaryOperationExpression0 = _.visitUnaryOperationExpression$1;
  115655. _ = A.SimpleSelector0.prototype;
  115656. _.super$SimpleSelector$addSuffix0 = _.addSuffix$1;
  115657. _.super$SimpleSelector$unify0 = _.unify$1;
  115658. _.super$SimpleSelector$isSuperselector0 = _.isSuperselector$1;
  115659. _ = A.StylesheetParser0.prototype;
  115660. _.super$StylesheetParser$importArgument0 = _.importArgument$0;
  115661. _.super$StylesheetParser$namespacedExpression0 = _.namespacedExpression$2;
  115662. _ = A.Value0.prototype;
  115663. _.super$Value$assertMap0 = _.assertMap$1;
  115664. _.super$Value$plus0 = _.plus$1;
  115665. _.super$Value$minus0 = _.minus$1;
  115666. _.super$Value$dividedBy0 = _.dividedBy$1;
  115667. })();
  115668. (function installTearOffs() {
  115669. var _static_2 = hunkHelpers._static_2,
  115670. _instance_1_i = hunkHelpers._instance_1i,
  115671. _instance_1_u = hunkHelpers._instance_1u,
  115672. _static_1 = hunkHelpers._static_1,
  115673. _static_0 = hunkHelpers._static_0,
  115674. _static = hunkHelpers.installStaticTearOff,
  115675. _instance = hunkHelpers.installInstanceTearOff,
  115676. _instance_2_u = hunkHelpers._instance_2u,
  115677. _instance_0_i = hunkHelpers._instance_0i,
  115678. _instance_0_u = hunkHelpers._instance_0u;
  115679. _static_2(J, "_interceptors_JSArray__compareAny$closure", "JSArray__compareAny", 287);
  115680. _instance_1_i(J.JSArray.prototype, "get$contains", "contains$1", 11);
  115681. _instance_1_i(A._CastIterableBase.prototype, "get$contains", "contains$1", 11);
  115682. _instance_1_u(A.CastMap.prototype, "get$containsKey", "containsKey$1", 11);
  115683. _instance_1_u(A.ConstantStringMap.prototype, "get$containsKey", "containsKey$1", 11);
  115684. _instance_1_i(A.ConstantStringSet.prototype, "get$contains", "contains$1", 11);
  115685. _instance_1_i(A.GeneralConstantSet.prototype, "get$contains", "contains$1", 11);
  115686. _instance_1_u(A.JsLinkedHashMap.prototype, "get$containsKey", "containsKey$1", 11);
  115687. _static_1(A, "async__AsyncRun__scheduleImmediateJsOverride$closure", "_AsyncRun__scheduleImmediateJsOverride", 116);
  115688. _static_1(A, "async__AsyncRun__scheduleImmediateWithSetImmediate$closure", "_AsyncRun__scheduleImmediateWithSetImmediate", 116);
  115689. _static_1(A, "async__AsyncRun__scheduleImmediateWithTimer$closure", "_AsyncRun__scheduleImmediateWithTimer", 116);
  115690. _static_0(A, "async___startMicrotaskLoop$closure", "_startMicrotaskLoop", 0);
  115691. _static_1(A, "async___nullDataHandler$closure", "_nullDataHandler", 131);
  115692. _static_2(A, "async___nullErrorHandler$closure", "_nullErrorHandler", 77);
  115693. _static_0(A, "async___nullDoneHandler$closure", "_nullDoneHandler", 0);
  115694. _static(A, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 613, 0);
  115695. _static(A, "async___rootRun$closure", 4, null, ["call$1$4", "call$4"], ["_rootRun", function($self, $parent, zone, f) {
  115696. return A._rootRun($self, $parent, zone, f, type$.dynamic);
  115697. }], 614, 1);
  115698. _static(A, "async___rootRunUnary$closure", 5, null, ["call$2$5", "call$5"], ["_rootRunUnary", function($self, $parent, zone, f, arg) {
  115699. return A._rootRunUnary($self, $parent, zone, f, arg, type$.dynamic, type$.dynamic);
  115700. }], 615, 1);
  115701. _static(A, "async___rootRunBinary$closure", 6, null, ["call$3$6", "call$6"], ["_rootRunBinary", function($self, $parent, zone, f, arg1, arg2) {
  115702. return A._rootRunBinary($self, $parent, zone, f, arg1, arg2, type$.dynamic, type$.dynamic, type$.dynamic);
  115703. }], 616, 1);
  115704. _static(A, "async___rootRegisterCallback$closure", 4, null, ["call$1$4", "call$4"], ["_rootRegisterCallback", function($self, $parent, zone, f) {
  115705. return A._rootRegisterCallback($self, $parent, zone, f, type$.dynamic);
  115706. }], 617, 0);
  115707. _static(A, "async___rootRegisterUnaryCallback$closure", 4, null, ["call$2$4", "call$4"], ["_rootRegisterUnaryCallback", function($self, $parent, zone, f) {
  115708. return A._rootRegisterUnaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic);
  115709. }], 618, 0);
  115710. _static(A, "async___rootRegisterBinaryCallback$closure", 4, null, ["call$3$4", "call$4"], ["_rootRegisterBinaryCallback", function($self, $parent, zone, f) {
  115711. return A._rootRegisterBinaryCallback($self, $parent, zone, f, type$.dynamic, type$.dynamic, type$.dynamic);
  115712. }], 619, 0);
  115713. _static(A, "async___rootErrorCallback$closure", 5, null, ["call$5"], ["_rootErrorCallback"], 620, 0);
  115714. _static(A, "async___rootScheduleMicrotask$closure", 4, null, ["call$4"], ["_rootScheduleMicrotask"], 621, 0);
  115715. _static(A, "async___rootCreateTimer$closure", 5, null, ["call$5"], ["_rootCreateTimer"], 622, 0);
  115716. _static(A, "async___rootCreatePeriodicTimer$closure", 5, null, ["call$5"], ["_rootCreatePeriodicTimer"], 623, 0);
  115717. _static(A, "async___rootPrint$closure", 4, null, ["call$4"], ["_rootPrint"], 624, 0);
  115718. _static_1(A, "async___printToZone$closure", "_printToZone", 97);
  115719. _static(A, "async___rootFork$closure", 5, null, ["call$5"], ["_rootFork"], 625, 0);
  115720. _instance(A._AsyncCompleter.prototype, "get$complete", 0, 0, function() {
  115721. return [null];
  115722. }, ["call$1", "call$0"], ["complete$1", "complete$0"], 291, 0, 0);
  115723. _instance_2_u(A._Future.prototype, "get$_completeError", "_completeError$2", 77);
  115724. var _;
  115725. _instance_1_i(_ = A._StreamController.prototype, "get$add", "add$1", 37);
  115726. _instance(_, "get$addError", 0, 1, function() {
  115727. return [null];
  115728. }, ["call$2", "call$1"], ["addError$2", "addError$1"], 288, 0, 0);
  115729. _instance_0_i(_, "get$close", "close$0", 331);
  115730. _instance_1_u(_, "get$_async$_add", "_async$_add$1", 37);
  115731. _instance_2_u(_, "get$_addError", "_addError$2", 77);
  115732. _instance_0_u(_, "get$_close", "_close$0", 0);
  115733. _instance_0_u(_ = A._ControllerSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  115734. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  115735. _instance(_ = A._BufferingStreamSubscription.prototype, "get$pause", 1, 0, null, ["call$1", "call$0"], ["pause$1", "pause$0"], 340, 0, 0);
  115736. _instance_0_i(_, "get$resume", "resume$0", 0);
  115737. _instance_0_u(_, "get$_async$_onPause", "_async$_onPause$0", 0);
  115738. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  115739. _instance_1_u(_ = A._StreamIterator.prototype, "get$_onData", "_onData$1", 37);
  115740. _instance_2_u(_, "get$_onError", "_onError$2", 77);
  115741. _instance_0_u(_, "get$_onDone", "_onDone$0", 0);
  115742. _instance_0_u(_ = A._ForwardingStreamSubscription.prototype, "get$_async$_onPause", "_async$_onPause$0", 0);
  115743. _instance_0_u(_, "get$_async$_onResume", "_async$_onResume$0", 0);
  115744. _instance_1_u(_, "get$_handleData", "_handleData$1", 37);
  115745. _instance_2_u(_, "get$_handleError", "_handleError$2", 364);
  115746. _instance_0_u(_, "get$_handleDone", "_handleDone$0", 0);
  115747. _static_2(A, "collection___defaultEquals$closure", "_defaultEquals", 289);
  115748. _static_1(A, "collection___defaultHashCode$closure", "_defaultHashCode", 290);
  115749. _static_2(A, "collection_ListBase__compareAny$closure", "ListBase__compareAny", 287);
  115750. _instance_1_u(A._HashMap.prototype, "get$containsKey", "containsKey$1", 11);
  115751. _instance_1_u(A._LinkedCustomHashMap.prototype, "get$containsKey", "containsKey$1", 11);
  115752. _instance(_ = A._LinkedHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 284, 0, 0);
  115753. _instance_1_i(_, "get$contains", "contains$1", 11);
  115754. _instance_1_i(_, "get$add", "add$1", 11);
  115755. _instance(A._LinkedIdentityHashSet.prototype, "get$_newSimilarSet", 0, 0, null, ["call$1$0", "call$0"], ["_newSimilarSet$1$0", "_newSimilarSet$0"], 284, 0, 0);
  115756. _instance_1_u(A.MapBase.prototype, "get$containsKey", "containsKey$1", 11);
  115757. _instance_1_u(A.MapView.prototype, "get$containsKey", "containsKey$1", 11);
  115758. _instance_1_i(A.UnmodifiableSetView.prototype, "get$contains", "contains$1", 11);
  115759. _static_1(A, "convert___defaultToEncodable$closure", "_defaultToEncodable", 102);
  115760. _static_1(A, "core__identityHashCode$closure", "identityHashCode", 290);
  115761. _static_2(A, "core__identical$closure", "identical", 289);
  115762. _static_1(A, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 7);
  115763. _instance_1_i(A.Iterable.prototype, "get$contains", "contains$1", 11);
  115764. _instance_1_i(A.StringBuffer.prototype, "get$write", "write$1", 37);
  115765. _static(A, "math0__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) {
  115766. return A.max(a, b, type$.num);
  115767. }], 628, 1);
  115768. _instance_1_u(A.ArgResults.prototype, "get$wasParsed", "wasParsed$1", 10);
  115769. _instance_1_u(_ = A.StreamCompleter.prototype, "get$setSourceStream", "setSourceStream$1", 37);
  115770. _instance(_, "get$setError", 0, 1, function() {
  115771. return [null];
  115772. }, ["call$2", "call$1"], ["setError$2", "setError$1"], 288, 0, 0);
  115773. _instance_0_u(_ = A.StreamGroup.prototype, "get$_onListen", "_onListen$0", 0);
  115774. _instance_0_u(_, "get$_onPause", "_onPause$0", 0);
  115775. _instance_0_u(_, "get$_onResume", "_onResume$0", 0);
  115776. _instance_0_u(_, "get$_onCancel", "_onCancel$0", 256);
  115777. _instance_0_i(A.ReplAdapter.prototype, "get$exit", "exit$0", 0);
  115778. _instance_1_i(A.EmptyUnmodifiableSet.prototype, "get$contains", "contains$1", 11);
  115779. _instance_1_i(A.UnionSet.prototype, "get$contains", "contains$1", 11);
  115780. _instance_1_i(A._DelegatingIterableBase.prototype, "get$contains", "contains$1", 11);
  115781. _instance_1_i(A.MapKeySet.prototype, "get$contains", "contains$1", 11);
  115782. _instance_1_u(A.VersionRange.prototype, "get$allows", "allows$1", 534);
  115783. _instance_1_u(A._IsInvisibleVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 17);
  115784. _instance_1_u(A._IsBogusVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 17);
  115785. _instance_1_u(A._IsUselessVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 17);
  115786. _instance_1_u(A.SelectorList.prototype, "get$isSuperselector", "isSuperselector$1", 75);
  115787. _instance_1_u(A.PseudoSelector.prototype, "get$isSuperselector", "isSuperselector$1", 15);
  115788. _instance_1_u(A.SimpleSelector.prototype, "get$isSuperselector", "isSuperselector$1", 15);
  115789. _instance_1_u(A.TypeSelector.prototype, "get$isSuperselector", "isSuperselector$1", 15);
  115790. _instance_1_u(A.UniversalSelector.prototype, "get$isSuperselector", "isSuperselector$1", 15);
  115791. _instance_1_u(A.EmptyExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 223);
  115792. _instance_1_u(A.ExtensionStore.prototype, "get$addExtensions", "addExtensions$1", 223);
  115793. _static_1(A, "functions___isUnique$closure", "_isUnique", 15);
  115794. _static_1(A, "color0___opacify$closure", "_opacify", 36);
  115795. _static_1(A, "color0___transparentize$closure", "_transparentize", 36);
  115796. _instance_0_u(_ = A.Parser.prototype, "get$whitespace", "whitespace$0", 0);
  115797. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  115798. _instance_0_u(_, "get$string", "string$0", 21);
  115799. _instance(_, "get$error", 1, 2, function() {
  115800. return [null];
  115801. }, ["call$3", "call$2"], ["error$3", "error$2"], 181, 0, 0);
  115802. _instance_0_u(A.SassParser.prototype, "get$loudComment", "loudComment$0", 0);
  115803. _instance(_ = A.StylesheetParser.prototype, "get$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_statement$1$root", "_statement$0"], 355, 0, 0);
  115804. _instance_0_u(_, "get$_declarationChild", "_declarationChild$0", 119);
  115805. _instance_0_u(_, "get$_functionChild", "_functionChild$0", 119);
  115806. _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"], 358, 0, 0);
  115807. _instance(A.LazyFileSpan.prototype, "get$message", 1, 1, function() {
  115808. return {color: null};
  115809. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 118, 0, 0);
  115810. _instance_1_u(A.LimitedMapView.prototype, "get$containsKey", "containsKey$1", 11);
  115811. _instance_1_u(A.MergedMapView.prototype, "get$containsKey", "containsKey$1", 11);
  115812. _instance(A.MultiSpan.prototype, "get$message", 1, 1, function() {
  115813. return {color: null};
  115814. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 173, 0, 0);
  115815. _instance_1_i(A.NoSourceMapBuffer.prototype, "get$write", "write$1", 37);
  115816. _instance_1_u(A.PrefixedMapView.prototype, "get$containsKey", "containsKey$1", 11);
  115817. _instance_1_u(A.PublicMemberMapView.prototype, "get$containsKey", "containsKey$1", 11);
  115818. _instance_1_i(A.SourceMapBuffer.prototype, "get$write", "write$1", 37);
  115819. _instance_1_u(A.UnprefixedMapView.prototype, "get$containsKey", "containsKey$1", 11);
  115820. _static_1(A, "utils__isPublic$closure", "isPublic", 10);
  115821. _static_1(A, "calculation_SassCalculation__simplify$closure", "SassCalculation__simplify", 74);
  115822. _instance_1_u(A.AnySelectorVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 17);
  115823. _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"], 420, 0, 0);
  115824. _instance_1_u(_, "get$_async_evaluate$_expressionNode", "_async_evaluate$_expressionNode$1", 165);
  115825. _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"], 545, 0, 0);
  115826. _instance_1_u(_, "get$_expressionNode", "_expressionNode$1", 165);
  115827. _instance_1_u(_ = A.RecursiveStatementVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", 626);
  115828. _instance_1_u(_, "get$visitChildren", "visitChildren$1", 627);
  115829. _instance_1_u(_ = A.SelectorSearchVisitor.prototype, "get$visitComplexSelector", "visitComplexSelector$1", "SelectorSearchVisitor.T?(ComplexSelector)");
  115830. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", "SelectorSearchVisitor.T?(SelectorList)");
  115831. _instance_1_u(_ = A._SerializeVisitor.prototype, "get$_visitMediaQuery", "_visitMediaQuery$1", 645);
  115832. _instance_1_u(_, "get$_writeCalculationValue", "_writeCalculationValue$1", 104);
  115833. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", 646);
  115834. _instance_1_u(_, "get$_requiresSemicolon", "_requiresSemicolon$1", 9);
  115835. _instance_1_u(_ = A.StatementSearchVisitor.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor.T?(ContentBlock)");
  115836. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor.T?(List<Statement>)");
  115837. _instance(A.SourceSpanMixin.prototype, "get$message", 1, 1, function() {
  115838. return {color: null};
  115839. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 118, 0, 0);
  115840. _static_1(A, "frame_Frame___parseVM_tearOff$closure", "Frame___parseVM_tearOff", 83);
  115841. _static_1(A, "frame_Frame___parseV8_tearOff$closure", "Frame___parseV8_tearOff", 83);
  115842. _static_1(A, "frame_Frame___parseFirefox_tearOff$closure", "Frame___parseFirefox_tearOff", 83);
  115843. _static_1(A, "frame_Frame___parseFriendly_tearOff$closure", "Frame___parseFriendly_tearOff", 83);
  115844. _static_1(A, "trace_Trace___parseVM_tearOff$closure", "Trace___parseVM_tearOff", 292);
  115845. _static_1(A, "trace_Trace___parseFriendly_tearOff$closure", "Trace___parseFriendly_tearOff", 292);
  115846. _static(A, "from_handlers__TransformByHandlers__defaultHandleError$closure", 3, null, ["call$1$3", "call$3"], ["TransformByHandlers__defaultHandleError", function(error, stackTrace, sink) {
  115847. return A.TransformByHandlers__defaultHandleError(error, stackTrace, sink, type$.dynamic);
  115848. }], 631, 0);
  115849. _static(A, "rate_limit___collect$closure", 2, null, ["call$1$2", "call$2"], ["_collect", function($event, soFar) {
  115850. return A._collect($event, soFar, type$.dynamic);
  115851. }], 632, 0);
  115852. _instance_1_u(A.AnySelectorVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 20);
  115853. _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"], 332, 0, 0);
  115854. _instance_1_u(_, "get$_async_evaluate0$_expressionNode", "_async_evaluate0$_expressionNode$1", 180);
  115855. _static_1(A, "calculation1___assertCalculationValue$closure", "_assertCalculationValue", 104);
  115856. _static_1(A, "calculation1___isValidClampArg$closure", "_isValidClampArg", 11);
  115857. _static_1(A, "calculation0_SassCalculation__simplify$closure", "SassCalculation__simplify0", 74);
  115858. _static_1(A, "color2___opacify$closure", "_opacify0", 35);
  115859. _static_1(A, "color2___transparentize$closure", "_transparentize0", 35);
  115860. _static(A, "compile__compile$closure", 1, function() {
  115861. return [null];
  115862. }, ["call$2", "call$1"], ["compile0", function(path) {
  115863. return A.compile0(path, null);
  115864. }], 633, 0);
  115865. _static(A, "compile__compileString$closure", 1, function() {
  115866. return [null];
  115867. }, ["call$2", "call$1"], ["compileString0", function(text) {
  115868. return A.compileString0(text, null);
  115869. }], 634, 0);
  115870. _static(A, "compile__compileAsync$closure", 1, function() {
  115871. return [null];
  115872. }, ["call$2", "call$1"], ["compileAsync1", function(path) {
  115873. return A.compileAsync1(path, null);
  115874. }], 635, 0);
  115875. _static(A, "compile__compileStringAsync$closure", 1, function() {
  115876. return [null];
  115877. }, ["call$2", "call$1"], ["compileStringAsync1", function(text) {
  115878. return A.compileStringAsync1(text, null);
  115879. }], 636, 0);
  115880. _static_1(A, "compile___parseImporter$closure", "_parseImporter0", 637);
  115881. _static_1(A, "compile___simplifyCalcArg$closure", "_simplifyCalcArg", 74);
  115882. _instance_1_u(A.EmptyExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 234);
  115883. _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"], 435, 0, 0);
  115884. _instance_1_u(_, "get$_evaluate0$_expressionNode", "_evaluate0$_expressionNode$1", 180);
  115885. _instance_1_u(A.ExtensionStore0.prototype, "get$addExtensions", "addExtensions$1", 234);
  115886. _static_1(A, "functions0___isUnique$closure", "_isUnique0", 16);
  115887. _static_1(A, "immutable__jsToDartList$closure", "jsToDartList", 638);
  115888. _instance(A.LazyFileSpan0.prototype, "get$message", 1, 1, function() {
  115889. return {color: null};
  115890. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 118, 0, 0);
  115891. _static_2(A, "legacy__render$closure", "render", 639);
  115892. _static_1(A, "legacy__renderSync$closure", "renderSync", 640);
  115893. _instance_1_u(A.LimitedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
  115894. _instance_1_u(A.SelectorList0.prototype, "get$isSuperselector", "isSuperselector$1", 76);
  115895. _instance_1_u(A.MergedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
  115896. _instance(A.MultiSpan0.prototype, "get$message", 1, 1, function() {
  115897. return {color: null};
  115898. }, ["call$2$color", "call$1"], ["message$2$color", "message$1"], 173, 0, 0);
  115899. _instance_1_i(A.NoSourceMapBuffer0.prototype, "get$write", "write$1", 37);
  115900. _instance_0_u(_ = A.Parser1.prototype, "get$whitespace", "whitespace$0", 0);
  115901. _instance_0_u(_, "get$loudComment", "loudComment$0", 0);
  115902. _instance_0_u(_, "get$string", "string$0", 21);
  115903. _instance(_, "get$error", 1, 2, function() {
  115904. return [null];
  115905. }, ["call$3", "call$2"], ["error$3", "error$2"], 181, 0, 0);
  115906. _instance_1_u(A.PrefixedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
  115907. _instance_1_u(A.PseudoSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 16);
  115908. _instance_1_u(A.PublicMemberMapView0.prototype, "get$containsKey", "containsKey$1", 11);
  115909. _instance_0_u(A.SassParser0.prototype, "get$loudComment", "loudComment$0", 0);
  115910. _instance_1_u(A._IsInvisibleVisitor2.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 20);
  115911. _instance_1_u(A._IsBogusVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 20);
  115912. _instance_1_u(A._IsUselessVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", 20);
  115913. _instance_1_u(_ = A.SelectorSearchVisitor0.prototype, "get$visitComplexSelector", "visitComplexSelector$1", "SelectorSearchVisitor0.T?(ComplexSelector0)");
  115914. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", "SelectorSearchVisitor0.T?(SelectorList0)");
  115915. _instance_1_u(_ = A._SerializeVisitor0.prototype, "get$_serialize0$_visitMediaQuery", "_serialize0$_visitMediaQuery$1", 555);
  115916. _instance_1_u(_, "get$_serialize0$_writeCalculationValue", "_serialize0$_writeCalculationValue$1", 104);
  115917. _instance_1_u(_, "get$visitSelectorList", "visitSelectorList$1", 556);
  115918. _instance_1_u(_, "get$_serialize0$_requiresSemicolon", "_serialize0$_requiresSemicolon$1", 8);
  115919. _instance_1_u(A.SimpleSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 16);
  115920. _instance_1_i(A.SourceMapBuffer0.prototype, "get$write", "write$1", 37);
  115921. _instance_1_u(_ = A.StatementSearchVisitor0.prototype, "get$visitContentBlock", "visitContentBlock$1", "StatementSearchVisitor0.T?(ContentBlock0)");
  115922. _instance_1_u(_, "get$visitChildren", "visitChildren$1", "StatementSearchVisitor0.T?(List<Statement0>)");
  115923. _instance(_ = A.StylesheetParser0.prototype, "get$_stylesheet0$_statement", 0, 0, null, ["call$1$root", "call$0"], ["_stylesheet0$_statement$1$root", "_stylesheet0$_statement$0"], 573, 0, 0);
  115924. _instance_0_u(_, "get$_stylesheet0$_declarationChild", "_stylesheet0$_declarationChild$0", 126);
  115925. _instance_0_u(_, "get$_stylesheet0$_functionChild", "_stylesheet0$_functionChild$0", 126);
  115926. _instance_1_u(A.TypeSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 16);
  115927. _instance_1_u(A.UniversalSelector0.prototype, "get$isSuperselector", "isSuperselector$1", 16);
  115928. _instance_1_u(A.UnprefixedMapView0.prototype, "get$containsKey", "containsKey$1", 11);
  115929. _static_1(A, "utils1__jsToDartUrl$closure", "jsToDartUrl", 641);
  115930. _static_1(A, "utils1__dartToJSUrl$closure", "dartToJSUrl", 642);
  115931. _static_1(A, "utils0__isPublic$closure", "isPublic0", 10);
  115932. _static(A, "path__absolute$closure", 1, function() {
  115933. return [null, null, null, null, null, null, null, null, null, null, null, null, null, null];
  115934. }, ["call$15", "call$1", "call$2", "call$3", "call$4", "call$5", "call$6"], ["absolute", function(part1) {
  115935. return A.absolute(part1, null, null, null, null, null, null, null, null, null, null, null, null, null, null);
  115936. }, function(part1, part2) {
  115937. return A.absolute(part1, part2, null, null, null, null, null, null, null, null, null, null, null, null, null);
  115938. }, function(part1, part2, part3) {
  115939. return A.absolute(part1, part2, part3, null, null, null, null, null, null, null, null, null, null, null, null);
  115940. }, function(part1, part2, part3, part4) {
  115941. return A.absolute(part1, part2, part3, part4, null, null, null, null, null, null, null, null, null, null, null);
  115942. }, function(part1, part2, part3, part4, part5) {
  115943. return A.absolute(part1, part2, part3, part4, part5, null, null, null, null, null, null, null, null, null, null);
  115944. }, function(part1, part2, part3, part4, part5, part6) {
  115945. return A.absolute(part1, part2, part3, part4, part5, part6, null, null, null, null, null, null, null, null, null);
  115946. }], 643, 0);
  115947. _static_1(A, "path__prettyUri$closure", "prettyUri", 644);
  115948. _static_2(A, "number0__fuzzyLessThan$closure", "fuzzyLessThan", 47);
  115949. _static_2(A, "number0__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals", 47);
  115950. _static_2(A, "number0__fuzzyGreaterThan$closure", "fuzzyGreaterThan", 47);
  115951. _static_2(A, "number0__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals", 47);
  115952. _static_2(A, "number0__moduloLikeSass$closure", "moduloLikeSass", 57);
  115953. _static_1(A, "number0__sqrt$closure", "sqrt", 52);
  115954. _static_1(A, "number0__sin$closure", "sin", 52);
  115955. _static_1(A, "number0__cos$closure", "cos", 52);
  115956. _static_1(A, "number0__tan$closure", "tan", 52);
  115957. _static_1(A, "number0__atan$closure", "atan", 52);
  115958. _static_1(A, "number0__asin$closure", "asin", 52);
  115959. _static_1(A, "number0__acos$closure", "acos", 52);
  115960. _static_2(A, "number2__fuzzyLessThan$closure", "fuzzyLessThan0", 47);
  115961. _static_2(A, "number2__fuzzyLessThanOrEquals$closure", "fuzzyLessThanOrEquals0", 47);
  115962. _static_2(A, "number2__fuzzyGreaterThan$closure", "fuzzyGreaterThan0", 47);
  115963. _static_2(A, "number2__fuzzyGreaterThanOrEquals$closure", "fuzzyGreaterThanOrEquals0", 47);
  115964. _static_1(A, "number2__fuzzyRound$closure", "fuzzyRound0", 647);
  115965. _static_2(A, "number2__moduloLikeSass$closure", "moduloLikeSass0", 57);
  115966. _static_1(A, "number2__sqrt$closure", "sqrt0", 53);
  115967. _static_1(A, "number2__sin$closure", "sin0", 53);
  115968. _static_1(A, "number2__cos$closure", "cos0", 53);
  115969. _static_1(A, "number2__tan$closure", "tan0", 53);
  115970. _static_1(A, "number2__atan$closure", "atan0", 53);
  115971. _static_1(A, "number2__asin$closure", "asin0", 53);
  115972. _static_1(A, "number2__acos$closure", "acos0", 53);
  115973. _static_1(A, "sass__main$closure", "main1", 649);
  115974. _static_1(A, "utils2__validateUrlScheme$closure", "validateUrlScheme", 97);
  115975. _static_1(A, "value0__wrapValue$closure", "wrapValue", 433);
  115976. })();
  115977. (function inheritance() {
  115978. var _mixin = hunkHelpers.mixin,
  115979. _inherit = hunkHelpers.inherit,
  115980. _inheritMany = hunkHelpers.inheritMany;
  115981. _inherit(A.Object, null);
  115982. _inheritMany(A.Object, [A.JS_CONST, J.Interceptor, J.ArrayIterator, A.Iterable, A.CastIterator, A.Closure, A.MapBase, A.Error, A.ListBase, A.SentinelValue, A.ListIterator, A.MappedIterator, A.WhereIterator, A.ExpandIterator, A.TakeIterator, A.SkipIterator, A.SkipWhileIterator, A.EmptyIterator, A.FollowedByIterator, A.WhereTypeIterator, A.FixedLengthListMixin, A.UnmodifiableListMixin, A.Symbol, A._Record, A.MapView, A.ConstantMap, A._KeysOrValuesOrElementsIterator, A.SetBase, 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._InitializedCell, A.Rti, A._FunctionParameters, A._Type, A._TimerImpl, A._AsyncAwaitCompleter, A._SyncStarIterator, A.AsyncError, A._Completer, A._FutureListener, A._Future, A._AsyncCallbackEntry, A.Stream, 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._LinkedHashSetCell, A._LinkedHashSetIterator, A._MapBaseValueIterator, A._UnmodifiableMapMixin, A._ListQueueIterator, A._UnmodifiableSetMixin, A.Codec, A.Converter, A._Base64Encoder, A.ByteConversionSink, A._JsonStringifier, A.StringConversionSink, 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.Version, A.VersionRange, A.CssMediaQuery, A.MediaQuerySuccessfulMergeResult, A.CssNode, A.__IsInvisibleVisitor_Object_EveryCssVisitor, A.CssValue, A._FakeAstNode, A.Argument, A.ArgumentDeclaration, A.ArgumentInvocation, A.AtRootQuery, A.ConfiguredVariable, A._IsCalculationSafeVisitor, A.BinaryOperationExpression, A.BooleanExpression, 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.__ParentSelectorVisitor_Object_SelectorSearchVisitor, 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.InterpolationMap, A.FileSystemException, A._QuietLogger, A.DeprecationHandlingLogger, A.StderrLogger, A.TrackingLogger, A.BuiltInModule, A.ForwardedModuleView, A.ShadowedModuleView, A.Parser, A.StylesheetGraph, A.StylesheetNode, A.Box, A.ModifiableBox, A.LazyFileSpan, A.MultiDirWatcher, A.MultiSpan, A.NoSourceMapBuffer, A.SourceMapBuffer, A.Value, A.CalculationOperation, A._ColorFormatEnum, A.SpanColorFormat, A.AnySelectorVisitor, A._EvaluateVisitor0, A._ImportedCssVisitor0, A._EvaluationContext0, A._CloneCssVisitor, A.Evaluator, A._EvaluateVisitor, A._ImportedCssVisitor, A._EvaluationContext, A.EveryCssVisitor, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor, A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor, A.DependencyReport, A.RecursiveStatementVisitor, A.ReplaceExpressionVisitor, A.SelectorSearchVisitor, A._SerializeVisitor, 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.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._EvaluationContext2, A.AsyncImportCache0, A.Parser1, A.AtRootQuery0, A.ParentStatement0, A.CssNode0, A.Selector0, A.BinaryOperationExpression0, A.BooleanExpression0, A.Box0, A.ModifiableBox0, A.BuiltInCallable0, A.BuiltInModule0, A.CalculationOperation0, A.CalculationInterpolation, 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.DeprecationHandlingLogger0, A.DynamicImport0, A.EmptyExtensionStore0, A.Environment0, A._EnvironmentModule1, A.ErrorRule0, A._EvaluateVisitor1, A._ImportedCssVisitor1, A._EvaluationContext1, A.EveryCssVisitor0, A.SassScriptException0, A._IsCalculationSafeVisitor0, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0, 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.InterpolationMap0, A.FileSystemException0, A.JSToDartLogger, A.LazyFileSpan0, A.ListExpression0, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0, A._QuietLogger0, A.LoudComment0, A.MapExpression0, A.CssMediaQuery0, A.MediaQuerySuccessfulMergeResult0, A.__HasContentVisitor_Object_StatementSearchVisitor0, A.MultiSpan0, A.SupportsNegation0, A.NoSourceMapBuffer0, A._FakeAstNode0, A.__IsInvisibleVisitor_Object_EveryCssVisitor0, A.NullExpression0, A.NumberExpression0, A.SupportsOperation0, A.ParenthesizedExpression0, A.PlainCssCallable0, A.QualifiedName0, A.ReplaceExpressionVisitor0, A.ImporterResult0, A.ReturnRule0, A.__IsInvisibleVisitor_Object_AnySelectorVisitor0, A.__IsBogusVisitor_Object_AnySelectorVisitor0, A.__IsUselessVisitor_Object_AnySelectorVisitor0, A.SelectorExpression0, A.SelectorSearchVisitor0, A._SerializeVisitor0, A.ShadowedModuleView0, A.SilentComment0, A.SourceMapBuffer0, A.StatementSearchVisitor0, A.StaticImport0, A.StderrLogger0, A.StringExpression0, A.SupportsExpression0, A.UnaryOperationExpression0, A.UseRule0, A.UserDefinedCallable0, A.CssValue0, A.ValueExpression0, A.VariableExpression0, A.VariableDeclaration0, A.WarnRule0]);
  115983. _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JavaScriptBigInt, J.JavaScriptSymbol, J.JSNumber, J.JSString]);
  115984. _inheritMany(J.JavaScriptObject, [J.LegacyJavaScriptObject, J.JSArray, A.NativeByteBuffer, A.NativeTypedData]);
  115985. _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.Module, 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.JSArray1, A.Chokidar, A.ChokidarOptions, A.ChokidarWatcher, A.JSFunction0, A.ImmutableList, A.ImmutableMap, A.NodeImporterResult, A.RenderContext, A.RenderContextOptions, A.RenderContextResult, A.RenderContextResultStats, A.JSClass, A.JSUrl, A._PropertyDescriptor, A.JSArray2, A.Chokidar0, A.ChokidarOptions0, A.ChokidarWatcher0, A._Channels, A._NodeSassColor, A.CompileOptions, A.NodeCompileResult, A.Exports, A.LoggerNamespace, A.FiberClass, A.Fiber, A.JSFunction1, A.ImmutableList0, A.ImmutableMap0, A.JSImporter, A.CanonicalizeContext, A.JSImporterResult, A.NodeImporterResult0, A._ConstructorOptions, A._NodeSassList, A.JSLogger, A.WarnOptions, A.DebugOptions, A._NodeSassMap, A._ConstructorOptions0, A._NodeSassNumber, A.JSClass0, A.RenderContext0, A.RenderContextOptions0, A.RenderContextResult0, A.RenderContextResultStats0, A.RenderOptions, A.RenderResult, A.RenderResultStats, A._Exports, A._ConstructorOptions1, A._NodeSassString, A.Types, A.JSUrl0, A._PropertyDescriptor0]);
  115986. _inherit(J.JSUnmodifiableArray, J.JSArray);
  115987. _inheritMany(J.JSNumber, [J.JSInt, J.JSNumNotInt]);
  115988. _inheritMany(A.Iterable, [A._CastIterableBase, A.EfficientLengthIterable, A.MappedIterable, A.WhereIterable, A.ExpandIterable, A.TakeIterable, A.SkipIterable, A.SkipWhileIterable, A.FollowedByIterable, A.WhereTypeIterable, A._KeysOrValues, A._AllMatchesIterable, A._StringAllMatchesIterable, A._SyncStarIterable, A.Runes, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A._PrefixedKeys, A._UnprefixedKeys, A._PrefixedKeys0, A._UnprefixedKeys0]);
  115989. _inheritMany(A._CastIterableBase, [A.CastIterable, A.__CastListBase__CastIterableBase_ListMixin, A.CastSet]);
  115990. _inherit(A._EfficientLengthCastIterable, A.CastIterable);
  115991. _inherit(A._CastListBase, A.__CastListBase__CastIterableBase_ListMixin);
  115992. _inheritMany(A.Closure, [A.Closure2Args, A.CastMap_entries_closure, A.Closure0Args, 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.MapBase_entries_closure, A._Uri__makePath_closure, A._createTables_setChars, A._createTables_setRange, A.jsify__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.UnionSet__iterable_closure, A.UnionSet_contains_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.Version__splitParts_closure, A.ModifiableCssNode_hasFollowingSibling_closure, A.ArgumentDeclaration_verify_closure, A.ArgumentDeclaration_verify_closure0, A._IsCalculationSafeVisitor_visitListExpression_closure, A.ListExpression_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_resolveParentSelectors__closure0, 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__getVariableFromGlobalModule_closure, A.AsyncEnvironment_setVariable_closure0, A.AsyncEnvironment__getFunctionFromGlobalModule_closure, A.AsyncEnvironment__getMixinFromGlobalModule_closure, A.AsyncEnvironment_toModule_closure, A.AsyncEnvironment_toDummyModule_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.AsyncImportCache_humanize_closure2, A.AsyncBuiltInCallable$mixin_closure, A.BuiltInCallable$mixin_closure, A._compileStylesheet_closure, A.Deprecation_fromId_closure, 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._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__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_closure1, A._weaveParents_closure2, A._weaveParents_closure3, A._weaveParents_closure4, 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._compatibleWithPreviousCombinator_closure, A._selectorPseudoIsSuperselector_closure, A._selectorPseudoIsSuperselector_closure0, A._selectorPseudoIsSuperselector_closure1, A._selectorPseudoIsSuperselector_closure2, A._selectorPseudoIsSuperselector_closure3, A._selectorPseudoIsSuperselector__closure, A._selectorPseudoIsSuperselector___closure0, A._selectorPseudoIsSuperselector___closure1, A._selectorPseudoIsSuperselector_closure4, A._selectorPseudoIsSuperselector_closure5, A._selectorPseudoArgs_closure, A._selectorPseudoArgs_closure0, A.globalFunctions_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_closure25, A.global__closure, A.global_closure26, A.module_closure1, A.module_closure2, A.module_closure3, A.module_closure4, A.module_closure5, A.module_closure6, A.module_closure7, A.module_closure8, A.module__closure1, A.module_closure9, 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_closure0, A._updateComponents_updateValue, A._functionString_closure, A._removedColorFunction_closure, A._rgb_closure, A._hsl_closure, A._hwb_closure, A._parseChannels_closure0, 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__closure1, A._set_closure0, A._set__closure0, A._merge_closure, A._merge_closure0, A._merge__closure0, 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.global_closure, A.module_closure0, A._ceil_closure, A._clamp_closure, A._floor_closure, A._max_closure, A._min_closure, A._round_closure, A._hypot_closure, A._hypot__closure, A._log_closure, A._pow_closure, A._atan2_closure, A._compatible_closure, A._isUnitless_closure, A._unit_closure, A._percentage_closure, A._randomFunction_closure, A._div_closure, A._singleArgumentMathFunc_closure, A._numberFunction_closure, A.global_closure27, A.global_closure28, A.global_closure29, A.global_closure30, A.local_closure, A.local_closure0, A.local__closure0, A.local_closure1, 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.module_closure, A.module__closure, A.module__closure0, 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.ImportCache_humanize_closure2, A.FilesystemImporter_canonicalize_closure, A._exactlyOne_closure0, A.InterpolationMap_mapException_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.DeprecationHandlingLogger_summarize_closure, A.DeprecationHandlingLogger_summarize_closure0, A._disallowedFunctionNames_closure, A.Parser_escape_closure, A.Parser_scanIdentChar_matches, A.SassParser_styleRuleSelector_closure, A.SassParser__peekIndentation_closure, A.SassParser__peekIndentation_closure0, A.StylesheetParser_parse__closure0, A.StylesheetParser__expression_addSingleExpression, A.StylesheetParser__expression_addOperator, A.StylesheetParser__isHexColor_closure0, A.StylesheetParser__unicodeRange_closure, A.StylesheetParser__unicodeRange_closure0, A.StylesheetParser_trySpecialFunction_closure, A.StylesheetGraph_modifiedSince_transitiveModificationTime, A.MapExtensions_get_pairs_closure, 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_closure7, A.SassNumber_multiplyUnits_closure9, A.SassNumber__areAnyConvertible_closure, A.SassNumber__canonicalizeUnitList_closure, A.SassNumber_unitSuggestion_closure, A.SassNumber_unitSuggestion_closure0, A.SingleUnitSassNumber__coerceToUnit_closure, A.SingleUnitSassNumber__coerceValueToUnit_closure, A.SingleUnitSassNumber_multiplyUnits_closure, A.AnySelectorVisitor_visitComplexSelector_closure, A.AnySelectorVisitor_visitCompoundSelector_closure, A._EvaluateVisitor_closure12, A._EvaluateVisitor_closure13, A._EvaluateVisitor_closure14, A._EvaluateVisitor_closure15, A._EvaluateVisitor_closure16, A._EvaluateVisitor_closure17, A._EvaluateVisitor_closure18, A._EvaluateVisitor_closure19, A._EvaluateVisitor_closure20, A._EvaluateVisitor_closure21, A._EvaluateVisitor_closure22, A._EvaluateVisitor_closure23, A._EvaluateVisitor_closure24, A._EvaluateVisitor__loadModule__closure1, A._EvaluateVisitor__combineCss_closure1, A._EvaluateVisitor__combineCss_closure2, A._EvaluateVisitor__combineCss_visitModule0, A._EvaluateVisitor__extendModules_closure1, 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_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_visitIfRule_closure0, A._EvaluateVisitor_visitIfRule___closure0, A._EvaluateVisitor__visitDynamicImport__closure3, A._EvaluateVisitor__visitDynamicImport__closure4, A._EvaluateVisitor__visitDynamicImport__closure5, A._EvaluateVisitor_visitIncludeRule_closure3, A._EvaluateVisitor_visitMediaRule_closure2, A._EvaluateVisitor_visitMediaRule_closure4, A._EvaluateVisitor_visitStyleRule_closure5, A._EvaluateVisitor_visitStyleRule_closure7, A._EvaluateVisitor_visitStyleRule_closure8, A._EvaluateVisitor_visitSupportsRule_closure2, A._EvaluateVisitor_visitWhileRule__closure0, A._EvaluateVisitor__slash_recommendation0, A._EvaluateVisitor_visitListExpression_closure0, A._EvaluateVisitor_visitFunctionExpression_closure3, A._EvaluateVisitor__checkCalculationArguments_check0, A._EvaluateVisitor__runUserDefinedCallable____closure0, A._EvaluateVisitor__runBuiltInCallable_closure4, 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_visitCssAtRule_closure2, A._EvaluateVisitor_visitCssKeyframeBlock_closure2, A._EvaluateVisitor_visitCssMediaRule_closure2, A._EvaluateVisitor_visitCssMediaRule_closure4, A._EvaluateVisitor_visitCssStyleRule_closure3, A._EvaluateVisitor_visitCssSupportsRule_closure2, A._EvaluateVisitor__performInterpolationHelper_closure0, A._EvaluateVisitor__withoutSlash_recommendation0, A._EvaluateVisitor__stackFrame_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_closure9, A._EvaluateVisitor_closure10, A._EvaluateVisitor_closure11, A._EvaluateVisitor__loadModule__closure, A._EvaluateVisitor__combineCss_closure, A._EvaluateVisitor__combineCss_closure0, A._EvaluateVisitor__combineCss_visitModule, A._EvaluateVisitor__extendModules_closure, 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_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_visitIfRule_closure, A._EvaluateVisitor_visitIfRule___closure, A._EvaluateVisitor__visitDynamicImport__closure, A._EvaluateVisitor__visitDynamicImport__closure0, A._EvaluateVisitor__visitDynamicImport__closure1, A._EvaluateVisitor_visitIncludeRule_closure0, A._EvaluateVisitor_visitMediaRule_closure, A._EvaluateVisitor_visitMediaRule_closure1, A._EvaluateVisitor_visitStyleRule_closure0, A._EvaluateVisitor_visitStyleRule_closure2, A._EvaluateVisitor_visitStyleRule_closure3, A._EvaluateVisitor_visitSupportsRule_closure0, A._EvaluateVisitor_visitWhileRule__closure, A._EvaluateVisitor__slash_recommendation, A._EvaluateVisitor_visitListExpression_closure, A._EvaluateVisitor_visitFunctionExpression_closure0, A._EvaluateVisitor__checkCalculationArguments_check, A._EvaluateVisitor__runUserDefinedCallable____closure, A._EvaluateVisitor__runBuiltInCallable_closure1, 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_visitCssAtRule_closure0, A._EvaluateVisitor_visitCssKeyframeBlock_closure0, A._EvaluateVisitor_visitCssMediaRule_closure, A._EvaluateVisitor_visitCssMediaRule_closure1, A._EvaluateVisitor_visitCssStyleRule_closure0, A._EvaluateVisitor_visitCssSupportsRule_closure0, A._EvaluateVisitor__performInterpolationHelper_closure, A._EvaluateVisitor__withoutSlash_recommendation, A._EvaluateVisitor__stackFrame_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.ReplaceExpressionVisitor_visitListExpression_closure, A.ReplaceExpressionVisitor_visitArgumentInvocation_closure, A.ReplaceExpressionVisitor_visitInterpolation_closure, A.SelectorSearchVisitor_visitComplexSelector_closure, A.SelectorSearchVisitor_visitCompoundSelector_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_toTrace_closure, A.Chain_toString_closure0, A.Chain_toString__closure0, A.Chain_toString_closure, A.Chain_toString__closure, A.Trace__parseVM_closure, A.Trace$parseV8_closure, A.Trace$parseJSCore_closure, A.Trace$parseFirefox_closure, A.Trace$parseFriendly_closure, 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__getVariableFromGlobalModule_closure0, A.AsyncEnvironment_setVariable_closure3, A.AsyncEnvironment__getFunctionFromGlobalModule_closure0, A.AsyncEnvironment__getMixinFromGlobalModule_closure0, A.AsyncEnvironment_toModule_closure0, A.AsyncEnvironment_toDummyModule_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_closure38, A._EvaluateVisitor_closure39, A._EvaluateVisitor_closure40, A._EvaluateVisitor_closure41, A._EvaluateVisitor_closure42, A._EvaluateVisitor_closure43, A._EvaluateVisitor_closure44, A._EvaluateVisitor_closure45, A._EvaluateVisitor_closure46, A._EvaluateVisitor_closure47, A._EvaluateVisitor_closure48, A._EvaluateVisitor_closure49, A._EvaluateVisitor_closure50, A._EvaluateVisitor__loadModule__closure5, A._EvaluateVisitor__combineCss_closure5, A._EvaluateVisitor__combineCss_closure6, A._EvaluateVisitor__combineCss_visitModule2, A._EvaluateVisitor__extendModules_closure5, 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_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_visitIfRule_closure2, A._EvaluateVisitor_visitIfRule___closure2, A._EvaluateVisitor__visitDynamicImport__closure11, A._EvaluateVisitor__visitDynamicImport__closure12, A._EvaluateVisitor__visitDynamicImport__closure13, A._EvaluateVisitor_visitIncludeRule_closure9, A._EvaluateVisitor_visitMediaRule_closure8, A._EvaluateVisitor_visitMediaRule_closure10, A._EvaluateVisitor_visitStyleRule_closure15, A._EvaluateVisitor_visitStyleRule_closure17, A._EvaluateVisitor_visitStyleRule_closure18, A._EvaluateVisitor_visitSupportsRule_closure6, A._EvaluateVisitor_visitWhileRule__closure2, A._EvaluateVisitor__slash_recommendation2, A._EvaluateVisitor_visitListExpression_closure2, A._EvaluateVisitor_visitFunctionExpression_closure9, A._EvaluateVisitor__checkCalculationArguments_check2, A._EvaluateVisitor__runUserDefinedCallable____closure2, A._EvaluateVisitor__runBuiltInCallable_closure10, 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_visitCssAtRule_closure6, A._EvaluateVisitor_visitCssKeyframeBlock_closure6, A._EvaluateVisitor_visitCssMediaRule_closure8, A._EvaluateVisitor_visitCssMediaRule_closure10, A._EvaluateVisitor_visitCssStyleRule_closure9, A._EvaluateVisitor_visitCssSupportsRule_closure6, A._EvaluateVisitor__performInterpolationHelper_closure2, A._EvaluateVisitor__withoutSlash_recommendation2, A._EvaluateVisitor__stackFrame_closure2, A._ImportedCssVisitor_visitCssAtRule_closure2, A._ImportedCssVisitor_visitCssMediaRule_closure2, A._ImportedCssVisitor_visitCssStyleRule_closure2, A._ImportedCssVisitor_visitCssSupportsRule_closure2, A.AsyncImportCache_humanize_closure3, A.AsyncImportCache_humanize_closure4, A.AsyncImportCache_humanize_closure5, A.AsyncImportCache_humanize_closure6, A.booleanClass__closure, A.legacyBooleanClass__closure, A.legacyBooleanClass__closure0, A.BuiltInCallable$mixin_closure0, A.calculationClass__closure, A.calculationClass__closure0, A.calculationClass__closure1, A.calculationClass__closure2, A.calculationClass__closure3, A.calculationClass__closure4, A.calculationClass__closure5, A.calculationOperationClass__closure, A.calculationOperationClass___closure, A.calculationOperationClass__closure1, A.calculationOperationClass__closure2, A.calculationOperationClass__closure3, A.calculationOperationClass__closure4, A.calculationInterpolationClass__closure1, A.calculationInterpolationClass__closure2, A.SassCalculation__verifyLength_closure0, 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_closure56, A.global_closure57, A.global__closure0, A.global_closure58, A.module_closure12, A.module_closure13, A.module_closure14, A.module_closure15, A.module_closure16, A.module_closure17, A.module_closure18, A.module_closure19, A.module__closure4, A.module_closure20, 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_closure1, A._updateComponents_closure2, A._updateComponents_updateValue0, A._functionString_closure0, A._removedColorFunction_closure0, A._rgb_closure0, A._hsl_closure0, A._hwb_closure0, A._parseChannels_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.legacyColorClass_closure, A.legacyColorClass_closure0, A.legacyColorClass_closure1, A.legacyColorClass_closure2, A.legacyColorClass_closure3, 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._disallowedFunctionNames_closure0, A.DeprecationHandlingLogger_summarize_closure1, A.DeprecationHandlingLogger_summarize_closure2, A.EachRule_toString_closure0, 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._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_closure25, A._EvaluateVisitor_closure26, A._EvaluateVisitor_closure27, A._EvaluateVisitor_closure28, 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__loadModule__closure3, A._EvaluateVisitor__combineCss_closure3, A._EvaluateVisitor__combineCss_closure4, A._EvaluateVisitor__combineCss_visitModule1, A._EvaluateVisitor__extendModules_closure3, 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_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_visitIfRule_closure1, A._EvaluateVisitor_visitIfRule___closure1, A._EvaluateVisitor__visitDynamicImport__closure7, A._EvaluateVisitor__visitDynamicImport__closure8, A._EvaluateVisitor__visitDynamicImport__closure9, A._EvaluateVisitor_visitIncludeRule_closure6, A._EvaluateVisitor_visitMediaRule_closure5, A._EvaluateVisitor_visitMediaRule_closure7, A._EvaluateVisitor_visitStyleRule_closure10, A._EvaluateVisitor_visitStyleRule_closure12, A._EvaluateVisitor_visitStyleRule_closure13, A._EvaluateVisitor_visitSupportsRule_closure4, A._EvaluateVisitor_visitWhileRule__closure1, A._EvaluateVisitor__slash_recommendation1, A._EvaluateVisitor_visitListExpression_closure1, A._EvaluateVisitor_visitFunctionExpression_closure6, A._EvaluateVisitor__checkCalculationArguments_check1, A._EvaluateVisitor__runUserDefinedCallable____closure1, A._EvaluateVisitor__runBuiltInCallable_closure7, 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_visitCssAtRule_closure4, A._EvaluateVisitor_visitCssKeyframeBlock_closure4, A._EvaluateVisitor_visitCssMediaRule_closure5, A._EvaluateVisitor_visitCssMediaRule_closure7, A._EvaluateVisitor_visitCssStyleRule_closure6, A._EvaluateVisitor_visitCssSupportsRule_closure4, A._EvaluateVisitor__performInterpolationHelper_closure1, A._EvaluateVisitor__withoutSlash_recommendation1, A._EvaluateVisitor__stackFrame_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._IsCalculationSafeVisitor_visitListExpression_closure0, A.ExtensionStore_extensionsWhereTarget_closure0, 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_closure4, A._weaveParents_closure8, A._weaveParents_closure9, A._weaveParents_closure10, 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._compatibleWithPreviousCombinator_closure0, A._selectorPseudoIsSuperselector_closure6, A._selectorPseudoIsSuperselector_closure7, A._selectorPseudoIsSuperselector_closure8, A._selectorPseudoIsSuperselector_closure9, A._selectorPseudoIsSuperselector_closure10, A._selectorPseudoIsSuperselector__closure0, A._selectorPseudoIsSuperselector___closure3, A._selectorPseudoIsSuperselector___closure4, 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_closure3, A.ImportCache_humanize_closure4, A.ImportCache_humanize_closure5, A.ImportCache_humanize_closure6, A.Interpolation_toString_closure0, A.InterpolationMap_mapException_closure0, A._realCasePath_helper0, A._realCasePath_helper__closure0, A.listDir__closure1, A.listDir__closure2, A.listDir_closure_list0, A.listDir__list_closure0, A.render_closure0, A._parseFunctions__closure, A._parseFunctions___closure2, 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__closure1, A.SelectorList_resolveParentSelectors__closure2, A.SelectorList__resolveParentSelectorsCompound_closure2, A.SelectorList__resolveParentSelectorsCompound_closure3, A.SelectorList__resolveParentSelectorsCompound_closure4, A.SelectorList_withAdditionalCombinators_closure0, A.listClass__closure, A.legacyListClass_closure, A.legacyListClass__closure, A.legacyListClass_closure1, A.legacyListClass_closure2, A.legacyListClass_closure4, A.SassList_isBlank_closure0, A._get_closure0, A._set_closure1, A._set__closure4, A._set_closure2, A._set__closure3, A._merge_closure1, A._merge_closure2, A._merge__closure2, 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.MapExtensions_get_pairs_closure0, A.mapClass__closure, A.mapClass__closure0, A.legacyMapClass_closure, A.legacyMapClass__closure, A.legacyMapClass__closure0, A.legacyMapClass_closure2, A.legacyMapClass_closure3, A.legacyMapClass_closure4, A.global_closure31, A.module_closure11, A._ceil_closure0, A._clamp_closure0, A._floor_closure0, A._max_closure0, A._min_closure0, A._round_closure0, A._hypot_closure0, A._hypot__closure0, A._log_closure0, A._pow_closure0, A._atan2_closure0, A._compatible_closure0, A._isUnitless_closure0, A._unit_closure0, A._percentage_closure0, A._randomFunction_closure0, A._div_closure0, A._singleArgumentMathFunc_closure0, A._numberFunction_closure0, A.global_closure59, A.global_closure60, A.global_closure61, A.global_closure62, A.local_closure2, A.local_closure3, A.local__closure2, A.local_closure4, A.mixinClass__closure, A.mixinClass__closure0, A.ModifiableCssNode_hasFollowingSibling_closure0, A.legacyNullClass__closure, 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.legacyNumberClass_closure, A.legacyNumberClass_closure0, A.legacyNumberClass_closure2, A._parseNumber_closure, A._parseNumber_closure0, A.SassNumber__coerceOrConvertValue_closure3, A.SassNumber__coerceOrConvertValue_closure5, A.SassNumber_multiplyUnits_closure19, A.SassNumber_multiplyUnits_closure21, A.SassNumber__areAnyConvertible_closure0, A.SassNumber__canonicalizeUnitList_closure0, A.SassNumber_unitSuggestion_closure1, A.SassNumber_unitSuggestion_closure2, A.ParentStatement_closure0, A.ParentStatement__closure0, A.Parser_escape_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.ReplaceExpressionVisitor_visitListExpression_closure0, A.ReplaceExpressionVisitor_visitArgumentInvocation_closure0, A.ReplaceExpressionVisitor_visitInterpolation_closure0, A.SassParser_styleRuleSelector_closure0, A.SassParser__peekIndentation_closure1, A.SassParser__peekIndentation_closure2, 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.SelectorSearchVisitor_visitComplexSelector_closure0, A.SelectorSearchVisitor_visitCompoundSelector_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_closure0, A.updateSourceSpanPrototype_closure1, A.updateSourceSpanPrototype_closure2, A.updateSourceSpanPrototype_closure3, A.updateSourceSpanPrototype_closure4, A.updateSourceSpanPrototype_closure5, A.updateSourceSpanPrototype_closure6, A.StatementSearchVisitor_visitIfRule_closure1, A.StatementSearchVisitor_visitIfRule__closure2, A.StatementSearchVisitor_visitIfRule_closure2, A.StatementSearchVisitor_visitIfRule__closure1, A.StatementSearchVisitor_visitChildren_closure0, A.module_closure10, A.module__closure2, A.module__closure3, 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.stringClass__closure, A.stringClass__closure0, A.stringClass__closure1, A.stringClass__closure2, A.stringClass__closure3, A.legacyStringClass_closure, A.legacyStringClass_closure0, A.StylesheetParser_parse__closure2, A.StylesheetParser__expression_addSingleExpression0, A.StylesheetParser__expression_addOperator0, A.StylesheetParser__isHexColor_closure2, A.StylesheetParser__unicodeRange_closure1, A.StylesheetParser__unicodeRange_closure2, A.StylesheetParser_trySpecialFunction_closure0, A._UnprefixedKeys_iterator_closure1, A._UnprefixedKeys_iterator_closure2, A._exactlyOne_closure2, 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__closure14, A.valueClass__closure15, A.valueClass__closure17, A.valueClass__closure18]);
  115993. _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._AddStreamState_makeErrorHandler_closure, A._HashMap_addAll_closure, A.HashMap_HashMap$from_closure, A.LinkedHashMap_LinkedHashMap$from_closure, A.MapBase_addAll_closure, A.MapBase_mapToString_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_clone_closure, A._weaveParents_closure1, A.paths_closure, A._updateComponents_updateRgb, A._nest__closure0, A._append__closure0, A.ImportCache_clearCanonicalize_closure, 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.longestCommonSubsequence_backtrack, A.mapAddAll2_closure, A.SassNumber_plus_closure, A.SassNumber_minus_closure, A.SassNumber__canonicalMultiplier_closure, A._EvaluateVisitor__closure3, A._EvaluateVisitor__closure4, A._EvaluateVisitor_visitForwardRule_closure1, A._EvaluateVisitor_visitForwardRule_closure2, A._EvaluateVisitor_visitUseRule_closure0, A._EvaluateVisitor__evaluateArguments_closure5, A._EvaluateVisitor__evaluateMacroArguments_closure5, A._EvaluateVisitor__addRestMap_closure0, A._EvaluateVisitor__closure, A._EvaluateVisitor__closure0, A._EvaluateVisitor_visitForwardRule_closure, A._EvaluateVisitor_visitForwardRule_closure0, A._EvaluateVisitor_visitUseRule_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__closure11, A._EvaluateVisitor__closure12, A._EvaluateVisitor_visitForwardRule_closure5, A._EvaluateVisitor_visitForwardRule_closure6, A._EvaluateVisitor_visitUseRule_closure2, A._EvaluateVisitor__evaluateArguments_closure13, A._EvaluateVisitor__evaluateMacroArguments_closure13, A._EvaluateVisitor__addRestMap_closure2, A.calculationOperationClass__closure0, A.calculationInterpolationClass__closure, A.calculationInterpolationClass__closure0, A._updateComponents_updateRgb0, A.colorClass__closure, A.colorClass__closure0, A.legacyColorClass_closure4, A.legacyColorClass_closure5, A.legacyColorClass_closure6, A.legacyColorClass_closure7, A._parseFunctions_closure0, A.ComplexSelector_specificity_closure0, A.CompoundSelector_specificity_closure0, A._EvaluateVisitor__closure7, A._EvaluateVisitor__closure8, A._EvaluateVisitor_visitForwardRule_closure3, A._EvaluateVisitor_visitForwardRule_closure4, A._EvaluateVisitor_visitUseRule_closure1, A._EvaluateVisitor__evaluateArguments_closure9, A._EvaluateVisitor__evaluateMacroArguments_closure9, A._EvaluateVisitor__addRestMap_closure1, A.ExtensionStore_clone_closure0, A._weaveParents_closure7, A.paths_closure0, A.IfRule_toString_closure0, A.main_closure, A.main_closure0, A.render_closure1, A._parseFunctions_closure, A.listClass__closure0, A.legacyListClass_closure0, A.legacyListClass_closure3, A.mapClass__closure1, A.legacyMapClass_closure0, A.legacyMapClass_closure1, A.numberClass__closure10, A.numberClass__closure11, A.legacyNumberClass_closure1, A.legacyNumberClass_closure3, A.SassNumber_plus_closure0, A.SassNumber_minus_closure0, A.SassNumber__canonicalMultiplier_closure0, A.JSClassExtension_get_defineStaticMethod_closure, A.JSClassExtension_get_defineMethod_closure, A.JSClassExtension_get_defineGetter_closure, 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__closure16]);
  115994. _inherit(A.CastList, A._CastListBase);
  115995. _inheritMany(A.MapBase, [A.CastMap, A.JsLinkedHashMap, A._HashMap, A.UnmodifiableMapBase, A.MergedMapView, A.MergedMapView0]);
  115996. _inheritMany(A.Error, [A.LateError, A.TypeError, A.JsNoSuchMethodError, A.UnknownJsTypeError, A._CyclicInitializationError, A.RuntimeError, A._Error, A.JsonUnsupportedObjectError, A.AssertionError, A.ArgumentError, A.NoSuchMethodError, A.UnsupportedError, A.UnimplementedError, A.StateError, A.ConcurrentModificationError]);
  115997. _inherit(A.UnmodifiableListBase, A.ListBase);
  115998. _inheritMany(A.UnmodifiableListBase, [A.CodeUnits, A.UnmodifiableListView]);
  115999. _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__chainCoreFutureAsync_closure, A._Future__asyncCompleteWithValue_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._isStrictMode_closure, A.ReplAdapter_runAsync_closure, A.ParsedPath__splitExtension_closure0, A.ListExpression__elementNeedsParens_closure, A.Interpolation_asPlain_closure, A.Interpolation_asPlain_closure0, A.Interpolation_initialPlain_closure, A.ComplexSelector_singleCompound_closure, A.ComplexSelector_withAdditionalCombinators_closure, A.ComplexSelector_concatenate_closure, A.SelectorList__resolveParentSelectorsCompound__closure, A.PseudoSelector_specificity_closure, A.UniversalSelector_unify_closure, A.UniversalSelector_unify_closure0, A.AsyncEnvironment_setVariable_closure, A.AsyncEnvironment_setVariable_closure1, A.AsyncImportCache_canonicalize_closure, A.AsyncImportCache_canonicalize_closure0, A.AsyncImportCache__canonicalize_closure, A.AsyncImportCache__canonicalize__closure, A.AsyncImportCache__canonicalize_closure0, A.AsyncImportCache_importCanonical_closure, A.Environment_setVariable_closure, A.Environment_setVariable_closure1, A.compileStylesheets_closure, A.ExecutableOptions__parser_closure, A.ExecutableOptions__parser__closure, A.ExecutableOptions__parser__closure0, A.ExecutableOptions_interactive_closure, A.ExecutableOptions_fatalDeprecations_closure, A._Watcher__debounceEvents__closure, A._Watcher__debounceEvents__closure0, A._Watcher__debounceEvents__closure1, A.ExtensionStore__registerSelector_closure, A.ExtensionStore__registerSelector_closure0, A.ExtensionStore_addExtension_closure, A.ExtensionStore_addExtension_closure0, A.ExtensionStore_addExtension_closure1, A.ExtensionStore__simpleSelectors_closure, A.ExtensionStore__extendExistingExtensions_closure, A.ExtensionStore__extendExistingExtensions_closure0, A.ExtensionStore_addExtensions_closure, A.unifyComplex_closure, A.unifyComplex_closure0, A._namespaceAndName_closure, A._weaveParents_closure, A._weaveParents_closure0, A._mergeLeadingCombinators_closure, A._mergeLeadingCombinators_closure0, A._mergeLeadingCombinators_closure1, A._mergeLeadingCombinators_closure2, A._mergeTrailingCombinators_closure, A._mergeTrailingCombinators_closure0, A._mergeTrailingCombinators_closure1, A._mergeTrailingCombinators_closure2, A._mergeTrailingCombinators_closure3, A._mergeTrailingCombinators_closure4, A._mergeTrailingCombinators_closure6, A._mergeTrailingCombinators_closure7, A._mergeTrailingCombinators_closure5, A._mergeTrailingCombinators_closure8, A._chunks_closure, A._chunks_closure0, A._chunks_closure1, A._chunks_closure2, A.compoundIsSuperselector_closure, A.compoundIsSuperselector_closure0, A._selectorPseudoIsSuperselector___closure, A._parseChannels_closure, A._parseChannels_closure1, A._join__closure, A._join__closure0, A._join__closure1, A._set__closure, A._merge__closure, A._deepMergeImpl_closure, A._deepMergeImpl_closure0, A.local__closure, A._prependParent_closure, A._prependParent_closure0, A.ImportCache_canonicalize_closure, A.ImportCache_canonicalize_closure0, A.ImportCache__canonicalize_closure, A.ImportCache__canonicalize__closure, A.ImportCache__canonicalize_closure0, A.ImportCache_importCanonical_closure, A.resolveImportPath_closure, A.resolveImportPath_closure0, A._tryPathAsDirectory_closure, A._exactlyOne_closure, A.InterpolationBuffer_addInterpolation_closure, A.InterpolationMap_mapSpan_closure, A.InterpolationMap_mapSpan_closure0, 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.DeprecationHandlingLogger_warnForDeprecation_closure, A.DeprecationHandlingLogger_warnForDeprecation_closure0, A.AtRootQueryParser_parse_closure, A.KeyframeSelectorParser_parse_closure, A.MediaQueryParser_parse_closure, A.Parser__parseIdentifier_closure, A.Parser_spanFrom_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__expression_closure, A.StylesheetParser__expression_closure0, A.StylesheetParser__expression_closure1, A.StylesheetParser_expressionUntilComma_closure, A.StylesheetParser__isHexColor_closure, A.StylesheetParser_identifierLike_closure, A.StylesheetParser_identifierLike_closure0, A.StylesheetParser_namespacedExpression_closure, A.StylesheetParser__tryUrlContents_closure, A.StylesheetParser__interpolatedDeclarationValue_closure, A.StylesheetParser__interpolatedDeclarationValue_closure0, A.StylesheetParser__interpolatedDeclarationValue_closure1, A.StylesheetParser__interpolatedDeclarationValue_closure2, A.StylesheetParser__interpolatedDeclarationValue_closure3, A.StylesheetParser__expressionUntilComparison_closure, A.StylesheetParser__supportsConditionInParens_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.MultiDirWatcher_watch_closure, A.SassCalculation_sign_closure, A.SassCalculation_round_closure, A.SassCalculation_round_closure0, A.SassCalculation_round_closure1, A.SassCalculation_round_closure2, A.SassCalculation_round_closure3, A.SassCalculation_round_closure4, A.SassCalculation_round_closure5, A.SassCalculation_round_closure6, A.SassCalculation_round_closure7, A.SassCalculation_round_closure8, A.SassCalculation__roundWithStep_closure0, A.SassCalculation__roundWithStep_closure, A.SassCalculation__roundWithStep_closure1, A.SassCalculation__roundWithStep_closure2, A.SassCalculation__roundWithStep_closure3, A.SassCalculation__roundWithStep_closure4, A.SassCalculation__roundWithStep_closure5, A.SassCalculation__simplify_closure, A.SassCalculation__simplify_closure0, A.SassCalculation__simplify_closure1, A.SassCalculation__simplify_closure2, A.SassNumber_SassNumber$withUnits_closure0, A.SassNumber_SassNumber$withUnits_closure, A.SassNumber_SassNumber$withUnits_closure1, A.SassNumber_SassNumber$withUnits_closure2, A.SassNumber_SassNumber$withUnits_closure4, A.SassNumber_SassNumber$withUnits_closure3, A.SassNumber_SassNumber$withUnits_closure5, A.SassNumber_SassNumber$withUnits_closure6, A.SassNumber_SassNumber$withUnits_closure7, A.SassNumber_SassNumber$withUnits_closure8, A.SassNumber__coerceOrConvertValue_compatibilityException, A.SassNumber__coerceOrConvertValue_closure0, A.SassNumber__coerceOrConvertValue_closure2, A.SassNumber_multiplyUnits_closure, A.SassNumber_multiplyUnits_closure0, A.SassNumber_multiplyUnits_closure1, A.SassNumber_multiplyUnits_closure2, A.SassNumber_multiplyUnits_closure3, A.SassNumber_multiplyUnits_closure4, A.SassNumber_multiplyUnits_closure5, A.SassNumber_multiplyUnits_closure6, A.SassNumber_multiplyUnits_closure8, A.SassNumber_multiplyUnits_closure10, A.SassNumber__unitString_closure, A.SassNumber__unitString_closure0, A.SassNumber__unitString_closure1, A.SassNumber__unitString_closure2, A.SingleUnitSassNumber_multiplyUnits_closure0, A._EvaluateVisitor__closure6, A._EvaluateVisitor__closure5, A._EvaluateVisitor_run_closure0, A._EvaluateVisitor_run__closure0, A._EvaluateVisitor__loadModule_closure1, A._EvaluateVisitor__loadModule_closure2, A._EvaluateVisitor__loadModule__closure2, A._EvaluateVisitor__execute_closure0, A._EvaluateVisitor__extendModules_closure2, A._EvaluateVisitor_visitAtRootRule_closure1, A._EvaluateVisitor_visitAtRootRule_closure2, A._EvaluateVisitor__scopeForAtRoot__closure0, A._EvaluateVisitor_visitContentRule_closure0, A._EvaluateVisitor_visitDeclaration_closure0, A._EvaluateVisitor_visitEachRule_closure4, 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__registerCommentsForModule_closure0, A._EvaluateVisitor_visitIfRule__closure0, A._EvaluateVisitor__visitDynamicImport_closure0, A._EvaluateVisitor__visitDynamicImport__closure6, A._EvaluateVisitor__applyMixin_closure3, A._EvaluateVisitor__applyMixin__closure2, A._EvaluateVisitor__applyMixin_closure2, A._EvaluateVisitor__applyMixin_closure4, A._EvaluateVisitor__applyMixin__closure1, A._EvaluateVisitor__applyMixin___closure0, A._EvaluateVisitor__applyMixin____closure0, A._EvaluateVisitor_visitIncludeRule_closure2, A._EvaluateVisitor_visitIncludeRule_closure4, A._EvaluateVisitor_visitMediaRule_closure3, A._EvaluateVisitor_visitMediaRule__closure0, A._EvaluateVisitor_visitMediaRule___closure0, A._EvaluateVisitor_visitStyleRule_closure4, A._EvaluateVisitor_visitStyleRule_closure6, A._EvaluateVisitor_visitStyleRule__closure0, A._EvaluateVisitor_visitSupportsRule_closure1, A._EvaluateVisitor_visitSupportsRule__closure0, A._EvaluateVisitor__visitSupportsCondition_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__slash_closure1, A._EvaluateVisitor__slash_closure2, A._EvaluateVisitor_visitVariableExpression_closure0, A._EvaluateVisitor_visitUnaryOperationExpression_closure0, A._EvaluateVisitor_visitFunctionExpression_closure2, A._EvaluateVisitor_visitFunctionExpression_closure4, A._EvaluateVisitor__visitCalculationExpression_closure0, A._EvaluateVisitor__checkAdjacentCalculationValues_closure0, A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0, A._EvaluateVisitor__runUserDefinedCallable_closure0, A._EvaluateVisitor__runUserDefinedCallable__closure0, A._EvaluateVisitor__runUserDefinedCallable___closure0, A._EvaluateVisitor__runFunctionCallable_closure0, A._EvaluateVisitor__runBuiltInCallable_closure2, A._EvaluateVisitor__runBuiltInCallable_closure3, 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_closure2, A._EvaluateVisitor_visitCssStyleRule__closure0, A._EvaluateVisitor_visitCssStyleRule_closure4, A._EvaluateVisitor_visitCssSupportsRule_closure1, A._EvaluateVisitor_visitCssSupportsRule__closure0, A._EvaluateVisitor__serialize_closure0, A._EvaluateVisitor__expressionNode_closure0, A._EvaluateVisitor__closure2, A._EvaluateVisitor__closure1, A._EvaluateVisitor_run_closure, A._EvaluateVisitor_run__closure, A._EvaluateVisitor_runExpression_closure, A._EvaluateVisitor_runExpression__closure, A._EvaluateVisitor_runExpression___closure, A._EvaluateVisitor_runStatement_closure, A._EvaluateVisitor_runStatement__closure, A._EvaluateVisitor_runStatement___closure, A._EvaluateVisitor__loadModule_closure, A._EvaluateVisitor__loadModule_closure0, A._EvaluateVisitor__loadModule__closure0, A._EvaluateVisitor__execute_closure, A._EvaluateVisitor__extendModules_closure0, A._EvaluateVisitor_visitAtRootRule_closure, A._EvaluateVisitor_visitAtRootRule_closure0, A._EvaluateVisitor__scopeForAtRoot__closure, A._EvaluateVisitor_visitContentRule_closure, A._EvaluateVisitor_visitDeclaration_closure, A._EvaluateVisitor_visitEachRule_closure1, 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__registerCommentsForModule_closure, A._EvaluateVisitor_visitIfRule__closure, A._EvaluateVisitor__visitDynamicImport_closure, A._EvaluateVisitor__visitDynamicImport__closure2, A._EvaluateVisitor__applyMixin_closure0, A._EvaluateVisitor__applyMixin__closure0, A._EvaluateVisitor__applyMixin_closure, A._EvaluateVisitor__applyMixin_closure1, A._EvaluateVisitor__applyMixin__closure, A._EvaluateVisitor__applyMixin___closure, A._EvaluateVisitor__applyMixin____closure, A._EvaluateVisitor_visitIncludeRule_closure, A._EvaluateVisitor_visitIncludeRule_closure1, A._EvaluateVisitor_visitMediaRule_closure0, A._EvaluateVisitor_visitMediaRule__closure, A._EvaluateVisitor_visitMediaRule___closure, A._EvaluateVisitor_visitStyleRule_closure, A._EvaluateVisitor_visitStyleRule_closure1, A._EvaluateVisitor_visitStyleRule__closure, A._EvaluateVisitor_visitSupportsRule_closure, A._EvaluateVisitor_visitSupportsRule__closure, A._EvaluateVisitor__visitSupportsCondition_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__slash_closure, A._EvaluateVisitor__slash_closure0, A._EvaluateVisitor_visitVariableExpression_closure, A._EvaluateVisitor_visitUnaryOperationExpression_closure, A._EvaluateVisitor_visitFunctionExpression_closure, A._EvaluateVisitor_visitFunctionExpression_closure1, A._EvaluateVisitor__visitCalculationExpression_closure, A._EvaluateVisitor__checkAdjacentCalculationValues_closure, 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__runBuiltInCallable_closure0, 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_visitCssStyleRule_closure1, A._EvaluateVisitor_visitCssSupportsRule_closure, A._EvaluateVisitor_visitCssSupportsRule__closure, A._EvaluateVisitor__serialize_closure, A._EvaluateVisitor__expressionNode_closure, A._FindDependenciesVisitor_visitIncludeRule_closure, A._FindDependenciesVisitor_visitIncludeRule_closure0, 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__writeCalculationValue_closure, A._SerializeVisitor__visitQuotedString_closure, A._SerializeVisitor__visitQuotedString_closure0, A._SerializeVisitor_visitPseudoSelector_closure, 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.JSToDartAsyncImporter_canonicalize_closure, A.JSToDartAsyncImporter_load_closure, A.AsyncEnvironment_setVariable_closure2, A.AsyncEnvironment_setVariable_closure4, A._EvaluateVisitor__closure14, A._EvaluateVisitor__closure13, A._EvaluateVisitor_run_closure2, A._EvaluateVisitor_run__closure2, A._EvaluateVisitor__loadModule_closure5, A._EvaluateVisitor__loadModule_closure6, A._EvaluateVisitor__loadModule__closure6, A._EvaluateVisitor__execute_closure2, A._EvaluateVisitor__extendModules_closure6, A._EvaluateVisitor_visitAtRootRule_closure5, A._EvaluateVisitor_visitAtRootRule_closure6, A._EvaluateVisitor__scopeForAtRoot__closure2, A._EvaluateVisitor_visitContentRule_closure2, A._EvaluateVisitor_visitDeclaration_closure2, A._EvaluateVisitor_visitEachRule_closure10, 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__registerCommentsForModule_closure2, A._EvaluateVisitor_visitIfRule__closure2, A._EvaluateVisitor__visitDynamicImport_closure2, A._EvaluateVisitor__visitDynamicImport__closure14, A._EvaluateVisitor__applyMixin_closure9, A._EvaluateVisitor__applyMixin__closure6, A._EvaluateVisitor__applyMixin_closure8, A._EvaluateVisitor__applyMixin_closure10, A._EvaluateVisitor__applyMixin__closure5, A._EvaluateVisitor__applyMixin___closure2, A._EvaluateVisitor__applyMixin____closure2, A._EvaluateVisitor_visitIncludeRule_closure8, A._EvaluateVisitor_visitIncludeRule_closure10, A._EvaluateVisitor_visitMediaRule_closure9, A._EvaluateVisitor_visitMediaRule__closure2, A._EvaluateVisitor_visitMediaRule___closure2, A._EvaluateVisitor_visitStyleRule_closure14, A._EvaluateVisitor_visitStyleRule_closure16, A._EvaluateVisitor_visitStyleRule__closure2, A._EvaluateVisitor_visitSupportsRule_closure5, A._EvaluateVisitor_visitSupportsRule__closure2, A._EvaluateVisitor__visitSupportsCondition_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__slash_closure5, A._EvaluateVisitor__slash_closure6, A._EvaluateVisitor_visitVariableExpression_closure2, A._EvaluateVisitor_visitUnaryOperationExpression_closure2, A._EvaluateVisitor_visitFunctionExpression_closure8, A._EvaluateVisitor_visitFunctionExpression_closure10, A._EvaluateVisitor__visitCalculationExpression_closure2, A._EvaluateVisitor__checkAdjacentCalculationValues_closure2, A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2, A._EvaluateVisitor__runUserDefinedCallable_closure2, A._EvaluateVisitor__runUserDefinedCallable__closure2, A._EvaluateVisitor__runUserDefinedCallable___closure2, A._EvaluateVisitor__runFunctionCallable_closure2, A._EvaluateVisitor__runBuiltInCallable_closure8, A._EvaluateVisitor__runBuiltInCallable_closure9, 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_closure8, A._EvaluateVisitor_visitCssStyleRule__closure2, A._EvaluateVisitor_visitCssStyleRule_closure10, A._EvaluateVisitor_visitCssSupportsRule_closure5, A._EvaluateVisitor_visitCssSupportsRule__closure2, A._EvaluateVisitor__serialize_closure2, A._EvaluateVisitor__expressionNode_closure2, A.JSToDartAsyncFileImporter_canonicalize_closure, A.AsyncImportCache_canonicalize_closure1, A.AsyncImportCache_canonicalize_closure2, A.AsyncImportCache__canonicalize_closure1, A.AsyncImportCache__canonicalize__closure0, A.AsyncImportCache__canonicalize_closure2, A.AsyncImportCache_importCanonical_closure0, A.AtRootQueryParser_parse_closure0, A.booleanClass_closure, A.legacyBooleanClass_closure, A.calculationClass_closure, A.calculationOperationClass_closure, A.calculationInterpolationClass_closure, A.SassCalculation_sign_closure0, A.SassCalculation_round_closure9, A.SassCalculation_round_closure10, A.SassCalculation_round_closure11, A.SassCalculation_round_closure12, A.SassCalculation_round_closure13, A.SassCalculation_round_closure14, A.SassCalculation_round_closure15, A.SassCalculation_round_closure16, A.SassCalculation_round_closure17, A.SassCalculation_round_closure18, A.SassCalculation__roundWithStep_closure7, A.SassCalculation__roundWithStep_closure6, A.SassCalculation__roundWithStep_closure8, A.SassCalculation__roundWithStep_closure9, A.SassCalculation__roundWithStep_closure10, A.SassCalculation__roundWithStep_closure11, A.SassCalculation__roundWithStep_closure12, A.SassCalculation__simplify_closure3, A.SassCalculation__simplify_closure4, A.SassCalculation__simplify_closure5, A.SassCalculation__simplify_closure6, A._parseChannels_closure2, A._parseChannels_closure4, A.colorClass_closure, A.compileAsync_closure, A.compileStringAsync_closure, A._simplifyValue_closure, A._simplifyValue_closure0, A._simplifyValue_closure1, A._simplifyValue_closure2, A._simplifyValue_closure3, A._simplifyValue_closure4, A._parseFunctions___closure6, A._parseFunctions___closure5, A.ComplexSelector_singleCompound_closure0, A.ComplexSelector_withAdditionalCombinators_closure0, A.ComplexSelector_concatenate_closure0, A.DeprecationHandlingLogger_warnForDeprecation_closure1, A.DeprecationHandlingLogger_warnForDeprecation_closure2, A.Environment_setVariable_closure2, A.Environment_setVariable_closure4, A._EvaluateVisitor__closure10, A._EvaluateVisitor__closure9, A._EvaluateVisitor_run_closure1, A._EvaluateVisitor_run__closure1, A._EvaluateVisitor__loadModule_closure3, A._EvaluateVisitor__loadModule_closure4, A._EvaluateVisitor__loadModule__closure4, A._EvaluateVisitor__execute_closure1, A._EvaluateVisitor__extendModules_closure4, A._EvaluateVisitor_visitAtRootRule_closure3, A._EvaluateVisitor_visitAtRootRule_closure4, A._EvaluateVisitor__scopeForAtRoot__closure1, A._EvaluateVisitor_visitContentRule_closure1, A._EvaluateVisitor_visitDeclaration_closure1, A._EvaluateVisitor_visitEachRule_closure7, 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__registerCommentsForModule_closure1, A._EvaluateVisitor_visitIfRule__closure1, A._EvaluateVisitor__visitDynamicImport_closure1, A._EvaluateVisitor__visitDynamicImport__closure10, A._EvaluateVisitor__applyMixin_closure6, A._EvaluateVisitor__applyMixin__closure4, A._EvaluateVisitor__applyMixin_closure5, A._EvaluateVisitor__applyMixin_closure7, A._EvaluateVisitor__applyMixin__closure3, A._EvaluateVisitor__applyMixin___closure1, A._EvaluateVisitor__applyMixin____closure1, A._EvaluateVisitor_visitIncludeRule_closure5, A._EvaluateVisitor_visitIncludeRule_closure7, A._EvaluateVisitor_visitMediaRule_closure6, A._EvaluateVisitor_visitMediaRule__closure1, A._EvaluateVisitor_visitMediaRule___closure1, A._EvaluateVisitor_visitStyleRule_closure9, A._EvaluateVisitor_visitStyleRule_closure11, A._EvaluateVisitor_visitStyleRule__closure1, A._EvaluateVisitor_visitSupportsRule_closure3, A._EvaluateVisitor_visitSupportsRule__closure1, A._EvaluateVisitor__visitSupportsCondition_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__slash_closure3, A._EvaluateVisitor__slash_closure4, A._EvaluateVisitor_visitVariableExpression_closure1, A._EvaluateVisitor_visitUnaryOperationExpression_closure1, A._EvaluateVisitor_visitFunctionExpression_closure5, A._EvaluateVisitor_visitFunctionExpression_closure7, A._EvaluateVisitor__visitCalculationExpression_closure1, A._EvaluateVisitor__checkAdjacentCalculationValues_closure1, A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1, A._EvaluateVisitor__runUserDefinedCallable_closure1, A._EvaluateVisitor__runUserDefinedCallable__closure1, A._EvaluateVisitor__runUserDefinedCallable___closure1, A._EvaluateVisitor__runFunctionCallable_closure1, A._EvaluateVisitor__runBuiltInCallable_closure5, A._EvaluateVisitor__runBuiltInCallable_closure6, 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_closure5, A._EvaluateVisitor_visitCssStyleRule__closure1, A._EvaluateVisitor_visitCssStyleRule_closure7, A._EvaluateVisitor_visitCssSupportsRule_closure3, A._EvaluateVisitor_visitCssSupportsRule__closure1, A._EvaluateVisitor__serialize_closure1, A._EvaluateVisitor__expressionNode_closure1, A.exceptionClass_closure, A.ExtensionStore__registerSelector_closure1, A.ExtensionStore__registerSelector_closure2, A.ExtensionStore_addExtension_closure2, A.ExtensionStore_addExtension_closure3, A.ExtensionStore_addExtension_closure4, A.ExtensionStore__simpleSelectors_closure0, A.ExtensionStore__extendExistingExtensions_closure1, A.ExtensionStore__extendExistingExtensions_closure2, A.ExtensionStore_addExtensions_closure0, A.JSToDartFileImporter_canonicalize_closure, A.functionClass_closure, A.unifyComplex_closure2, A.unifyComplex_closure3, A._namespaceAndName_closure0, A._weaveParents_closure5, A._weaveParents_closure6, A._mergeLeadingCombinators_closure3, A._mergeLeadingCombinators_closure4, A._mergeLeadingCombinators_closure5, A._mergeLeadingCombinators_closure6, A._mergeTrailingCombinators_closure9, A._mergeTrailingCombinators_closure10, A._mergeTrailingCombinators_closure11, A._mergeTrailingCombinators_closure12, A._mergeTrailingCombinators_closure13, A._mergeTrailingCombinators_closure14, A._mergeTrailingCombinators_closure16, A._mergeTrailingCombinators_closure17, A._mergeTrailingCombinators_closure15, A._mergeTrailingCombinators_closure18, A._chunks_closure3, A._chunks_closure4, A._chunks_closure5, A._chunks_closure6, A.compoundIsSuperselector_closure1, A.compoundIsSuperselector_closure2, A._selectorPseudoIsSuperselector___closure2, A.NodeImporter_load_closure, A.NodeImporter__tryPath_closure, A.NodeImporter__callImporterAsync_closure, A.ImportCache_canonicalize_closure1, A.ImportCache_canonicalize_closure2, A.ImportCache__canonicalize_closure1, A.ImportCache__canonicalize__closure0, A.ImportCache__canonicalize_closure2, A.ImportCache_importCanonical_closure0, A.Interpolation_asPlain_closure1, A.Interpolation_asPlain_closure2, A.Interpolation_initialPlain_closure0, A.InterpolationBuffer_addInterpolation_closure0, A.InterpolationMap_mapSpan_closure1, A.InterpolationMap_mapSpan_closure2, A._realCasePath_helper_closure0, A._readFile_closure0, A.fileExists_closure0, A.dirExists_closure0, A.listDir_closure0, A.JSToDartLogger_warn_closure, A.JSToDartLogger_debug_closure, A.KeyframeSelectorParser_parse_closure0, A.render_closure, A._parseFunctions____closure, A._parseFunctions___closure3, A._parseFunctions___closure4, A._parseFunctions___closure1, A._parseFunctions___closure0, A._parseImporter____closure, A._parseImporter___closure0, A.ListExpression__elementNeedsParens_closure0, A._join__closure2, A._join__closure3, A._join__closure4, A.SelectorList__resolveParentSelectorsCompound__closure0, A.listClass_closure, A._set__closure2, A._merge__closure1, A._deepMergeImpl_closure1, A._deepMergeImpl_closure2, A.mapClass_closure, A.MediaQueryParser_parse_closure0, A.local__closure1, A.mixinClass_closure, A.legacyNullClass_closure, A.numberClass_closure, A.SassNumber_SassNumber$withUnits_closure10, A.SassNumber_SassNumber$withUnits_closure9, A.SassNumber_SassNumber$withUnits_closure11, A.SassNumber_SassNumber$withUnits_closure12, A.SassNumber_SassNumber$withUnits_closure14, A.SassNumber_SassNumber$withUnits_closure13, A.SassNumber_SassNumber$withUnits_closure15, A.SassNumber_SassNumber$withUnits_closure16, A.SassNumber_SassNumber$withUnits_closure17, A.SassNumber_SassNumber$withUnits_closure18, A.SassNumber__coerceOrConvertValue_compatibilityException0, A.SassNumber__coerceOrConvertValue_closure4, A.SassNumber__coerceOrConvertValue_closure6, A.SassNumber_multiplyUnits_closure11, A.SassNumber_multiplyUnits_closure12, A.SassNumber_multiplyUnits_closure13, A.SassNumber_multiplyUnits_closure14, A.SassNumber_multiplyUnits_closure15, A.SassNumber_multiplyUnits_closure16, A.SassNumber_multiplyUnits_closure17, A.SassNumber_multiplyUnits_closure18, A.SassNumber_multiplyUnits_closure20, A.SassNumber_multiplyUnits_closure22, A.SassNumber__unitString_closure3, A.SassNumber__unitString_closure4, A.SassNumber__unitString_closure5, A.SassNumber__unitString_closure6, A.Parser__parseIdentifier_closure0, A.Parser_spanFrom_closure0, A.PseudoSelector_specificity_closure0, A.SassParser_children_closure0, A._prependParent_closure1, A._prependParent_closure2, 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__writeCalculationValue_closure0, A._SerializeVisitor__visitQuotedString_closure1, A._SerializeVisitor__visitQuotedString_closure2, A._SerializeVisitor_visitPseudoSelector_closure0, A._SerializeVisitor__write_closure0, A._SerializeVisitor__visitChildren_closure1, A._SerializeVisitor__visitChildren_closure2, A.SingleUnitSassNumber_multiplyUnits_closure2, A.updateSourceSpanPrototype_closure, 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__expression_closure2, A.StylesheetParser__expression_closure3, A.StylesheetParser__expression_closure4, A.StylesheetParser_expressionUntilComma_closure0, A.StylesheetParser__isHexColor_closure1, A.StylesheetParser_identifierLike_closure1, A.StylesheetParser_identifierLike_closure2, A.StylesheetParser_namespacedExpression_closure0, A.StylesheetParser__tryUrlContents_closure0, A.StylesheetParser__interpolatedDeclarationValue_closure4, A.StylesheetParser__interpolatedDeclarationValue_closure5, A.StylesheetParser__interpolatedDeclarationValue_closure6, A.StylesheetParser__interpolatedDeclarationValue_closure7, A.StylesheetParser__interpolatedDeclarationValue_closure8, A.StylesheetParser__expressionUntilComparison_closure0, A.StylesheetParser__supportsConditionInParens_closure0, A.StylesheetParser__publicIdentifier_closure0, A.JSToDartImporter_canonicalize_closure, A.JSToDartImporter_load_closure, A.UniversalSelector_unify_closure1, A.UniversalSelector_unify_closure2, A.resolveImportPath_closure1, A.resolveImportPath_closure2, A._tryPathAsDirectory_closure0, A._exactlyOne_closure1, A.valueClass_closure]);
  116000. _inheritMany(A.EfficientLengthIterable, [A.ListIterable, A.EmptyIterable, A.LinkedHashMapKeyIterable, A._HashMapKeyIterable, A._MapBaseValueIterable]);
  116001. _inheritMany(A.ListIterable, [A.SubListIterable, A.MappedListIterable, A.ReversedListIterable, A.ListQueue, A._GeneratorIterable]);
  116002. _inherit(A.EfficientLengthMappedIterable, A.MappedIterable);
  116003. _inherit(A.EfficientLengthTakeIterable, A.TakeIterable);
  116004. _inherit(A.EfficientLengthSkipIterable, A.SkipIterable);
  116005. _inherit(A.EfficientLengthFollowedByIterable, A.FollowedByIterable);
  116006. _inheritMany(A._Record, [A._Record2, A._Record3, A._RecordN]);
  116007. _inheritMany(A._Record2, [A._Record_2, A._Record_2_forImport, A._Record_2_imports_modules, A._Record_2_loadedUrls_stylesheet, A._Record_2_sourceMap]);
  116008. _inheritMany(A._Record3, [A._Record_3, A._Record_3_importer_isDependency, A._Record_3_originalUrl]);
  116009. _inheritMany(A._RecordN, [A._Record_4, A._Record_4_baseImporter_baseUrl_forImport, A._Record_5_named_namedNodes_positional_positionalNodes_separator]);
  116010. _inheritMany(A.MapView, [A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A.PathMap]);
  116011. _inherit(A.UnmodifiableMapView, A._UnmodifiableMapView_MapView__UnmodifiableMapMixin);
  116012. _inherit(A.ConstantMapView, A.UnmodifiableMapView);
  116013. _inherit(A.ConstantStringMap, A.ConstantMap);
  116014. _inheritMany(A.SetBase, [A.ConstantSet, A._SetBase, A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin, A._UnionSet_SetBase_UnmodifiableSetMixin]);
  116015. _inheritMany(A.ConstantSet, [A.ConstantStringSet, A.GeneralConstantSet]);
  116016. _inherit(A.Instantiation1, A.Instantiation);
  116017. _inherit(A.NullError, A.TypeError);
  116018. _inheritMany(A.TearOffClosure, [A.StaticClosure, A.BoundClosure]);
  116019. _inheritMany(A.JsLinkedHashMap, [A.JsIdentityLinkedHashMap, A.JsConstantLinkedHashMap, A._LinkedCustomHashMap]);
  116020. _inheritMany(A.NativeTypedData, [A.NativeByteData, A.NativeTypedArray]);
  116021. _inheritMany(A.NativeTypedArray, [A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]);
  116022. _inherit(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin);
  116023. _inherit(A.NativeTypedArrayOfDouble, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin);
  116024. _inherit(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin);
  116025. _inherit(A.NativeTypedArrayOfInt, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin);
  116026. _inheritMany(A.NativeTypedArrayOfDouble, [A.NativeFloat32List, A.NativeFloat64List]);
  116027. _inheritMany(A.NativeTypedArrayOfInt, [A.NativeInt16List, A.NativeInt32List, A.NativeInt8List, A.NativeUint16List, A.NativeUint32List, A.NativeUint8ClampedList, A.NativeUint8List]);
  116028. _inherit(A._TypeError, A._Error);
  116029. _inheritMany(A._Completer, [A._AsyncCompleter, A._SyncCompleter]);
  116030. _inheritMany(A._StreamController, [A._AsyncStreamController, A._SyncStreamController]);
  116031. _inheritMany(A.Stream, [A._StreamImpl, A._ForwardingStream, A._CompleterStream]);
  116032. _inherit(A._ControllerStream, A._StreamImpl);
  116033. _inheritMany(A._BufferingStreamSubscription, [A._ControllerSubscription, A._ForwardingStreamSubscription]);
  116034. _inherit(A._StreamControllerAddStreamState, A._AddStreamState);
  116035. _inheritMany(A._DelayedEvent, [A._DelayedData, A._DelayedError]);
  116036. _inherit(A._ExpandStream, A._ForwardingStream);
  116037. _inheritMany(A._Zone, [A._CustomZone, A._RootZone]);
  116038. _inherit(A._IdentityHashMap, A._HashMap);
  116039. _inherit(A._LinkedHashSet, A._SetBase);
  116040. _inherit(A._LinkedIdentityHashSet, A._LinkedHashSet);
  116041. _inherit(A.UnmodifiableSetView, A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin);
  116042. _inheritMany(A.Codec, [A.Encoding, A.Base64Codec, A.JsonCodec]);
  116043. _inheritMany(A.Encoding, [A.AsciiCodec, A.Utf8Codec]);
  116044. _inheritMany(A.Converter, [A._UnicodeSubsetEncoder, A.Base64Encoder, A.JsonEncoder, A.Utf8Encoder, A.Utf8Decoder]);
  116045. _inherit(A.AsciiEncoder, A._UnicodeSubsetEncoder);
  116046. _inheritMany(A.ByteConversionSink, [A._Base64EncoderSink, A._Utf8StringSinkAdapter]);
  116047. _inherit(A._Utf8Base64EncoderSink, A._Base64EncoderSink);
  116048. _inherit(A.JsonCyclicError, A.JsonUnsupportedObjectError);
  116049. _inherit(A._JsonStringStringifier, A._JsonStringifier);
  116050. _inherit(A._StringSinkConversionSink, A.StringConversionSink);
  116051. _inherit(A._StringCallbackSink, A._StringSinkConversionSink);
  116052. _inheritMany(A.ArgumentError, [A.RangeError, A.IndexError]);
  116053. _inherit(A._DataUri, A._Uri);
  116054. _inherit(A.ArgParserException, A.FormatException);
  116055. _inherit(A.EmptyUnmodifiableSet, A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin);
  116056. _inherit(A.QueueList, A._QueueList_Object_ListMixin);
  116057. _inherit(A._CastQueueList, A.QueueList);
  116058. _inherit(A.UnionSet, A._UnionSet_SetBase_UnmodifiableSetMixin);
  116059. _inheritMany(A._DelegatingIterableBase, [A.DelegatingSet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin]);
  116060. _inherit(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.DelegatingSet);
  116061. _inherit(A.UnmodifiableSetView0, A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin);
  116062. _inherit(A.MapKeySet, A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin);
  116063. _inheritMany(A.NodeJsError, [A.JsAssertionError, A.JsRangeError, A.JsReferenceError, A.JsSyntaxError, A.JsTypeError, A.JsSystemError]);
  116064. _inheritMany(A.Socket, [A.TTYReadStream, A.TTYWriteStream]);
  116065. _inherit(A.InternalStyle, A.Style);
  116066. _inheritMany(A.InternalStyle, [A.PosixStyle, A.UrlStyle, A.WindowsStyle]);
  116067. _inheritMany(A._Enum, [A._SingletonCssMediaQueryMergeResult, A.BinaryOperator, A.UnaryOperator, A.AttributeOperator, A.Combinator, A.Deprecation, A.ExtendMode, A.Syntax, A.CalculationOperator, A.ListSeparator, A.OutputStyle, A.LineFeed, A.AttributeOperator0, A.BinaryOperator0, A.CalculationOperator0, A.Combinator0, A.Deprecation0, A.ListSeparator0, A._SingletonCssMediaQueryMergeResult0, A.ExtendMode0, A.OutputStyle0, A.LineFeed0, A.Syntax0, A.UnaryOperator0]);
  116068. _inheritMany(A.CssNode, [A.ModifiableCssNode, A.CssParentNode]);
  116069. _inheritMany(A.ModifiableCssNode, [A.ModifiableCssParentNode, A.ModifiableCssComment, A.ModifiableCssDeclaration, A.ModifiableCssImport]);
  116070. _inheritMany(A.ModifiableCssParentNode, [A.ModifiableCssAtRule, A.ModifiableCssKeyframeBlock, A.ModifiableCssMediaRule, A.ModifiableCssStyleRule, A.ModifiableCssStylesheet, A.ModifiableCssSupportsRule]);
  116071. _inherit(A._IsInvisibleVisitor, A.__IsInvisibleVisitor_Object_EveryCssVisitor);
  116072. _inherit(A.CssStylesheet, A.CssParentNode);
  116073. _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]);
  116074. _inheritMany(A.CallableDeclaration, [A.ContentBlock, A.FunctionRule, A.MixinRule]);
  116075. _inheritMany(A.IfRuleClause, [A.IfClause, A.ElseClause]);
  116076. _inherit(A._HasContentVisitor, A.__HasContentVisitor_Object_StatementSearchVisitor);
  116077. _inherit(A._IsInvisibleVisitor0, A.__IsInvisibleVisitor_Object_AnySelectorVisitor);
  116078. _inherit(A._IsBogusVisitor, A.__IsBogusVisitor_Object_AnySelectorVisitor);
  116079. _inherit(A._IsUselessVisitor, A.__IsUselessVisitor_Object_AnySelectorVisitor);
  116080. _inheritMany(A.Selector, [A.SimpleSelector, A.ComplexSelector, A.CompoundSelector, A.SelectorList]);
  116081. _inheritMany(A.SimpleSelector, [A.AttributeSelector, A.ClassSelector, A.IDSelector, A.ParentSelector, A.PlaceholderSelector, A.PseudoSelector, A.TypeSelector, A.UniversalSelector]);
  116082. _inherit(A._ParentSelectorVisitor, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor);
  116083. _inherit(A.ExplicitConfiguration, A.Configuration);
  116084. _inheritMany(A.SourceSpanException, [A.SassException, A.SourceSpanFormatException, A.MultiSourceSpanException, A.SassException0]);
  116085. _inheritMany(A.SassException, [A.MultiSpanSassException, A.SassRuntimeException, A.SassFormatException]);
  116086. _inheritMany(A.MultiSpanSassException, [A.MultiSpanSassRuntimeException, A.MultiSpanSassFormatException]);
  116087. _inherit(A.MultiSpanSassScriptException, A.SassScriptException);
  116088. _inherit(A.MergedExtension, A.Extension);
  116089. _inherit(A.Importer, A.AsyncImporter);
  116090. _inheritMany(A.Importer, [A.FilesystemImporter, A.NoOpImporter]);
  116091. _inheritMany(A.Parser, [A.AtRootQueryParser, A.StylesheetParser, A.KeyframeSelectorParser, A.MediaQueryParser, A.SelectorParser]);
  116092. _inheritMany(A.StylesheetParser, [A.ScssParser, A.SassParser]);
  116093. _inherit(A.CssParser, A.ScssParser);
  116094. _inheritMany(A.UnmodifiableMapBase, [A.LimitedMapView, A.PrefixedMapView, A.PublicMemberMapView, A.UnprefixedMapView, A.LimitedMapView0, A.PrefixedMapView0, A.PublicMemberMapView0, A.UnprefixedMapView0]);
  116095. _inheritMany(A.Value, [A.SassList, A.SassBoolean, A.SassCalculation, A.SassColor, A.SassFunction, A.SassMap, A.SassMixin, A._SassNull, A.SassNumber, A.SassString]);
  116096. _inherit(A.SassArgumentList, A.SassList);
  116097. _inheritMany(A.SassNumber, [A.ComplexSassNumber, A.SingleUnitSassNumber, A.UnitlessSassNumber]);
  116098. _inherit(A._MakeExpressionCalculationSafe, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor);
  116099. _inherit(A._FindDependenciesVisitor, A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor);
  116100. _inherit(A.SingleMapping, A.Mapping);
  116101. _inherit(A.FileLocation, A.SourceLocationMixin);
  116102. _inheritMany(A.SourceSpanMixin, [A._FileSpan, A.SourceSpanBase]);
  116103. _inherit(A.MultiSourceSpanFormatException, A.MultiSourceSpanException);
  116104. _inherit(A.SourceSpanWithContext, A.SourceSpanBase);
  116105. _inherit(A.StringScannerException, A.SourceSpanFormatException);
  116106. _inheritMany(A.StringScanner, [A.LineScanner, A.SpanScanner]);
  116107. _inheritMany(A.Value0, [A.SassList0, A.SassBoolean0, A.SassCalculation0, A.SassColor0, A.SassNumber0, A.SassFunction0, A.SassMap0, A.SassMixin0, A._SassNull0, A.SassString0]);
  116108. _inherit(A.SassArgumentList0, A.SassList0);
  116109. _inheritMany(A.AsyncImporter0, [A.JSToDartAsyncImporter, A.JSToDartAsyncFileImporter, A.Importer0]);
  116110. _inheritMany(A.Parser1, [A.AtRootQueryParser0, A.StylesheetParser0, A.KeyframeSelectorParser0, A.MediaQueryParser0, A.SelectorParser0]);
  116111. _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]);
  116112. _inheritMany(A.CssNode0, [A.ModifiableCssNode0, A.CssParentNode0]);
  116113. _inheritMany(A.ModifiableCssNode0, [A.ModifiableCssParentNode0, A.ModifiableCssComment0, A.ModifiableCssDeclaration0, A.ModifiableCssImport0]);
  116114. _inheritMany(A.ModifiableCssParentNode0, [A.ModifiableCssAtRule0, A.ModifiableCssKeyframeBlock0, A.ModifiableCssMediaRule0, A.ModifiableCssStyleRule0, A.ModifiableCssStylesheet0, A.ModifiableCssSupportsRule0]);
  116115. _inheritMany(A.Selector0, [A.SimpleSelector0, A.ComplexSelector0, A.CompoundSelector0, A.SelectorList0]);
  116116. _inheritMany(A.SimpleSelector0, [A.AttributeSelector0, A.ClassSelector0, A.IDSelector0, A.ParentSelector0, A.PlaceholderSelector0, A.PseudoSelector0, A.TypeSelector0, A.UniversalSelector0]);
  116117. _inherit(A.CompileStringOptions, A.CompileOptions);
  116118. _inheritMany(A.SassNumber0, [A.ComplexSassNumber0, A.SingleUnitSassNumber0, A.UnitlessSassNumber0]);
  116119. _inherit(A.ExplicitConfiguration0, A.Configuration0);
  116120. _inheritMany(A.CallableDeclaration0, [A.ContentBlock0, A.FunctionRule0, A.MixinRule0]);
  116121. _inheritMany(A.StylesheetParser0, [A.ScssParser0, A.SassParser0]);
  116122. _inherit(A.CssParser0, A.ScssParser0);
  116123. _inherit(A._NodeException, A.JsError);
  116124. _inheritMany(A.SassException0, [A.MultiSpanSassException0, A.SassRuntimeException0, A.SassFormatException0]);
  116125. _inheritMany(A.MultiSpanSassException0, [A.MultiSpanSassRuntimeException0, A.MultiSpanSassFormatException0]);
  116126. _inherit(A.MultiSpanSassScriptException0, A.SassScriptException0);
  116127. _inherit(A._MakeExpressionCalculationSafe0, A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0);
  116128. _inheritMany(A.Importer0, [A.JSToDartFileImporter, A.FilesystemImporter0, A.NoOpImporter0, A.JSToDartImporter]);
  116129. _inheritMany(A.IfRuleClause0, [A.IfClause0, A.ElseClause0]);
  116130. _inherit(A._ParentSelectorVisitor0, A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0);
  116131. _inherit(A.MergedExtension0, A.Extension0);
  116132. _inherit(A._HasContentVisitor0, A.__HasContentVisitor_Object_StatementSearchVisitor0);
  116133. _inherit(A._IsInvisibleVisitor1, A.__IsInvisibleVisitor_Object_EveryCssVisitor0);
  116134. _inherit(A._IsInvisibleVisitor2, A.__IsInvisibleVisitor_Object_AnySelectorVisitor0);
  116135. _inherit(A._IsBogusVisitor0, A.__IsBogusVisitor_Object_AnySelectorVisitor0);
  116136. _inherit(A._IsUselessVisitor0, A.__IsUselessVisitor_Object_AnySelectorVisitor0);
  116137. _inherit(A.CssStylesheet0, A.CssParentNode0);
  116138. _mixin(A.UnmodifiableListBase, A.UnmodifiableListMixin);
  116139. _mixin(A.__CastListBase__CastIterableBase_ListMixin, A.ListBase);
  116140. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A.ListBase);
  116141. _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  116142. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListBase);
  116143. _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);
  116144. _mixin(A._AsyncStreamController, A._AsyncStreamControllerDispatch);
  116145. _mixin(A._SyncStreamController, A._SyncStreamControllerDispatch);
  116146. _mixin(A.UnmodifiableMapBase, A._UnmodifiableMapMixin);
  116147. _mixin(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A._UnmodifiableMapMixin);
  116148. _mixin(A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin, A._UnmodifiableSetMixin);
  116149. _mixin(A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  116150. _mixin(A._QueueList_Object_ListMixin, A.ListBase);
  116151. _mixin(A._UnionSet_SetBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  116152. _mixin(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  116153. _mixin(A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin, A.UnmodifiableSetMixin);
  116154. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor, A.EveryCssVisitor);
  116155. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor, A.StatementSearchVisitor);
  116156. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  116157. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  116158. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor, A.AnySelectorVisitor);
  116159. _mixin(A.__ParentSelectorVisitor_Object_SelectorSearchVisitor, A.SelectorSearchVisitor);
  116160. _mixin(A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor, A.ReplaceExpressionVisitor);
  116161. _mixin(A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor, A.RecursiveStatementVisitor);
  116162. _mixin(A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0, A.ReplaceExpressionVisitor0);
  116163. _mixin(A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0, A.SelectorSearchVisitor0);
  116164. _mixin(A.__HasContentVisitor_Object_StatementSearchVisitor0, A.StatementSearchVisitor0);
  116165. _mixin(A.__IsInvisibleVisitor_Object_EveryCssVisitor0, A.EveryCssVisitor0);
  116166. _mixin(A.__IsBogusVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  116167. _mixin(A.__IsInvisibleVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  116168. _mixin(A.__IsUselessVisitor_Object_AnySelectorVisitor0, A.AnySelectorVisitor0);
  116169. })();
  116170. var init = {
  116171. typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []},
  116172. mangledGlobalNames: {int: "int", double: "double", num: "num", String: "String", bool: "bool", Null: "Null", List: "List"},
  116173. mangledNames: {},
  116174. types: ["~()", "bool()", "Null()", "int()", "Future<Null>()", "Value0(List<Value0>)", "Value(List<Value>)", "String(String)", "bool(CssNode0)", "bool(CssNode)", "bool(String)", "bool(Object?)", "SassNumber(List<Value>)", "SassNumber0(List<Value0>)", "Object()", "bool(SimpleSelector)", "bool(SimpleSelector0)", "bool(ComplexSelector)", "SassString0(List<Value0>)", "SassString(List<Value>)", "bool(ComplexSelector0)", "String()", "SassBoolean0(List<Value0>)", "SassBoolean(List<Value>)", "JSClass0()", "Value()", "SassList0(List<Value0>)", "SassList(List<Value>)", "List<String>()", "Object?()", "String?()", "Future<~>()", "Value0()", "FileSpan()", "bool(int?)", "SassColor0(List<Value0>)", "SassColor(List<Value>)", "~(Object?)", "SassMap(List<Value>)", "SassMap0(List<Value0>)", "Null(~())", "Future<Null>(Future<~>())", "double(double)", "Value?()", "Value(Value)", "Value0(Value0)", "Value0?()", "bool(num,num)", "bool(int)", "Uri(Uri)", "bool(Value0)", "bool(ComplexSelectorComponent0)", "SassNumber(SassNumber)", "SassNumber0(SassNumber0)", "bool(ComplexSelectorComponent)", "double(SassColor0)", "Uri?/()", "double(double,double)", "ValueExpression0(Value0)", "ComplexSelector(ComplexSelector)", "~(Value0)", "Null(Object,StackTrace)", "ComplexSelector0(ComplexSelector0)", "~(Value)", "ValueExpression(Value)", "@()", "Uri?()", "SelectorList0?()", "bool(Object)", "Future<Value>()", "Future<Value0>()", "bool(Value)", "SelectorList?()", "Frame()", "Object(Object)", "bool(SelectorList)", "bool(SelectorList0)", "~(Object,StackTrace)", "Future<Value?>()", "Null(@)", "Future<Value0?>()", "List<CssMediaQuery>?(List<CssMediaQuery>)", "SassRuntimeException0(AstNode0)", "Frame(String)", "Null(_NodeSassColor,num)", "int(Uri)", "~([int?])", "~(String,Value)", "Future<Value?>(Statement)", "List<CssMediaQuery0>?(List<CssMediaQuery0>)", "Callable?()", "+originalUrl(Importer,Uri,Uri)?()", "double(Value)", "Stylesheet?()", "Callable0?()", "SassRuntimeException(AstNode)", "~(Value,Value)", "~(String)", "double(Value0)", "~(Module0<Callable0>,bool)", "Future<Value0?>(Statement0)", "Value?(Statement)", "@(@)", "AsyncCallable?()", "~(Object)", "~(Value0,Value0)", "AsyncCallable0?()", "~(Module1<Callable>,bool)", "Null([Object?])", "Declaration0(List<Statement0>,FileSpan)", "Value0?(Statement0)", "double()", "~(String,Value0)", "Future<Value0>(List<Value0>)", "Declaration(List<Statement>,FileSpan)", "List<String>?()", "~(~())", "bool(@)", "String(String{color:Object?})", "Statement()", "String(@)", "SassCalculation0(Object)", "UnaryOperator0()", "List<Object>()", "Map<ComplexSelector0,Extension0>()", "Map<ComplexSelector,Extension>()", "Statement0()", "~(String,Function)", "bool(_Highlight)", "String(Object)", "bool(Module0<AsyncCallable>)", "~(@)", "bool(Module0<Callable0>)", "int(SassColor0)", "UnaryOperator()", "String(Expression)", "bool(Expression0)", "String(Expression0)", "int(_NodeSassColor)", "CallableDeclaration0()", "CallableDeclaration()", "bool(Module1<Callable>)", "bool(Expression)", "Null(Module0<AsyncCallable>,bool)", "bool(ModifiableCssNode0)", "~(String,Object?)", "bool(ModifiableCssNode)", "bool(Module1<AsyncCallable0>)", "Null(Module1<AsyncCallable0>,bool)", "List<CssComment0>()", "bool(UseRule)", "List<CssComment>()", "Future<Object>()", "Future<SassNumber>()", "bool(ModifiableCssParentNode)", "InterpolationMap(List<SourceLocation>)", "AstNode?()", "String(SassNumber)", "List<ExtensionStore>()", "~(List<Value>)", "Future<~>(List<Value>)", "SassMixin(List<Value>)", "SassNumber()", "Expression(Expression)", "SassFunction(List<Value>)", "AstNode(AstNode)", "int(Frame)", "String(Frame)", "double(double,String)", "Trace()", "bool(Frame)", "int(double)", "Entry(Entry)", "String(String{color:@})", "AtRule(List<Statement>,FileSpan)", "AtRootRule(List<Statement>,FileSpan)", "AsyncCallable0?(Module1<AsyncCallable0>)", "MapKeySet<Module1<AsyncCallable0>>(Map<Module1<AsyncCallable0>,AstNode0>)", "Map<String,AsyncCallable0>(Module1<AsyncCallable0>)", "VariableDeclaration()", "AstNode0(AstNode0)", "0&(String,FileSpan[StackTrace?])", "int(int)", "SassFunction0(List<Value0>)", "Trace?()", "SassMixin0(List<Value0>)", "Future<~>(List<Value0>)", "FileSpan?()", "~(String[~])", "List<ExtensionStore0>()", "bool(ModifiableCssParentNode0)", "DateTime()", "Iterable<String>(@)", "Iterable<String>(String)", "Iterable<String>()", "Future<SassNumber0>()", "Uri(String)", "bool(ForwardRule)", "bool(UseRule0)", "bool(ForwardRule0)", "SelectorList(SelectorList,SelectorList)", "SelectorList(Value)", "SassMap?()", "ListSeparator()", "int(int,double?)", "double(double,double?,num)", "double?(String,num{assertPercent:bool,checkPercent:bool,checkUnitless:bool})", "String(int)", "+(PseudoSelector,int)?()", "QueueList<ComplexSelectorComponent>()", "Combinator?()", "List<CssValue<Combinator>>?()", "InterpolationMap0(List<SourceLocation>)", "AstNode0?()", "String(SassNumber0)", "Future<+originalUrl(AsyncImporter0,Uri,Uri)?>()", "0&(Object[Object?])", "0&(@[@])", "bool(Queue<List<ComplexSelectorComponent>>)", "ComplexSelectorComponent?()", "Object(CalculationOperation0)", "List<CssValue<Combinator>>()", "List<Extension>()", "~(Iterable<ExtensionStore>)", "Map<String,Callable>(Module1<Callable>)", "Map<String,Callable0>(Module0<Callable0>)", "String(Value0)", "MapKeySet<Module0<Callable0>>(Map<Module0<Callable0>,AstNode>)", "Callable0?(Module0<Callable0>)", "Future<Value>(List<Value>)", "Map<String,AsyncCallable>(Module0<AsyncCallable>)", "Future<NodeCompileResult>()", "AsyncImporter0(Object?)", "MapKeySet<Module0<AsyncCallable>>(Map<Module0<AsyncCallable>,AstNode>)", "~(Iterable<ExtensionStore0>)", "Callable?(Module1<Callable>)", "MapKeySet<Module1<Callable>>(Map<Module1<Callable>,AstNode0>)", "AsyncCallable?(Module0<AsyncCallable>)", "SimpleSelector()", "~(List<Value0>)", "int(ComplexSelector)", "Value0?(Value0)", "bool(Import)", "SassNumber0()", "String(_NodeException)", "Future<String>()", "bool(Statement)", "List<Extension0>()", "bool(String?)", "List<CssValue0<Combinator0>>()", "ComplexSelectorComponent0?()", "bool(Queue<List<ComplexSelectorComponent0>>)", "List<CssValue0<Combinator0>>?()", "Combinator0?()", "QueueList<ComplexSelectorComponent0>()", "+(PseudoSelector0,int)?()", "Future<~>?()", "bool(Statement0)", "bool(Import0)", "+originalUrl(Importer0,Uri,Uri)?()", "~(Uint8List,String,int)", "ListSeparator0()", "@(Value0,num)", "Value0(int)", "SassMap0?()", "Object(_NodeSassMap,int)", "Null(_NodeSassMap,int,Object)", "bool(SassNumber0)", "ImmutableList0(SassNumber0)", "bool(SassNumber0,String)", "SassNumber0(SassNumber0,Object,Object[String?])", "SassNumber0(SassNumber0,SassNumber0[String?,String?])", "double(SassNumber0,Object,Object[String?])", "double(SassNumber0,SassNumber0[String?,String?])", "int(ComplexSelector0)", "~(Object?,Object?)", "Expression0(Expression0)", "SelectorList0(Value0)", "SelectorList0(SelectorList0,SelectorList0)", "SimpleSelector0()", "FileLocation(FileSpan)", "String(FileSpan)", "int(SourceLocation)", "~(@,@)", "Set<0^>()<Object?>", "AtRootRule0(List<Statement0>,FileSpan)", "AtRule0(List<Statement0>,FileSpan)", "int(@,@)", "~(Object[StackTrace?])", "bool(Object?,Object?)", "int(Object?)", "~([Object?])", "Trace(String)", "~(String,@)", "Future<+originalUrl(AsyncImporter,Uri,Uri)?>()", "~(Expression)", "SourceFile()", "SourceFile?(int)", "String?(SourceFile?)", "int(_Line)", "SassString(int)", "Object(_Line)", "Object(_Highlight)", "int(_Highlight,_Highlight)", "List<_Line>(MapEntry<Object,List<_Highlight>>)", "SourceSpanWithContext()", "List<Frame>(Trace)", "int(Trace)", "SassString(String)", "String(Trace)", "~(String,int?)", "int(int,int)", "Frame(String,String)", "bool(Deprecation)", "bool(+originalUrl(Importer,Uri,Uri))", "Frame(Frame)", "Uri(+originalUrl(Importer,Uri,Uri))", "bool(+baseImporter,baseUrl,forImport(Uri,Importer,Uri?,bool),+originalUrl(Importer,Uri,Uri)?)", "Value?(Module0<Callable0>)", "String(Argument0)", "Module0<Callable0>?(Module0<Callable0>)", "SassArgumentList0(Object,Object,Object[String?])", "ImmutableMap0(SassArgumentList0)", "@(String)", "Value0?(Module1<AsyncCallable0>)", "Module1<AsyncCallable0>?(Module1<AsyncCallable0>)", "Uint8List(@,@)", "Map<String,Value>(Module0<Callable0>)", "Map<String,Value0>(Module1<AsyncCallable0>)", "Map<String,AstNode0>(Module1<AsyncCallable0>)", "Map<String,AstNode>(Module0<Callable0>)", "Future<@>()", "Future<CssValue0<String>>(Interpolation0{trim:bool,warnForColor:bool})", "String(int,IfClause)", "+(String?,String?)()", "ArgParser()", "Object?(Object?)", "Set<Deprecation>()", "Future<~>(String)", "List<WatchEvent>(List<WatchEvent>)", "~([Future<~>?])", "~(Module1<AsyncCallable0>,bool)", "Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)>()", "Future<Module1<AsyncCallable0>>()", "AtRootQuery()", "~(Module1<AsyncCallable0>)", "String(BuiltInCallable)", "List<CssMediaQuery>()", "ChangeType()", "~(String,Option)", "Future<Value0?>(Value0)", "bool(Extension)", "Future<CssValue0<String>>(Interpolation0)", "SelectorList()", "CompoundSelector()", "Statement({root:bool})", "Set<ModifiableBox<SelectorList>>()", "Future<Value0?>(IfRuleClause0)", "Expression({bracketList:bool,singleEquals:bool,until:bool()?})", "Stylesheet()", "Statement?()", "UserDefinedCallable0<AsyncEnvironment0>(ContentBlock0)", "VariableDeclaration(VariableDeclaration)", "ArgumentDeclaration()", "~(@,StackTrace)", "UseRule()", "int(int,ComplexSelectorComponent)", "StyleRule(List<Statement>,FileSpan)", "Future<Value0>(Expression0)", "Iterable<ComplexSelector>(List<ComplexSelector>)", "EachRule(List<Statement>,FileSpan)", "Value0/()", "FunctionRule(List<Statement>,FileSpan)", "ForRule(List<Statement>,FileSpan)", "ContentBlock(List<Statement>,FileSpan)", "MediaRule(List<Statement>,FileSpan)", "MixinRule(List<Statement>,FileSpan)", "List<SimpleSelector>(Extender)", "SupportsRule(List<Statement>,FileSpan)", "Future<Stylesheet0?>()", "bool(+originalUrl(AsyncImporter0,Uri,Uri))", "Uri(+originalUrl(AsyncImporter0,Uri,Uri))", "AtRootQuery0()", "WhileRule(List<Statement>,FileSpan)", "List<Extender>?(SimpleSelector)", "~(BinaryOperator)", "StringExpression(Interpolation)", "SassCalculation0(Object[Object?,Object?])", "SassCalculation0(SassCalculation0[String?])", "ImmutableList(SassCalculation0)", "Object(Object,String,Object,Object)", "bool(CalculationOperator0)", "bool(CalculationOperation0,Object)", "int(CalculationOperation0)", "String(CalculationOperation0)", "DateTime(StylesheetNode)", "CalculationInterpolation(Object,String)", "bool(CalculationInterpolation,Object)", "int(CalculationInterpolation)", "String(CalculationInterpolation)", "List<Extender>(PseudoSelector)", "List<List<Extender>>(List<Extender>)", "List<ComplexSelector>(ComplexSelector)", "PseudoSelector(ComplexSelector)", "~(SimpleSelector,Set<ModifiableBox<SelectorList>>)", "ComplexSelectorComponent()", "0&(List<Value0>)", "+(SassNumber0,SassNumber0)?()", "SassColor0(Object,_Channels)", "SassColor0(SassColor0,_Channels)", "QualifiedName()", "String(CssValue<Combinator>)", "Null(_NodeSassColor,num?[num?,num?,num?,SassColor0?])", "SassScriptException()", "double(_NodeSassColor)", "List<ComplexSelectorComponent>?(List<ComplexSelectorComponent>,List<ComplexSelectorComponent>)", "int(int,SimpleSelector)", "SingleUnitSassNumber(double)", "AsyncImporter0(JSImporter)", "0&(@)", "Future<CssValue<String>>(Interpolation{trim:bool,warnForColor:bool})", "int(int,ComplexSelectorComponent0)", "ComplexSelectorComponent0()", "String(CssValue0<Combinator0>)", "int(int,SimpleSelector0)", "String(BuiltInCallable0)", "bool(List<Iterable<ComplexSelectorComponent>>)", "Value0?(Module1<Callable>)", "Module1<Callable>?(Module1<Callable>)", "@(@,String)", "Null(@,StackTrace)", "Map<String,Value0>(Module1<Callable>)", "Map<String,AstNode0>(Module1<Callable>)", "Object(Value0)", "SassList(ComplexSelector)", "CssValue0<String>(Interpolation0{trim:bool,warnForColor:bool})", "Iterable<ComplexSelector>(ComplexSelector)", "bool(PseudoSelector)", "~(Module0<AsyncCallable>,bool)", "+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)()", "Module1<Callable>()", "~(Module1<Callable>)", "Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)>()", "Future<Module0<AsyncCallable>>()", "CssValue0<String>(Interpolation0)", "SelectorList?(PseudoSelector)", "Value0?(IfRuleClause0)", "UserDefinedCallable0<Environment0>(ContentBlock0)", "Value0(Expression0)", "~(Module0<AsyncCallable>)", "FileSpan(_NodeException)", "bool(Extension0)", "Set<ModifiableBox0<SelectorList0>>()", "_Future<@>(@)", "SimpleSelector(SimpleSelector)", "Null(@,@)", "Iterable<ComplexSelector0>(List<ComplexSelector0>)", "Null(Function,Function)", "List<SimpleSelector0>(Extender0)", "List<Extender0>?(SimpleSelector0)", "List<Extender0>(PseudoSelector0)", "List<List<Extender0>>(List<Extender0>)", "List<ComplexSelector0>(ComplexSelector0)", "PseudoSelector0(ComplexSelector0)", "~(SimpleSelector0,Set<ModifiableBox0<SelectorList0>>)", "SassFunction0(Object,String,Value0(List<Value0>))", "String(String?)", "QualifiedName0()", "Future<Value?>(Value)", "List<ComplexSelectorComponent0>?(List<ComplexSelectorComponent0>,List<ComplexSelectorComponent0>)", "Value?(Module0<AsyncCallable>)", "bool(List<Iterable<ComplexSelectorComponent0>>)", "Future<CssValue<String>>(Interpolation)", "Module0<AsyncCallable>?(Module0<AsyncCallable>)", "~(int,@)", "bool(String?,String?)", "String(Value)", "bool(PseudoSelector0)", "SelectorList0?(PseudoSelector0)", "String(int,IfClause0)", "Future<Value?>(IfRuleClause)", "0&(List<Value>)", "~(Object?,Object,Object?)", "+(String,String)(String)", "Map<String,Value>(Module0<AsyncCallable>)", "Stylesheet0?()", "bool(+originalUrl(Importer0,Uri,Uri))", "Uri(+originalUrl(Importer0,Uri,Uri))", "~(String,WarnOptions)", "~(String,DebugOptions)", "Null(RenderResult)", "JSFunction1(JSFunction1)", "Object?(Object,String,String[Object?])", "Null(Object)", "UserDefinedCallable<AsyncEnvironment>(ContentBlock)", "+(SassNumber,SassNumber)?()", "List<Value0>(Value0)", "bool(List<Value0>)", "SassList0(ComplexSelector0)", "Iterable<ComplexSelector0>(ComplexSelector0)", "SimpleSelector0(SimpleSelector0)", "SassList0(Object[Object?,_ConstructorOptions?])", "Map<String,AstNode>(Module0<AsyncCallable>)", "Null(_NodeSassList,int?[bool?,SassList0?])", "int(String?)", "Object(_NodeSassList,int)", "Null(_NodeSassList,int,Object)", "bool(_NodeSassList)", "Null(_NodeSassList,bool)", "int(_NodeSassList)", "SassMap0(Value0)", "SassMap0(SassMap0)", "List<Value>(Value)", "SassMap0(Object[ImmutableMap0?])", "ImmutableMap0(SassMap0)", "@(SassMap0,Object)", "Null(_NodeSassMap,int?[SassMap0?])", "SassNumber0(int)", "Future<Value>(Expression)", "int(_NodeSassMap)", "bool(List<Value>)", "SassNumber0(Value0)", "List<CssMediaQuery0>()", "Value0(Object)", "0&(Object)", "SassNumber0(Object,num[Object?])", "double(SassNumber0)", "Object(String)", "int?(SassNumber0)", "Value/()", "int(SassNumber0[String?])", "double(SassNumber0,num,num[String?])", "SassNumber0(SassNumber0[String?])", "SassNumber0(SassNumber0,String[String?])", "bool(Version)", "~(Symbol0,@)", "SassMap(Value)", "SassMap(SassMap)", "Future<Stylesheet?>()", "Null(_NodeSassNumber,num?[String?,SassNumber0?])", "double(_NodeSassNumber)", "Null(_NodeSassNumber,num)", "String(_NodeSassNumber)", "Null(_NodeSassNumber,String)", "SassScriptException0()", "CssValue<String>(Interpolation{trim:bool,warnForColor:bool})", "String(Object,@,@[@])", "bool(+originalUrl(AsyncImporter,Uri,Uri))", "SassNumber(Value)", "Value(Object)", "+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)()", "SassString0(SimpleSelector0)", "Module0<Callable0>()", "SelectorList0()", "CompoundSelector0()", "~(CssMediaQuery0)", "~(SelectorList0)", "~(MapEntry<Value0,Value0>)", "SingleUnitSassNumber0(double)", "~(Module0<Callable0>)", "JSUrl0?(FileSpan)", "Value?(Value)", "Uri(+originalUrl(AsyncImporter,Uri,Uri))", "SassString0(int)", "SassString0(String)", "SassString0(Object[Object?,_ConstructorOptions1?])", "String(SassString0)", "bool(SassString0)", "int(SassString0)", "int(SassString0,Value0[String?])", "Null(_NodeSassString,String?[SassString0?])", "String(_NodeSassString)", "Null(_NodeSassString,String)", "Statement0({root:bool})", "CssValue<String>(Interpolation)", "Stylesheet0()", "Statement0?()", "VariableDeclaration0(VariableDeclaration0)", "ArgumentDeclaration0()", "+(String,ArgumentDeclaration0)()", "VariableDeclaration0()", "String(Argument)", "StyleRule0(List<Statement0>,FileSpan)", "Value?(IfRuleClause)", "EachRule0(List<Statement0>,FileSpan)", "FunctionRule0(List<Statement0>,FileSpan)", "ForRule0(List<Statement0>,FileSpan)", "ContentBlock0(List<Statement0>,FileSpan)", "MediaRule0(List<Statement0>,FileSpan)", "MixinRule0(List<Statement0>,FileSpan)", "UserDefinedCallable<Environment>(ContentBlock)", "SupportsRule0(List<Statement0>,FileSpan)", "WhileRule0(List<Statement0>,FileSpan)", "~(Expression0)", "~(BinaryOperator0)", "StringExpression0(Interpolation0)", "Null(~(Object?),~(Object?))", "ImmutableList0(Value0)", "String?(Value0)", "int(Value0,Value0[String?])", "SassBoolean0(Value0[String?])", "SassCalculation0(Value0[String?])", "SassColor0(Value0[String?])", "SassFunction0(Value0[String?])", "SassMap0(Value0[String?])", "SassMixin0(Value0[String?])", "SassNumber0(Value0[String?])", "SassString0(Value0[String?])", "SassMap0?(Value0)", "bool(Value0,Object?)", "int(Value0[Object?])", "Value(Expression)", "Expression()", "~(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?>?)", "~(ContentBlock)", "~(List<Statement>)", "0^(0^,0^)<num>", "~(String,int)", "SassString(SimpleSelector)", "~(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)", "Uri(JSUrl0)", "JSUrl0(Uri)", "String(String[String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?])", "String(Object?)", "~(CssMediaQuery)", "~(SelectorList)", "int(num)", "~(MapEntry<Value,Value>)", "Future<~>(List<String>)", "ChangeType?()"],
  116175. interceptorsByTag: null,
  116176. leafTags: null,
  116177. arrayRti: Symbol("$ti"),
  116178. rttc: {
  116179. "2;": (t1, t2) => o => o instanceof A._Record_2 && t1._is(o._0) && t2._is(o._1),
  116180. "2;forImport": (t1, t2) => o => o instanceof A._Record_2_forImport && t1._is(o._0) && t2._is(o._1),
  116181. "2;sourceMap": (t1, t2) => o => o instanceof A._Record_2_sourceMap && t1._is(o._0) && t2._is(o._1),
  116182. "2;imports,modules": (t1, t2) => o => o instanceof A._Record_2_imports_modules && t1._is(o._0) && t2._is(o._1),
  116183. "2;loadedUrls,stylesheet": (t1, t2) => o => o instanceof A._Record_2_loadedUrls_stylesheet && t1._is(o._0) && t2._is(o._1),
  116184. "3;": (t1, t2, t3) => o => o instanceof A._Record_3 && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  116185. "3;originalUrl": (t1, t2, t3) => o => o instanceof A._Record_3_originalUrl && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  116186. "3;importer,isDependency": (t1, t2, t3) => o => o instanceof A._Record_3_importer_isDependency && t1._is(o._0) && t2._is(o._1) && t3._is(o._2),
  116187. "4;": types => o => o instanceof A._Record_4 && A.pairwiseIsTest(types, o._values),
  116188. "4;baseImporter,baseUrl,forImport": types => o => o instanceof A._Record_4_baseImporter_baseUrl_forImport && A.pairwiseIsTest(types, o._values),
  116189. "5;named,namedNodes,positional,positionalNodes,separator": types => o => o instanceof A._Record_5_named_namedNodes_positional_positionalNodes_separator && A.pairwiseIsTest(types, o._values)
  116190. }
  116191. };
  116192. 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","Module":"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","JSArray1":"LegacyJavaScriptObject","Chokidar":"LegacyJavaScriptObject","ChokidarOptions":"LegacyJavaScriptObject","ChokidarWatcher":"LegacyJavaScriptObject","JSFunction0":"LegacyJavaScriptObject","ImmutableList":"LegacyJavaScriptObject","ImmutableMap":"LegacyJavaScriptObject","NodeImporterResult":"LegacyJavaScriptObject","RenderContext":"LegacyJavaScriptObject","RenderContextOptions":"LegacyJavaScriptObject","RenderContextResult":"LegacyJavaScriptObject","RenderContextResultStats":"LegacyJavaScriptObject","JSClass":"LegacyJavaScriptObject","JSUrl":"LegacyJavaScriptObject","_PropertyDescriptor":"LegacyJavaScriptObject","JSArray2":"LegacyJavaScriptObject","Chokidar0":"LegacyJavaScriptObject","ChokidarOptions0":"LegacyJavaScriptObject","ChokidarWatcher0":"LegacyJavaScriptObject","_Channels":"LegacyJavaScriptObject","_NodeSassColor":"LegacyJavaScriptObject","CompileOptions":"LegacyJavaScriptObject","CompileStringOptions":"LegacyJavaScriptObject","NodeCompileResult":"LegacyJavaScriptObject","_NodeException":"LegacyJavaScriptObject","Exports":"LegacyJavaScriptObject","LoggerNamespace":"LegacyJavaScriptObject","Fiber":"LegacyJavaScriptObject","FiberClass":"LegacyJavaScriptObject","JSFunction1":"LegacyJavaScriptObject","ImmutableList0":"LegacyJavaScriptObject","ImmutableMap0":"LegacyJavaScriptObject","JSImporter":"LegacyJavaScriptObject","CanonicalizeContext":"LegacyJavaScriptObject","JSImporterResult":"LegacyJavaScriptObject","NodeImporterResult0":"LegacyJavaScriptObject","_ConstructorOptions":"LegacyJavaScriptObject","_NodeSassList":"LegacyJavaScriptObject","WarnOptions":"LegacyJavaScriptObject","DebugOptions":"LegacyJavaScriptObject","JSLogger":"LegacyJavaScriptObject","_NodeSassMap":"LegacyJavaScriptObject","_ConstructorOptions0":"LegacyJavaScriptObject","_NodeSassNumber":"LegacyJavaScriptObject","JSClass0":"LegacyJavaScriptObject","RenderContext0":"LegacyJavaScriptObject","RenderContextOptions0":"LegacyJavaScriptObject","RenderContextResult0":"LegacyJavaScriptObject","RenderContextResultStats0":"LegacyJavaScriptObject","RenderOptions":"LegacyJavaScriptObject","RenderResult":"LegacyJavaScriptObject","RenderResultStats":"LegacyJavaScriptObject","_Exports":"LegacyJavaScriptObject","_ConstructorOptions1":"LegacyJavaScriptObject","_NodeSassString":"LegacyJavaScriptObject","Types":"LegacyJavaScriptObject","JSUrl0":"LegacyJavaScriptObject","_PropertyDescriptor0":"LegacyJavaScriptObject","JSBool":{"bool":[],"TrustedGetRuntimeType":[]},"JSNull":{"Null":[],"TrustedGetRuntimeType":[]},"LegacyJavaScriptObject":{"Promise":[],"JsSystemError":[],"ImmutableList":[],"_Channels":[],"_NodeSassColor":[],"CompileOptions":[],"CompileStringOptions":[],"NodeCompileResult":[],"_NodeException":[],"Fiber":[],"JSFunction1":[],"ImmutableList0":[],"ImmutableMap0":[],"JSImporter":[],"JSImporterResult":[],"NodeImporterResult0":[],"_ConstructorOptions":[],"_NodeSassList":[],"WarnOptions":[],"DebugOptions":[],"_NodeSassMap":[],"_ConstructorOptions0":[],"_NodeSassNumber":[],"JSClass0":[],"RenderContextOptions0":[],"RenderOptions":[],"RenderResult":[],"_ConstructorOptions1":[],"_NodeSassString":[],"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"],"TrustedGetRuntimeType":[]},"JSNumNotInt":{"double":[],"num":[],"Comparable":["num"],"TrustedGetRuntimeType":[]},"JSString":{"String":[],"Comparable":["String"],"TrustedGetRuntimeType":[]},"_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":{"ListBase":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"]},"CastList":{"_CastListBase":["1","2"],"ListBase":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2","ListBase.E":"2"},"CastSet":{"Set":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"CastMap":{"MapBase":["3","4"],"Map":["3","4"],"MapBase.V":"4","MapBase.K":"3"},"LateError":{"Error":[]},"CodeUnits":{"ListBase":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListBase.E":"int"},"EfficientLengthIterable":{"Iterable":["1"]},"ListIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"SubListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.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"],"ListIterable.E":"2","Iterable.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":{"ListBase":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ReversedListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"Symbol":{"Symbol0":[]},"ConstantMapView":{"UnmodifiableMapView":["1","2"],"Map":["1","2"]},"ConstantMap":{"Map":["1","2"]},"ConstantStringMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"_KeysOrValues":{"Iterable":["1"],"Iterable.E":"1"},"ConstantSet":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ConstantStringSet":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"GeneralConstantSet":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"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":[]},"_CyclicInitializationError":{"Error":[]},"RuntimeError":{"Error":[]},"JsLinkedHashMap":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"LinkedHashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"JsIdentityLinkedHashMap":{"JsLinkedHashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"JsConstantLinkedHashMap":{"JsLinkedHashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"_MatchImplementation":{"RegExpMatch":[],"Match":[]},"_AllMatchesIterable":{"Iterable":["RegExpMatch"],"Iterable.E":"RegExpMatch"},"StringMatch":{"Match":[]},"_StringAllMatchesIterable":{"Iterable":["Match"],"Iterable.E":"Match"},"NativeByteBuffer":{"ByteBuffer":[],"TrustedGetRuntimeType":[]},"NativeByteData":{"ByteData":[],"TrustedGetRuntimeType":[]},"NativeTypedArray":{"JavaScriptIndexingBehavior":["1"]},"NativeTypedArrayOfDouble":{"ListBase":["double"],"List":["double"],"JavaScriptIndexingBehavior":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"]},"NativeTypedArrayOfInt":{"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"NativeFloat32List":{"NativeTypedArrayOfDouble":[],"ListBase":["double"],"Float32List":[],"List":["double"],"JavaScriptIndexingBehavior":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"TrustedGetRuntimeType":[],"ListBase.E":"double"},"NativeFloat64List":{"NativeTypedArrayOfDouble":[],"ListBase":["double"],"Float64List":[],"List":["double"],"JavaScriptIndexingBehavior":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"],"TrustedGetRuntimeType":[],"ListBase.E":"double"},"NativeInt16List":{"NativeTypedArrayOfInt":[],"ListBase":["int"],"Int16List":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeInt32List":{"NativeTypedArrayOfInt":[],"ListBase":["int"],"Int32List":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeInt8List":{"NativeTypedArrayOfInt":[],"ListBase":["int"],"Int8List":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint16List":{"NativeTypedArrayOfInt":[],"ListBase":["int"],"Uint16List":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint32List":{"NativeTypedArrayOfInt":[],"ListBase":["int"],"Uint32List":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint8ClampedList":{"NativeTypedArrayOfInt":[],"ListBase":["int"],"Uint8ClampedList":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint8List":{"NativeTypedArrayOfInt":[],"ListBase":["int"],"Uint8List":[],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"_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":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_LinkedCustomHashMap":{"JsLinkedHashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"_LinkedHashSet":{"_SetBase":["1"],"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_LinkedIdentityHashSet":{"_LinkedHashSet":["1"],"_SetBase":["1"],"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"UnmodifiableListView":{"ListBase":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListBase.E":"1"},"ListBase":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapBase":{"Map":["1","2"]},"UnmodifiableMapBase":{"MapBase":["1","2"],"Map":["1","2"]},"_MapBaseValueIterable":{"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MapView":{"Map":["1","2"]},"UnmodifiableMapView":{"Map":["1","2"]},"ListQueue":{"Queue":["1"],"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"SetBase":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_SetBase":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"UnmodifiableSetView":{"SetBase":["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":[]},"ArgumentError":{"Error":[]},"RangeError":{"Error":[]},"IndexError":{"RangeError":[],"Error":[]},"NoSuchMethodError":{"Error":[]},"UnsupportedError":{"Error":[]},"UnimplementedError":{"Error":[]},"StateError":{"Error":[]},"ConcurrentModificationError":{"Error":[]},"OutOfMemoryError":{"Error":[]},"StackOverflowError":{"Error":[]},"_Exception":{"Exception":[]},"FormatException":{"Exception":[]},"_GeneratorIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.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":{"ListBase":["1"],"List":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListBase.E":"1","QueueList.E":"1"},"_CastQueueList":{"QueueList":["2"],"ListBase":["2"],"List":["2"],"Queue":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListBase.E":"2","QueueList.E":"2"},"UnionSet":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"UnmodifiableSetView0":{"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"]},"Version":{"VersionRange":[],"Comparable":["VersionRange"]},"VersionRange":{"Comparable":["VersionRange"]},"ModifiableCssAtRule":{"ModifiableCssParentNode":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssComment":{"ModifiableCssNode":[],"CssComment":[],"CssNode":[],"AstNode":[]},"ModifiableCssDeclaration":{"ModifiableCssNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssImport":{"ModifiableCssNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssKeyframeBlock":{"ModifiableCssParentNode":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssMediaRule":{"ModifiableCssParentNode":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssNode":{"CssNode":[],"AstNode":[]},"ModifiableCssParentNode":{"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssStyleRule":{"ModifiableCssParentNode":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssStylesheet":{"ModifiableCssParentNode":[],"CssStylesheet":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssSupportsRule":{"ModifiableCssParentNode":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"CssNode":{"AstNode":[]},"CssParentNode":{"CssNode":[],"AstNode":[]},"CssStylesheet":{"CssParentNode":[],"CssNode":[],"AstNode":[]},"CssValue":{"AstNode":[]},"_FakeAstNode":{"AstNode":[]},"Argument":{"AstNode":[]},"ArgumentDeclaration":{"AstNode":[]},"ArgumentInvocation":{"AstNode":[]},"ConfiguredVariable":{"AstNode":[]},"Expression":{"AstNode":[]},"BinaryOperationExpression":{"Expression":[],"AstNode":[]},"BooleanExpression":{"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":[]},"IfClause":{"IfRuleClause":[]},"ElseClause":{"IfRuleClause":[]},"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":[]},"Selector":{"AstNode":[]},"AttributeSelector":{"SimpleSelector":[],"AstNode":[]},"ClassSelector":{"SimpleSelector":[],"AstNode":[]},"ComplexSelector":{"AstNode":[]},"CompoundSelector":{"AstNode":[]},"IDSelector":{"SimpleSelector":[],"AstNode":[]},"SelectorList":{"AstNode":[]},"_ParentSelectorVisitor":{"SelectorSearchVisitor":["ParentSelector"],"SelectorSearchVisitor.T":"ParentSelector"},"ParentSelector":{"SimpleSelector":[],"AstNode":[]},"PlaceholderSelector":{"SimpleSelector":[],"AstNode":[]},"PseudoSelector":{"SimpleSelector":[],"AstNode":[]},"SimpleSelector":{"AstNode":[]},"TypeSelector":{"SimpleSelector":[],"AstNode":[]},"UniversalSelector":{"SimpleSelector":[],"AstNode":[]},"_EnvironmentModule0":{"Module0":["AsyncCallable"]},"AsyncBuiltInCallable":{"AsyncCallable":[]},"BuiltInCallable":{"Callable0":[],"AsyncBuiltInCallable":[],"AsyncCallable":[]},"PlainCssCallable":{"Callable0":[],"AsyncCallable":[]},"UserDefinedCallable":{"Callable0":[],"AsyncCallable":[]},"ExplicitConfiguration":{"Configuration":[]},"_EnvironmentModule":{"Module0":["Callable0"]},"SassRuntimeException":{"Exception":[]},"SassException":{"Exception":[]},"MultiSpanSassException":{"Exception":[]},"MultiSpanSassRuntimeException":{"SassRuntimeException":[],"Exception":[]},"SassFormatException":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"MultiSpanSassFormatException":{"MultiSourceSpanFormatException":[],"SassFormatException":[],"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"UsageException":{"Exception":[]},"EmptyExtensionStore":{"ExtensionStore":[]},"MergedExtension":{"Extension":[]},"Importer":{"AsyncImporter":[]},"FilesystemImporter":{"Importer":[],"AsyncImporter":[]},"BuiltInModule":{"Module0":["1"]},"ForwardedModuleView":{"Module0":["1"]},"ShadowedModuleView":{"Module0":["1"]},"LazyFileSpan":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"LimitedMapView":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"MergedMapView":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"MultiSpan":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"PrefixedMapView":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.V":"1","MapBase.K":"String"},"_PrefixedKeys":{"Iterable":["String"],"Iterable.E":"String"},"PublicMemberMapView":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.V":"1","MapBase.K":"String"},"UnprefixedMapView":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.V":"1","MapBase.K":"String"},"_UnprefixedKeys":{"Iterable":["String"],"Iterable.E":"String"},"SassArgumentList":{"SassList":[],"Value":[]},"SassBoolean":{"Value":[]},"SassCalculation":{"Value":[]},"SassColor":{"Value":[]},"SassFunction":{"Value":[]},"SassList":{"Value":[]},"SassMap":{"Value":[]},"SassMixin":{"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":[]},"MultiSourceSpanException":{"Exception":[]},"MultiSourceSpanFormatException":{"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":[]},"JSToDartAsyncImporter":{"AsyncImporter0":[]},"AsyncBuiltInCallable0":{"AsyncCallable0":[]},"_EnvironmentModule2":{"Module1":["AsyncCallable0"]},"_EvaluationContext2":{"EvaluationContext0":[]},"JSToDartAsyncFileImporter":{"AsyncImporter0":[]},"AtRootRule0":{"Statement0":[],"AstNode0":[]},"ModifiableCssAtRule0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"AtRule0":{"Statement0":[],"AstNode0":[]},"AttributeSelector0":{"SimpleSelector0":[],"AstNode0":[]},"BinaryOperationExpression0":{"Expression0":[],"AstNode0":[]},"BooleanExpression0":{"Expression0":[],"AstNode0":[]},"SassBoolean0":{"Value0":[]},"BuiltInCallable0":{"Callable":[],"AsyncBuiltInCallable0":[],"AsyncCallable0":[]},"BuiltInModule0":{"Module1":["1"]},"SassCalculation0":{"Value0":[]},"CallableDeclaration0":{"Statement0":[],"AstNode0":[]},"ClassSelector0":{"SimpleSelector0":[],"AstNode0":[]},"ColorExpression0":{"Expression0":[],"AstNode0":[]},"SassColor0":{"Value0":[]},"ModifiableCssComment0":{"ModifiableCssNode0":[],"CssComment0":[],"CssNode0":[],"AstNode0":[]},"ComplexSassNumber0":{"SassNumber0":[],"Value0":[]},"ComplexSelector0":{"AstNode0":[]},"CompoundSelector0":{"AstNode0":[]},"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":{"Module1":["Callable"]},"ErrorRule0":{"Statement0":[],"AstNode0":[]},"_EvaluationContext1":{"EvaluationContext0":[]},"SassRuntimeException0":{"Exception":[]},"SassException0":{"Exception":[]},"MultiSpanSassException0":{"Exception":[]},"MultiSpanSassRuntimeException0":{"SassRuntimeException0":[],"Exception":[]},"SassFormatException0":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"MultiSpanSassFormatException0":{"MultiSourceSpanFormatException":[],"SassFormatException0":[],"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"Expression0":{"AstNode0":[]},"ExtendRule0":{"Statement0":[],"AstNode0":[]},"JSToDartFileImporter":{"Importer0":[],"AsyncImporter0":[]},"FilesystemImporter0":{"Importer0":[],"AsyncImporter0":[]},"ForRule0":{"Statement0":[],"AstNode0":[]},"ForwardRule0":{"Statement0":[],"AstNode0":[]},"ForwardedModuleView0":{"Module1":["1"]},"FunctionExpression0":{"Expression0":[],"AstNode0":[]},"SupportsFunction0":{"AstNode0":[]},"SassFunction0":{"Value0":[]},"FunctionRule0":{"Statement0":[],"AstNode0":[]},"IDSelector0":{"SimpleSelector0":[],"AstNode0":[]},"IfExpression0":{"Expression0":[],"AstNode0":[]},"IfClause0":{"IfRuleClause0":[]},"ElseClause0":{"IfRuleClause0":[]},"IfRule0":{"Statement0":[],"AstNode0":[]},"ModifiableCssImport0":{"ModifiableCssNode0":[],"CssNode0":[],"AstNode0":[]},"ImportRule0":{"Statement0":[],"AstNode0":[]},"Importer0":{"AsyncImporter0":[]},"IncludeRule0":{"Statement0":[],"AstNode0":[]},"InterpolatedFunctionExpression0":{"Expression0":[],"AstNode0":[]},"Interpolation0":{"AstNode0":[]},"SupportsInterpolation0":{"AstNode0":[]},"ModifiableCssKeyframeBlock0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"LazyFileSpan0":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"LimitedMapView0":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"ListExpression0":{"Expression0":[],"AstNode0":[]},"SelectorList0":{"AstNode0":[]},"_ParentSelectorVisitor0":{"SelectorSearchVisitor0":["ParentSelector0"],"SelectorSearchVisitor0.T":"ParentSelector0"},"SassList0":{"Value0":[]},"LoudComment0":{"Statement0":[],"AstNode0":[]},"MapExpression0":{"Expression0":[],"AstNode0":[]},"SassMap0":{"Value0":[]},"ModifiableCssMediaRule0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"MediaRule0":{"Statement0":[],"AstNode0":[]},"MergedExtension0":{"Extension0":[]},"MergedMapView0":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.V":"2","MapBase.K":"1"},"SassMixin0":{"Value0":[]},"MixinRule0":{"Statement0":[],"AstNode0":[]},"_HasContentVisitor0":{"StatementSearchVisitor0":["bool"],"StatementSearchVisitor0.T":"bool"},"MultiSpan0":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"SupportsNegation0":{"AstNode0":[]},"NoOpImporter0":{"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":[],"AstNode0":[]},"ParentStatement0":{"Statement0":[],"AstNode0":[]},"ParenthesizedExpression0":{"Expression0":[],"AstNode0":[]},"PlaceholderSelector0":{"SimpleSelector0":[],"AstNode0":[]},"PlainCssCallable0":{"Callable":[],"AsyncCallable0":[]},"PrefixedMapView0":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.V":"1","MapBase.K":"String"},"_PrefixedKeys0":{"Iterable":["String"],"Iterable.E":"String"},"PseudoSelector0":{"SimpleSelector0":[],"AstNode0":[]},"PublicMemberMapView0":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.V":"1","MapBase.K":"String"},"ReturnRule0":{"Statement0":[],"AstNode0":[]},"Selector0":{"AstNode0":[]},"SelectorExpression0":{"Expression0":[],"AstNode0":[]},"ShadowedModuleView0":{"Module1":["1"]},"SilentComment0":{"Statement0":[],"AstNode0":[]},"SimpleSelector0":{"AstNode0":[]},"SingleUnitSassNumber0":{"SassNumber0":[],"Value0":[]},"StaticImport0":{"Import0":[],"AstNode0":[]},"StringExpression0":{"Expression0":[],"AstNode0":[]},"SassString0":{"Value0":[]},"ModifiableCssStyleRule0":{"ModifiableCssParentNode0":[],"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":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"SupportsRule0":{"Statement0":[],"AstNode0":[]},"JSToDartImporter":{"Importer0":[],"AsyncImporter0":[]},"TypeSelector0":{"SimpleSelector0":[],"AstNode0":[]},"UnaryOperationExpression0":{"Expression0":[],"AstNode0":[]},"UnitlessSassNumber0":{"SassNumber0":[],"Value0":[]},"UniversalSelector0":{"SimpleSelector0":[],"AstNode0":[]},"UnprefixedMapView0":{"MapBase":["String","1"],"Map":["String","1"],"MapBase.V":"1","MapBase.K":"String"},"_UnprefixedKeys0":{"Iterable":["String"],"Iterable.E":"String"},"UseRule0":{"Statement0":[],"AstNode0":[]},"UserDefinedCallable0":{"Callable":[],"AsyncCallable0":[]},"CssValue0":{"AstNode0":[]},"ValueExpression0":{"Expression0":[],"AstNode0":[]},"VariableExpression0":{"Expression0":[],"AstNode0":[]},"VariableDeclaration0":{"Statement0":[],"AstNode0":[]},"WarnRule0":{"Statement0":[],"AstNode0":[]},"WhileRule0":{"Statement0":[],"AstNode0":[]},"Int8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint8ClampedList":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Int16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Int32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Float32List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"]},"Float64List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"]},"CssComment":{"CssNode":[],"AstNode":[]},"Import":{"AstNode":[]},"Statement":{"AstNode":[]},"Callable0":{"AsyncCallable":[]},"Callable":{"AsyncCallable0":[]},"CssComment0":{"CssNode0":[],"AstNode0":[]},"Import0":{"AstNode0":[]},"Statement0":{"AstNode0":[]}}'));
  116193. 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,"_KeysOrValuesOrElementsIterator":1,"ConstantSet":1,"LinkedHashMapKeyIterator":1,"NativeTypedArray":1,"EventSink":1,"_SyncStarIterator":1,"_SyncStreamControllerDispatch":1,"_AsyncStreamControllerDispatch":1,"_AddStreamState":1,"_StreamControllerAddStreamState":1,"_DelayedEvent":1,"_DelayedData":1,"_PendingEvents":1,"_StreamIterator":1,"_ZoneFunction":1,"Queue":1,"_HashMapKeyIterator":1,"_LinkedHashSetIterator":1,"UnmodifiableMapBase":2,"_MapBaseValueIterator":2,"_UnmodifiableMapMixin":2,"MapView":2,"_ListQueueIterator":1,"_UnmodifiableSetMixin":1,"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":2,"_UnmodifiableSetView_SetBase__UnmodifiableSetMixin":1,"_StringSinkConversionSink":1,"Expando":1,"_EventRequest":1,"_EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin":1,"DefaultEquality":1,"IterableEquality":1,"ListEquality":1,"MapEquality":2,"_QueueList_Object_ListMixin":1,"_UnionSet_SetBase_UnmodifiableSetMixin":1,"UnmodifiableSetMixin":1,"_UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin":1,"_DelegatingIterableBase":1,"_MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin":1,"ParentStatement":1,"ParentStatement0":1}'));
  116194. var string$ = {
  116195. x0a_BUG_: "\n\nBUG: This should include a source span!",
  116196. x0a_Morex20: "\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",
  116197. x0a_Morex3a: "\n\nMore info: https://sass-lang.com/d/function-units",
  116198. x0a_See_: "\n\nSee https://sass-lang.com/d/function-units",
  116199. x0a_This: "\n\nThis is only an error because you've set the ",
  116200. x0a_To_p: "\n\nTo preserve current behavior: math.random(math.div($limit, 1",
  116201. x0a_but_: "\n\nbut you may have intended it to mean:\n\n ",
  116202. x0aRun_i: "\nRun in verbose mode to see all warnings.",
  116203. x0aThis_: "\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators",
  116204. x0aYou_m: "\nYou may not @extend the same selector from within different media queries.",
  116205. x20It_wi: " It will be omitted from the generated CSS.",
  116206. 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",
  116207. x20depre: " deprecation to be fatal.\nRemove this setting if you need to keep using this feature.",
  116208. x20in_in: " in interpolation here.\nIt may end up represented as ",
  116209. x20is_as: " is asynchronous.\nThis is probably caused by a bug in a Sass plugin.",
  116210. x20is_av: " is available from multiple global modules.",
  116211. x20is_de: " is deprecated.\n\nTo preserve current behavior: ",
  116212. x20is_noa: " is not a valid selector: it must be a string,\na list of strings, or a list of lists of strings.",
  116213. 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",
  116214. x20must_b: " must be either nearest, up, down or to-zero.",
  116215. x20must_n: " must not be greater than the number of characters in the file, ",
  116216. x20repet: " repetitive deprecation warnings omitted.",
  116217. x20targe: " targetLocations if the interpolation has ",
  116218. 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",
  116219. x20to_co: " to color.opacity() is deprecated.\n\nRecommendation: ",
  116220. x20was_a: ' was already loaded, so it can\'t be configured using "with".',
  116221. x20was_n: " was not declared with !default in the @used module.",
  116222. x20was_p: " was passed both by position and by name.",
  116223. x21defau: "!default should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",
  116224. x21globai: "!global isn't allowed for variables in other modules.",
  116225. x21globas: "!global should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",
  116226. x22x20can_: "\" can't be used as a parent in a compound selector.",
  116227. 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',
  116228. 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',
  116229. x22x20is_n: '" is not a valid Sass identifier.\n\nRecommendation: add an "as" clause to define an explicit namespace.',
  116230. x22x20is_o: "\" is only valid for nesting and shouldn't\nhave children other than style rules.",
  116231. x22x26__ma: '"&" may only used at the beginning of a compound selector.',
  116232. x22x29__If: "\").\nIf you really want to use the color value here, use '",
  116233. x22x2b__an: '"+" and "-" must be surrounded by whitespace in calculations.',
  116234. x22packa: '"package:" URLs aren\'t supported on this platform.',
  116235. x24css_a: "$css and $module may not both be passed at once.",
  116236. x24list1: "$list1, $list2, $separator: auto, $bracketed: auto",
  116237. x24selec: "$selectors: At least one selector must be passed.",
  116238. x24separ: '$separator: Must be "space", "comma", "slash", or "auto".',
  116239. x28__isn: "() isn't in the sass:color module.\n\nRecommendation: color.adjust(",
  116240. x29x0a_Mor: ")\n\nMore info: https://sass-lang.com/documentation/functions/color#",
  116241. x29x20in_a: ") in a future release.\n\nRecommendation: math.random(math.div($limit, 1",
  116242. x29x20is_d: ") is deprecated.\n\nTo preserve current behavior: ",
  116243. x29x20to_cg: ") to color.grayscale() is deprecated.\n\nRecommendation: ",
  116244. x29x20to_ci: ") to color.invert() is deprecated.\n\nRecommendation: ",
  116245. x29x29__Mo: "))\n\nMore info: https://sass-lang.com/d/function-units",
  116246. x2c_whicu: ", which uses a scheme declared as non-canonical.",
  116247. x2c_whicw: ', which will likely produce invalid CSS.\nAlways quote color names when using them as strings or map keys (for example, "',
  116248. x2e_Rela: ".\nRelative canonical URLs are deprecated and will eventually be disallowed.",
  116249. x3d_____: "===== asynchronous gap ===========================\n",
  116250. 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.",
  116251. x40conte: "@content is only allowed within mixin declarations.",
  116252. x40elsei: "@elseif is deprecated and will not be supported in future Sass versions.\n\nRecommendation: @else if",
  116253. x40exten: "@extend may only be used within style rules.",
  116254. x40forwa: "@forward rules must be written before any other rules.",
  116255. x40funct: "@function if($condition, $if-true, $if-false) {",
  116256. x40use_r: "@use rules must be written before any other rules.",
  116257. A_list: "A list with more than one element must have an explicit separator.",
  116258. ABCDEF: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  116259. An_impa: "An importer may not have a findFileUrl method as well as canonicalize and load methods.",
  116260. An_impu: "An importer must have either canonicalize and load methods, or a findFileUrl method.",
  116261. As_of_R: "As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nRecommendation: add `",
  116262. 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.",
  116263. At_rul: "At-rules may not be used within nested declarations.",
  116264. Cannotff: "Cannot extract a file path from a URI with a fragment component",
  116265. Cannotfq: "Cannot extract a file path from a URI with a query component",
  116266. Cannotn: "Cannot extract a non-Windows file path from a file URI with an authority",
  116267. Comple: "ComplexSassNumber.hasPossiblyCompatibleUnits is not implemented.",
  116268. Could_: 'Could not find an option with short name "-',
  116269. CssNod: "CssNodes must have a CssStylesheet transitive parent node.",
  116270. Custom: "Custom importers are required to load stylesheets when compiling in the browser.",
  116271. Declarm: "Declarations may only be used within style rules.",
  116272. Declarw: 'Declarations whose names begin with "--" may not be nested.',
  116273. Either: "Either options.data or options.file must be set.",
  116274. Entrie: "Entries may not be removed from MergedMapView.",
  116275. 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",
  116276. Evalua: "Evaluation handles @include and its content block together.",
  116277. Expect: "Expected variable, mixin, or function name",
  116278. Functi: "Functions may not be declared in control directives.",
  116279. HSL_pa: "HSL parameters may not be passed along with HWB parameters.",
  116280. If_con: "If conditions is longer than one element, conjunction may not be null.",
  116281. If_par: "If parsedAsCustomProperty is true, value must contain a SassString (was `",
  116282. If_str: "If strategy is not null, step is required.",
  116283. In_Sas: 'In Sass, "&&" means two copies of the parent selector. You probably want to use "and" instead.',
  116284. Indent: "Indenting at the beginning of the document is illegal.",
  116285. Interpn: "Interpolation isn't allowed in namespaces.",
  116286. Interpp: "Interpolation isn't allowed in plain CSS.",
  116287. Invali: 'Invalid return value for custom function "',
  116288. It_s_n: "It's not clear which file to import. Found:\n",
  116289. Keywor: "Keyword arguments can't be used with calculations.",
  116290. Local_: "Local '' has been assigned during initialization.",
  116291. May_on: "May only contains Strings or Expressions.",
  116292. Media_: "Media rules may not be used within nested declarations.",
  116293. Mixinsb: "Mixins may not be declared in control directives.",
  116294. Mixinscf: "Mixins may not contain function declarations.",
  116295. Mixinscm: "Mixins may not contain mixin declarations.",
  116296. Modulel: "Module loop: this module is already being loaded.",
  116297. Modulen: "Module namespaces aren't allowed in plain CSS.",
  116298. Nested: "Nested declarations aren't allowed in plain CSS.",
  116299. New_en: "New entries may not be added to MergedMapView.",
  116300. No_Sasc: "No Sass callable is currently being evaluated.",
  116301. No_Sass: "No Sass stylesheet is currently being evaluated.",
  116302. NoSour: "NoSourceMapBuffer.buildSourceMap() is not supported.",
  116303. Number: "Number to round and step arguments are required.",
  116304. Only_2: "Only 2 slash-separated elements allowed, but ",
  116305. Only_oa: "Only one argument may be passed to the plain-CSS invert() function.",
  116306. Only_op: "Only one positional argument is allowed. All other arguments must be passed by name.",
  116307. Other_: "Other modules' members can't be defined with !global.",
  116308. Passina: "Passing a string to call() is deprecated and will be illegal in Dart Sass 2.0.0.\n\nRecommendation: call(get-function(",
  116309. Passinp: "Passing percentage units to the global abs() function is deprecated.\nIn the future, this will emit a CSS abs() function to be resolved by the browser.\nTo preserve current behavior: math.abs(",
  116310. Placeh: "Placeholder selectors aren't allowed here.",
  116311. Plain_: "Plain CSS functions don't support keyword arguments.",
  116312. Positi: "Positional arguments must come before keyword arguments.",
  116313. Privat: "Private members can't be accessed from outside their modules.",
  116314. RGB_pa: "RGB parameters may not be passed along with ",
  116315. Rest_a: "Rest arguments can't be used with calculations.",
  116316. Sass__: "Sass @import rules will be deprecated in the future.\nRemove the --future-deprecation=import flag to silence this warning for now.",
  116317. Sass_v: "Sass variables aren't allowed in plain CSS.",
  116318. Silent: "Silent comments aren't allowed in plain CSS.",
  116319. Style_: "Style rules may not be used within nested declarations.",
  116320. Suppor: "Supports rules may not be used within nested declarations.",
  116321. The_Ex: "The ExtensionStore and CssStylesheet passed to cloneCssStylesheet() must come from the same compilation.",
  116322. The_ca: "The canonicalize() method must return a URL.",
  116323. The_fie: "The findFileUrl() method must return a URL.",
  116324. The_fiu: 'The findFileUrl() must return a URL with scheme file://, was "',
  116325. The_gi: "The given LineScannerState was not returned by this LineScanner.",
  116326. The_lo: "The load() function must return an object with contents and syntax fields.",
  116327. The_pa: "The parent selector isn't allowed in plain CSS.",
  116328. The_sa: "The same variable may only be configured once.",
  116329. The_ta: 'The target selector was not found.\nUse "@extend ',
  116330. There_: "There's already a module with namespace \"",
  116331. This_d: 'This declaration has no argument named "$',
  116332. This_e: "This expression can't be used in a calculation.",
  116333. This_f: "This function isn't allowed in plain CSS.",
  116334. This_ma: 'This module and the new module both define a variable named "$',
  116335. This_mw: 'This module was already loaded, so it can\'t be configured using "with".',
  116336. This_o: "This operation can't be used in a calculation.",
  116337. This_s: "This selector doesn't have any properties and won't be rendered.",
  116338. This_v: "This variable was not declared with !default in the @used module.",
  116339. Top_le: 'Top-level selectors may not contain the parent selector "&".',
  116340. Using__i: "Using / for division is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  116341. Using__o: "Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",
  116342. Using_c: "Using color.alpha() for a Microsoft filter is deprecated.\n\nRecommendation: ",
  116343. Variab_: "Variable keyword argument map must have string keys.\n",
  116344. Variabs: "Variable keyword arguments must be a map (was ",
  116345. You_ma: "You may not @extend selectors across media queries.",
  116346. You_pr: "You probably don't mean to use the color value ",
  116347. x60_inst: "` instead.\nSee https://sass-lang.com/d/extend-compound for details.\n",
  116348. addExt: "addExtensions() can't be called for a const ExtensionStore.",
  116349. compou: "compound selectors may no longer be extended.\nConsider `@extend ",
  116350. conten: "content-exists() may only be called within a mixin.",
  116351. fileEx: "fileExists() is only supported on Node.js",
  116352. leadin: "leadingCombinators and components may not both be empty.",
  116353. math_d: "math.div() will only support number arguments in a future release.\nUse list.slash() instead for a slash separator.",
  116354. math_r: "math.random() will no longer ignore $limit units (",
  116355. must_b: "must be a UniversalSelector or a TypeSelector",
  116356. parsed: 'parsedAsCustomProperty must be false if name doesn\'t begin with "--".',
  116357. semico: "semicolons aren't allowed in the indented syntax.",
  116358. throug: "through() must return false for at least one parent of ",
  116359. x7d__Mor: "})\nMore info: https://sass-lang.com/d/abs-percent"
  116360. };
  116361. var type$ = (function rtii() {
  116362. var findType = A.findType;
  116363. return {
  116364. $env_1_1_String: findType("@<String>"),
  116365. ArgParser: findType("ArgParser"),
  116366. Argument: findType("Argument"),
  116367. ArgumentDeclaration: findType("ArgumentDeclaration"),
  116368. ArgumentDeclaration_2: findType("ArgumentDeclaration0"),
  116369. Argument_2: findType("Argument0"),
  116370. AstNode: findType("AstNode"),
  116371. AstNode_2: findType("AstNode0"),
  116372. AsyncBuiltInCallable: findType("AsyncBuiltInCallable"),
  116373. AsyncBuiltInCallable_2: findType("AsyncBuiltInCallable0"),
  116374. AsyncCallable: findType("AsyncCallable"),
  116375. AsyncCallable_2: findType("AsyncCallable0"),
  116376. AsyncImporter: findType("AsyncImporter0"),
  116377. Box_SelectorList: findType("Box<SelectorList>"),
  116378. Box_SelectorList_2: findType("Box0<SelectorList0>"),
  116379. BuiltInCallable: findType("BuiltInCallable"),
  116380. BuiltInCallable_2: findType("BuiltInCallable0"),
  116381. BuiltInModule_AsyncCallable: findType("BuiltInModule<AsyncCallable>"),
  116382. BuiltInModule_AsyncCallable_2: findType("BuiltInModule0<AsyncCallable0>"),
  116383. BuiltInModule_Callable: findType("BuiltInModule<Callable0>"),
  116384. BuiltInModule_Callable_2: findType("BuiltInModule0<Callable>"),
  116385. ByteBuffer: findType("ByteBuffer"),
  116386. ByteData: findType("ByteData"),
  116387. Callable: findType("Callable0"),
  116388. Callable_2: findType("Callable"),
  116389. ChangeType: findType("ChangeType"),
  116390. Comparable_dynamic: findType("Comparable<@>"),
  116391. Comparable_nullable_Object: findType("Comparable<Object?>"),
  116392. CompileResult: findType("CompileResult"),
  116393. CompileResult_2: findType("CompileResult0"),
  116394. ComplexSelector: findType("ComplexSelector"),
  116395. ComplexSelectorComponent: findType("ComplexSelectorComponent"),
  116396. ComplexSelectorComponent_2: findType("ComplexSelectorComponent0"),
  116397. ComplexSelector_2: findType("ComplexSelector0"),
  116398. Configuration: findType("Configuration"),
  116399. Configuration_2: findType("Configuration0"),
  116400. ConfiguredValue: findType("ConfiguredValue"),
  116401. ConfiguredValue_2: findType("ConfiguredValue0"),
  116402. ConfiguredVariable: findType("ConfiguredVariable"),
  116403. ConfiguredVariable_2: findType("ConfiguredVariable0"),
  116404. ConstantMapView_Symbol_dynamic: findType("ConstantMapView<Symbol0,@>"),
  116405. ConstantStringMap_String_double: findType("ConstantStringMap<String,double>"),
  116406. ConstantStringSet_String: findType("ConstantStringSet<String>"),
  116407. CssComment: findType("CssComment"),
  116408. CssComment_2: findType("CssComment0"),
  116409. CssMediaQuery: findType("CssMediaQuery"),
  116410. CssMediaQuery_2: findType("CssMediaQuery0"),
  116411. CssParentNode: findType("CssParentNode"),
  116412. CssParentNode_2: findType("CssParentNode0"),
  116413. CssStylesheet: findType("CssStylesheet"),
  116414. CssStylesheet_2: findType("CssStylesheet0"),
  116415. CssValue_Combinator: findType("CssValue<Combinator>"),
  116416. CssValue_Combinator_2: findType("CssValue0<Combinator0>"),
  116417. CssValue_List_String: findType("CssValue<List<String>>"),
  116418. CssValue_List_String_2: findType("CssValue0<List<String>>"),
  116419. CssValue_String: findType("CssValue<String>"),
  116420. CssValue_String_2: findType("CssValue0<String>"),
  116421. CssValue_Value: findType("CssValue<Value>"),
  116422. CssValue_Value_2: findType("CssValue0<Value0>"),
  116423. DateTime: findType("DateTime"),
  116424. Deprecation: findType("Deprecation"),
  116425. Deprecation_2: findType("Deprecation0"),
  116426. EfficientLengthIterable_dynamic: findType("EfficientLengthIterable<@>"),
  116427. Error: findType("Error"),
  116428. EvaluationContext: findType("EvaluationContext"),
  116429. EvaluationContext_2: findType("EvaluationContext0"),
  116430. Exception: findType("Exception"),
  116431. Expression: findType("Expression"),
  116432. Expression_2: findType("Expression0"),
  116433. Extender: findType("Extender"),
  116434. Extender_2: findType("Extender0"),
  116435. Extension: findType("Extension"),
  116436. Extension_2: findType("Extension0"),
  116437. FileSpan: findType("FileSpan"),
  116438. Float32List: findType("Float32List"),
  116439. Float64List: findType("Float64List"),
  116440. FormatException: findType("FormatException"),
  116441. Frame: findType("Frame"),
  116442. Function: findType("Function"),
  116443. FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)/"),
  116444. FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)/"),
  116445. FutureOr_nullable_Uri: findType("Uri?/"),
  116446. Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)>"),
  116447. Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)>"),
  116448. Future_Value: findType("Future<Value>"),
  116449. Future_Value_2: findType("Future<Value0>"),
  116450. Future_nullable_CssValue_String: findType("Future<CssValue<String>?>"),
  116451. Future_nullable_CssValue_String_2: findType("Future<CssValue0<String>?>"),
  116452. Future_nullable_ImporterResult: findType("Future<ImporterResult0?>"),
  116453. Future_nullable_Uri: findType("Future<Uri?>"),
  116454. Future_nullable_Value: findType("Future<Value?>"),
  116455. Future_nullable_Value_2: findType("Future<Value0?>"),
  116456. Future_void: findType("Future<~>"),
  116457. IfClause: findType("IfClause"),
  116458. IfClause_2: findType("IfClause0"),
  116459. ImmutableList: findType("ImmutableList0"),
  116460. ImmutableList_2: findType("ImmutableList"),
  116461. ImmutableMap: findType("ImmutableMap0"),
  116462. Import: findType("Import"),
  116463. Import_2: findType("Import0"),
  116464. Importer: findType("Importer0"),
  116465. ImporterResult: findType("ImporterResult"),
  116466. ImporterResult_2: findType("ImporterResult0"),
  116467. Int16List: findType("Int16List"),
  116468. Int32List: findType("Int32List"),
  116469. Int8List: findType("Int8List"),
  116470. Interpolation: findType("Interpolation"),
  116471. InterpolationBuffer: findType("InterpolationBuffer"),
  116472. InterpolationBuffer_2: findType("InterpolationBuffer0"),
  116473. Interpolation_2: findType("Interpolation0"),
  116474. Iterable_ComplexSelectorComponent: findType("Iterable<ComplexSelectorComponent>"),
  116475. Iterable_ComplexSelectorComponent_2: findType("Iterable<ComplexSelectorComponent0>"),
  116476. Iterable_dynamic: findType("Iterable<@>"),
  116477. Iterable_nullable_Object: findType("Iterable<Object?>"),
  116478. JSArray_Argument: findType("JSArray<Argument>"),
  116479. JSArray_Argument_2: findType("JSArray<Argument0>"),
  116480. JSArray_AstNode: findType("JSArray<AstNode>"),
  116481. JSArray_AstNode_2: findType("JSArray<AstNode0>"),
  116482. JSArray_AsyncBuiltInCallable: findType("JSArray<AsyncBuiltInCallable>"),
  116483. JSArray_AsyncBuiltInCallable_2: findType("JSArray<AsyncBuiltInCallable0>"),
  116484. JSArray_AsyncCallable: findType("JSArray<AsyncCallable>"),
  116485. JSArray_AsyncCallable_2: findType("JSArray<AsyncCallable0>"),
  116486. JSArray_AsyncImporter: findType("JSArray<AsyncImporter0>"),
  116487. JSArray_AsyncImporter_2: findType("JSArray<AsyncImporter>"),
  116488. JSArray_BinaryOperator: findType("JSArray<BinaryOperator>"),
  116489. JSArray_BinaryOperator_2: findType("JSArray<BinaryOperator0>"),
  116490. JSArray_BuiltInCallable: findType("JSArray<BuiltInCallable>"),
  116491. JSArray_BuiltInCallable_2: findType("JSArray<BuiltInCallable0>"),
  116492. JSArray_Callable: findType("JSArray<Callable0>"),
  116493. JSArray_Callable_2: findType("JSArray<Callable>"),
  116494. JSArray_ComplexSelector: findType("JSArray<ComplexSelector>"),
  116495. JSArray_ComplexSelectorComponent: findType("JSArray<ComplexSelectorComponent>"),
  116496. JSArray_ComplexSelectorComponent_2: findType("JSArray<ComplexSelectorComponent0>"),
  116497. JSArray_ComplexSelector_2: findType("JSArray<ComplexSelector0>"),
  116498. JSArray_ConfiguredVariable: findType("JSArray<ConfiguredVariable>"),
  116499. JSArray_ConfiguredVariable_2: findType("JSArray<ConfiguredVariable0>"),
  116500. JSArray_CssComment: findType("JSArray<CssComment>"),
  116501. JSArray_CssComment_2: findType("JSArray<CssComment0>"),
  116502. JSArray_CssMediaQuery: findType("JSArray<CssMediaQuery>"),
  116503. JSArray_CssMediaQuery_2: findType("JSArray<CssMediaQuery0>"),
  116504. JSArray_CssNode: findType("JSArray<CssNode>"),
  116505. JSArray_CssNode_2: findType("JSArray<CssNode0>"),
  116506. JSArray_CssValue_Combinator: findType("JSArray<CssValue<Combinator>>"),
  116507. JSArray_CssValue_Combinator_2: findType("JSArray<CssValue0<Combinator0>>"),
  116508. JSArray_Entry: findType("JSArray<Entry>"),
  116509. JSArray_Expression: findType("JSArray<Expression>"),
  116510. JSArray_Expression_2: findType("JSArray<Expression0>"),
  116511. JSArray_Extender: findType("JSArray<Extender>"),
  116512. JSArray_Extender_2: findType("JSArray<Extender0>"),
  116513. JSArray_Extension: findType("JSArray<Extension>"),
  116514. JSArray_ExtensionStore: findType("JSArray<ExtensionStore>"),
  116515. JSArray_ExtensionStore_2: findType("JSArray<ExtensionStore0>"),
  116516. JSArray_Extension_2: findType("JSArray<Extension0>"),
  116517. JSArray_ForwardRule: findType("JSArray<ForwardRule>"),
  116518. JSArray_ForwardRule_2: findType("JSArray<ForwardRule0>"),
  116519. JSArray_Frame: findType("JSArray<Frame>"),
  116520. JSArray_Future_nullable_Record_3_int_and_String_and_nullable_String: findType("JSArray<Future<+(int,String,String?)?>>"),
  116521. JSArray_IfClause: findType("JSArray<IfClause>"),
  116522. JSArray_IfClause_2: findType("JSArray<IfClause0>"),
  116523. JSArray_Import: findType("JSArray<Import>"),
  116524. JSArray_Import_2: findType("JSArray<Import0>"),
  116525. JSArray_Importer: findType("JSArray<Importer0>"),
  116526. JSArray_Importer_2: findType("JSArray<Importer>"),
  116527. JSArray_Iterable_ComplexSelectorComponent: findType("JSArray<Iterable<ComplexSelectorComponent>>"),
  116528. JSArray_Iterable_ComplexSelectorComponent_2: findType("JSArray<Iterable<ComplexSelectorComponent0>>"),
  116529. JSArray_JSFunction: findType("JSArray<JSFunction1>"),
  116530. JSArray_List_ComplexSelector: findType("JSArray<List<ComplexSelector>>"),
  116531. JSArray_List_ComplexSelectorComponent: findType("JSArray<List<ComplexSelectorComponent>>"),
  116532. JSArray_List_ComplexSelectorComponent_2: findType("JSArray<List<ComplexSelectorComponent0>>"),
  116533. JSArray_List_ComplexSelector_2: findType("JSArray<List<ComplexSelector0>>"),
  116534. JSArray_List_Extender: findType("JSArray<List<Extender>>"),
  116535. JSArray_List_Extender_2: findType("JSArray<List<Extender0>>"),
  116536. JSArray_List_Iterable_ComplexSelectorComponent: findType("JSArray<List<Iterable<ComplexSelectorComponent>>>"),
  116537. JSArray_List_Iterable_ComplexSelectorComponent_2: findType("JSArray<List<Iterable<ComplexSelectorComponent0>>>"),
  116538. JSArray_Map_String_AstNode: findType("JSArray<Map<String,AstNode>>"),
  116539. JSArray_Map_String_AstNode_2: findType("JSArray<Map<String,AstNode0>>"),
  116540. JSArray_Map_String_AsyncCallable: findType("JSArray<Map<String,AsyncCallable>>"),
  116541. JSArray_Map_String_AsyncCallable_2: findType("JSArray<Map<String,AsyncCallable0>>"),
  116542. JSArray_Map_String_Callable: findType("JSArray<Map<String,Callable0>>"),
  116543. JSArray_Map_String_Callable_2: findType("JSArray<Map<String,Callable>>"),
  116544. JSArray_Map_String_Value: findType("JSArray<Map<String,Value>>"),
  116545. JSArray_Map_String_Value_2: findType("JSArray<Map<String,Value0>>"),
  116546. JSArray_ModifiableCssImport: findType("JSArray<ModifiableCssImport>"),
  116547. JSArray_ModifiableCssImport_2: findType("JSArray<ModifiableCssImport0>"),
  116548. JSArray_ModifiableCssNode: findType("JSArray<ModifiableCssNode>"),
  116549. JSArray_ModifiableCssNode_2: findType("JSArray<ModifiableCssNode0>"),
  116550. JSArray_ModifiableCssParentNode: findType("JSArray<ModifiableCssParentNode>"),
  116551. JSArray_ModifiableCssParentNode_2: findType("JSArray<ModifiableCssParentNode0>"),
  116552. JSArray_Module_AsyncCallable: findType("JSArray<Module0<AsyncCallable>>"),
  116553. JSArray_Module_AsyncCallable_2: findType("JSArray<Module1<AsyncCallable0>>"),
  116554. JSArray_Module_Callable: findType("JSArray<Module0<Callable0>>"),
  116555. JSArray_Module_Callable_2: findType("JSArray<Module1<Callable>>"),
  116556. JSArray_Object: findType("JSArray<Object>"),
  116557. JSArray_PseudoSelector: findType("JSArray<PseudoSelector>"),
  116558. JSArray_PseudoSelector_2: findType("JSArray<PseudoSelector0>"),
  116559. JSArray_Record_2_ArgumentDeclaration_and_Value_Function_List_Value: findType("JSArray<+(ArgumentDeclaration,Value(List<Value>))>"),
  116560. JSArray_Record_2_ArgumentDeclaration_and_Value_Function_List_Value_2: findType("JSArray<+(ArgumentDeclaration0,Value0(List<Value0>))>"),
  116561. JSArray_Record_2_Expression_and_Expression: findType("JSArray<+(Expression,Expression)>"),
  116562. JSArray_Record_2_Expression_and_Expression_2: findType("JSArray<+(Expression0,Expression0)>"),
  116563. JSArray_Record_2_String_and_AstNode: findType("JSArray<+(String,AstNode)>"),
  116564. JSArray_Record_2_String_and_AstNode_2: findType("JSArray<+(String,AstNode0)>"),
  116565. JSArray_SassList: findType("JSArray<SassList>"),
  116566. JSArray_SassList_2: findType("JSArray<SassList0>"),
  116567. JSArray_SimpleSelector: findType("JSArray<SimpleSelector>"),
  116568. JSArray_SimpleSelector_2: findType("JSArray<SimpleSelector0>"),
  116569. JSArray_SourceLocation: findType("JSArray<SourceLocation>"),
  116570. JSArray_Statement: findType("JSArray<Statement>"),
  116571. JSArray_Statement_2: findType("JSArray<Statement0>"),
  116572. JSArray_String: findType("JSArray<String>"),
  116573. JSArray_StylesheetNode: findType("JSArray<StylesheetNode>"),
  116574. JSArray_TargetEntry: findType("JSArray<TargetEntry>"),
  116575. JSArray_TargetLineEntry: findType("JSArray<TargetLineEntry>"),
  116576. JSArray_Trace: findType("JSArray<Trace>"),
  116577. JSArray_UseRule: findType("JSArray<UseRule>"),
  116578. JSArray_UseRule_2: findType("JSArray<UseRule0>"),
  116579. JSArray_Value: findType("JSArray<Value>"),
  116580. JSArray_Value_2: findType("JSArray<Value0>"),
  116581. JSArray_WatchEvent: findType("JSArray<WatchEvent>"),
  116582. JSArray__Highlight: findType("JSArray<_Highlight>"),
  116583. JSArray__Line: findType("JSArray<_Line>"),
  116584. JSArray_dynamic: findType("JSArray<@>"),
  116585. JSArray_int: findType("JSArray<int>"),
  116586. JSArray_nullable_Record_3_int_and_String_and_nullable_String: findType("JSArray<+(int,String,String?)?>"),
  116587. JSArray_nullable_String: findType("JSArray<String?>"),
  116588. JSClass: findType("JSClass0"),
  116589. JSFunction: findType("JSFunction1"),
  116590. JSImporter: findType("JSImporter"),
  116591. JSImporterResult: findType("JSImporterResult"),
  116592. JSNull: findType("JSNull"),
  116593. JSUrl: findType("JSUrl0"),
  116594. JavaScriptFunction: findType("JavaScriptFunction"),
  116595. JavaScriptIndexingBehavior_dynamic: findType("JavaScriptIndexingBehavior<@>"),
  116596. JsIdentityLinkedHashMap_SimpleSelector_int: findType("JsIdentityLinkedHashMap<SimpleSelector,int>"),
  116597. JsIdentityLinkedHashMap_SimpleSelector_int_2: findType("JsIdentityLinkedHashMap<SimpleSelector0,int>"),
  116598. JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList: findType("JsIdentityLinkedHashMap<SelectorList,Box<SelectorList>>"),
  116599. JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList_2: findType("JsIdentityLinkedHashMap<SelectorList0,Box0<SelectorList0>>"),
  116600. JsLinkedHashMap_Symbol_dynamic: findType("JsLinkedHashMap<Symbol0,@>"),
  116601. JsSystemError: findType("JsSystemError"),
  116602. LimitedMapView_String_ConfiguredValue: findType("LimitedMapView<String,ConfiguredValue>"),
  116603. LimitedMapView_String_ConfiguredValue_2: findType("LimitedMapView0<String,ConfiguredValue0>"),
  116604. List_ComplexSelectorComponent: findType("List<ComplexSelectorComponent>"),
  116605. List_ComplexSelectorComponent_2: findType("List<ComplexSelectorComponent0>"),
  116606. List_CssComment: findType("List<CssComment>"),
  116607. List_CssComment_2: findType("List<CssComment0>"),
  116608. List_CssMediaQuery: findType("List<CssMediaQuery>"),
  116609. List_CssMediaQuery_2: findType("List<CssMediaQuery0>"),
  116610. List_CssValue_Combinator: findType("List<CssValue<Combinator>>"),
  116611. List_CssValue_Combinator_2: findType("List<CssValue0<Combinator0>>"),
  116612. List_Extension: findType("List<Extension>"),
  116613. List_ExtensionStore: findType("List<ExtensionStore>"),
  116614. List_ExtensionStore_2: findType("List<ExtensionStore0>"),
  116615. List_Extension_2: findType("List<Extension0>"),
  116616. List_List_ComplexSelectorComponent: findType("List<List<ComplexSelectorComponent>>"),
  116617. List_List_ComplexSelectorComponent_2: findType("List<List<ComplexSelectorComponent0>>"),
  116618. List_Module_AsyncCallable: findType("List<Module0<AsyncCallable>>"),
  116619. List_Module_AsyncCallable_2: findType("List<Module1<AsyncCallable0>>"),
  116620. List_Module_Callable: findType("List<Module0<Callable0>>"),
  116621. List_Module_Callable_2: findType("List<Module1<Callable>>"),
  116622. List_String: findType("List<String>"),
  116623. List_Value: findType("List<Value>"),
  116624. List_Value_2: findType("List<Value0>"),
  116625. List_WatchEvent: findType("List<WatchEvent>"),
  116626. List_dynamic: findType("List<@>"),
  116627. List_int: findType("List<int>"),
  116628. List_nullable_Object: findType("List<Object?>"),
  116629. MapKeySet_Module_AsyncCallable: findType("MapKeySet<Module0<AsyncCallable>>"),
  116630. MapKeySet_Module_AsyncCallable_2: findType("MapKeySet<Module1<AsyncCallable0>>"),
  116631. MapKeySet_Module_Callable: findType("MapKeySet<Module0<Callable0>>"),
  116632. MapKeySet_Module_Callable_2: findType("MapKeySet<Module1<Callable>>"),
  116633. MapKeySet_SimpleSelector: findType("MapKeySet<SimpleSelector>"),
  116634. MapKeySet_SimpleSelector_2: findType("MapKeySet<SimpleSelector0>"),
  116635. MapKeySet_String: findType("MapKeySet<String>"),
  116636. MapKeySet_nullable_Object: findType("MapKeySet<Object?>"),
  116637. Map_ComplexSelector_Extension: findType("Map<ComplexSelector,Extension>"),
  116638. Map_ComplexSelector_Extension_2: findType("Map<ComplexSelector0,Extension0>"),
  116639. Map_String_AstNode: findType("Map<String,AstNode>"),
  116640. Map_String_AstNode_2: findType("Map<String,AstNode0>"),
  116641. Map_String_AsyncCallable: findType("Map<String,AsyncCallable>"),
  116642. Map_String_AsyncCallable_2: findType("Map<String,AsyncCallable0>"),
  116643. Map_String_Callable: findType("Map<String,Callable0>"),
  116644. Map_String_Callable_2: findType("Map<String,Callable>"),
  116645. Map_String_Value: findType("Map<String,Value>"),
  116646. Map_String_Value_2: findType("Map<String,Value0>"),
  116647. Map_String_dynamic: findType("Map<String,@>"),
  116648. Map_dynamic_dynamic: findType("Map<@,@>"),
  116649. Map_of_nullable_Object_and_nullable_Object: findType("Map<Object?,Object?>"),
  116650. MappedIterable_String_Frame: findType("MappedIterable<String,Frame>"),
  116651. MappedListIterable_Frame_Frame: findType("MappedListIterable<Frame,Frame>"),
  116652. MappedListIterable_String_Object: findType("MappedListIterable<String,Object>"),
  116653. MappedListIterable_String_String: findType("MappedListIterable<String,String>"),
  116654. MappedListIterable_String_Trace: findType("MappedListIterable<String,Trace>"),
  116655. MappedListIterable_String_Value: findType("MappedListIterable<String,Value>"),
  116656. MappedListIterable_String_Value_2: findType("MappedListIterable<String,Value0>"),
  116657. MappedListIterable_String_dynamic: findType("MappedListIterable<String,@>"),
  116658. ModifiableBox_SelectorList: findType("ModifiableBox<SelectorList>"),
  116659. ModifiableBox_SelectorList_2: findType("ModifiableBox0<SelectorList0>"),
  116660. ModifiableCssAtRule: findType("ModifiableCssAtRule"),
  116661. ModifiableCssAtRule_2: findType("ModifiableCssAtRule0"),
  116662. ModifiableCssKeyframeBlock: findType("ModifiableCssKeyframeBlock"),
  116663. ModifiableCssKeyframeBlock_2: findType("ModifiableCssKeyframeBlock0"),
  116664. ModifiableCssMediaRule: findType("ModifiableCssMediaRule"),
  116665. ModifiableCssMediaRule_2: findType("ModifiableCssMediaRule0"),
  116666. ModifiableCssNode: findType("ModifiableCssNode"),
  116667. ModifiableCssNode_2: findType("ModifiableCssNode0"),
  116668. ModifiableCssParentNode: findType("ModifiableCssParentNode"),
  116669. ModifiableCssParentNode_2: findType("ModifiableCssParentNode0"),
  116670. ModifiableCssStyleRule: findType("ModifiableCssStyleRule"),
  116671. ModifiableCssStyleRule_2: findType("ModifiableCssStyleRule0"),
  116672. ModifiableCssSupportsRule: findType("ModifiableCssSupportsRule"),
  116673. ModifiableCssSupportsRule_2: findType("ModifiableCssSupportsRule0"),
  116674. Module_AsyncCallable: findType("Module0<AsyncCallable>"),
  116675. Module_AsyncCallable_2: findType("Module1<AsyncCallable0>"),
  116676. Module_Callable: findType("Module0<Callable0>"),
  116677. Module_Callable_2: findType("Module1<Callable>"),
  116678. MultiSourceSpanFormatException: findType("MultiSourceSpanFormatException"),
  116679. NativeTypedArrayOfDouble: findType("NativeTypedArrayOfDouble"),
  116680. NativeTypedArrayOfInt: findType("NativeTypedArrayOfInt"),
  116681. NativeUint8List: findType("NativeUint8List"),
  116682. Never: findType("0&"),
  116683. NodeCompileResult: findType("NodeCompileResult"),
  116684. NodeImporterResult: findType("NodeImporterResult0"),
  116685. Null: findType("Null"),
  116686. Object: findType("Object"),
  116687. Option: findType("Option"),
  116688. PathMap_ChangeType: findType("PathMap<ChangeType>"),
  116689. PathMap_Stream_WatchEvent: findType("PathMap<Stream<WatchEvent>>"),
  116690. PathMap_String: findType("PathMap<String>"),
  116691. PathMap_nullable_String: findType("PathMap<String?>"),
  116692. Promise: findType("Promise"),
  116693. PseudoSelector: findType("PseudoSelector"),
  116694. PseudoSelector_2: findType("PseudoSelector0"),
  116695. RangeError: findType("RangeError"),
  116696. Record: findType("Record"),
  116697. Record_0: findType("+()"),
  116698. Record_2_Expression_and_Expression: findType("+(Expression,Expression)"),
  116699. Record_2_Expression_and_Expression_2: findType("+(Expression0,Expression0)"),
  116700. Record_2_List_Expression_and_Map_String_Expression: findType("+(List<Expression>,Map<String,Expression>)"),
  116701. Record_2_List_Expression_and_Map_String_Expression_2: findType("+(List<Expression0>,Map<String,Expression0>)"),
  116702. Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)"),
  116703. Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2: findType("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)"),
  116704. Record_2_String_and_InterpolationMap: findType("+(String,InterpolationMap)"),
  116705. Record_2_String_and_InterpolationMap_2: findType("+(String,InterpolationMap0)"),
  116706. Record_2_String_and_SourceSpan: findType("+(String,SourceSpan)"),
  116707. Record_2_String_and_nullable_InterpolationMap: findType("+(String,InterpolationMap?)"),
  116708. Record_2_String_and_nullable_InterpolationMap_2: findType("+(String,InterpolationMap0?)"),
  116709. Record_2_Uri_and_bool_forImport: findType("+forImport(Uri,bool)"),
  116710. Record_2_nullable_Object_and_nullable_Object: findType("+(Object?,Object?)"),
  116711. Record_2_nullable_String_and_nullable_String: findType("+(String?,String?)"),
  116712. Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl: findType("+originalUrl(AsyncImporter,Uri,Uri)"),
  116713. Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(AsyncImporter0,Uri,Uri)"),
  116714. Record_3_Importer_and_Uri_and_Uri_originalUrl: findType("+originalUrl(Importer,Uri,Uri)"),
  116715. Record_3_Importer_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(Importer0,Uri,Uri)"),
  116716. Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency: findType("+importer,isDependency(Stylesheet,AsyncImporter?,bool)"),
  116717. Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency_2: findType("+importer,isDependency(Stylesheet0,AsyncImporter0?,bool)"),
  116718. Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl: findType("+originalUrl(Object?,Object?,Object?)"),
  116719. Record_4_Uri_and_AsyncImporter_baseImporter_and_nullable_Uri_baseUrl_and_bool_forImport: findType("+baseImporter,baseUrl,forImport(Uri,AsyncImporter,Uri?,bool)"),
  116720. Record_4_Uri_and_AsyncImporter_baseImporter_and_nullable_Uri_baseUrl_and_bool_forImport_2: findType("+baseImporter,baseUrl,forImport(Uri,AsyncImporter0,Uri?,bool)"),
  116721. Record_4_Uri_and_Importer_baseImporter_and_nullable_Uri_baseUrl_and_bool_forImport: findType("+baseImporter,baseUrl,forImport(Uri,Importer,Uri?,bool)"),
  116722. Record_4_Uri_and_Importer_baseImporter_and_nullable_Uri_baseUrl_and_bool_forImport_2: findType("+baseImporter,baseUrl,forImport(Uri,Importer0,Uri?,bool)"),
  116723. Record_5_Map_String_Value_named_and_Map_String_AstNode_namedNodes_and_List_Value_positional_and_List_AstNode_positionalNodes_and_ListSeparator_separator: findType("+named,namedNodes,positional,positionalNodes,separator(Map<String,Value>,Map<String,AstNode>,List<Value>,List<AstNode>,ListSeparator)"),
  116724. Record_5_Map_String_Value_named_and_Map_String_AstNode_namedNodes_and_List_Value_positional_and_List_AstNode_positionalNodes_and_ListSeparator_separator_2: findType("+named,namedNodes,positional,positionalNodes,separator(Map<String,Value0>,Map<String,AstNode0>,List<Value0>,List<AstNode0>,ListSeparator0)"),
  116725. RegExpMatch: findType("RegExpMatch"),
  116726. RenderContextOptions: findType("RenderContextOptions0"),
  116727. RenderResult: findType("RenderResult"),
  116728. Result_String: findType("Result<String>"),
  116729. ReversedListIterable_Frame: findType("ReversedListIterable<Frame>"),
  116730. Runes: findType("Runes"),
  116731. SassArgumentList: findType("SassArgumentList"),
  116732. SassArgumentList_2: findType("SassArgumentList0"),
  116733. SassBoolean: findType("SassBoolean"),
  116734. SassBoolean_2: findType("SassBoolean0"),
  116735. SassCalculation: findType("SassCalculation"),
  116736. SassCalculation_2: findType("SassCalculation0"),
  116737. SassColor: findType("SassColor"),
  116738. SassColor_2: findType("SassColor0"),
  116739. SassFormatException: findType("SassFormatException"),
  116740. SassFormatException_2: findType("SassFormatException0"),
  116741. SassList: findType("SassList"),
  116742. SassList_2: findType("SassList0"),
  116743. SassMap: findType("SassMap"),
  116744. SassMap_2: findType("SassMap0"),
  116745. SassNumber: findType("SassNumber"),
  116746. SassNumber_2: findType("SassNumber0"),
  116747. SassRuntimeException: findType("SassRuntimeException"),
  116748. SassRuntimeException_2: findType("SassRuntimeException0"),
  116749. SassString: findType("SassString"),
  116750. SassString_2: findType("SassString0"),
  116751. SelectorList: findType("SelectorList"),
  116752. SelectorList_2: findType("SelectorList0"),
  116753. Set_ModifiableBox_SelectorList: findType("Set<ModifiableBox<SelectorList>>"),
  116754. Set_ModifiableBox_SelectorList_2: findType("Set<ModifiableBox0<SelectorList0>>"),
  116755. Set_Uri: findType("Set<Uri>"),
  116756. SimpleSelector: findType("SimpleSelector"),
  116757. SimpleSelector_2: findType("SimpleSelector0"),
  116758. SourceFile: findType("SourceFile"),
  116759. SourceLocation: findType("SourceLocation"),
  116760. SourceSpan: findType("SourceSpan"),
  116761. SourceSpanFormatException: findType("SourceSpanFormatException"),
  116762. SourceSpanWithContext: findType("SourceSpanWithContext"),
  116763. StackTrace: findType("StackTrace"),
  116764. Statement: findType("Statement"),
  116765. Statement_2: findType("Statement0"),
  116766. StaticImport: findType("StaticImport"),
  116767. StaticImport_2: findType("StaticImport0"),
  116768. StreamCompleter_WatchEvent: findType("StreamCompleter<WatchEvent>"),
  116769. StreamGroup_WatchEvent: findType("StreamGroup<WatchEvent>"),
  116770. StreamQueue_String: findType("StreamQueue<String>"),
  116771. Stream_WatchEvent: findType("Stream<WatchEvent>"),
  116772. String: findType("String"),
  116773. StylesheetNode: findType("StylesheetNode"),
  116774. Timer: findType("Timer"),
  116775. Trace: findType("Trace"),
  116776. TrustedGetRuntimeType: findType("TrustedGetRuntimeType"),
  116777. TypeError: findType("TypeError"),
  116778. TypeSelector: findType("TypeSelector"),
  116779. TypeSelector_2: findType("TypeSelector0"),
  116780. Uint16List: findType("Uint16List"),
  116781. Uint32List: findType("Uint32List"),
  116782. Uint8ClampedList: findType("Uint8ClampedList"),
  116783. Uint8List: findType("Uint8List"),
  116784. UnaryOperationExpression: findType("UnaryOperationExpression"),
  116785. UnaryOperationExpression_2: findType("UnaryOperationExpression0"),
  116786. UnionSet_Uri: findType("UnionSet<Uri>"),
  116787. UnknownJavaScriptObject: findType("UnknownJavaScriptObject"),
  116788. UnmodifiableListView_CssComment: findType("UnmodifiableListView<CssComment>"),
  116789. UnmodifiableListView_CssComment_2: findType("UnmodifiableListView<CssComment0>"),
  116790. UnmodifiableListView_CssNode: findType("UnmodifiableListView<CssNode>"),
  116791. UnmodifiableListView_CssNode_2: findType("UnmodifiableListView<CssNode0>"),
  116792. UnmodifiableListView_ForwardRule: findType("UnmodifiableListView<ForwardRule>"),
  116793. UnmodifiableListView_ForwardRule_2: findType("UnmodifiableListView<ForwardRule0>"),
  116794. UnmodifiableListView_ModifiableCssNode: findType("UnmodifiableListView<ModifiableCssNode>"),
  116795. UnmodifiableListView_ModifiableCssNode_2: findType("UnmodifiableListView<ModifiableCssNode0>"),
  116796. UnmodifiableListView_String: findType("UnmodifiableListView<String>"),
  116797. UnmodifiableListView_UseRule: findType("UnmodifiableListView<UseRule>"),
  116798. UnmodifiableListView_UseRule_2: findType("UnmodifiableListView<UseRule0>"),
  116799. UnmodifiableMapView_String_ArgParser: findType("UnmodifiableMapView<String,ArgParser>"),
  116800. UnmodifiableMapView_String_ConfiguredValue: findType("UnmodifiableMapView<String,ConfiguredValue>"),
  116801. UnmodifiableMapView_String_ConfiguredValue_2: findType("UnmodifiableMapView<String,ConfiguredValue0>"),
  116802. UnmodifiableMapView_String_Option: findType("UnmodifiableMapView<String,Option>"),
  116803. UnmodifiableMapView_String_Value: findType("UnmodifiableMapView<String,Value>"),
  116804. UnmodifiableMapView_String_Value_2: findType("UnmodifiableMapView<String,Value0>"),
  116805. UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode: findType("UnmodifiableMapView<Uri,StylesheetNode?>"),
  116806. UnmodifiableMapView_of_nullable_String_and_String: findType("UnmodifiableMapView<String?,String>"),
  116807. UnmodifiableMapView_of_nullable_String_and_nullable_String: findType("UnmodifiableMapView<String?,String?>"),
  116808. UnmodifiableSetView_String: findType("UnmodifiableSetView0<String>"),
  116809. UnmodifiableSetView_StylesheetNode: findType("UnmodifiableSetView0<StylesheetNode>"),
  116810. UnmodifiableSetView_Uri: findType("UnmodifiableSetView0<Uri>"),
  116811. UnprefixedMapView_ConfiguredValue: findType("UnprefixedMapView<ConfiguredValue>"),
  116812. UnprefixedMapView_ConfiguredValue_2: findType("UnprefixedMapView0<ConfiguredValue0>"),
  116813. Uri: findType("Uri"),
  116814. UseRule: findType("UseRule"),
  116815. UserDefinedCallable_AsyncEnvironment: findType("UserDefinedCallable<AsyncEnvironment>"),
  116816. UserDefinedCallable_AsyncEnvironment_2: findType("UserDefinedCallable0<AsyncEnvironment0>"),
  116817. UserDefinedCallable_Environment: findType("UserDefinedCallable<Environment>"),
  116818. UserDefinedCallable_Environment_2: findType("UserDefinedCallable0<Environment0>"),
  116819. UserDefinedCallable_dynamic: findType("UserDefinedCallable<@>"),
  116820. UserDefinedCallable_dynamic_2: findType("UserDefinedCallable0<@>"),
  116821. Value: findType("Value"),
  116822. Value_2: findType("Value0"),
  116823. Value_Function_List_Value: findType("Value(List<Value>)"),
  116824. Value_Function_List_Value_2: findType("Value0(List<Value0>)"),
  116825. VariableDeclaration: findType("VariableDeclaration"),
  116826. VariableDeclaration_2: findType("VariableDeclaration0"),
  116827. VersionRange: findType("VersionRange"),
  116828. WatchEvent: findType("WatchEvent"),
  116829. WhereIterable_List_Iterable_ComplexSelectorComponent: findType("WhereIterable<List<Iterable<ComplexSelectorComponent>>>"),
  116830. WhereIterable_List_Iterable_ComplexSelectorComponent_2: findType("WhereIterable<List<Iterable<ComplexSelectorComponent0>>>"),
  116831. WhereIterable_String: findType("WhereIterable<String>"),
  116832. WhereTypeIterable_PseudoSelector: findType("WhereTypeIterable<PseudoSelector>"),
  116833. WhereTypeIterable_PseudoSelector_2: findType("WhereTypeIterable<PseudoSelector0>"),
  116834. WhereTypeIterable_String: findType("WhereTypeIterable<String>"),
  116835. _AsyncCompleter_Object: findType("_AsyncCompleter<Object>"),
  116836. _AsyncCompleter_Stream_WatchEvent: findType("_AsyncCompleter<Stream<WatchEvent>>"),
  116837. _AsyncCompleter_String: findType("_AsyncCompleter<String>"),
  116838. _AsyncCompleter_nullable_Object: findType("_AsyncCompleter<Object?>"),
  116839. _CompleterStream_WatchEvent: findType("_CompleterStream<WatchEvent>"),
  116840. _EventRequest_dynamic: findType("_EventRequest<@>"),
  116841. _Future_Object: findType("_Future<Object>"),
  116842. _Future_Stream_WatchEvent: findType("_Future<Stream<WatchEvent>>"),
  116843. _Future_String: findType("_Future<String>"),
  116844. _Future_Value: findType("_Future<Value>"),
  116845. _Future_Value_2: findType("_Future<Value0>"),
  116846. _Future_bool: findType("_Future<bool>"),
  116847. _Future_dynamic: findType("_Future<@>"),
  116848. _Future_int: findType("_Future<int>"),
  116849. _Future_nullable_Object: findType("_Future<Object?>"),
  116850. _Future_void: findType("_Future<~>"),
  116851. _Highlight: findType("_Highlight"),
  116852. _IdentityHashMap_of_nullable_Object_and_nullable_Object: findType("_IdentityHashMap<Object?,Object?>"),
  116853. _LinkedIdentityHashSet_ComplexSelector: findType("_LinkedIdentityHashSet<ComplexSelector>"),
  116854. _LinkedIdentityHashSet_ComplexSelector_2: findType("_LinkedIdentityHashSet<ComplexSelector0>"),
  116855. _LinkedIdentityHashSet_Extension: findType("_LinkedIdentityHashSet<Extension>"),
  116856. _LinkedIdentityHashSet_Extension_2: findType("_LinkedIdentityHashSet<Extension0>"),
  116857. _MapEntry: findType("_MapEntry"),
  116858. _NodeException: findType("_NodeException"),
  116859. _SyncStarIterable_Extension: findType("_SyncStarIterable<Extension>"),
  116860. _SyncStarIterable_Extension_2: findType("_SyncStarIterable<Extension0>"),
  116861. _SyncStarIterable_SimpleSelector: findType("_SyncStarIterable<SimpleSelector>"),
  116862. _SyncStarIterable_SimpleSelector_2: findType("_SyncStarIterable<SimpleSelector0>"),
  116863. _SyncStarIterable_String: findType("_SyncStarIterable<String>"),
  116864. bool: findType("bool"),
  116865. double: findType("double"),
  116866. dynamic: findType("@"),
  116867. dynamic_Function: findType("@()"),
  116868. dynamic_Function_Object: findType("@(Object)"),
  116869. dynamic_Function_Object_StackTrace: findType("@(Object,StackTrace)"),
  116870. int: findType("int"),
  116871. legacy_Never: findType("0&*"),
  116872. legacy_Object: findType("Object*"),
  116873. nullable_AstNode: findType("AstNode?"),
  116874. nullable_AstNode_2: findType("AstNode0?"),
  116875. nullable_CssValue_String: findType("CssValue<String>?"),
  116876. nullable_CssValue_String_2: findType("CssValue0<String>?"),
  116877. nullable_Future_Null: findType("Future<Null>?"),
  116878. nullable_Future_void: findType("Future<~>?"),
  116879. nullable_ImporterResult: findType("ImporterResult?"),
  116880. nullable_ImporterResult_2: findType("ImporterResult0?"),
  116881. nullable_Object: findType("Object?"),
  116882. nullable_Record_2_String_and_String: findType("+(String,String)?"),
  116883. nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl: findType("+originalUrl(AsyncImporter,Uri,Uri)?"),
  116884. nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(AsyncImporter0,Uri,Uri)?"),
  116885. nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl: findType("+originalUrl(Importer,Uri,Uri)?"),
  116886. nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2: findType("+originalUrl(Importer0,Uri,Uri)?"),
  116887. nullable_Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency: findType("+importer,isDependency(Stylesheet,AsyncImporter?,bool)?"),
  116888. nullable_Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency_2: findType("+importer,isDependency(Stylesheet0,AsyncImporter0?,bool)?"),
  116889. nullable_Record_3_int_and_String_and_nullable_String: findType("+(int,String,String?)?"),
  116890. nullable_SourceFile: findType("SourceFile?"),
  116891. nullable_SourceSpan: findType("SourceSpan?"),
  116892. nullable_StreamSubscription_WatchEvent: findType("StreamSubscription<WatchEvent>?"),
  116893. nullable_String: findType("String?"),
  116894. nullable_Stylesheet: findType("Stylesheet?"),
  116895. nullable_StylesheetNode: findType("StylesheetNode?"),
  116896. nullable_Stylesheet_2: findType("Stylesheet0?"),
  116897. nullable_Uri: findType("Uri?"),
  116898. nullable_Value: findType("Value?"),
  116899. nullable_Value_2: findType("Value0?"),
  116900. nullable__ConstructorOptions: findType("_ConstructorOptions?"),
  116901. nullable__ConstructorOptions_2: findType("_ConstructorOptions0?"),
  116902. nullable__ConstructorOptions_3: findType("_ConstructorOptions1?"),
  116903. nullable__Highlight: findType("_Highlight?"),
  116904. num: findType("num"),
  116905. void: findType("~"),
  116906. void_Function_Object: findType("~(Object)"),
  116907. void_Function_Object_StackTrace: findType("~(Object,StackTrace)")
  116908. };
  116909. })();
  116910. (function constants() {
  116911. var makeConstList = hunkHelpers.makeConstList;
  116912. B.Interceptor_methods = J.Interceptor.prototype;
  116913. B.JSArray_methods = J.JSArray.prototype;
  116914. B.JSInt_methods = J.JSInt.prototype;
  116915. B.JSNull_methods = J.JSNull.prototype;
  116916. B.JSNumber_methods = J.JSNumber.prototype;
  116917. B.JSString_methods = J.JSString.prototype;
  116918. B.JavaScriptFunction_methods = J.JavaScriptFunction.prototype;
  116919. B.JavaScriptObject_methods = J.JavaScriptObject.prototype;
  116920. B.NativeUint32List_methods = A.NativeUint32List.prototype;
  116921. B.NativeUint8List_methods = A.NativeUint8List.prototype;
  116922. B.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype;
  116923. B.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype;
  116924. B.AsciiEncoder_127 = new A.AsciiEncoder(127);
  116925. B.C_EmptyUnmodifiableSet1 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<String>"));
  116926. B.AtRootQuery_UsS = new A.AtRootQuery(false, B.C_EmptyUnmodifiableSet1, false, true);
  116927. B.AtRootQuery_UsS0 = new A.AtRootQuery0(false, B.C_EmptyUnmodifiableSet1, false, true);
  116928. B.AttributeOperator_8aB = new A.AttributeOperator("*=", "substring");
  116929. B.AttributeOperator_8aB0 = new A.AttributeOperator0("*=", "substring");
  116930. B.AttributeOperator_BGd = new A.AttributeOperator("$=", "suffix");
  116931. B.AttributeOperator_BGd0 = new A.AttributeOperator0("$=", "suffix");
  116932. B.AttributeOperator_ES6 = new A.AttributeOperator("=", "equal");
  116933. B.AttributeOperator_ES60 = new A.AttributeOperator0("=", "equal");
  116934. B.AttributeOperator_eot = new A.AttributeOperator("^=", "prefix");
  116935. B.AttributeOperator_eot0 = new A.AttributeOperator0("^=", "prefix");
  116936. B.AttributeOperator_ivT = new A.AttributeOperator("|=", "dash");
  116937. B.AttributeOperator_ivT0 = new A.AttributeOperator0("|=", "dash");
  116938. B.AttributeOperator_r60 = new A.AttributeOperator("~=", "include");
  116939. B.AttributeOperator_r600 = new A.AttributeOperator0("~=", "include");
  116940. B.BinaryOperator_2jN = new A.BinaryOperator("single equals", "=", 0, false, "singleEquals");
  116941. B.BinaryOperator_2jN0 = new A.BinaryOperator0("single equals", "=", 0, false, "singleEquals");
  116942. B.BinaryOperator_7Tg = new A.BinaryOperator("greater than or equals", ">=", 4, false, "greaterThanOrEquals");
  116943. B.BinaryOperator_7Tg0 = new A.BinaryOperator0("greater than or equals", ">=", 4, false, "greaterThanOrEquals");
  116944. B.BinaryOperator_M6L = new A.BinaryOperator("or", "or", 1, true, "or");
  116945. B.BinaryOperator_M6L0 = new A.BinaryOperator0("or", "or", 1, true, "or");
  116946. B.BinaryOperator_OTG = new A.BinaryOperator("modulo", "%", 6, false, "modulo");
  116947. B.BinaryOperator_OTG0 = new A.BinaryOperator0("modulo", "%", 6, false, "modulo");
  116948. B.BinaryOperator_SNp = new A.BinaryOperator("and", "and", 2, true, "and");
  116949. B.BinaryOperator_SNp0 = new A.BinaryOperator0("and", "and", 2, true, "and");
  116950. B.BinaryOperator_U8c = new A.BinaryOperator("less than", "<", 4, false, "lessThan");
  116951. B.BinaryOperator_U8c0 = new A.BinaryOperator0("less than", "<", 4, false, "lessThan");
  116952. B.BinaryOperator_ViB = new A.BinaryOperator("not equals", "!=", 3, false, "notEquals");
  116953. B.BinaryOperator_ViB0 = new A.BinaryOperator0("not equals", "!=", 3, false, "notEquals");
  116954. B.BinaryOperator_anB = new A.BinaryOperator("plus", "+", 5, true, "plus");
  116955. B.BinaryOperator_anB0 = new A.BinaryOperator0("plus", "+", 5, true, "plus");
  116956. B.BinaryOperator_cIH = new A.BinaryOperator("greater than", ">", 4, false, "greaterThan");
  116957. B.BinaryOperator_cIH0 = new A.BinaryOperator0("greater than", ">", 4, false, "greaterThan");
  116958. B.BinaryOperator_kpg = new A.BinaryOperator("less than or equals", "<=", 4, false, "lessThanOrEquals");
  116959. B.BinaryOperator_kpg0 = new A.BinaryOperator0("less than or equals", "<=", 4, false, "lessThanOrEquals");
  116960. B.BinaryOperator_olz = new A.BinaryOperator("minus", "-", 5, false, "minus");
  116961. B.BinaryOperator_olz0 = new A.BinaryOperator0("minus", "-", 5, false, "minus");
  116962. B.BinaryOperator_qN2 = new A.BinaryOperator("times", "*", 6, true, "times");
  116963. B.BinaryOperator_qN20 = new A.BinaryOperator0("times", "*", 6, true, "times");
  116964. B.BinaryOperator_ql5 = new A.BinaryOperator("equals", "==", 3, false, "equals");
  116965. B.BinaryOperator_ql50 = new A.BinaryOperator0("equals", "==", 3, false, "equals");
  116966. B.BinaryOperator_t8B = new A.BinaryOperator("divided by", "/", 6, false, "dividedBy");
  116967. B.BinaryOperator_t8B0 = new A.BinaryOperator0("divided by", "/", 6, false, "dividedBy");
  116968. B.CONSTANT = new A.Instantiation1(A.math0__max$closure(), A.findType("Instantiation1<int>"));
  116969. B.C_AsciiCodec = new A.AsciiCodec();
  116970. B.C_AsciiGlyphSet = new A.AsciiGlyphSet();
  116971. B.C_Base64Encoder = new A.Base64Encoder();
  116972. B.C_Base64Codec = new A.Base64Codec();
  116973. B.C_DefaultEquality = new A.DefaultEquality();
  116974. B.C_EmptyExtensionStore = new A.EmptyExtensionStore();
  116975. B.C_EmptyExtensionStore0 = new A.EmptyExtensionStore0();
  116976. B.C_EmptyIterator = new A.EmptyIterator();
  116977. B.C_EmptyUnmodifiableSet = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector>"));
  116978. B.C_EmptyUnmodifiableSet0 = new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector0>"));
  116979. B.C_IterableEquality = new A.IterableEquality();
  116980. B.C_JS_CONST = function getTagFallback(o) {
  116981. var s = Object.prototype.toString.call(o);
  116982. return s.substring(8, s.length - 1);
  116983. };
  116984. B.C_JS_CONST0 = function() {
  116985. var toStringFunction = Object.prototype.toString;
  116986. function getTag(o) {
  116987. var s = toStringFunction.call(o);
  116988. return s.substring(8, s.length - 1);
  116989. }
  116990. function getUnknownTag(object, tag) {
  116991. if (/^HTML[A-Z].*Element$/.test(tag)) {
  116992. var name = toStringFunction.call(object);
  116993. if (name == "[object Object]") return null;
  116994. return "HTMLElement";
  116995. }
  116996. }
  116997. function getUnknownTagGenericBrowser(object, tag) {
  116998. if (self.HTMLElement && object instanceof HTMLElement) return "HTMLElement";
  116999. return getUnknownTag(object, tag);
  117000. }
  117001. function prototypeForTag(tag) {
  117002. if (typeof window == "undefined") return null;
  117003. if (typeof window[tag] == "undefined") return null;
  117004. var constructor = window[tag];
  117005. if (typeof constructor != "function") return null;
  117006. return constructor.prototype;
  117007. }
  117008. function discriminator(tag) { return null; }
  117009. var isBrowser = typeof navigator == "object";
  117010. return {
  117011. getTag: getTag,
  117012. getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag,
  117013. prototypeForTag: prototypeForTag,
  117014. discriminator: discriminator };
  117015. };
  117016. B.C_JS_CONST6 = function(getTagFallback) {
  117017. return function(hooks) {
  117018. if (typeof navigator != "object") return hooks;
  117019. var ua = navigator.userAgent;
  117020. if (ua.indexOf("DumpRenderTree") >= 0) return hooks;
  117021. if (ua.indexOf("Chrome") >= 0) {
  117022. function confirm(p) {
  117023. return typeof window == "object" && window[p] && window[p].name == p;
  117024. }
  117025. if (confirm("Window") && confirm("HTMLElement")) return hooks;
  117026. }
  117027. hooks.getTag = getTagFallback;
  117028. };
  117029. };
  117030. B.C_JS_CONST1 = function(hooks) {
  117031. if (typeof dartExperimentalFixupGetTag != "function") return hooks;
  117032. hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag);
  117033. };
  117034. B.C_JS_CONST2 = function(hooks) {
  117035. var getTag = hooks.getTag;
  117036. var prototypeForTag = hooks.prototypeForTag;
  117037. function getTagFixed(o) {
  117038. var tag = getTag(o);
  117039. if (tag == "Document") {
  117040. if (!!o.xmlVersion) return "!Document";
  117041. return "!HTMLDocument";
  117042. }
  117043. return tag;
  117044. }
  117045. function prototypeForTagFixed(tag) {
  117046. if (tag == "Document") return null;
  117047. return prototypeForTag(tag);
  117048. }
  117049. hooks.getTag = getTagFixed;
  117050. hooks.prototypeForTag = prototypeForTagFixed;
  117051. };
  117052. B.C_JS_CONST5 = function(hooks) {
  117053. var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
  117054. if (userAgent.indexOf("Firefox") == -1) return hooks;
  117055. var getTag = hooks.getTag;
  117056. var quickMap = {
  117057. "BeforeUnloadEvent": "Event",
  117058. "DataTransfer": "Clipboard",
  117059. "GeoGeolocation": "Geolocation",
  117060. "Location": "!Location",
  117061. "WorkerMessageEvent": "MessageEvent",
  117062. "XMLDocument": "!Document"};
  117063. function getTagFirefox(o) {
  117064. var tag = getTag(o);
  117065. return quickMap[tag] || tag;
  117066. }
  117067. hooks.getTag = getTagFirefox;
  117068. };
  117069. B.C_JS_CONST4 = function(hooks) {
  117070. var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
  117071. if (userAgent.indexOf("Trident/") == -1) return hooks;
  117072. var getTag = hooks.getTag;
  117073. var quickMap = {
  117074. "BeforeUnloadEvent": "Event",
  117075. "DataTransfer": "Clipboard",
  117076. "HTMLDDElement": "HTMLElement",
  117077. "HTMLDTElement": "HTMLElement",
  117078. "HTMLPhraseElement": "HTMLElement",
  117079. "Position": "Geoposition"
  117080. };
  117081. function getTagIE(o) {
  117082. var tag = getTag(o);
  117083. var newTag = quickMap[tag];
  117084. if (newTag) return newTag;
  117085. if (tag == "Object") {
  117086. if (window.DataView && (o instanceof window.DataView)) return "DataView";
  117087. }
  117088. return tag;
  117089. }
  117090. function prototypeForTagIE(tag) {
  117091. var constructor = window[tag];
  117092. if (constructor == null) return null;
  117093. return constructor.prototype;
  117094. }
  117095. hooks.getTag = getTagIE;
  117096. hooks.prototypeForTag = prototypeForTagIE;
  117097. };
  117098. B.C_JS_CONST3 = function(hooks) { return hooks; }
  117099. ;
  117100. B.C_JsonCodec = new A.JsonCodec();
  117101. B.C_ListEquality0 = new A.ListEquality();
  117102. B.C_ListEquality = new A.ListEquality();
  117103. B.C_MapEquality = new A.MapEquality();
  117104. B.C_OutOfMemoryError = new A.OutOfMemoryError();
  117105. B.C_SentinelValue = new A.SentinelValue();
  117106. B.C_UnicodeGlyphSet = new A.UnicodeGlyphSet();
  117107. B.C_Utf8Codec = new A.Utf8Codec();
  117108. B.C_Utf8Encoder = new A.Utf8Encoder();
  117109. B.C__DelayedDone = new A._DelayedDone();
  117110. B.C__HasContentVisitor = new A._HasContentVisitor();
  117111. B.C__HasContentVisitor0 = new A._HasContentVisitor0();
  117112. B.C__IsUselessVisitor = new A._IsUselessVisitor();
  117113. B.C__IsUselessVisitor0 = new A._IsUselessVisitor0();
  117114. B.C__JSRandom = new A._JSRandom();
  117115. B.C__MakeExpressionCalculationSafe = new A._MakeExpressionCalculationSafe();
  117116. B.C__MakeExpressionCalculationSafe0 = new A._MakeExpressionCalculationSafe0();
  117117. B.C__ParentSelectorVisitor = new A._ParentSelectorVisitor();
  117118. B.C__ParentSelectorVisitor0 = new A._ParentSelectorVisitor0();
  117119. B.C__Required = new A._Required();
  117120. B.C__RootZone = new A._RootZone();
  117121. B.C__SassNull = new A._SassNull();
  117122. B.C__SassNull0 = new A._SassNull0();
  117123. B.CalculationOperator_2bx = new A.CalculationOperator("minus", "-", 1, "minus");
  117124. B.CalculationOperator_2bx0 = new A.CalculationOperator0("minus", "-", 1, "minus");
  117125. B.CalculationOperator_IyK = new A.CalculationOperator("plus", "+", 1, "plus");
  117126. B.CalculationOperator_IyK0 = new A.CalculationOperator0("plus", "+", 1, "plus");
  117127. B.CalculationOperator_OvN = new A.CalculationOperator("divided by", "/", 2, "dividedBy");
  117128. B.CalculationOperator_OvN0 = new A.CalculationOperator0("divided by", "/", 2, "dividedBy");
  117129. B.CalculationOperator_jFr = new A.CalculationOperator("times", "*", 2, "times");
  117130. B.CalculationOperator_jFr0 = new A.CalculationOperator0("times", "*", 2, "times");
  117131. B.ChangeType_add = new A.ChangeType("add");
  117132. B.ChangeType_modify = new A.ChangeType("modify");
  117133. B.ChangeType_remove = new A.ChangeType("remove");
  117134. B.Combinator_4QF = new A.Combinator("+", "nextSibling");
  117135. B.Combinator_4QF0 = new A.Combinator0("+", "nextSibling");
  117136. B.Combinator_Cht = new A.Combinator(">", "child");
  117137. B.Combinator_Cht0 = new A.Combinator0(">", "child");
  117138. B.Combinator_Htt = new A.Combinator("~", "followingSibling");
  117139. B.Combinator_Htt0 = new A.Combinator0("~", "followingSibling");
  117140. B.Object_empty = {};
  117141. B.Map_empty17 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,ConfiguredValue>"));
  117142. B.Configuration_Map_empty_null = new A.Configuration(B.Map_empty17, null);
  117143. B.Map_empty18 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,ConfiguredValue0>"));
  117144. B.Configuration_Map_empty_null0 = new A.Configuration0(B.Map_empty18, null);
  117145. B.Deprecation_043 = new A.Deprecation("abs-percent", "1.65.0", "Passing percentages to the Sass abs() function.", false, "absPercent");
  117146. B.Deprecation_0bn = new A.Deprecation0("function-units", false, "functionUnits");
  117147. B.Deprecation_4iQ = new A.Deprecation0("call-string", false, "callString");
  117148. B.Deprecation_8WR = new A.Deprecation("function-units", "1.56.0", "Passing invalid units to built-in functions.", false, "functionUnits");
  117149. B.Deprecation_Auo = new A.Deprecation("duplicate-var-flags", "1.62.0", "Using !default or !global multiple times for one variable.", false, "duplicateVariableFlags");
  117150. B.Deprecation_B8J = new A.Deprecation("import", null, "@import rules.", true, "import");
  117151. B.Deprecation_E5x = new A.Deprecation0("relative-canonical", false, "relativeCanonical");
  117152. B.Deprecation_EsU = new A.Deprecation0("strict-unary", false, "strictUnary");
  117153. B.Deprecation_GbU = new A.Deprecation0("moz-document", false, "mozDocument");
  117154. B.Deprecation_JAZ = new A.Deprecation("elseif", "1.3.2", "@elseif.", false, "elseif");
  117155. B.Deprecation_LT8 = new A.Deprecation0("color-module-compat", false, "colorModuleCompat");
  117156. B.Deprecation_UZD = new A.Deprecation0("null-alpha", false, "nullAlpha");
  117157. B.Deprecation_XV6 = new A.Deprecation0("bogus-combinators", false, "bogusCombinators");
  117158. B.Deprecation_elseif_false_elseif = new A.Deprecation0("elseif", false, "elseif");
  117159. B.Deprecation_gJ9 = new A.Deprecation("moz-document", "1.7.2", "@-moz-document.", false, "mozDocument");
  117160. B.Deprecation_hzy = new A.Deprecation("new-global", "1.17.2", "Declaring new variables with !global.", false, "newGlobal");
  117161. B.Deprecation_import_true_import = new A.Deprecation0("import", true, "import");
  117162. B.Deprecation_la6 = new A.Deprecation0("abs-percent", false, "absPercent");
  117163. B.Deprecation_mFp = new A.Deprecation("relative-canonical", "1.14.2", null, false, "relativeCanonical");
  117164. B.Deprecation_qVK = new A.Deprecation("call-string", "0.0.0", "Passing a string directly to meta.call().", false, "callString");
  117165. B.Deprecation_s4m = new A.Deprecation("color-module-compat", "1.23.0", "Using color module functions in place of plain CSS functions.", false, "colorModuleCompat");
  117166. B.Deprecation_sIK = new A.Deprecation("strict-unary", "1.55.0", "Ambiguous + and - operators.", false, "strictUnary");
  117167. B.Deprecation_vrR = new A.Deprecation("bogus-combinators", "1.54.0", "Leading, trailing, and repeated combinators.", false, "bogusCombinators");
  117168. B.Deprecation_wKk = new A.Deprecation0("new-global", false, "newGlobal");
  117169. B.Deprecation_wWh = new A.Deprecation0("slash-div", false, "slashDiv");
  117170. B.Deprecation_xHK = new A.Deprecation("slash-div", "1.33.0", "/ operator for division.", false, "slashDiv");
  117171. B.Deprecation_ynv = new A.Deprecation0("duplicate-var-flags", false, "duplicateVariableFlags");
  117172. B.Duration_0 = new A.Duration(0);
  117173. B.ExtendMode_allTargets_allTargets = new A.ExtendMode("allTargets", "allTargets");
  117174. B.ExtendMode_allTargets_allTargets0 = new A.ExtendMode0("allTargets", "allTargets");
  117175. B.ExtendMode_normal_normal = new A.ExtendMode("normal", "normal");
  117176. B.ExtendMode_normal_normal0 = new A.ExtendMode0("normal", "normal");
  117177. B.ExtendMode_replace_replace = new A.ExtendMode("replace", "replace");
  117178. B.ExtendMode_replace_replace0 = new A.ExtendMode0("replace", "replace");
  117179. B.JsonEncoder_null = new A.JsonEncoder(null);
  117180. B.LineFeed_SsD = new A.LineFeed0("lf", "\n", "lf");
  117181. B.LineFeed_gg4 = new A.LineFeed0("crlf", "\r\n", "crlf");
  117182. B.LineFeed_lf = new A.LineFeed("lf");
  117183. B.LineFeed_oyU = new A.LineFeed0("cr", "\r", "cr");
  117184. B.LineFeed_t2a = new A.LineFeed0("lfcr", "\n\r", "lfcr");
  117185. B.ListSeparator_EVt = new A.ListSeparator("space", " ", "space");
  117186. B.ListSeparator_EVt0 = new A.ListSeparator0("space", " ", "space");
  117187. B.ListSeparator_rXA = new A.ListSeparator("comma", ",", "comma");
  117188. B.ListSeparator_rXA0 = new A.ListSeparator0("comma", ",", "comma");
  117189. B.ListSeparator_undecided_null_undecided = new A.ListSeparator("undecided", null, "undecided");
  117190. B.ListSeparator_undecided_null_undecided0 = new A.ListSeparator0("undecided", null, "undecided");
  117191. B.ListSeparator_zg9 = new A.ListSeparator("slash", "/", "slash");
  117192. B.ListSeparator_zg90 = new A.ListSeparator0("slash", "/", "slash");
  117193. B.Deprecation_7XU = new A.Deprecation("null-alpha", "1.62.3", "Passing null as alpha in the JS API.", false, "nullAlpha");
  117194. B.Deprecation_WbD = new A.Deprecation("calc-interp", null, null, false, "calcInterp");
  117195. B.Deprecation_A0N = new A.Deprecation("user-authored", null, null, false, "userAuthored");
  117196. B.List_GN8 = A._setArrayType(makeConstList([B.Deprecation_qVK, B.Deprecation_JAZ, B.Deprecation_gJ9, B.Deprecation_mFp, B.Deprecation_hzy, B.Deprecation_s4m, B.Deprecation_xHK, B.Deprecation_vrR, B.Deprecation_sIK, B.Deprecation_8WR, B.Deprecation_043, B.Deprecation_Auo, B.Deprecation_7XU, B.Deprecation_WbD, B.Deprecation_B8J, B.Deprecation_A0N]), A.findType("JSArray<Deprecation>"));
  117197. B.List_M1A = A._setArrayType(makeConstList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431]), type$.JSArray_int);
  117198. B.List_MMm = A._setArrayType(makeConstList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047]), type$.JSArray_int);
  117199. B.List_OL3 = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65534, 34815, 65534, 18431]), type$.JSArray_int);
  117200. B.List_XRg0 = A._setArrayType(makeConstList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
  117201. B.List_XRg = A._setArrayType(makeConstList([0, 0, 65490, 12287, 65535, 34815, 65534, 18431]), type$.JSArray_int);
  117202. B.List_YmH = A._setArrayType(makeConstList([0, 0, 32776, 33792, 1, 10240, 0, 0]), type$.JSArray_int);
  117203. B.List_cUt = A._setArrayType(makeConstList([B.CalculationOperator_IyK0, B.CalculationOperator_2bx0, B.CalculationOperator_jFr0, B.CalculationOperator_OvN0]), A.findType("JSArray<CalculationOperator0>"));
  117204. B.List_ejq = A._setArrayType(makeConstList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]), type$.JSArray_int);
  117205. B.List_empty11 = A._setArrayType(makeConstList([]), type$.JSArray_Argument);
  117206. B.List_empty22 = A._setArrayType(makeConstList([]), type$.JSArray_Argument_2);
  117207. B.List_empty24 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncCallable_2);
  117208. B.List_empty25 = A._setArrayType(makeConstList([]), type$.JSArray_AsyncImporter);
  117209. B.List_empty2 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector);
  117210. B.List_empty15 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelector_2);
  117211. B.List_empty0 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelectorComponent);
  117212. B.List_empty13 = A._setArrayType(makeConstList([]), type$.JSArray_ComplexSelectorComponent_2);
  117213. B.List_empty10 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable);
  117214. B.List_empty21 = A._setArrayType(makeConstList([]), type$.JSArray_ConfiguredVariable_2);
  117215. B.List_empty3 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode);
  117216. B.List_empty16 = A._setArrayType(makeConstList([]), type$.JSArray_CssNode_2);
  117217. B.List_empty1 = A._setArrayType(makeConstList([]), type$.JSArray_CssValue_Combinator);
  117218. B.List_empty14 = A._setArrayType(makeConstList([]), type$.JSArray_CssValue_Combinator_2);
  117219. B.List_empty9 = A._setArrayType(makeConstList([]), type$.JSArray_Expression);
  117220. B.List_empty20 = A._setArrayType(makeConstList([]), type$.JSArray_Expression_2);
  117221. B.List_empty5 = A._setArrayType(makeConstList([]), type$.JSArray_Extension);
  117222. B.List_empty17 = A._setArrayType(makeConstList([]), type$.JSArray_Extension_2);
  117223. B.List_empty23 = A._setArrayType(makeConstList([]), type$.JSArray_Importer);
  117224. B.List_empty7 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module0<0&>>"));
  117225. B.List_empty18 = A._setArrayType(makeConstList([]), A.findType("JSArray<Module1<0&>>"));
  117226. B.List_empty12 = A._setArrayType(makeConstList([]), type$.JSArray_Statement);
  117227. B.List_empty = A._setArrayType(makeConstList([]), type$.JSArray_String);
  117228. B.List_empty8 = A._setArrayType(makeConstList([]), type$.JSArray_Value);
  117229. B.List_empty19 = A._setArrayType(makeConstList([]), type$.JSArray_Value_2);
  117230. B.List_empty4 = A._setArrayType(makeConstList([]), type$.JSArray_int);
  117231. B.List_empty6 = A._setArrayType(makeConstList([]), type$.JSArray_dynamic);
  117232. B.Object_gR2 = {em: 0, rem: 1, ex: 2, rex: 3, cap: 4, rcap: 5, ch: 6, rch: 7, ic: 8, ric: 9, lh: 10, rlh: 11, vw: 12, lvw: 13, svw: 14, dvw: 15, vh: 16, lvh: 17, svh: 18, dvh: 19, vi: 20, lvi: 21, svi: 22, dvi: 23, vb: 24, lvb: 25, svb: 26, dvb: 27, vmin: 28, lvmin: 29, svmin: 30, dvmin: 31, vmax: 32, lvmax: 33, svmax: 34, dvmax: 35, cqw: 36, cqh: 37, cqi: 38, cqb: 39, cqmin: 40, cqmax: 41, cm: 42, mm: 43, q: 44, in: 45, pt: 46, pc: 47, px: 48};
  117233. B.Set_UGQ3 = new A.ConstantStringSet(B.Object_gR2, 49, type$.ConstantStringSet_String);
  117234. B.Object_wEo = {deg: 0, grad: 1, rad: 2, turn: 3};
  117235. B.Set_gf1m2 = new A.ConstantStringSet(B.Object_wEo, 4, type$.ConstantStringSet_String);
  117236. B.Object_s_0_ms_1 = {s: 0, ms: 1};
  117237. B.Set_23h = new A.ConstantStringSet(B.Object_s_0_ms_1, 2, type$.ConstantStringSet_String);
  117238. B.Object_hz_0_khz_1 = {hz: 0, khz: 1};
  117239. B.Set_AKW81 = new A.ConstantStringSet(B.Object_hz_0_khz_1, 2, type$.ConstantStringSet_String);
  117240. B.Object_f7G = {dpi: 0, dpcm: 1, dppx: 2};
  117241. B.Set_wDQui = new A.ConstantStringSet(B.Object_f7G, 3, type$.ConstantStringSet_String);
  117242. B.List_gyp = A._setArrayType(makeConstList([B.Set_UGQ3, B.Set_gf1m2, B.Set_23h, B.Set_AKW81, B.Set_wDQui]), A.findType("JSArray<Set<String>>"));
  117243. B.List_oFp = A._setArrayType(makeConstList([0, 0, 65490, 45055, 65535, 34815, 65534, 18431]), type$.JSArray_int);
  117244. B.List_yzX = A._setArrayType(makeConstList([0, 0, 27858, 1023, 65534, 51199, 65535, 32767]), type$.JSArray_int);
  117245. B.Map_empty7 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<AsyncCallable>,List<CssComment>>"));
  117246. B.Map_empty0 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<Callable0>,List<CssComment>>"));
  117247. B.Map_empty2 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module0<0&>,List<CssComment>>"));
  117248. B.Map_empty15 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<AsyncCallable0>,List<CssComment0>>"));
  117249. B.Map_empty9 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<Callable>,List<CssComment0>>"));
  117250. B.Map_empty11 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Module1<0&>,List<CssComment0>>"));
  117251. B.Map_empty4 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,AstNode>"));
  117252. B.Map_empty12 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,AstNode0>"));
  117253. B.Map_empty6 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Expression>"));
  117254. B.Map_empty14 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Expression0>"));
  117255. B.Map_empty8 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module0<AsyncCallable>>"));
  117256. B.Map_empty1 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module0<Callable0>>"));
  117257. B.Map_empty16 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module1<AsyncCallable0>>"));
  117258. B.Map_empty10 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Module1<Callable>>"));
  117259. B.Map_empty5 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Value>"));
  117260. B.Map_empty13 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,Value0>"));
  117261. B.Map_empty3 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Symbol0,@>"));
  117262. B.Map_empty = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String?,String>"));
  117263. B.Object_UMI = {in: 0, cm: 1, pc: 2, mm: 3, q: 4, pt: 5, px: 6, deg: 7, grad: 8, rad: 9, turn: 10, s: 11, ms: 12, Hz: 13, kHz: 14, dpi: 15, dpcm: 16, dppx: 17};
  117264. B.Object_MIo = {in: 0, cm: 1, pc: 2, mm: 3, q: 4, pt: 5, px: 6};
  117265. B.Map_scaO3 = new A.ConstantStringMap(B.Object_MIo, [1, 0.39370078740157477, 0.16666666666666666, 0.03937007874015748, 0.00984251968503937, 0.013888888888888888, 0.010416666666666666], type$.ConstantStringMap_String_double);
  117266. B.Map_scsoL = new A.ConstantStringMap(B.Object_MIo, [2.54, 1, 0.42333333333333334, 0.1, 0.025, 0.035277777777777776, 0.026458333333333334], type$.ConstantStringMap_String_double);
  117267. B.Map_sci7B = new A.ConstantStringMap(B.Object_MIo, [6, 2.3622047244094486, 1, 0.2362204724409449, 0.05905511811023623, 0.08333333333333333, 0.0625], type$.ConstantStringMap_String_double);
  117268. B.Map_sc8pl = new A.ConstantStringMap(B.Object_MIo, [25.4, 10, 4.233333333333333, 1, 0.25, 0.35277777777777775, 0.26458333333333334], type$.ConstantStringMap_String_double);
  117269. B.Map_sckr3 = new A.ConstantStringMap(B.Object_MIo, [101.6, 40, 16.933333333333334, 4, 1, 1.411111111111111, 1.0583333333333333], type$.ConstantStringMap_String_double);
  117270. B.Map_scaBQ = new A.ConstantStringMap(B.Object_MIo, [72, 28.346456692913385, 12, 2.834645669291339, 0.7086614173228347, 1, 0.75], type$.ConstantStringMap_String_double);
  117271. B.Map_scGVy = new A.ConstantStringMap(B.Object_MIo, [96, 37.79527559055118, 16, 3.7795275590551185, 0.9448818897637796, 1.3333333333333333, 1], type$.ConstantStringMap_String_double);
  117272. B.Map_ia0 = new A.ConstantStringMap(B.Object_wEo, [1, 0.9, 57.29577951308232, 360], type$.ConstantStringMap_String_double);
  117273. B.Map_iaijl = new A.ConstantStringMap(B.Object_wEo, [1.1111111111111112, 1, 63.66197723675813, 400], type$.ConstantStringMap_String_double);
  117274. B.Map_iaMqi = new A.ConstantStringMap(B.Object_wEo, [0.017453292519943295, 0.015707963267948967, 1, 6.283185307179586], type$.ConstantStringMap_String_double);
  117275. B.Map_iaJel = new A.ConstantStringMap(B.Object_wEo, [0.002777777777777778, 0.0025, 0.15915494309189535, 1], type$.ConstantStringMap_String_double);
  117276. B.Map_V0M2a = new A.ConstantStringMap(B.Object_s_0_ms_1, [1, 0.001], type$.ConstantStringMap_String_double);
  117277. B.Map_V0nPR = new A.ConstantStringMap(B.Object_s_0_ms_1, [1000, 1], type$.ConstantStringMap_String_double);
  117278. B.Object_Hz_0_kHz_1 = {Hz: 0, kHz: 1};
  117279. B.Map_8secN = new A.ConstantStringMap(B.Object_Hz_0_kHz_1, [1, 1000], type$.ConstantStringMap_String_double);
  117280. B.Map_8sxHw = new A.ConstantStringMap(B.Object_Hz_0_kHz_1, [0.001, 1], type$.ConstantStringMap_String_double);
  117281. B.Map_lyv9F = new A.ConstantStringMap(B.Object_f7G, [1, 2.54, 96], type$.ConstantStringMap_String_double);
  117282. B.Map_lyhdB = new A.ConstantStringMap(B.Object_f7G, [0.39370078740157477, 1, 37.79527559055118], type$.ConstantStringMap_String_double);
  117283. B.Map_lyCkv = new A.ConstantStringMap(B.Object_f7G, [0.010416666666666666, 0.026458333333333334, 1], type$.ConstantStringMap_String_double);
  117284. B.Map_nfuzN = new A.ConstantStringMap(B.Object_UMI, [B.Map_scaO3, B.Map_scsoL, B.Map_sci7B, B.Map_sc8pl, B.Map_sckr3, B.Map_scaBQ, B.Map_scGVy, B.Map_ia0, B.Map_iaijl, B.Map_iaMqi, B.Map_iaJel, B.Map_V0M2a, B.Map_V0nPR, B.Map_8secN, B.Map_8sxHw, B.Map_lyv9F, B.Map_lyhdB, B.Map_lyCkv], A.findType("ConstantStringMap<String,Map<String,double>>"));
  117285. B.Object_kaS = {length: 0, angle: 1, time: 2, frequency: 3, "pixel density": 4};
  117286. B.List_scn = A._setArrayType(makeConstList(["in", "cm", "pc", "mm", "q", "pt", "px"]), type$.JSArray_String);
  117287. B.List_deg_grad_rad_turn = A._setArrayType(makeConstList(["deg", "grad", "rad", "turn"]), type$.JSArray_String);
  117288. B.List_s_ms = A._setArrayType(makeConstList(["s", "ms"]), type$.JSArray_String);
  117289. B.List_Hz_kHz = A._setArrayType(makeConstList(["Hz", "kHz"]), type$.JSArray_String);
  117290. B.List_dpi_dpcm_dppx = A._setArrayType(makeConstList(["dpi", "dpcm", "dppx"]), type$.JSArray_String);
  117291. B.Map_ws7dy = new A.ConstantStringMap(B.Object_kaS, [B.List_scn, B.List_deg_grad_rad_turn, B.List_s_ms, B.List_Hz_kHz, B.List_dpi_dpcm_dppx], A.findType("ConstantStringMap<String,List<String>>"));
  117292. B.OptionType_YwU = new A.OptionType("OptionType.single");
  117293. B.OptionType_nMZ = new A.OptionType("OptionType.flag");
  117294. B.OptionType_qyr = new A.OptionType("OptionType.multiple");
  117295. B.OutputStyle_0 = new A.OutputStyle("expanded");
  117296. B.OutputStyle_00 = new A.OutputStyle0("expanded");
  117297. B.OutputStyle_1 = new A.OutputStyle("compressed");
  117298. B.OutputStyle_10 = new A.OutputStyle0("compressed");
  117299. B.Map_empty19 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<SelectorList,Box<SelectorList>>"));
  117300. B.Record2_EmptyExtensionStore_Map_empty = new A._Record_2(B.C_EmptyExtensionStore, B.Map_empty19);
  117301. B.Map_empty20 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<SelectorList0,Box0<SelectorList0>>"));
  117302. B.Record2_EmptyExtensionStore_Map_empty0 = new A._Record_2(B.C_EmptyExtensionStore0, B.Map_empty20);
  117303. B.SassBoolean_false = new A.SassBoolean(false);
  117304. B.SassBoolean_false0 = new A.SassBoolean0(false);
  117305. B.SassBoolean_true = new A.SassBoolean(true);
  117306. B.SassBoolean_true0 = new A.SassBoolean0(true);
  117307. B.SassList_Sof = new A.SassList(B.List_empty8, B.ListSeparator_rXA, false);
  117308. B.SassList_Sof0 = new A.SassList(B.List_empty8, B.ListSeparator_rXA, true);
  117309. B.SassList_Sof1 = new A.SassList0(B.List_empty19, B.ListSeparator_rXA0, false);
  117310. B.SassList_Sof2 = new A.SassList0(B.List_empty19, B.ListSeparator_rXA0, true);
  117311. B.SassList_nj9 = new A.SassList0(B.List_empty19, B.ListSeparator_undecided_null_undecided0, false);
  117312. B.Map_empty21 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Value,Value>"));
  117313. B.SassMap_Map_empty = new A.SassMap(B.Map_empty21);
  117314. B.Map_empty22 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<Value0,Value0>"));
  117315. B.SassMap_Map_empty0 = new A.SassMap0(B.Map_empty22);
  117316. B.Set_FIwG4 = new A.GeneralConstantSet([B.BinaryOperator_qN2, B.BinaryOperator_t8B, B.BinaryOperator_anB, B.BinaryOperator_olz], A.findType("GeneralConstantSet<BinaryOperator>"));
  117317. B.Set_FIwG40 = new A.GeneralConstantSet([B.BinaryOperator_qN20, B.BinaryOperator_t8B0, B.BinaryOperator_anB0, B.BinaryOperator_olz0], A.findType("GeneralConstantSet<BinaryOperator0>"));
  117318. B.Object_sd2 = {calc: 0, clamp: 1, hypot: 2, sin: 3, cos: 4, tan: 5, asin: 6, acos: 7, atan: 8, sqrt: 9, exp: 10, sign: 11, mod: 12, rem: 13, atan2: 14, pow: 15, log: 16};
  117319. B.Set_WfnXb = new A.ConstantStringSet(B.Object_sd2, 17, type$.ConstantStringSet_String);
  117320. B.Object_C0t = {is: 0, matches: 1, where: 2};
  117321. B.Set_aAXJu = new A.ConstantStringSet(B.Object_C0t, 3, type$.ConstantStringSet_String);
  117322. B.Set_empty1 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<CssMediaQuery>"));
  117323. B.Set_empty5 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<CssMediaQuery0>"));
  117324. B.Set_empty2 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module0<AsyncCallable>>"));
  117325. B.Set_empty0 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module0<Callable0>>"));
  117326. B.Set_empty6 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module1<AsyncCallable0>>"));
  117327. B.Set_empty4 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Module1<Callable>>"));
  117328. B.Set_empty7 = new A.ConstantStringSet(B.Object_empty, 0, type$.ConstantStringSet_String);
  117329. B.Set_empty3 = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<StylesheetNode>"));
  117330. B.Set_empty = new A.ConstantStringSet(B.Object_empty, 0, A.findType("ConstantStringSet<Uri>"));
  117331. B.StderrLogger_false = new A.StderrLogger(false);
  117332. B.StderrLogger_false0 = new A.StderrLogger0(false);
  117333. B.Symbol__containingUrl = new A.Symbol("_containingUrl");
  117334. B.Symbol__evaluationContext = new A.Symbol("_evaluationContext");
  117335. B.Symbol__extensions = new A.Symbol("_extensions");
  117336. B.Symbol__inImportRule = new A.Symbol("_inImportRule");
  117337. B.Symbol__none = new A.Symbol("_none");
  117338. B.Symbol__sourceSpecificity = new A.Symbol("_sourceSpecificity");
  117339. B.Symbol_call = new A.Symbol("call");
  117340. B.Syntax_CSS_css = new A.Syntax("CSS", "css");
  117341. B.Syntax_CSS_css0 = new A.Syntax0("CSS", "css");
  117342. B.Syntax_SCSS_scss = new A.Syntax("SCSS", "scss");
  117343. B.Syntax_SCSS_scss0 = new A.Syntax0("SCSS", "scss");
  117344. B.Syntax_Sass_sass = new A.Syntax("Sass", "sass");
  117345. B.Syntax_Sass_sass0 = new A.Syntax0("Sass", "sass");
  117346. B.Type_ByteBuffer_RkP = A.typeLiteral("ByteBuffer");
  117347. B.Type_ByteData_zNC = A.typeLiteral("ByteData");
  117348. B.Type_Float32List_LB7 = A.typeLiteral("Float32List");
  117349. B.Type_Float64List_LB7 = A.typeLiteral("Float64List");
  117350. B.Type_Int16List_uXf = A.typeLiteral("Int16List");
  117351. B.Type_Int32List_O50 = A.typeLiteral("Int32List");
  117352. B.Type_Int8List_ekJ = A.typeLiteral("Int8List");
  117353. B.Type_Object_xQ6 = A.typeLiteral("Object");
  117354. B.Type_Uint16List_2bx = A.typeLiteral("Uint16List");
  117355. B.Type_Uint32List_2bx = A.typeLiteral("Uint32List");
  117356. B.Type_Uint8ClampedList_Jik = A.typeLiteral("Uint8ClampedList");
  117357. B.Type_Uint8List_WLA = A.typeLiteral("Uint8List");
  117358. B.UnaryOperator_Ix1 = new A.UnaryOperator("divide", "/", "divide");
  117359. B.UnaryOperator_Ix10 = new A.UnaryOperator0("divide", "/", "divide");
  117360. B.UnaryOperator_TLI = new A.UnaryOperator("minus", "-", "minus");
  117361. B.UnaryOperator_TLI0 = new A.UnaryOperator0("minus", "-", "minus");
  117362. B.UnaryOperator_gg4 = new A.UnaryOperator("plus", "+", "plus");
  117363. B.UnaryOperator_gg40 = new A.UnaryOperator0("plus", "+", "plus");
  117364. B.UnaryOperator_not_not_not = new A.UnaryOperator("not", "not", "not");
  117365. B.UnaryOperator_not_not_not0 = new A.UnaryOperator0("not", "not", "not");
  117366. B.Utf8Decoder_false = new A.Utf8Decoder(false);
  117367. B._ColorFormatEnum_hslFunction = new A._ColorFormatEnum("hslFunction");
  117368. B._ColorFormatEnum_hslFunction0 = new A._ColorFormatEnum0("hslFunction");
  117369. B._ColorFormatEnum_rgbFunction = new A._ColorFormatEnum("rgbFunction");
  117370. B._ColorFormatEnum_rgbFunction0 = new A._ColorFormatEnum0("rgbFunction");
  117371. B._IsBogusVisitor_false = new A._IsBogusVisitor(false);
  117372. B._IsBogusVisitor_false0 = new A._IsBogusVisitor0(false);
  117373. B._IsBogusVisitor_true = new A._IsBogusVisitor(true);
  117374. B._IsBogusVisitor_true0 = new A._IsBogusVisitor0(true);
  117375. B._IsInvisibleVisitor_false = new A._IsInvisibleVisitor0(false);
  117376. B._IsInvisibleVisitor_false0 = new A._IsInvisibleVisitor2(false);
  117377. B._IsInvisibleVisitor_false_false = new A._IsInvisibleVisitor(false, false);
  117378. B._IsInvisibleVisitor_false_false0 = new A._IsInvisibleVisitor1(false, false);
  117379. B._IsInvisibleVisitor_true = new A._IsInvisibleVisitor0(true);
  117380. B._IsInvisibleVisitor_true0 = new A._IsInvisibleVisitor2(true);
  117381. B._IsInvisibleVisitor_true_false = new A._IsInvisibleVisitor(true, false);
  117382. B._IsInvisibleVisitor_true_false0 = new A._IsInvisibleVisitor1(true, false);
  117383. B._IsInvisibleVisitor_true_true = new A._IsInvisibleVisitor(true, true);
  117384. B._IsInvisibleVisitor_true_true0 = new A._IsInvisibleVisitor1(true, true);
  117385. B._PathDirection_8Gl = new A._PathDirection("at root");
  117386. B._PathDirection_988 = new A._PathDirection("below root");
  117387. B._PathDirection_FIw = new A._PathDirection("reaches root");
  117388. B._PathDirection_ZGD = new A._PathDirection("above root");
  117389. B._PathRelation_different = new A._PathRelation("different");
  117390. B._PathRelation_equal = new A._PathRelation("equal");
  117391. B._PathRelation_inconclusive = new A._PathRelation("inconclusive");
  117392. B._PathRelation_within = new A._PathRelation("within");
  117393. B._SingletonCssMediaQueryMergeResult_0 = new A._SingletonCssMediaQueryMergeResult("empty");
  117394. B._SingletonCssMediaQueryMergeResult_00 = new A._SingletonCssMediaQueryMergeResult0("empty");
  117395. B._SingletonCssMediaQueryMergeResult_1 = new A._SingletonCssMediaQueryMergeResult("unrepresentable");
  117396. B._SingletonCssMediaQueryMergeResult_10 = new A._SingletonCssMediaQueryMergeResult0("unrepresentable");
  117397. B._StreamGroupState_canceled = new A._StreamGroupState("canceled");
  117398. B._StreamGroupState_dormant = new A._StreamGroupState("dormant");
  117399. B._StreamGroupState_listening = new A._StreamGroupState("listening");
  117400. B._StreamGroupState_paused = new A._StreamGroupState("paused");
  117401. B._StringStackTrace_3uE = new A._StringStackTrace("");
  117402. B._ZoneFunction_3bB = new A._ZoneFunction(B.C__RootZone, A.async___rootCreatePeriodicTimer$closure());
  117403. B._ZoneFunction_7G2 = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterBinaryCallback$closure());
  117404. B._ZoneFunction_Eeh = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterUnaryCallback$closure());
  117405. B._ZoneFunction_NMc = new A._ZoneFunction(B.C__RootZone, A.async___rootHandleUncaughtError$closure());
  117406. B._ZoneFunction__RootZone__rootCreateTimer = new A._ZoneFunction(B.C__RootZone, A.async___rootCreateTimer$closure());
  117407. B._ZoneFunction__RootZone__rootErrorCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootErrorCallback$closure());
  117408. B._ZoneFunction__RootZone__rootFork = new A._ZoneFunction(B.C__RootZone, A.async___rootFork$closure());
  117409. B._ZoneFunction__RootZone__rootPrint = new A._ZoneFunction(B.C__RootZone, A.async___rootPrint$closure());
  117410. B._ZoneFunction__RootZone__rootRegisterCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterCallback$closure());
  117411. B._ZoneFunction__RootZone__rootRun = new A._ZoneFunction(B.C__RootZone, A.async___rootRun$closure());
  117412. B._ZoneFunction__RootZone__rootRunBinary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunBinary$closure());
  117413. B._ZoneFunction__RootZone__rootRunUnary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunUnary$closure());
  117414. B._ZoneFunction__RootZone__rootScheduleMicrotask = new A._ZoneFunction(B.C__RootZone, A.async___rootScheduleMicrotask$closure());
  117415. B._ZoneSpecification_ALf = new A._ZoneSpecification(null, null, null, null, null, null, null, null, null, null, null, null, null);
  117416. })();
  117417. (function staticFields() {
  117418. $._JS_INTEROP_INTERCEPTOR_TAG = null;
  117419. $.toStringVisiting = A._setArrayType([], type$.JSArray_Object);
  117420. $.printToZone = null;
  117421. $.Primitives__identityHashCodeProperty = null;
  117422. $.BoundClosure__receiverFieldNameCache = null;
  117423. $.BoundClosure__interceptorFieldNameCache = null;
  117424. $.getTagFunction = null;
  117425. $.alternateTagFunction = null;
  117426. $.prototypeForTagFunction = null;
  117427. $.dispatchRecordsForInstanceTags = null;
  117428. $.interceptorsForUncacheableTags = null;
  117429. $.initNativeDispatchFlag = null;
  117430. $._Record__computedFieldKeys = A._setArrayType([], A.findType("JSArray<List<Object>?>"));
  117431. $._nextCallback = null;
  117432. $._lastCallback = null;
  117433. $._lastPriorityCallback = null;
  117434. $._isInCallbackLoop = false;
  117435. $.Zone__current = B.C__RootZone;
  117436. $._RootZone__rootDelegate = null;
  117437. $.Uri__cachedBaseString = "";
  117438. $.Uri__cachedBaseUri = null;
  117439. $._fs = null;
  117440. $._currentUriBase = null;
  117441. $._current = null;
  117442. $._subselectorPseudos = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  117443. $._rootishPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  117444. $._features = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  117445. $._realCaseCache = function() {
  117446. var t1 = type$.String;
  117447. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  117448. }();
  117449. $._selectorPseudoClasses = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  117450. $._selectorPseudoElements = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  117451. $._glyphs = B.C_UnicodeGlyphSet;
  117452. $._rootishPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["root", "scope", "host", "host-context"], type$.String);
  117453. $._realCaseCache0 = function() {
  117454. var t1 = type$.String;
  117455. return A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  117456. }();
  117457. $._features0 = A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing", "extend-selector-pseudoclass", "units-level-3", "at-error", "custom-property"], type$.String);
  117458. $._selectorPseudoClasses0 = A.LinkedHashSet_LinkedHashSet$_literal(["not", "is", "matches", "where", "current", "any", "has", "host", "host-context"], type$.String);
  117459. $._selectorPseudoElements0 = A.LinkedHashSet_LinkedHashSet$_literal(["slotted"], type$.String);
  117460. $._subselectorPseudos0 = A.LinkedHashSet_LinkedHashSet$_literal(["is", "matches", "where", "any", "nth-child", "nth-last-child"], type$.String);
  117461. })();
  117462. (function lazyInitializers() {
  117463. var _lazyFinal = hunkHelpers.lazyFinal,
  117464. _lazy = hunkHelpers.lazy;
  117465. _lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => A.getIsolateAffinityTag("_$dart_dartClosure"));
  117466. _lazyFinal($, "nullFuture", "$get$nullFuture", () => B.C__RootZone.run$1$1(0, new A.nullFuture_closure(), A.findType("Future<Null>")));
  117467. _lazyFinal($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({
  117468. toString: function() {
  117469. return "$receiver$";
  117470. }
  117471. })));
  117472. _lazyFinal($, "TypeErrorDecoder_notClosurePattern", "$get$TypeErrorDecoder_notClosurePattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({$method$: null,
  117473. toString: function() {
  117474. return "$receiver$";
  117475. }
  117476. })));
  117477. _lazyFinal($, "TypeErrorDecoder_nullCallPattern", "$get$TypeErrorDecoder_nullCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(null)));
  117478. _lazyFinal($, "TypeErrorDecoder_nullLiteralCallPattern", "$get$TypeErrorDecoder_nullLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  117479. var $argumentsExpr$ = "$arguments$";
  117480. try {
  117481. null.$method$($argumentsExpr$);
  117482. } catch (e) {
  117483. return e.message;
  117484. }
  117485. }()));
  117486. _lazyFinal($, "TypeErrorDecoder_undefinedCallPattern", "$get$TypeErrorDecoder_undefinedCallPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(void 0)));
  117487. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralCallPattern", "$get$TypeErrorDecoder_undefinedLiteralCallPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  117488. var $argumentsExpr$ = "$arguments$";
  117489. try {
  117490. (void 0).$method$($argumentsExpr$);
  117491. } catch (e) {
  117492. return e.message;
  117493. }
  117494. }()));
  117495. _lazyFinal($, "TypeErrorDecoder_nullPropertyPattern", "$get$TypeErrorDecoder_nullPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(null)));
  117496. _lazyFinal($, "TypeErrorDecoder_nullLiteralPropertyPattern", "$get$TypeErrorDecoder_nullLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  117497. try {
  117498. null.$method$;
  117499. } catch (e) {
  117500. return e.message;
  117501. }
  117502. }()));
  117503. _lazyFinal($, "TypeErrorDecoder_undefinedPropertyPattern", "$get$TypeErrorDecoder_undefinedPropertyPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(void 0)));
  117504. _lazyFinal($, "TypeErrorDecoder_undefinedLiteralPropertyPattern", "$get$TypeErrorDecoder_undefinedLiteralPropertyPattern", () => A.TypeErrorDecoder_extractPattern(function() {
  117505. try {
  117506. (void 0).$method$;
  117507. } catch (e) {
  117508. return e.message;
  117509. }
  117510. }()));
  117511. _lazyFinal($, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", () => A._AsyncRun__initializeScheduleImmediate());
  117512. _lazyFinal($, "Future__nullFuture", "$get$Future__nullFuture", () => A.findType("_Future<Null>")._as($.$get$nullFuture()));
  117513. _lazyFinal($, "Future__falseFuture", "$get$Future__falseFuture", () => A._Future$zoneValue(false, B.C__RootZone, type$.bool));
  117514. _lazyFinal($, "_RootZone__rootMap", "$get$_RootZone__rootMap", () => {
  117515. var t1 = type$.dynamic;
  117516. return A.HashMap_HashMap(t1, t1);
  117517. });
  117518. _lazyFinal($, "Utf8Decoder__decoder", "$get$Utf8Decoder__decoder", () => new A.Utf8Decoder__decoder_closure().call$0());
  117519. _lazyFinal($, "Utf8Decoder__decoderNonfatal", "$get$Utf8Decoder__decoderNonfatal", () => new A.Utf8Decoder__decoderNonfatal_closure().call$0());
  117520. _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))));
  117521. _lazyFinal($, "_Uri__isWindowsCached", "$get$_Uri__isWindowsCached", () => typeof process != "undefined" && Object.prototype.toString.call(process) == "[object process]" && process.platform == "win32");
  117522. _lazyFinal($, "_Uri__needsNoEncoding", "$get$_Uri__needsNoEncoding", () => A.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$", false));
  117523. _lazyFinal($, "_hashSeed", "$get$_hashSeed", () => A.objectHashCode(B.Type_Object_xQ6));
  117524. _lazyFinal($, "_scannerTables", "$get$_scannerTables", () => A._createTables());
  117525. _lazyFinal($, "Option__invalidChars", "$get$Option__invalidChars", () => A.RegExp_RegExp("[ \\t\\r\\n\"'\\\\/]", false));
  117526. _lazyFinal($, "_isStrictMode", "$get$_isStrictMode", () => new A._isStrictMode_closure().call$0());
  117527. _lazyFinal($, "alwaysValid", "$get$alwaysValid", () => new A.alwaysValid_closure());
  117528. _lazyFinal($, "readline", "$get$readline", () => self.readline);
  117529. _lazyFinal($, "windows", "$get$windows", () => A.Context_Context($.$get$Style_windows()));
  117530. _lazyFinal($, "url", "$get$url", () => A.Context_Context($.$get$Style_url()));
  117531. _lazyFinal($, "context", "$get$context", () => new A.Context($.$get$Style_platform(), null));
  117532. _lazyFinal($, "Style_posix", "$get$Style_posix", () => new A.PosixStyle(A.RegExp_RegExp("/", false), A.RegExp_RegExp("[^/]$", false), A.RegExp_RegExp("^/", false)));
  117533. _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)));
  117534. _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)));
  117535. _lazyFinal($, "Style_platform", "$get$Style_platform", () => A.Style__getPlatformStyle());
  117536. _lazyFinal($, "startVersion", "$get$startVersion", () => A.RegExp_RegExp("^(\\d+)\\.(\\d+)\\.(\\d+)(-([0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*))?(\\+([0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*))?", false));
  117537. _lazyFinal($, "completeVersion", "$get$completeVersion", () => A.RegExp_RegExp($.$get$startVersion().pattern + "$", false));
  117538. _lazyFinal($, "IfExpression_declaration", "$get$IfExpression_declaration", () => A.ArgumentDeclaration_ArgumentDeclaration$parse(string$.x40funct, null));
  117539. _lazyFinal($, "colorsByName", "$get$colorsByName", () => A.LinkedHashMap_LinkedHashMap$_literal(["yellowgreen", A.SassColor$rgb(154, 205, 50, 1), "yellow", A.SassColor$rgb(255, 255, 0, 1), "whitesmoke", A.SassColor$rgb(245, 245, 245, 1), "white", A.SassColor$rgb(255, 255, 255, 1), "wheat", A.SassColor$rgb(245, 222, 179, 1), "violet", A.SassColor$rgb(238, 130, 238, 1), "turquoise", A.SassColor$rgb(64, 224, 208, 1), "transparent", A.SassColor$rgb(0, 0, 0, 0), "tomato", A.SassColor$rgb(255, 99, 71, 1), "thistle", A.SassColor$rgb(216, 191, 216, 1), "teal", A.SassColor$rgb(0, 128, 128, 1), "tan", A.SassColor$rgb(210, 180, 140, 1), "steelblue", A.SassColor$rgb(70, 130, 180, 1), "springgreen", A.SassColor$rgb(0, 255, 127, 1), "snow", A.SassColor$rgb(255, 250, 250, 1), "slategrey", A.SassColor$rgb(112, 128, 144, 1), "slategray", A.SassColor$rgb(112, 128, 144, 1), "slateblue", A.SassColor$rgb(106, 90, 205, 1), "skyblue", A.SassColor$rgb(135, 206, 235, 1), "silver", A.SassColor$rgb(192, 192, 192, 1), "sienna", A.SassColor$rgb(160, 82, 45, 1), "seashell", A.SassColor$rgb(255, 245, 238, 1), "seagreen", A.SassColor$rgb(46, 139, 87, 1), "sandybrown", A.SassColor$rgb(244, 164, 96, 1), "salmon", A.SassColor$rgb(250, 128, 114, 1), "saddlebrown", A.SassColor$rgb(139, 69, 19, 1), "royalblue", A.SassColor$rgb(65, 105, 225, 1), "rosybrown", A.SassColor$rgb(188, 143, 143, 1), "red", A.SassColor$rgb(255, 0, 0, 1), "rebeccapurple", A.SassColor$rgb(102, 51, 153, 1), "purple", A.SassColor$rgb(128, 0, 128, 1), "powderblue", A.SassColor$rgb(176, 224, 230, 1), "plum", A.SassColor$rgb(221, 160, 221, 1), "pink", A.SassColor$rgb(255, 192, 203, 1), "peru", A.SassColor$rgb(205, 133, 63, 1), "peachpuff", A.SassColor$rgb(255, 218, 185, 1), "papayawhip", A.SassColor$rgb(255, 239, 213, 1), "palevioletred", A.SassColor$rgb(219, 112, 147, 1), "paleturquoise", A.SassColor$rgb(175, 238, 238, 1), "palegreen", A.SassColor$rgb(152, 251, 152, 1), "palegoldenrod", A.SassColor$rgb(238, 232, 170, 1), "orchid", A.SassColor$rgb(218, 112, 214, 1), "orangered", A.SassColor$rgb(255, 69, 0, 1), "orange", A.SassColor$rgb(255, 165, 0, 1), "olivedrab", A.SassColor$rgb(107, 142, 35, 1), "olive", A.SassColor$rgb(128, 128, 0, 1), "oldlace", A.SassColor$rgb(253, 245, 230, 1), "navy", A.SassColor$rgb(0, 0, 128, 1), "navajowhite", A.SassColor$rgb(255, 222, 173, 1), "moccasin", A.SassColor$rgb(255, 228, 181, 1), "mistyrose", A.SassColor$rgb(255, 228, 225, 1), "mintcream", A.SassColor$rgb(245, 255, 250, 1), "midnightblue", A.SassColor$rgb(25, 25, 112, 1), "mediumvioletred", A.SassColor$rgb(199, 21, 133, 1), "mediumturquoise", A.SassColor$rgb(72, 209, 204, 1), "mediumspringgreen", A.SassColor$rgb(0, 250, 154, 1), "mediumslateblue", A.SassColor$rgb(123, 104, 238, 1), "mediumseagreen", A.SassColor$rgb(60, 179, 113, 1), "mediumpurple", A.SassColor$rgb(147, 112, 219, 1), "mediumorchid", A.SassColor$rgb(186, 85, 211, 1), "mediumblue", A.SassColor$rgb(0, 0, 205, 1), "mediumaquamarine", A.SassColor$rgb(102, 205, 170, 1), "maroon", A.SassColor$rgb(128, 0, 0, 1), "magenta", A.SassColor$rgb(255, 0, 255, 1), "linen", A.SassColor$rgb(250, 240, 230, 1), "limegreen", A.SassColor$rgb(50, 205, 50, 1), "lime", A.SassColor$rgb(0, 255, 0, 1), "lightyellow", A.SassColor$rgb(255, 255, 224, 1), "lightsteelblue", A.SassColor$rgb(176, 196, 222, 1), "lightslategrey", A.SassColor$rgb(119, 136, 153, 1), "lightslategray", A.SassColor$rgb(119, 136, 153, 1), "lightskyblue", A.SassColor$rgb(135, 206, 250, 1), "lightseagreen", A.SassColor$rgb(32, 178, 170, 1), "lightsalmon", A.SassColor$rgb(255, 160, 122, 1), "lightpink", A.SassColor$rgb(255, 182, 193, 1), "lightgrey", A.SassColor$rgb(211, 211, 211, 1), "lightgreen", A.SassColor$rgb(144, 238, 144, 1), "lightgray", A.SassColor$rgb(211, 211, 211, 1), "lightgoldenrodyellow", A.SassColor$rgb(250, 250, 210, 1), "lightcyan", A.SassColor$rgb(224, 255, 255, 1), "lightcoral", A.SassColor$rgb(240, 128, 128, 1), "lightblue", A.SassColor$rgb(173, 216, 230, 1), "lemonchiffon", A.SassColor$rgb(255, 250, 205, 1), "lawngreen", A.SassColor$rgb(124, 252, 0, 1), "lavenderblush", A.SassColor$rgb(255, 240, 245, 1), "lavender", A.SassColor$rgb(230, 230, 250, 1), "khaki", A.SassColor$rgb(240, 230, 140, 1), "ivory", A.SassColor$rgb(255, 255, 240, 1), "indigo", A.SassColor$rgb(75, 0, 130, 1), "indianred", A.SassColor$rgb(205, 92, 92, 1), "hotpink", A.SassColor$rgb(255, 105, 180, 1), "honeydew", A.SassColor$rgb(240, 255, 240, 1), "grey", A.SassColor$rgb(128, 128, 128, 1), "greenyellow", A.SassColor$rgb(173, 255, 47, 1), "green", A.SassColor$rgb(0, 128, 0, 1), "gray", A.SassColor$rgb(128, 128, 128, 1), "goldenrod", A.SassColor$rgb(218, 165, 32, 1), "gold", A.SassColor$rgb(255, 215, 0, 1), "ghostwhite", A.SassColor$rgb(248, 248, 255, 1), "gainsboro", A.SassColor$rgb(220, 220, 220, 1), "fuchsia", A.SassColor$rgb(255, 0, 255, 1), "forestgreen", A.SassColor$rgb(34, 139, 34, 1), "floralwhite", A.SassColor$rgb(255, 250, 240, 1), "firebrick", A.SassColor$rgb(178, 34, 34, 1), "dodgerblue", A.SassColor$rgb(30, 144, 255, 1), "dimgrey", A.SassColor$rgb(105, 105, 105, 1), "dimgray", A.SassColor$rgb(105, 105, 105, 1), "deepskyblue", A.SassColor$rgb(0, 191, 255, 1), "deeppink", A.SassColor$rgb(255, 20, 147, 1), "darkviolet", A.SassColor$rgb(148, 0, 211, 1), "darkturquoise", A.SassColor$rgb(0, 206, 209, 1), "darkslategrey", A.SassColor$rgb(47, 79, 79, 1), "darkslategray", A.SassColor$rgb(47, 79, 79, 1), "darkslateblue", A.SassColor$rgb(72, 61, 139, 1), "darkseagreen", A.SassColor$rgb(143, 188, 143, 1), "darksalmon", A.SassColor$rgb(233, 150, 122, 1), "darkred", A.SassColor$rgb(139, 0, 0, 1), "darkorchid", A.SassColor$rgb(153, 50, 204, 1), "darkorange", A.SassColor$rgb(255, 140, 0, 1), "darkolivegreen", A.SassColor$rgb(85, 107, 47, 1), "darkmagenta", A.SassColor$rgb(139, 0, 139, 1), "darkkhaki", A.SassColor$rgb(189, 183, 107, 1), "darkgrey", A.SassColor$rgb(169, 169, 169, 1), "darkgreen", A.SassColor$rgb(0, 100, 0, 1), "darkgray", A.SassColor$rgb(169, 169, 169, 1), "darkgoldenrod", A.SassColor$rgb(184, 134, 11, 1), "darkcyan", A.SassColor$rgb(0, 139, 139, 1), "darkblue", A.SassColor$rgb(0, 0, 139, 1), "cyan", A.SassColor$rgb(0, 255, 255, 1), "crimson", A.SassColor$rgb(220, 20, 60, 1), "cornsilk", A.SassColor$rgb(255, 248, 220, 1), "cornflowerblue", A.SassColor$rgb(100, 149, 237, 1), "coral", A.SassColor$rgb(255, 127, 80, 1), "chocolate", A.SassColor$rgb(210, 105, 30, 1), "chartreuse", A.SassColor$rgb(127, 255, 0, 1), "cadetblue", A.SassColor$rgb(95, 158, 160, 1), "burlywood", A.SassColor$rgb(222, 184, 135, 1), "brown", A.SassColor$rgb(165, 42, 42, 1), "blueviolet", A.SassColor$rgb(138, 43, 226, 1), "blue", A.SassColor$rgb(0, 0, 255, 1), "blanchedalmond", A.SassColor$rgb(255, 235, 205, 1), "black", A.SassColor$rgb(0, 0, 0, 1), "bisque", A.SassColor$rgb(255, 228, 196, 1), "beige", A.SassColor$rgb(245, 245, 220, 1), "azure", A.SassColor$rgb(240, 255, 255, 1), "aquamarine", A.SassColor$rgb(127, 255, 212, 1), "aqua", A.SassColor$rgb(0, 255, 255, 1), "antiquewhite", A.SassColor$rgb(250, 235, 215, 1), "aliceblue", A.SassColor$rgb(240, 248, 255, 1)], type$.String, type$.SassColor));
  117540. _lazyFinal($, "namesByColor", "$get$namesByColor", () => {
  117541. var $name,
  117542. t1 = type$.SassColor,
  117543. t2 = type$.String,
  117544. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  117545. for (t1 = A.MapExtensions_get_pairs($.$get$colorsByName(), t2, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  117546. t2 = t1.get$current(t1);
  117547. $name = t2._0;
  117548. t3.$indexSet(0, t2._1, $name);
  117549. }
  117550. return t3;
  117551. });
  117552. _lazyFinal($, "ExecutableOptions__separatorBar", "$get$ExecutableOptions__separatorBar", () => A.isWindows() ? "=" : "\u2501");
  117553. _lazyFinal($, "ExecutableOptions__parser", "$get$ExecutableOptions__parser", () => new A.ExecutableOptions__parser_closure().call$0());
  117554. _lazyFinal($, "globalFunctions", "$get$globalFunctions", () => {
  117555. var t1 = type$.BuiltInCallable,
  117556. t2 = A.List_List$of($.$get$global0(), true, t1);
  117557. B.JSArray_methods.addAll$1(t2, $.$get$global1());
  117558. B.JSArray_methods.addAll$1(t2, $.$get$global2());
  117559. B.JSArray_methods.addAll$1(t2, $.$get$global3());
  117560. B.JSArray_methods.addAll$1(t2, $.$get$global4());
  117561. B.JSArray_methods.addAll$1(t2, $.$get$global5());
  117562. B.JSArray_methods.addAll$1(t2, $.$get$global());
  117563. t2.push(A.BuiltInCallable$function("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure(), null));
  117564. return A.UnmodifiableListView$(t2, t1);
  117565. });
  117566. _lazyFinal($, "coreModules", "$get$coreModules", () => A.UnmodifiableListView$(A._setArrayType([$.$get$module(), $.$get$module0(), $.$get$module1(), $.$get$module2(), $.$get$module3(), $.$get$module4()], A.findType("JSArray<BuiltInModule<Callable0>>")), type$.BuiltInModule_Callable));
  117567. _lazyFinal($, "_microsoftFilterStart", "$get$_microsoftFilterStart", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  117568. _lazyFinal($, "global", "$get$global0", () => {
  117569. var _s27_ = "$red, $green, $blue, $alpha",
  117570. _s19_ = "$red, $green, $blue",
  117571. _s37_ = "$hue, $saturation, $lightness, $alpha",
  117572. _s29_ = "$hue, $saturation, $lightness",
  117573. _s17_ = "$hue, $saturation",
  117574. _s15_ = "$color, $amount",
  117575. t1 = type$.String,
  117576. t2 = type$.Value_Function_List_Value;
  117577. 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_closure0(), _s19_, new A.global_closure1(), "$color, $alpha", new A.global_closure2(), "$channels", new A.global_closure3()], t1, t2)), A.BuiltInCallable$overloadedFunction("rgba", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure4(), _s19_, new A.global_closure5(), "$color, $alpha", new A.global_closure6(), "$channels", new A.global_closure7()], t1, t2)), A._function4("invert", "$color, $weight: 100%", new A.global_closure8()), $.$get$_hue(), $.$get$_saturation(), $.$get$_lightness(), $.$get$_complement(), A.BuiltInCallable$overloadedFunction("hsl", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure9(), _s29_, new A.global_closure10(), _s17_, new A.global_closure11(), "$channels", new A.global_closure12()], t1, t2)), A.BuiltInCallable$overloadedFunction("hsla", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure13(), _s29_, new A.global_closure14(), _s17_, new A.global_closure15(), "$channels", new A.global_closure16()], t1, t2)), A._function4("grayscale", "$color", new A.global_closure17()), A._function4("adjust-hue", "$color, $degrees", new A.global_closure18()), A._function4("lighten", _s15_, new A.global_closure19()), A._function4("darken", _s15_, new A.global_closure20()), A.BuiltInCallable$overloadedFunction("saturate", A.LinkedHashMap_LinkedHashMap$_literal(["$amount", new A.global_closure21(), "$color, $amount", new A.global_closure22()], t1, t2)), A._function4("desaturate", _s15_, new A.global_closure23()), 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_closure24(), "$args...", new A.global_closure25()], t1, t2)), A._function4("opacity", "$color", new A.global_closure26()), $.$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);
  117578. });
  117579. _lazyFinal($, "module", "$get$module", () => {
  117580. var _s9_ = "lightness",
  117581. _s10_ = "saturation",
  117582. _s6_ = "$color", _s5_ = "alpha",
  117583. t1 = type$.String,
  117584. t2 = type$.Value_Function_List_Value;
  117585. return A.BuiltInModule$("color", A._setArrayType([$.$get$_red(), $.$get$_green(), $.$get$_blue(), $.$get$_mix(), A._function4("invert", "$color, $weight: 100%", new A.module_closure1()), $.$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_closure2()), A.BuiltInCallable$overloadedFunction("hwb", A.LinkedHashMap_LinkedHashMap$_literal(["$hue, $whiteness, $blackness, $alpha: 1", new A.module_closure3(), "$channels", new A.module_closure4()], t1, t2)), A._function4("whiteness", _s6_, new A.module_closure5()), A._function4("blackness", _s6_, new A.module_closure6()), 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_closure7(), "$args...", new A.module_closure8()], t1, t2)), A._function4("opacity", _s6_, new A.module_closure9()), $.$get$_adjust(), $.$get$_scale(), $.$get$_change(), $.$get$_ieHexStr()], type$.JSArray_Callable), null, null, type$.Callable);
  117586. });
  117587. _lazyFinal($, "_red", "$get$_red", () => A._function4("red", "$color", new A._red_closure()));
  117588. _lazyFinal($, "_green", "$get$_green", () => A._function4("green", "$color", new A._green_closure()));
  117589. _lazyFinal($, "_blue", "$get$_blue", () => A._function4("blue", "$color", new A._blue_closure()));
  117590. _lazyFinal($, "_mix", "$get$_mix", () => A._function4("mix", "$color1, $color2, $weight: 50%", new A._mix_closure()));
  117591. _lazyFinal($, "_hue", "$get$_hue", () => A._function4("hue", "$color", new A._hue_closure()));
  117592. _lazyFinal($, "_saturation", "$get$_saturation", () => A._function4("saturation", "$color", new A._saturation_closure()));
  117593. _lazyFinal($, "_lightness", "$get$_lightness", () => A._function4("lightness", "$color", new A._lightness_closure()));
  117594. _lazyFinal($, "_complement", "$get$_complement", () => A._function4("complement", "$color", new A._complement_closure()));
  117595. _lazyFinal($, "_adjust", "$get$_adjust", () => A._function4("adjust", "$color, $kwargs...", new A._adjust_closure()));
  117596. _lazyFinal($, "_scale", "$get$_scale", () => A._function4("scale", "$color, $kwargs...", new A._scale_closure()));
  117597. _lazyFinal($, "_change", "$get$_change", () => A._function4("change", "$color, $kwargs...", new A._change_closure()));
  117598. _lazyFinal($, "_ieHexStr", "$get$_ieHexStr", () => A._function4("ie-hex-str", "$color", new A._ieHexStr_closure()));
  117599. _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));
  117600. _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_Callable), null, null, type$.Callable));
  117601. _lazyFinal($, "_length", "$get$_length0", () => A._function3("length", "$list", new A._length_closure0()));
  117602. _lazyFinal($, "_nth", "$get$_nth", () => A._function3("nth", "$list, $n", new A._nth_closure()));
  117603. _lazyFinal($, "_setNth", "$get$_setNth", () => A._function3("set-nth", "$list, $n, $value", new A._setNth_closure()));
  117604. _lazyFinal($, "_join", "$get$_join", () => A._function3("join", string$.x24list1, new A._join_closure()));
  117605. _lazyFinal($, "_append", "$get$_append0", () => A._function3("append", "$list, $val, $separator: auto", new A._append_closure0()));
  117606. _lazyFinal($, "_zip", "$get$_zip", () => A._function3("zip", "$lists...", new A._zip_closure()));
  117607. _lazyFinal($, "_index", "$get$_index0", () => A._function3("index", "$list, $value", new A._index_closure0()));
  117608. _lazyFinal($, "_separator", "$get$_separator", () => A._function3("separator", "$list", new A._separator_closure()));
  117609. _lazyFinal($, "_isBracketed", "$get$_isBracketed", () => A._function3("is-bracketed", "$list", new A._isBracketed_closure()));
  117610. _lazyFinal($, "_slash", "$get$_slash", () => A._function3("slash", "$elements...", new A._slash_closure()));
  117611. _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));
  117612. _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_Callable), null, null, type$.Callable));
  117613. _lazyFinal($, "_get", "$get$_get", () => A._function2("get", "$map, $key, $keys...", new A._get_closure()));
  117614. _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)));
  117615. _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)));
  117616. _lazyFinal($, "_deepMerge", "$get$_deepMerge", () => A._function2("deep-merge", "$map1, $map2", new A._deepMerge_closure()));
  117617. _lazyFinal($, "_deepRemove", "$get$_deepRemove", () => A._function2("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure()));
  117618. _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)));
  117619. _lazyFinal($, "_keys", "$get$_keys", () => A._function2("keys", "$map", new A._keys_closure()));
  117620. _lazyFinal($, "_values", "$get$_values", () => A._function2("values", "$map", new A._values_closure()));
  117621. _lazyFinal($, "_hasKey", "$get$_hasKey", () => A._function2("has-key", "$map, $key, $keys...", new A._hasKey_closure()));
  117622. _lazyFinal($, "global2", "$get$global3", () => A.UnmodifiableListView$(A._setArrayType([A._function1("abs", "$number", new A.global_closure()), $.$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));
  117623. _lazyFinal($, "module2", "$get$module2", () => {
  117624. var _null = null;
  117625. return A.BuiltInModule$("math", A._setArrayType([A._numberFunction("abs", new A.module_closure0()), $.$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_Callable), _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$.Callable);
  117626. });
  117627. _lazyFinal($, "_ceil", "$get$_ceil", () => A._numberFunction("ceil", new A._ceil_closure()));
  117628. _lazyFinal($, "_clamp", "$get$_clamp", () => A._function1("clamp", "$min, $number, $max", new A._clamp_closure()));
  117629. _lazyFinal($, "_floor", "$get$_floor", () => A._numberFunction("floor", new A._floor_closure()));
  117630. _lazyFinal($, "_max", "$get$_max", () => A._function1("max", "$numbers...", new A._max_closure()));
  117631. _lazyFinal($, "_min", "$get$_min", () => A._function1("min", "$numbers...", new A._min_closure()));
  117632. _lazyFinal($, "_round", "$get$_round", () => A._numberFunction("round", new A._round_closure()));
  117633. _lazyFinal($, "_hypot", "$get$_hypot", () => A._function1("hypot", "$numbers...", new A._hypot_closure()));
  117634. _lazyFinal($, "_log", "$get$_log", () => A._function1("log", "$number, $base: null", new A._log_closure()));
  117635. _lazyFinal($, "_pow", "$get$_pow", () => A._function1("pow", "$base, $exponent", new A._pow_closure()));
  117636. _lazyFinal($, "_sqrt", "$get$_sqrt", () => A._singleArgumentMathFunc("sqrt", A.number0__sqrt$closure()));
  117637. _lazyFinal($, "_acos", "$get$_acos", () => A._singleArgumentMathFunc("acos", A.number0__acos$closure()));
  117638. _lazyFinal($, "_asin", "$get$_asin", () => A._singleArgumentMathFunc("asin", A.number0__asin$closure()));
  117639. _lazyFinal($, "_atan", "$get$_atan", () => A._singleArgumentMathFunc("atan", A.number0__atan$closure()));
  117640. _lazyFinal($, "_atan2", "$get$_atan2", () => A._function1("atan2", "$y, $x", new A._atan2_closure()));
  117641. _lazyFinal($, "_cos", "$get$_cos", () => A._singleArgumentMathFunc("cos", A.number0__cos$closure()));
  117642. _lazyFinal($, "_sin", "$get$_sin", () => A._singleArgumentMathFunc("sin", A.number0__sin$closure()));
  117643. _lazyFinal($, "_tan", "$get$_tan", () => A._singleArgumentMathFunc("tan", A.number0__tan$closure()));
  117644. _lazyFinal($, "_compatible", "$get$_compatible", () => A._function1("compatible", "$number1, $number2", new A._compatible_closure()));
  117645. _lazyFinal($, "_isUnitless", "$get$_isUnitless", () => A._function1("is-unitless", "$number", new A._isUnitless_closure()));
  117646. _lazyFinal($, "_unit", "$get$_unit", () => A._function1("unit", "$number", new A._unit_closure()));
  117647. _lazyFinal($, "_percentage", "$get$_percentage", () => A._function1("percentage", "$number", new A._percentage_closure()));
  117648. _lazyFinal($, "_random", "$get$_random0", () => A.Random_Random());
  117649. _lazyFinal($, "_randomFunction", "$get$_randomFunction", () => A._function1("random", "$limit: null", new A._randomFunction_closure()));
  117650. _lazyFinal($, "_div", "$get$_div", () => A._function1("div", "$number1, $number2", new A._div_closure()));
  117651. _lazyFinal($, "global3", "$get$global", () => A.UnmodifiableListView$(A._setArrayType([A._function5("feature-exists", "$feature", new A.global_closure27()), A._function5("inspect", "$value", new A.global_closure28()), A._function5("type-of", "$value", new A.global_closure29()), A._function5("keywords", "$args", new A.global_closure30())], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
  117652. _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()), A._function5("accepts-content", "$mixin", new A.local_closure1())], type$.JSArray_BuiltInCallable), type$.BuiltInCallable));
  117653. _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));
  117654. _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_Callable), null, null, type$.Callable));
  117655. _lazyFinal($, "_nest", "$get$_nest", () => A._function0("nest", "$selectors...", new A._nest_closure()));
  117656. _lazyFinal($, "_append0", "$get$_append", () => A._function0("append", "$selectors...", new A._append_closure()));
  117657. _lazyFinal($, "_extend", "$get$_extend", () => A._function0("extend", "$selector, $extendee, $extender", new A._extend_closure()));
  117658. _lazyFinal($, "_replace", "$get$_replace", () => A._function0("replace", "$selector, $original, $replacement", new A._replace_closure()));
  117659. _lazyFinal($, "_unify", "$get$_unify", () => A._function0("unify", "$selector1, $selector2", new A._unify_closure()));
  117660. _lazyFinal($, "_isSuperselector", "$get$_isSuperselector", () => A._function0("is-superselector", "$super, $sub", new A._isSuperselector_closure()));
  117661. _lazyFinal($, "_simpleSelectors", "$get$_simpleSelectors", () => A._function0("simple-selectors", "$selector", new A._simpleSelectors_closure()));
  117662. _lazyFinal($, "_parse", "$get$_parse", () => A._function0("parse", "$selector", new A._parse_closure()));
  117663. _lazyFinal($, "_random0", "$get$_random", () => A.Random_Random());
  117664. _lazy($, "_previousUniqueId", "$get$_previousUniqueId", () => $.$get$_random().nextInt$1(A._asInt(A.pow(36, 6))));
  117665. _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));
  117666. _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(), A._function("split", "$string, $separator, $limit: null", new A.module_closure())], type$.JSArray_Callable), null, null, type$.Callable));
  117667. _lazyFinal($, "_unquote", "$get$_unquote", () => A._function("unquote", "$string", new A._unquote_closure()));
  117668. _lazyFinal($, "_quote", "$get$_quote", () => A._function("quote", "$string", new A._quote_closure()));
  117669. _lazyFinal($, "_length0", "$get$_length", () => A._function("length", "$string", new A._length_closure()));
  117670. _lazyFinal($, "_insert", "$get$_insert", () => A._function("insert", "$string, $insert, $index", new A._insert_closure()));
  117671. _lazyFinal($, "_index0", "$get$_index", () => A._function("index", "$string, $substring", new A._index_closure()));
  117672. _lazyFinal($, "_slice", "$get$_slice", () => A._function("slice", "$string, $start-at, $end-at: -1", new A._slice_closure()));
  117673. _lazyFinal($, "_toUpperCase", "$get$_toUpperCase", () => A._function("to-upper-case", "$string", new A._toUpperCase_closure()));
  117674. _lazyFinal($, "_toLowerCase", "$get$_toLowerCase", () => A._function("to-lower-case", "$string", new A._toLowerCase_closure()));
  117675. _lazyFinal($, "_uniqueId", "$get$_uniqueId", () => A._function("unique-id", "", new A._uniqueId_closure()));
  117676. _lazyFinal($, "_jsThrow", "$get$_jsThrow0", () => new self.Function("error", "throw error;"));
  117677. _lazyFinal($, "Logger_quiet", "$get$Logger_quiet", () => new A._QuietLogger());
  117678. _lazyFinal($, "_disallowedFunctionNames", "$get$_disallowedFunctionNames", () => {
  117679. var t1 = $.$get$globalFunctions();
  117680. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure(), type$.String).toSet$0(0);
  117681. t1.add$1(0, "if");
  117682. t1.remove$1(0, "rgb");
  117683. t1.remove$1(0, "rgba");
  117684. t1.remove$1(0, "hsl");
  117685. t1.remove$1(0, "hsla");
  117686. t1.remove$1(0, "grayscale");
  117687. t1.remove$1(0, "invert");
  117688. t1.remove$1(0, "alpha");
  117689. t1.remove$1(0, "opacity");
  117690. t1.remove$1(0, "saturate");
  117691. t1.remove$1(0, "min");
  117692. t1.remove$1(0, "max");
  117693. t1.remove$1(0, "round");
  117694. t1.remove$1(0, "abs");
  117695. return t1;
  117696. });
  117697. _lazyFinal($, "_epsilon", "$get$_epsilon", () => A.pow(10, -11));
  117698. _lazyFinal($, "_inverseEpsilon", "$get$_inverseEpsilon", () => A.pow(10, 11));
  117699. _lazyFinal($, "bogusSpan", "$get$bogusSpan", () => A.SourceFile$decoded(A._setArrayType([], type$.JSArray_int), null).span$1(0, 0));
  117700. _lazyFinal($, "_noSourceUrl", "$get$_noSourceUrl", () => A.Uri_parse("-"));
  117701. _lazyFinal($, "_traces", "$get$_traces", () => A.Expando$());
  117702. _lazyFinal($, "_typesByUnit", "$get$_typesByUnit", () => {
  117703. var t3, type,
  117704. t1 = type$.String,
  117705. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  117706. for (t1 = A.MapExtensions_get_pairs(B.Map_ws7dy, t1, type$.List_String), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  117707. t3 = t1.get$current(t1);
  117708. type = t3._0;
  117709. for (t3 = J.get$iterator$ax(t3._1); t3.moveNext$0();)
  117710. t2.$indexSet(0, t3.get$current(t3), type);
  117711. }
  117712. return t2;
  117713. });
  117714. _lazyFinal($, "_knownCompatibilitiesByUnit", "$get$_knownCompatibilitiesByUnit", () => {
  117715. var _i, set, t2,
  117716. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  117717. for (_i = 0; _i < 5; ++_i) {
  117718. set = B.List_gyp[_i];
  117719. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  117720. t1.$indexSet(0, t2.get$current(t2), set);
  117721. }
  117722. return t1;
  117723. });
  117724. _lazyFinal($, "_emptyQuoted", "$get$_emptyQuoted", () => A.SassString$("", true));
  117725. _lazyFinal($, "_emptyUnquoted", "$get$_emptyUnquoted", () => A.SassString$("", false));
  117726. _lazyFinal($, "maxInt32", "$get$maxInt32", () => A._asInt(A.pow(2, 31)) - 1);
  117727. _lazyFinal($, "minInt32", "$get$minInt32", () => -A._asInt(A.pow(2, 31)));
  117728. _lazyFinal($, "_vmFrame", "$get$_vmFrame", () => A.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", false));
  117729. _lazyFinal($, "_v8Frame", "$get$_v8Frame", () => A.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$", false));
  117730. _lazyFinal($, "_v8UrlLocation", "$get$_v8UrlLocation", () => A.RegExp_RegExp("^(.*?):(\\d+)(?::(\\d+))?$|native$", false));
  117731. _lazyFinal($, "_v8EvalLocation", "$get$_v8EvalLocation", () => A.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", false));
  117732. _lazyFinal($, "_firefoxEvalLocation", "$get$_firefoxEvalLocation", () => A.RegExp_RegExp("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+", false));
  117733. _lazyFinal($, "_firefoxSafariFrame", "$get$_firefoxSafariFrame", () => A.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$", false));
  117734. _lazyFinal($, "_friendlyFrame", "$get$_friendlyFrame", () => A.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$", false));
  117735. _lazyFinal($, "_asyncBody", "$get$_asyncBody", () => A.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", false));
  117736. _lazyFinal($, "_initialDot", "$get$_initialDot", () => A.RegExp_RegExp("^\\.", false));
  117737. _lazyFinal($, "Frame__uriRegExp", "$get$Frame__uriRegExp", () => A.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", false));
  117738. _lazyFinal($, "Frame__windowsRegExp", "$get$Frame__windowsRegExp", () => A.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", false));
  117739. _lazyFinal($, "_terseRegExp", "$get$_terseRegExp", () => A.RegExp_RegExp("(-patch)?([/\\\\].*)?$", false));
  117740. _lazyFinal($, "_v8Trace", "$get$_v8Trace", () => A.RegExp_RegExp("\\n ?at ", false));
  117741. _lazyFinal($, "_v8TraceLine", "$get$_v8TraceLine", () => A.RegExp_RegExp(" ?at ", false));
  117742. _lazyFinal($, "_firefoxEvalTrace", "$get$_firefoxEvalTrace", () => A.RegExp_RegExp("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+", false));
  117743. _lazyFinal($, "_firefoxSafariTrace", "$get$_firefoxSafariTrace", () => A.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true));
  117744. _lazyFinal($, "_friendlyTrace", "$get$_friendlyTrace", () => A.RegExp_RegExp("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true));
  117745. _lazyFinal($, "vmChainGap", "$get$vmChainGap", () => A.RegExp_RegExp("^<asynchronous suspension>\\n?$", true));
  117746. _lazyFinal($, "_newlineRegExp", "$get$_newlineRegExp", () => A.RegExp_RegExp("\\r\\n?|\\n", false));
  117747. _lazyFinal($, "argumentListClass", "$get$argumentListClass", () => new A.argumentListClass_closure().call$0());
  117748. _lazyFinal($, "_filesystemImporter", "$get$_filesystemImporter", () => A.FilesystemImporter$("."));
  117749. _lazyFinal($, "booleanClass", "$get$booleanClass", () => new A.booleanClass_closure().call$0());
  117750. _lazyFinal($, "legacyBooleanClass", "$get$legacyBooleanClass", () => new A.legacyBooleanClass_closure().call$0());
  117751. _lazyFinal($, "calculationClass", "$get$calculationClass", () => new A.calculationClass_closure().call$0());
  117752. _lazyFinal($, "calculationOperationClass", "$get$calculationOperationClass", () => new A.calculationOperationClass_closure().call$0());
  117753. _lazyFinal($, "calculationInterpolationClass", "$get$calculationInterpolationClass", () => new A.calculationInterpolationClass_closure().call$0());
  117754. _lazyFinal($, "_microsoftFilterStart0", "$get$_microsoftFilterStart0", () => A.RegExp_RegExp("^[a-zA-Z]+\\s*=", false));
  117755. _lazyFinal($, "global6", "$get$global7", () => {
  117756. var _s27_ = "$red, $green, $blue, $alpha",
  117757. _s19_ = "$red, $green, $blue",
  117758. _s37_ = "$hue, $saturation, $lightness, $alpha",
  117759. _s29_ = "$hue, $saturation, $lightness",
  117760. _s17_ = "$hue, $saturation",
  117761. _s15_ = "$color, $amount",
  117762. t1 = type$.String,
  117763. t2 = type$.Value_Function_List_Value_2;
  117764. 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_closure32(), _s19_, new A.global_closure33(), "$color, $alpha", new A.global_closure34(), "$channels", new A.global_closure35()], t1, t2)), A.BuiltInCallable$overloadedFunction0("rgba", A.LinkedHashMap_LinkedHashMap$_literal([_s27_, new A.global_closure36(), _s19_, new A.global_closure37(), "$color, $alpha", new A.global_closure38(), "$channels", new A.global_closure39()], t1, t2)), A._function11("invert", "$color, $weight: 100%", new A.global_closure40()), $.$get$_hue0(), $.$get$_saturation0(), $.$get$_lightness0(), $.$get$_complement0(), A.BuiltInCallable$overloadedFunction0("hsl", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure41(), _s29_, new A.global_closure42(), _s17_, new A.global_closure43(), "$channels", new A.global_closure44()], t1, t2)), A.BuiltInCallable$overloadedFunction0("hsla", A.LinkedHashMap_LinkedHashMap$_literal([_s37_, new A.global_closure45(), _s29_, new A.global_closure46(), _s17_, new A.global_closure47(), "$channels", new A.global_closure48()], t1, t2)), A._function11("grayscale", "$color", new A.global_closure49()), A._function11("adjust-hue", "$color, $degrees", new A.global_closure50()), A._function11("lighten", _s15_, new A.global_closure51()), A._function11("darken", _s15_, new A.global_closure52()), A.BuiltInCallable$overloadedFunction0("saturate", A.LinkedHashMap_LinkedHashMap$_literal(["$amount", new A.global_closure53(), "$color, $amount", new A.global_closure54()], t1, t2)), A._function11("desaturate", _s15_, new A.global_closure55()), 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_closure56(), "$args...", new A.global_closure57()], t1, t2)), A._function11("opacity", "$color", new A.global_closure58()), $.$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);
  117765. });
  117766. _lazyFinal($, "module5", "$get$module5", () => {
  117767. var _s9_ = "lightness",
  117768. _s10_ = "saturation",
  117769. _s6_ = "$color", _s5_ = "alpha",
  117770. t1 = type$.String,
  117771. t2 = type$.Value_Function_List_Value_2;
  117772. return A.BuiltInModule$0("color", A._setArrayType([$.$get$_red0(), $.$get$_green0(), $.$get$_blue0(), $.$get$_mix0(), A._function11("invert", "$color, $weight: 100%", new A.module_closure12()), $.$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_closure13()), A.BuiltInCallable$overloadedFunction0("hwb", A.LinkedHashMap_LinkedHashMap$_literal(["$hue, $whiteness, $blackness, $alpha: 1", new A.module_closure14(), "$channels", new A.module_closure15()], t1, t2)), A._function11("whiteness", _s6_, new A.module_closure16()), A._function11("blackness", _s6_, new A.module_closure17()), 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_closure18(), "$args...", new A.module_closure19()], t1, t2)), A._function11("opacity", _s6_, new A.module_closure20()), $.$get$_adjust0(), $.$get$_scale0(), $.$get$_change0(), $.$get$_ieHexStr0()], type$.JSArray_Callable_2), null, null, type$.Callable_2);
  117773. });
  117774. _lazyFinal($, "_red0", "$get$_red0", () => A._function11("red", "$color", new A._red_closure0()));
  117775. _lazyFinal($, "_green0", "$get$_green0", () => A._function11("green", "$color", new A._green_closure0()));
  117776. _lazyFinal($, "_blue0", "$get$_blue0", () => A._function11("blue", "$color", new A._blue_closure0()));
  117777. _lazyFinal($, "_mix0", "$get$_mix0", () => A._function11("mix", "$color1, $color2, $weight: 50%", new A._mix_closure0()));
  117778. _lazyFinal($, "_hue0", "$get$_hue0", () => A._function11("hue", "$color", new A._hue_closure0()));
  117779. _lazyFinal($, "_saturation0", "$get$_saturation0", () => A._function11("saturation", "$color", new A._saturation_closure0()));
  117780. _lazyFinal($, "_lightness0", "$get$_lightness0", () => A._function11("lightness", "$color", new A._lightness_closure0()));
  117781. _lazyFinal($, "_complement0", "$get$_complement0", () => A._function11("complement", "$color", new A._complement_closure0()));
  117782. _lazyFinal($, "_adjust0", "$get$_adjust0", () => A._function11("adjust", "$color, $kwargs...", new A._adjust_closure0()));
  117783. _lazyFinal($, "_scale0", "$get$_scale0", () => A._function11("scale", "$color, $kwargs...", new A._scale_closure0()));
  117784. _lazyFinal($, "_change0", "$get$_change0", () => A._function11("change", "$color, $kwargs...", new A._change_closure0()));
  117785. _lazyFinal($, "_ieHexStr0", "$get$_ieHexStr0", () => A._function11("ie-hex-str", "$color", new A._ieHexStr_closure0()));
  117786. _lazyFinal($, "colorClass", "$get$colorClass", () => new A.colorClass_closure().call$0());
  117787. _lazyFinal($, "legacyColorClass", "$get$legacyColorClass", () => {
  117788. var t1 = A.createJSClass("sass.types.Color", new A.legacyColorClass_closure());
  117789. 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));
  117790. return t1;
  117791. });
  117792. _lazyFinal($, "colorsByName0", "$get$colorsByName0", () => A.LinkedHashMap_LinkedHashMap$_literal(["yellowgreen", A.SassColor$rgb0(154, 205, 50, 1), "yellow", A.SassColor$rgb0(255, 255, 0, 1), "whitesmoke", A.SassColor$rgb0(245, 245, 245, 1), "white", A.SassColor$rgb0(255, 255, 255, 1), "wheat", A.SassColor$rgb0(245, 222, 179, 1), "violet", A.SassColor$rgb0(238, 130, 238, 1), "turquoise", A.SassColor$rgb0(64, 224, 208, 1), "transparent", A.SassColor$rgb0(0, 0, 0, 0), "tomato", A.SassColor$rgb0(255, 99, 71, 1), "thistle", A.SassColor$rgb0(216, 191, 216, 1), "teal", A.SassColor$rgb0(0, 128, 128, 1), "tan", A.SassColor$rgb0(210, 180, 140, 1), "steelblue", A.SassColor$rgb0(70, 130, 180, 1), "springgreen", A.SassColor$rgb0(0, 255, 127, 1), "snow", A.SassColor$rgb0(255, 250, 250, 1), "slategrey", A.SassColor$rgb0(112, 128, 144, 1), "slategray", A.SassColor$rgb0(112, 128, 144, 1), "slateblue", A.SassColor$rgb0(106, 90, 205, 1), "skyblue", A.SassColor$rgb0(135, 206, 235, 1), "silver", A.SassColor$rgb0(192, 192, 192, 1), "sienna", A.SassColor$rgb0(160, 82, 45, 1), "seashell", A.SassColor$rgb0(255, 245, 238, 1), "seagreen", A.SassColor$rgb0(46, 139, 87, 1), "sandybrown", A.SassColor$rgb0(244, 164, 96, 1), "salmon", A.SassColor$rgb0(250, 128, 114, 1), "saddlebrown", A.SassColor$rgb0(139, 69, 19, 1), "royalblue", A.SassColor$rgb0(65, 105, 225, 1), "rosybrown", A.SassColor$rgb0(188, 143, 143, 1), "red", A.SassColor$rgb0(255, 0, 0, 1), "rebeccapurple", A.SassColor$rgb0(102, 51, 153, 1), "purple", A.SassColor$rgb0(128, 0, 128, 1), "powderblue", A.SassColor$rgb0(176, 224, 230, 1), "plum", A.SassColor$rgb0(221, 160, 221, 1), "pink", A.SassColor$rgb0(255, 192, 203, 1), "peru", A.SassColor$rgb0(205, 133, 63, 1), "peachpuff", A.SassColor$rgb0(255, 218, 185, 1), "papayawhip", A.SassColor$rgb0(255, 239, 213, 1), "palevioletred", A.SassColor$rgb0(219, 112, 147, 1), "paleturquoise", A.SassColor$rgb0(175, 238, 238, 1), "palegreen", A.SassColor$rgb0(152, 251, 152, 1), "palegoldenrod", A.SassColor$rgb0(238, 232, 170, 1), "orchid", A.SassColor$rgb0(218, 112, 214, 1), "orangered", A.SassColor$rgb0(255, 69, 0, 1), "orange", A.SassColor$rgb0(255, 165, 0, 1), "olivedrab", A.SassColor$rgb0(107, 142, 35, 1), "olive", A.SassColor$rgb0(128, 128, 0, 1), "oldlace", A.SassColor$rgb0(253, 245, 230, 1), "navy", A.SassColor$rgb0(0, 0, 128, 1), "navajowhite", A.SassColor$rgb0(255, 222, 173, 1), "moccasin", A.SassColor$rgb0(255, 228, 181, 1), "mistyrose", A.SassColor$rgb0(255, 228, 225, 1), "mintcream", A.SassColor$rgb0(245, 255, 250, 1), "midnightblue", A.SassColor$rgb0(25, 25, 112, 1), "mediumvioletred", A.SassColor$rgb0(199, 21, 133, 1), "mediumturquoise", A.SassColor$rgb0(72, 209, 204, 1), "mediumspringgreen", A.SassColor$rgb0(0, 250, 154, 1), "mediumslateblue", A.SassColor$rgb0(123, 104, 238, 1), "mediumseagreen", A.SassColor$rgb0(60, 179, 113, 1), "mediumpurple", A.SassColor$rgb0(147, 112, 219, 1), "mediumorchid", A.SassColor$rgb0(186, 85, 211, 1), "mediumblue", A.SassColor$rgb0(0, 0, 205, 1), "mediumaquamarine", A.SassColor$rgb0(102, 205, 170, 1), "maroon", A.SassColor$rgb0(128, 0, 0, 1), "magenta", A.SassColor$rgb0(255, 0, 255, 1), "linen", A.SassColor$rgb0(250, 240, 230, 1), "limegreen", A.SassColor$rgb0(50, 205, 50, 1), "lime", A.SassColor$rgb0(0, 255, 0, 1), "lightyellow", A.SassColor$rgb0(255, 255, 224, 1), "lightsteelblue", A.SassColor$rgb0(176, 196, 222, 1), "lightslategrey", A.SassColor$rgb0(119, 136, 153, 1), "lightslategray", A.SassColor$rgb0(119, 136, 153, 1), "lightskyblue", A.SassColor$rgb0(135, 206, 250, 1), "lightseagreen", A.SassColor$rgb0(32, 178, 170, 1), "lightsalmon", A.SassColor$rgb0(255, 160, 122, 1), "lightpink", A.SassColor$rgb0(255, 182, 193, 1), "lightgrey", A.SassColor$rgb0(211, 211, 211, 1), "lightgreen", A.SassColor$rgb0(144, 238, 144, 1), "lightgray", A.SassColor$rgb0(211, 211, 211, 1), "lightgoldenrodyellow", A.SassColor$rgb0(250, 250, 210, 1), "lightcyan", A.SassColor$rgb0(224, 255, 255, 1), "lightcoral", A.SassColor$rgb0(240, 128, 128, 1), "lightblue", A.SassColor$rgb0(173, 216, 230, 1), "lemonchiffon", A.SassColor$rgb0(255, 250, 205, 1), "lawngreen", A.SassColor$rgb0(124, 252, 0, 1), "lavenderblush", A.SassColor$rgb0(255, 240, 245, 1), "lavender", A.SassColor$rgb0(230, 230, 250, 1), "khaki", A.SassColor$rgb0(240, 230, 140, 1), "ivory", A.SassColor$rgb0(255, 255, 240, 1), "indigo", A.SassColor$rgb0(75, 0, 130, 1), "indianred", A.SassColor$rgb0(205, 92, 92, 1), "hotpink", A.SassColor$rgb0(255, 105, 180, 1), "honeydew", A.SassColor$rgb0(240, 255, 240, 1), "grey", A.SassColor$rgb0(128, 128, 128, 1), "greenyellow", A.SassColor$rgb0(173, 255, 47, 1), "green", A.SassColor$rgb0(0, 128, 0, 1), "gray", A.SassColor$rgb0(128, 128, 128, 1), "goldenrod", A.SassColor$rgb0(218, 165, 32, 1), "gold", A.SassColor$rgb0(255, 215, 0, 1), "ghostwhite", A.SassColor$rgb0(248, 248, 255, 1), "gainsboro", A.SassColor$rgb0(220, 220, 220, 1), "fuchsia", A.SassColor$rgb0(255, 0, 255, 1), "forestgreen", A.SassColor$rgb0(34, 139, 34, 1), "floralwhite", A.SassColor$rgb0(255, 250, 240, 1), "firebrick", A.SassColor$rgb0(178, 34, 34, 1), "dodgerblue", A.SassColor$rgb0(30, 144, 255, 1), "dimgrey", A.SassColor$rgb0(105, 105, 105, 1), "dimgray", A.SassColor$rgb0(105, 105, 105, 1), "deepskyblue", A.SassColor$rgb0(0, 191, 255, 1), "deeppink", A.SassColor$rgb0(255, 20, 147, 1), "darkviolet", A.SassColor$rgb0(148, 0, 211, 1), "darkturquoise", A.SassColor$rgb0(0, 206, 209, 1), "darkslategrey", A.SassColor$rgb0(47, 79, 79, 1), "darkslategray", A.SassColor$rgb0(47, 79, 79, 1), "darkslateblue", A.SassColor$rgb0(72, 61, 139, 1), "darkseagreen", A.SassColor$rgb0(143, 188, 143, 1), "darksalmon", A.SassColor$rgb0(233, 150, 122, 1), "darkred", A.SassColor$rgb0(139, 0, 0, 1), "darkorchid", A.SassColor$rgb0(153, 50, 204, 1), "darkorange", A.SassColor$rgb0(255, 140, 0, 1), "darkolivegreen", A.SassColor$rgb0(85, 107, 47, 1), "darkmagenta", A.SassColor$rgb0(139, 0, 139, 1), "darkkhaki", A.SassColor$rgb0(189, 183, 107, 1), "darkgrey", A.SassColor$rgb0(169, 169, 169, 1), "darkgreen", A.SassColor$rgb0(0, 100, 0, 1), "darkgray", A.SassColor$rgb0(169, 169, 169, 1), "darkgoldenrod", A.SassColor$rgb0(184, 134, 11, 1), "darkcyan", A.SassColor$rgb0(0, 139, 139, 1), "darkblue", A.SassColor$rgb0(0, 0, 139, 1), "cyan", A.SassColor$rgb0(0, 255, 255, 1), "crimson", A.SassColor$rgb0(220, 20, 60, 1), "cornsilk", A.SassColor$rgb0(255, 248, 220, 1), "cornflowerblue", A.SassColor$rgb0(100, 149, 237, 1), "coral", A.SassColor$rgb0(255, 127, 80, 1), "chocolate", A.SassColor$rgb0(210, 105, 30, 1), "chartreuse", A.SassColor$rgb0(127, 255, 0, 1), "cadetblue", A.SassColor$rgb0(95, 158, 160, 1), "burlywood", A.SassColor$rgb0(222, 184, 135, 1), "brown", A.SassColor$rgb0(165, 42, 42, 1), "blueviolet", A.SassColor$rgb0(138, 43, 226, 1), "blue", A.SassColor$rgb0(0, 0, 255, 1), "blanchedalmond", A.SassColor$rgb0(255, 235, 205, 1), "black", A.SassColor$rgb0(0, 0, 0, 1), "bisque", A.SassColor$rgb0(255, 228, 196, 1), "beige", A.SassColor$rgb0(245, 245, 220, 1), "azure", A.SassColor$rgb0(240, 255, 255, 1), "aquamarine", A.SassColor$rgb0(127, 255, 212, 1), "aqua", A.SassColor$rgb0(0, 255, 255, 1), "antiquewhite", A.SassColor$rgb0(250, 235, 215, 1), "aliceblue", A.SassColor$rgb0(240, 248, 255, 1)], type$.String, type$.SassColor_2));
  117793. _lazyFinal($, "namesByColor0", "$get$namesByColor0", () => {
  117794. var $name,
  117795. t1 = type$.SassColor_2,
  117796. t2 = type$.String,
  117797. t3 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
  117798. for (t1 = A.MapExtensions_get_pairs0($.$get$colorsByName0(), t2, t1), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  117799. t2 = t1.get$current(t1);
  117800. $name = t2._0;
  117801. t3.$indexSet(0, t2._1, $name);
  117802. }
  117803. return t3;
  117804. });
  117805. _lazyFinal($, "_disallowedFunctionNames0", "$get$_disallowedFunctionNames0", () => {
  117806. var t1 = $.$get$globalFunctions0();
  117807. t1 = t1.map$1$1(t1, new A._disallowedFunctionNames_closure0(), type$.String).toSet$0(0);
  117808. t1.add$1(0, "if");
  117809. t1.remove$1(0, "rgb");
  117810. t1.remove$1(0, "rgba");
  117811. t1.remove$1(0, "hsl");
  117812. t1.remove$1(0, "hsla");
  117813. t1.remove$1(0, "grayscale");
  117814. t1.remove$1(0, "invert");
  117815. t1.remove$1(0, "alpha");
  117816. t1.remove$1(0, "opacity");
  117817. t1.remove$1(0, "saturate");
  117818. t1.remove$1(0, "min");
  117819. t1.remove$1(0, "max");
  117820. t1.remove$1(0, "round");
  117821. t1.remove$1(0, "abs");
  117822. return t1;
  117823. });
  117824. _lazyFinal($, "exceptionClass", "$get$exceptionClass", () => new A.exceptionClass_closure().call$0());
  117825. _lazyFinal($, "_filesystemImporter0", "$get$_filesystemImporter0", () => A.FilesystemImporter$("."));
  117826. _lazyFinal($, "functionClass", "$get$functionClass", () => new A.functionClass_closure().call$0());
  117827. _lazyFinal($, "globalFunctions0", "$get$globalFunctions0", () => {
  117828. var t1 = type$.BuiltInCallable_2,
  117829. t2 = A.List_List$of($.$get$global7(), true, t1);
  117830. B.JSArray_methods.addAll$1(t2, $.$get$global8());
  117831. B.JSArray_methods.addAll$1(t2, $.$get$global9());
  117832. B.JSArray_methods.addAll$1(t2, $.$get$global10());
  117833. B.JSArray_methods.addAll$1(t2, $.$get$global11());
  117834. B.JSArray_methods.addAll$1(t2, $.$get$global12());
  117835. B.JSArray_methods.addAll$1(t2, $.$get$global6());
  117836. t2.push(A.BuiltInCallable$function0("if", "$condition, $if-true, $if-false", new A.globalFunctions_closure0(), null));
  117837. return A.UnmodifiableListView$(t2, t1);
  117838. });
  117839. _lazyFinal($, "coreModules0", "$get$coreModules0", () => A.UnmodifiableListView$(A._setArrayType([$.$get$module5(), $.$get$module6(), $.$get$module7(), $.$get$module8(), $.$get$module9(), $.$get$module10()], A.findType("JSArray<BuiltInModule0<Callable>>")), type$.BuiltInModule_Callable_2));
  117840. _lazyFinal($, "IfExpression_declaration0", "$get$IfExpression_declaration0", () => A.ArgumentDeclaration_ArgumentDeclaration$parse0(string$.x40funct, null));
  117841. _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));
  117842. _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_Callable_2), null, null, type$.Callable_2));
  117843. _lazyFinal($, "_length1", "$get$_length2", () => A._function10("length", "$list", new A._length_closure2()));
  117844. _lazyFinal($, "_nth0", "$get$_nth0", () => A._function10("nth", "$list, $n", new A._nth_closure0()));
  117845. _lazyFinal($, "_setNth0", "$get$_setNth0", () => A._function10("set-nth", "$list, $n, $value", new A._setNth_closure0()));
  117846. _lazyFinal($, "_join0", "$get$_join0", () => A._function10("join", string$.x24list1, new A._join_closure0()));
  117847. _lazyFinal($, "_append1", "$get$_append2", () => A._function10("append", "$list, $val, $separator: auto", new A._append_closure2()));
  117848. _lazyFinal($, "_zip0", "$get$_zip0", () => A._function10("zip", "$lists...", new A._zip_closure0()));
  117849. _lazyFinal($, "_index1", "$get$_index2", () => A._function10("index", "$list, $value", new A._index_closure2()));
  117850. _lazyFinal($, "_separator0", "$get$_separator0", () => A._function10("separator", "$list", new A._separator_closure0()));
  117851. _lazyFinal($, "_isBracketed0", "$get$_isBracketed0", () => A._function10("is-bracketed", "$list", new A._isBracketed_closure0()));
  117852. _lazyFinal($, "_slash0", "$get$_slash0", () => A._function10("slash", "$elements...", new A._slash_closure0()));
  117853. _lazyFinal($, "listClass", "$get$listClass", () => new A.listClass_closure().call$0());
  117854. _lazyFinal($, "legacyListClass", "$get$legacyListClass", () => {
  117855. var t1 = A.createJSClass("sass.types.List", new A.legacyListClass_closure());
  117856. 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));
  117857. return t1;
  117858. });
  117859. _lazyFinal($, "Logger_quiet0", "$get$Logger_quiet0", () => new A._QuietLogger0());
  117860. _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));
  117861. _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_Callable_2), null, null, type$.Callable_2));
  117862. _lazyFinal($, "_get0", "$get$_get0", () => A._function9("get", "$map, $key, $keys...", new A._get_closure0()));
  117863. _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)));
  117864. _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)));
  117865. _lazyFinal($, "_deepMerge0", "$get$_deepMerge0", () => A._function9("deep-merge", "$map1, $map2", new A._deepMerge_closure0()));
  117866. _lazyFinal($, "_deepRemove0", "$get$_deepRemove0", () => A._function9("deep-remove", "$map, $key, $keys...", new A._deepRemove_closure0()));
  117867. _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)));
  117868. _lazyFinal($, "_keys0", "$get$_keys0", () => A._function9("keys", "$map", new A._keys_closure0()));
  117869. _lazyFinal($, "_values0", "$get$_values0", () => A._function9("values", "$map", new A._values_closure0()));
  117870. _lazyFinal($, "_hasKey0", "$get$_hasKey0", () => A._function9("has-key", "$map, $key, $keys...", new A._hasKey_closure0()));
  117871. _lazyFinal($, "mapClass", "$get$mapClass", () => new A.mapClass_closure().call$0());
  117872. _lazyFinal($, "legacyMapClass", "$get$legacyMapClass", () => {
  117873. var t1 = A.createJSClass("sass.types.Map", new A.legacyMapClass_closure());
  117874. 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));
  117875. return t1;
  117876. });
  117877. _lazyFinal($, "global9", "$get$global10", () => A.UnmodifiableListView$(A._setArrayType([A._function8("abs", "$number", new A.global_closure31()), $.$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));
  117878. _lazyFinal($, "module8", "$get$module8", () => {
  117879. var _null = null;
  117880. return A.BuiltInModule$0("math", A._setArrayType([A._numberFunction0("abs", new A.module_closure11()), $.$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_Callable_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$.Callable_2);
  117881. });
  117882. _lazyFinal($, "_ceil0", "$get$_ceil0", () => A._numberFunction0("ceil", new A._ceil_closure0()));
  117883. _lazyFinal($, "_clamp0", "$get$_clamp0", () => A._function8("clamp", "$min, $number, $max", new A._clamp_closure0()));
  117884. _lazyFinal($, "_floor0", "$get$_floor0", () => A._numberFunction0("floor", new A._floor_closure0()));
  117885. _lazyFinal($, "_max0", "$get$_max0", () => A._function8("max", "$numbers...", new A._max_closure0()));
  117886. _lazyFinal($, "_min0", "$get$_min0", () => A._function8("min", "$numbers...", new A._min_closure0()));
  117887. _lazyFinal($, "_round0", "$get$_round0", () => A._numberFunction0("round", new A._round_closure0()));
  117888. _lazyFinal($, "_hypot0", "$get$_hypot0", () => A._function8("hypot", "$numbers...", new A._hypot_closure0()));
  117889. _lazyFinal($, "_log0", "$get$_log0", () => A._function8("log", "$number, $base: null", new A._log_closure0()));
  117890. _lazyFinal($, "_pow0", "$get$_pow0", () => A._function8("pow", "$base, $exponent", new A._pow_closure0()));
  117891. _lazyFinal($, "_sqrt0", "$get$_sqrt0", () => A._singleArgumentMathFunc0("sqrt", A.number2__sqrt$closure()));
  117892. _lazyFinal($, "_acos0", "$get$_acos0", () => A._singleArgumentMathFunc0("acos", A.number2__acos$closure()));
  117893. _lazyFinal($, "_asin0", "$get$_asin0", () => A._singleArgumentMathFunc0("asin", A.number2__asin$closure()));
  117894. _lazyFinal($, "_atan0", "$get$_atan0", () => A._singleArgumentMathFunc0("atan", A.number2__atan$closure()));
  117895. _lazyFinal($, "_atan20", "$get$_atan20", () => A._function8("atan2", "$y, $x", new A._atan2_closure0()));
  117896. _lazyFinal($, "_cos0", "$get$_cos0", () => A._singleArgumentMathFunc0("cos", A.number2__cos$closure()));
  117897. _lazyFinal($, "_sin0", "$get$_sin0", () => A._singleArgumentMathFunc0("sin", A.number2__sin$closure()));
  117898. _lazyFinal($, "_tan0", "$get$_tan0", () => A._singleArgumentMathFunc0("tan", A.number2__tan$closure()));
  117899. _lazyFinal($, "_compatible0", "$get$_compatible0", () => A._function8("compatible", "$number1, $number2", new A._compatible_closure0()));
  117900. _lazyFinal($, "_isUnitless0", "$get$_isUnitless0", () => A._function8("is-unitless", "$number", new A._isUnitless_closure0()));
  117901. _lazyFinal($, "_unit0", "$get$_unit0", () => A._function8("unit", "$number", new A._unit_closure0()));
  117902. _lazyFinal($, "_percentage0", "$get$_percentage0", () => A._function8("percentage", "$number", new A._percentage_closure0()));
  117903. _lazyFinal($, "_random1", "$get$_random2", () => A.Random_Random());
  117904. _lazyFinal($, "_randomFunction0", "$get$_randomFunction0", () => A._function8("random", "$limit: null", new A._randomFunction_closure0()));
  117905. _lazyFinal($, "_div0", "$get$_div0", () => A._function8("div", "$number1, $number2", new A._div_closure0()));
  117906. _lazyFinal($, "global10", "$get$global6", () => A.UnmodifiableListView$(A._setArrayType([A._function12("feature-exists", "$feature", new A.global_closure59()), A._function12("inspect", "$value", new A.global_closure60()), A._function12("type-of", "$value", new A.global_closure61()), A._function12("keywords", "$args", new A.global_closure62())], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
  117907. _lazyFinal($, "local0", "$get$local0", () => A.UnmodifiableListView$(A._setArrayType([A._function12("calc-name", "$calc", new A.local_closure2()), A._function12("calc-args", "$calc", new A.local_closure3()), A._function12("accepts-content", "$mixin", new A.local_closure4())], type$.JSArray_BuiltInCallable_2), type$.BuiltInCallable_2));
  117908. _lazyFinal($, "mixinClass", "$get$mixinClass", () => new A.mixinClass_closure().call$0());
  117909. _lazyFinal($, "legacyNullClass", "$get$legacyNullClass", () => new A.legacyNullClass_closure().call$0());
  117910. _lazyFinal($, "_epsilon0", "$get$_epsilon0", () => A.pow(10, -11));
  117911. _lazyFinal($, "_inverseEpsilon0", "$get$_inverseEpsilon0", () => A.pow(10, 11));
  117912. _lazyFinal($, "numberClass", "$get$numberClass", () => new A.numberClass_closure().call$0());
  117913. _lazyFinal($, "legacyNumberClass", "$get$legacyNumberClass", () => {
  117914. var t1 = A.createJSClass("sass.types.Number", new A.legacyNumberClass_closure());
  117915. 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));
  117916. return t1;
  117917. });
  117918. _lazyFinal($, "_typesByUnit0", "$get$_typesByUnit0", () => {
  117919. var t3, type,
  117920. t1 = type$.String,
  117921. t2 = A.LinkedHashMap_LinkedHashMap$_empty(t1, t1);
  117922. for (t1 = A.MapExtensions_get_pairs0(B.Map_ws7dy, t1, type$.List_String), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
  117923. t3 = t1.get$current(t1);
  117924. type = t3._0;
  117925. for (t3 = J.get$iterator$ax(t3._1); t3.moveNext$0();)
  117926. t2.$indexSet(0, t3.get$current(t3), type);
  117927. }
  117928. return t2;
  117929. });
  117930. _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));
  117931. _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_Callable_2), null, null, type$.Callable_2));
  117932. _lazyFinal($, "_nest0", "$get$_nest0", () => A._function7("nest", "$selectors...", new A._nest_closure0()));
  117933. _lazyFinal($, "_append2", "$get$_append1", () => A._function7("append", "$selectors...", new A._append_closure1()));
  117934. _lazyFinal($, "_extend0", "$get$_extend0", () => A._function7("extend", "$selector, $extendee, $extender", new A._extend_closure0()));
  117935. _lazyFinal($, "_replace0", "$get$_replace0", () => A._function7("replace", "$selector, $original, $replacement", new A._replace_closure0()));
  117936. _lazyFinal($, "_unify0", "$get$_unify0", () => A._function7("unify", "$selector1, $selector2", new A._unify_closure0()));
  117937. _lazyFinal($, "_isSuperselector0", "$get$_isSuperselector0", () => A._function7("is-superselector", "$super, $sub", new A._isSuperselector_closure0()));
  117938. _lazyFinal($, "_simpleSelectors0", "$get$_simpleSelectors0", () => A._function7("simple-selectors", "$selector", new A._simpleSelectors_closure0()));
  117939. _lazyFinal($, "_parse0", "$get$_parse0", () => A._function7("parse", "$selector", new A._parse_closure0()));
  117940. _lazyFinal($, "_knownCompatibilitiesByUnit0", "$get$_knownCompatibilitiesByUnit0", () => {
  117941. var _i, set, t2,
  117942. t1 = A.LinkedHashMap_LinkedHashMap$_empty(type$.String, A.findType("Set<String>"));
  117943. for (_i = 0; _i < 5; ++_i) {
  117944. set = B.List_gyp[_i];
  117945. for (t2 = set.get$iterator(set); t2.moveNext$0();)
  117946. t1.$indexSet(0, t2.get$current(t2), set);
  117947. }
  117948. return t1;
  117949. });
  117950. _lazyFinal($, "bogusSpan0", "$get$bogusSpan0", () => A.SourceFile$decoded(A._setArrayType([], type$.JSArray_int), null).span$1(0, 0));
  117951. _lazyFinal($, "_random2", "$get$_random1", () => A.Random_Random());
  117952. _lazy($, "_previousUniqueId0", "$get$_previousUniqueId0", () => $.$get$_random1().nextInt$1(A._asInt(A.pow(36, 6))));
  117953. _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));
  117954. _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(), A._function6("split", "$string, $separator, $limit: null", new A.module_closure10())], type$.JSArray_Callable_2), null, null, type$.Callable_2));
  117955. _lazyFinal($, "_unquote0", "$get$_unquote0", () => A._function6("unquote", "$string", new A._unquote_closure0()));
  117956. _lazyFinal($, "_quote0", "$get$_quote0", () => A._function6("quote", "$string", new A._quote_closure0()));
  117957. _lazyFinal($, "_length2", "$get$_length1", () => A._function6("length", "$string", new A._length_closure1()));
  117958. _lazyFinal($, "_insert0", "$get$_insert0", () => A._function6("insert", "$string, $insert, $index", new A._insert_closure0()));
  117959. _lazyFinal($, "_index2", "$get$_index1", () => A._function6("index", "$string, $substring", new A._index_closure1()));
  117960. _lazyFinal($, "_slice0", "$get$_slice0", () => A._function6("slice", "$string, $start-at, $end-at: -1", new A._slice_closure0()));
  117961. _lazyFinal($, "_toUpperCase0", "$get$_toUpperCase0", () => A._function6("to-upper-case", "$string", new A._toUpperCase_closure0()));
  117962. _lazyFinal($, "_toLowerCase0", "$get$_toLowerCase0", () => A._function6("to-lower-case", "$string", new A._toLowerCase_closure0()));
  117963. _lazyFinal($, "_uniqueId0", "$get$_uniqueId0", () => A._function6("unique-id", "", new A._uniqueId_closure0()));
  117964. _lazyFinal($, "stringClass", "$get$stringClass", () => new A.stringClass_closure().call$0());
  117965. _lazyFinal($, "legacyStringClass", "$get$legacyStringClass", () => {
  117966. var t1 = A.createJSClass("sass.types.String", new A.legacyStringClass_closure());
  117967. A.JSClassExtension_defineMethods(t1, A.LinkedHashMap_LinkedHashMap$_literal(["getValue", new A.legacyStringClass_closure0(), "setValue", new A.legacyStringClass_closure1()], type$.String, type$.Function));
  117968. return t1;
  117969. });
  117970. _lazyFinal($, "_emptyQuoted0", "$get$_emptyQuoted0", () => A.SassString$0("", true));
  117971. _lazyFinal($, "_emptyUnquoted0", "$get$_emptyUnquoted0", () => A.SassString$0("", false));
  117972. _lazyFinal($, "_urlSchemeRegExp", "$get$_urlSchemeRegExp", () => A.RegExp_RegExp("^[a-z0-9+.-]+$", false));
  117973. _lazyFinal($, "_jsThrow0", "$get$_jsThrow", () => new self.Function("error", "throw error;"));
  117974. _lazyFinal($, "_isUndefined", "$get$_isUndefined", () => new self.Function("value", "return value === undefined;"));
  117975. _lazyFinal($, "_noSourceUrl0", "$get$_noSourceUrl0", () => A.Uri_parse("-"));
  117976. _lazyFinal($, "_traces0", "$get$_traces0", () => A.Expando$());
  117977. _lazyFinal($, "valueClass", "$get$valueClass", () => new A.valueClass_closure().call$0());
  117978. })();
  117979. (function nativeSupport() {
  117980. !function() {
  117981. var intern = function(s) {
  117982. var o = {};
  117983. o[s] = 1;
  117984. return Object.keys(hunkHelpers.convertToFastObject(o))[0];
  117985. };
  117986. init.getIsolateTag = function(name) {
  117987. return intern("___dart_" + name + init.isolateTag);
  117988. };
  117989. var tableProperty = "___dart_isolate_tags_";
  117990. var usedProperties = Object[tableProperty] || (Object[tableProperty] = Object.create(null));
  117991. var rootProperty = "_ZxYxX";
  117992. for (var i = 0;; i++) {
  117993. var property = intern(rootProperty + "_" + i + "_");
  117994. if (!(property in usedProperties)) {
  117995. usedProperties[property] = 1;
  117996. init.isolateTag = property;
  117997. break;
  117998. }
  117999. }
  118000. init.dispatchPropertyName = init.getIsolateTag("dispatch_record");
  118001. }();
  118002. hunkHelpers.setOrUpdateInterceptorsByTag({ArrayBuffer: A.NativeByteBuffer, ArrayBufferView: A.NativeTypedData, DataView: A.NativeByteData, Float32Array: A.NativeFloat32List, Float64Array: A.NativeFloat64List, Int16Array: A.NativeInt16List, Int32Array: A.NativeInt32List, Int8Array: A.NativeInt8List, Uint16Array: A.NativeUint16List, Uint32Array: A.NativeUint32List, Uint8ClampedArray: A.NativeUint8ClampedList, CanvasPixelArray: A.NativeUint8ClampedList, Uint8Array: A.NativeUint8List});
  118003. hunkHelpers.setOrUpdateLeafTags({ArrayBuffer: true, ArrayBufferView: false, DataView: true, Float32Array: true, Float64Array: true, Int16Array: true, Int32Array: true, Int8Array: true, Uint16Array: true, Uint32Array: true, Uint8ClampedArray: true, CanvasPixelArray: true, Uint8Array: false});
  118004. A.NativeTypedArray.$nativeSuperclassTag = "ArrayBufferView";
  118005. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  118006. A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  118007. A.NativeTypedArrayOfDouble.$nativeSuperclassTag = "ArrayBufferView";
  118008. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag = "ArrayBufferView";
  118009. A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag = "ArrayBufferView";
  118010. A.NativeTypedArrayOfInt.$nativeSuperclassTag = "ArrayBufferView";
  118011. })();
  118012. Function.prototype.call$0 = function() {
  118013. return this();
  118014. };
  118015. Function.prototype.call$1 = function(a) {
  118016. return this(a);
  118017. };
  118018. Function.prototype.call$2 = function(a, b) {
  118019. return this(a, b);
  118020. };
  118021. Function.prototype.call$3$1 = function(a) {
  118022. return this(a);
  118023. };
  118024. Function.prototype.call$2$1 = function(a) {
  118025. return this(a);
  118026. };
  118027. Function.prototype.call$1$1 = function(a) {
  118028. return this(a);
  118029. };
  118030. Function.prototype.call$3 = function(a, b, c) {
  118031. return this(a, b, c);
  118032. };
  118033. Function.prototype.call$4 = function(a, b, c, d) {
  118034. return this(a, b, c, d);
  118035. };
  118036. Function.prototype.call$3$3 = function(a, b, c) {
  118037. return this(a, b, c);
  118038. };
  118039. Function.prototype.call$2$2 = function(a, b) {
  118040. return this(a, b);
  118041. };
  118042. Function.prototype.call$5 = function(a, b, c, d, e) {
  118043. return this(a, b, c, d, e);
  118044. };
  118045. Function.prototype.call$6 = function(a, b, c, d, e, f) {
  118046. return this(a, b, c, d, e, f);
  118047. };
  118048. Function.prototype.call$2$0 = function() {
  118049. return this();
  118050. };
  118051. Function.prototype.call$1$0 = function() {
  118052. return this();
  118053. };
  118054. Function.prototype.call$1$2 = function(a, b) {
  118055. return this(a, b);
  118056. };
  118057. Function.prototype.call$2$3 = function(a, b, c) {
  118058. return this(a, b, c);
  118059. };
  118060. convertAllToFastObject(holders);
  118061. convertToFastObject($);
  118062. (function(callback) {
  118063. if (typeof document === "undefined") {
  118064. callback(null);
  118065. return;
  118066. }
  118067. if (typeof document.currentScript != "undefined") {
  118068. callback(document.currentScript);
  118069. return;
  118070. }
  118071. var scripts = document.scripts;
  118072. function onLoad(event) {
  118073. for (var i = 0; i < scripts.length; ++i)
  118074. scripts[i].removeEventListener("load", onLoad, false);
  118075. callback(event.target);
  118076. }
  118077. for (var i = 0; i < scripts.length; ++i)
  118078. scripts[i].addEventListener("load", onLoad, false);
  118079. })(function(currentScript) {
  118080. init.currentScript = currentScript;
  118081. var callMain = A.main2;
  118082. if (typeof dartMainRunner === "function")
  118083. dartMainRunner(callMain, []);
  118084. else
  118085. callMain([]);
  118086. });
  118087. })();
  118088. }